Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 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-ssh5252292521527627491.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-ssh17313935416672037998.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-ssh5514807355233115592.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-ssh13777171969447401529.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-ssh9410267969424201693.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19945’ Running on prd-ubuntu20.04-docker-8c-8g-19947 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 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 (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 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 # timeout=10 Commit message: "feat(snap): Add initial snap packaging (#103)" > git rev-list --no-walk e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:40:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:40:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:40:47 ========================================================= 15:40:47 EdgeX Global Pipelines Version Info 15:40:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:40:48 ------------------- 15:40:48 stable info: 15:40:48 ------------------- 15:40:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:40:48 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:40:48 Message: update stable to v1.0.238 15:40:49 ------------------- 15:40:49 experimental info: 15:40:49 ------------------- 15:40:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:40:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:40:49 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82ba38f [Pipeline] echo 15:40:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:49 provisioning config files... 15:40:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4590004970023920071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:50 ---> docker-login.sh 15:40:50 nexus3.edgexfoundry.org:10001 15:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:50 Configure a credential helper to remove this warning. See 15:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:50 15:40:50 Login Succeeded 15:40:50 nexus3.edgexfoundry.org:10002 15:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:50 Configure a credential helper to remove this warning. See 15:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:50 15:40:50 Login Succeeded 15:40:50 nexus3.edgexfoundry.org:10003 15:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:50 Configure a credential helper to remove this warning. See 15:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:50 15:40:50 Login Succeeded 15:40:50 nexus3.edgexfoundry.org:10004 15:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:51 Configure a credential helper to remove this warning. See 15:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:51 15:40:51 Login Succeeded 15:40:51 docker.io 15:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:51 Configure a credential helper to remove this warning. See 15:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:51 15:40:51 Login Succeeded 15:40:51 ---> docker-login.sh ends [Pipeline] } 15:40:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:40:51 + git rev-list -1 --merges 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766~1..82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] echo 15:40:51 -----------> git rev-list -1 --merges 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766~1..82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [false] [Pipeline] sh 15:40:52 + git log --format=format:%s -1 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] echo 15:40:52 ========================================================= 15:40:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:40:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:52 + git log --format=format:%s -1 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] echo 15:40:52 [semverPrep] GIT_COMMIT: 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766, Commit Message: feat(snap): Add initial snap packaging (#103) [Pipeline] echo 15:40:52 [semverPrep] This is not a build commit. [Pipeline] sh 15:40:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:40:52 + grep -v github /etc/ssh/ssh_known_hosts 15:40:52 + [ -e /tmp/ssh_known_hosts ] 15:40:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:40:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:40:52 + sudo tee -a /etc/ssh/ssh_known_hosts 15:40:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:53 15:40:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:53 0.1.4: Pulling from edgex-devops/py-git-semver 15:40:53 b85a868b505f: Pulling fs layer 15:40:53 e2be974225ed: Pulling fs layer 15:40:53 339a4e72a1f5: Pulling fs layer 15:40:53 988bab9f4d93: Pulling fs layer 15:40:53 1469e6f7b9e6: Pulling fs layer 15:40:53 eaf3925da568: Pulling fs layer 15:40:53 bab4dde63d76: Pulling fs layer 15:40:53 bde34c3a00c8: Pulling fs layer 15:40:53 b352a97aabf1: Pulling fs layer 15:40:53 4872d77fe225: Pulling fs layer 15:40:53 5851b861e8e6: Pulling fs layer 15:40:53 bab4dde63d76: Waiting 15:40:53 4872d77fe225: Waiting 15:40:53 5851b861e8e6: Waiting 15:40:53 bde34c3a00c8: Waiting 15:40:53 988bab9f4d93: Waiting 15:40:53 eaf3925da568: Waiting 15:40:53 1469e6f7b9e6: Waiting 15:40:53 b352a97aabf1: Waiting 15:40:53 e2be974225ed: Verifying Checksum 15:40:53 e2be974225ed: Download complete 15:40:53 988bab9f4d93: Download complete 15:40:53 1469e6f7b9e6: Verifying Checksum 15:40:53 1469e6f7b9e6: Download complete 15:40:53 339a4e72a1f5: Verifying Checksum 15:40:53 339a4e72a1f5: Download complete 15:40:53 eaf3925da568: Verifying Checksum 15:40:53 eaf3925da568: Download complete 15:40:53 bde34c3a00c8: Verifying Checksum 15:40:53 bde34c3a00c8: Download complete 15:40:53 b352a97aabf1: Download complete 15:40:53 4872d77fe225: Download complete 15:40:53 5851b861e8e6: Verifying Checksum 15:40:53 5851b861e8e6: Download complete 15:40:53 b85a868b505f: Verifying Checksum 15:40:53 b85a868b505f: Download complete 15:40:53 bab4dde63d76: Verifying Checksum 15:40:53 bab4dde63d76: Download complete 15:40:54 b85a868b505f: Pull complete 15:40:54 e2be974225ed: Pull complete 15:40:55 339a4e72a1f5: Pull complete 15:40:55 988bab9f4d93: Pull complete 15:40:55 1469e6f7b9e6: Pull complete 15:40:56 eaf3925da568: Pull complete 15:40:57 bab4dde63d76: Pull complete 15:40:57 bde34c3a00c8: Pull complete 15:40:57 b352a97aabf1: Pull complete 15:40:57 4872d77fe225: Pull complete 15:40:57 5851b861e8e6: Pull complete 15:40:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:58 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:40:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:40:59 $ docker top 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 -eo pid,comm 15:40:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:40:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:59 [ssh-agent] Looking for ssh-agent implementation... 15:40:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:59 $ docker exec 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 ssh-agent 15:40:59 SSH_AUTH_SOCK=/tmp/ssh-errCSRprtIt0/agent.34 15:40:59 SSH_AGENT_PID=40 15:40:59 Running ssh-add (command line suppressed) 15:40:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_294476997301579951.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_294476997301579951.key) 15:40:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:00 + git tag --points-at HEAD [Pipeline] } 15:41:00 $ docker exec --env ******** --env ******** 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 ssh-agent -k 15:41:00 unset SSH_AUTH_SOCK; 15:41:00 unset SSH_AGENT_PID; 15:41:00 echo Agent pid 40 killed; 15:41:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:00 [ssh-agent] Looking for ssh-agent implementation... 15:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:00 $ docker exec 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 ssh-agent 15:41:00 SSH_AUTH_SOCK=/tmp/ssh-P6iuygHVk6QI/agent.72 15:41:00 SSH_AGENT_PID=78 15:41:00 Running ssh-add (command line suppressed) 15:41:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5579799086387196276.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5579799086387196276.key) 15:41:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:01 + git semver init 15:41:01 2022-07-14 15:41:01,196 [run_init] DEBUG init version:0.0.0 force:False 15:41:01 2022-07-14 15:41:01,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:41:01 2022-07-14 15:41:01,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:41:01 2022-07-14 15:41:01,199 [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) 15:41:02 2022-07-14 15:41:01,909 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:41:02 2022-07-14 15:41:01,909 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:41:02 2022-07-14 15:41:01,909 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:41:02 2022-07-14 15:41:01,909 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:41:02 0.0.1-dev.24 [Pipeline] } 15:41:02 $ docker exec --env ******** --env ******** 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 ssh-agent -k 15:41:02 unset SSH_AUTH_SOCK; 15:41:02 unset SSH_AGENT_PID; 15:41:02 echo Agent pid 78 killed; 15:41:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:41:02 + git semver [Pipeline] } 15:41:02 $ docker stop --time=1 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 15:41:04 $ docker rm -f 488779b7cd6016ee49584fe20d480a8559b8de3eb8b028e7a0a83d143df9cff4 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:41:04 Stashed 1 file(s) [Pipeline] echo 15:41:04 [edgeXSemver]: initialized semver on version 0.0.1-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:04 provisioning config files... 15:41:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4681383257624801942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:05 ---> docker-login.sh 15:41:05 nexus3.edgexfoundry.org:10001 15:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:05 Configure a credential helper to remove this warning. See 15:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:05 15:41:05 Login Succeeded 15:41:05 nexus3.edgexfoundry.org:10002 15:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:05 Configure a credential helper to remove this warning. See 15:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:05 15:41:05 Login Succeeded 15:41:05 nexus3.edgexfoundry.org:10003 15:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:05 Configure a credential helper to remove this warning. See 15:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:05 15:41:05 Login Succeeded 15:41:05 nexus3.edgexfoundry.org:10004 15:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:05 Configure a credential helper to remove this warning. See 15:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:05 15:41:05 Login Succeeded 15:41:05 docker.io 15:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:06 Configure a credential helper to remove this warning. See 15:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:06 15:41:06 Login Succeeded 15:41:06 ---> docker-login.sh ends [Pipeline] } 15:41:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:06 ========================================================= 15:41:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:41:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:06 + 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 . 15:41:06 Sending build context to Docker daemon 9.383MB 15:41:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:41:06 Step 2/13 : FROM ${BASE} AS builder 15:41:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:06 2408cc74d12b: Pulling fs layer 15:41:06 ea60b727a1ce: Pulling fs layer 15:41:06 30c4a7721957: Pulling fs layer 15:41:06 370296b7ddb6: Pulling fs layer 15:41:06 7c6cee850709: Pulling fs layer 15:41:06 39a5fcdaea64: Pulling fs layer 15:41:06 d94ebbe4e438: Pulling fs layer 15:41:06 bcfd1f05c69d: Pulling fs layer 15:41:06 370296b7ddb6: Waiting 15:41:06 59ccb84bbe0f: Pulling fs layer 15:41:06 7c6cee850709: Waiting 15:41:06 d94ebbe4e438: Waiting 15:41:06 bcfd1f05c69d: Waiting 15:41:06 59ccb84bbe0f: Waiting 15:41:06 39a5fcdaea64: Waiting 15:41:06 30c4a7721957: Verifying Checksum 15:41:06 30c4a7721957: Download complete 15:41:06 ea60b727a1ce: Verifying Checksum 15:41:06 ea60b727a1ce: Download complete 15:41:06 7c6cee850709: Verifying Checksum 15:41:06 7c6cee850709: Download complete 15:41:06 39a5fcdaea64: Verifying Checksum 15:41:06 39a5fcdaea64: Download complete 15:41:06 2408cc74d12b: Verifying Checksum 15:41:06 2408cc74d12b: Download complete 15:41:06 d94ebbe4e438: Verifying Checksum 15:41:06 d94ebbe4e438: Download complete 15:41:06 2408cc74d12b: Pull complete 15:41:06 ea60b727a1ce: Pull complete 15:41:06 30c4a7721957: Pull complete 15:41:07 59ccb84bbe0f: Verifying Checksum 15:41:07 59ccb84bbe0f: Download complete 15:41:07 370296b7ddb6: Verifying Checksum 15:41:07 370296b7ddb6: Download complete 15:41:07 bcfd1f05c69d: Verifying Checksum 15:41:07 bcfd1f05c69d: Download complete 15:41:11 370296b7ddb6: Pull complete 15:41:11 7c6cee850709: Pull complete 15:41:11 39a5fcdaea64: Pull complete 15:41:11 d94ebbe4e438: Pull complete 15:41:14 bcfd1f05c69d: Pull complete 15:41:15 59ccb84bbe0f: Pull complete 15:41:15 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 15:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:41:15 ---> a4fb48ad2a94 15:41:15 Step 3/13 : ARG MAKE="make build" 15:41:16 ---> Running in 3617a80a7297 15:41:16 Removing intermediate container 3617a80a7297 15:41:16 ---> 1d6591adff5d 15:41:16 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:41:16 ---> Running in 2e0e4db620b4 15:41:16 Removing intermediate container 2e0e4db620b4 15:41:16 ---> 2976a574dbfa 15:41:16 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:41:16 ---> Running in 7c0fa26e107e 15:41:16 Removing intermediate container 7c0fa26e107e 15:41:16 ---> 671d0767f3e4 15:41:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:41:16 ---> Running in 78d312a27f35 15:41:16 Removing intermediate container 78d312a27f35 15:41:16 ---> efbab51b166a 15:41:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:41:16 ---> Running in f7199d135164 15:41:17 Removing intermediate container f7199d135164 15:41:17 ---> a9e3f1f65ba3 15:41:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:41:17 ---> Running in 77a042e2f574 15:41:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:41:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:41:18 OK: 211 MiB in 51 packages 15:41:19 Removing intermediate container 77a042e2f574 15:41:19 ---> 490c8c2f16a1 15:41:19 Step 9/13 : WORKDIR /device-onvif-camera 15:41:19 ---> Running in fed93dd3e6bd 15:41:19 Removing intermediate container fed93dd3e6bd 15:41:19 ---> 2bb6e6125004 15:41:19 Step 10/13 : COPY go.mod vendor* ./ 15:41:19 ---> 8c2516f36042 15:41:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:19 ---> Running in 409f91015c43 15:41:19 Still waiting to schedule task 15:41:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19946’ 15:41:34 Removing intermediate container 409f91015c43 15:41:34 ---> 8addf17b6ebf 15:41:34 Step 12/13 : COPY . . 15:41:34 ---> a95d63084ccd 15:41:34 Step 13/13 : RUN ${MAKE} 15:41:34 ---> Running in 921c33c0bb94 15:41:34 noop 15:41:35 Removing intermediate container 921c33c0bb94 15:41:35 ---> 0e18cf288a06 15:41:35 Successfully built 0e18cf288a06 15:41:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:35 + docker inspect -f . ci-base-image-x86_64 15:41:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:35 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:41:35 $ docker top 68042bbbe560307c42c795b627268c21f6418a42e395d06ce2f9efebe2da9154 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:36 + go version 15:41:36 go version go1.18.3 linux/amd64 [Pipeline] } 15:41:36 $ docker stop --time=1 68042bbbe560307c42c795b627268c21f6418a42e395d06ce2f9efebe2da9154 15:41:37 $ docker rm -f 68042bbbe560307c42c795b627268c21f6418a42e395d06ce2f9efebe2da9154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:37 + docker inspect -f . ci-base-image-x86_64 15:41:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:38 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:41:38 $ 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 ******** -e ******** ci-base-image-x86_64 cat 15:41:38 $ docker top 752319a429e6dad2e281755bac06d921f4862c1b1a4b8114b388b67cbd9119fe -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:38 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 15:41:39 + make test 15:41:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:41:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:41:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:41:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements 15:41:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:41:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.835s coverage: 13.8% of statements 15:41:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:42:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:42:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:42:02 ./bin/test-attribution-txt.sh [Pipeline] echo 15:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:42:02 $ docker stop --time=1 752319a429e6dad2e281755bac06d921f4862c1b1a4b8114b388b67cbd9119fe 15:42:04 $ docker rm -f 752319a429e6dad2e281755bac06d921f4862c1b1a4b8114b388b67cbd9119fe [Pipeline] // withDockerContainer [Pipeline] sh 15:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:42:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:42:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:05 + ls -al . 15:42:05 total 252 15:42:05 drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 15:42 . 15:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:40 .. 15:42:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 15:41 .git 15:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:40 .github 15:42:05 -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 15:40 .gitignore 15:42:05 -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 15:40 .golangci.yml 15:42:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 15:41 .semver 15:42:05 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 15:40 Attribution.txt 15:42:05 -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 15:40 CHANGELOG.md 15:42:05 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 15:40 Dockerfile 15:42:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 15:40 GOVERNANCE.md 15:42:05 -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 15:40 Jenkinsfile 15:42:05 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 15:40 LICENSE 15:42:05 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 15:40 Makefile 15:42:05 -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 15:40 OWNERS.md 15:42:05 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 15:40 README.md 15:42:05 -rw-rw-r-- 1 jenkins jenkins 12 Jul 14 15:41 VERSION 15:42:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 15:40 bin 15:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:40 cmd 15:42:05 -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 15:41 coverage.out 15:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:40 doc 15:42:05 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 15:40 go.mod 15:42:05 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 15:40 go.sum 15:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:40 internal 15:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:40 snap 15:42:05 -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + 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=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 --label arch=amd64 --label version=0.0.1-dev.24 . 15:42:06 Sending build context to Docker daemon 9.454MB 15:42:06 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:42:06 Step 2/26 : FROM ${BASE} AS builder 15:42:06 ---> 0e18cf288a06 15:42:06 Step 3/26 : ARG MAKE="make build" 15:42:06 ---> Running in c40245b63f1d 15:42:06 Removing intermediate container c40245b63f1d 15:42:06 ---> 64ae6df0a382 15:42:06 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:42:06 ---> Running in f2f82e54f968 15:42:06 Removing intermediate container f2f82e54f968 15:42:06 ---> 63f1ac03ba77 15:42:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:42:06 ---> Running in 734bf3ff705a 15:42:06 Removing intermediate container 734bf3ff705a 15:42:06 ---> e5b831be34b7 15:42:06 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:42:06 ---> Running in 36e787ec45ad 15:42:06 Removing intermediate container 36e787ec45ad 15:42:06 ---> 2cf21e53d766 15:42:06 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:06 ---> Running in 21656f47d452 15:42:07 Removing intermediate container 21656f47d452 15:42:07 ---> 2b17ba352746 15:42:07 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:07 ---> Running in 1c87068b0c6e 15:42:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:42:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:42:08 OK: 211 MiB in 51 packages 15:42:08 Removing intermediate container 1c87068b0c6e 15:42:08 ---> 19ce2252056f 15:42:08 Step 9/26 : WORKDIR /device-onvif-camera 15:42:08 ---> Running in 3830edd30bda 15:42:09 Removing intermediate container 3830edd30bda 15:42:09 ---> 9876945f0800 15:42:09 Step 10/26 : COPY go.mod vendor* ./ 15:42:09 ---> fbdda558c3aa 15:42:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:09 ---> Running in 27b4be06316b 15:42:09 Removing intermediate container 27b4be06316b 15:42:09 ---> 9f54a0ddce26 15:42:09 Step 12/26 : COPY . . 15:42:10 ---> 9cea75ff42e8 15:42:10 Step 13/26 : RUN ${MAKE} 15:42:10 ---> Running in 06847fca8b0b 15:42:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.24 -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 15:42:32 Removing intermediate container 06847fca8b0b 15:42:32 ---> 52b496bfdb65 15:42:32 Step 14/26 : FROM alpine:3.15 15:42:32 3.15: Pulling from library/alpine 15:42:32 df9b9388f04a: Pulling fs layer 15:42:32 df9b9388f04a: Download complete 15:42:32 df9b9388f04a: Pull complete 15:42:32 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:42:32 Status: Downloaded newer image for alpine:3.15 15:42:32 ---> 0ac33e5f5afa 15:42:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:42:32 ---> Running in de1c71f1eb27 15:42:32 Removing intermediate container de1c71f1eb27 15:42:32 ---> 4c72c824c0d7 15:42:32 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:42:32 ---> Running in 730a6be3d9ab 15:42:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:42:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:42:32 (1/6) Installing dumb-init (1.2.5-r1) 15:42:32 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:42:32 (3/6) Installing libsodium (1.0.18-r0) 15:42:32 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:42:32 (5/6) Installing libzmq (4.3.4-r0) 15:42:32 (6/6) Installing zeromq (4.3.4-r0) 15:42:32 Executing busybox-1.34.1-r5.trigger 15:42:32 OK: 8 MiB in 20 packages 15:42:32 Removing intermediate container 730a6be3d9ab 15:42:32 ---> 746beb68fcd7 15:42:32 Step 17/26 : WORKDIR / 15:42:32 ---> Running in 8449272821e3 15:42:32 Removing intermediate container 8449272821e3 15:42:32 ---> 6ec0f8378a78 15:42:32 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:42:32 ---> d3ef1e34f147 15:42:32 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:42:32 ---> 29ad5c682e18 15:42:32 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:42:32 ---> 673993df3160 15:42:32 Step 21/26 : EXPOSE 59984 15:42:32 ---> Running in 7ae195ce274c 15:42:32 Removing intermediate container 7ae195ce274c 15:42:32 ---> 8aa83f537c35 15:42:32 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:42:32 ---> Running in 4dcca42373e8 15:42:32 Removing intermediate container 4dcca42373e8 15:42:32 ---> 1196edabb448 15:42:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:42:32 ---> Running in 674766c2182e 15:42:32 Removing intermediate container 674766c2182e 15:42:32 ---> 9f0938592231 15:42:32 Step 24/26 : LABEL arch=amd64 15:42:32 ---> Running in 9e0c3a43ec23 15:42:32 Removing intermediate container 9e0c3a43ec23 15:42:32 ---> b2d4c60f3cef 15:42:32 Step 25/26 : LABEL git_sha=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:42:32 ---> Running in f4c22423eff6 15:42:33 Removing intermediate container f4c22423eff6 15:42:33 ---> c2dd6e52f23b 15:42:33 Step 26/26 : LABEL version=0.0.1-dev.24 15:42:33 ---> Running in 43fd58b0d50b 15:42:33 Removing intermediate container 43fd58b0d50b 15:42:33 ---> 9116a8a56b96 15:42:33 [Warning] One or more build-args [ARCH] were not consumed 15:42:33 Successfully built 9116a8a56b96 15:42:33 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 15:42:33 provisioning config files... 15:42:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8263488060234550896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:33 ---> docker-login.sh 15:42:33 nexus3.edgexfoundry.org:10001 15:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:33 Configure a credential helper to remove this warning. See 15:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:33 15:42:33 Login Succeeded 15:42:33 nexus3.edgexfoundry.org:10002 15:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:33 Configure a credential helper to remove this warning. See 15:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:33 15:42:33 Login Succeeded 15:42:33 nexus3.edgexfoundry.org:10003 15:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:33 Configure a credential helper to remove this warning. See 15:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:33 15:42:33 Login Succeeded 15:42:33 nexus3.edgexfoundry.org:10004 15:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:33 Configure a credential helper to remove this warning. See 15:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:33 15:42:33 Login Succeeded 15:42:33 docker.io 15:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:34 Configure a credential helper to remove this warning. See 15:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:34 15:42:34 Login Succeeded 15:42:34 ---> docker-login.sh ends [Pipeline] } 15:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:34 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:42:34 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:42:34 latest 15:42:34 0.0.1-dev.24 15:42:34 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:42:34 main 15:42:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:42:34 b7a41958d840: Preparing 15:42:34 b2c5675a45f0: Preparing 15:42:34 2124f674e7a3: Preparing 15:42:34 ad9b28f4e229: Preparing 15:42:34 4fc242d58285: Preparing 15:42:34 4fc242d58285: Layer already exists 15:42:34 b2c5675a45f0: Pushed 15:42:34 b7a41958d840: Pushed 15:42:35 ad9b28f4e229: Pushed 15:42:37 2124f674e7a3: Pushed 15:42:37 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766: digest: sha256:ffa02628e355ebb09a8a674d5da8568e3accd37ec83725e723f82c4dac456b68 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:42:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:42:38 b7a41958d840: Preparing 15:42:38 b2c5675a45f0: Preparing 15:42:38 2124f674e7a3: Preparing 15:42:38 ad9b28f4e229: Preparing 15:42:38 4fc242d58285: Preparing 15:42:38 b7a41958d840: Layer already exists 15:42:38 4fc242d58285: Layer already exists 15:42:38 2124f674e7a3: Layer already exists 15:42:38 b2c5675a45f0: Layer already exists 15:42:38 ad9b28f4e229: Layer already exists 15:42:38 latest: digest: sha256:ffa02628e355ebb09a8a674d5da8568e3accd37ec83725e723f82c4dac456b68 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.24 15:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:42:39 b7a41958d840: Preparing 15:42:39 b2c5675a45f0: Preparing 15:42:39 2124f674e7a3: Preparing 15:42:39 ad9b28f4e229: Preparing 15:42:39 4fc242d58285: Preparing 15:42:39 4fc242d58285: Layer already exists 15:42:39 ad9b28f4e229: Layer already exists 15:42:39 2124f674e7a3: Layer already exists 15:42:39 b7a41958d840: Layer already exists 15:42:39 b2c5675a45f0: Layer already exists 15:42:39 0.0.1-dev.24: digest: sha256:ffa02628e355ebb09a8a674d5da8568e3accd37ec83725e723f82c4dac456b68 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:42:39 b7a41958d840: Preparing 15:42:39 b2c5675a45f0: Preparing 15:42:39 2124f674e7a3: Preparing 15:42:39 ad9b28f4e229: Preparing 15:42:39 4fc242d58285: Preparing 15:42:39 ad9b28f4e229: Layer already exists 15:42:39 b7a41958d840: Layer already exists 15:42:39 4fc242d58285: Layer already exists 15:42:39 b2c5675a45f0: Layer already exists 15:42:39 2124f674e7a3: Layer already exists 15:42:39 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24: digest: sha256:ffa02628e355ebb09a8a674d5da8568e3accd37ec83725e723f82c4dac456b68 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:42:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:42:40 b7a41958d840: Preparing 15:42:40 b2c5675a45f0: Preparing 15:42:40 2124f674e7a3: Preparing 15:42:40 ad9b28f4e229: Preparing 15:42:40 4fc242d58285: Preparing 15:42:40 b2c5675a45f0: Layer already exists 15:42:40 b7a41958d840: Layer already exists 15:42:40 ad9b28f4e229: Layer already exists 15:42:40 4fc242d58285: Layer already exists 15:42:40 2124f674e7a3: Layer already exists 15:42:40 main: digest: sha256:ffa02628e355ebb09a8a674d5da8568e3accd37ec83725e723f82c4dac456b68 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:40 ===================================================== [Pipeline] echo 15:42:40 taggedImages: 15:42:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:42:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:42:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.24 15:42:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:42:40 - 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 15:42:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:40 15:42:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:41 latest: Pulling from edgex-lftools-log-publisher 15:42:41 5eb5b503b376: Pulling fs layer 15:42:41 5c69ac0246d0: Pulling fs layer 15:42:41 ec43610c2a17: Pulling fs layer 15:42:41 3a2ae6a8a46f: Pulling fs layer 15:42:41 33b1e0a273af: Pulling fs layer 15:42:41 5d3b04190fa2: Pulling fs layer 15:42:41 2f39f015ded8: Pulling fs layer 15:42:41 33b1e0a273af: Waiting 15:42:41 5d3b04190fa2: Waiting 15:42:41 2f39f015ded8: Waiting 15:42:41 3a2ae6a8a46f: Waiting 15:42:41 5c69ac0246d0: Verifying Checksum 15:42:41 5c69ac0246d0: Download complete 15:42:41 3a2ae6a8a46f: Verifying Checksum 15:42:41 3a2ae6a8a46f: Download complete 15:42:41 33b1e0a273af: Verifying Checksum 15:42:41 33b1e0a273af: Download complete 15:42:41 5d3b04190fa2: Download complete 15:42:41 ec43610c2a17: Verifying Checksum 15:42:41 ec43610c2a17: Download complete 15:42:41 5eb5b503b376: Download complete 15:42:42 2f39f015ded8: Download complete 15:42:42 5eb5b503b376: Pull complete 15:42:42 5c69ac0246d0: Pull complete 15:42:43 ec43610c2a17: Pull complete 15:42:43 3a2ae6a8a46f: Pull complete 15:42:43 33b1e0a273af: Pull complete 15:42:43 5d3b04190fa2: Pull complete 15:42:49 2f39f015ded8: Pull complete 15:42:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:49 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:42:50 $ docker top 76fdeaca284178c1012f28c901d63c5d44511512c817c3c859028d14ca463e3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:51 ---> job-cost.sh 15:42:51 lf-activate-venv: SKIPPING 15:42:51 INFO: No Stack... 15:42:51 INFO: Retrieving Pricing Info for: v3-standard-8 15:42:51 INFO: Archiving Costs [Pipeline] sh 15:42:52 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:42:52 + cut -d, -f6 [Pipeline] lock 15:42:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] 15:42:52 Resource [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] did not exist. Created. 15:42:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:42:52 + echo total: 0.2199999988079071 [Pipeline] stash 15:42:52 Stashed 1 file(s) [Pipeline] } 15:42:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 15:42:52 $ docker stop --time=1 76fdeaca284178c1012f28c901d63c5d44511512c817c3c859028d14ca463e3f 15:42:53 $ docker rm -f 76fdeaca284178c1012f28c901d63c5d44511512c817c3c859028d14ca463e3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:44:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19953 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:44:18 Running in /w/workspace/device-onvif-camera/27 [Pipeline] { [Pipeline] checkout 15:44:18 Selected Git installation does not exist. Using Default 15:44:18 The recommended git tool is: NONE 15:44:24 using credential edgex-jenkins-ssh 15:44:24 Cloning the remote Git repository 15:44:24 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:44:24 > git init /w/workspace/device-onvif-camera/27 # timeout=10 15:44:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:44:24 > git --version # timeout=10 15:44:25 Avoid second fetch 15:44:25 Checking out Revision 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 (main) 15:44:24 > git --version # 'git version 2.25.1' 15:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:44:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:44:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:25 > git config core.sparsecheckout # timeout=10 15:44:25 > git checkout -f 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 # timeout=10 15:44:30 Commit message: "feat(snap): Add initial snap packaging (#103)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:44:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:44:31 Dload Upload Total Spent Left Speed 15:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90676 0 --:--:-- --:--:-- --:--:-- 91348 [Pipeline] sh 15:44:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:44:32 + sudo tee /etc/docker/daemon.new 15:44:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:44:32 { 15:44:32 "registry-mirrors": [ 15:44:32 "https://nexus3.edgexfoundry.org:10001" 15:44:32 ], 15:44:32 "bip": "10.250.0.254/24", 15:44:32 "hosts": [ 15:44:32 "tcp://0.0.0.0:5555", 15:44:32 "unix:///var/run/docker.sock" 15:44:32 ], 15:44:32 "mtu": 1458, 15:44:32 "selinux-enabled": true, 15:44:32 "seccomp-profile": "/etc/docker/seccomp.json" 15:44:32 } [Pipeline] sh 15:44:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:44:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:51 provisioning config files... 15:44:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/27@tmp/config5766457280905513279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:51 ---> docker-login.sh 15:44:51 nexus3.edgexfoundry.org:10001 15:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:52 Configure a credential helper to remove this warning. See 15:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:52 15:44:52 Login Succeeded 15:44:52 nexus3.edgexfoundry.org:10002 15:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:53 Configure a credential helper to remove this warning. See 15:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:53 15:44:53 Login Succeeded 15:44:53 nexus3.edgexfoundry.org:10003 15:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:53 Configure a credential helper to remove this warning. See 15:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:53 15:44:53 Login Succeeded 15:44:53 nexus3.edgexfoundry.org:10004 15:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:54 Configure a credential helper to remove this warning. See 15:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:54 15:44:54 Login Succeeded 15:44:54 docker.io 15:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:55 Configure a credential helper to remove this warning. See 15:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:55 15:44:55 Login Succeeded 15:44:55 ---> docker-login.sh ends [Pipeline] } 15:44:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:56 ========================================================= 15:44:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:44:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:56 + 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 . 15:44:57 Sending build context to Docker daemon 6.453MB 15:44:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:44:57 Step 2/13 : FROM ${BASE} AS builder 15:44:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:44:57 b3c136eddcbf: Pulling fs layer 15:44:57 c0a3192eca97: Pulling fs layer 15:44:57 a050256f5b6f: Pulling fs layer 15:44:57 656be50a0ddc: Pulling fs layer 15:44:57 2bbca73fdf42: Pulling fs layer 15:44:57 46d945488cbd: Pulling fs layer 15:44:57 8a5474983e97: Pulling fs layer 15:44:57 329c88fbcd65: Pulling fs layer 15:44:57 656be50a0ddc: Waiting 15:44:57 2bbca73fdf42: Waiting 15:44:57 46d945488cbd: Waiting 15:44:57 8a5474983e97: Waiting 15:44:57 329c88fbcd65: Waiting 15:44:57 a050256f5b6f: Verifying Checksum 15:44:57 a050256f5b6f: Download complete 15:44:57 c0a3192eca97: Download complete 15:44:57 2bbca73fdf42: Verifying Checksum 15:44:57 2bbca73fdf42: Download complete 15:44:57 46d945488cbd: Verifying Checksum 15:44:57 46d945488cbd: Download complete 15:44:57 b3c136eddcbf: Verifying Checksum 15:44:57 b3c136eddcbf: Download complete 15:44:58 b3c136eddcbf: Pull complete 15:44:58 329c88fbcd65: Verifying Checksum 15:44:59 c0a3192eca97: Pull complete 15:44:59 a050256f5b6f: Pull complete 15:44:59 8a5474983e97: Download complete 15:45:00 656be50a0ddc: Verifying Checksum 15:45:00 656be50a0ddc: Download complete 15:45:16 656be50a0ddc: Pull complete 15:45:16 2bbca73fdf42: Pull complete 15:45:16 46d945488cbd: Pull complete 15:45:21 8a5474983e97: Pull complete 15:45:24 329c88fbcd65: Pull complete 15:45:24 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 15:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:45:24 ---> ff4287adb874 15:45:24 Step 3/13 : ARG MAKE="make build" 15:45:26 ---> Running in 62a2f064a711 15:45:26 Removing intermediate container 62a2f064a711 15:45:26 ---> 01c0813ac42f 15:45:26 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:45:26 ---> Running in 596f4e6daae4 15:45:27 Removing intermediate container 596f4e6daae4 15:45:27 ---> c7a044f8ff8a 15:45:27 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:45:27 ---> Running in 4a1ceb268c83 15:45:27 Removing intermediate container 4a1ceb268c83 15:45:27 ---> d21a4f9c710a 15:45:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:45:27 ---> Running in a1c32bd5c159 15:45:28 Removing intermediate container a1c32bd5c159 15:45:28 ---> c75d12178651 15:45:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:28 ---> Running in 0e9f88ef6f1e 15:45:29 Removing intermediate container 0e9f88ef6f1e 15:45:29 ---> 165d02541539 15:45:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:45:29 ---> Running in 81af3b579616 15:45:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:45:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:45:32 OK: 221 MiB in 51 packages 15:45:33 Removing intermediate container 81af3b579616 15:45:33 ---> 09d8e9eb2175 15:45:33 Step 9/13 : WORKDIR /device-onvif-camera 15:45:33 ---> Running in 39ac2114f44a 15:45:33 Removing intermediate container 39ac2114f44a 15:45:33 ---> e7c543d1e43a 15:45:33 Step 10/13 : COPY go.mod vendor* ./ 15:45:34 ---> 1b61b9182b24 15:45:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:34 ---> Running in 48bd679ced33 15:46:30 Removing intermediate container 48bd679ced33 15:46:30 ---> 81d574c32caa 15:46:30 Step 12/13 : COPY . . 15:46:30 ---> 14936f166c5c 15:46:30 Step 13/13 : RUN ${MAKE} 15:46:30 ---> Running in f1866f344c79 15:46:30 noop 15:46:30 Removing intermediate container f1866f344c79 15:46:30 ---> 69ac492ad0c2 15:46:30 Successfully built 69ac492ad0c2 15:46:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:31 + docker inspect -f . ci-base-image-arm64 15:46:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:31 prd-ubuntu20.04-docker-arm64-4c-16g-19953 does not seem to be running inside a container 15:46:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/27 -v /w/workspace/device-onvif-camera/27:/w/workspace/device-onvif-camera/27:rw,z -v /w/workspace/device-onvif-camera/27@tmp:/w/workspace/device-onvif-camera/27@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 15:46:33 $ docker top feeec938344912c7ce7b58742bc92a2489098ff9887de16ddce0498c97e8d071 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:34 + go version 15:46:34 go version go1.18.3 linux/arm64 [Pipeline] } 15:46:34 $ docker stop --time=1 feeec938344912c7ce7b58742bc92a2489098ff9887de16ddce0498c97e8d071 15:46:35 $ docker rm -f feeec938344912c7ce7b58742bc92a2489098ff9887de16ddce0498c97e8d071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:36 + docker inspect -f . ci-base-image-arm64 15:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:36 prd-ubuntu20.04-docker-arm64-4c-16g-19953 does not seem to be running inside a container 15:46:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/27 -v /w/workspace/device-onvif-camera/27:/w/workspace/device-onvif-camera/27:rw,z -v /w/workspace/device-onvif-camera/27@tmp:/w/workspace/device-onvif-camera/27@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 15:46:38 $ docker top d87388b67a1d87a3080b415286e5d60c4b8c351669d03df10b563de52d363b5f -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/27 [Pipeline] fileExists [Pipeline] sh 15:46:39 + make test 15:46:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:46:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:48:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:48:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.097s coverage: 7.0% of statements 15:48:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:48:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.328s coverage: 13.8% of statements 15:48:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:48:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:49:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:09 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:09 $ docker stop --time=1 d87388b67a1d87a3080b415286e5d60c4b8c351669d03df10b563de52d363b5f 15:49:11 $ docker rm -f d87388b67a1d87a3080b415286e5d60c4b8c351669d03df10b563de52d363b5f [Pipeline] // withDockerContainer [Pipeline] sh 15:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:12 Warning: overwriting stash ‘coverage-report’ 15:49:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:13 + ls -al . 15:49:13 total 248 15:49:13 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 15:49 . 15:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:44 .. 15:49:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 15:44 .git 15:49:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:44 .github 15:49:13 -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 15:44 .gitignore 15:49:13 -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 15:44 .golangci.yml 15:49:13 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 15:44 Attribution.txt 15:49:13 -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 15:44 CHANGELOG.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 15:44 Dockerfile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 15:44 GOVERNANCE.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 15:44 Jenkinsfile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 15:44 LICENSE 15:49:13 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 15:44 Makefile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 15:44 OWNERS.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 15:44 README.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 12 Jul 14 15:41 VERSION 15:49:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 15:44 bin 15:49:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:44 cmd 15:49:13 -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 15:48 coverage.out 15:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:44 doc 15:49:13 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 15:44 go.mod 15:49:13 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 15:44 go.sum 15:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:44 internal 15:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:44 snap 15:49:13 -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 15:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:14 + 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=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 --label arch=arm64 --label version=0.0.1-dev.24 . 15:49:14 Sending build context to Docker daemon 6.524MB 15:49:14 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:49:14 Step 2/26 : FROM ${BASE} AS builder 15:49:14 ---> 69ac492ad0c2 15:49:14 Step 3/26 : ARG MAKE="make build" 15:49:14 ---> Running in cd30842abec5 15:49:15 Removing intermediate container cd30842abec5 15:49:15 ---> fd0f04d6b4b5 15:49:15 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:49:15 ---> Running in 0b5ab025f7c6 15:49:15 Removing intermediate container 0b5ab025f7c6 15:49:15 ---> ec09f9494b49 15:49:15 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:49:15 ---> Running in 0e35323a227f 15:49:16 Removing intermediate container 0e35323a227f 15:49:16 ---> 514aae0b6416 15:49:16 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:49:16 ---> Running in 36ca5054c8a8 15:49:16 Removing intermediate container 36ca5054c8a8 15:49:16 ---> 4f4b08215e34 15:49:16 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:16 ---> Running in 3079a6f9cad3 15:49:18 Removing intermediate container 3079a6f9cad3 15:49:18 ---> 5d1d298d964b 15:49:18 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:18 ---> Running in de76066dd5dd 15:49:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:49:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:49:21 OK: 221 MiB in 51 packages 15:49:22 Removing intermediate container de76066dd5dd 15:49:22 ---> 83244073ee21 15:49:22 Step 9/26 : WORKDIR /device-onvif-camera 15:49:22 ---> Running in 890a88e57d15 15:49:23 Removing intermediate container 890a88e57d15 15:49:23 ---> 30ecc07661a3 15:49:23 Step 10/26 : COPY go.mod vendor* ./ 15:49:23 ---> d709d4da0eef 15:49:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:23 ---> Running in 30e9d666c579 15:49:25 Removing intermediate container 30e9d666c579 15:49:25 ---> 8b2edeefcad1 15:49:25 Step 12/26 : COPY . . 15:49:27 ---> d9b4c2416764 15:49:27 Step 13/26 : RUN ${MAKE} 15:49:27 ---> Running in 07e3cbb7f1b1 15:49:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.24 -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 15:52:05 Removing intermediate container 07e3cbb7f1b1 15:52:05 ---> 4266a11dc252 15:52:05 Step 14/26 : FROM alpine:3.15 15:52:05 3.15: Pulling from library/alpine 15:52:05 9981e73032c8: Pulling fs layer 15:52:05 9981e73032c8: Verifying Checksum 15:52:05 9981e73032c8: Download complete 15:52:05 9981e73032c8: Pull complete 15:52:05 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:52:05 Status: Downloaded newer image for alpine:3.15 15:52:05 ---> 3fb3c9af89a9 15:52:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:52:05 ---> Running in 3402fc850424 15:52:05 Removing intermediate container 3402fc850424 15:52:05 ---> 8a2f31e42edc 15:52:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:52:05 ---> Running in dd5653b35229 15:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:52:05 (1/6) Installing dumb-init (1.2.5-r1) 15:52:05 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:52:05 (3/6) Installing libsodium (1.0.18-r0) 15:52:05 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:52:05 (5/6) Installing libzmq (4.3.4-r0) 15:52:05 (6/6) Installing zeromq (4.3.4-r0) 15:52:05 Executing busybox-1.34.1-r5.trigger 15:52:05 OK: 8 MiB in 20 packages 15:52:05 Removing intermediate container dd5653b35229 15:52:05 ---> 6b8a84edf696 15:52:05 Step 17/26 : WORKDIR / 15:52:05 ---> Running in 7e2bf8772302 15:52:05 Removing intermediate container 7e2bf8772302 15:52:05 ---> bf95fc28b2a8 15:52:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:52:06 ---> bc7c9fa8e567 15:52:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:52:06 ---> 0b8e6465e40c 15:52:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:52:07 ---> 0bc2bf462001 15:52:07 Step 21/26 : EXPOSE 59984 15:52:07 ---> Running in b7f46dc298c7 15:52:07 Removing intermediate container b7f46dc298c7 15:52:07 ---> 469ae8855ea1 15:52:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:52:07 ---> Running in e9bb7b067e2d 15:52:07 Removing intermediate container e9bb7b067e2d 15:52:07 ---> b29bc5a110c9 15:52:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:52:07 ---> Running in d04c36b18b94 15:52:08 Removing intermediate container d04c36b18b94 15:52:08 ---> 50e040d10132 15:52:08 Step 24/26 : LABEL arch=arm64 15:52:08 ---> Running in 15be3a14f6b6 15:52:08 Removing intermediate container 15be3a14f6b6 15:52:08 ---> cba3f751bf4d 15:52:08 Step 25/26 : LABEL git_sha=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:52:08 ---> Running in 62ac1150af5e 15:52:09 Removing intermediate container 62ac1150af5e 15:52:09 ---> 7ee46bbbe6e1 15:52:09 Step 26/26 : LABEL version=0.0.1-dev.24 15:52:09 ---> Running in d31d7ce63b57 15:52:09 Removing intermediate container d31d7ce63b57 15:52:09 ---> 9c7a35d0cd74 15:52:09 [Warning] One or more build-args [ARCH] were not consumed 15:52:09 Successfully built 9c7a35d0cd74 15:52:09 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 15:52:09 provisioning config files... 15:52:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/27@tmp/config3584344539289496972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:10 ---> docker-login.sh 15:52:10 nexus3.edgexfoundry.org:10001 15:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:10 Configure a credential helper to remove this warning. See 15:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:10 15:52:10 Login Succeeded 15:52:10 nexus3.edgexfoundry.org:10002 15:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:10 Configure a credential helper to remove this warning. See 15:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:10 15:52:10 Login Succeeded 15:52:10 nexus3.edgexfoundry.org:10003 15:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:11 Configure a credential helper to remove this warning. See 15:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:11 15:52:11 Login Succeeded 15:52:11 nexus3.edgexfoundry.org:10004 15:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:12 Configure a credential helper to remove this warning. See 15:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:12 15:52:12 Login Succeeded 15:52:12 docker.io 15:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:12 Configure a credential helper to remove this warning. See 15:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:12 15:52:12 Login Succeeded 15:52:12 ---> docker-login.sh ends [Pipeline] } 15:52:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:13 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 15:52:13 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:52:13 latest 15:52:13 0.0.1-dev.24 15:52:13 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:52:13 main 15:52:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:13 7e508d915def: Preparing 15:52:13 166aeec3e8a0: Preparing 15:52:13 5869a3f2fe9b: Preparing 15:52:13 65a6eb68c125: Preparing 15:52:13 4f4ce317c6bb: Preparing 15:52:14 4f4ce317c6bb: Layer already exists 15:52:14 166aeec3e8a0: Pushed 15:52:14 7e508d915def: Pushed 15:52:14 65a6eb68c125: Pushed 15:52:20 5869a3f2fe9b: Pushed 15:52:20 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766: digest: sha256:ae98b9b6a9d290fcf5e12ef6997fa461b256ba220aa5298262f5e4379354cff3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:20 + 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 15:52:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:20 7e508d915def: Preparing 15:52:20 166aeec3e8a0: Preparing 15:52:20 5869a3f2fe9b: Preparing 15:52:20 65a6eb68c125: Preparing 15:52:20 4f4ce317c6bb: Preparing 15:52:20 65a6eb68c125: Layer already exists 15:52:20 7e508d915def: Layer already exists 15:52:20 5869a3f2fe9b: Layer already exists 15:52:20 4f4ce317c6bb: Layer already exists 15:52:20 166aeec3e8a0: Layer already exists 15:52:21 latest: digest: sha256:ae98b9b6a9d290fcf5e12ef6997fa461b256ba220aa5298262f5e4379354cff3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:21 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.24 15:52:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:21 7e508d915def: Preparing 15:52:21 166aeec3e8a0: Preparing 15:52:21 5869a3f2fe9b: Preparing 15:52:21 65a6eb68c125: Preparing 15:52:21 4f4ce317c6bb: Preparing 15:52:21 7e508d915def: Layer already exists 15:52:21 166aeec3e8a0: Layer already exists 15:52:21 4f4ce317c6bb: Layer already exists 15:52:21 5869a3f2fe9b: Layer already exists 15:52:21 65a6eb68c125: Layer already exists 15:52:22 0.0.1-dev.24: digest: sha256:ae98b9b6a9d290fcf5e12ef6997fa461b256ba220aa5298262f5e4379354cff3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:22 7e508d915def: Preparing 15:52:22 166aeec3e8a0: Preparing 15:52:22 5869a3f2fe9b: Preparing 15:52:22 65a6eb68c125: Preparing 15:52:22 4f4ce317c6bb: Preparing 15:52:22 7e508d915def: Layer already exists 15:52:22 4f4ce317c6bb: Layer already exists 15:52:22 166aeec3e8a0: Layer already exists 15:52:22 65a6eb68c125: Layer already exists 15:52:22 5869a3f2fe9b: Layer already exists 15:52:23 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24: digest: sha256:ae98b9b6a9d290fcf5e12ef6997fa461b256ba220aa5298262f5e4379354cff3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:23 + 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 15:52:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 15:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:23 7e508d915def: Preparing 15:52:23 166aeec3e8a0: Preparing 15:52:23 5869a3f2fe9b: Preparing 15:52:23 65a6eb68c125: Preparing 15:52:23 4f4ce317c6bb: Preparing 15:52:23 4f4ce317c6bb: Layer already exists 15:52:23 7e508d915def: Layer already exists 15:52:23 65a6eb68c125: Layer already exists 15:52:23 166aeec3e8a0: Layer already exists 15:52:23 5869a3f2fe9b: Layer already exists 15:52:24 main: digest: sha256:ae98b9b6a9d290fcf5e12ef6997fa461b256ba220aa5298262f5e4379354cff3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:24 ===================================================== [Pipeline] echo 15:52:24 taggedImages: 15:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 15:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.24 15:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766-0.0.1-dev.24 15:52:24 - 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 15:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:24 15:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:25 arm64: Pulling from edgex-lftools-log-publisher 15:52:25 8998bd30e6a1: Pulling fs layer 15:52:25 04944245beec: Pulling fs layer 15:52:25 699f458cf7ca: Pulling fs layer 15:52:25 765212b225bb: Pulling fs layer 15:52:25 f23df028b6ca: Pulling fs layer 15:52:25 d65c8cfc05b1: Pulling fs layer 15:52:25 2437ff75d9bd: Pulling fs layer 15:52:25 765212b225bb: Waiting 15:52:25 d65c8cfc05b1: Waiting 15:52:25 2437ff75d9bd: Waiting 15:52:25 f23df028b6ca: Waiting 15:52:25 04944245beec: Verifying Checksum 15:52:25 04944245beec: Download complete 15:52:25 765212b225bb: Verifying Checksum 15:52:25 765212b225bb: Download complete 15:52:25 f23df028b6ca: Verifying Checksum 15:52:25 f23df028b6ca: Download complete 15:52:25 d65c8cfc05b1: Verifying Checksum 15:52:25 d65c8cfc05b1: Download complete 15:52:25 699f458cf7ca: Verifying Checksum 15:52:25 699f458cf7ca: Download complete 15:52:25 8998bd30e6a1: Verifying Checksum 15:52:25 8998bd30e6a1: Download complete 15:52:28 2437ff75d9bd: Verifying Checksum 15:52:28 2437ff75d9bd: Download complete 15:52:30 8998bd30e6a1: Pull complete 15:52:30 04944245beec: Pull complete 15:52:32 699f458cf7ca: Pull complete 15:52:32 765212b225bb: Pull complete 15:52:33 f23df028b6ca: Pull complete 15:52:33 d65c8cfc05b1: Pull complete 15:52:48 2437ff75d9bd: Pull complete 15:52:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:49 prd-ubuntu20.04-docker-arm64-4c-16g-19953 does not seem to be running inside a container 15:52:49 $ 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/27 -v /w/workspace/device-onvif-camera/27:/w/workspace/device-onvif-camera/27:rw,z -v /w/workspace/device-onvif-camera/27@tmp:/w/workspace/device-onvif-camera/27@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 15:52:52 $ docker top a61bb19ac1419b7b04c3b0beae1a1f8607c8a3b2f142e586dd9bf4c3fcc25f66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:53 ---> job-cost.sh 15:52:53 lf-activate-venv: SKIPPING 15:52:53 INFO: No Stack... 15:52:53 INFO: Retrieving Pricing Info for: v3-standard-4 15:52:54 INFO: Archiving Costs [Pipeline] sh 15:52:55 + + cut -d,cat -f6 /w/workspace/device-onvif-camera/27/archives/cost.csv 15:52:55 [Pipeline] lock 15:52:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] 15:52:55 Resource [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] did not exist. Created. 15:52:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:56 /w/workspace/device-onvif-camera/27@tmp/durable-efe75841/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:52:56 + echo total: 0.10999999940395355 [Pipeline] stash 15:52:56 Warning: overwriting stash ‘stack-cost’ 15:52:56 Stashed 1 file(s) [Pipeline] } 15:52:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:56 $ docker stop --time=1 a61bb19ac1419b7b04c3b0beae1a1f8607c8a3b2f142e586dd9bf4c3fcc25f66 15:52:58 $ docker rm -f a61bb19ac1419b7b04c3b0beae1a1f8607c8a3b2f142e586dd9bf4c3fcc25f66 [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 15:52:59 provisioning config files... 15:52:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5083944484743293784tmp [Pipeline] { [Pipeline] sh 15:52:59 + set +x 15:52:59 + curl -s https://codecov.io/bash 15:52:59 + bash -s -- 15:52:59 15:52:59 _____ _ 15:52:59 / ____| | | 15:52:59 | | ___ __| | ___ ___ _____ __ 15:52:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:52:59 | |___| (_) | (_| | __/ (_| (_) \ V / 15:52:59 \_____\___/ \__,_|\___|\___\___/ \_/ 15:52:59 Bash-1.0.6 15:52:59 15:52:59 15:52:59 ==> git version 2.25.1 found 15:52:59 ==> 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 15:52:59 Release-Date: 2020-01-08 15:52:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:52:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:52:59 ==> Jenkins CI detected. 15:52:59 current dir:  /w/workspace/foundry_device-onvif-camera_main 15:52:59 project root: . 15:52:59 --> token set from env 15:52:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:52:59 ==> Running gcov in . (disable via -X gcov) 15:52:59 ==> Python coveragepy not found 15:52:59 ==> Searching for coverage reports in: 15:52:59 + . 15:52:59 -> Found 1 reports 15:52:59 ==> Detecting git/mercurial file structure 15:52:59 ==> Reading reports 15:52:59 + ./coverage.out bytes=70262 15:52:59 ==> Appending adjustments 15:52:59 https://docs.codecov.io/docs/fixing-reports 15:52:59 + Found adjustments 15:52:59 ==> Gzipping contents 15:52:59 12K /tmp/codecov.KbFzzi.gz 15:52:59 ==> Uploading reports 15:52:59 url: https://codecov.io 15:52:59 query: branch=main&commit=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:52:59 -> Pinging Codecov 15:52:59 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=82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:52:59 -> Uploading to 15:52:59 https://storage.googleapis.com/codecov/v4/raw/2022-07-14/F29A59C45E3A92E06B3E522C9905F8EF/82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766/d18a6044-012f-420c-9b96-da7c0ba913c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220714T155259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ecb0599f758d9715edcf432b7f5e17fe1a54b7c92e45a24d8904268a50ab37f 15:52:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:59 Dload Upload Total Spent Left Speed 15:53:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9529 0 0 100 9529 0 39053 --:--:-- --:--:-- --:--:-- 39053 15:53:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] } 15:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:00 15:53:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:00 df9b9388f04a: Already exists 15:53:00 52dc419b0ee2: Pulling fs layer 15:53:00 25bc292e5bac: Pulling fs layer 15:53:00 114826534d7a: Pulling fs layer 15:53:00 4657fd5d0bcf: Pulling fs layer 15:53:00 6ad1cebc031e: Pulling fs layer 15:53:00 8a3aa393b2d8: Pulling fs layer 15:53:00 4657fd5d0bcf: Waiting 15:53:00 6ad1cebc031e: Waiting 15:53:00 8a3aa393b2d8: Waiting 15:53:00 25bc292e5bac: Verifying Checksum 15:53:00 25bc292e5bac: Download complete 15:53:00 52dc419b0ee2: Download complete 15:53:00 4657fd5d0bcf: Verifying Checksum 15:53:00 4657fd5d0bcf: Download complete 15:53:01 52dc419b0ee2: Pull complete 15:53:01 6ad1cebc031e: Verifying Checksum 15:53:01 6ad1cebc031e: Download complete 15:53:01 25bc292e5bac: Pull complete 15:53:01 114826534d7a: Verifying Checksum 15:53:01 114826534d7a: Download complete 15:53:01 8a3aa393b2d8: Verifying Checksum 15:53:01 8a3aa393b2d8: Download complete 15:53:05 114826534d7a: Pull complete 15:53:05 4657fd5d0bcf: Pull complete 15:53:05 6ad1cebc031e: Pull complete 15:53:08 8a3aa393b2d8: Pull complete 15:53:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:08 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:53:09 $ docker top 8680c70112d3e4d4a84b130ef95dc83ddecc4d5e1a0ed91892bcb3458e36a0aa -eo pid,comm [Pipeline] { [Pipeline] echo 15:53:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 15:53:10 + set -o pipefail 15:53:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 15:53:14 15:53:14 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 15:53:14 15:53:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/fb3d3a7e-841a-4dd5-996d-21acac24c2da 15:53:14 15:53:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:53:14 15:53:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:53:14 15:53:14 15:53:14 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:53:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:53:14 $ docker stop --time=1 8680c70112d3e4d4a84b130ef95dc83ddecc4d5e1a0ed91892bcb3458e36a0aa 15:53:16 $ docker rm -f 8680c70112d3e4d4a84b130ef95dc83ddecc4d5e1a0ed91892bcb3458e36a0aa [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 15:53:17 + git log --format=format:%s -1 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 [Pipeline] sh 15:53:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:18 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:18 $ docker top e3b156c85416c0909084fecc69f4826bb93d0ed0c096318f4c0bea8da47cdf99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:18 [ssh-agent] Looking for ssh-agent implementation... 15:53:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:18 $ docker exec e3b156c85416c0909084fecc69f4826bb93d0ed0c096318f4c0bea8da47cdf99 ssh-agent 15:53:19 SSH_AUTH_SOCK=/tmp/ssh-WTwlgYZwi5lz/agent.33 15:53:19 SSH_AGENT_PID=40 15:53:19 Running ssh-add (command line suppressed) 15:53:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8033487440752784012.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8033487440752784012.key) 15:53:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:19 + git semver tag 15:53:19 2022-07-14 15:53:19,693 [run_tag] DEBUG tag force:False 15:53:19 2022-07-14 15:53:19,693 [check_head_tag] DEBUG check head tag 15:53:19 2022-07-14 15:53:19,694 [execute] INFO git cat-file --batch-check 15:53:19 2022-07-14 15:53:19,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:53:19 2022-07-14 15:53:19,698 [execute] INFO git cat-file --batch 15:53:19 2022-07-14 15:53:19,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:53:19 2022-07-14 15:53:19,710 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:19 2022-07-14 15:53:19,711 [execute] INFO git tag -a v0.0.1-dev.24 -m v0.0.1-dev.24 15:53:19 2022-07-14 15:53:19,711 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.24', '-m', 'v0.0.1-dev.24'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:53:19 2022-07-14 15:53:19,716 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:19 0.0.1-dev.24 [Pipeline] } 15:53:19 $ docker exec --env ******** --env ******** e3b156c85416c0909084fecc69f4826bb93d0ed0c096318f4c0bea8da47cdf99 ssh-agent -k 15:53:19 unset SSH_AUTH_SOCK; 15:53:19 unset SSH_AGENT_PID; 15:53:19 echo Agent pid 40 killed; 15:53:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:20 + git semver [Pipeline] } 15:53:20 $ docker stop --time=1 e3b156c85416c0909084fecc69f4826bb93d0ed0c096318f4c0bea8da47cdf99 15:53:21 $ docker rm -f e3b156c85416c0909084fecc69f4826bb93d0ed0c096318f4c0bea8da47cdf99 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:22 15:53:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:22 0.23.1-centos7: Pulling from edgex-lftools 15:53:22 ab5ef0e58194: Pulling fs layer 15:53:22 9712f1f96733: Pulling fs layer 15:53:22 63f879dbbcfc: Pulling fs layer 15:53:22 0d9ebad4ef96: Pulling fs layer 15:53:22 e9a5061849ea: Pulling fs layer 15:53:22 d747dcd14b5f: Pulling fs layer 15:53:22 2de7ff778b66: Pulling fs layer 15:53:22 d747dcd14b5f: Waiting 15:53:22 2de7ff778b66: Waiting 15:53:22 0d9ebad4ef96: Waiting 15:53:22 e9a5061849ea: Waiting 15:53:22 9712f1f96733: Verifying Checksum 15:53:22 9712f1f96733: Download complete 15:53:22 63f879dbbcfc: Verifying Checksum 15:53:22 63f879dbbcfc: Download complete 15:53:23 e9a5061849ea: Verifying Checksum 15:53:23 e9a5061849ea: Download complete 15:53:23 0d9ebad4ef96: Verifying Checksum 15:53:23 0d9ebad4ef96: Download complete 15:53:23 d747dcd14b5f: Verifying Checksum 15:53:23 d747dcd14b5f: Download complete 15:53:23 ab5ef0e58194: Verifying Checksum 15:53:23 ab5ef0e58194: Download complete 15:53:23 2de7ff778b66: Verifying Checksum 15:53:23 2de7ff778b66: Download complete 15:53:26 ab5ef0e58194: Pull complete 15:53:26 9712f1f96733: Pull complete 15:53:26 63f879dbbcfc: Pull complete 15:53:30 0d9ebad4ef96: Pull complete 15:53:30 e9a5061849ea: Pull complete 15:53:30 d747dcd14b5f: Pull complete 15:53:31 2de7ff778b66: Pull complete 15:53:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:53:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:31 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:53:33 $ docker top c89a14b019170c85665902ba1194915ed47a5c827ad4dff8de9899b85c14835d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:53:33 provisioning config files... 15:53:33 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1436065349128630208tmp 15:53:33 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2304369301422355631tmp 15:53:33 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6618629397545816049tmp [Pipeline] { [Pipeline] echo 15:53:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:53:34 ---> sigul-configuration.sh 15:53:34 gpg: directory `/root/.gnupg' created 15:53:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:53:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:53:34 gpg: keyring `/root/.gnupg/secring.gpg' created 15:53:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:53:34 gpg: CAST5 encrypted data 15:53:34 gpg: encrypted with 1 passphrase 15:53:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:53:34 + mkdir /home/jenkins 15:53:34 + mkdir /home/jenkins/sigul [Pipeline] sh 15:53:34 + 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 15:53:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:53:34 ---> sigul-install.sh 15:53:34 Sigul already installed; skipping installation. [Pipeline] sh 15:53:35 + git tag --list 15:53:35 v0.0.0 15:53:35 v0.0.1-dev.1 15:53:35 v0.0.1-dev.10 15:53:35 v0.0.1-dev.11 15:53:35 v0.0.1-dev.12 15:53:35 v0.0.1-dev.13 15:53:35 v0.0.1-dev.14 15:53:35 v0.0.1-dev.15 15:53:35 v0.0.1-dev.16 15:53:35 v0.0.1-dev.17 15:53:35 v0.0.1-dev.18 15:53:35 v0.0.1-dev.19 15:53:35 v0.0.1-dev.2 15:53:35 v0.0.1-dev.20 15:53:35 v0.0.1-dev.21 15:53:35 v0.0.1-dev.22 15:53:35 v0.0.1-dev.23 15:53:35 v0.0.1-dev.24 15:53:35 v0.0.1-dev.3 15:53:35 v0.0.1-dev.4 15:53:35 v0.0.1-dev.5 15:53:35 v0.0.1-dev.6 15:53:35 v0.0.1-dev.7 15:53:35 v0.0.1-dev.8 15:53:35 v0.0.1-dev.9 [Pipeline] sh 15:53:35 + lftools sign git-tag v0.0.1-dev.24 15:53:36 Signing Git tag with Sigul... 15:53:36 Signing v0.0.1-dev.24 [Pipeline] echo 15:53:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:53:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:53:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:53:36 $ docker stop --time=1 c89a14b019170c85665902ba1194915ed47a5c827ad4dff8de9899b85c14835d 15:53:38 $ docker rm -f c89a14b019170c85665902ba1194915ed47a5c827ad4dff8de9899b85c14835d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:53:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:39 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:39 $ docker top f6f5597397a2b6387eff4f321ba971b41032f4ed9588e9e25a9e5da5090c3608 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:39 [ssh-agent] Looking for ssh-agent implementation... 15:53:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:39 $ docker exec f6f5597397a2b6387eff4f321ba971b41032f4ed9588e9e25a9e5da5090c3608 ssh-agent 15:53:39 SSH_AUTH_SOCK=/tmp/ssh-7aU5BmAD4qy5/agent.34 15:53:39 SSH_AGENT_PID=42 15:53:39 Running ssh-add (command line suppressed) 15:53:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8115223841310261520.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8115223841310261520.key) 15:53:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:40 + git semver bump pre 15:53:40 2022-07-14 15:53:40,439 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:40 2022-07-14 15:53:40,439 [bump_version] DEBUG bumping version:0.0.1-dev.24 on axis:pre with prefix:dev 15:53:40 2022-07-14 15:53:40,440 [bump_version] DEBUG bumped version:0.0.1-dev.25 15:53:40 2022-07-14 15:53:40,440 [write_version] DEBUG write version:0.0.1-dev.25 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 15:53:40 2022-07-14 15:53:40,440 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:40 2022-07-14 15:53:40,440 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:40 2022-07-14 15:53:40,442 [execute] INFO git cat-file --batch-check 15:53:40 2022-07-14 15:53:40,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:40 2022-07-14 15:53:40,448 [execute] INFO git cat-file --batch 15:53:40 2022-07-14 15:53:40,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:40 2022-07-14 15:53:40,453 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:40 0.0.1-dev.25 [Pipeline] } 15:53:40 $ docker exec --env ******** --env ******** f6f5597397a2b6387eff4f321ba971b41032f4ed9588e9e25a9e5da5090c3608 ssh-agent -k 15:53:40 unset SSH_AUTH_SOCK; 15:53:40 unset SSH_AGENT_PID; 15:53:40 echo Agent pid 42 killed; 15:53:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:40 + git semver [Pipeline] } 15:53:41 $ docker stop --time=1 f6f5597397a2b6387eff4f321ba971b41032f4ed9588e9e25a9e5da5090c3608 15:53:42 $ docker rm -f f6f5597397a2b6387eff4f321ba971b41032f4ed9588e9e25a9e5da5090c3608 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:43 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:43 $ docker top d7e7ec257b3c0d4d3b1f9e6d223464fc1e49bf82594278e09b4960c20dbf65d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:43 [ssh-agent] Looking for ssh-agent implementation... 15:53:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:43 $ docker exec d7e7ec257b3c0d4d3b1f9e6d223464fc1e49bf82594278e09b4960c20dbf65d6 ssh-agent 15:53:44 SSH_AUTH_SOCK=/tmp/ssh-NFnMwlrk09sG/agent.33 15:53:44 SSH_AGENT_PID=39 15:53:44 Running ssh-add (command line suppressed) 15:53:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_991760301041266778.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_991760301041266778.key) 15:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:44 + git semver push 15:53:44 2022-07-14 15:53:44,681 [run_push] DEBUG push 15:53:44 2022-07-14 15:53:44,682 [execute] INFO git cat-file --batch-check 15:53:44 2022-07-14 15:53:44,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:44 2022-07-14 15:53:44,686 [execute] INFO git rev-list 7bf8ac2449b25ef48eec8923a10d9a0ca2a18fdd -- 15:53:44 2022-07-14 15:53:44,686 [execute] DEBUG Popen(['git', 'rev-list', '7bf8ac2449b25ef48eec8923a10d9a0ca2a18fdd', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:53:44 2022-07-14 15:53:44,691 [execute] INFO git fetch -v origin 15:53:44 2022-07-14 15:53:44,691 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:53:45 2022-07-14 15:53:45,121 [run_push] DEBUG no remote changes detected 15:53:45 2022-07-14 15:53:45,122 [execute] INFO git push origin semver 15:53:45 2022-07-14 15:53:45,122 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:53:45 2022-07-14 15:53:45,796 [run_push] DEBUG push all version tags 15:53:45 2022-07-14 15:53:45,796 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:53:45 2022-07-14 15:53:45,796 [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) 15:53:46 2022-07-14 15:53:46,521 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:46 0.0.1-dev.25 [Pipeline] } 15:53:46 $ docker exec --env ******** --env ******** d7e7ec257b3c0d4d3b1f9e6d223464fc1e49bf82594278e09b4960c20dbf65d6 ssh-agent -k 15:53:46 unset SSH_AUTH_SOCK; 15:53:46 unset SSH_AGENT_PID; 15:53:46 echo Agent pid 39 killed; 15:53:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:47 + git semver [Pipeline] } 15:53:47 $ docker stop --time=1 d7e7ec257b3c0d4d3b1f9e6d223464fc1e49bf82594278e09b4960c20dbf65d6 15:53:48 $ docker rm -f d7e7ec257b3c0d4d3b1f9e6d223464fc1e49bf82594278e09b4960c20dbf65d6 [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 15:53:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:53:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:53:49 total 16 15:53:49 drwxr-xr-x 3 root root 4096 Jul 14 15:42 . 15:53:49 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 15:53 .. 15:53:49 drwxr-xr-x 2 root root 4096 Jul 14 15:42 cost 15:53:49 -rw-r--r-- 1 root root 89 Jul 14 15:42 cost.csv 15:53:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:53:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:53:49 total 16 15:53:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 15:42 . 15:53:49 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 15:53 .. 15:53:49 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 15:42 cost 15:53:49 -rw-r--r-- 1 jenkins jenkins 89 Jul 14 15:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:53:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:53:50 ---> package-listing.sh 15:53:50 ++ facter osfamily 15:53:50 ++ tr '[:upper:]' '[:lower:]' 15:53:50 + OS_FAMILY=debian 15:53:50 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:53:50 + START_PACKAGES=/tmp/packages_start.txt 15:53:50 + END_PACKAGES=/tmp/packages_end.txt 15:53:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:53:50 + PACKAGES=/tmp/packages_start.txt 15:53:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:53:50 + PACKAGES=/tmp/packages_end.txt 15:53:50 + case "${OS_FAMILY}" in 15:53:50 + dpkg -l 15:53:50 + grep '^ii' 15:53:50 + '[' -f /tmp/packages_start.txt ']' 15:53:50 + '[' -f /tmp/packages_end.txt ']' 15:53:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:53:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:53:50 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:53:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:53:50 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 15:53:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:51 prd-ubuntu20.04-docker-8c-8g-19947 does not seem to be running inside a container 15:53:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:53:52 $ docker top ce0b9f28feee0b8d109352009085f06b3c544655b18895636242ca2b58ba27f9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:52 + touch /tmp/pre-build-complete [Pipeline] sh 15:53:52 + mkdir -p /var/log/sysstat [Pipeline] sh 15:53:52 + ls /var/log/sa-host 15:53:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:53 provisioning config files... 15:53:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6492594821195453190tmp [Pipeline] { [Pipeline] echo 15:53:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:53:53 ---> create-netrc.sh [Pipeline] } 15:53:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:53:53 ---> python-tools-install.sh [Pipeline] echo 15:53:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:53:53 ---> sudo-logs.sh 15:53:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:53:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:53:54 ---> job-cost.sh 15:53:54 lf-activate-venv: SKIPPING 15:53:54 DEBUG: total: 0.2199999988079071 15:53:54 INFO: Retrieving Stack Cost... 15:53:54 INFO: Retrieving Pricing Info for: v3-standard-8 15:53:55 INFO: Archiving Costs [Pipeline] echo 15:53:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:53:55 ---> logs-deploy.sh 15:53:55 lf-activate-venv: SKIPPING 15:53:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/27 15:53:55 INFO: archiving workspace using pattern(s): 15:53:56 Archives upload complete. 15:53:56 INFO: archiving logs to Nexus