Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed280a745d7a481fda411e84eedc9b35ce489b45 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-ssh11825175669263886692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh1262394081007849135.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11671457724520218550.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh16893260007630089616.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-ssh4993972764362394715.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4556 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ed280a745d7a481fda411e84eedc9b35ce489b45 (main) Commit message: "Merge pull request #377 from FelixTing/update-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 > git rev-list --no-walk 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:57:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:57:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:57:24 ========================================================= 10:57:24 EdgeX Global Pipelines Version Info 10:57:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:57:25 ------------------- 10:57:25 stable info: 10:57:25 ------------------- 10:57:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:57:25 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 10:57:25 Message: update stable to v1.0.253 10:57:26 ------------------- 10:57:26 experimental info: 10:57:26 ------------------- 10:57:26 Commited By: **** collab-it+edgex@linuxfoundation.org 10:57:26 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 10:57:26 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed280a7 [Pipeline] echo 10:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:57:26 provisioning config files... 10:57:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7893203982344442210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:27 ---> docker-login.sh 10:57:27 nexus3.edgexfoundry.org:10001 10:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:27 Configure a credential helper to remove this warning. See 10:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:27 10:57:27 Login Succeeded 10:57:27 nexus3.edgexfoundry.org:10002 10:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:27 Configure a credential helper to remove this warning. See 10:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:27 10:57:27 Login Succeeded 10:57:27 nexus3.edgexfoundry.org:10003 10:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:27 Configure a credential helper to remove this warning. See 10:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:27 10:57:27 Login Succeeded 10:57:27 nexus3.edgexfoundry.org:10004 10:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:27 Configure a credential helper to remove this warning. See 10:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:27 10:57:27 Login Succeeded 10:57:27 docker.io 10:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:27 Configure a credential helper to remove this warning. See 10:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:27 10:57:27 Login Succeeded 10:57:27 ---> docker-login.sh ends [Pipeline] } 10:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:57:28 + git rev-list -1 --merges ed280a745d7a481fda411e84eedc9b35ce489b45~1..ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo 10:57:28 -----------> git rev-list -1 --merges ed280a745d7a481fda411e84eedc9b35ce489b45~1..ed280a745d7a481fda411e84eedc9b35ce489b45 ed280a745d7a481fda411e84eedc9b35ce489b45 10:57:28 ed280a745d7a481fda411e84eedc9b35ce489b45 [false] [Pipeline] sh 10:57:28 + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo 10:57:28 ========================================================= 10:57:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:57:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:57:29 + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo 10:57:29 [semverPrep] GIT_COMMIT: ed280a745d7a481fda411e84eedc9b35ce489b45, Commit Message: Merge pull request #377 from FelixTing/update-sdk [Pipeline] echo 10:57:29 [semverPrep] This is not a build commit. [Pipeline] sh 10:57:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:57:29 + grep -v github /etc/ssh/ssh_known_hosts 10:57:29 + [ -e /tmp/ssh_known_hosts ] 10:57:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:57:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:57:29 + sudo tee -a /etc/ssh/ssh_known_hosts 10:57:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:29 10:57:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:30 0.1.4: Pulling from edgex-devops/py-git-semver 10:57:30 b85a868b505f: Pulling fs layer 10:57:30 e2be974225ed: Pulling fs layer 10:57:30 339a4e72a1f5: Pulling fs layer 10:57:30 988bab9f4d93: Pulling fs layer 10:57:30 1469e6f7b9e6: Pulling fs layer 10:57:30 eaf3925da568: Pulling fs layer 10:57:30 1469e6f7b9e6: Waiting 10:57:30 bab4dde63d76: Pulling fs layer 10:57:30 bde34c3a00c8: Pulling fs layer 10:57:30 b352a97aabf1: Pulling fs layer 10:57:30 eaf3925da568: Waiting 10:57:30 4872d77fe225: Pulling fs layer 10:57:30 bab4dde63d76: Waiting 10:57:30 5851b861e8e6: Pulling fs layer 10:57:30 b352a97aabf1: Waiting 10:57:30 5851b861e8e6: Waiting 10:57:30 e2be974225ed: Verifying Checksum 10:57:30 e2be974225ed: Download complete 10:57:30 988bab9f4d93: Verifying Checksum 10:57:30 988bab9f4d93: Download complete 10:57:30 1469e6f7b9e6: Verifying Checksum 10:57:30 1469e6f7b9e6: Download complete 10:57:30 eaf3925da568: Verifying Checksum 10:57:30 eaf3925da568: Download complete 10:57:30 339a4e72a1f5: Verifying Checksum 10:57:30 339a4e72a1f5: Download complete 10:57:30 bde34c3a00c8: Download complete 10:57:30 b352a97aabf1: Verifying Checksum 10:57:30 b352a97aabf1: Download complete 10:57:30 4872d77fe225: Download complete 10:57:30 5851b861e8e6: Verifying Checksum 10:57:30 5851b861e8e6: Download complete 10:57:30 b85a868b505f: Verifying Checksum 10:57:30 b85a868b505f: Download complete 10:57:30 bab4dde63d76: Verifying Checksum 10:57:30 bab4dde63d76: Download complete 10:57:31 b85a868b505f: Pull complete 10:57:31 e2be974225ed: Pull complete 10:57:32 339a4e72a1f5: Pull complete 10:57:32 988bab9f4d93: Pull complete 10:57:32 1469e6f7b9e6: Pull complete 10:57:32 eaf3925da568: Pull complete 10:57:33 bab4dde63d76: Pull complete 10:57:34 bde34c3a00c8: Pull complete 10:57:34 b352a97aabf1: Pull complete 10:57:34 4872d77fe225: Pull complete 10:57:34 5851b861e8e6: Pull complete 10:57:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:57:34 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 10:57:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:57:38 $ docker top 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 -eo pid,comm 10:57:38 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). 10:57:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:38 [ssh-agent] Looking for ssh-agent implementation... 10:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:38 $ docker exec 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent 10:57:38 SSH_AUTH_SOCK=/tmp/ssh-7mHVLWRqGwiU/agent.33 10:57:38 SSH_AGENT_PID=39 10:57:38 Running ssh-add (command line suppressed) 10:57:38 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7164554685547454810.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7164554685547454810.key) 10:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:39 + git tag --points-at HEAD [Pipeline] } 10:57:39 $ docker exec --env ******** --env ******** 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent -k 10:57:39 unset SSH_AUTH_SOCK; 10:57:39 unset SSH_AGENT_PID; 10:57:39 echo Agent pid 39 killed; 10:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:57:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:39 [ssh-agent] Looking for ssh-agent implementation... 10:57:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:39 $ docker exec 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent 10:57:39 SSH_AUTH_SOCK=/tmp/ssh-Il4tDKuPI6RF/agent.71 10:57:39 SSH_AGENT_PID=77 10:57:39 Running ssh-add (command line suppressed) 10:57:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12311562776568713031.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12311562776568713031.key) 10:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:40 + git semver init 10:57:40 2023-08-25 10:57:40,257 [run_init] DEBUG init version:0.0.0 force:False 10:57:40 2023-08-25 10:57:40,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 10:57:40 2023-08-25 10:57:40,258 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 10:57:40 2023-08-25 10:57:40,259 [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) 10:57:41 2023-08-25 10:57:41,259 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 10:57:41 2023-08-25 10:57:41,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 10:57:41 2023-08-25 10:57:41,260 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:57:41 2023-08-25 10:57:41,260 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:57:41 3.1.0-dev.5 [Pipeline] } 10:57:41 $ docker exec --env ******** --env ******** 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent -k 10:57:41 unset SSH_AUTH_SOCK; 10:57:41 unset SSH_AGENT_PID; 10:57:41 echo Agent pid 77 killed; 10:57:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:57:41 + git semver [Pipeline] } 10:57:41 $ docker stop --time=1 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 10:57:43 $ docker rm -f --volumes 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 [Pipeline] // withDockerContainer [Pipeline] sh 10:57:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:57:43 Stashed 1 file(s) [Pipeline] echo 10:57:43 [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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 10:57:43 provisioning config files... 10:57:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9383194172009327611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:44 ---> docker-login.sh 10:57:44 nexus3.edgexfoundry.org:10001 10:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:44 Configure a credential helper to remove this warning. See 10:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:44 10:57:44 Login Succeeded 10:57:44 nexus3.edgexfoundry.org:10002 10:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:44 Configure a credential helper to remove this warning. See 10:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:44 10:57:44 Login Succeeded 10:57:44 nexus3.edgexfoundry.org:10003 10:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:44 Configure a credential helper to remove this warning. See 10:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:44 10:57:44 Login Succeeded 10:57:44 nexus3.edgexfoundry.org:10004 10:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:44 Configure a credential helper to remove this warning. See 10:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:44 10:57:44 Login Succeeded 10:57:44 docker.io 10:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:44 Configure a credential helper to remove this warning. See 10:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:44 10:57:44 Login Succeeded 10:57:44 ---> docker-login.sh ends [Pipeline] } 10:57:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:57:44 ========================================================= 10:57:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:57:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:57:45 Sending build context to Docker daemon 21.67MB 10:57:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:57:45 Step 2/13 : FROM ${BASE} AS builder 10:57:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:57:45 4db1b89c0bd1: Pulling fs layer 10:57:45 6911f1a30b25: Pulling fs layer 10:57:45 e194b8c5c2a9: Pulling fs layer 10:57:45 6863d3e3a2b1: Pulling fs layer 10:57:45 ec0bb842ea78: Pulling fs layer 10:57:45 40a00589a448: Pulling fs layer 10:57:45 6c08303d61cc: Pulling fs layer 10:57:45 798269fcf238: Pulling fs layer 10:57:45 ec0bb842ea78: Waiting 10:57:45 40a00589a448: Waiting 10:57:45 6863d3e3a2b1: Waiting 10:57:45 6c08303d61cc: Waiting 10:57:45 798269fcf238: Waiting 10:57:45 6911f1a30b25: Download complete 10:57:45 6863d3e3a2b1: Verifying Checksum 10:57:45 6863d3e3a2b1: Download complete 10:57:45 ec0bb842ea78: Download complete 10:57:45 4db1b89c0bd1: Verifying Checksum 10:57:45 4db1b89c0bd1: Download complete 10:57:45 40a00589a448: Verifying Checksum 10:57:45 40a00589a448: Download complete 10:57:45 4db1b89c0bd1: Pull complete 10:57:45 6911f1a30b25: Pull complete 10:57:46 e194b8c5c2a9: Verifying Checksum 10:57:46 e194b8c5c2a9: Download complete 10:57:46 798269fcf238: Verifying Checksum 10:57:46 798269fcf238: Download complete 10:57:46 6c08303d61cc: Verifying Checksum 10:57:46 6c08303d61cc: Download complete 10:57:49 e194b8c5c2a9: Pull complete 10:57:49 6863d3e3a2b1: Pull complete 10:57:49 ec0bb842ea78: Pull complete 10:57:49 40a00589a448: Pull complete 10:57:52 6c08303d61cc: Pull complete 10:57:52 798269fcf238: Pull complete 10:57:52 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:57:52 ---> ec979cd7f677 10:57:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:57:57 ---> Running in 6d144f9a49a3 10:57:57 Removing intermediate container 6d144f9a49a3 10:57:57 ---> fa5a1c3f8664 10:57:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:57:57 ---> Running in 293f29c9eea6 10:57:57 Removing intermediate container 293f29c9eea6 10:57:57 ---> 532ddcec4d34 10:57:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:57:57 ---> Running in 67bdef01d858 10:57:57 Removing intermediate container 67bdef01d858 10:57:57 ---> 33a70c2ec6e4 10:57:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:57:57 ---> Running in 4032b25ded5a 10:57:57 Removing intermediate container 4032b25ded5a 10:57:57 ---> e1f04fed7498 10:57:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:57:57 ---> Running in d99ac9b23f7b 10:57:57 Removing intermediate container d99ac9b23f7b 10:57:57 ---> dd01e59b4935 10:57:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:57:57 ---> Running in ab695e326757 10:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:57:58 OK: 265 MiB in 53 packages 10:57:58 Still waiting to schedule task 10:57:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:57:58 Removing intermediate container ab695e326757 10:57:58 ---> 4f8e52aa7dba 10:57:58 Step 9/13 : WORKDIR /device-onvif-camera 10:57:58 ---> Running in 8d22aa822d49 10:57:58 Removing intermediate container 8d22aa822d49 10:57:58 ---> beece4283a75 10:57:58 Step 10/13 : COPY go.mod vendor* ./ 10:57:59 ---> 384bc4f02eda 10:57:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:57:59 ---> Running in 9f79fc475e30 10:58:31 Removing intermediate container 9f79fc475e30 10:58:31 ---> e66d0892fa63 10:58:31 Step 12/13 : COPY . . 10:58:31 ---> 221da03ff621 10:58:31 Step 13/13 : RUN ${MAKE} 10:58:31 ---> Running in a44dec39d2b6 10:58:31 noop 10:58:31 Removing intermediate container a44dec39d2b6 10:58:31 ---> db1ae2944906 10:58:31 Successfully built db1ae2944906 10:58:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:32 + docker inspect -f . ci-base-image-x86_64 10:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:32 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 10:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:58:32 $ docker top 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:33 + go version 10:58:33 go version go1.20.6 linux/amd64 [Pipeline] } 10:58:33 $ docker stop --time=1 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca 10:58:34 $ docker rm -f --volumes 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:34 + docker inspect -f . ci-base-image-x86_64 10:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:34 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 10:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:58:35 $ docker top 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:35 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 10:58:35 + make test 10:58:35 go test ./... -coverprofile=coverage.out ./... 10:58:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:58:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:58:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:58:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements 10:58:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.090s coverage: 86.5% of statements 10:59:01 go vet ./... 10:59:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:59:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:59:05 ./bin/test-attribution-txt.sh [Pipeline] echo 10:59:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:59:05 $ docker stop --time=1 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 10:59:08 $ docker rm -f --volumes 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 [Pipeline] // withDockerContainer [Pipeline] sh 10:59:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:59:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:59:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:59:09 + ls -al . 10:59:09 total 244 10:59:09 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 10:58 . 10:59:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 .. 10:59:09 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:57 .git 10:59:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 .github 10:59:09 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 10:57 .gitignore 10:59:09 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:57 .golangci.yml 10:59:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:57 .semver 10:59:09 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 10:57 Attribution.txt 10:59:09 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 10:57 CHANGELOG.md 10:59:09 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 10:57 Dockerfile 10:59:09 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:57 GOVERNANCE.md 10:59:09 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 10:57 Jenkinsfile 10:59:09 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:57 LICENSE 10:59:09 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 10:57 Makefile 10:59:09 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:57 OWNERS.md 10:59:09 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 10:57 README.md 10:59:09 -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:57 VERSION 10:59:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:57 bin 10:59:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 cmd 10:59:09 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 10:58 coverage.out 10:59:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 doc 10:59:09 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 10:57 go.mod 10:59:09 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 10:57 go.sum 10:59:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 internal 10:59:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 snap 10:59:09 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:10 + 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=ed280a745d7a481fda411e84eedc9b35ce489b45 --label arch=amd64 --label version=3.1.0-dev.5 . 10:59:10 Sending build context to Docker daemon 21.75MB 10:59:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:59:10 Step 2/26 : FROM ${BASE} AS builder 10:59:10 ---> db1ae2944906 10:59:10 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:59:10 ---> Running in 8c10942c7409 10:59:10 Removing intermediate container 8c10942c7409 10:59:10 ---> 56caf9d7e175 10:59:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:59:10 ---> Running in fe5e3954e663 10:59:10 Removing intermediate container fe5e3954e663 10:59:10 ---> ec8967a51717 10:59:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:59:10 ---> Running in 0cf56aa25bea 10:59:10 Removing intermediate container 0cf56aa25bea 10:59:10 ---> 46f24e9bcd66 10:59:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:59:10 ---> Running in 506fa5fb3953 10:59:10 Removing intermediate container 506fa5fb3953 10:59:10 ---> f2099bf5a884 10:59:10 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:59:10 ---> Running in 70b24d451471 10:59:10 Removing intermediate container 70b24d451471 10:59:10 ---> 4cfc36a3fd99 10:59:10 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:59:10 ---> Running in 66d1337d0f61 10:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:59:11 OK: 265 MiB in 53 packages 10:59:11 Removing intermediate container 66d1337d0f61 10:59:11 ---> a2cebce996c0 10:59:11 Step 9/26 : WORKDIR /device-onvif-camera 10:59:11 ---> Running in 2107cf201c12 10:59:11 Removing intermediate container 2107cf201c12 10:59:11 ---> 756f6f3b4d4f 10:59:11 Step 10/26 : COPY go.mod vendor* ./ 10:59:11 ---> 2854424050e4 10:59:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:59:11 ---> Running in 25e9574caded 10:59:12 Removing intermediate container 25e9574caded 10:59:12 ---> ec823ef731e1 10:59:12 Step 12/26 : COPY . . 10:59:13 ---> ab89c9927164 10:59:13 Step 13/26 : RUN ${MAKE} 10:59:13 ---> Running in 390cfa411570 10:59:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 10:59:35 Removing intermediate container 390cfa411570 10:59:35 ---> e9d43317eb1f 10:59:35 Step 14/26 : FROM alpine:3.17 10:59:35 3.17: Pulling from library/alpine 10:59:35 9398808236ff: Pulling fs layer 10:59:35 9398808236ff: Download complete 10:59:35 9398808236ff: Pull complete 10:59:35 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:59:35 Status: Downloaded newer image for alpine:3.17 10:59:35 ---> 1e0b8b5322fc 10:59:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:59:35 ---> Running in 28897376662a 10:59:35 Removing intermediate container 28897376662a 10:59:35 ---> 557c70575f66 10:59:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:59:35 ---> Running in cb09089ae62a 10:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:59:35 (1/1) Installing dumb-init (1.2.5-r2) 10:59:35 Executing busybox-1.35.0-r29.trigger 10:59:35 OK: 7 MiB in 16 packages 10:59:35 Removing intermediate container cb09089ae62a 10:59:35 ---> 6eac7482113f 10:59:35 Step 17/26 : WORKDIR / 10:59:35 ---> Running in 3c85240bf891 10:59:36 Removing intermediate container 3c85240bf891 10:59:36 ---> 296a85a5f318 10:59:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:59:36 ---> ea6ac0022225 10:59:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:59:37 ---> 06d64d6e2fa1 10:59:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:59:37 ---> faa485d905df 10:59:37 Step 21/26 : EXPOSE 59984 10:59:37 ---> Running in 304870a2d9f3 10:59:37 Removing intermediate container 304870a2d9f3 10:59:37 ---> ea56d0720e74 10:59:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:59:37 ---> Running in 2c7d953d569c 10:59:37 Removing intermediate container 2c7d953d569c 10:59:37 ---> 450388319b4e 10:59:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:59:37 ---> Running in ae7fda24e581 10:59:37 Removing intermediate container ae7fda24e581 10:59:37 ---> 8e0ed8d45852 10:59:37 Step 24/26 : LABEL arch=amd64 10:59:37 ---> Running in 938a8235dcf8 10:59:37 Removing intermediate container 938a8235dcf8 10:59:37 ---> e80fd808e98d 10:59:37 Step 25/26 : LABEL git_sha=ed280a745d7a481fda411e84eedc9b35ce489b45 10:59:37 ---> Running in b70b49cda884 10:59:37 Removing intermediate container b70b49cda884 10:59:37 ---> 73eb66dd108e 10:59:37 Step 26/26 : LABEL version=3.1.0-dev.5 10:59:37 ---> Running in 2b65fbfa513e 10:59:37 Removing intermediate container 2b65fbfa513e 10:59:37 ---> 09b5ee7bb799 10:59:37 [Warning] One or more build-args [ARCH] were not consumed 10:59:37 Successfully built 09b5ee7bb799 10:59:37 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 10:59:37 provisioning config files... 10:59:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2395798098311499357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:38 ---> docker-login.sh 10:59:38 nexus3.edgexfoundry.org:10001 10:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:38 Configure a credential helper to remove this warning. See 10:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:38 10:59:38 Login Succeeded 10:59:38 nexus3.edgexfoundry.org:10002 10:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:38 Configure a credential helper to remove this warning. See 10:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:38 10:59:38 Login Succeeded 10:59:38 nexus3.edgexfoundry.org:10003 10:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:38 Configure a credential helper to remove this warning. See 10:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:38 10:59:38 Login Succeeded 10:59:38 nexus3.edgexfoundry.org:10004 10:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:38 Configure a credential helper to remove this warning. See 10:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:38 10:59:38 Login Succeeded 10:59:38 docker.io 10:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:39 Configure a credential helper to remove this warning. See 10:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:39 10:59:39 Login Succeeded 10:59:39 ---> docker-login.sh ends [Pipeline] } 10:59:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:59:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:59:39 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 10:59:39 ed280a745d7a481fda411e84eedc9b35ce489b45 10:59:39 latest 10:59:39 3.1.0-dev.5 10:59:39 ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 10:59:39 main 10:59:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 10:59:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:59:39 2c7777881b97: Preparing 10:59:39 24ab3a0cfe47: Preparing 10:59:39 1a5d56c28d5f: Preparing 10:59:39 c1a845faf1a0: Preparing 10:59:39 36b50b131297: Preparing 10:59:39 36b50b131297: Layer already exists 10:59:39 2c7777881b97: Pushed 10:59:39 24ab3a0cfe47: Pushed 10:59:39 c1a845faf1a0: Pushed 10:59:43 1a5d56c28d5f: Pushed 10:59:43 ed280a745d7a481fda411e84eedc9b35ce489b45: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:59:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:59:43 2c7777881b97: Preparing 10:59:43 24ab3a0cfe47: Preparing 10:59:43 1a5d56c28d5f: Preparing 10:59:43 c1a845faf1a0: Preparing 10:59:43 36b50b131297: Preparing 10:59:43 1a5d56c28d5f: Layer already exists 10:59:43 c1a845faf1a0: Layer already exists 10:59:43 2c7777881b97: Layer already exists 10:59:43 36b50b131297: Layer already exists 10:59:43 24ab3a0cfe47: Layer already exists 10:59:43 latest: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 10:59:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:59:44 2c7777881b97: Preparing 10:59:44 24ab3a0cfe47: Preparing 10:59:44 1a5d56c28d5f: Preparing 10:59:44 c1a845faf1a0: Preparing 10:59:44 36b50b131297: Preparing 10:59:44 1a5d56c28d5f: Layer already exists 10:59:44 24ab3a0cfe47: Layer already exists 10:59:44 2c7777881b97: Layer already exists 10:59:44 36b50b131297: Layer already exists 10:59:44 c1a845faf1a0: Layer already exists 10:59:44 3.1.0-dev.5: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 10:59:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:59:45 2c7777881b97: Preparing 10:59:45 24ab3a0cfe47: Preparing 10:59:45 1a5d56c28d5f: Preparing 10:59:45 c1a845faf1a0: Preparing 10:59:45 36b50b131297: Preparing 10:59:45 36b50b131297: Layer already exists 10:59:45 2c7777881b97: Layer already exists 10:59:45 1a5d56c28d5f: Layer already exists 10:59:45 c1a845faf1a0: Layer already exists 10:59:45 24ab3a0cfe47: Layer already exists 10:59:45 ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 10:59:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:59:46 2c7777881b97: Preparing 10:59:46 24ab3a0cfe47: Preparing 10:59:46 1a5d56c28d5f: Preparing 10:59:46 c1a845faf1a0: Preparing 10:59:46 36b50b131297: Preparing 10:59:46 c1a845faf1a0: Layer already exists 10:59:46 36b50b131297: Layer already exists 10:59:46 24ab3a0cfe47: Layer already exists 10:59:46 2c7777881b97: Layer already exists 10:59:46 1a5d56c28d5f: Layer already exists 10:59:46 main: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:59:46 ===================================================== [Pipeline] echo 10:59:46 taggedImages: 10:59:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 10:59:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:59:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 10:59:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 10:59:46 - 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 10:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:46 10:59:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:46 latest: Pulling from edgex-lftools-log-publisher 10:59:46 5eb5b503b376: Pulling fs layer 10:59:46 5c69ac0246d0: Pulling fs layer 10:59:46 ec43610c2a17: Pulling fs layer 10:59:46 3a2ae6a8a46f: Pulling fs layer 10:59:46 33b1e0a273af: Pulling fs layer 10:59:46 5d3b04190fa2: Pulling fs layer 10:59:46 2f39f015ded8: Pulling fs layer 10:59:46 2f39f015ded8: Waiting 10:59:46 33b1e0a273af: Waiting 10:59:46 5d3b04190fa2: Waiting 10:59:46 3a2ae6a8a46f: Waiting 10:59:46 5c69ac0246d0: Verifying Checksum 10:59:46 5c69ac0246d0: Download complete 10:59:46 3a2ae6a8a46f: Verifying Checksum 10:59:46 3a2ae6a8a46f: Download complete 10:59:47 33b1e0a273af: Verifying Checksum 10:59:47 33b1e0a273af: Download complete 10:59:47 5d3b04190fa2: Verifying Checksum 10:59:47 5d3b04190fa2: Download complete 10:59:47 ec43610c2a17: Verifying Checksum 10:59:47 ec43610c2a17: Download complete 10:59:47 5eb5b503b376: Download complete 10:59:47 2f39f015ded8: Download complete 10:59:48 5eb5b503b376: Pull complete 10:59:48 5c69ac0246d0: Pull complete 10:59:48 ec43610c2a17: Pull complete 10:59:48 3a2ae6a8a46f: Pull complete 10:59:48 33b1e0a273af: Pull complete 10:59:49 5d3b04190fa2: Pull complete 10:59:53 2f39f015ded8: Pull complete 10:59:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:59:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:53 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 10:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:59:57 $ docker top 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:57 ---> job-cost.sh 10:59:57 lf-activate-venv: SKIPPING 10:59:57 INFO: No Stack... 10:59:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:59:58 INFO: Archiving Costs [Pipeline] sh 10:59:58 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 10:59:58 + cut -d, -f6 [Pipeline] lock 10:59:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] 10:59:58 Resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] did not exist. Created. 10:59:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:59:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:59:58 Stashed 1 file(s) [Pipeline] } 10:59:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 10:59:58 $ docker stop --time=1 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 10:59:59 $ docker rm -f --volumes 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:00:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4561 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 11:00:15 Running in /w/workspace/device-onvif-camera/161 [Pipeline] { [Pipeline] checkout 11:00:15 The recommended git tool is: git 11:00:25 using credential edgex-jenkins-ssh 11:00:25 Cloning the remote Git repository 11:00:25 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 11:00:25 > git init /w/workspace/device-onvif-camera/161 # timeout=10 11:00:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 11:00:26 > git --version # timeout=10 11:00:26 > git --version # 'git version 2.25.1' 11:00:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:00:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:00:28 Avoid second fetch 11:00:28 Checking out Revision ed280a745d7a481fda411e84eedc9b35ce489b45 (main) 11:00:27 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 11:00:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:00:29 Commit message: "Merge pull request #377 from FelixTing/update-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:00:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:00:30 % Total % Received % Xferd Average Speed Time Time Time Current 11:00:30 Dload Upload Total Spent Left Speed 11:00:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k 11:00:28 > git config core.sparsecheckout # timeout=10 11:00:29 > git checkout -f ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 [Pipeline] sh 11:00:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:00:31 + sudo tee /etc/docker/daemon.new 11:00:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:00:31 { 11:00:31 "registry-mirrors": [ 11:00:31 "https://nexus3.edgexfoundry.org:10001" 11:00:31 ], 11:00:31 "bip": "10.250.0.254/24", 11:00:31 "hosts": [ 11:00:31 "tcp://0.0.0.0:5555", 11:00:31 "unix:///var/run/docker.sock" 11:00:31 ], 11:00:31 "mtu": 1458, 11:00:31 "selinux-enabled": true, 11:00:31 "seccomp-profile": "/etc/docker/seccomp.json" 11:00:31 } [Pipeline] sh 11:00:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:00:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:00:50 provisioning config files... 11:00:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/161@tmp/config11383957778330154453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:50 ---> docker-login.sh 11:00:50 nexus3.edgexfoundry.org:10001 11:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:51 Configure a credential helper to remove this warning. See 11:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:51 11:00:51 Login Succeeded 11:00:51 nexus3.edgexfoundry.org:10002 11:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:52 Configure a credential helper to remove this warning. See 11:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:52 11:00:52 Login Succeeded 11:00:52 nexus3.edgexfoundry.org:10003 11:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:52 Configure a credential helper to remove this warning. See 11:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:52 11:00:52 Login Succeeded 11:00:52 nexus3.edgexfoundry.org:10004 11:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:52 Configure a credential helper to remove this warning. See 11:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:52 11:00:52 Login Succeeded 11:00:52 docker.io 11:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:53 Configure a credential helper to remove this warning. See 11:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:53 11:00:53 Login Succeeded 11:00:53 ---> docker-login.sh ends [Pipeline] } 11:00:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:53 ========================================================= 11:00:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:00:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:00:54 Sending build context to Docker daemon 14.2MB 11:00:54 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 11:00:54 Step 2/13 : FROM ${BASE} AS builder 11:00:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:00:54 edb6bdbacee9: Pulling fs layer 11:00:54 5f9638ab2659: Pulling fs layer 11:00:54 8d51d6327a98: Pulling fs layer 11:00:54 8b374f2dd631: Pulling fs layer 11:00:54 ec14aa9079de: Pulling fs layer 11:00:54 2f466654f4bb: Pulling fs layer 11:00:54 554e91adad29: Pulling fs layer 11:00:54 ec14aa9079de: Waiting 11:00:54 2f466654f4bb: Waiting 11:00:54 554e91adad29: Waiting 11:00:54 8b374f2dd631: Waiting 11:00:54 5f9638ab2659: Verifying Checksum 11:00:54 5f9638ab2659: Download complete 11:00:54 8b374f2dd631: Verifying Checksum 11:00:54 8b374f2dd631: Download complete 11:00:55 ec14aa9079de: Verifying Checksum 11:00:55 ec14aa9079de: Download complete 11:00:55 edb6bdbacee9: Verifying Checksum 11:00:55 edb6bdbacee9: Download complete 11:00:56 edb6bdbacee9: Pull complete 11:00:56 554e91adad29: Verifying Checksum 11:00:56 554e91adad29: Download complete 11:00:56 5f9638ab2659: Pull complete 11:00:57 8d51d6327a98: Verifying Checksum 11:00:57 8d51d6327a98: Download complete 11:00:57 2f466654f4bb: Verifying Checksum 11:00:57 2f466654f4bb: Download complete 11:01:09 8d51d6327a98: Pull complete 11:01:09 8b374f2dd631: Pull complete 11:01:09 ec14aa9079de: Pull complete 11:01:16 2f466654f4bb: Pull complete 11:01:19 554e91adad29: Pull complete 11:01:19 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 11:01:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:01:19 ---> 1e15ea492957 11:01:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:01:21 ---> Running in d4937e0caa15 11:01:21 Removing intermediate container d4937e0caa15 11:01:21 ---> bd2055d895a8 11:01:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:01:21 ---> Running in 98be4b0587a7 11:01:22 Removing intermediate container 98be4b0587a7 11:01:22 ---> 70e86516b5f5 11:01:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 11:01:22 ---> Running in c85c93c38e60 11:01:22 Removing intermediate container c85c93c38e60 11:01:22 ---> fa8f2397efcb 11:01:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 11:01:22 ---> Running in 9fc9dd0e2176 11:01:23 Removing intermediate container 9fc9dd0e2176 11:01:23 ---> 374166d33912 11:01:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 11:01:23 ---> Running in e71a0f8330bb 11:01:23 Removing intermediate container e71a0f8330bb 11:01:23 ---> f3959ac2633b 11:01:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:01:23 ---> Running in 97cbd2f4437d 11:01:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:01:26 OK: 263 MiB in 53 packages 11:01:27 Removing intermediate container 97cbd2f4437d 11:01:27 ---> 1cd2c0a2b5b0 11:01:27 Step 9/13 : WORKDIR /device-onvif-camera 11:01:27 ---> Running in 7d0769511375 11:01:28 Removing intermediate container 7d0769511375 11:01:28 ---> 5a9b72f3daaf 11:01:28 Step 10/13 : COPY go.mod vendor* ./ 11:01:28 ---> c015e914cf11 11:01:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:01:28 ---> Running in f4b910d8fd19 11:02:50 Removing intermediate container f4b910d8fd19 11:02:50 ---> 7ba2741c03f9 11:02:50 Step 12/13 : COPY . . 11:02:50 ---> cd6dbf49ae45 11:02:50 Step 13/13 : RUN ${MAKE} 11:02:50 ---> Running in fbff59cc69c6 11:02:50 noop 11:02:50 Removing intermediate container fbff59cc69c6 11:02:50 ---> 2ad4434be69b 11:02:50 Successfully built 2ad4434be69b 11:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:50 + docker inspect -f . ci-base-image-arm64 11:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container 11:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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 11:02:52 $ docker top e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a -eo pid,comm [Pipeline] { [Pipeline] sh 11:02:53 + go version 11:02:53 go version go1.20.6 linux/arm64 [Pipeline] } 11:02:53 $ docker stop --time=1 e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a 11:02:54 $ docker rm -f --volumes e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:55 + docker inspect -f . ci-base-image-arm64 11:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:55 prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container 11:02:55 $ 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/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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 11:02:57 $ docker top 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:02:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/161 [Pipeline] fileExists [Pipeline] sh 11:02:58 + make test 11:02:58 go test ./... -coverprofile=coverage.out ./... 11:03:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 11:06:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 11:06:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 11:06:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.240s coverage: 31.4% of statements 11:07:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.957s coverage: 86.5% of statements 11:07:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:07:01 go vet ./... 11:07:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:40 ./bin/test-attribution-txt.sh [Pipeline] echo 11:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:07:40 $ docker stop --time=1 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 11:07:42 $ docker rm -f --volumes 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:43 Warning: overwriting stash ‘coverage-report’ 11:07:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:45 + ls -al . 11:07:45 total 240 11:07:45 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 11:03 . 11:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 .. 11:07:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:00 .git 11:07:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 .github 11:07:45 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 11:00 .gitignore 11:07:45 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 11:00 .golangci.yml 11:07:45 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 11:00 Attribution.txt 11:07:45 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 11:00 CHANGELOG.md 11:07:45 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 11:00 Dockerfile 11:07:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:00 GOVERNANCE.md 11:07:45 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 11:00 Jenkinsfile 11:07:45 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 11:00 LICENSE 11:07:45 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 11:00 Makefile 11:07:45 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 11:00 OWNERS.md 11:07:45 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 11:00 README.md 11:07:45 -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:57 VERSION 11:07:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 bin 11:07:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 cmd 11:07:45 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 11:07 coverage.out 11:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 doc 11:07:45 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 11:00 go.mod 11:07:45 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 11:00 go.sum 11:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 internal 11:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 snap 11:07:45 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:45 + 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=ed280a745d7a481fda411e84eedc9b35ce489b45 --label arch=arm64 --label version=3.1.0-dev.5 . 11:07:46 Sending build context to Docker daemon 14.28MB 11:07:46 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 11:07:46 Step 2/26 : FROM ${BASE} AS builder 11:07:46 ---> 2ad4434be69b 11:07:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 11:07:46 ---> Running in 1d982bd4a2a5 11:07:46 Removing intermediate container 1d982bd4a2a5 11:07:46 ---> 435d1c25ce50 11:07:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:07:46 ---> Running in 96029ae7bdcb 11:07:46 Removing intermediate container 96029ae7bdcb 11:07:46 ---> ea4fd04b4c02 11:07:46 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 11:07:46 ---> Running in f12789dfe930 11:07:47 Removing intermediate container f12789dfe930 11:07:47 ---> a40584d8a50c 11:07:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 11:07:47 ---> Running in b906b555c31b 11:07:47 Removing intermediate container b906b555c31b 11:07:47 ---> aa76fc1fbbf9 11:07:47 Step 7/26 : LABEL Name=edgex-device-onvif-camera 11:07:47 ---> Running in 52bd8e3d5d37 11:07:48 Removing intermediate container 52bd8e3d5d37 11:07:48 ---> 52aac7788745 11:07:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:48 ---> Running in b4b732ffccab 11:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:07:51 OK: 263 MiB in 53 packages 11:07:52 Removing intermediate container b4b732ffccab 11:07:52 ---> c20d2fce9c45 11:07:52 Step 9/26 : WORKDIR /device-onvif-camera 11:07:52 ---> Running in f6c48bfff465 11:07:52 Removing intermediate container f6c48bfff465 11:07:52 ---> 0636a931f22c 11:07:52 Step 10/26 : COPY go.mod vendor* ./ 11:07:53 ---> b2afdeea2983 11:07:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:53 ---> Running in 61204961ccff 11:07:56 Removing intermediate container 61204961ccff 11:07:56 ---> 4bd9260984b8 11:07:56 Step 12/26 : COPY . . 11:07:57 ---> 71009dc50ed0 11:07:57 Step 13/26 : RUN ${MAKE} 11:07:57 ---> Running in d6d8d16cdaee 11:07:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 11:10:50 Removing intermediate container d6d8d16cdaee 11:10:50 ---> 9541a463fb0a 11:10:50 Step 14/26 : FROM alpine:3.17 11:10:50 3.17: Pulling from library/alpine 11:10:50 4060ece20d7a: Pulling fs layer 11:10:50 4060ece20d7a: Verifying Checksum 11:10:50 4060ece20d7a: Download complete 11:10:50 4060ece20d7a: Pull complete 11:10:50 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:10:50 Status: Downloaded newer image for alpine:3.17 11:10:50 ---> 8650cd65339b 11:10:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 11:10:50 ---> Running in d294a49f63d6 11:10:50 Removing intermediate container d294a49f63d6 11:10:50 ---> 195c7c6b357a 11:10:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 11:10:50 ---> Running in 18776bb5b32f 11:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:10:51 (1/1) Installing dumb-init (1.2.5-r2) 11:10:52 Executing busybox-1.35.0-r29.trigger 11:10:52 OK: 8 MiB in 16 packages 11:10:56 Removing intermediate container 18776bb5b32f 11:10:56 ---> 6172ff2da5a4 11:10:56 Step 17/26 : WORKDIR / 11:10:56 ---> Running in 13b774b60670 11:10:56 Removing intermediate container 13b774b60670 11:10:56 ---> dada90d950e2 11:10:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 11:10:58 ---> 38e70226c214 11:10:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 11:10:59 ---> 2a705593e097 11:10:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 11:10:59 ---> a5b55799cffc 11:10:59 Step 21/26 : EXPOSE 59984 11:11:00 ---> Running in cd33440968f8 11:11:00 Removing intermediate container cd33440968f8 11:11:00 ---> 70c02b28a3b1 11:11:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 11:11:00 ---> Running in 39da1d94b475 11:11:00 Removing intermediate container 39da1d94b475 11:11:00 ---> b67135bc3ffc 11:11:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:11:00 ---> Running in 30a7fca72f01 11:11:00 Removing intermediate container 30a7fca72f01 11:11:00 ---> 712de111d5d1 11:11:00 Step 24/26 : LABEL arch=arm64 11:11:00 ---> Running in 9a10859cc2d2 11:11:01 Removing intermediate container 9a10859cc2d2 11:11:01 ---> 71f9d3c2acd3 11:11:01 Step 25/26 : LABEL git_sha=ed280a745d7a481fda411e84eedc9b35ce489b45 11:11:01 ---> Running in 476c03cddff5 11:11:01 Removing intermediate container 476c03cddff5 11:11:01 ---> 4a71d597ac96 11:11:01 Step 26/26 : LABEL version=3.1.0-dev.5 11:11:01 ---> Running in 69b9f8437e32 11:11:01 Removing intermediate container 69b9f8437e32 11:11:01 ---> 86b32b3d2b82 11:11:01 [Warning] One or more build-args [ARCH] were not consumed 11:11:01 Successfully built 86b32b3d2b82 11:11:01 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 11:11:01 provisioning config files... 11:11:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/161@tmp/config993901845946453356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:02 ---> docker-login.sh 11:11:02 nexus3.edgexfoundry.org:10001 11:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:02 Configure a credential helper to remove this warning. See 11:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:02 11:11:02 Login Succeeded 11:11:02 nexus3.edgexfoundry.org:10002 11:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:02 Configure a credential helper to remove this warning. See 11:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:02 11:11:02 Login Succeeded 11:11:02 nexus3.edgexfoundry.org:10003 11:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:03 Configure a credential helper to remove this warning. See 11:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:03 11:11:03 Login Succeeded 11:11:03 nexus3.edgexfoundry.org:10004 11:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:03 Configure a credential helper to remove this warning. See 11:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:03 11:11:03 Login Succeeded 11:11:03 docker.io 11:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:04 Configure a credential helper to remove this warning. See 11:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:04 11:11:04 Login Succeeded 11:11:04 ---> docker-login.sh ends [Pipeline] } 11:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:11:04 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 11:11:04 ed280a745d7a481fda411e84eedc9b35ce489b45 11:11:04 latest 11:11:04 3.1.0-dev.5 11:11:04 ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 11:11:04 main 11:11:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 11:11:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 11:11:04 52d9c735d1b0: Preparing 11:11:04 17d088ea73d4: Preparing 11:11:04 721f69461b8c: Preparing 11:11:04 c396dfa3a398: Preparing 11:11:04 d2d9d24a8c2a: Preparing 11:11:04 d2d9d24a8c2a: Layer already exists 11:11:05 52d9c735d1b0: Pushed 11:11:05 17d088ea73d4: Pushed 11:11:05 c396dfa3a398: Pushed 11:11:11 721f69461b8c: Pushed 11:11:11 ed280a745d7a481fda411e84eedc9b35ce489b45: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:12 + 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 11:11:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 11:11:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 11:11:12 52d9c735d1b0: Preparing 11:11:12 17d088ea73d4: Preparing 11:11:12 721f69461b8c: Preparing 11:11:12 c396dfa3a398: Preparing 11:11:12 d2d9d24a8c2a: Preparing 11:11:12 52d9c735d1b0: Layer already exists 11:11:12 d2d9d24a8c2a: Layer already exists 11:11:12 721f69461b8c: Layer already exists 11:11:12 17d088ea73d4: Layer already exists 11:11:12 c396dfa3a398: Layer already exists 11:11:12 latest: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 11:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 11:11:13 52d9c735d1b0: Preparing 11:11:13 17d088ea73d4: Preparing 11:11:13 721f69461b8c: Preparing 11:11:13 c396dfa3a398: Preparing 11:11:13 d2d9d24a8c2a: Preparing 11:11:13 17d088ea73d4: Layer already exists 11:11:13 721f69461b8c: Layer already exists 11:11:13 d2d9d24a8c2a: Layer already exists 11:11:13 c396dfa3a398: Layer already exists 11:11:13 52d9c735d1b0: Layer already exists 11:11:13 3.1.0-dev.5: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 11:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 11:11:13 52d9c735d1b0: Preparing 11:11:13 17d088ea73d4: Preparing 11:11:13 721f69461b8c: Preparing 11:11:13 c396dfa3a398: Preparing 11:11:13 d2d9d24a8c2a: Preparing 11:11:13 c396dfa3a398: Layer already exists 11:11:13 17d088ea73d4: Layer already exists 11:11:13 721f69461b8c: Layer already exists 11:11:13 52d9c735d1b0: Layer already exists 11:11:13 d2d9d24a8c2a: Layer already exists 11:11:13 ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:14 + 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 11:11:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 11:11:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 11:11:14 52d9c735d1b0: Preparing 11:11:14 17d088ea73d4: Preparing 11:11:14 721f69461b8c: Preparing 11:11:14 c396dfa3a398: Preparing 11:11:14 d2d9d24a8c2a: Preparing 11:11:14 721f69461b8c: Layer already exists 11:11:14 c396dfa3a398: Layer already exists 11:11:14 d2d9d24a8c2a: Layer already exists 11:11:14 52d9c735d1b0: Layer already exists 11:11:14 17d088ea73d4: Layer already exists 11:11:14 main: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:11:14 ===================================================== [Pipeline] echo 11:11:14 taggedImages: 11:11:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 11:11:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 11:11:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 11:11:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 11:11:14 - 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 11:11:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:15 11:11:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:15 arm64: Pulling from edgex-lftools-log-publisher 11:11:15 8998bd30e6a1: Pulling fs layer 11:11:15 04944245beec: Pulling fs layer 11:11:15 699f458cf7ca: Pulling fs layer 11:11:15 765212b225bb: Pulling fs layer 11:11:15 f23df028b6ca: Pulling fs layer 11:11:15 d65c8cfc05b1: Pulling fs layer 11:11:15 2437ff75d9bd: Pulling fs layer 11:11:15 f23df028b6ca: Waiting 11:11:15 2437ff75d9bd: Waiting 11:11:15 d65c8cfc05b1: Waiting 11:11:15 765212b225bb: Waiting 11:11:15 04944245beec: Verifying Checksum 11:11:15 04944245beec: Download complete 11:11:15 765212b225bb: Verifying Checksum 11:11:15 765212b225bb: Download complete 11:11:15 f23df028b6ca: Verifying Checksum 11:11:15 f23df028b6ca: Download complete 11:11:15 d65c8cfc05b1: Verifying Checksum 11:11:15 d65c8cfc05b1: Download complete 11:11:15 699f458cf7ca: Verifying Checksum 11:11:15 699f458cf7ca: Download complete 11:11:16 8998bd30e6a1: Verifying Checksum 11:11:16 8998bd30e6a1: Download complete 11:11:18 2437ff75d9bd: Verifying Checksum 11:11:18 2437ff75d9bd: Download complete 11:11:19 8998bd30e6a1: Pull complete 11:11:20 04944245beec: Pull complete 11:11:24 699f458cf7ca: Pull complete 11:11:24 765212b225bb: Pull complete 11:11:24 f23df028b6ca: Pull complete 11:11:25 d65c8cfc05b1: Pull complete 11:11:37 2437ff75d9bd: Pull complete 11:11:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:37 prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container 11:11:37 $ 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/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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 11:11:40 $ docker top 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:41 ---> job-cost.sh 11:11:41 lf-activate-venv: SKIPPING 11:11:41 INFO: No Stack... 11:11:42 INFO: Retrieving Pricing Info for: v3-standard-4 11:11:42 INFO: Archiving Costs [Pipeline] sh 11:11:43 + cat /w/workspace/device-onvif-camera/161/archives/cost.csv 11:11:43 + cut -d, -f6 [Pipeline] lock 11:11:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] 11:11:43 Resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] did not exist. Created. 11:11:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:11:44 /w/workspace/device-onvif-camera/161@tmp/durable-50844199/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:11:44 + echo total: 0.10999999940395355 [Pipeline] stash 11:11:44 Warning: overwriting stash ‘stack-cost’ 11:11:44 Stashed 1 file(s) [Pipeline] } 11:11:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 11:11:44 $ docker stop --time=1 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f 11:11:46 $ docker rm -f --volumes 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f [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 11:11:46 provisioning config files... 11:11:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17053149968713370955tmp [Pipeline] { [Pipeline] sh 11:11:47 + set +x 11:11:47 + curl -s https://codecov.io/bash 11:11:47 + bash -s -- 11:11:47 11:11:47 _____ _ 11:11:47 / ____| | | 11:11:47 | | ___ __| | ___ ___ _____ __ 11:11:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:11:47 | |___| (_) | (_| | __/ (_| (_) \ V / 11:11:47 \_____\___/ \__,_|\___|\___\___/ \_/ 11:11:47 Bash-1.0.6 11:11:47 11:11:47 11:11:47 ==> git version 2.25.1 found 11:11:47 ==> 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 11:11:47 Release-Date: 2020-01-08 11:11:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:11:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:11:47 ==> Jenkins CI detected. 11:11:47 current dir:  /w/workspace/foundry_device-onvif-camera_main 11:11:47 project root: . 11:11:47 --> token set from env 11:11:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:11:47 ==> Running gcov in . (disable via -X gcov) 11:11:47 ==> Python coveragepy not found 11:11:47 ==> Searching for coverage reports in: 11:11:47 + . 11:11:47 -> Found 1 reports 11:11:47 ==> Detecting git/mercurial file structure 11:11:47 ==> Reading reports 11:11:47 + ./coverage.out bytes=78459 11:11:47 ==> Appending adjustments 11:11:47 https://docs.codecov.io/docs/fixing-reports 11:11:47 + Found adjustments 11:11:47 ==> Gzipping contents 11:11:47 12K /tmp/codecov.DkMGhI.gz 11:11:47 ==> Uploading reports 11:11:47 url: https://codecov.io 11:11:47 query: branch=main&commit=ed280a745d7a481fda411e84eedc9b35ce489b45&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 11:11:47 -> Pinging Codecov 11:11:47 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=ed280a745d7a481fda411e84eedc9b35ce489b45&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 11:11:47 -> Uploading to 11:11:47 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/F29A59C45E3A92E06B3E522C9905F8EF/ed280a745d7a481fda411e84eedc9b35ce489b45/1945140f-36a1-49c5-b369-271cb1b584e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a09cb2338052f7f51a5b6ed41cf1ee20380ccc86cfc6e7aa105bc5b9fe01d512 11:11:47 % Total % Received % Xferd Average Speed Time Time Time Current 11:11:47 Dload Upload Total Spent Left Speed 11:11:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 51077 --:--:-- --:--:-- --:--:-- 51077 11:11:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } 11:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:11:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:11:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:11:48 11:11:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:11:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:11:48 df9b9388f04a: Pulling fs layer 11:11:48 52dc419b0ee2: Pulling fs layer 11:11:48 25bc292e5bac: Pulling fs layer 11:11:48 114826534d7a: Pulling fs layer 11:11:48 4657fd5d0bcf: Pulling fs layer 11:11:48 6ad1cebc031e: Pulling fs layer 11:11:48 8a3aa393b2d8: Pulling fs layer 11:11:48 114826534d7a: Waiting 11:11:48 4657fd5d0bcf: Waiting 11:11:48 6ad1cebc031e: Waiting 11:11:48 8a3aa393b2d8: Waiting 11:11:48 25bc292e5bac: Download complete 11:11:48 52dc419b0ee2: Download complete 11:11:48 4657fd5d0bcf: Download complete 11:11:48 df9b9388f04a: Verifying Checksum 11:11:48 df9b9388f04a: Download complete 11:11:48 6ad1cebc031e: Verifying Checksum 11:11:48 6ad1cebc031e: Download complete 11:11:48 df9b9388f04a: Pull complete 11:11:48 52dc419b0ee2: Pull complete 11:11:49 25bc292e5bac: Pull complete 11:11:49 114826534d7a: Verifying Checksum 11:11:49 114826534d7a: Download complete 11:11:49 8a3aa393b2d8: Verifying Checksum 11:11:49 8a3aa393b2d8: Download complete 11:11:52 114826534d7a: Pull complete 11:11:53 4657fd5d0bcf: Pull complete 11:11:53 6ad1cebc031e: Pull complete 11:11:56 8a3aa393b2d8: Pull complete 11:11:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:11:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:56 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:12:01 $ docker top 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c -eo pid,comm [Pipeline] { [Pipeline] echo 11:12:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 11:12:02 + set -o pipefail 11:12:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 11:12:07 11:12:07 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 11:12:07 11:12:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/7946954d-6182-4a5b-98af-8dc2bec1d666 11:12:07 11:12:07 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 11:12:07 11:12:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:12:07 11:12:07 11:12:07 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:12:07 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:12:07 More details here: https://snyk.co/ue1NS [Pipeline] } 11:12:07 $ docker stop --time=1 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c 11:12:11 $ docker rm -f --volumes 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c [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 11:12:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:12 provisioning config files... 11:12:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3896944169486186514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:12 --> edgex-publish-swagger.sh 11:12:12 === Publish doc/openapi/v3 API === 11:12:12 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 11:12:12 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 11:12:12 % Total % Received % Xferd Average Speed Time Time Time Current 11:12:12 Dload Upload Total Spent Left Speed 11:12:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 814k --:--:-- --:--:-- --:--:-- 814k 11:12:13 11:12:13 [Pipeline] } 11:12:13 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 11:12:13 + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] sh 11:12:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:12:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:14 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:12:14 $ docker top e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 -eo pid,comm 11:12:14 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). 11:12:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:12:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:12:14 [ssh-agent] Looking for ssh-agent implementation... 11:12:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:12:14 $ docker exec e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 ssh-agent 11:12:15 SSH_AUTH_SOCK=/tmp/ssh-oNQLpelU9NXk/agent.32 11:12:15 SSH_AGENT_PID=38 11:12:15 Running ssh-add (command line suppressed) 11:12:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15803025822657521170.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15803025822657521170.key) 11:12:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:12:15 + git semver tag 11:12:15 2023-08-25 11:12:15,596 [run_tag] DEBUG tag force:False 11:12:15 2023-08-25 11:12:15,596 [check_head_tag] DEBUG check head tag 11:12:15 2023-08-25 11:12:15,596 [execute] INFO git cat-file --batch-check 11:12:15 2023-08-25 11:12:15,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 11:12:15 2023-08-25 11:12:15,600 [execute] INFO git cat-file --batch 11:12:15 2023-08-25 11:12:15,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 11:12:15 2023-08-25 11:12:15,606 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:15 2023-08-25 11:12:15,607 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 11:12:15 2023-08-25 11:12:15,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 11:12:15 2023-08-25 11:12:15,611 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:15 3.1.0-dev.5 [Pipeline] } 11:12:15 $ docker exec --env ******** --env ******** e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 ssh-agent -k 11:12:15 unset SSH_AUTH_SOCK; 11:12:15 unset SSH_AGENT_PID; 11:12:15 echo Agent pid 38 killed; 11:12:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:12:16 + git semver [Pipeline] } 11:12:16 $ docker stop --time=1 e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 11:12:17 $ docker rm -f --volumes e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:12:18 11:12:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:12:18 0.23.1-centos7: Pulling from edgex-lftools 11:12:18 ab5ef0e58194: Pulling fs layer 11:12:18 9712f1f96733: Pulling fs layer 11:12:18 63f879dbbcfc: Pulling fs layer 11:12:18 0d9ebad4ef96: Pulling fs layer 11:12:18 e9a5061849ea: Pulling fs layer 11:12:18 d747dcd14b5f: Pulling fs layer 11:12:18 2de7ff778b66: Pulling fs layer 11:12:18 0d9ebad4ef96: Waiting 11:12:18 d747dcd14b5f: Waiting 11:12:18 2de7ff778b66: Waiting 11:12:18 e9a5061849ea: Waiting 11:12:18 9712f1f96733: Verifying Checksum 11:12:18 9712f1f96733: Download complete 11:12:18 63f879dbbcfc: Verifying Checksum 11:12:18 63f879dbbcfc: Download complete 11:12:18 ab5ef0e58194: Download complete 11:12:18 d747dcd14b5f: Verifying Checksum 11:12:18 d747dcd14b5f: Download complete 11:12:18 0d9ebad4ef96: Verifying Checksum 11:12:18 0d9ebad4ef96: Download complete 11:12:18 e9a5061849ea: Verifying Checksum 11:12:18 e9a5061849ea: Download complete 11:12:19 2de7ff778b66: Verifying Checksum 11:12:19 2de7ff778b66: Download complete 11:12:21 ab5ef0e58194: Pull complete 11:12:21 9712f1f96733: Pull complete 11:12:22 63f879dbbcfc: Pull complete 11:12:25 0d9ebad4ef96: Pull complete 11:12:25 e9a5061849ea: Pull complete 11:12:25 d747dcd14b5f: Pull complete 11:12:26 2de7ff778b66: Pull complete 11:12:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:12:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:12:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:26 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:12:32 $ docker top 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:12:32 provisioning config files... 11:12:32 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17284414668384116237tmp 11:12:32 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15835216627597744385tmp 11:12:32 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11171331064380929164tmp [Pipeline] { [Pipeline] echo 11:12:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:12:32 ---> sigul-configuration.sh 11:12:32 gpg: directory `/root/.gnupg' created 11:12:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:12:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:12:32 gpg: keyring `/root/.gnupg/secring.gpg' created 11:12:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:12:32 gpg: CAST5 encrypted data 11:12:32 gpg: encrypted with 1 passphrase 11:12:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:12:32 + mkdir /home/jenkins 11:12:32 + mkdir /home/jenkins/sigul [Pipeline] sh 11:12:33 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:12:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:12:33 ---> sigul-install.sh 11:12:33 Sigul already installed; skipping installation. [Pipeline] sh 11:12:33 + git tag --list 11:12:33 v0.0.0 11:12:33 v2.2.0 11:12:33 v2.3.0 11:12:33 v2.3.1 11:12:33 v3.0 11:12:33 v3.0.0 11:12:33 v3.1.0-dev.1 11:12:33 v3.1.0-dev.2 11:12:33 v3.1.0-dev.3 11:12:33 v3.1.0-dev.4 11:12:33 v3.1.0-dev.5 [Pipeline] sh 11:12:33 + lftools sign git-tag v3.1.0-dev.5 11:12:34 Signing Git tag with Sigul... 11:12:34 Signing v3.1.0-dev.5 [Pipeline] echo 11:12:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:12:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:12:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:12:35 $ docker stop --time=1 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 11:12:36 $ docker rm -f --volumes 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:12:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:12:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:37 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:12:37 $ docker top f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 -eo pid,comm 11:12:37 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). 11:12:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:12:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:12:37 [ssh-agent] Looking for ssh-agent implementation... 11:12:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:12:37 $ docker exec f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 ssh-agent 11:12:37 SSH_AUTH_SOCK=/tmp/ssh-9RQURCOJiMht/agent.31 11:12:37 SSH_AGENT_PID=37 11:12:37 Running ssh-add (command line suppressed) 11:12:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16514644614971126701.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16514644614971126701.key) 11:12:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:12:38 + git semver bump pre 11:12:38 2023-08-25 11:12:38,384 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:38 2023-08-25 11:12:38,384 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev 11:12:38 2023-08-25 11:12:38,384 [bump_version] DEBUG bumped version:3.1.0-dev.6 11:12:38 2023-08-25 11:12:38,384 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 11:12:38 2023-08-25 11:12:38,384 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:38 2023-08-25 11:12:38,384 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:38 2023-08-25 11:12:38,386 [execute] INFO git cat-file --batch-check 11:12:38 2023-08-25 11:12:38,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 11:12:38 2023-08-25 11:12:38,391 [execute] INFO git cat-file --batch 11:12:38 2023-08-25 11:12:38,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 11:12:38 2023-08-25 11:12:38,395 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:38 3.1.0-dev.6 [Pipeline] } 11:12:38 $ docker exec --env ******** --env ******** f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 ssh-agent -k 11:12:38 unset SSH_AUTH_SOCK; 11:12:38 unset SSH_AGENT_PID; 11:12:38 echo Agent pid 37 killed; 11:12:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:12:38 + git semver [Pipeline] } 11:12:39 $ docker stop --time=1 f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 11:12:40 $ docker rm -f --volumes f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:12:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:12:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:41 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:12:41 $ docker top bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:12:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:12:41 [ssh-agent] Looking for ssh-agent implementation... 11:12:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:12:41 $ docker exec bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 ssh-agent 11:12:41 SSH_AUTH_SOCK=/tmp/ssh-WsVu6TLZtruW/agent.31 11:12:41 SSH_AGENT_PID=37 11:12:41 Running ssh-add (command line suppressed) 11:12:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9924441845517172133.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9924441845517172133.key) 11:12:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:12:42 + git semver push 11:12:42 2023-08-25 11:12:42,373 [run_push] DEBUG push 11:12:42 2023-08-25 11:12:42,373 [execute] INFO git cat-file --batch-check 11:12:42 2023-08-25 11:12:42,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 11:12:42 2023-08-25 11:12:42,377 [execute] INFO git rev-list 8b6a267dcc2165334a49c4b092b9d0bf5e4be346 -- 11:12:42 2023-08-25 11:12:42,377 [execute] DEBUG Popen(['git', 'rev-list', '8b6a267dcc2165334a49c4b092b9d0bf5e4be346', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 11:12:42 2023-08-25 11:12:42,383 [execute] INFO git fetch -v origin 11:12:42 2023-08-25 11:12:42,384 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 11:12:43 2023-08-25 11:12:42,856 [run_push] DEBUG no remote changes detected 11:12:43 2023-08-25 11:12:42,856 [execute] INFO git push origin semver 11:12:43 2023-08-25 11:12:42,857 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 11:12:43 2023-08-25 11:12:43,590 [run_push] DEBUG push all version tags 11:12:43 2023-08-25 11:12:43,591 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:12:43 2023-08-25 11:12:43,591 [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) 11:12:44 2023-08-25 11:12:44,311 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 11:12:44 3.1.0-dev.6 [Pipeline] } 11:12:44 $ docker exec --env ******** --env ******** bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 ssh-agent -k 11:12:44 unset SSH_AUTH_SOCK; 11:12:44 unset SSH_AGENT_PID; 11:12:44 echo Agent pid 37 killed; 11:12:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:12:44 + git semver [Pipeline] } 11:12:45 $ docker stop --time=1 bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 11:12:46 $ docker rm -f --volumes bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 [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 11:12:47 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 11:12:47 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 11:12:47 total 16 11:12:47 drwxr-xr-x 3 root root 4096 Aug 25 10:59 . 11:12:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:12 .. 11:12:47 drwxr-xr-x 2 root root 4096 Aug 25 10:59 cost 11:12:47 -rw-r--r-- 1 root root 91 Aug 25 10:59 cost.csv 11:12:47 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 11:12:47 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 11:12:47 total 16 11:12:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:59 . 11:12:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:12 .. 11:12:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 10:59 cost 11:12:47 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 10:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:12:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:12:48 ---> package-listing.sh 11:12:48 ++ tr '[:upper:]' '[:lower:]' 11:12:48 ++ facter osfamily 11:12:48 + OS_FAMILY=debian 11:12:48 + workspace=/w/workspace/foundry_device-onvif-camera_main 11:12:48 + START_PACKAGES=/tmp/packages_start.txt 11:12:48 + END_PACKAGES=/tmp/packages_end.txt 11:12:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:12:48 + PACKAGES=/tmp/packages_start.txt 11:12:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 11:12:48 + PACKAGES=/tmp/packages_end.txt 11:12:48 + case "${OS_FAMILY}" in 11:12:48 + dpkg -l 11:12:48 + grep '^ii' 11:12:48 + '[' -f /tmp/packages_start.txt ']' 11:12:48 + '[' -f /tmp/packages_end.txt ']' 11:12:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:12:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 11:12:48 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 11:12:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 11:12:48 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 11:12:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:49 prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container 11:12:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:12:49 $ docker top eaa1b72da539984d7d4d5bd23870463a87bb87f014e4c3db8eec2c4ccca33e60 -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:49 + touch /tmp/pre-build-complete [Pipeline] sh 11:12:50 + mkdir -p /var/log/sysstat [Pipeline] sh 11:12:50 + ls /var/log/sa-host 11:12:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:50 provisioning config files... 11:12:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16083728995016585403tmp [Pipeline] { [Pipeline] echo 11:12:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:12:50 ---> create-netrc.sh [Pipeline] } 11:12:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:12:51 ---> python-tools-install.sh [Pipeline] echo 11:12:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:12:51 ---> sudo-logs.sh 11:12:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:12:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:12:51 ---> job-cost.sh 11:12:51 lf-activate-venv: SKIPPING 11:12:51 DEBUG: total: 0.2199999988079071 11:12:51 INFO: Retrieving Stack Cost... 11:12:51 INFO: Retrieving Pricing Info for: v3-standard-8 11:12:52 INFO: Archiving Costs [Pipeline] echo 11:12:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:12:52 ---> logs-deploy.sh 11:12:52 lf-activate-venv: SKIPPING 11:12:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/161 11:12:52 INFO: archiving workspace using pattern(s): 11:12:53 Archives upload complete. 11:12:53 INFO: archiving logs to Nexus