Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88753853dd15dc813abf6fe949f278b33fe89c26 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-ssh11724082772277593339.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5527522733536948530.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16178357607510227449.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2608618743459578209.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh10551690789696266518.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-centos7-blackbox-4c-2g-20272’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-20273’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-20626’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20628 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 88753853dd15dc813abf6fe949f278b33fe89c26 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 Commit message: "MAC Discover Authentication + Device Name Consistency + Discover Documentation (#113)" > git rev-list --no-walk a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:22:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:22:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:22:22 ========================================================= 00:22:22 EdgeX Global Pipelines Version Info 00:22:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:22:22 ------------------- 00:22:22 stable info: 00:22:22 ------------------- 00:22:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:22:22 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:22:22 Message: update stable to v1.0.238 00:22:23 ------------------- 00:22:23 experimental info: 00:22:23 ------------------- 00:22:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:22:23 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:22:23 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:22:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] echo 00:22:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8875385 [Pipeline] echo 00:22:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:24 provisioning config files... 00:22:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3332910461424713661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:24 ---> docker-login.sh 00:22:24 nexus3.edgexfoundry.org:10001 00:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:24 Configure a credential helper to remove this warning. See 00:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:24 00:22:24 Login Succeeded 00:22:24 nexus3.edgexfoundry.org:10002 00:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:24 Configure a credential helper to remove this warning. See 00:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:24 00:22:24 Login Succeeded 00:22:24 nexus3.edgexfoundry.org:10003 00:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:24 Configure a credential helper to remove this warning. See 00:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:24 00:22:24 Login Succeeded 00:22:24 nexus3.edgexfoundry.org:10004 00:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:25 Configure a credential helper to remove this warning. See 00:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:25 00:22:25 Login Succeeded 00:22:25 docker.io 00:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:25 Configure a credential helper to remove this warning. See 00:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:25 00:22:25 Login Succeeded 00:22:25 ---> docker-login.sh ends [Pipeline] } 00:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:22:26 + git rev-list -1 --merges 88753853dd15dc813abf6fe949f278b33fe89c26~1..88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] echo 00:22:26 -----------> git rev-list -1 --merges 88753853dd15dc813abf6fe949f278b33fe89c26~1..88753853dd15dc813abf6fe949f278b33fe89c26 88753853dd15dc813abf6fe949f278b33fe89c26 [false] [Pipeline] sh 00:22:26 + git log --format=format:%s -1 88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] echo 00:22:26 ========================================================= 00:22:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:22:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:26 + git log --format=format:%s -1 88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] echo 00:22:26 [semverPrep] GIT_COMMIT: 88753853dd15dc813abf6fe949f278b33fe89c26, Commit Message: MAC Discover Authentication + Device Name Consistency + Discover Documentation (#113) [Pipeline] echo 00:22:26 [semverPrep] This is not a build commit. [Pipeline] sh 00:22:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:22:27 + grep -v github /etc/ssh/ssh_known_hosts 00:22:27 + [ -e /tmp/ssh_known_hosts ] 00:22:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:22:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:22:27 + sudo tee -a /etc/ssh/ssh_known_hosts 00:22:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:27 00:22:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:27 0.1.4: Pulling from edgex-devops/py-git-semver 00:22:27 b85a868b505f: Pulling fs layer 00:22:27 e2be974225ed: Pulling fs layer 00:22:27 339a4e72a1f5: Pulling fs layer 00:22:27 988bab9f4d93: Pulling fs layer 00:22:27 1469e6f7b9e6: Pulling fs layer 00:22:27 eaf3925da568: Pulling fs layer 00:22:27 bab4dde63d76: Pulling fs layer 00:22:27 bde34c3a00c8: Pulling fs layer 00:22:27 1469e6f7b9e6: Waiting 00:22:27 eaf3925da568: Waiting 00:22:27 b352a97aabf1: Pulling fs layer 00:22:27 4872d77fe225: Pulling fs layer 00:22:27 5851b861e8e6: Pulling fs layer 00:22:27 bde34c3a00c8: Waiting 00:22:27 4872d77fe225: Waiting 00:22:27 5851b861e8e6: Waiting 00:22:27 988bab9f4d93: Waiting 00:22:27 b352a97aabf1: Waiting 00:22:27 e2be974225ed: Verifying Checksum 00:22:27 e2be974225ed: Download complete 00:22:27 988bab9f4d93: Verifying Checksum 00:22:27 988bab9f4d93: Download complete 00:22:28 1469e6f7b9e6: Verifying Checksum 00:22:28 1469e6f7b9e6: Download complete 00:22:28 eaf3925da568: Verifying Checksum 00:22:28 eaf3925da568: Download complete 00:22:28 339a4e72a1f5: Download complete 00:22:28 bde34c3a00c8: Verifying Checksum 00:22:28 bde34c3a00c8: Download complete 00:22:28 b352a97aabf1: Verifying Checksum 00:22:28 b352a97aabf1: Download complete 00:22:28 4872d77fe225: Download complete 00:22:28 5851b861e8e6: Verifying Checksum 00:22:28 5851b861e8e6: Download complete 00:22:28 b85a868b505f: Verifying Checksum 00:22:28 b85a868b505f: Download complete 00:22:28 bab4dde63d76: Verifying Checksum 00:22:28 bab4dde63d76: Download complete 00:22:29 b85a868b505f: Pull complete 00:22:29 e2be974225ed: Pull complete 00:22:30 339a4e72a1f5: Pull complete 00:22:30 988bab9f4d93: Pull complete 00:22:30 1469e6f7b9e6: Pull complete 00:22:30 eaf3925da568: Pull complete 00:22:32 bab4dde63d76: Pull complete 00:22:32 bde34c3a00c8: Pull complete 00:22:32 b352a97aabf1: Pull complete 00:22:32 4872d77fe225: Pull complete 00:22:33 5851b861e8e6: Pull complete 00:22:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:33 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:22:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:22:34 $ docker top 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 -eo pid,comm 00:22:34 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). 00:22:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:34 [ssh-agent] Looking for ssh-agent implementation... 00:22:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:35 $ docker exec 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 ssh-agent 00:22:35 SSH_AUTH_SOCK=/tmp/ssh-72FOQROC4Y9i/agent.32 00:22:35 SSH_AGENT_PID=39 00:22:35 Running ssh-add (command line suppressed) 00:22:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3489559799709653734.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3489559799709653734.key) 00:22:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:35 + git tag --points-at HEAD [Pipeline] } 00:22:35 $ docker exec --env ******** --env ******** 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 ssh-agent -k 00:22:35 unset SSH_AUTH_SOCK; 00:22:35 unset SSH_AGENT_PID; 00:22:35 echo Agent pid 39 killed; 00:22:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:22:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:35 [ssh-agent] Looking for ssh-agent implementation... 00:22:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:35 $ docker exec 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 ssh-agent 00:22:36 SSH_AUTH_SOCK=/tmp/ssh-2yjtxetwTQez/agent.71 00:22:36 SSH_AGENT_PID=77 00:22:36 Running ssh-add (command line suppressed) 00:22:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6511696339111822351.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6511696339111822351.key) 00:22:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:36 + git semver init 00:22:36 2022-07-21 00:22:36,724 [run_init] DEBUG init version:0.0.0 force:False 00:22:36 2022-07-21 00:22:36,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 00:22:36 2022-07-21 00:22:36,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 00:22:36 2022-07-21 00:22:36,725 [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) 00:22:37 2022-07-21 00:22:37,513 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 00:22:37 2022-07-21 00:22:37,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 00:22:37 2022-07-21 00:22:37,514 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:22:37 2022-07-21 00:22:37,514 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:22:37 0.0.1-dev.28 [Pipeline] } 00:22:37 $ docker exec --env ******** --env ******** 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 ssh-agent -k 00:22:37 unset SSH_AUTH_SOCK; 00:22:37 unset SSH_AGENT_PID; 00:22:37 echo Agent pid 77 killed; 00:22:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:22:38 + git semver [Pipeline] } 00:22:38 $ docker stop --time=1 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 00:22:39 $ docker rm -f 408e1eb94f65ce0211dc7e7d6edb018f0aa95f8b5b6a315e2e46416ab97c5e34 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:22:40 Stashed 1 file(s) [Pipeline] echo 00:22:40 [edgeXSemver]: initialized semver on version 0.0.1-dev.28 [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 00:22:40 provisioning config files... 00:22:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6001375244775762371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:40 ---> docker-login.sh 00:22:40 nexus3.edgexfoundry.org:10001 00:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:40 Configure a credential helper to remove this warning. See 00:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:40 00:22:40 Login Succeeded 00:22:40 nexus3.edgexfoundry.org:10002 00:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 nexus3.edgexfoundry.org:10003 00:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 nexus3.edgexfoundry.org:10004 00:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 docker.io 00:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 ---> docker-login.sh ends [Pipeline] } 00:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:22:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:41 ========================================================= 00:22:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:22:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:22:42 Sending build context to Docker daemon 19.93MB 00:22:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:22:42 Step 2/13 : FROM ${BASE} AS builder 00:22:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:22:42 2408cc74d12b: Pulling fs layer 00:22:42 ea60b727a1ce: Pulling fs layer 00:22:42 30c4a7721957: Pulling fs layer 00:22:42 370296b7ddb6: Pulling fs layer 00:22:42 7c6cee850709: Pulling fs layer 00:22:42 39a5fcdaea64: Pulling fs layer 00:22:42 d94ebbe4e438: Pulling fs layer 00:22:42 bcfd1f05c69d: Pulling fs layer 00:22:42 59ccb84bbe0f: Pulling fs layer 00:22:42 d94ebbe4e438: Waiting 00:22:42 370296b7ddb6: Waiting 00:22:42 59ccb84bbe0f: Waiting 00:22:42 7c6cee850709: Waiting 00:22:42 39a5fcdaea64: Waiting 00:22:42 30c4a7721957: Verifying Checksum 00:22:42 30c4a7721957: Download complete 00:22:42 ea60b727a1ce: Verifying Checksum 00:22:42 ea60b727a1ce: Download complete 00:22:42 7c6cee850709: Verifying Checksum 00:22:42 7c6cee850709: Download complete 00:22:42 39a5fcdaea64: Verifying Checksum 00:22:42 39a5fcdaea64: Download complete 00:22:42 2408cc74d12b: Verifying Checksum 00:22:42 2408cc74d12b: Download complete 00:22:42 d94ebbe4e438: Verifying Checksum 00:22:42 d94ebbe4e438: Download complete 00:22:42 2408cc74d12b: Pull complete 00:22:42 ea60b727a1ce: Pull complete 00:22:42 30c4a7721957: Pull complete 00:22:42 59ccb84bbe0f: Verifying Checksum 00:22:42 59ccb84bbe0f: Download complete 00:22:43 370296b7ddb6: Verifying Checksum 00:22:43 370296b7ddb6: Download complete 00:22:43 bcfd1f05c69d: Verifying Checksum 00:22:43 bcfd1f05c69d: Download complete 00:22:47 370296b7ddb6: Pull complete 00:22:47 7c6cee850709: Pull complete 00:22:47 39a5fcdaea64: Pull complete 00:22:47 d94ebbe4e438: Pull complete 00:22:50 bcfd1f05c69d: Pull complete 00:22:50 59ccb84bbe0f: Pull complete 00:22:50 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:22:50 ---> a4fb48ad2a94 00:22:50 Step 3/13 : ARG MAKE="make build" 00:22:52 ---> Running in 330274e3ba3c 00:22:52 Removing intermediate container 330274e3ba3c 00:22:52 ---> 73474460cbcd 00:22:52 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:22:52 ---> Running in 32d2629266c0 00:22:52 Removing intermediate container 32d2629266c0 00:22:52 ---> d63e2e2eb8fb 00:22:52 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:22:52 ---> Running in ea4f353efe0c 00:22:52 Removing intermediate container ea4f353efe0c 00:22:52 ---> c157f85c9a35 00:22:52 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:22:52 ---> Running in f5ec616a0a8d 00:22:52 Removing intermediate container f5ec616a0a8d 00:22:52 ---> d7a2df8cd1a4 00:22:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:22:52 ---> Running in ca548977008c 00:22:53 Removing intermediate container ca548977008c 00:22:53 ---> e2ae37005a30 00:22:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:22:53 ---> Running in a1762a201ae4 00:22:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:22:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:22:55 OK: 211 MiB in 51 packages 00:22:55 Removing intermediate container a1762a201ae4 00:22:55 ---> f0b6db3a31df 00:22:55 Step 9/13 : WORKDIR /device-onvif-camera 00:22:55 ---> Running in 7b977dcacf0f 00:22:55 Still waiting to schedule task 00:22:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20629’ is offline 00:22:55 Removing intermediate container 7b977dcacf0f 00:22:55 ---> 7b28178774d5 00:22:55 Step 10/13 : COPY go.mod vendor* ./ 00:22:55 ---> d6b30c2e5bba 00:22:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:55 ---> Running in 4404cffc8ec0 00:23:13 Removing intermediate container 4404cffc8ec0 00:23:13 ---> 653b30763536 00:23:13 Step 12/13 : COPY . . 00:23:13 ---> 5709772cce71 00:23:13 Step 13/13 : RUN ${MAKE} 00:23:13 ---> Running in 73a0a677cfba 00:23:13 noop 00:23:13 Removing intermediate container 73a0a677cfba 00:23:13 ---> 99de5e538927 00:23:13 Successfully built 99de5e538927 00:23:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:13 + docker inspect -f . ci-base-image-x86_64 00:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:14 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:23:14 $ docker top 1405c3e65d13f9dbc0b435505965d8bd4e474bdbb8b78d424a44a99f59d62b12 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:14 + go version 00:23:14 go version go1.18.3 linux/amd64 [Pipeline] } 00:23:14 $ docker stop --time=1 1405c3e65d13f9dbc0b435505965d8bd4e474bdbb8b78d424a44a99f59d62b12 00:23:16 $ docker rm -f 1405c3e65d13f9dbc0b435505965d8bd4e474bdbb8b78d424a44a99f59d62b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:16 + docker inspect -f . ci-base-image-x86_64 00:23:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:16 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:23:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:23:17 $ docker top 1dac2485eff4e3db490359073ab982056deb9d359ae4d87a283fb954f8bb5eeb -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:17 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 00:23:17 + make test 00:23:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:23:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:23:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:23:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 10.9% of statements 00:23:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:23:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.772s coverage: 13.8% of statements 00:23:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:23:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:23:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:23:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:23:41 $ docker stop --time=1 1dac2485eff4e3db490359073ab982056deb9d359ae4d87a283fb954f8bb5eeb 00:23:43 $ docker rm -f 1dac2485eff4e3db490359073ab982056deb9d359ae4d87a283fb954f8bb5eeb [Pipeline] // withDockerContainer [Pipeline] sh 00:23:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:23:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:23:44 + ls -al . 00:23:44 total 236 00:23:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 00:23 . 00:23:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:22 .. 00:23:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 00:23 .git 00:23:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 00:22 .github 00:23:44 -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 00:22 .gitignore 00:23:44 -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 00:22 .golangci.yml 00:23:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 00:22 .semver 00:23:44 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 00:22 Attribution.txt 00:23:44 -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 00:22 CHANGELOG.md 00:23:44 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 00:22 Dockerfile 00:23:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 00:22 GOVERNANCE.md 00:23:44 -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 00:22 Jenkinsfile 00:23:44 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 00:22 LICENSE 00:23:44 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 00:22 Makefile 00:23:44 -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 00:22 OWNERS.md 00:23:44 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 00:22 README.md 00:23:44 -rw-rw-r-- 1 jenkins jenkins 12 Jul 21 00:22 VERSION 00:23:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:22 bin 00:23:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 00:22 cmd 00:23:44 -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 00:23 coverage.out 00:23:44 drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 00:22 doc 00:23:44 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 00:22 go.mod 00:23:44 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 00:22 go.sum 00:23:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:22 internal 00:23:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:22 snap 00:23:44 -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:44 + 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=88753853dd15dc813abf6fe949f278b33fe89c26 --label arch=amd64 --label version=0.0.1-dev.28 . 00:23:44 Sending build context to Docker daemon 20.01MB 00:23:44 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:23:44 Step 2/26 : FROM ${BASE} AS builder 00:23:44 ---> 99de5e538927 00:23:44 Step 3/26 : ARG MAKE="make build" 00:23:45 ---> Running in ec587151ebe4 00:23:45 Removing intermediate container ec587151ebe4 00:23:45 ---> bb9e763d7b66 00:23:45 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:23:45 ---> Running in 26c5d3a69e06 00:23:45 Removing intermediate container 26c5d3a69e06 00:23:45 ---> 5eb2cfdbd732 00:23:45 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:23:45 ---> Running in 6effdc6bcdb3 00:23:45 Removing intermediate container 6effdc6bcdb3 00:23:45 ---> f66237a9e6aa 00:23:45 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:23:45 ---> Running in cddcb0903832 00:23:45 Removing intermediate container cddcb0903832 00:23:45 ---> 1f63de01735c 00:23:45 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:45 ---> Running in 87da616603fe 00:23:46 Removing intermediate container 87da616603fe 00:23:46 ---> 909e49526635 00:23:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:46 ---> Running in 1bc0e4058deb 00:23:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:23:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:23:47 OK: 211 MiB in 51 packages 00:23:48 Removing intermediate container 1bc0e4058deb 00:23:48 ---> acb2d351c396 00:23:48 Step 9/26 : WORKDIR /device-onvif-camera 00:23:48 ---> Running in ea2ccb3cef05 00:23:48 Removing intermediate container ea2ccb3cef05 00:23:48 ---> 981b82e59935 00:23:48 Step 10/26 : COPY go.mod vendor* ./ 00:23:48 ---> 021ff74ca2a9 00:23:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:48 ---> Running in 2e2fd545e01d 00:23:49 Removing intermediate container 2e2fd545e01d 00:23:49 ---> a5c2bce682dd 00:23:49 Step 12/26 : COPY . . 00:23:49 ---> 4c28e31b7007 00:23:49 Step 13/26 : RUN ${MAKE} 00:23:49 ---> Running in 7212fa3c3745 00:23:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:24:11 Removing intermediate container 7212fa3c3745 00:24:11 ---> a5d3727e8926 00:24:11 Step 14/26 : FROM alpine:3.15 00:24:11 3.15: Pulling from library/alpine 00:24:11 ab6db1bc80d0: Pulling fs layer 00:24:11 ab6db1bc80d0: Verifying Checksum 00:24:11 ab6db1bc80d0: Download complete 00:24:11 ab6db1bc80d0: Pull complete 00:24:11 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:24:11 Status: Downloaded newer image for alpine:3.15 00:24:11 ---> 2720e26172a0 00:24:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:24:11 ---> Running in dadac048b014 00:24:11 Removing intermediate container dadac048b014 00:24:11 ---> 6452b88ae2d9 00:24:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:24:11 ---> Running in 9af98d1dda5e 00:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:24:11 (1/6) Installing dumb-init (1.2.5-r1) 00:24:11 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:24:11 (3/6) Installing libsodium (1.0.18-r0) 00:24:11 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:24:11 (5/6) Installing libzmq (4.3.4-r0) 00:24:11 (6/6) Installing zeromq (4.3.4-r0) 00:24:11 Executing busybox-1.34.1-r7.trigger 00:24:11 OK: 8 MiB in 20 packages 00:24:11 Removing intermediate container 9af98d1dda5e 00:24:11 ---> 3c821d77e4be 00:24:11 Step 17/26 : WORKDIR / 00:24:11 ---> Running in cdfa8902bf70 00:24:11 Removing intermediate container cdfa8902bf70 00:24:11 ---> 9115b2a28290 00:24:11 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:24:11 ---> a00f89622b2d 00:24:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:24:11 ---> 2a03d96d462f 00:24:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:24:12 ---> 763c00f10e0d 00:24:12 Step 21/26 : EXPOSE 59984 00:24:12 ---> Running in 6a2bc1827e88 00:24:12 Removing intermediate container 6a2bc1827e88 00:24:12 ---> 5db729ffb70a 00:24:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:24:12 ---> Running in 8c6bc77e7050 00:24:12 Removing intermediate container 8c6bc77e7050 00:24:12 ---> 7c38ca80ac35 00:24:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:24:12 ---> Running in 58419daf98e6 00:24:12 Removing intermediate container 58419daf98e6 00:24:12 ---> bc81f944f92a 00:24:12 Step 24/26 : LABEL arch=amd64 00:24:12 ---> Running in d9e5de7e289c 00:24:12 Removing intermediate container d9e5de7e289c 00:24:12 ---> 0e18745a8435 00:24:12 Step 25/26 : LABEL git_sha=88753853dd15dc813abf6fe949f278b33fe89c26 00:24:12 ---> Running in 27956ce41b67 00:24:12 Removing intermediate container 27956ce41b67 00:24:12 ---> 65b401515b40 00:24:12 Step 26/26 : LABEL version=0.0.1-dev.28 00:24:12 ---> Running in cdb66f9a123b 00:24:12 Removing intermediate container cdb66f9a123b 00:24:12 ---> c7700ad49513 00:24:12 [Warning] One or more build-args [ARCH] were not consumed 00:24:12 Successfully built c7700ad49513 00:24:12 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 00:24:12 provisioning config files... 00:24:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7008747372211969703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:13 ---> docker-login.sh 00:24:13 nexus3.edgexfoundry.org:10001 00:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:13 Configure a credential helper to remove this warning. See 00:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:13 00:24:13 Login Succeeded 00:24:13 nexus3.edgexfoundry.org:10002 00:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:13 Configure a credential helper to remove this warning. See 00:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:13 00:24:13 Login Succeeded 00:24:13 nexus3.edgexfoundry.org:10003 00:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:13 Configure a credential helper to remove this warning. See 00:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:13 00:24:13 Login Succeeded 00:24:13 nexus3.edgexfoundry.org:10004 00:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:13 Configure a credential helper to remove this warning. See 00:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:13 00:24:13 Login Succeeded 00:24:13 docker.io 00:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:14 Configure a credential helper to remove this warning. See 00:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:14 00:24:14 Login Succeeded 00:24:14 ---> docker-login.sh ends [Pipeline] } 00:24:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:14 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 00:24:14 88753853dd15dc813abf6fe949f278b33fe89c26 00:24:14 latest 00:24:14 0.0.1-dev.28 00:24:14 88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:24:14 main 00:24:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26 00:24:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:24:14 a747cac74843: Preparing 00:24:14 acfd1e5e4391: Preparing 00:24:14 8d052e29aa0b: Preparing 00:24:14 a104ecb76c4c: Preparing 00:24:14 ad543cd673bd: Preparing 00:24:14 ad543cd673bd: Layer already exists 00:24:14 acfd1e5e4391: Pushed 00:24:14 a747cac74843: Pushed 00:24:14 a104ecb76c4c: Pushed 00:24:17 8d052e29aa0b: Pushed 00:24:17 88753853dd15dc813abf6fe949f278b33fe89c26: digest: sha256:9f529b8199d6c65c53151e5dd08f0cb5cd08a18796e4bb822383201281eb336a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:24:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:24:18 a747cac74843: Preparing 00:24:18 acfd1e5e4391: Preparing 00:24:18 8d052e29aa0b: Preparing 00:24:18 a104ecb76c4c: Preparing 00:24:18 ad543cd673bd: Preparing 00:24:18 8d052e29aa0b: Layer already exists 00:24:18 a104ecb76c4c: Layer already exists 00:24:18 acfd1e5e4391: Layer already exists 00:24:18 a747cac74843: Layer already exists 00:24:18 ad543cd673bd: Layer already exists 00:24:18 latest: digest: sha256:9f529b8199d6c65c53151e5dd08f0cb5cd08a18796e4bb822383201281eb336a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.28 00:24:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:24:18 a747cac74843: Preparing 00:24:18 acfd1e5e4391: Preparing 00:24:18 8d052e29aa0b: Preparing 00:24:18 a104ecb76c4c: Preparing 00:24:18 ad543cd673bd: Preparing 00:24:18 a104ecb76c4c: Layer already exists 00:24:18 acfd1e5e4391: Layer already exists 00:24:18 a747cac74843: Layer already exists 00:24:18 ad543cd673bd: Layer already exists 00:24:18 8d052e29aa0b: Layer already exists 00:24:18 0.0.1-dev.28: digest: sha256:9f529b8199d6c65c53151e5dd08f0cb5cd08a18796e4bb822383201281eb336a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:24:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:24:19 a747cac74843: Preparing 00:24:19 acfd1e5e4391: Preparing 00:24:19 8d052e29aa0b: Preparing 00:24:19 a104ecb76c4c: Preparing 00:24:19 ad543cd673bd: Preparing 00:24:19 ad543cd673bd: Layer already exists 00:24:19 acfd1e5e4391: Layer already exists 00:24:19 a104ecb76c4c: Layer already exists 00:24:19 a747cac74843: Layer already exists 00:24:19 8d052e29aa0b: Layer already exists 00:24:19 88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28: digest: sha256:9f529b8199d6c65c53151e5dd08f0cb5cd08a18796e4bb822383201281eb336a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:24:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:24:20 a747cac74843: Preparing 00:24:20 acfd1e5e4391: Preparing 00:24:20 8d052e29aa0b: Preparing 00:24:20 a104ecb76c4c: Preparing 00:24:20 ad543cd673bd: Preparing 00:24:20 ad543cd673bd: Layer already exists 00:24:20 acfd1e5e4391: Layer already exists 00:24:20 a104ecb76c4c: Layer already exists 00:24:20 a747cac74843: Layer already exists 00:24:20 8d052e29aa0b: Layer already exists 00:24:20 main: digest: sha256:9f529b8199d6c65c53151e5dd08f0cb5cd08a18796e4bb822383201281eb336a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:20 ===================================================== [Pipeline] echo 00:24:20 taggedImages: 00:24:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26 00:24:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:24:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.28 00:24:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:24:20 - 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 00:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:20 00:24:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:20 latest: Pulling from edgex-lftools-log-publisher 00:24:20 5eb5b503b376: Pulling fs layer 00:24:20 5c69ac0246d0: Pulling fs layer 00:24:20 ec43610c2a17: Pulling fs layer 00:24:20 3a2ae6a8a46f: Pulling fs layer 00:24:20 33b1e0a273af: Pulling fs layer 00:24:20 5d3b04190fa2: Pulling fs layer 00:24:20 2f39f015ded8: Pulling fs layer 00:24:20 33b1e0a273af: Waiting 00:24:20 5d3b04190fa2: Waiting 00:24:20 3a2ae6a8a46f: Waiting 00:24:20 2f39f015ded8: Waiting 00:24:20 5c69ac0246d0: Verifying Checksum 00:24:20 5c69ac0246d0: Download complete 00:24:20 3a2ae6a8a46f: Verifying Checksum 00:24:20 3a2ae6a8a46f: Download complete 00:24:21 33b1e0a273af: Verifying Checksum 00:24:21 33b1e0a273af: Download complete 00:24:21 ec43610c2a17: Verifying Checksum 00:24:21 ec43610c2a17: Download complete 00:24:21 5d3b04190fa2: Verifying Checksum 00:24:21 5d3b04190fa2: Download complete 00:24:21 5eb5b503b376: Verifying Checksum 00:24:21 5eb5b503b376: Download complete 00:24:21 2f39f015ded8: Download complete 00:24:22 5eb5b503b376: Pull complete 00:24:22 5c69ac0246d0: Pull complete 00:24:22 ec43610c2a17: Pull complete 00:24:23 3a2ae6a8a46f: Pull complete 00:24:23 33b1e0a273af: Pull complete 00:24:23 5d3b04190fa2: Pull complete 00:24:27 2f39f015ded8: Pull complete 00:24:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:27 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:24:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:24:29 $ docker top a791101917e7d9bed165f693f9184681e3900ec3c6ea22a73ad2eb8497362a71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:29 ---> job-cost.sh 00:24:29 lf-activate-venv: SKIPPING 00:24:29 INFO: No Stack... 00:24:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:30 INFO: Archiving Costs [Pipeline] sh 00:24:31 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:24:31 + cut -d, -f6 [Pipeline] lock 00:24:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] 00:24:31 Resource [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] did not exist. Created. 00:24:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:31 + echo total: 0.2199999988079071 [Pipeline] stash 00:24:31 Stashed 1 file(s) [Pipeline] } 00:24:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:31 $ docker stop --time=1 a791101917e7d9bed165f693f9184681e3900ec3c6ea22a73ad2eb8497362a71 00:24:32 $ docker rm -f a791101917e7d9bed165f693f9184681e3900ec3c6ea22a73ad2eb8497362a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20631 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 00:25:14 Running in /w/workspace/device-onvif-camera/31 [Pipeline] { [Pipeline] checkout 00:25:14 Selected Git installation does not exist. Using Default 00:25:14 The recommended git tool is: NONE 00:25:22 using credential edgex-jenkins-ssh 00:25:22 Cloning the remote Git repository 00:25:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:25:22 > git init /w/workspace/device-onvif-camera/31 # timeout=10 00:25:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:25:22 > git --version # timeout=10 00:25:22 > git --version # 'git version 2.25.1' 00:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:24 Avoid second fetch 00:25:24 Checking out Revision 88753853dd15dc813abf6fe949f278b33fe89c26 (main) 00:25:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:25:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:24 > git config core.sparsecheckout # timeout=10 00:25:24 > git checkout -f 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 00:25:28 Commit message: "MAC Discover Authentication + Device Name Consistency + Discover Documentation (#113)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:25:29 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:29 Dload Upload Total Spent Left Speed 00:25:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 00:25:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:25:30 + sudo tee /etc/docker/daemon.new 00:25:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:25:30 { 00:25:30 "registry-mirrors": [ 00:25:30 "https://nexus3.edgexfoundry.org:10001" 00:25:30 ], 00:25:30 "bip": "10.250.0.254/24", 00:25:30 "hosts": [ 00:25:30 "tcp://0.0.0.0:5555", 00:25:30 "unix:///var/run/docker.sock" 00:25:30 ], 00:25:30 "mtu": 1458, 00:25:30 "selinux-enabled": true, 00:25:30 "seccomp-profile": "/etc/docker/seccomp.json" 00:25:30 } [Pipeline] sh 00:25:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:25:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:50 provisioning config files... 00:25:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/31@tmp/config27082082400991608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:50 ---> docker-login.sh 00:25:50 nexus3.edgexfoundry.org:10001 00:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:51 Configure a credential helper to remove this warning. See 00:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:51 00:25:51 Login Succeeded 00:25:51 nexus3.edgexfoundry.org:10002 00:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:52 Configure a credential helper to remove this warning. See 00:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:52 00:25:52 Login Succeeded 00:25:52 nexus3.edgexfoundry.org:10003 00:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:52 Configure a credential helper to remove this warning. See 00:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:52 00:25:52 Login Succeeded 00:25:52 nexus3.edgexfoundry.org:10004 00:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:53 Configure a credential helper to remove this warning. See 00:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:53 00:25:53 Login Succeeded 00:25:53 docker.io 00:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:53 Configure a credential helper to remove this warning. See 00:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:53 00:25:53 Login Succeeded 00:25:53 ---> docker-login.sh ends [Pipeline] } 00:25:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:25:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:54 ========================================================= 00:25:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:25:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:25:55 Sending build context to Docker daemon 13.59MB 00:25:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:25:55 Step 2/13 : FROM ${BASE} AS builder 00:25:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:25:55 b3c136eddcbf: Pulling fs layer 00:25:55 c0a3192eca97: Pulling fs layer 00:25:55 a050256f5b6f: Pulling fs layer 00:25:55 656be50a0ddc: Pulling fs layer 00:25:55 2bbca73fdf42: Pulling fs layer 00:25:55 46d945488cbd: Pulling fs layer 00:25:55 8a5474983e97: Pulling fs layer 00:25:55 329c88fbcd65: Pulling fs layer 00:25:55 656be50a0ddc: Waiting 00:25:55 2bbca73fdf42: Waiting 00:25:55 46d945488cbd: Waiting 00:25:55 329c88fbcd65: Waiting 00:25:55 8a5474983e97: Waiting 00:25:55 a050256f5b6f: Verifying Checksum 00:25:55 a050256f5b6f: Download complete 00:25:55 c0a3192eca97: Verifying Checksum 00:25:55 c0a3192eca97: Download complete 00:25:55 2bbca73fdf42: Verifying Checksum 00:25:55 2bbca73fdf42: Download complete 00:25:55 b3c136eddcbf: Verifying Checksum 00:25:55 b3c136eddcbf: Download complete 00:25:55 46d945488cbd: Verifying Checksum 00:25:55 46d945488cbd: Download complete 00:25:56 b3c136eddcbf: Pull complete 00:25:56 329c88fbcd65: Verifying Checksum 00:25:56 329c88fbcd65: Download complete 00:25:57 c0a3192eca97: Pull complete 00:25:58 a050256f5b6f: Pull complete 00:25:58 8a5474983e97: Download complete 00:25:59 656be50a0ddc: Verifying Checksum 00:25:59 656be50a0ddc: Download complete 00:26:14 656be50a0ddc: Pull complete 00:26:14 2bbca73fdf42: Pull complete 00:26:14 46d945488cbd: Pull complete 00:26:19 8a5474983e97: Pull complete 00:26:21 329c88fbcd65: Pull complete 00:26:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:26:21 ---> ff4287adb874 00:26:21 Step 3/13 : ARG MAKE="make build" 00:26:23 ---> Running in c46390582aef 00:26:23 Removing intermediate container c46390582aef 00:26:23 ---> b4de46585ab1 00:26:23 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:26:24 ---> Running in dd8dd376a3e2 00:26:24 Removing intermediate container dd8dd376a3e2 00:26:24 ---> 06639a2c9bed 00:26:24 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:26:24 ---> Running in 6b8bd2a58d96 00:26:25 Removing intermediate container 6b8bd2a58d96 00:26:25 ---> 7e66596ff41b 00:26:25 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:26:25 ---> Running in bee953cfba5c 00:26:26 Removing intermediate container bee953cfba5c 00:26:26 ---> fb6bf85bc559 00:26:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:26:26 ---> Running in 892f9c68a3d9 00:26:28 Removing intermediate container 892f9c68a3d9 00:26:28 ---> b1d098376568 00:26:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:26:28 ---> Running in c420b458b8f1 00:26:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:26:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:26:31 OK: 221 MiB in 51 packages 00:26:32 Removing intermediate container c420b458b8f1 00:26:32 ---> beab0a454f1b 00:26:32 Step 9/13 : WORKDIR /device-onvif-camera 00:26:32 ---> Running in f4b7c1d343a2 00:26:32 Removing intermediate container f4b7c1d343a2 00:26:32 ---> ffcc558ea69f 00:26:32 Step 10/13 : COPY go.mod vendor* ./ 00:26:33 ---> 5430b08de543 00:26:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:33 ---> Running in 4b2711563cdb 00:27:30 Removing intermediate container 4b2711563cdb 00:27:30 ---> 701ffdba0cd8 00:27:30 Step 12/13 : COPY . . 00:27:30 ---> 3173b5dfcaf5 00:27:30 Step 13/13 : RUN ${MAKE} 00:27:30 ---> Running in 2d0144862d9e 00:27:30 noop 00:27:30 Removing intermediate container 2d0144862d9e 00:27:30 ---> 7c06b21a8932 00:27:30 Successfully built 7c06b21a8932 00:27:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:30 + docker inspect -f . ci-base-image-arm64 00:27:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:30 prd-ubuntu20.04-docker-arm64-4c-16g-20631 does not seem to be running inside a container 00:27:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 00:27:32 $ docker top 590d864b79b10d237e18a4ef0f191d5e0bb7933dd3e72f964944d2c5ef68f568 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:33 + go version 00:27:33 go version go1.18.3 linux/arm64 [Pipeline] } 00:27:33 $ docker stop --time=1 590d864b79b10d237e18a4ef0f191d5e0bb7933dd3e72f964944d2c5ef68f568 00:27:34 $ docker rm -f 590d864b79b10d237e18a4ef0f191d5e0bb7933dd3e72f964944d2c5ef68f568 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:35 + docker inspect -f . ci-base-image-arm64 00:27:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:35 prd-ubuntu20.04-docker-arm64-4c-16g-20631 does not seem to be running inside a container 00:27:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 00:27:37 $ docker top c20042e324069256ff38c96dfe5c387a816050c11f1330494c43743173a53eec -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/31 [Pipeline] fileExists [Pipeline] sh 00:27:38 + make test 00:27:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:27:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:29:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:29:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 10.9% of statements 00:29:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:29:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.544s coverage: 13.8% of statements 00:29:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:29:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:29:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:29:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:29:53 ./bin/test-attribution-txt.sh [Pipeline] echo 00:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:29:54 $ docker stop --time=1 c20042e324069256ff38c96dfe5c387a816050c11f1330494c43743173a53eec 00:29:56 $ docker rm -f c20042e324069256ff38c96dfe5c387a816050c11f1330494c43743173a53eec [Pipeline] // withDockerContainer [Pipeline] sh 00:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:29:57 Warning: overwriting stash ‘coverage-report’ 00:29:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:29:58 + ls -al . 00:29:58 total 232 00:29:58 drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 00:29 . 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:25 .. 00:29:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 00:25 .git 00:29:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 00:25 .github 00:29:58 -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 00:25 .gitignore 00:29:58 -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 00:25 .golangci.yml 00:29:58 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 00:25 Attribution.txt 00:29:58 -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 00:25 CHANGELOG.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 00:25 Dockerfile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 00:25 GOVERNANCE.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 00:25 Jenkinsfile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 00:25 LICENSE 00:29:58 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 00:25 Makefile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 00:25 OWNERS.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 00:25 README.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 12 Jul 21 00:22 VERSION 00:29:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:25 bin 00:29:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 00:25 cmd 00:29:58 -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 00:29 coverage.out 00:29:58 drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 00:25 doc 00:29:58 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 00:25 go.mod 00:29:58 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 00:25 go.sum 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:25 internal 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:25 snap 00:29:58 -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:58 + 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=88753853dd15dc813abf6fe949f278b33fe89c26 --label arch=arm64 --label version=0.0.1-dev.28 . 00:29:59 Sending build context to Docker daemon 13.67MB 00:29:59 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:29:59 Step 2/26 : FROM ${BASE} AS builder 00:29:59 ---> 7c06b21a8932 00:29:59 Step 3/26 : ARG MAKE="make build" 00:29:59 ---> Running in fecef96b8caf 00:29:59 Removing intermediate container fecef96b8caf 00:29:59 ---> 414b35d0e847 00:29:59 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:30:00 ---> Running in c62c1491c3ac 00:30:00 Removing intermediate container c62c1491c3ac 00:30:00 ---> 40244da1c53c 00:30:00 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:30:00 ---> Running in 2c99b74c3783 00:30:00 Removing intermediate container 2c99b74c3783 00:30:00 ---> e80fd36355ce 00:30:00 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:30:00 ---> Running in 27899fa6eb1c 00:30:01 Removing intermediate container 27899fa6eb1c 00:30:01 ---> 4871cf2c7f55 00:30:01 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:30:01 ---> Running in 6bb0d3573719 00:30:03 Removing intermediate container 6bb0d3573719 00:30:03 ---> 396505d24952 00:30:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:30:03 ---> Running in da08d68dbec3 00:30:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:30:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:30:05 OK: 221 MiB in 51 packages 00:30:06 Removing intermediate container da08d68dbec3 00:30:06 ---> 3426b8f03205 00:30:06 Step 9/26 : WORKDIR /device-onvif-camera 00:30:06 ---> Running in 35fe389a45a7 00:30:07 Removing intermediate container 35fe389a45a7 00:30:07 ---> 9ca04d5cbad8 00:30:07 Step 10/26 : COPY go.mod vendor* ./ 00:30:07 ---> e86bab149fd1 00:30:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:07 ---> Running in 4aef1abd02bf 00:30:09 Removing intermediate container 4aef1abd02bf 00:30:09 ---> 429569b13bf1 00:30:09 Step 12/26 : COPY . . 00:30:11 ---> b736f7ca3905 00:30:11 Step 13/26 : RUN ${MAKE} 00:30:11 ---> Running in 719c9e37e30e 00:30:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:32:18 Removing intermediate container 719c9e37e30e 00:32:18 ---> 79b1e47751e7 00:32:18 Step 14/26 : FROM alpine:3.15 00:32:19 3.15: Pulling from library/alpine 00:32:19 e0295fd11fe2: Pulling fs layer 00:32:19 e0295fd11fe2: Verifying Checksum 00:32:19 e0295fd11fe2: Download complete 00:32:20 e0295fd11fe2: Pull complete 00:32:20 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:32:20 Status: Downloaded newer image for alpine:3.15 00:32:20 ---> 60f2846fe774 00:32:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:32:20 ---> Running in a5e82441ba2b 00:32:20 Removing intermediate container a5e82441ba2b 00:32:20 ---> 1107fe439cd8 00:32:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:32:20 ---> Running in 926b2eb9378a 00:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:32:23 (1/6) Installing dumb-init (1.2.5-r1) 00:32:23 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:32:23 (3/6) Installing libsodium (1.0.18-r0) 00:32:23 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:32:23 (5/6) Installing libzmq (4.3.4-r0) 00:32:23 (6/6) Installing zeromq (4.3.4-r0) 00:32:23 Executing busybox-1.34.1-r7.trigger 00:32:23 OK: 8 MiB in 20 packages 00:32:24 Removing intermediate container 926b2eb9378a 00:32:24 ---> 325d419dc1c9 00:32:24 Step 17/26 : WORKDIR / 00:32:24 ---> Running in 28788ea3927f 00:32:24 Removing intermediate container 28788ea3927f 00:32:24 ---> 849ecade3d87 00:32:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:32:25 ---> 83c50eb9e8db 00:32:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:32:26 ---> f308cc17b525 00:32:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:32:26 ---> e7f7fc3dac5f 00:32:26 Step 21/26 : EXPOSE 59984 00:32:26 ---> Running in 6aa54b4dd0c5 00:32:27 Removing intermediate container 6aa54b4dd0c5 00:32:27 ---> ca96e72e3865 00:32:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:32:27 ---> Running in 6cb1fd395ebe 00:32:27 Removing intermediate container 6cb1fd395ebe 00:32:27 ---> e1a6d89e51cb 00:32:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:32:27 ---> Running in 6ce9bdb421bb 00:32:28 Removing intermediate container 6ce9bdb421bb 00:32:28 ---> 5f5789ab7ba5 00:32:28 Step 24/26 : LABEL arch=arm64 00:32:28 ---> Running in e266cd27fd14 00:32:28 Removing intermediate container e266cd27fd14 00:32:28 ---> b29b17ef8336 00:32:28 Step 25/26 : LABEL git_sha=88753853dd15dc813abf6fe949f278b33fe89c26 00:32:28 ---> Running in a00386381f67 00:32:28 Removing intermediate container a00386381f67 00:32:28 ---> b941b499f964 00:32:28 Step 26/26 : LABEL version=0.0.1-dev.28 00:32:28 ---> Running in 35bf114b9da4 00:32:29 Removing intermediate container 35bf114b9da4 00:32:29 ---> bed3df1da631 00:32:29 [Warning] One or more build-args [ARCH] were not consumed 00:32:29 Successfully built bed3df1da631 00:32:29 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 00:32:29 provisioning config files... 00:32:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/31@tmp/config3964976224242077948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:29 ---> docker-login.sh 00:32:29 nexus3.edgexfoundry.org:10001 00:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:29 Configure a credential helper to remove this warning. See 00:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:29 00:32:29 Login Succeeded 00:32:29 nexus3.edgexfoundry.org:10002 00:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:30 Configure a credential helper to remove this warning. See 00:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:30 00:32:30 Login Succeeded 00:32:30 nexus3.edgexfoundry.org:10003 00:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:31 Configure a credential helper to remove this warning. See 00:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:31 00:32:31 Login Succeeded 00:32:31 nexus3.edgexfoundry.org:10004 00:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:31 Configure a credential helper to remove this warning. See 00:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:31 00:32:31 Login Succeeded 00:32:31 docker.io 00:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:32 Configure a credential helper to remove this warning. See 00:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:32 00:32:32 Login Succeeded 00:32:32 ---> docker-login.sh ends [Pipeline] } 00:32:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:32 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:32:32 88753853dd15dc813abf6fe949f278b33fe89c26 00:32:32 latest 00:32:32 0.0.1-dev.28 00:32:32 88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:32:32 main 00:32:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26 00:32:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:32:32 03eb988197f4: Preparing 00:32:32 69edc5375e7d: Preparing 00:32:32 787466259a53: Preparing 00:32:32 a4ff339b4303: Preparing 00:32:32 eb54b7b7991f: Preparing 00:32:33 eb54b7b7991f: Layer already exists 00:32:33 69edc5375e7d: Pushed 00:32:33 03eb988197f4: Pushed 00:32:33 a4ff339b4303: Pushed 00:32:39 787466259a53: Pushed 00:32:39 88753853dd15dc813abf6fe949f278b33fe89c26: digest: sha256:73c015060abf374d40343eea58974d2516170fb15ab75ed84b5e23bd699d37de size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:39 + 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 00:32:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:32:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:32:39 03eb988197f4: Preparing 00:32:39 69edc5375e7d: Preparing 00:32:39 787466259a53: Preparing 00:32:39 a4ff339b4303: Preparing 00:32:39 eb54b7b7991f: Preparing 00:32:39 69edc5375e7d: Layer already exists 00:32:39 787466259a53: Layer already exists 00:32:39 03eb988197f4: Layer already exists 00:32:39 eb54b7b7991f: Layer already exists 00:32:39 a4ff339b4303: Layer already exists 00:32:40 latest: digest: sha256:73c015060abf374d40343eea58974d2516170fb15ab75ed84b5e23bd699d37de size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.28 00:32:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:32:40 03eb988197f4: Preparing 00:32:40 69edc5375e7d: Preparing 00:32:40 787466259a53: Preparing 00:32:40 a4ff339b4303: Preparing 00:32:40 eb54b7b7991f: Preparing 00:32:40 eb54b7b7991f: Layer already exists 00:32:40 69edc5375e7d: Layer already exists 00:32:40 787466259a53: Layer already exists 00:32:40 a4ff339b4303: Layer already exists 00:32:40 03eb988197f4: Layer already exists 00:32:41 0.0.1-dev.28: digest: sha256:73c015060abf374d40343eea58974d2516170fb15ab75ed84b5e23bd699d37de size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:32:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:32:41 03eb988197f4: Preparing 00:32:41 69edc5375e7d: Preparing 00:32:41 787466259a53: Preparing 00:32:41 a4ff339b4303: Preparing 00:32:41 eb54b7b7991f: Preparing 00:32:41 787466259a53: Layer already exists 00:32:41 eb54b7b7991f: Layer already exists 00:32:41 a4ff339b4303: Layer already exists 00:32:41 69edc5375e7d: Layer already exists 00:32:41 03eb988197f4: Layer already exists 00:32:42 88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28: digest: sha256:73c015060abf374d40343eea58974d2516170fb15ab75ed84b5e23bd699d37de size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:42 + 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 00:32:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:32:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:32:42 03eb988197f4: Preparing 00:32:42 69edc5375e7d: Preparing 00:32:42 787466259a53: Preparing 00:32:42 a4ff339b4303: Preparing 00:32:42 eb54b7b7991f: Preparing 00:32:42 eb54b7b7991f: Layer already exists 00:32:42 69edc5375e7d: Layer already exists 00:32:42 787466259a53: Layer already exists 00:32:42 03eb988197f4: Layer already exists 00:32:42 a4ff339b4303: Layer already exists 00:32:43 main: digest: sha256:73c015060abf374d40343eea58974d2516170fb15ab75ed84b5e23bd699d37de size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:32:43 ===================================================== [Pipeline] echo 00:32:43 taggedImages: 00:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26 00:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.28 00:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:88753853dd15dc813abf6fe949f278b33fe89c26-0.0.1-dev.28 00:32:43 - 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 00:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:43 00:32:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:44 arm64: Pulling from edgex-lftools-log-publisher 00:32:44 8998bd30e6a1: Pulling fs layer 00:32:44 04944245beec: Pulling fs layer 00:32:44 699f458cf7ca: Pulling fs layer 00:32:44 765212b225bb: Pulling fs layer 00:32:44 f23df028b6ca: Pulling fs layer 00:32:44 d65c8cfc05b1: Pulling fs layer 00:32:44 2437ff75d9bd: Pulling fs layer 00:32:44 f23df028b6ca: Waiting 00:32:44 d65c8cfc05b1: Waiting 00:32:44 2437ff75d9bd: Waiting 00:32:44 765212b225bb: Waiting 00:32:44 04944245beec: Verifying Checksum 00:32:44 04944245beec: Download complete 00:32:44 765212b225bb: Verifying Checksum 00:32:44 765212b225bb: Download complete 00:32:44 f23df028b6ca: Verifying Checksum 00:32:44 f23df028b6ca: Download complete 00:32:44 d65c8cfc05b1: Verifying Checksum 00:32:44 d65c8cfc05b1: Download complete 00:32:44 699f458cf7ca: Verifying Checksum 00:32:44 699f458cf7ca: Download complete 00:32:44 8998bd30e6a1: Verifying Checksum 00:32:44 8998bd30e6a1: Download complete 00:32:46 2437ff75d9bd: Verifying Checksum 00:32:46 2437ff75d9bd: Download complete 00:32:48 8998bd30e6a1: Pull complete 00:32:49 04944245beec: Pull complete 00:32:50 699f458cf7ca: Pull complete 00:32:51 765212b225bb: Pull complete 00:32:51 f23df028b6ca: Pull complete 00:32:52 d65c8cfc05b1: Pull complete 00:33:07 2437ff75d9bd: Pull complete 00:33:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:33:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:33:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:07 prd-ubuntu20.04-docker-arm64-4c-16g-20631 does not seem to be running inside a container 00:33:07 $ 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/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 00:33:10 $ docker top 28f08222c6960d538df733988f2331eb0246b24ed3add4e00910371c6b832fc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:11 ---> job-cost.sh 00:33:11 lf-activate-venv: SKIPPING 00:33:11 INFO: No Stack... 00:33:11 INFO: Retrieving Pricing Info for: v3-standard-4 00:33:12 INFO: Archiving Costs [Pipeline] sh 00:33:13 + cat /w/workspace/device-onvif-camera/31/archives/cost.csv 00:33:13 + cut -d, -f6 [Pipeline] lock 00:33:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] 00:33:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] did not exist. Created. 00:33:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:33:13 /w/workspace/device-onvif-camera/31@tmp/durable-1079f981/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:33:14 + echo total: 0.10999999940395355 [Pipeline] stash 00:33:14 Warning: overwriting stash ‘stack-cost’ 00:33:14 Stashed 1 file(s) [Pipeline] } 00:33:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 00:33:14 $ docker stop --time=1 28f08222c6960d538df733988f2331eb0246b24ed3add4e00910371c6b832fc0 00:33:16 $ docker rm -f 28f08222c6960d538df733988f2331eb0246b24ed3add4e00910371c6b832fc0 [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 00:33:16 provisioning config files... 00:33:16 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1677492264149980296tmp [Pipeline] { [Pipeline] sh 00:33:17 + set +x 00:33:17 + bash -s -- 00:33:17 + curl -s https://codecov.io/bash 00:33:17 00:33:17 _____ _ 00:33:17 / ____| | | 00:33:17 | | ___ __| | ___ ___ _____ __ 00:33:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:33:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:33:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:33:17 Bash-1.0.6 00:33:17 00:33:17 00:33:17 ==> git version 2.25.1 found 00:33:17 ==> 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 00:33:17 Release-Date: 2020-01-08 00:33:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:33:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:33:17 ==> Jenkins CI detected. 00:33:17 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:33:17 project root: . 00:33:17 --> token set from env 00:33:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:33:17 ==> Running gcov in . (disable via -X gcov) 00:33:17 ==> Python coveragepy not found 00:33:17 ==> Searching for coverage reports in: 00:33:17 + . 00:33:17 -> Found 1 reports 00:33:17 ==> Detecting git/mercurial file structure 00:33:17 ==> Reading reports 00:33:17 + ./coverage.out bytes=78637 00:33:17 ==> Appending adjustments 00:33:17 https://docs.codecov.io/docs/fixing-reports 00:33:17 + Found adjustments 00:33:17 ==> Gzipping contents 00:33:17 12K /tmp/codecov.aQx3lj.gz 00:33:17 ==> Uploading reports 00:33:17 url: https://codecov.io 00:33:17 query: branch=main&commit=88753853dd15dc813abf6fe949f278b33fe89c26&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:33:17 -> Pinging Codecov 00:33:17 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=88753853dd15dc813abf6fe949f278b33fe89c26&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:33:17 -> Uploading to 00:33:17 https://storage.googleapis.com/codecov/v4/raw/2022-07-21/F29A59C45E3A92E06B3E522C9905F8EF/88753853dd15dc813abf6fe949f278b33fe89c26/a6c25089-bc76-4af9-9c29-12645c5f8009.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T003317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eaac7961aa932ff3f8faf5bf57b437d11bcafbdf612051079c90a6431fd9987f 00:33:17 % Total % Received % Xferd Average Speed Time Time Time Current 00:33:17 Dload Upload Total Spent Left Speed 00:33:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10536 0 0 100 10536 0 42655 --:--:-- --:--:-- --:--:-- 42655 00:33:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] } 00:33:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:33:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:33:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:33:18 00:33:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:33:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:33:18 df9b9388f04a: Pulling fs layer 00:33:18 52dc419b0ee2: Pulling fs layer 00:33:18 25bc292e5bac: Pulling fs layer 00:33:18 114826534d7a: Pulling fs layer 00:33:18 4657fd5d0bcf: Pulling fs layer 00:33:18 6ad1cebc031e: Pulling fs layer 00:33:18 8a3aa393b2d8: Pulling fs layer 00:33:18 4657fd5d0bcf: Waiting 00:33:18 6ad1cebc031e: Waiting 00:33:18 8a3aa393b2d8: Waiting 00:33:18 114826534d7a: Waiting 00:33:18 25bc292e5bac: Verifying Checksum 00:33:18 25bc292e5bac: Download complete 00:33:18 52dc419b0ee2: Verifying Checksum 00:33:18 52dc419b0ee2: Download complete 00:33:18 4657fd5d0bcf: Verifying Checksum 00:33:18 4657fd5d0bcf: Download complete 00:33:18 df9b9388f04a: Verifying Checksum 00:33:18 df9b9388f04a: Download complete 00:33:19 df9b9388f04a: Pull complete 00:33:19 6ad1cebc031e: Verifying Checksum 00:33:19 6ad1cebc031e: Download complete 00:33:19 52dc419b0ee2: Pull complete 00:33:19 25bc292e5bac: Pull complete 00:33:19 114826534d7a: Verifying Checksum 00:33:19 114826534d7a: Download complete 00:33:19 8a3aa393b2d8: Verifying Checksum 00:33:19 8a3aa393b2d8: Download complete 00:33:24 114826534d7a: Pull complete 00:33:24 4657fd5d0bcf: Pull complete 00:33:24 6ad1cebc031e: Pull complete 00:33:26 8a3aa393b2d8: Pull complete 00:33:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:33:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:33:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:26 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:33:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:33:28 $ docker top fc93191bf06622c1ef85b2a94df89844628cb329e4660c0d2d2c48444319d424 -eo pid,comm [Pipeline] { [Pipeline] echo 00:33:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:33:29 + set -o pipefail 00:33:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:33:34 00:33:34 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:33:34 00:33:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/e6bba8cd-8704-4f27-a055-5333710c39c5 00:33:34 00:33:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:33:34 00:33:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:33:34 00:33:34 [Pipeline] } 00:33:34 $ docker stop --time=1 fc93191bf06622c1ef85b2a94df89844628cb329e4660c0d2d2c48444319d424 00:33:36 $ docker rm -f fc93191bf06622c1ef85b2a94df89844628cb329e4660c0d2d2c48444319d424 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:33:37 + git log --format=format:%s -1 88753853dd15dc813abf6fe949f278b33fe89c26 [Pipeline] sh 00:33:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:33:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:37 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:33: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:33:38 $ docker top d54fa02313de6395dfbda86d894ad67bf6dc2575dce04faec35f45430ebf14cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:33:38 [ssh-agent] Looking for ssh-agent implementation... 00:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:38 $ docker exec d54fa02313de6395dfbda86d894ad67bf6dc2575dce04faec35f45430ebf14cd ssh-agent 00:33:38 SSH_AUTH_SOCK=/tmp/ssh-XSiE2wDZ1I3Q/agent.33 00:33:38 SSH_AGENT_PID=41 00:33:38 Running ssh-add (command line suppressed) 00:33:38 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5357935203082058524.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5357935203082058524.key) 00:33:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:33:39 + git semver tag 00:33:39 2022-07-21 00:33:39,430 [run_tag] DEBUG tag force:False 00:33:39 2022-07-21 00:33:39,430 [check_head_tag] DEBUG check head tag 00:33:39 2022-07-21 00:33:39,431 [execute] INFO git cat-file --batch-check 00:33:39 2022-07-21 00:33:39,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:33:39 2022-07-21 00:33:39,435 [execute] INFO git cat-file --batch 00:33:39 2022-07-21 00:33:39,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:33:39 2022-07-21 00:33:39,444 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:33:39 2022-07-21 00:33:39,444 [execute] INFO git tag -a v0.0.1-dev.28 -m v0.0.1-dev.28 00:33:39 2022-07-21 00:33:39,444 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.28', '-m', 'v0.0.1-dev.28'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:33:39 2022-07-21 00:33:39,449 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:33:39 0.0.1-dev.28 [Pipeline] } 00:33:39 $ docker exec --env ******** --env ******** d54fa02313de6395dfbda86d894ad67bf6dc2575dce04faec35f45430ebf14cd ssh-agent -k 00:33:39 unset SSH_AUTH_SOCK; 00:33:39 unset SSH_AGENT_PID; 00:33:39 echo Agent pid 41 killed; 00:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:33:39 + git semver [Pipeline] } 00:33:40 $ docker stop --time=1 d54fa02313de6395dfbda86d894ad67bf6dc2575dce04faec35f45430ebf14cd 00:33:41 $ docker rm -f d54fa02313de6395dfbda86d894ad67bf6dc2575dce04faec35f45430ebf14cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:33:41 00:33:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:33:42 0.23.1-centos7: Pulling from edgex-lftools 00:33:42 ab5ef0e58194: Pulling fs layer 00:33:42 9712f1f96733: Pulling fs layer 00:33:42 63f879dbbcfc: Pulling fs layer 00:33:42 0d9ebad4ef96: Pulling fs layer 00:33:42 e9a5061849ea: Pulling fs layer 00:33:42 d747dcd14b5f: Pulling fs layer 00:33:42 2de7ff778b66: Pulling fs layer 00:33:42 d747dcd14b5f: Waiting 00:33:42 0d9ebad4ef96: Waiting 00:33:42 e9a5061849ea: Waiting 00:33:42 2de7ff778b66: Waiting 00:33:42 9712f1f96733: Download complete 00:33:42 63f879dbbcfc: Verifying Checksum 00:33:42 63f879dbbcfc: Download complete 00:33:42 e9a5061849ea: Verifying Checksum 00:33:42 e9a5061849ea: Download complete 00:33:42 0d9ebad4ef96: Verifying Checksum 00:33:42 0d9ebad4ef96: Download complete 00:33:42 d747dcd14b5f: Download complete 00:33:42 ab5ef0e58194: Download complete 00:33:42 2de7ff778b66: Verifying Checksum 00:33:42 2de7ff778b66: Download complete 00:33:46 ab5ef0e58194: Pull complete 00:33:46 9712f1f96733: Pull complete 00:33:46 63f879dbbcfc: Pull complete 00:33:51 0d9ebad4ef96: Pull complete 00:33:51 e9a5061849ea: Pull complete 00:33:51 d747dcd14b5f: Pull complete 00:33:52 2de7ff778b66: Pull complete 00:33:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:33:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:52 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:33:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:33:54 $ docker top 72e195663117c5c12df1b94dd28d471fe81c9f16c4f51c036b7ef0da80f5e128 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:33:54 provisioning config files... 00:33:54 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1997190809978259639tmp 00:33:54 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8699316671742575405tmp 00:33:54 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config651254059127984361tmp [Pipeline] { [Pipeline] echo 00:33:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:33:55 ---> sigul-configuration.sh 00:33:55 gpg: directory `/root/.gnupg' created 00:33:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:33:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:33:55 gpg: keyring `/root/.gnupg/secring.gpg' created 00:33:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:33:55 gpg: CAST5 encrypted data 00:33:55 gpg: encrypted with 1 passphrase 00:33:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:33:55 + mkdir /home/jenkins 00:33:55 + mkdir /home/jenkins/sigul [Pipeline] sh 00:33:55 + 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 00:33:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:33:56 ---> sigul-install.sh 00:33:56 Sigul already installed; skipping installation. [Pipeline] sh 00:33:56 + git tag --list 00:33:56 v0.0.0 00:33:56 v0.0.1-dev.1 00:33:56 v0.0.1-dev.10 00:33:56 v0.0.1-dev.11 00:33:56 v0.0.1-dev.12 00:33:56 v0.0.1-dev.13 00:33:56 v0.0.1-dev.14 00:33:56 v0.0.1-dev.15 00:33:56 v0.0.1-dev.16 00:33:56 v0.0.1-dev.17 00:33:56 v0.0.1-dev.18 00:33:56 v0.0.1-dev.19 00:33:56 v0.0.1-dev.2 00:33:56 v0.0.1-dev.20 00:33:56 v0.0.1-dev.21 00:33:56 v0.0.1-dev.22 00:33:56 v0.0.1-dev.23 00:33:56 v0.0.1-dev.24 00:33:56 v0.0.1-dev.25 00:33:56 v0.0.1-dev.26 00:33:56 v0.0.1-dev.27 00:33:56 v0.0.1-dev.28 00:33:56 v0.0.1-dev.3 00:33:56 v0.0.1-dev.4 00:33:56 v0.0.1-dev.5 00:33:56 v0.0.1-dev.6 00:33:56 v0.0.1-dev.7 00:33:56 v0.0.1-dev.8 00:33:56 v0.0.1-dev.9 [Pipeline] sh 00:33:56 + lftools sign git-tag v0.0.1-dev.28 00:33:57 Signing Git tag with Sigul... 00:33:57 Signing v0.0.1-dev.28 [Pipeline] echo 00:33:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:33:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:33:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:33:58 $ docker stop --time=1 72e195663117c5c12df1b94dd28d471fe81c9f16c4f51c036b7ef0da80f5e128 00:33:59 $ docker rm -f 72e195663117c5c12df1b94dd28d471fe81c9f16c4f51c036b7ef0da80f5e128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:33:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:33:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:34:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:00 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:34:00 $ docker top 220739cb76a12da39a664ec9f8a6292b436f325d57a5d4a00f4fcc6bbc11eb0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:34:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:00 [ssh-agent] Looking for ssh-agent implementation... 00:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:00 $ docker exec 220739cb76a12da39a664ec9f8a6292b436f325d57a5d4a00f4fcc6bbc11eb0e ssh-agent 00:34:01 SSH_AUTH_SOCK=/tmp/ssh-cM6MxNxmvAox/agent.33 00:34:01 SSH_AGENT_PID=40 00:34:01 Running ssh-add (command line suppressed) 00:34:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7327386624290038521.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7327386624290038521.key) 00:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:01 + git semver bump pre 00:34:01 2022-07-21 00:34:01,736 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:34:01 2022-07-21 00:34:01,736 [bump_version] DEBUG bumping version:0.0.1-dev.28 on axis:pre with prefix:dev 00:34:01 2022-07-21 00:34:01,736 [bump_version] DEBUG bumped version:0.0.1-dev.29 00:34:01 2022-07-21 00:34:01,736 [write_version] DEBUG write version:0.0.1-dev.29 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:34:01 2022-07-21 00:34:01,736 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:34:01 2022-07-21 00:34:01,736 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:34:01 2022-07-21 00:34:01,738 [execute] INFO git cat-file --batch-check 00:34:01 2022-07-21 00:34:01,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:34:01 2022-07-21 00:34:01,744 [execute] INFO git cat-file --batch 00:34:01 2022-07-21 00:34:01,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:34:01 2022-07-21 00:34:01,747 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:34:01 0.0.1-dev.29 [Pipeline] } 00:34:01 $ docker exec --env ******** --env ******** 220739cb76a12da39a664ec9f8a6292b436f325d57a5d4a00f4fcc6bbc11eb0e ssh-agent -k 00:34:01 unset SSH_AUTH_SOCK; 00:34:01 unset SSH_AGENT_PID; 00:34:01 echo Agent pid 40 killed; 00:34:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:34:02 + git semver [Pipeline] } 00:34:02 $ docker stop --time=1 220739cb76a12da39a664ec9f8a6292b436f325d57a5d4a00f4fcc6bbc11eb0e 00:34:03 $ docker rm -f 220739cb76a12da39a664ec9f8a6292b436f325d57a5d4a00f4fcc6bbc11eb0e [Pipeline] // withDockerContainer [Pipeline] sh 00:34:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:34:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:34:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:04 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:34:05 $ docker top 97256ede6b01d85b7604b46f579794e4c11a9bd755f127ecdbad63920397b519 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:05 [ssh-agent] Looking for ssh-agent implementation... 00:34:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:05 $ docker exec 97256ede6b01d85b7604b46f579794e4c11a9bd755f127ecdbad63920397b519 ssh-agent 00:34:05 SSH_AUTH_SOCK=/tmp/ssh-YCZUAQWyb7jd/agent.33 00:34:05 SSH_AGENT_PID=40 00:34:05 Running ssh-add (command line suppressed) 00:34:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3866398712478216493.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3866398712478216493.key) 00:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:05 + git semver push 00:34:06 2022-07-21 00:34:06,073 [run_push] DEBUG push 00:34:06 2022-07-21 00:34:06,074 [execute] INFO git cat-file --batch-check 00:34:06 2022-07-21 00:34:06,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:34:06 2022-07-21 00:34:06,078 [execute] INFO git rev-list c99262c367c21f2f2f1f577d8525a5a1b464ddae -- 00:34:06 2022-07-21 00:34:06,078 [execute] DEBUG Popen(['git', 'rev-list', 'c99262c367c21f2f2f1f577d8525a5a1b464ddae', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:34:06 2022-07-21 00:34:06,084 [execute] INFO git fetch -v origin 00:34:06 2022-07-21 00:34:06,084 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:34:06 2022-07-21 00:34:06,555 [run_push] DEBUG no remote changes detected 00:34:06 2022-07-21 00:34:06,555 [execute] INFO git push origin semver 00:34:06 2022-07-21 00:34:06,556 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:34:07 2022-07-21 00:34:07,249 [run_push] DEBUG push all version tags 00:34:07 2022-07-21 00:34:07,249 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:34:07 2022-07-21 00:34:07,250 [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) 00:34:08 2022-07-21 00:34:07,927 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:34:08 0.0.1-dev.29 [Pipeline] } 00:34:08 $ docker exec --env ******** --env ******** 97256ede6b01d85b7604b46f579794e4c11a9bd755f127ecdbad63920397b519 ssh-agent -k 00:34:08 unset SSH_AUTH_SOCK; 00:34:08 unset SSH_AGENT_PID; 00:34:08 echo Agent pid 40 killed; 00:34:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:34:08 + git semver [Pipeline] } 00:34:08 $ docker stop --time=1 97256ede6b01d85b7604b46f579794e4c11a9bd755f127ecdbad63920397b519 00:34:10 $ docker rm -f 97256ede6b01d85b7604b46f579794e4c11a9bd755f127ecdbad63920397b519 [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 00:34:10 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:34:10 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:34:10 total 16 00:34:10 drwxr-xr-x 3 root root 4096 Jul 21 00:24 . 00:34:10 drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 00:33 .. 00:34:10 drwxr-xr-x 2 root root 4096 Jul 21 00:24 cost 00:34:10 -rw-r--r-- 1 root root 89 Jul 21 00:24 cost.csv 00:34:10 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:34:10 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:34:10 total 16 00:34:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 00:24 . 00:34:10 drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 00:33 .. 00:34:10 drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 00:24 cost 00:34:10 -rw-r--r-- 1 jenkins jenkins 89 Jul 21 00:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:34:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:34:12 ---> package-listing.sh 00:34:12 ++ facter osfamily 00:34:12 ++ tr '[:upper:]' '[:lower:]' 00:34:12 + OS_FAMILY=debian 00:34:12 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:34:12 + START_PACKAGES=/tmp/packages_start.txt 00:34:12 + END_PACKAGES=/tmp/packages_end.txt 00:34:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:34:12 + PACKAGES=/tmp/packages_start.txt 00:34:12 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:34:12 + PACKAGES=/tmp/packages_end.txt 00:34:12 + case "${OS_FAMILY}" in 00:34:12 + dpkg -l 00:34:12 + grep '^ii' 00:34:12 + '[' -f /tmp/packages_start.txt ']' 00:34:12 + '[' -f /tmp/packages_end.txt ']' 00:34:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:34:12 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:34:12 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:34:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 00:34:12 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 00:34:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:13 prd-ubuntu20.04-docker-8c-8g-20628 does not seem to be running inside a container 00:34:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:34:13 $ docker top 3184ec0a586040f5ff3ca90a31ac3fae5e0d3f5c32b64ae4afff67230f4c7f8f -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:13 + touch /tmp/pre-build-complete [Pipeline] sh 00:34:14 + mkdir -p /var/log/sysstat [Pipeline] sh 00:34:14 + ls /var/log/sa-host 00:34:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:14 provisioning config files... 00:34:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4822665178758168366tmp [Pipeline] { [Pipeline] echo 00:34:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:34:14 ---> create-netrc.sh [Pipeline] } 00:34:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:34:15 ---> python-tools-install.sh [Pipeline] echo 00:34:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:34:15 ---> sudo-logs.sh 00:34:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:34:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:34:15 ---> job-cost.sh 00:34:15 lf-activate-venv: SKIPPING 00:34:15 DEBUG: total: 0.2199999988079071 00:34:15 INFO: Retrieving Stack Cost... 00:34:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:34:16 INFO: Archiving Costs [Pipeline] echo 00:34:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:34:16 ---> logs-deploy.sh 00:34:16 lf-activate-venv: SKIPPING 00:34:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/31 00:34:16 INFO: archiving workspace using pattern(s): 00:34:18 Archives upload complete. 00:34:18 INFO: archiving logs to Nexus 00:34:18 ---> uname -a: 00:34:18 Linux prd-ubuntu20-04-docker-8c-8g-20628 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:34:18 00:34:18 00:34:18 ---> lscpu: 00:34:18 Architecture: x86_64 00:34:18 CPU op-mode(s): 32-bit, 64-bit 00:34:18 Byte Order: Little Endian 00:34:18 Address sizes: 40 bits physical, 48 bits virtual 00:34:18 CPU(s): 8 00:34:18 On-line CPU(s) list: 0-7 00:34:18 Thread(s) per core: 1 00:34:18 Core(s) per socket: 1 00:34:18 Socket(s): 8 00:34:18 NUMA node(s): 1 00:34:18 Vendor ID: AuthenticAMD 00:34:18 CPU family: 23 00:34:18 Model: 49 00:34:18 Model name: AMD EPYC-Rome Processor 00:34:18 Stepping: 0 00:34:18 CPU MHz: 2799.998 00:34:18 BogoMIPS: 5599.99 00:34:18 Virtualization: AMD-V 00:34:18 Hypervisor vendor: KVM 00:34:18 Virtualization type: full 00:34:18 L1d cache: 256 KiB 00:34:18 L1i cache: 256 KiB 00:34:18 L2 cache: 4 MiB 00:34:18 L3 cache: 128 MiB 00:34:18 NUMA node0 CPU(s): 0-7 00:34:18 Vulnerability Itlb multihit: Not affected 00:34:18 Vulnerability L1tf: Not affected 00:34:18 Vulnerability Mds: Not affected 00:34:18 Vulnerability Meltdown: Not affected 00:34:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:34:18 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:34:18 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:34:18 Vulnerability Srbds: Not affected 00:34:18 Vulnerability Tsx async abort: Not affected 00:34:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:34:18 00:34:18 00:34:18 ---> nproc: 00:34:18 8 00:34:18 00:34:18 00:34:18 ---> df -h: 00:34:18 Filesystem Size Used Avail Use% Mounted on 00:34:18 overlay 155G 13G 143G 8% / 00:34:18 tmpfs 64M 0 64M 0% /dev 00:34:18 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:34:18 shm 64M 0 64M 0% /dev/shm 00:34:18 /dev/vda1 155G 13G 143G 8% /facter-os 00:34:18 00:34:18