Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 991b984f0069dd0eb843d102c22933ca1a2cac27 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-ssh17082958634400614574.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-ssh5728949948928784826.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-ssh17193648007172756192.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-ssh12889989804794044105.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-ssh16151140599948457653.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 Running on prd-ubuntu20.04-docker-8c-8g-12336 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 991b984f0069dd0eb843d102c22933ca1a2cac27 (main) Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" > 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 991b984f0069dd0eb843d102c22933ca1a2cac27 # timeout=10 > git rev-list --no-walk 43835cf99a75d9aea88a6e6ad4468f5338448856 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:37 ========================================================= 04:22:37 EdgeX Global Pipelines Version Info 04:22:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:38 ------------------- 04:22:38 stable info: 04:22:38 ------------------- 04:22:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:38 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:22:38 Message: update stable to v1.0.254 04:22:38 ------------------- 04:22:38 experimental info: 04:22:38 ------------------- 04:22:38 Commited By: **** collab-it+edgex@linuxfoundation.org 04:22:38 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:22:38 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 991b984 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:39 provisioning config files... 04:22:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11417524444237321569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:39 ---> docker-login.sh 04:22:39 nexus3.edgexfoundry.org:10001 04:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:39 Configure a credential helper to remove this warning. See 04:22:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:39 04:22:39 Login Succeeded 04:22:39 nexus3.edgexfoundry.org:10002 04:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:39 Configure a credential helper to remove this warning. See 04:22:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:39 04:22:39 Login Succeeded 04:22:39 nexus3.edgexfoundry.org:10003 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 nexus3.edgexfoundry.org:10004 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 docker.io 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 ---> docker-login.sh ends [Pipeline] } 04:22:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:22:41 + git rev-list -1 --merges 991b984f0069dd0eb843d102c22933ca1a2cac27~1..991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] echo 04:22:41 -----------> git rev-list -1 --merges 991b984f0069dd0eb843d102c22933ca1a2cac27~1..991b984f0069dd0eb843d102c22933ca1a2cac27 991b984f0069dd0eb843d102c22933ca1a2cac27 04:22:41 991b984f0069dd0eb843d102c22933ca1a2cac27 [false] [Pipeline] sh 04:22:41 + git log --format=format:%s -1 991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] echo 04:22:41 ========================================================= 04:22:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:22:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:41 + git log --format=format:%s -1 991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] echo 04:22:41 [semverPrep] GIT_COMMIT: 991b984f0069dd0eb843d102c22933ca1a2cac27, Commit Message: Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37 [Pipeline] echo 04:22:41 [semverPrep] This is not a build commit. [Pipeline] sh 04:22:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:42 + grep -v github /etc/ssh/ssh_known_hosts 04:22:42 + [ -e /tmp/ssh_known_hosts ] 04:22:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:22:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:22:42 + sudo tee -a /etc/ssh/ssh_known_hosts 04:22:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:42 04:22:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:42 0.1.4: Pulling from edgex-devops/py-git-semver 04:22:42 b85a868b505f: Pulling fs layer 04:22:42 e2be974225ed: Pulling fs layer 04:22:42 339a4e72a1f5: Pulling fs layer 04:22:42 988bab9f4d93: Pulling fs layer 04:22:42 1469e6f7b9e6: Pulling fs layer 04:22:42 eaf3925da568: Pulling fs layer 04:22:42 bab4dde63d76: Pulling fs layer 04:22:42 bde34c3a00c8: Pulling fs layer 04:22:42 b352a97aabf1: Pulling fs layer 04:22:42 4872d77fe225: Pulling fs layer 04:22:42 5851b861e8e6: Pulling fs layer 04:22:42 bab4dde63d76: Waiting 04:22:42 bde34c3a00c8: Waiting 04:22:42 1469e6f7b9e6: Waiting 04:22:42 b352a97aabf1: Waiting 04:22:42 eaf3925da568: Waiting 04:22:42 4872d77fe225: Waiting 04:22:42 5851b861e8e6: Waiting 04:22:42 988bab9f4d93: Waiting 04:22:42 e2be974225ed: Download complete 04:22:42 988bab9f4d93: Verifying Checksum 04:22:42 988bab9f4d93: Download complete 04:22:43 1469e6f7b9e6: Verifying Checksum 04:22:43 1469e6f7b9e6: Download complete 04:22:43 eaf3925da568: Verifying Checksum 04:22:43 eaf3925da568: Download complete 04:22:43 339a4e72a1f5: Verifying Checksum 04:22:43 339a4e72a1f5: Download complete 04:22:43 bde34c3a00c8: Verifying Checksum 04:22:43 bde34c3a00c8: Download complete 04:22:43 b352a97aabf1: Verifying Checksum 04:22:43 b352a97aabf1: Download complete 04:22:43 4872d77fe225: Verifying Checksum 04:22:43 4872d77fe225: Download complete 04:22:43 5851b861e8e6: Verifying Checksum 04:22:43 5851b861e8e6: Download complete 04:22:43 b85a868b505f: Download complete 04:22:43 bab4dde63d76: Verifying Checksum 04:22:43 bab4dde63d76: Download complete 04:22:44 b85a868b505f: Pull complete 04:22:44 e2be974225ed: Pull complete 04:22:44 339a4e72a1f5: Pull complete 04:22:44 988bab9f4d93: Pull complete 04:22:45 1469e6f7b9e6: Pull complete 04:22:45 eaf3925da568: Pull complete 04:22:47 bab4dde63d76: Pull complete 04:22:47 bde34c3a00c8: Pull complete 04:22:47 b352a97aabf1: Pull complete 04:22:47 4872d77fe225: Pull complete 04:22:47 5851b861e8e6: Pull complete 04:22:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:22:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:47 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:22: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:22:50 $ docker top ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af -eo pid,comm 04:22:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:22:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:50 [ssh-agent] Looking for ssh-agent implementation... 04:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:50 $ docker exec ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af ssh-agent 04:22:50 SSH_AUTH_SOCK=/tmp/ssh-PpKuCh3NzJHg/agent.32 04:22:50 SSH_AGENT_PID=38 04:22:50 Running ssh-add (command line suppressed) 04:22:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3595616605906945961.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3595616605906945961.key) 04:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:50 + git tag --points-at HEAD [Pipeline] } 04:22:50 $ docker exec --env ******** --env ******** ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af ssh-agent -k 04:22:50 unset SSH_AUTH_SOCK; 04:22:50 unset SSH_AGENT_PID; 04:22:50 echo Agent pid 38 killed; 04:22:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:50 [ssh-agent] Looking for ssh-agent implementation... 04:22:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:51 $ docker exec ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af ssh-agent 04:22:51 SSH_AUTH_SOCK=/tmp/ssh-vmxYnqlD7W89/agent.70 04:22:51 SSH_AGENT_PID=76 04:22:51 Running ssh-add (command line suppressed) 04:22:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_770324637822228047.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_770324637822228047.key) 04:22:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:51 + git semver init 04:22:51 2023-10-27 04:22:51,737 [run_init] DEBUG init version:0.0.0 force:False 04:22:51 2023-10-27 04:22:51,737 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:22:51 2023-10-27 04:22:51,738 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:22:51 2023-10-27 04:22:51,738 [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:22:52 2023-10-27 04:22:52,740 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:22:52 2023-10-27 04:22:52,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:22:52 2023-10-27 04:22:52,741 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:22:52 2023-10-27 04:22:52,741 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:22:52 3.1.0-dev.24 [Pipeline] } 04:22:52 $ docker exec --env ******** --env ******** ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af ssh-agent -k 04:22:52 unset SSH_AUTH_SOCK; 04:22:52 unset SSH_AGENT_PID; 04:22:52 echo Agent pid 76 killed; 04:22:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:53 + git semver [Pipeline] } 04:22:53 $ docker stop --time=1 ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af 04:22:54 $ docker rm -f --volumes ff3f0fb5c9b3241dfa1f06c507b5bed0010a12be8f44dd95583dc55ac72bd1af [Pipeline] // withDockerContainer [Pipeline] sh 04:22:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:22:55 Stashed 1 file(s) [Pipeline] echo 04:22:55 [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [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:22:55 provisioning config files... 04:22:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16438364459612198236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:55 ---> docker-login.sh 04:22:55 nexus3.edgexfoundry.org:10001 04:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:55 Configure a credential helper to remove this warning. See 04:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:55 04:22:55 Login Succeeded 04:22:55 nexus3.edgexfoundry.org:10002 04:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:55 Configure a credential helper to remove this warning. See 04:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:55 04:22:55 Login Succeeded 04:22:55 nexus3.edgexfoundry.org:10003 04:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:56 Configure a credential helper to remove this warning. See 04:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:56 04:22:56 Login Succeeded 04:22:56 nexus3.edgexfoundry.org:10004 04:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:56 Configure a credential helper to remove this warning. See 04:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:56 04:22:56 Login Succeeded 04:22:56 docker.io 04:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:56 Configure a credential helper to remove this warning. See 04:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:56 04:22:56 Login Succeeded 04:22:56 ---> docker-login.sh ends [Pipeline] } 04:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:56 ========================================================= 04:22:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:22:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:56 + 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:22:56 Sending build context to Docker daemon 21.67MB 04:22:56 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:22:56 Step 2/13 : FROM ${BASE} AS builder 04:22:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:57 7264a8db6415: Pulling fs layer 04:22:57 c4d48a809fc2: Pulling fs layer 04:22:57 4f1c88b9dad5: Pulling fs layer 04:22:57 ad3a456e5733: Pulling fs layer 04:22:57 33e27b845d1e: Pulling fs layer 04:22:57 ad3a456e5733: Waiting 04:22:57 c68163c4e522: Pulling fs layer 04:22:57 50da416c3ac9: Pulling fs layer 04:22:57 33e27b845d1e: Waiting 04:22:57 c68163c4e522: Waiting 04:22:57 23d2d4c4bb30: Pulling fs layer 04:22:57 50da416c3ac9: Waiting 04:22:57 23d2d4c4bb30: Waiting 04:22:57 c4d48a809fc2: Verifying Checksum 04:22:57 c4d48a809fc2: Download complete 04:22:57 ad3a456e5733: Verifying Checksum 04:22:57 ad3a456e5733: Download complete 04:22:57 33e27b845d1e: Verifying Checksum 04:22:57 33e27b845d1e: Download complete 04:22:57 7264a8db6415: Verifying Checksum 04:22:57 7264a8db6415: Download complete 04:22:57 c68163c4e522: Verifying Checksum 04:22:57 c68163c4e522: Download complete 04:22:57 7264a8db6415: Pull complete 04:22:57 c4d48a809fc2: Pull complete 04:22:57 23d2d4c4bb30: Verifying Checksum 04:22:57 23d2d4c4bb30: Download complete 04:22:57 4f1c88b9dad5: Verifying Checksum 04:22:57 4f1c88b9dad5: Download complete 04:22:58 50da416c3ac9: Verifying Checksum 04:22:58 50da416c3ac9: Download complete 04:23:01 4f1c88b9dad5: Pull complete 04:23:01 ad3a456e5733: Pull complete 04:23:01 33e27b845d1e: Pull complete 04:23:01 c68163c4e522: Pull complete 04:23:03 50da416c3ac9: Pull complete 04:23:03 23d2d4c4bb30: Pull complete 04:23:03 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:23:03 ---> 0786185ac409 04:23:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:23:07 ---> Running in f7a6ec7dbbaa 04:23:07 Removing intermediate container f7a6ec7dbbaa 04:23:07 ---> fd33f0963fd2 04:23:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:23:07 ---> Running in 01169aea66be 04:23:07 Removing intermediate container 01169aea66be 04:23:07 ---> 8df3177ed872 04:23:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:23:07 ---> Running in a9dc71ed97cd 04:23:07 Removing intermediate container a9dc71ed97cd 04:23:07 ---> 09ea53ea47df 04:23:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:23:07 ---> Running in bd34bcd7239b 04:23:07 Removing intermediate container bd34bcd7239b 04:23:07 ---> 65b28958f1e3 04:23:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:23:07 ---> Running in effdca53efe5 04:23:07 Removing intermediate container effdca53efe5 04:23:07 ---> 3e06bd2c9871 04:23:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:07 ---> Running in aef2c1108a69 04:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:08 OK: 264 MiB in 52 packages 04:23:08 Removing intermediate container aef2c1108a69 04:23:08 ---> 9d13cc01aa7b 04:23:08 Step 9/13 : WORKDIR /device-onvif-camera 04:23:08 ---> Running in ad094eac6fb3 04:23:08 Removing intermediate container ad094eac6fb3 04:23:08 ---> e3a05faf5a4b 04:23:08 Step 10/13 : COPY go.mod vendor* ./ 04:23:08 ---> 82e27fb4ce39 04:23:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:08 ---> Running in cb3182009cc3 04:23:10 Still waiting to schedule task 04:23:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:24:04 Removing intermediate container cb3182009cc3 04:24:04 ---> 5341a14b504c 04:24:04 Step 12/13 : COPY . . 04:24:04 ---> a61d5cec8021 04:24:04 Step 13/13 : RUN ${MAKE} 04:24:04 ---> Running in 19b9bcb9112d 04:24:04 noop 04:24:04 Removing intermediate container 19b9bcb9112d 04:24:04 ---> f6439320b2c7 04:24:04 Successfully built f6439320b2c7 04:24:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:05 + docker inspect -f . ci-base-image-x86_64 04:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:05 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:24:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:05 $ docker top baf0478022a07e7c51e9531e2edb307ea801bba8aa0fc061061d2dacd29f935a -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:06 + go version 04:24:06 go version go1.21.0 linux/amd64 [Pipeline] } 04:24:06 $ docker stop --time=1 baf0478022a07e7c51e9531e2edb307ea801bba8aa0fc061061d2dacd29f935a 04:24:07 $ docker rm -f --volumes baf0478022a07e7c51e9531e2edb307ea801bba8aa0fc061061d2dacd29f935a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:07 + docker inspect -f . ci-base-image-x86_64 04:24:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:07 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:24:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:08 $ docker top aadcd83880baf0db4fa2aa586dac4fc76dc06e63dd44ed0d9b74271ee36d81ec -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:08 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:24:08 + make test 04:24:08 go test ./... -coverprofile=coverage.out ./... 04:24:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:24:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:24:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:24:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.5% of statements 04:24:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.027s coverage: 86.5% of statements 04:24:30 go vet ./... 04:24:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:34 $ docker stop --time=1 aadcd83880baf0db4fa2aa586dac4fc76dc06e63dd44ed0d9b74271ee36d81ec 04:24:36 $ docker rm -f --volumes aadcd83880baf0db4fa2aa586dac4fc76dc06e63dd44ed0d9b74271ee36d81ec [Pipeline] // withDockerContainer [Pipeline] sh 04:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:38 + ls -al . 04:24:38 total 236 04:24:38 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 04:24 . 04:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:22 .. 04:24:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:24 .git 04:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:22 .github 04:24:38 -rw-rw-r-- 1 jenkins jenkins 493 Oct 27 04:22 .gitignore 04:24:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:22 .golangci.yml 04:24:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 04:22 .semver 04:24:38 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 27 04:22 Attribution.txt 04:24:38 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 27 04:22 CHANGELOG.md 04:24:38 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 27 04:22 Dockerfile 04:24:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:22 GOVERNANCE.md 04:24:38 -rw-rw-r-- 1 jenkins jenkins 739 Oct 27 04:22 Jenkinsfile 04:24:38 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 04:22 LICENSE 04:24:38 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 27 04:22 Makefile 04:24:38 -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 04:22 OWNERS.md 04:24:38 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 27 04:22 README.md 04:24:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 04:22 VERSION 04:24:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:22 bin 04:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:22 cmd 04:24:38 -rw-r--r-- 1 jenkins jenkins 78456 Oct 27 04:24 coverage.out 04:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:22 doc 04:24:38 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 27 04:22 go.mod 04:24:38 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 27 04:22 go.sum 04:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:22 internal 04:24:38 -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:38 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=991b984f0069dd0eb843d102c22933ca1a2cac27 --label arch=amd64 --label version=3.1.0-dev.24 . 04:24:38 Sending build context to Docker daemon 21.75MB 04:24:38 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:24:38 Step 2/26 : FROM ${BASE} AS builder 04:24:38 ---> f6439320b2c7 04:24:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:24:38 ---> Running in 7c6592450e8d 04:24:38 Removing intermediate container 7c6592450e8d 04:24:38 ---> 154808289d58 04:24:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:38 ---> Running in a0aa2be8ea90 04:24:39 Removing intermediate container a0aa2be8ea90 04:24:39 ---> 0e136114206e 04:24:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:24:39 ---> Running in a52057b916c9 04:24:39 Removing intermediate container a52057b916c9 04:24:39 ---> 64c3d3ab4015 04:24:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:24:39 ---> Running in 61b1dc780e12 04:24:39 Removing intermediate container 61b1dc780e12 04:24:39 ---> 6baad0f90a7d 04:24:39 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:24:39 ---> Running in 9bac38514b27 04:24:39 Removing intermediate container 9bac38514b27 04:24:39 ---> ff81d394eeb2 04:24:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:39 ---> Running in 6d978834bc39 04:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:24:40 OK: 264 MiB in 52 packages 04:24:40 Removing intermediate container 6d978834bc39 04:24:40 ---> c74cc7813c40 04:24:40 Step 9/26 : WORKDIR /device-onvif-camera 04:24:40 ---> Running in d705847ade25 04:24:40 Removing intermediate container d705847ade25 04:24:40 ---> d8c4ef35626d 04:24:40 Step 10/26 : COPY go.mod vendor* ./ 04:24:40 ---> 83bc8172d58e 04:24:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:40 ---> Running in 99235ea0cf9b 04:24:41 Removing intermediate container 99235ea0cf9b 04:24:41 ---> 385cac43ba1b 04:24:41 Step 12/26 : COPY . . 04:24:42 ---> 004e82159408 04:24:42 Step 13/26 : RUN ${MAKE} 04:24:42 ---> Running in a7f2dc976e8f 04:24:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:25:04 Removing intermediate container a7f2dc976e8f 04:25:04 ---> 99f74c8d6eae 04:25:04 Step 14/26 : FROM alpine:3.18 04:25:04 3.18: Pulling from library/alpine 04:25:04 96526aa774ef: Pulling fs layer 04:25:04 96526aa774ef: Verifying Checksum 04:25:04 96526aa774ef: Download complete 04:25:04 96526aa774ef: Pull complete 04:25:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:25:04 Status: Downloaded newer image for alpine:3.18 04:25:04 ---> 8ca4688f4f35 04:25:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:25:04 ---> Running in c6265bd25199 04:25:04 Removing intermediate container c6265bd25199 04:25:04 ---> ee40b6dd31ba 04:25:04 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:25:04 ---> Running in ee6cc7b84f1c 04:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:04 (1/1) Installing dumb-init (1.2.5-r2) 04:25:04 Executing busybox-1.36.1-r2.trigger 04:25:04 OK: 7 MiB in 16 packages 04:25:04 Removing intermediate container ee6cc7b84f1c 04:25:04 ---> 79c0208df156 04:25:04 Step 17/26 : WORKDIR / 04:25:04 ---> Running in a34b24026737 04:25:04 Removing intermediate container a34b24026737 04:25:04 ---> 6436815fbcad 04:25:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:25:05 ---> ea34eb76d762 04:25:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:25:05 ---> 67da313ed973 04:25:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:25:05 ---> ddb793d324b1 04:25:05 Step 21/26 : EXPOSE 59984 04:25:05 ---> Running in 1d3c9bcc4992 04:25:05 Removing intermediate container 1d3c9bcc4992 04:25:05 ---> 364a9cec64a6 04:25:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:25:06 ---> Running in dee5b1dd69ef 04:25:06 Removing intermediate container dee5b1dd69ef 04:25:06 ---> 1985ce4a75cb 04:25:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:25:06 ---> Running in e2800cf79d79 04:25:06 Removing intermediate container e2800cf79d79 04:25:06 ---> 3edd2e5d3d62 04:25:06 Step 24/26 : LABEL arch=amd64 04:25:06 ---> Running in 398c33c6e482 04:25:06 Removing intermediate container 398c33c6e482 04:25:06 ---> 4794d478f22a 04:25:06 Step 25/26 : LABEL git_sha=991b984f0069dd0eb843d102c22933ca1a2cac27 04:25:06 ---> Running in 3f297a094553 04:25:06 Removing intermediate container 3f297a094553 04:25:06 ---> 8d0a4cb3dbe1 04:25:06 Step 26/26 : LABEL version=3.1.0-dev.24 04:25:06 ---> Running in b87bd9fd331b 04:25:06 Removing intermediate container b87bd9fd331b 04:25:06 ---> 41b6c05eaae2 04:25:06 [Warning] One or more build-args [ARCH] were not consumed 04:25:06 Successfully built 41b6c05eaae2 04:25:06 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:25:06 provisioning config files... 04:25:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17969551881416878906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:06 ---> docker-login.sh 04:25:06 nexus3.edgexfoundry.org:10001 04:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:06 Configure a credential helper to remove this warning. See 04:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:06 04:25:06 Login Succeeded 04:25:06 nexus3.edgexfoundry.org:10002 04:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:06 Configure a credential helper to remove this warning. See 04:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:06 04:25:06 Login Succeeded 04:25:06 nexus3.edgexfoundry.org:10003 04:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:07 Configure a credential helper to remove this warning. See 04:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:07 04:25:07 Login Succeeded 04:25:07 nexus3.edgexfoundry.org:10004 04:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:07 Configure a credential helper to remove this warning. See 04:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:07 04:25:07 Login Succeeded 04:25:07 docker.io 04:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:07 Configure a credential helper to remove this warning. See 04:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:07 04:25:07 Login Succeeded 04:25:07 ---> docker-login.sh ends [Pipeline] } 04:25:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:25:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:25:07 991b984f0069dd0eb843d102c22933ca1a2cac27 04:25:07 latest 04:25:07 3.1.0-dev.24 04:25:07 991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:25:07 main 04:25:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27 04:25:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:25:08 2f2e0cf3754b: Preparing 04:25:08 d0d0794ed7f4: Preparing 04:25:08 c6064578d431: Preparing 04:25:08 e8c6edf14a9d: Preparing 04:25:08 cc2447e1835a: Preparing 04:25:08 cc2447e1835a: Layer already exists 04:25:08 2f2e0cf3754b: Pushed 04:25:08 e8c6edf14a9d: Pushed 04:25:08 d0d0794ed7f4: Pushed 04:25:11 c6064578d431: Pushed 04:25:11 991b984f0069dd0eb843d102c22933ca1a2cac27: digest: sha256:cccd9260a41ced37e7dccb06a6a4df9b087a26d3bb08bc839840c0dae2e4d6f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:25:12 2f2e0cf3754b: Preparing 04:25:12 d0d0794ed7f4: Preparing 04:25:12 c6064578d431: Preparing 04:25:12 e8c6edf14a9d: Preparing 04:25:12 cc2447e1835a: Preparing 04:25:12 cc2447e1835a: Layer already exists 04:25:12 e8c6edf14a9d: Layer already exists 04:25:12 c6064578d431: Layer already exists 04:25:12 d0d0794ed7f4: Layer already exists 04:25:12 2f2e0cf3754b: Layer already exists 04:25:12 latest: digest: sha256:cccd9260a41ced37e7dccb06a6a4df9b087a26d3bb08bc839840c0dae2e4d6f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.24 04:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:25:12 2f2e0cf3754b: Preparing 04:25:12 d0d0794ed7f4: Preparing 04:25:12 c6064578d431: Preparing 04:25:12 e8c6edf14a9d: Preparing 04:25:12 cc2447e1835a: Preparing 04:25:12 c6064578d431: Layer already exists 04:25:12 2f2e0cf3754b: Layer already exists 04:25:12 e8c6edf14a9d: Layer already exists 04:25:12 d0d0794ed7f4: Layer already exists 04:25:12 cc2447e1835a: Layer already exists 04:25:12 3.1.0-dev.24: digest: sha256:cccd9260a41ced37e7dccb06a6a4df9b087a26d3bb08bc839840c0dae2e4d6f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:25:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:25:13 2f2e0cf3754b: Preparing 04:25:13 d0d0794ed7f4: Preparing 04:25:13 c6064578d431: Preparing 04:25:13 e8c6edf14a9d: Preparing 04:25:13 cc2447e1835a: Preparing 04:25:13 c6064578d431: Layer already exists 04:25:13 d0d0794ed7f4: Layer already exists 04:25:13 cc2447e1835a: Layer already exists 04:25:13 e8c6edf14a9d: Layer already exists 04:25:13 2f2e0cf3754b: Layer already exists 04:25:13 991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24: digest: sha256:cccd9260a41ced37e7dccb06a6a4df9b087a26d3bb08bc839840c0dae2e4d6f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:25:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:25:14 2f2e0cf3754b: Preparing 04:25:14 d0d0794ed7f4: Preparing 04:25:14 c6064578d431: Preparing 04:25:14 e8c6edf14a9d: Preparing 04:25:14 cc2447e1835a: Preparing 04:25:14 e8c6edf14a9d: Layer already exists 04:25:14 c6064578d431: Layer already exists 04:25:14 2f2e0cf3754b: Layer already exists 04:25:14 d0d0794ed7f4: Layer already exists 04:25:14 cc2447e1835a: Layer already exists 04:25:14 main: digest: sha256:cccd9260a41ced37e7dccb06a6a4df9b087a26d3bb08bc839840c0dae2e4d6f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:14 ===================================================== [Pipeline] echo 04:25:14 taggedImages: 04:25:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27 04:25:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:25:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.24 04:25:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:25:14 - 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:25:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:14 04:25:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:14 latest: Pulling from edgex-lftools-log-publisher 04:25:14 5eb5b503b376: Pulling fs layer 04:25:14 5c69ac0246d0: Pulling fs layer 04:25:14 ec43610c2a17: Pulling fs layer 04:25:14 3a2ae6a8a46f: Pulling fs layer 04:25:14 33b1e0a273af: Pulling fs layer 04:25:14 5d3b04190fa2: Pulling fs layer 04:25:14 2f39f015ded8: Pulling fs layer 04:25:14 3a2ae6a8a46f: Waiting 04:25:14 5d3b04190fa2: Waiting 04:25:14 33b1e0a273af: Waiting 04:25:14 2f39f015ded8: Waiting 04:25:14 5c69ac0246d0: Download complete 04:25:14 3a2ae6a8a46f: Verifying Checksum 04:25:14 3a2ae6a8a46f: Download complete 04:25:14 33b1e0a273af: Verifying Checksum 04:25:14 33b1e0a273af: Download complete 04:25:14 5d3b04190fa2: Verifying Checksum 04:25:14 5d3b04190fa2: Download complete 04:25:14 ec43610c2a17: Verifying Checksum 04:25:14 ec43610c2a17: Download complete 04:25:15 5eb5b503b376: Verifying Checksum 04:25:15 5eb5b503b376: Download complete 04:25:15 2f39f015ded8: Download complete 04:25:16 5eb5b503b376: Pull complete 04:25:16 5c69ac0246d0: Pull complete 04:25:16 ec43610c2a17: Pull complete 04:25:16 3a2ae6a8a46f: Pull complete 04:25:17 33b1e0a273af: Pull complete 04:25:17 5d3b04190fa2: Pull complete 04:25:21 2f39f015ded8: Pull complete 04:25:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:22 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:25:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:25:25 $ docker top cab08b4b3ad278e60941bc43ad5d37c0cc46b7903a0106a3e230c3fe760d287e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:25 ---> job-cost.sh 04:25:25 lf-activate-venv: SKIPPING 04:25:25 INFO: No Stack... 04:25:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:26 INFO: Archiving Costs [Pipeline] sh 04:25:27 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:25:27 + cut -d, -f6 [Pipeline] lock 04:25:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] 04:25:27 Resource [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] did not exist. Created. 04:25:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:25:27 + echo total: 0.2199999988079071 [Pipeline] stash 04:25:27 Stashed 1 file(s) [Pipeline] } 04:25:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 04:25:27 $ docker stop --time=1 cab08b4b3ad278e60941bc43ad5d37c0cc46b7903a0106a3e230c3fe760d287e 04:25:28 $ docker rm -f --volumes cab08b4b3ad278e60941bc43ad5d37c0cc46b7903a0106a3e230c3fe760d287e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:27:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12449 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:27:54 Running in /w/workspace/device-onvif-camera/181 [Pipeline] { [Pipeline] checkout 04:27:54 The recommended git tool is: git 04:28:00 using credential edgex-jenkins-ssh 04:28:00 Cloning the remote Git repository 04:28:00 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:28:00 > git init /w/workspace/device-onvif-camera/181 # timeout=10 04:28:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:28:00 > git --version # timeout=10 04:28:00 > git --version # 'git version 2.25.1' 04:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:28:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:28:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:03 Avoid second fetch 04:28:03 Checking out Revision 991b984f0069dd0eb843d102c22933ca1a2cac27 (main) 04:28:04 Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" 04:28:03 > git config core.sparsecheckout # timeout=10 04:28:03 > git checkout -f 991b984f0069dd0eb843d102c22933ca1a2cac27 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:28:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:05 Dload Upload Total Spent Left Speed 04:28:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 04:28:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:28:06 + + sudo teesudo /etc/docker/daemon.new jq 04:28:06 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:28:06 { 04:28:06 "registry-mirrors": [ 04:28:06 "https://nexus3.edgexfoundry.org:10001" 04:28:06 ], 04:28:06 "bip": "10.250.0.254/24", 04:28:06 "hosts": [ 04:28:06 "tcp://0.0.0.0:5555", 04:28:06 "unix:///var/run/docker.sock" 04:28:06 ], 04:28:06 "mtu": 1458, 04:28:06 "selinux-enabled": true, 04:28:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:28:06 } [Pipeline] sh 04:28:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:28:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:25 provisioning config files... 04:28:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/181@tmp/config9834960715101988952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:25 ---> docker-login.sh 04:28:25 nexus3.edgexfoundry.org:10001 04:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:26 Configure a credential helper to remove this warning. See 04:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:26 04:28:26 Login Succeeded 04:28:26 nexus3.edgexfoundry.org:10002 04:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:26 Configure a credential helper to remove this warning. See 04:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:26 04:28:26 Login Succeeded 04:28:26 nexus3.edgexfoundry.org:10003 04:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:26 Configure a credential helper to remove this warning. See 04:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:26 04:28:26 Login Succeeded 04:28:26 nexus3.edgexfoundry.org:10004 04:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:27 Configure a credential helper to remove this warning. See 04:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:27 04:28:27 Login Succeeded 04:28:27 docker.io 04:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:28 Configure a credential helper to remove this warning. See 04:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:28 04:28:28 Login Succeeded 04:28:28 ---> docker-login.sh ends [Pipeline] } 04:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:28 ========================================================= 04:28:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:28:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:28 + 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:30 Sending build context to Docker daemon 14.19MB 04:28:30 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:28:30 Step 2/13 : FROM ${BASE} AS builder 04:28:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:28:30 9fda8d8052c6: Pulling fs layer 04:28:30 5d54e960e981: Pulling fs layer 04:28:30 c4a7e357bf2a: Pulling fs layer 04:28:30 f0e02332f6b5: Pulling fs layer 04:28:30 cefa15bbcfad: Pulling fs layer 04:28:30 f0e02332f6b5: Waiting 04:28:30 17808c966233: Pulling fs layer 04:28:30 cefa15bbcfad: Waiting 04:28:30 f4c1fc716caa: Pulling fs layer 04:28:30 17808c966233: Waiting 04:28:30 f4c1fc716caa: Waiting 04:28:30 5d54e960e981: Verifying Checksum 04:28:30 5d54e960e981: Download complete 04:28:30 f0e02332f6b5: Verifying Checksum 04:28:30 f0e02332f6b5: Download complete 04:28:30 cefa15bbcfad: Verifying Checksum 04:28:30 cefa15bbcfad: Download complete 04:28:30 9fda8d8052c6: Verifying Checksum 04:28:30 9fda8d8052c6: Download complete 04:28:31 f4c1fc716caa: Verifying Checksum 04:28:31 f4c1fc716caa: Download complete 04:28:31 9fda8d8052c6: Pull complete 04:28:32 5d54e960e981: Pull complete 04:28:32 c4a7e357bf2a: Verifying Checksum 04:28:32 c4a7e357bf2a: Download complete 04:28:33 17808c966233: Verifying Checksum 04:28:33 17808c966233: Download complete 04:28:45 c4a7e357bf2a: Pull complete 04:28:45 f0e02332f6b5: Pull complete 04:28:45 cefa15bbcfad: Pull complete 04:28:54 17808c966233: Pull complete 04:28:55 f4c1fc716caa: Pull complete 04:28:55 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:28:55 ---> ea914061e18c 04:28:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:28:57 ---> Running in 8be3ab1a3da1 04:28:59 Removing intermediate container 8be3ab1a3da1 04:28:59 ---> 5854328d0417 04:28:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:59 ---> Running in 0b605785c40e 04:28:59 Removing intermediate container 0b605785c40e 04:28:59 ---> 453f936013e9 04:28:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:29:00 ---> Running in 0d36eaab4899 04:29:00 Removing intermediate container 0d36eaab4899 04:29:00 ---> ab0f09800087 04:29:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:29:00 ---> Running in b654f9555526 04:29:00 Removing intermediate container b654f9555526 04:29:00 ---> 4e0c90ff744c 04:29:00 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:29:00 ---> Running in 5ef59ccd3a23 04:29:01 Removing intermediate container 5ef59ccd3a23 04:29:01 ---> bb20a3bdfa26 04:29:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:29:01 ---> Running in 1f23d32f3996 04:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:29:04 OK: 266 MiB in 52 packages 04:29:04 Removing intermediate container 1f23d32f3996 04:29:04 ---> c8ea0b5213fb 04:29:04 Step 9/13 : WORKDIR /device-onvif-camera 04:29:04 ---> Running in 9495b410ed4a 04:29:05 Removing intermediate container 9495b410ed4a 04:29:05 ---> 7353bc631485 04:29:05 Step 10/13 : COPY go.mod vendor* ./ 04:29:05 ---> 7a7f7022061a 04:29:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:06 ---> Running in f5ab3e790a72 04:30:57 Removing intermediate container f5ab3e790a72 04:30:57 ---> c820d6b3292c 04:30:57 Step 12/13 : COPY . . 04:30:57 ---> 61c35106cbc2 04:30:57 Step 13/13 : RUN ${MAKE} 04:30:57 ---> Running in 0f8e0749a601 04:30:57 noop 04:30:57 Removing intermediate container 0f8e0749a601 04:30:57 ---> 4b23a088cefa 04:30:57 Successfully built 4b23a088cefa 04:30:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:58 + docker inspect -f . ci-base-image-arm64 04:30:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:58 prd-ubuntu20.04-docker-arm64-4c-16g-12449 does not seem to be running inside a container 04:30:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/181 -v /w/workspace/device-onvif-camera/181:/w/workspace/device-onvif-camera/181:rw,z -v /w/workspace/device-onvif-camera/181@tmp:/w/workspace/device-onvif-camera/181@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:59 $ docker top d14ea0f72375f65a23f0afc8c2fd6cd66aed66ab1d91e15cd7b19ceaea4961c6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:00 + go version 04:31:00 go version go1.21.0 linux/arm64 [Pipeline] } 04:31:00 $ docker stop --time=1 d14ea0f72375f65a23f0afc8c2fd6cd66aed66ab1d91e15cd7b19ceaea4961c6 04:31:02 $ docker rm -f --volumes d14ea0f72375f65a23f0afc8c2fd6cd66aed66ab1d91e15cd7b19ceaea4961c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:02 + docker inspect -f . ci-base-image-arm64 04:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:03 prd-ubuntu20.04-docker-arm64-4c-16g-12449 does not seem to be running inside a container 04:31:03 $ 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/181 -v /w/workspace/device-onvif-camera/181:/w/workspace/device-onvif-camera/181:rw,z -v /w/workspace/device-onvif-camera/181@tmp:/w/workspace/device-onvif-camera/181@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:31:04 $ docker top e7ca6ca54fba915c7604fb858efd34ac7e0e7d14fcd46ff07ae8d176cc1b95e5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/181 [Pipeline] fileExists [Pipeline] sh 04:31:06 + make test 04:31:06 go test ./... -coverprofile=coverage.out ./... 04:31:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:33:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:33:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:33:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.193s coverage: 31.5% of statements 04:33:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.972s coverage: 86.5% of statements 04:33:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:33:22 go vet ./... 04:33:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:49 ./bin/test-attribution-txt.sh [Pipeline] echo 04:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:33:49 $ docker stop --time=1 e7ca6ca54fba915c7604fb858efd34ac7e0e7d14fcd46ff07ae8d176cc1b95e5 04:33:50 $ docker rm -f --volumes e7ca6ca54fba915c7604fb858efd34ac7e0e7d14fcd46ff07ae8d176cc1b95e5 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:52 Warning: overwriting stash ‘coverage-report’ 04:33:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:53 + ls -al . 04:33:53 total 232 04:33:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:31 . 04:33:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 .. 04:33:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:28 .git 04:33:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:28 .github 04:33:53 -rw-rw-r-- 1 jenkins jenkins 493 Oct 27 04:28 .gitignore 04:33:53 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:28 .golangci.yml 04:33:53 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 27 04:28 Attribution.txt 04:33:53 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 27 04:28 CHANGELOG.md 04:33:53 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 27 04:28 Dockerfile 04:33:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:28 GOVERNANCE.md 04:33:53 -rw-rw-r-- 1 jenkins jenkins 739 Oct 27 04:28 Jenkinsfile 04:33:53 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 04:28 LICENSE 04:33:53 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 27 04:28 Makefile 04:33:53 -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 04:28 OWNERS.md 04:33:53 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 27 04:28 README.md 04:33:53 -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 04:22 VERSION 04:33:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:28 bin 04:33:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:28 cmd 04:33:53 -rw-r--r-- 1 jenkins jenkins 78456 Oct 27 04:33 coverage.out 04:33:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 doc 04:33:53 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 27 04:28 go.mod 04:33:53 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 27 04:28 go.sum 04:33:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 internal 04:33:53 -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:53 + 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=991b984f0069dd0eb843d102c22933ca1a2cac27 --label arch=arm64 --label version=3.1.0-dev.24 . 04:33:54 Sending build context to Docker daemon 14.27MB 04:33:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:33:54 Step 2/26 : FROM ${BASE} AS builder 04:33:54 ---> 4b23a088cefa 04:33:54 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:33:57 ---> Running in 748a46ddcb19 04:33:58 Removing intermediate container 748a46ddcb19 04:33:58 ---> 3c3eb56c9fb9 04:33:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:33:58 ---> Running in 7cb77c7bb347 04:33:58 Removing intermediate container 7cb77c7bb347 04:33:58 ---> b4953e8ab89f 04:33:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:33:58 ---> Running in bb433ca24e55 04:33:58 Removing intermediate container bb433ca24e55 04:33:58 ---> 458374a32b5b 04:33:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:33:58 ---> Running in 92a4af356100 04:33:59 Removing intermediate container 92a4af356100 04:33:59 ---> 288100e0a8a8 04:33:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:33:59 ---> Running in 1699435b4e2c 04:33:59 Removing intermediate container 1699435b4e2c 04:33:59 ---> 835fd162f5bc 04:33:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:33:59 ---> Running in cb5211602768 04:34:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:02 OK: 266 MiB in 52 packages 04:34:03 Removing intermediate container cb5211602768 04:34:03 ---> 8f223cc2d473 04:34:03 Step 9/26 : WORKDIR /device-onvif-camera 04:34:03 ---> Running in 49bd7c966413 04:34:03 Removing intermediate container 49bd7c966413 04:34:03 ---> 95e367be0883 04:34:03 Step 10/26 : COPY go.mod vendor* ./ 04:34:04 ---> 76af54403a57 04:34:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:04 ---> Running in aa01b18a1866 04:34:07 Removing intermediate container aa01b18a1866 04:34:07 ---> 7f0f264e0edf 04:34:07 Step 12/26 : COPY . . 04:34:08 ---> 80da07b1f308 04:34:08 Step 13/26 : RUN ${MAKE} 04:34:08 ---> Running in ab8d9c608275 04:34:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:36:16 Removing intermediate container ab8d9c608275 04:36:16 ---> 91a96b705eef 04:36:16 Step 14/26 : FROM alpine:3.18 04:36:16 3.18: Pulling from library/alpine 04:36:16 579b34f0a95b: Pulling fs layer 04:36:16 579b34f0a95b: Download complete 04:36:16 579b34f0a95b: Pull complete 04:36:16 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:36:16 Status: Downloaded newer image for alpine:3.18 04:36:16 ---> 3cc203321400 04:36:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:36:16 ---> Running in 0c4b6ce459ff 04:36:16 Removing intermediate container 0c4b6ce459ff 04:36:16 ---> e7d425205b52 04:36:16 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:36:16 ---> Running in 2006d8c3404a 04:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:36:18 (1/1) Installing dumb-init (1.2.5-r2) 04:36:18 Executing busybox-1.36.1-r2.trigger 04:36:18 OK: 8 MiB in 16 packages 04:36:20 Removing intermediate container 2006d8c3404a 04:36:20 ---> 0166b6cf1fe9 04:36:20 Step 17/26 : WORKDIR / 04:36:20 ---> Running in a896d3c6b92c 04:36:20 Removing intermediate container a896d3c6b92c 04:36:20 ---> d8431b52c1a3 04:36:20 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:36:22 ---> 8958596755f9 04:36:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:36:23 ---> ab9cdd4d3be1 04:36:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:36:23 ---> 6970f7067046 04:36:23 Step 21/26 : EXPOSE 59984 04:36:23 ---> Running in 5b9cd5b7be32 04:36:24 Removing intermediate container 5b9cd5b7be32 04:36:24 ---> e5cebc433ba9 04:36:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:36:24 ---> Running in 5197c39b3bb6 04:36:24 Removing intermediate container 5197c39b3bb6 04:36:24 ---> 9ea205b10bc2 04:36:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:36:24 ---> Running in 66c9594fd9a3 04:36:25 Removing intermediate container 66c9594fd9a3 04:36:25 ---> 8ab1bad24739 04:36:25 Step 24/26 : LABEL arch=arm64 04:36:25 ---> Running in 14881969beca 04:36:25 Removing intermediate container 14881969beca 04:36:25 ---> 1ebce5e7ee13 04:36:25 Step 25/26 : LABEL git_sha=991b984f0069dd0eb843d102c22933ca1a2cac27 04:36:25 ---> Running in 95d2732beeb1 04:36:25 Removing intermediate container 95d2732beeb1 04:36:25 ---> 24425265aac7 04:36:25 Step 26/26 : LABEL version=3.1.0-dev.24 04:36:25 ---> Running in 1f5f29857a8e 04:36:26 Removing intermediate container 1f5f29857a8e 04:36:26 ---> dddcfd9152e6 04:36:26 [Warning] One or more build-args [ARCH] were not consumed 04:36:26 Successfully built dddcfd9152e6 04:36:26 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:36:26 provisioning config files... 04:36:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/181@tmp/config17409488178230904509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:26 ---> docker-login.sh 04:36:26 nexus3.edgexfoundry.org:10001 04:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:26 Configure a credential helper to remove this warning. See 04:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:26 04:36:26 Login Succeeded 04:36:26 nexus3.edgexfoundry.org:10002 04:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:27 Configure a credential helper to remove this warning. See 04:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:27 04:36:27 Login Succeeded 04:36:27 nexus3.edgexfoundry.org:10003 04:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:27 Configure a credential helper to remove this warning. See 04:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:27 04:36:27 Login Succeeded 04:36:27 nexus3.edgexfoundry.org:10004 04:36:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:28 Configure a credential helper to remove this warning. See 04:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:28 04:36:28 Login Succeeded 04:36:28 docker.io 04:36:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:28 Configure a credential helper to remove this warning. See 04:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:28 04:36:28 Login Succeeded 04:36:28 ---> docker-login.sh ends [Pipeline] } 04:36:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:28 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:36:28 991b984f0069dd0eb843d102c22933ca1a2cac27 04:36:28 latest 04:36:28 3.1.0-dev.24 04:36:28 991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:36:28 main 04:36:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:29 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27 04:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:29 ce95ab21b51d: Preparing 04:36:29 c18d1fb0f90d: Preparing 04:36:29 4bbbfa84de2c: Preparing 04:36:29 b9d6d2820033: Preparing 04:36:29 5f4d9fc4d98d: Preparing 04:36:29 5f4d9fc4d98d: Layer already exists 04:36:29 b9d6d2820033: Pushed 04:36:29 ce95ab21b51d: Pushed 04:36:29 c18d1fb0f90d: Pushed 04:36:36 4bbbfa84de2c: Pushed 04:36:36 991b984f0069dd0eb843d102c22933ca1a2cac27: digest: sha256:75044fce84a444d93fb6290016bef42901c0c12059f4bf25f64cd38d28f6562e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:36 + 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:36:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:36:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:37 ce95ab21b51d: Preparing 04:36:37 c18d1fb0f90d: Preparing 04:36:37 4bbbfa84de2c: Preparing 04:36:37 b9d6d2820033: Preparing 04:36:37 5f4d9fc4d98d: Preparing 04:36:37 4bbbfa84de2c: Layer already exists 04:36:37 b9d6d2820033: Layer already exists 04:36:37 5f4d9fc4d98d: Layer already exists 04:36:37 c18d1fb0f90d: Layer already exists 04:36:37 ce95ab21b51d: Layer already exists 04:36:37 latest: digest: sha256:75044fce84a444d93fb6290016bef42901c0c12059f4bf25f64cd38d28f6562e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.24 04:36:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:38 ce95ab21b51d: Preparing 04:36:38 c18d1fb0f90d: Preparing 04:36:38 4bbbfa84de2c: Preparing 04:36:38 b9d6d2820033: Preparing 04:36:38 5f4d9fc4d98d: Preparing 04:36:38 5f4d9fc4d98d: Layer already exists 04:36:38 ce95ab21b51d: Layer already exists 04:36:38 b9d6d2820033: Layer already exists 04:36:38 c18d1fb0f90d: Layer already exists 04:36:38 4bbbfa84de2c: Layer already exists 04:36:38 3.1.0-dev.24: digest: sha256:75044fce84a444d93fb6290016bef42901c0c12059f4bf25f64cd38d28f6562e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:36:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:39 ce95ab21b51d: Preparing 04:36:39 c18d1fb0f90d: Preparing 04:36:39 4bbbfa84de2c: Preparing 04:36:39 b9d6d2820033: Preparing 04:36:39 5f4d9fc4d98d: Preparing 04:36:39 ce95ab21b51d: Layer already exists 04:36:39 b9d6d2820033: Layer already exists 04:36:39 c18d1fb0f90d: Layer already exists 04:36:39 4bbbfa84de2c: Layer already exists 04:36:39 5f4d9fc4d98d: Layer already exists 04:36:39 991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24: digest: sha256:75044fce84a444d93fb6290016bef42901c0c12059f4bf25f64cd38d28f6562e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:39 + 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:36:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:36:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:40 ce95ab21b51d: Preparing 04:36:40 c18d1fb0f90d: Preparing 04:36:40 4bbbfa84de2c: Preparing 04:36:40 b9d6d2820033: Preparing 04:36:40 5f4d9fc4d98d: Preparing 04:36:40 ce95ab21b51d: Layer already exists 04:36:40 b9d6d2820033: Layer already exists 04:36:40 c18d1fb0f90d: Layer already exists 04:36:40 4bbbfa84de2c: Layer already exists 04:36:40 5f4d9fc4d98d: Layer already exists 04:36:40 main: digest: sha256:75044fce84a444d93fb6290016bef42901c0c12059f4bf25f64cd38d28f6562e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:40 ===================================================== [Pipeline] echo 04:36:40 taggedImages: 04:36:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27 04:36:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:36:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.24 04:36:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:991b984f0069dd0eb843d102c22933ca1a2cac27-3.1.0-dev.24 04:36:40 - 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:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:40 04:36:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:41 arm64: Pulling from edgex-lftools-log-publisher 04:36:41 8998bd30e6a1: Pulling fs layer 04:36:41 04944245beec: Pulling fs layer 04:36:41 699f458cf7ca: Pulling fs layer 04:36:41 765212b225bb: Pulling fs layer 04:36:41 f23df028b6ca: Pulling fs layer 04:36:41 d65c8cfc05b1: Pulling fs layer 04:36:41 2437ff75d9bd: Pulling fs layer 04:36:41 f23df028b6ca: Waiting 04:36:41 d65c8cfc05b1: Waiting 04:36:41 2437ff75d9bd: Waiting 04:36:41 765212b225bb: Waiting 04:36:41 04944245beec: Verifying Checksum 04:36:41 04944245beec: Download complete 04:36:41 765212b225bb: Verifying Checksum 04:36:41 765212b225bb: Download complete 04:36:41 f23df028b6ca: Verifying Checksum 04:36:41 f23df028b6ca: Download complete 04:36:41 d65c8cfc05b1: Download complete 04:36:41 699f458cf7ca: Verifying Checksum 04:36:41 699f458cf7ca: Download complete 04:36:42 8998bd30e6a1: Verifying Checksum 04:36:42 8998bd30e6a1: Download complete 04:36:44 2437ff75d9bd: Verifying Checksum 04:36:44 2437ff75d9bd: Download complete 04:36:49 8998bd30e6a1: Pull complete 04:36:49 04944245beec: Pull complete 04:36:51 699f458cf7ca: Pull complete 04:36:51 765212b225bb: Pull complete 04:36:52 f23df028b6ca: Pull complete 04:36:52 d65c8cfc05b1: Pull complete 04:37:11 2437ff75d9bd: Pull complete 04:37:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:11 prd-ubuntu20.04-docker-arm64-4c-16g-12449 does not seem to be running inside a container 04:37:11 $ 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/181 -v /w/workspace/device-onvif-camera/181:/w/workspace/device-onvif-camera/181:rw,z -v /w/workspace/device-onvif-camera/181@tmp:/w/workspace/device-onvif-camera/181@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:37:14 $ docker top f4b1ce040e80c46230a89d06881a113d41e9f0265a99efd45dfee57abfc0f82c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:15 ---> job-cost.sh 04:37:15 lf-activate-venv: SKIPPING 04:37:15 INFO: No Stack... 04:37:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:37:16 INFO: Archiving Costs [Pipeline] sh 04:37:17 + cat /w/workspace/device-onvif-camera/181/archives/cost.csv 04:37:17 + cut -d, -f6 [Pipeline] lock 04:37:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] 04:37:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] did not exist. Created. 04:37:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:17 /w/workspace/device-onvif-camera/181@tmp/durable-a2c0184c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:18 + echo total: 0.10999999940395355 [Pipeline] stash 04:37:18 Warning: overwriting stash ‘stack-cost’ 04:37:18 Stashed 1 file(s) [Pipeline] } 04:37:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:18 $ docker stop --time=1 f4b1ce040e80c46230a89d06881a113d41e9f0265a99efd45dfee57abfc0f82c 04:37:20 $ docker rm -f --volumes f4b1ce040e80c46230a89d06881a113d41e9f0265a99efd45dfee57abfc0f82c [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:37:20 provisioning config files... 04:37:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12598543281360625891tmp [Pipeline] { [Pipeline] sh 04:37:20 + set +x 04:37:20 + + curl -s https://codecov.io/bashbash 04:37:20 -s -- 04:37:20 04:37:20 _____ _ 04:37:20 / ____| | | 04:37:20 | | ___ __| | ___ ___ _____ __ 04:37:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:20 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:20 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:20 Bash-1.0.6 04:37:20 04:37:20 04:37:20 ==> git version 2.25.1 found 04:37:20 ==> 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:37:20 Release-Date: 2020-01-08 04:37:20 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:37:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:20 ==> Jenkins CI detected. 04:37:20 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:37:20 project root: . 04:37:20 --> token set from env 04:37:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:20 ==> Running gcov in . (disable via -X gcov) 04:37:20 ==> Python coveragepy not found 04:37:20 ==> Searching for coverage reports in: 04:37:20 + . 04:37:21 -> Found 1 reports 04:37:21 ==> Detecting git/mercurial file structure 04:37:21 ==> Reading reports 04:37:21 + ./coverage.out bytes=78456 04:37:21 ==> Appending adjustments 04:37:21 https://docs.codecov.io/docs/fixing-reports 04:37:21 + Found adjustments 04:37:21 ==> Gzipping contents 04:37:21 12K /tmp/codecov.xH0oT7.gz 04:37:21 ==> Uploading reports 04:37:21 url: https://codecov.io 04:37:21 query: branch=main&commit=991b984f0069dd0eb843d102c22933ca1a2cac27&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:37:21 -> Pinging Codecov 04:37:21 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=991b984f0069dd0eb843d102c22933ca1a2cac27&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:37:21 -> Uploading to 04:37:21 https://storage.googleapis.com/codecov/v4/raw/2023-10-27/F29A59C45E3A92E06B3E522C9905F8EF/991b984f0069dd0eb843d102c22933ca1a2cac27/031bb283-8ca9-4aed-9c9b-22edb98cc2fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T043721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=062786980085def5287e17ffb8476801914979ac45cc11f232645405e27846d5 04:37:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:21 Dload Upload Total Spent Left Speed 04:37:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 27096 --:--:-- --:--:-- --:--:-- 27096 04:37:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] } 04:37:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:37:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:37:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:22 04:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:37:22 df9b9388f04a: Pulling fs layer 04:37:22 52dc419b0ee2: Pulling fs layer 04:37:22 25bc292e5bac: Pulling fs layer 04:37:22 114826534d7a: Pulling fs layer 04:37:22 4657fd5d0bcf: Pulling fs layer 04:37:22 6ad1cebc031e: Pulling fs layer 04:37:22 8a3aa393b2d8: Pulling fs layer 04:37:22 4657fd5d0bcf: Waiting 04:37:22 6ad1cebc031e: Waiting 04:37:22 8a3aa393b2d8: Waiting 04:37:22 114826534d7a: Waiting 04:37:22 25bc292e5bac: Download complete 04:37:22 52dc419b0ee2: Download complete 04:37:22 4657fd5d0bcf: Verifying Checksum 04:37:22 4657fd5d0bcf: Download complete 04:37:22 df9b9388f04a: Download complete 04:37:22 df9b9388f04a: Pull complete 04:37:22 52dc419b0ee2: Pull complete 04:37:22 6ad1cebc031e: Verifying Checksum 04:37:22 6ad1cebc031e: Download complete 04:37:22 25bc292e5bac: Pull complete 04:37:23 114826534d7a: Verifying Checksum 04:37:23 114826534d7a: Download complete 04:37:23 8a3aa393b2d8: Verifying Checksum 04:37:23 8a3aa393b2d8: Download complete 04:37:26 114826534d7a: Pull complete 04:37:26 4657fd5d0bcf: Pull complete 04:37:26 6ad1cebc031e: Pull complete 04:37:29 8a3aa393b2d8: Pull complete 04:37:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:29 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:37:33 $ docker top 7cc59d783ee4fe7dbc376148d86dab89c20213ca1967b2346a4acd5327a0122e -eo pid,comm [Pipeline] { [Pipeline] echo 04:37:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:37:33 + set -o pipefail 04:37:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:37:40 04:37:40 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:37:40 04:37:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/40ac0ca9-a40b-404d-9c0a-0cdd86c13970 04:37:40 04:37:40 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:37:40 04:37:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:37:40 04:37:40 04:37:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:37:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:37:40 More details here: https://snyk.co/ue1NS [Pipeline] } 04:37:40 $ docker stop --time=1 7cc59d783ee4fe7dbc376148d86dab89c20213ca1967b2346a4acd5327a0122e 04:37:43 $ docker rm -f --volumes 7cc59d783ee4fe7dbc376148d86dab89c20213ca1967b2346a4acd5327a0122e [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:37:44 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:44 provisioning config files... 04:37:44 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12003205327877803878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:44 --> edgex-publish-swagger.sh 04:37:44 === Publish doc/openapi/v3 API === 04:37:44 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:37:44 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:37:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:44 Dload Upload Total Spent Left Speed 04:37:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 656k --:--:-- --:--:-- --:--:-- 655k 100 485k 0 0 100 485k 0 656k --:--:-- --:--:-- --:--:-- 655k 04:37:45 04:37:45 [Pipeline] } 04:37:45 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:37:45 + git log --format=format:%s -1 991b984f0069dd0eb843d102c22933ca1a2cac27 [Pipeline] sh 04:37:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:37:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:37:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:46 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:37:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:37:46 $ docker top ef11983db9a1ebba79aebcb75d6cc0ca09e6c3f2570922afdb5bf90e3dd8bf02 -eo pid,comm 04:37:46 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:37:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:37:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:46 [ssh-agent] Looking for ssh-agent implementation... 04:37:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:46 $ docker exec ef11983db9a1ebba79aebcb75d6cc0ca09e6c3f2570922afdb5bf90e3dd8bf02 ssh-agent 04:37:46 SSH_AUTH_SOCK=/tmp/ssh-7lno1Oigu0ZB/agent.33 04:37:46 SSH_AGENT_PID=39 04:37:46 Running ssh-add (command line suppressed) 04:37:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_976402272972165671.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_976402272972165671.key) 04:37:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:47 + git semver tag 04:37:47 2023-10-27 04:37:47,446 [run_tag] DEBUG tag force:False 04:37:47 2023-10-27 04:37:47,446 [check_head_tag] DEBUG check head tag 04:37:47 2023-10-27 04:37:47,446 [execute] INFO git cat-file --batch-check 04:37:47 2023-10-27 04:37:47,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:37:47 2023-10-27 04:37:47,450 [execute] INFO git cat-file --batch 04:37:47 2023-10-27 04:37:47,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:37:47 2023-10-27 04:37:47,460 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:37:47 2023-10-27 04:37:47,460 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 04:37:47 2023-10-27 04:37:47,460 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:37:47 2023-10-27 04:37:47,464 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:37:47 3.1.0-dev.24 [Pipeline] } 04:37:47 $ docker exec --env ******** --env ******** ef11983db9a1ebba79aebcb75d6cc0ca09e6c3f2570922afdb5bf90e3dd8bf02 ssh-agent -k 04:37:47 unset SSH_AUTH_SOCK; 04:37:47 unset SSH_AGENT_PID; 04:37:47 echo Agent pid 39 killed; 04:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:37:47 + git semver [Pipeline] } 04:37:48 $ docker stop --time=1 ef11983db9a1ebba79aebcb75d6cc0ca09e6c3f2570922afdb5bf90e3dd8bf02 04:37:49 $ docker rm -f --volumes ef11983db9a1ebba79aebcb75d6cc0ca09e6c3f2570922afdb5bf90e3dd8bf02 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:49 04:37:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:50 0.23.1-centos7: Pulling from edgex-lftools 04:37:50 ab5ef0e58194: Pulling fs layer 04:37:50 9712f1f96733: Pulling fs layer 04:37:50 63f879dbbcfc: Pulling fs layer 04:37:50 0d9ebad4ef96: Pulling fs layer 04:37:50 e9a5061849ea: Pulling fs layer 04:37:50 d747dcd14b5f: Pulling fs layer 04:37:50 2de7ff778b66: Pulling fs layer 04:37:50 d747dcd14b5f: Waiting 04:37:50 2de7ff778b66: Waiting 04:37:50 e9a5061849ea: Waiting 04:37:50 0d9ebad4ef96: Waiting 04:37:50 9712f1f96733: Verifying Checksum 04:37:50 9712f1f96733: Download complete 04:37:50 63f879dbbcfc: Verifying Checksum 04:37:50 63f879dbbcfc: Download complete 04:37:50 e9a5061849ea: Verifying Checksum 04:37:50 e9a5061849ea: Download complete 04:37:50 ab5ef0e58194: Verifying Checksum 04:37:50 ab5ef0e58194: Download complete 04:37:51 0d9ebad4ef96: Verifying Checksum 04:37:51 0d9ebad4ef96: Download complete 04:37:51 d747dcd14b5f: Download complete 04:37:51 2de7ff778b66: Verifying Checksum 04:37:51 2de7ff778b66: Download complete 04:37:53 ab5ef0e58194: Pull complete 04:37:53 9712f1f96733: Pull complete 04:37:54 63f879dbbcfc: Pull complete 04:37:57 0d9ebad4ef96: Pull complete 04:37:57 e9a5061849ea: Pull complete 04:37:57 d747dcd14b5f: Pull complete 04:37:58 2de7ff778b66: Pull complete 04:37:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:58 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:37:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:38:02 $ docker top bbb731308f6d5f726833d45ce9b94278eeeb11ef67be49c7e284299836933204 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:38:02 provisioning config files... 04:38:02 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13534863814358389388tmp 04:38:02 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2032948812777623492tmp 04:38:02 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16494064565996344534tmp [Pipeline] { [Pipeline] echo 04:38:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:38:03 ---> sigul-configuration.sh 04:38:03 gpg: directory `/root/.gnupg' created 04:38:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:38:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:38:03 gpg: keyring `/root/.gnupg/secring.gpg' created 04:38:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:38:03 gpg: CAST5 encrypted data 04:38:03 gpg: encrypted with 1 passphrase 04:38:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:38:03 + mkdir /home/jenkins 04:38:03 + mkdir /home/jenkins/sigul [Pipeline] sh 04:38:03 + 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:38:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:38:03 ---> sigul-install.sh 04:38:03 Sigul already installed; skipping installation. [Pipeline] sh 04:38:04 + git tag --list 04:38:04 v0.0.0 04:38:04 v2.2.0 04:38:04 v2.3.0 04:38:04 v2.3.1 04:38:04 v3.0 04:38:04 v3.0.0 04:38:04 v3.1.0-dev.1 04:38:04 v3.1.0-dev.10 04:38:04 v3.1.0-dev.11 04:38:04 v3.1.0-dev.12 04:38:04 v3.1.0-dev.13 04:38:04 v3.1.0-dev.14 04:38:04 v3.1.0-dev.15 04:38:04 v3.1.0-dev.16 04:38:04 v3.1.0-dev.17 04:38:04 v3.1.0-dev.18 04:38:04 v3.1.0-dev.19 04:38:04 v3.1.0-dev.2 04:38:04 v3.1.0-dev.20 04:38:04 v3.1.0-dev.21 04:38:04 v3.1.0-dev.22 04:38:04 v3.1.0-dev.23 04:38:04 v3.1.0-dev.24 04:38:04 v3.1.0-dev.3 04:38:04 v3.1.0-dev.4 04:38:04 v3.1.0-dev.5 04:38:04 v3.1.0-dev.6 04:38:04 v3.1.0-dev.7 04:38:04 v3.1.0-dev.8 04:38:04 v3.1.0-dev.9 [Pipeline] sh 04:38:04 + lftools sign git-tag v3.1.0-dev.24 04:38:05 Signing Git tag with Sigul... 04:38:05 Signing v3.1.0-dev.24 [Pipeline] echo 04:38:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:38:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:38:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:38:05 $ docker stop --time=1 bbb731308f6d5f726833d45ce9b94278eeeb11ef67be49c7e284299836933204 04:38:07 $ docker rm -f --volumes bbb731308f6d5f726833d45ce9b94278eeeb11ef67be49c7e284299836933204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:38:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:08 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:38:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:38:08 $ docker top 326f03fa92d751693ead494d0938bf7f58b794ae202a73391937acbc6787baa0 -eo pid,comm 04:38:08 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:38:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:08 [ssh-agent] Looking for ssh-agent implementation... 04:38:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:08 $ docker exec 326f03fa92d751693ead494d0938bf7f58b794ae202a73391937acbc6787baa0 ssh-agent 04:38:08 SSH_AUTH_SOCK=/tmp/ssh-rG83YTNsx15A/agent.33 04:38:08 SSH_AGENT_PID=39 04:38:08 Running ssh-add (command line suppressed) 04:38:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3778677642899756440.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3778677642899756440.key) 04:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:09 + git semver bump pre 04:38:09 2023-10-27 04:38:09,362 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:09 2023-10-27 04:38:09,363 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev 04:38:09 2023-10-27 04:38:09,363 [bump_version] DEBUG bumped version:3.1.0-dev.25 04:38:09 2023-10-27 04:38:09,363 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:38:09 2023-10-27 04:38:09,363 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:09 2023-10-27 04:38:09,363 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:09 2023-10-27 04:38:09,365 [execute] INFO git cat-file --batch-check 04:38:09 2023-10-27 04:38:09,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:09 2023-10-27 04:38:09,370 [execute] INFO git cat-file --batch 04:38:09 2023-10-27 04:38:09,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:09 2023-10-27 04:38:09,376 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:09 3.1.0-dev.25 [Pipeline] } 04:38:09 $ docker exec --env ******** --env ******** 326f03fa92d751693ead494d0938bf7f58b794ae202a73391937acbc6787baa0 ssh-agent -k 04:38:09 unset SSH_AUTH_SOCK; 04:38:09 unset SSH_AGENT_PID; 04:38:09 echo Agent pid 39 killed; 04:38:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:09 + git semver [Pipeline] } 04:38:10 $ docker stop --time=1 326f03fa92d751693ead494d0938bf7f58b794ae202a73391937acbc6787baa0 04:38:11 $ docker rm -f --volumes 326f03fa92d751693ead494d0938bf7f58b794ae202a73391937acbc6787baa0 [Pipeline] // withDockerContainer [Pipeline] sh 04:38:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:12 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:38:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:38:12 $ docker top 25eb91ef7d3db25f5a2c9b2ae99b4d5905bfb77bfc541ed7b67fbfc69aff4786 -eo pid,comm 04:38:12 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:38:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:12 [ssh-agent] Looking for ssh-agent implementation... 04:38:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:12 $ docker exec 25eb91ef7d3db25f5a2c9b2ae99b4d5905bfb77bfc541ed7b67fbfc69aff4786 ssh-agent 04:38:12 SSH_AUTH_SOCK=/tmp/ssh-1hhtxdpQlZJZ/agent.32 04:38:12 SSH_AGENT_PID=38 04:38:12 Running ssh-add (command line suppressed) 04:38:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18303677148415678865.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18303677148415678865.key) 04:38:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:13 + git semver push 04:38:13 2023-10-27 04:38:13,438 [run_push] DEBUG push 04:38:13 2023-10-27 04:38:13,439 [execute] INFO git cat-file --batch-check 04:38:13 2023-10-27 04:38:13,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:13 2023-10-27 04:38:13,444 [execute] INFO git rev-list bd962995ced4f232d14c4d4d30005144e74bab2b -- 04:38:13 2023-10-27 04:38:13,444 [execute] DEBUG Popen(['git', 'rev-list', 'bd962995ced4f232d14c4d4d30005144e74bab2b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:38:13 2023-10-27 04:38:13,453 [execute] INFO git fetch -v origin 04:38:13 2023-10-27 04:38:13,454 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:38:14 2023-10-27 04:38:14,131 [run_push] DEBUG no remote changes detected 04:38:14 2023-10-27 04:38:14,132 [execute] INFO git push origin semver 04:38:14 2023-10-27 04:38:14,132 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:38:15 2023-10-27 04:38:14,885 [run_push] DEBUG push all version tags 04:38:15 2023-10-27 04:38:14,885 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:38:15 2023-10-27 04:38:14,886 [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:38:15 2023-10-27 04:38:15,615 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:15 3.1.0-dev.25 [Pipeline] } 04:38:15 $ docker exec --env ******** --env ******** 25eb91ef7d3db25f5a2c9b2ae99b4d5905bfb77bfc541ed7b67fbfc69aff4786 ssh-agent -k 04:38:15 unset SSH_AUTH_SOCK; 04:38:15 unset SSH_AGENT_PID; 04:38:15 echo Agent pid 38 killed; 04:38:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:16 + git semver [Pipeline] } 04:38:16 $ docker stop --time=1 25eb91ef7d3db25f5a2c9b2ae99b4d5905bfb77bfc541ed7b67fbfc69aff4786 04:38:17 $ docker rm -f --volumes 25eb91ef7d3db25f5a2c9b2ae99b4d5905bfb77bfc541ed7b67fbfc69aff4786 [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:38:18 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:38:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:38:18 total 16 04:38:18 drwxr-xr-x 3 root root 4096 Oct 27 04:25 . 04:38:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 04:38 .. 04:38:18 drwxr-xr-x 2 root root 4096 Oct 27 04:25 cost 04:38:18 -rw-r--r-- 1 root root 92 Oct 27 04:25 cost.csv 04:38:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:38:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:38:18 total 16 04:38:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 04:25 . 04:38:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 04:38 .. 04:38:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 04:25 cost 04:38:18 -rw-r--r-- 1 jenkins jenkins 92 Oct 27 04:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:38:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:38:19 ---> package-listing.sh 04:38:19 ++ facter osfamily 04:38:19 ++ tr '[:upper:]' '[:lower:]' 04:38:19 + OS_FAMILY=debian 04:38:19 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:38:19 + START_PACKAGES=/tmp/packages_start.txt 04:38:19 + END_PACKAGES=/tmp/packages_end.txt 04:38:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:38:19 + PACKAGES=/tmp/packages_start.txt 04:38:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:38:19 + PACKAGES=/tmp/packages_end.txt 04:38:19 + case "${OS_FAMILY}" in 04:38:19 + dpkg -l 04:38:19 + grep '^ii' 04:38:19 + '[' -f /tmp/packages_start.txt ']' 04:38:19 + '[' -f /tmp/packages_end.txt ']' 04:38:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:38:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:38:19 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:38:19 + 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:38:19 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:38:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:20 prd-ubuntu20.04-docker-8c-8g-12336 does not seem to be running inside a container 04:38:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:38:20 $ docker top a0b73772d36a1d5cd24c9df8ba89c377f88b54d77c33bc4fd6cc4b26eda8c9de -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:21 + touch /tmp/pre-build-complete [Pipeline] sh 04:38:21 + mkdir -p /var/log/sysstat [Pipeline] sh 04:38:21 + ls /var/log/sa-host 04:38:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:21 provisioning config files... 04:38:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9934929162629396659tmp [Pipeline] { [Pipeline] echo 04:38:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:38:22 ---> create-netrc.sh [Pipeline] } 04:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:38:22 ---> python-tools-install.sh [Pipeline] echo 04:38:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:38:22 ---> sudo-logs.sh 04:38:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:38:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:38:23 ---> job-cost.sh 04:38:23 lf-activate-venv: SKIPPING 04:38:23 DEBUG: total: 0.2199999988079071 04:38:23 INFO: Retrieving Stack Cost... 04:38:23 INFO: Retrieving Pricing Info for: v3-standard-8 04:38:23 INFO: Archiving Costs [Pipeline] echo 04:38:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:38:24 ---> logs-deploy.sh 04:38:24 lf-activate-venv: SKIPPING 04:38:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/181 04:38:24 INFO: archiving workspace using pattern(s): 04:38:25 Archives upload complete. 04:38:25 INFO: archiving logs to Nexus