Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 616f9b7f3df7e26effd8e78eedd08e203ccc93ff 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-ssh6461747955898476961.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-ssh6241840278242262506.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-ssh14112846674156752350.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-ssh14935112597182479980.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh1795749698773635926.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22350’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22352 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 Avoid second fetch Checking out Revision 616f9b7f3df7e26effd8e78eedd08e203ccc93ff (main) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 616f9b7f3df7e26effd8e78eedd08e203ccc93ff # timeout=10 Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions (#127)" > git rev-list --no-walk 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:02:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:02:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:02:37 ========================================================= 00:02:37 EdgeX Global Pipelines Version Info 00:02:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:02:38 ------------------- 00:02:38 stable info: 00:02:38 ------------------- 00:02:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:02:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:02:38 Message: update stable to v1.0.238 00:02:38 ------------------- 00:02:38 experimental info: 00:02:38 ------------------- 00:02:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:02:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:02:38 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 616f9b7 [Pipeline] echo 00:02:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:39 provisioning config files... 00:02:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5963275667498844153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:39 ---> docker-login.sh 00:02:39 nexus3.edgexfoundry.org:10001 00:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:39 Configure a credential helper to remove this warning. See 00:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:39 00:02:39 Login Succeeded 00:02:39 nexus3.edgexfoundry.org:10002 00:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:40 Configure a credential helper to remove this warning. See 00:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:40 00:02:40 Login Succeeded 00:02:40 nexus3.edgexfoundry.org:10003 00:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:40 Configure a credential helper to remove this warning. See 00:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:40 00:02:40 Login Succeeded 00:02:40 nexus3.edgexfoundry.org:10004 00:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:40 Configure a credential helper to remove this warning. See 00:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:40 00:02:40 Login Succeeded 00:02:40 docker.io 00:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:40 Configure a credential helper to remove this warning. See 00:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:40 00:02:40 Login Succeeded 00:02:40 ---> docker-login.sh ends [Pipeline] } 00:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:02:40 + git rev-list -1 --merges 616f9b7f3df7e26effd8e78eedd08e203ccc93ff~1..616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] echo 00:02:41 -----------> git rev-list -1 --merges 616f9b7f3df7e26effd8e78eedd08e203ccc93ff~1..616f9b7f3df7e26effd8e78eedd08e203ccc93ff 616f9b7f3df7e26effd8e78eedd08e203ccc93ff [false] [Pipeline] sh 00:02:41 + git log --format=format:%s -1 616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] echo 00:02:41 ========================================================= 00:02:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:02:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:41 + git log --format=format:%s -1 616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] echo 00:02:41 [semverPrep] GIT_COMMIT: 616f9b7f3df7e26effd8e78eedd08e203ccc93ff, Commit Message: build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions (#127) [Pipeline] echo 00:02:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:02:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:42 + grep -v github /etc/ssh/ssh_known_hosts 00:02:42 + [ -e /tmp/ssh_known_hosts ] 00:02:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:02:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:02:42 + sudo tee -a /etc/ssh/ssh_known_hosts 00:02:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:42 00:02:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:02:42 b85a868b505f: Pulling fs layer 00:02:42 e2be974225ed: Pulling fs layer 00:02:42 339a4e72a1f5: Pulling fs layer 00:02:42 988bab9f4d93: Pulling fs layer 00:02:42 1469e6f7b9e6: Pulling fs layer 00:02:42 eaf3925da568: Pulling fs layer 00:02:42 bab4dde63d76: Pulling fs layer 00:02:42 bde34c3a00c8: Pulling fs layer 00:02:42 b352a97aabf1: Pulling fs layer 00:02:42 4872d77fe225: Pulling fs layer 00:02:42 5851b861e8e6: Pulling fs layer 00:02:42 1469e6f7b9e6: Waiting 00:02:42 eaf3925da568: Waiting 00:02:42 4872d77fe225: Waiting 00:02:42 bde34c3a00c8: Waiting 00:02:42 b352a97aabf1: Waiting 00:02:42 988bab9f4d93: Waiting 00:02:42 5851b861e8e6: Waiting 00:02:42 bab4dde63d76: Waiting 00:02:42 e2be974225ed: Download complete 00:02:42 988bab9f4d93: Download complete 00:02:42 1469e6f7b9e6: Verifying Checksum 00:02:42 1469e6f7b9e6: Download complete 00:02:42 eaf3925da568: Download complete 00:02:42 339a4e72a1f5: Verifying Checksum 00:02:42 339a4e72a1f5: Download complete 00:02:42 bde34c3a00c8: Download complete 00:02:42 b352a97aabf1: Download complete 00:02:42 4872d77fe225: Download complete 00:02:42 5851b861e8e6: Verifying Checksum 00:02:42 5851b861e8e6: Download complete 00:02:42 b85a868b505f: Verifying Checksum 00:02:42 b85a868b505f: Download complete 00:02:43 bab4dde63d76: Verifying Checksum 00:02:43 bab4dde63d76: Download complete 00:02:44 b85a868b505f: Pull complete 00:02:44 e2be974225ed: Pull complete 00:02:44 339a4e72a1f5: Pull complete 00:02:44 988bab9f4d93: Pull complete 00:02:44 1469e6f7b9e6: Pull complete 00:02:45 eaf3925da568: Pull complete 00:02:47 bab4dde63d76: Pull complete 00:02:47 bde34c3a00c8: Pull complete 00:02:47 b352a97aabf1: Pull complete 00:02:47 4872d77fe225: Pull complete 00:02:47 5851b861e8e6: Pull complete 00:02:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:02:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:47 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:50 $ docker top 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 -eo pid,comm 00:02:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:50 [ssh-agent] Looking for ssh-agent implementation... 00:02:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:50 $ docker exec 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 ssh-agent 00:02:51 SSH_AUTH_SOCK=/tmp/ssh-7F63SiuVBNo4/agent.34 00:02:51 SSH_AGENT_PID=40 00:02:51 Running ssh-add (command line suppressed) 00:02:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4695495885185597958.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4695495885185597958.key) 00:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:51 + git tag --points-at HEAD [Pipeline] } 00:02:51 $ docker exec --env ******** --env ******** 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 ssh-agent -k 00:02:51 unset SSH_AUTH_SOCK; 00:02:51 unset SSH_AGENT_PID; 00:02:51 echo Agent pid 40 killed; 00:02:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:51 [ssh-agent] Looking for ssh-agent implementation... 00:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:51 $ docker exec 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 ssh-agent 00:02:51 SSH_AUTH_SOCK=/tmp/ssh-4sjdotNnMjRB/agent.73 00:02:51 SSH_AGENT_PID=80 00:02:51 Running ssh-add (command line suppressed) 00:02:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8415462228778757784.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8415462228778757784.key) 00:02:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:52 + git semver init 00:02:52 2022-08-10 00:02:52,504 [run_init] DEBUG init version:0.0.0 force:False 00:02:52 2022-08-10 00:02:52,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 00:02:52 2022-08-10 00:02:52,505 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 00:02:52 2022-08-10 00:02:52,505 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:02:53 2022-08-10 00:02:53,307 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 00:02:53 2022-08-10 00:02:53,307 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 00:02:53 2022-08-10 00:02:53,307 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:02:53 2022-08-10 00:02:53,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:02:53 2.3.0-dev.1 [Pipeline] } 00:02:53 $ docker exec --env ******** --env ******** 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 ssh-agent -k 00:02:53 unset SSH_AUTH_SOCK; 00:02:53 unset SSH_AGENT_PID; 00:02:53 echo Agent pid 80 killed; 00:02:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:53 + git semver [Pipeline] } 00:02:54 $ docker stop --time=1 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 00:02:56 $ docker rm -f 68f373a17a2fafc0c957bee92cad5081ed432f12fd0eb59dc5335ac5a6b7fc91 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:02:57 Stashed 1 file(s) [Pipeline] echo 00:02:57 [edgeXSemver]: initialized semver on version 2.3.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:57 provisioning config files... 00:02:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3727566383856967877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:57 ---> docker-login.sh 00:02:57 nexus3.edgexfoundry.org:10001 00:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:57 Configure a credential helper to remove this warning. See 00:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:57 00:02:57 Login Succeeded 00:02:57 nexus3.edgexfoundry.org:10002 00:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:58 Configure a credential helper to remove this warning. See 00:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:58 00:02:58 Login Succeeded 00:02:58 nexus3.edgexfoundry.org:10003 00:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:58 Configure a credential helper to remove this warning. See 00:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:58 00:02:58 Login Succeeded 00:02:58 nexus3.edgexfoundry.org:10004 00:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:58 Configure a credential helper to remove this warning. See 00:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:58 00:02:58 Login Succeeded 00:02:58 docker.io 00:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:59 Configure a credential helper to remove this warning. See 00:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:59 00:02:59 Login Succeeded 00:02:59 ---> docker-login.sh ends [Pipeline] } 00:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:59 ========================================================= 00:02:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:02:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:02:59 Sending build context to Docker daemon 20.05MB 00:02:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:02:59 Step 2/13 : FROM ${BASE} AS builder 00:02:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:02:59 2408cc74d12b: Pulling fs layer 00:02:59 ea60b727a1ce: Pulling fs layer 00:02:59 30c4a7721957: Pulling fs layer 00:02:59 370296b7ddb6: Pulling fs layer 00:02:59 7c6cee850709: Pulling fs layer 00:02:59 39a5fcdaea64: Pulling fs layer 00:02:59 d94ebbe4e438: Pulling fs layer 00:02:59 bcfd1f05c69d: Pulling fs layer 00:02:59 59ccb84bbe0f: Pulling fs layer 00:02:59 370296b7ddb6: Waiting 00:02:59 7c6cee850709: Waiting 00:02:59 39a5fcdaea64: Waiting 00:02:59 d94ebbe4e438: Waiting 00:02:59 bcfd1f05c69d: Waiting 00:02:59 59ccb84bbe0f: Waiting 00:02:59 30c4a7721957: Download complete 00:02:59 ea60b727a1ce: Download complete 00:02:59 7c6cee850709: Verifying Checksum 00:02:59 7c6cee850709: Download complete 00:02:59 39a5fcdaea64: Verifying Checksum 00:02:59 39a5fcdaea64: Download complete 00:02:59 2408cc74d12b: Download complete 00:02:59 d94ebbe4e438: Verifying Checksum 00:02:59 d94ebbe4e438: Download complete 00:02:59 2408cc74d12b: Pull complete 00:03:00 ea60b727a1ce: Pull complete 00:03:00 30c4a7721957: Pull complete 00:03:00 59ccb84bbe0f: Verifying Checksum 00:03:00 59ccb84bbe0f: Download complete 00:03:00 370296b7ddb6: Verifying Checksum 00:03:00 370296b7ddb6: Download complete 00:03:00 bcfd1f05c69d: Verifying Checksum 00:03:00 bcfd1f05c69d: Download complete 00:03:04 370296b7ddb6: Pull complete 00:03:04 7c6cee850709: Pull complete 00:03:04 39a5fcdaea64: Pull complete 00:03:04 d94ebbe4e438: Pull complete 00:03:06 bcfd1f05c69d: Pull complete 00:03:07 59ccb84bbe0f: Pull complete 00:03:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:03:07 ---> a4fb48ad2a94 00:03:07 Step 3/13 : ARG MAKE="make build" 00:03:11 ---> Running in e8e129f407db 00:03:11 Removing intermediate container e8e129f407db 00:03:11 ---> 066643ff306b 00:03:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:03:11 ---> Running in a40aaf7651be 00:03:11 Removing intermediate container a40aaf7651be 00:03:11 ---> 5384f8bfb1d0 00:03:11 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:03:11 ---> Running in e1d5ba73f58e 00:03:11 Removing intermediate container e1d5ba73f58e 00:03:11 ---> edc0a298e232 00:03:11 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:03:11 ---> Running in e3c2289cf1e6 00:03:11 Removing intermediate container e3c2289cf1e6 00:03:11 ---> 3da9c3ab60ec 00:03:11 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:11 ---> Running in e5b74877e510 00:03:12 Removing intermediate container e5b74877e510 00:03:12 ---> fb38d04838ff 00:03:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:12 ---> Running in 67cf8c15cf48 00:03:12 Still waiting to schedule task 00:03:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22351’ 00:03:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:03:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:03:14 OK: 211 MiB in 51 packages 00:03:14 Removing intermediate container 67cf8c15cf48 00:03:14 ---> 6026895ce22f 00:03:14 Step 9/13 : WORKDIR /device-onvif-camera 00:03:14 ---> Running in e0dc252603d3 00:03:14 Removing intermediate container e0dc252603d3 00:03:14 ---> 6199dc8387b9 00:03:14 Step 10/13 : COPY go.mod vendor* ./ 00:03:14 ---> 6b1ab938385f 00:03:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:14 ---> Running in 86afb1b4f62e 00:03:32 Removing intermediate container 86afb1b4f62e 00:03:32 ---> 32b3ab52b1e4 00:03:32 Step 12/13 : COPY . . 00:03:33 ---> 1667afcaf323 00:03:33 Step 13/13 : RUN ${MAKE} 00:03:33 ---> Running in 4505ab75125e 00:03:33 noop 00:03:33 Removing intermediate container 4505ab75125e 00:03:33 ---> a2cb83b40e20 00:03:33 Successfully built a2cb83b40e20 00:03:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:34 + docker inspect -f . ci-base-image-x86_64 00:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:34 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:03:34 $ 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 00:03:34 $ docker top f78a16016648c15b0b2c8d7c2c5f4d52f8e18226e3e910faacff5cbff77e29a0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:34 + go version 00:03:34 go version go1.18.3 linux/amd64 [Pipeline] } 00:03:34 $ docker stop --time=1 f78a16016648c15b0b2c8d7c2c5f4d52f8e18226e3e910faacff5cbff77e29a0 00:03:36 $ docker rm -f f78a16016648c15b0b2c8d7c2c5f4d52f8e18226e3e910faacff5cbff77e29a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:36 + docker inspect -f . ci-base-image-x86_64 00:03:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:36 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:03:36 $ 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 00:03:37 $ docker top 55a98b804628be97ea1356285c4092c18abca1c0746d24faf69a113958bf7669 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:37 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 00:03:37 + make test 00:03:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:03:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:03:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:03:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements 00:03:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:03:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.194s coverage: 13.8% of statements 00:03:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:03:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:04:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:00 ./bin/test-attribution-txt.sh [Pipeline] echo 00:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:00 $ docker stop --time=1 55a98b804628be97ea1356285c4092c18abca1c0746d24faf69a113958bf7669 00:04:02 $ docker rm -f 55a98b804628be97ea1356285c4092c18abca1c0746d24faf69a113958bf7669 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:04 + ls -al . 00:04:04 total 232 00:04:04 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 00:03 . 00:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:02 .. 00:04:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:03 .git 00:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:02 .github 00:04:04 -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 00:02 .gitignore 00:04:04 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 00:02 .golangci.yml 00:04:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:02 .semver 00:04:04 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 00:02 Attribution.txt 00:04:04 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 00:02 CHANGELOG.md 00:04:04 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 00:02 Dockerfile 00:04:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 00:02 GOVERNANCE.md 00:04:04 -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 00:02 Jenkinsfile 00:04:04 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 00:02 LICENSE 00:04:04 -rw-rw-r-- 1 jenkins jenkins 2473 Aug 10 00:02 Makefile 00:04:04 -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 00:02 OWNERS.md 00:04:04 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 00:02 README.md 00:04:04 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 00:02 VERSION 00:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:02 bin 00:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:02 cmd 00:04:04 -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 00:03 coverage.out 00:04:04 drwxrwxr-x 5 jenkins jenkins 4096 Aug 10 00:02 doc 00:04:04 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 00:02 go.mod 00:04:04 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 00:02 go.sum 00:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:02 internal 00:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:02 snap 00:04:04 -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 00:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:04 + 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=616f9b7f3df7e26effd8e78eedd08e203ccc93ff --label arch=amd64 --label version=2.3.0-dev.1 . 00:04:04 Sending build context to Docker daemon 20.12MB 00:04:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:04:04 Step 2/26 : FROM ${BASE} AS builder 00:04:04 ---> a2cb83b40e20 00:04:04 Step 3/26 : ARG MAKE="make build" 00:04:04 ---> Running in 024ab809248c 00:04:04 Removing intermediate container 024ab809248c 00:04:04 ---> 78cbe0f354b4 00:04:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:04:04 ---> Running in 8f0bba2d661c 00:04:04 Removing intermediate container 8f0bba2d661c 00:04:04 ---> 53f7fbca7fb2 00:04:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:04:04 ---> Running in 3c95de2fbaef 00:04:04 Removing intermediate container 3c95de2fbaef 00:04:04 ---> 78f2c1ba226b 00:04:04 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:04:04 ---> Running in 8a71bd7850c4 00:04:04 Removing intermediate container 8a71bd7850c4 00:04:04 ---> 2a4c10c5a1b1 00:04:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:04 ---> Running in 3438ee42cd67 00:04:05 Removing intermediate container 3438ee42cd67 00:04:05 ---> cef647e830fc 00:04:05 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:05 ---> Running in 7613d26b3cbb 00:04:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:04:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:04:07 OK: 211 MiB in 51 packages 00:04:07 Removing intermediate container 7613d26b3cbb 00:04:07 ---> ab56bbef593e 00:04:07 Step 9/26 : WORKDIR /device-onvif-camera 00:04:07 ---> Running in 519eba8eb316 00:04:07 Removing intermediate container 519eba8eb316 00:04:07 ---> 7a5a63b29cc1 00:04:07 Step 10/26 : COPY go.mod vendor* ./ 00:04:07 ---> 52adad248cbd 00:04:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:07 ---> Running in 5dd41d7fea89 00:04:08 Removing intermediate container 5dd41d7fea89 00:04:08 ---> c1c819772605 00:04:08 Step 12/26 : COPY . . 00:04:08 ---> a2a6009daffa 00:04:08 Step 13/26 : RUN ${MAKE} 00:04:08 ---> Running in 8905129864a3 00:04:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:04:30 Removing intermediate container 8905129864a3 00:04:30 ---> b8e1ec79510a 00:04:30 Step 14/26 : FROM alpine:3.16 00:04:30 3.16: Pulling from library/alpine 00:04:30 213ec9aee27d: Pulling fs layer 00:04:30 213ec9aee27d: Verifying Checksum 00:04:30 213ec9aee27d: Download complete 00:04:30 213ec9aee27d: Pull complete 00:04:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:04:30 Status: Downloaded newer image for alpine:3.16 00:04:30 ---> 9c6f07244728 00:04:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:04:30 ---> Running in e8a932b1194a 00:04:30 Removing intermediate container e8a932b1194a 00:04:30 ---> d257f1b22bfd 00:04:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:04:30 ---> Running in a81c75b8c2ef 00:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:04:30 (1/6) Installing dumb-init (1.2.5-r1) 00:04:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:04:30 (3/6) Installing libsodium (1.0.18-r0) 00:04:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:04:30 (5/6) Installing libzmq (4.3.4-r0) 00:04:30 (6/6) Installing zeromq (4.3.4-r0) 00:04:30 Executing busybox-1.35.0-r17.trigger 00:04:30 OK: 8 MiB in 20 packages 00:04:30 Removing intermediate container a81c75b8c2ef 00:04:30 ---> 2081b9db4516 00:04:30 Step 17/26 : WORKDIR / 00:04:30 ---> Running in 9bc2b56370d4 00:04:30 Removing intermediate container 9bc2b56370d4 00:04:30 ---> 46eb7def3019 00:04:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:04:31 ---> e538f8f6a3b0 00:04:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:04:31 ---> 0e03743826e7 00:04:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:04:31 ---> 22e369e726f6 00:04:31 Step 21/26 : EXPOSE 59984 00:04:31 ---> Running in e937999b4b94 00:04:32 Removing intermediate container e937999b4b94 00:04:32 ---> 768cec1bb84a 00:04:32 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:04:32 ---> Running in d3cdf23a4b6b 00:04:32 Removing intermediate container d3cdf23a4b6b 00:04:32 ---> 0fdf8452e5e2 00:04:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:04:32 ---> Running in 94d66a585039 00:04:32 Removing intermediate container 94d66a585039 00:04:32 ---> 88e449d2e223 00:04:32 Step 24/26 : LABEL arch=amd64 00:04:32 ---> Running in 290216ba0852 00:04:32 Removing intermediate container 290216ba0852 00:04:32 ---> 23a080efb71d 00:04:32 Step 25/26 : LABEL git_sha=616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:04:32 ---> Running in ac3fac901386 00:04:32 Removing intermediate container ac3fac901386 00:04:32 ---> c56c5c2ac236 00:04:32 Step 26/26 : LABEL version=2.3.0-dev.1 00:04:32 ---> Running in da63a210cd43 00:04:32 Removing intermediate container da63a210cd43 00:04:32 ---> 6f8e7dbdbc26 00:04:32 [Warning] One or more build-args [ARCH] were not consumed 00:04:32 Successfully built 6f8e7dbdbc26 00:04:32 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:32 provisioning config files... 00:04:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4113684412055145920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:32 ---> docker-login.sh 00:04:32 nexus3.edgexfoundry.org:10001 00:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:32 Configure a credential helper to remove this warning. See 00:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:32 00:04:32 Login Succeeded 00:04:32 nexus3.edgexfoundry.org:10002 00:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:32 Configure a credential helper to remove this warning. See 00:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:32 00:04:32 Login Succeeded 00:04:32 nexus3.edgexfoundry.org:10003 00:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:33 Configure a credential helper to remove this warning. See 00:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:33 00:04:33 Login Succeeded 00:04:33 nexus3.edgexfoundry.org:10004 00:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:33 Configure a credential helper to remove this warning. See 00:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:33 00:04:33 Login Succeeded 00:04:33 docker.io 00:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:33 Configure a credential helper to remove this warning. See 00:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:33 00:04:33 Login Succeeded 00:04:33 ---> docker-login.sh ends [Pipeline] } 00:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:04:33 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 00:04:33 616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:04:33 latest 00:04:33 2.3.0-dev.1 00:04:33 616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:04:33 main 00:04:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:04:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:04:34 51d61985a244: Preparing 00:04:34 ac951bff2c64: Preparing 00:04:34 aa5d3c912072: Preparing 00:04:34 7e887680df7a: Preparing 00:04:34 994393dc58e7: Preparing 00:04:34 994393dc58e7: Layer already exists 00:04:34 ac951bff2c64: Pushed 00:04:34 7e887680df7a: Pushed 00:04:35 51d61985a244: Pushed 00:04:37 aa5d3c912072: Pushed 00:04:37 616f9b7f3df7e26effd8e78eedd08e203ccc93ff: digest: sha256:e6e4e4a24de64eff359a3a5d07ba379a97eef7e3308403018ea8785c532f7884 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:04:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:04:38 51d61985a244: Preparing 00:04:38 ac951bff2c64: Preparing 00:04:38 aa5d3c912072: Preparing 00:04:38 7e887680df7a: Preparing 00:04:38 994393dc58e7: Preparing 00:04:38 51d61985a244: Layer already exists 00:04:38 ac951bff2c64: Layer already exists 00:04:38 aa5d3c912072: Layer already exists 00:04:38 994393dc58e7: Layer already exists 00:04:38 7e887680df7a: Layer already exists 00:04:38 latest: digest: sha256:e6e4e4a24de64eff359a3a5d07ba379a97eef7e3308403018ea8785c532f7884 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.1 00:04:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:04:38 51d61985a244: Preparing 00:04:38 ac951bff2c64: Preparing 00:04:38 aa5d3c912072: Preparing 00:04:38 7e887680df7a: Preparing 00:04:38 994393dc58e7: Preparing 00:04:38 7e887680df7a: Layer already exists 00:04:38 ac951bff2c64: Layer already exists 00:04:38 aa5d3c912072: Layer already exists 00:04:38 994393dc58e7: Layer already exists 00:04:38 51d61985a244: Layer already exists 00:04:38 2.3.0-dev.1: digest: sha256:e6e4e4a24de64eff359a3a5d07ba379a97eef7e3308403018ea8785c532f7884 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:04:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:04:39 51d61985a244: Preparing 00:04:39 ac951bff2c64: Preparing 00:04:39 aa5d3c912072: Preparing 00:04:39 7e887680df7a: Preparing 00:04:39 994393dc58e7: Preparing 00:04:39 994393dc58e7: Layer already exists 00:04:39 aa5d3c912072: Layer already exists 00:04:39 51d61985a244: Layer already exists 00:04:39 7e887680df7a: Layer already exists 00:04:39 ac951bff2c64: Layer already exists 00:04:39 616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1: digest: sha256:e6e4e4a24de64eff359a3a5d07ba379a97eef7e3308403018ea8785c532f7884 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:04:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:04:40 51d61985a244: Preparing 00:04:40 ac951bff2c64: Preparing 00:04:40 aa5d3c912072: Preparing 00:04:40 7e887680df7a: Preparing 00:04:40 994393dc58e7: Preparing 00:04:40 aa5d3c912072: Layer already exists 00:04:40 51d61985a244: Layer already exists 00:04:40 ac951bff2c64: Layer already exists 00:04:40 994393dc58e7: Layer already exists 00:04:40 7e887680df7a: Layer already exists 00:04:40 main: digest: sha256:e6e4e4a24de64eff359a3a5d07ba379a97eef7e3308403018ea8785c532f7884 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:04:40 ===================================================== [Pipeline] echo 00:04:40 taggedImages: 00:04:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:04:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:04:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.1 00:04:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:04: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 00:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:40 00:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:40 latest: Pulling from edgex-lftools-log-publisher 00:04:40 5eb5b503b376: Pulling fs layer 00:04:40 5c69ac0246d0: Pulling fs layer 00:04:40 ec43610c2a17: Pulling fs layer 00:04:40 3a2ae6a8a46f: Pulling fs layer 00:04:40 33b1e0a273af: Pulling fs layer 00:04:40 5d3b04190fa2: Pulling fs layer 00:04:40 2f39f015ded8: Pulling fs layer 00:04:40 3a2ae6a8a46f: Waiting 00:04:40 5d3b04190fa2: Waiting 00:04:40 33b1e0a273af: Waiting 00:04:40 2f39f015ded8: Waiting 00:04:40 5c69ac0246d0: Verifying Checksum 00:04:40 5c69ac0246d0: Download complete 00:04:40 3a2ae6a8a46f: Verifying Checksum 00:04:40 33b1e0a273af: Verifying Checksum 00:04:40 33b1e0a273af: Download complete 00:04:41 5d3b04190fa2: Download complete 00:04:41 ec43610c2a17: Verifying Checksum 00:04:41 ec43610c2a17: Download complete 00:04:41 5eb5b503b376: Verifying Checksum 00:04:41 5eb5b503b376: Download complete 00:04:41 2f39f015ded8: Verifying Checksum 00:04:41 2f39f015ded8: Download complete 00:04:42 5eb5b503b376: Pull complete 00:04:42 5c69ac0246d0: Pull complete 00:04:43 ec43610c2a17: Pull complete 00:04:43 3a2ae6a8a46f: Pull complete 00:04:43 33b1e0a273af: Pull complete 00:04:43 5d3b04190fa2: Pull complete 00:04:48 2f39f015ded8: Pull complete 00:04:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:48 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:04:48 $ 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 00:04:50 $ docker top 05457396630dc2644a12353631cf743301489a694a11fd50d696250ee512dbf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:51 ---> job-cost.sh 00:04:51 lf-activate-venv: SKIPPING 00:04:51 INFO: No Stack... 00:04:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:04:52 INFO: Archiving Costs [Pipeline] sh 00:04:52 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:04:52 + cut -d, -f6 [Pipeline] lock 00:04:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] 00:04:52 Resource [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] did not exist. Created. 00:04:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:52 + echo total: 0.2199999988079071 [Pipeline] stash 00:04:52 Stashed 1 file(s) [Pipeline] } 00:04:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:52 $ docker stop --time=1 05457396630dc2644a12353631cf743301489a694a11fd50d696250ee512dbf4 00:04:54 $ docker rm -f 05457396630dc2644a12353631cf743301489a694a11fd50d696250ee512dbf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:05:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22354 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 00:05:32 Running in /w/workspace/device-onvif-camera/40 [Pipeline] { [Pipeline] checkout 00:05:32 Selected Git installation does not exist. Using Default 00:05:32 The recommended git tool is: NONE 00:05:39 using credential edgex-jenkins-ssh 00:05:39 Cloning the remote Git repository 00:05:39 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:05:39 > git init /w/workspace/device-onvif-camera/40 # timeout=10 00:05:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:05:39 > git --version # timeout=10 00:05:39 > git --version # 'git version 2.25.1' 00:05:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:41 Avoid second fetch 00:05:41 Checking out Revision 616f9b7f3df7e26effd8e78eedd08e203ccc93ff (main) 00:05:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:05:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:41 > git config core.sparsecheckout # timeout=10 00:05:41 > git checkout -f 616f9b7f3df7e26effd8e78eedd08e203ccc93ff # timeout=10 00:05:45 Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions (#127)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:05:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:46 Dload Upload Total Spent Left Speed 00:05:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 00:05:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:05:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:05:47 + sudo tee /etc/docker/daemon.new 00:05:47 { 00:05:47 "registry-mirrors": [ 00:05:47 "https://nexus3.edgexfoundry.org:10001" 00:05:47 ], 00:05:47 "bip": "10.250.0.254/24", 00:05:47 "hosts": [ 00:05:47 "tcp://0.0.0.0:5555", 00:05:47 "unix:///var/run/docker.sock" 00:05:47 ], 00:05:47 "mtu": 1458, 00:05:47 "selinux-enabled": true, 00:05:47 "seccomp-profile": "/etc/docker/seccomp.json" 00:05:47 } [Pipeline] sh 00:05:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:05:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:07 provisioning config files... 00:06:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/40@tmp/config1524953162463499133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:07 ---> docker-login.sh 00:06:07 nexus3.edgexfoundry.org:10001 00:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:08 Configure a credential helper to remove this warning. See 00:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:08 00:06:08 Login Succeeded 00:06:08 nexus3.edgexfoundry.org:10002 00:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:08 Configure a credential helper to remove this warning. See 00:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:08 00:06:08 Login Succeeded 00:06:08 nexus3.edgexfoundry.org:10003 00:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:09 Configure a credential helper to remove this warning. See 00:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:09 00:06:09 Login Succeeded 00:06:09 nexus3.edgexfoundry.org:10004 00:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:09 Configure a credential helper to remove this warning. See 00:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:09 00:06:09 Login Succeeded 00:06:09 docker.io 00:06:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:10 Configure a credential helper to remove this warning. See 00:06:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:10 00:06:10 Login Succeeded 00:06:10 ---> docker-login.sh ends [Pipeline] } 00:06:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:11 ========================================================= 00:06:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:06:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:06:12 Sending build context to Docker daemon 13.64MB 00:06:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:06:12 Step 2/13 : FROM ${BASE} AS builder 00:06:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:06:12 b3c136eddcbf: Pulling fs layer 00:06:12 c0a3192eca97: Pulling fs layer 00:06:12 a050256f5b6f: Pulling fs layer 00:06:12 656be50a0ddc: Pulling fs layer 00:06:12 2bbca73fdf42: Pulling fs layer 00:06:12 46d945488cbd: Pulling fs layer 00:06:12 8a5474983e97: Pulling fs layer 00:06:12 329c88fbcd65: Pulling fs layer 00:06:12 656be50a0ddc: Waiting 00:06:12 46d945488cbd: Waiting 00:06:12 2bbca73fdf42: Waiting 00:06:12 8a5474983e97: Waiting 00:06:12 329c88fbcd65: Waiting 00:06:12 a050256f5b6f: Verifying Checksum 00:06:12 a050256f5b6f: Download complete 00:06:12 c0a3192eca97: Download complete 00:06:12 2bbca73fdf42: Verifying Checksum 00:06:12 2bbca73fdf42: Download complete 00:06:12 46d945488cbd: Verifying Checksum 00:06:12 46d945488cbd: Download complete 00:06:12 b3c136eddcbf: Verifying Checksum 00:06:12 b3c136eddcbf: Download complete 00:06:13 b3c136eddcbf: Pull complete 00:06:13 329c88fbcd65: Verifying Checksum 00:06:13 329c88fbcd65: Download complete 00:06:13 c0a3192eca97: Pull complete 00:06:13 a050256f5b6f: Pull complete 00:06:14 8a5474983e97: Verifying Checksum 00:06:14 8a5474983e97: Download complete 00:06:15 656be50a0ddc: Verifying Checksum 00:06:15 656be50a0ddc: Download complete 00:06:27 656be50a0ddc: Pull complete 00:06:27 2bbca73fdf42: Pull complete 00:06:27 46d945488cbd: Pull complete 00:06:32 8a5474983e97: Pull complete 00:06:34 329c88fbcd65: Pull complete 00:06:34 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:06:34 ---> ff4287adb874 00:06:34 Step 3/13 : ARG MAKE="make build" 00:06:36 ---> Running in 328aec7f9aee 00:06:37 Removing intermediate container 328aec7f9aee 00:06:37 ---> 6953d41c2ddb 00:06:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:06:37 ---> Running in 685907b7a382 00:06:37 Removing intermediate container 685907b7a382 00:06:37 ---> 085c63c44a19 00:06:37 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:06:37 ---> Running in 7e07308b5fa2 00:06:38 Removing intermediate container 7e07308b5fa2 00:06:38 ---> 88cea4ee8ea5 00:06:38 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:06:38 ---> Running in d14d81721440 00:06:38 Removing intermediate container d14d81721440 00:06:38 ---> 98de8d495772 00:06:38 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:38 ---> Running in 2b5a19e6bb46 00:06:40 Removing intermediate container 2b5a19e6bb46 00:06:40 ---> 99c1d36156f2 00:06:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:40 ---> Running in 215068b73eda 00:06:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:06:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:06:44 OK: 221 MiB in 51 packages 00:06:45 Removing intermediate container 215068b73eda 00:06:45 ---> d9a5e2ce1f7d 00:06:45 Step 9/13 : WORKDIR /device-onvif-camera 00:06:45 ---> Running in 0a3fbd3fac37 00:06:45 Removing intermediate container 0a3fbd3fac37 00:06:45 ---> cbfae7684f10 00:06:45 Step 10/13 : COPY go.mod vendor* ./ 00:06:46 ---> fa28825860c7 00:06:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:46 ---> Running in 9aa18a6bacfb 00:07:42 Removing intermediate container 9aa18a6bacfb 00:07:42 ---> 701d0ab68a2c 00:07:42 Step 12/13 : COPY . . 00:07:42 ---> 1e163ede60f2 00:07:42 Step 13/13 : RUN ${MAKE} 00:07:42 ---> Running in fc324d225b44 00:07:42 noop 00:07:42 Removing intermediate container fc324d225b44 00:07:42 ---> 5a9a5327011b 00:07:42 Successfully built 5a9a5327011b 00:07:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:43 + docker inspect -f . ci-base-image-arm64 00:07:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:43 prd-ubuntu20.04-docker-arm64-4c-16g-22354 does not seem to be running inside a container 00:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/40 -v /w/workspace/device-onvif-camera/40:/w/workspace/device-onvif-camera/40:rw,z -v /w/workspace/device-onvif-camera/40@tmp:/w/workspace/device-onvif-camera/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:07:44 $ docker top 8ae38afec49ee137c7ed25c454a858dbf1709d89860b1c0460142a0565f45675 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:45 + go version 00:07:45 go version go1.18.3 linux/arm64 [Pipeline] } 00:07:45 $ docker stop --time=1 8ae38afec49ee137c7ed25c454a858dbf1709d89860b1c0460142a0565f45675 00:07:47 $ docker rm -f 8ae38afec49ee137c7ed25c454a858dbf1709d89860b1c0460142a0565f45675 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:48 + docker inspect -f . ci-base-image-arm64 00:07:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:48 prd-ubuntu20.04-docker-arm64-4c-16g-22354 does not seem to be running inside a container 00:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/40 -v /w/workspace/device-onvif-camera/40:/w/workspace/device-onvif-camera/40:rw,z -v /w/workspace/device-onvif-camera/40@tmp:/w/workspace/device-onvif-camera/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:07:49 $ docker top 09af90af7d903dca49d21493c24199fd4866a0abd4a0de0cc32165a9ca8c0ea3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/40 [Pipeline] fileExists [Pipeline] sh 00:07:51 + make test 00:07:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:07:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:09:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:09:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.135s coverage: 10.6% of statements 00:09:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:09:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.455s coverage: 13.8% of statements 00:09:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:09:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:10:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:10:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:10:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:10:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:10:11 $ docker stop --time=1 09af90af7d903dca49d21493c24199fd4866a0abd4a0de0cc32165a9ca8c0ea3 00:10:13 $ docker rm -f 09af90af7d903dca49d21493c24199fd4866a0abd4a0de0cc32165a9ca8c0ea3 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:14 Warning: overwriting stash ‘coverage-report’ 00:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:10:15 + ls -al . 00:10:15 total 228 00:10:15 drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 00:07 . 00:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:05 .. 00:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:05 .git 00:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:05 .github 00:10:15 -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 00:05 .gitignore 00:10:15 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 00:05 .golangci.yml 00:10:15 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 00:05 Attribution.txt 00:10:15 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 00:05 CHANGELOG.md 00:10:15 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 00:05 Dockerfile 00:10:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 00:05 GOVERNANCE.md 00:10:15 -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 00:05 Jenkinsfile 00:10:15 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 00:05 LICENSE 00:10:15 -rw-rw-r-- 1 jenkins jenkins 2473 Aug 10 00:05 Makefile 00:10:15 -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 00:05 OWNERS.md 00:10:15 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 00:05 README.md 00:10:15 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 00:02 VERSION 00:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:05 bin 00:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:05 cmd 00:10:15 -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 00:09 coverage.out 00:10:15 drwxrwxr-x 5 jenkins jenkins 4096 Aug 10 00:05 doc 00:10:15 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 00:05 go.mod 00:10:15 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 00:05 go.sum 00:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:05 internal 00:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:05 snap 00:10:15 -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 00:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:15 + 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=616f9b7f3df7e26effd8e78eedd08e203ccc93ff --label arch=arm64 --label version=2.3.0-dev.1 . 00:10:16 Sending build context to Docker daemon 13.72MB 00:10:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:10:16 Step 2/26 : FROM ${BASE} AS builder 00:10:16 ---> 5a9a5327011b 00:10:16 Step 3/26 : ARG MAKE="make build" 00:10:16 ---> Running in 3c598bca45c4 00:10:17 Removing intermediate container 3c598bca45c4 00:10:17 ---> 94a1571ac12f 00:10:17 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:10:17 ---> Running in 5e5ee7e6caf7 00:10:17 Removing intermediate container 5e5ee7e6caf7 00:10:17 ---> 8354cdf48323 00:10:17 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:10:17 ---> Running in 726a470814ee 00:10:18 Removing intermediate container 726a470814ee 00:10:18 ---> 1dab9ae11f71 00:10:18 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:10:18 ---> Running in 9716721987ee 00:10:18 Removing intermediate container 9716721987ee 00:10:18 ---> 060ffc1d795a 00:10:18 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:10:18 ---> Running in 7b855da219fb 00:10:20 Removing intermediate container 7b855da219fb 00:10:20 ---> 305f54ca1894 00:10:20 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:20 ---> Running in b2d19aa5c557 00:10:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:10:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:10:23 OK: 221 MiB in 51 packages 00:10:23 Removing intermediate container b2d19aa5c557 00:10:23 ---> a9e66255c346 00:10:23 Step 9/26 : WORKDIR /device-onvif-camera 00:10:23 ---> Running in 87197a621e98 00:10:24 Removing intermediate container 87197a621e98 00:10:24 ---> 368b6b616804 00:10:24 Step 10/26 : COPY go.mod vendor* ./ 00:10:24 ---> 7fcd6dc3f6f4 00:10:24 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:24 ---> Running in 5a502d5db30d 00:10:26 Removing intermediate container 5a502d5db30d 00:10:26 ---> 87dc72cdb049 00:10:26 Step 12/26 : COPY . . 00:10:28 ---> f967cfc17395 00:10:28 Step 13/26 : RUN ${MAKE} 00:10:28 ---> Running in f847b7938a27 00:10:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:12:51 Removing intermediate container f847b7938a27 00:12:51 ---> 493b9de88304 00:12:51 Step 14/26 : FROM alpine:3.16 00:12:51 3.16: Pulling from library/alpine 00:12:51 9b18e9b68314: Pulling fs layer 00:12:51 9b18e9b68314: Download complete 00:12:51 9b18e9b68314: Pull complete 00:12:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:12:51 Status: Downloaded newer image for alpine:3.16 00:12:51 ---> a6215f271958 00:12:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:12:51 ---> Running in 3b6fc7f8b58a 00:12:51 Removing intermediate container 3b6fc7f8b58a 00:12:51 ---> 32f703524cf1 00:12:51 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:12:51 ---> Running in 71a40bcc5907 00:12:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:12:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:12:51 (1/6) Installing dumb-init (1.2.5-r1) 00:12:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:12:51 (3/6) Installing libsodium (1.0.18-r0) 00:12:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:12:51 (5/6) Installing libzmq (4.3.4-r0) 00:12:51 (6/6) Installing zeromq (4.3.4-r0) 00:12:51 Executing busybox-1.35.0-r17.trigger 00:12:51 OK: 8 MiB in 20 packages 00:12:51 Removing intermediate container 71a40bcc5907 00:12:51 ---> b3db930f7590 00:12:51 Step 17/26 : WORKDIR / 00:12:51 ---> Running in e0cd3b260645 00:12:51 Removing intermediate container e0cd3b260645 00:12:51 ---> 839711a94f67 00:12:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:12:51 ---> 52c219a8a7aa 00:12:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:12:51 ---> 44734e05ee5d 00:12:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:12:51 ---> a4a13f375043 00:12:51 Step 21/26 : EXPOSE 59984 00:12:51 ---> Running in 18fb8294d2c8 00:12:52 Removing intermediate container 18fb8294d2c8 00:12:52 ---> 9db9501b61b2 00:12:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:12:52 ---> Running in 7ef95c99b6c2 00:12:52 Removing intermediate container 7ef95c99b6c2 00:12:52 ---> bb256baf80e7 00:12:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:12:52 ---> Running in 1194fbe2b41a 00:12:52 Removing intermediate container 1194fbe2b41a 00:12:52 ---> 7dd3383295e9 00:12:52 Step 24/26 : LABEL arch=arm64 00:12:52 ---> Running in ff35a4bf8ba3 00:12:53 Removing intermediate container ff35a4bf8ba3 00:12:53 ---> 068707a83247 00:12:53 Step 25/26 : LABEL git_sha=616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:12:53 ---> Running in e8844ec3e125 00:12:53 Removing intermediate container e8844ec3e125 00:12:53 ---> beec38492fb8 00:12:53 Step 26/26 : LABEL version=2.3.0-dev.1 00:12:53 ---> Running in 14f96630b085 00:12:54 Removing intermediate container 14f96630b085 00:12:54 ---> a8c00971cb49 00:12:54 [Warning] One or more build-args [ARCH] were not consumed 00:12:54 Successfully built a8c00971cb49 00:12:54 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:54 provisioning config files... 00:12:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/40@tmp/config766010709867676290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:54 ---> docker-login.sh 00:12:54 nexus3.edgexfoundry.org:10001 00:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:54 Configure a credential helper to remove this warning. See 00:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:54 00:12:54 Login Succeeded 00:12:54 nexus3.edgexfoundry.org:10002 00:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:55 Configure a credential helper to remove this warning. See 00:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:55 00:12:55 Login Succeeded 00:12:55 nexus3.edgexfoundry.org:10003 00:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:55 Configure a credential helper to remove this warning. See 00:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:55 00:12:55 Login Succeeded 00:12:55 nexus3.edgexfoundry.org:10004 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 docker.io 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 ---> docker-login.sh ends [Pipeline] } 00:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:57 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:12:57 616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:12:57 latest 00:12:57 2.3.0-dev.1 00:12:57 616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:12:57 main 00:12:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:12:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:12:57 337c15ef5d85: Preparing 00:12:57 97225cb8c17d: Preparing 00:12:57 72f5545249b7: Preparing 00:12:57 b68462dc45ab: Preparing 00:12:57 5d3e392a13a0: Preparing 00:12:58 5d3e392a13a0: Layer already exists 00:12:58 337c15ef5d85: Pushed 00:12:58 97225cb8c17d: Pushed 00:12:58 b68462dc45ab: Pushed 00:13:04 72f5545249b7: Pushed 00:13:04 616f9b7f3df7e26effd8e78eedd08e203ccc93ff: digest: sha256:a1e7fceaa90f99c01a13fc4810793af3abbd1f473c5fee7685fb5466f5225a97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:13:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:13:04 337c15ef5d85: Preparing 00:13:04 97225cb8c17d: Preparing 00:13:04 72f5545249b7: Preparing 00:13:04 b68462dc45ab: Preparing 00:13:04 5d3e392a13a0: Preparing 00:13:04 72f5545249b7: Layer already exists 00:13:04 97225cb8c17d: Layer already exists 00:13:04 5d3e392a13a0: Layer already exists 00:13:04 b68462dc45ab: Layer already exists 00:13:04 337c15ef5d85: Layer already exists 00:13:05 latest: digest: sha256:a1e7fceaa90f99c01a13fc4810793af3abbd1f473c5fee7685fb5466f5225a97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.1 00:13:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:13:05 337c15ef5d85: Preparing 00:13:05 97225cb8c17d: Preparing 00:13:05 72f5545249b7: Preparing 00:13:05 b68462dc45ab: Preparing 00:13:05 5d3e392a13a0: Preparing 00:13:05 72f5545249b7: Layer already exists 00:13:05 b68462dc45ab: Layer already exists 00:13:05 337c15ef5d85: Layer already exists 00:13:05 5d3e392a13a0: Layer already exists 00:13:05 97225cb8c17d: Layer already exists 00:13:06 2.3.0-dev.1: digest: sha256:a1e7fceaa90f99c01a13fc4810793af3abbd1f473c5fee7685fb5466f5225a97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:13:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:13:06 337c15ef5d85: Preparing 00:13:06 97225cb8c17d: Preparing 00:13:06 72f5545249b7: Preparing 00:13:06 b68462dc45ab: Preparing 00:13:06 5d3e392a13a0: Preparing 00:13:06 97225cb8c17d: Layer already exists 00:13:06 72f5545249b7: Layer already exists 00:13:06 337c15ef5d85: Layer already exists 00:13:06 5d3e392a13a0: Layer already exists 00:13:06 b68462dc45ab: Layer already exists 00:13:07 616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1: digest: sha256:a1e7fceaa90f99c01a13fc4810793af3abbd1f473c5fee7685fb5466f5225a97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:13:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:13:07 337c15ef5d85: Preparing 00:13:07 97225cb8c17d: Preparing 00:13:07 72f5545249b7: Preparing 00:13:07 b68462dc45ab: Preparing 00:13:07 5d3e392a13a0: Preparing 00:13:07 72f5545249b7: Layer already exists 00:13:07 b68462dc45ab: Layer already exists 00:13:07 337c15ef5d85: Layer already exists 00:13:07 97225cb8c17d: Layer already exists 00:13:07 5d3e392a13a0: Layer already exists 00:13:08 main: digest: sha256:a1e7fceaa90f99c01a13fc4810793af3abbd1f473c5fee7685fb5466f5225a97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:13:08 ===================================================== [Pipeline] echo 00:13:08 taggedImages: 00:13:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff 00:13:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:13:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.1 00:13:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:616f9b7f3df7e26effd8e78eedd08e203ccc93ff-2.3.0-dev.1 00:13:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:08 00:13:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:09 arm64: Pulling from edgex-lftools-log-publisher 00:13:09 8998bd30e6a1: Pulling fs layer 00:13:09 04944245beec: Pulling fs layer 00:13:09 699f458cf7ca: Pulling fs layer 00:13:09 765212b225bb: Pulling fs layer 00:13:09 f23df028b6ca: Pulling fs layer 00:13:09 d65c8cfc05b1: Pulling fs layer 00:13:09 2437ff75d9bd: Pulling fs layer 00:13:09 765212b225bb: Waiting 00:13:09 f23df028b6ca: Waiting 00:13:09 d65c8cfc05b1: Waiting 00:13:09 2437ff75d9bd: Waiting 00:13:09 04944245beec: Verifying Checksum 00:13:09 04944245beec: Download complete 00:13:09 765212b225bb: Verifying Checksum 00:13:09 765212b225bb: Download complete 00:13:09 f23df028b6ca: Verifying Checksum 00:13:09 f23df028b6ca: Download complete 00:13:09 d65c8cfc05b1: Verifying Checksum 00:13:09 d65c8cfc05b1: Download complete 00:13:09 699f458cf7ca: Verifying Checksum 00:13:09 699f458cf7ca: Download complete 00:13:09 8998bd30e6a1: Verifying Checksum 00:13:09 8998bd30e6a1: Download complete 00:13:12 2437ff75d9bd: Verifying Checksum 00:13:12 2437ff75d9bd: Download complete 00:13:13 8998bd30e6a1: Pull complete 00:13:14 04944245beec: Pull complete 00:13:15 699f458cf7ca: Pull complete 00:13:15 765212b225bb: Pull complete 00:13:16 f23df028b6ca: Pull complete 00:13:16 d65c8cfc05b1: Pull complete 00:13:32 2437ff75d9bd: Pull complete 00:13:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:32 prd-ubuntu20.04-docker-arm64-4c-16g-22354 does not seem to be running inside a container 00:13:32 $ 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/40 -v /w/workspace/device-onvif-camera/40:/w/workspace/device-onvif-camera/40:rw,z -v /w/workspace/device-onvif-camera/40@tmp:/w/workspace/device-onvif-camera/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:13:34 $ docker top b57d4f8e64cf5b026f00c259d762b21baca5f9dda443dc65d1d6b692b6650026 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:35 ---> job-cost.sh 00:13:35 lf-activate-venv: SKIPPING 00:13:35 INFO: No Stack... 00:13:36 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:37 INFO: Archiving Costs [Pipeline] sh 00:13:37 + cat /w/workspace/device-onvif-camera/40/archives/cost.csv 00:13:37 + cut -d, -f6 [Pipeline] lock 00:13:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] 00:13:37 Resource [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] did not exist. Created. 00:13:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:38 /w/workspace/device-onvif-camera/40@tmp/durable-bb30be76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:39 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:39 Warning: overwriting stash ‘stack-cost’ 00:13:39 Stashed 1 file(s) [Pipeline] } 00:13:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:39 $ docker stop --time=1 b57d4f8e64cf5b026f00c259d762b21baca5f9dda443dc65d1d6b692b6650026 00:13:40 $ docker rm -f b57d4f8e64cf5b026f00c259d762b21baca5f9dda443dc65d1d6b692b6650026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:13:41 provisioning config files... 00:13:41 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config916817843607785287tmp [Pipeline] { [Pipeline] sh 00:13:41 + set +x 00:13:41 + curl -s https://codecov.io/bash 00:13:41 + bash -s -- 00:13:41 00:13:41 _____ _ 00:13:41 / ____| | | 00:13:41 | | ___ __| | ___ ___ _____ __ 00:13:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:13:41 | |___| (_) | (_| | __/ (_| (_) \ V / 00:13:41 \_____\___/ \__,_|\___|\___\___/ \_/ 00:13:41 Bash-1.0.6 00:13:41 00:13:41 00:13:41 ==> git version 2.25.1 found 00:13:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:13:41 Release-Date: 2020-01-08 00:13:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:13:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:13:41 ==> Jenkins CI detected. 00:13:41 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:13:41 project root: . 00:13:41 --> token set from env 00:13:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:13:41 ==> Running gcov in . (disable via -X gcov) 00:13:41 ==> Python coveragepy not found 00:13:41 ==> Searching for coverage reports in: 00:13:41 + . 00:13:41 -> Found 1 reports 00:13:41 ==> Detecting git/mercurial file structure 00:13:41 ==> Reading reports 00:13:41 + ./coverage.out bytes=76856 00:13:41 ==> Appending adjustments 00:13:41 https://docs.codecov.io/docs/fixing-reports 00:13:41 + Found adjustments 00:13:41 ==> Gzipping contents 00:13:41 12K /tmp/codecov.oR1Old.gz 00:13:41 ==> Uploading reports 00:13:41 url: https://codecov.io 00:13:41 query: branch=main&commit=616f9b7f3df7e26effd8e78eedd08e203ccc93ff&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:13:41 -> Pinging Codecov 00:13:41 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=616f9b7f3df7e26effd8e78eedd08e203ccc93ff&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:13:42 -> Uploading to 00:13:42 https://storage.googleapis.com/codecov/v4/raw/2022-08-10/F29A59C45E3A92E06B3E522C9905F8EF/616f9b7f3df7e26effd8e78eedd08e203ccc93ff/7737ecb7-5de7-417d-b132-3ac183b1390c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T001341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c2ac95a3152b74d3af456db103f66e8c65c016bfcb7c060d24ac8592ca92237 00:13:42 % Total % Received % Xferd Average Speed Time Time Time Current 00:13:42 Dload Upload Total Spent Left Speed 00:13:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10409 0 0 100 10409 0 47099 --:--:-- --:--:-- --:--:-- 46887 100 10409 0 0 100 10409 0 43190 --:--:-- --:--:-- --:--:-- 43012 00:13:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] } 00:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:13:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:13:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:13:42 00:13:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:13:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:13:43 df9b9388f04a: Pulling fs layer 00:13:43 52dc419b0ee2: Pulling fs layer 00:13:43 25bc292e5bac: Pulling fs layer 00:13:43 114826534d7a: Pulling fs layer 00:13:43 4657fd5d0bcf: Pulling fs layer 00:13:43 6ad1cebc031e: Pulling fs layer 00:13:43 8a3aa393b2d8: Pulling fs layer 00:13:43 4657fd5d0bcf: Waiting 00:13:43 8a3aa393b2d8: Waiting 00:13:43 6ad1cebc031e: Waiting 00:13:43 114826534d7a: Waiting 00:13:43 25bc292e5bac: Verifying Checksum 00:13:43 25bc292e5bac: Download complete 00:13:43 52dc419b0ee2: Download complete 00:13:43 4657fd5d0bcf: Verifying Checksum 00:13:43 4657fd5d0bcf: Download complete 00:13:43 df9b9388f04a: Download complete 00:13:43 6ad1cebc031e: Verifying Checksum 00:13:43 6ad1cebc031e: Download complete 00:13:43 df9b9388f04a: Pull complete 00:13:43 52dc419b0ee2: Pull complete 00:13:43 25bc292e5bac: Pull complete 00:13:44 114826534d7a: Verifying Checksum 00:13:44 114826534d7a: Download complete 00:13:44 8a3aa393b2d8: Verifying Checksum 00:13:48 114826534d7a: Pull complete 00:13:48 4657fd5d0bcf: Pull complete 00:13:48 6ad1cebc031e: Pull complete 00:13:51 8a3aa393b2d8: Pull complete 00:13:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:13:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:51 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:13:51 $ 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 00:13:54 $ docker top 9d02731a79c5d4d8fc9481623930e7c9f2952e719ff7c6e94131d83e1b07d285 -eo pid,comm [Pipeline] { [Pipeline] echo 00:13:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:13:54 + set -o pipefail 00:13:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:14:01 00:14:01 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:14:01 00:14:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/36cf105f-8ce4-4b06-a941-2bb5f56e59be 00:14:01 00:14:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:14:01 00:14:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:14:01 00:14:01 [Pipeline] } 00:14:01 $ docker stop --time=1 9d02731a79c5d4d8fc9481623930e7c9f2952e719ff7c6e94131d83e1b07d285 00:14:04 $ docker rm -f 9d02731a79c5d4d8fc9481623930e7c9f2952e719ff7c6e94131d83e1b07d285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:05 + git log --format=format:%s -1 616f9b7f3df7e26effd8e78eedd08e203ccc93ff [Pipeline] sh 00:14:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:05 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:14:05 $ 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 00:14:06 $ docker top 8e8e40eab307ea2d2d6086e2b365b013372f6efe7cd6ad65c150103815bbf96d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:06 [ssh-agent] Looking for ssh-agent implementation... 00:14:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:06 $ docker exec 8e8e40eab307ea2d2d6086e2b365b013372f6efe7cd6ad65c150103815bbf96d ssh-agent 00:14:06 SSH_AUTH_SOCK=/tmp/ssh-PS8BBogEnurI/agent.32 00:14:06 SSH_AGENT_PID=38 00:14:06 Running ssh-add (command line suppressed) 00:14:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8562275035918025274.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8562275035918025274.key) 00:14:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:07 + git semver tag 00:14:07 2022-08-10 00:14:07,356 [run_tag] DEBUG tag force:False 00:14:07 2022-08-10 00:14:07,356 [check_head_tag] DEBUG check head tag 00:14:07 2022-08-10 00:14:07,357 [execute] INFO git cat-file --batch-check 00:14:07 2022-08-10 00:14:07,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:14:07 2022-08-10 00:14:07,359 [execute] INFO git cat-file --batch 00:14:07 2022-08-10 00:14:07,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:14:07 2022-08-10 00:14:07,376 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:07 2022-08-10 00:14:07,376 [execute] INFO git tag -a v2.3.0-dev.1 -m v2.3.0-dev.1 00:14:07 2022-08-10 00:14:07,376 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.1', '-m', 'v2.3.0-dev.1'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:14:07 2022-08-10 00:14:07,379 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:07 2.3.0-dev.1 [Pipeline] } 00:14:07 $ docker exec --env ******** --env ******** 8e8e40eab307ea2d2d6086e2b365b013372f6efe7cd6ad65c150103815bbf96d ssh-agent -k 00:14:07 unset SSH_AUTH_SOCK; 00:14:07 unset SSH_AGENT_PID; 00:14:07 echo Agent pid 38 killed; 00:14:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:07 + git semver [Pipeline] } 00:14:08 $ docker stop --time=1 8e8e40eab307ea2d2d6086e2b365b013372f6efe7cd6ad65c150103815bbf96d 00:14:09 $ docker rm -f 8e8e40eab307ea2d2d6086e2b365b013372f6efe7cd6ad65c150103815bbf96d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:14:09 00:14:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:14:10 0.23.1-centos7: Pulling from edgex-lftools 00:14:10 ab5ef0e58194: Pulling fs layer 00:14:10 9712f1f96733: Pulling fs layer 00:14:10 63f879dbbcfc: Pulling fs layer 00:14:10 0d9ebad4ef96: Pulling fs layer 00:14:10 e9a5061849ea: Pulling fs layer 00:14:10 d747dcd14b5f: Pulling fs layer 00:14:10 2de7ff778b66: Pulling fs layer 00:14:10 0d9ebad4ef96: Waiting 00:14:10 d747dcd14b5f: Waiting 00:14:10 2de7ff778b66: Waiting 00:14:10 e9a5061849ea: Waiting 00:14:10 9712f1f96733: Verifying Checksum 00:14:10 9712f1f96733: Download complete 00:14:10 63f879dbbcfc: Verifying Checksum 00:14:10 63f879dbbcfc: Download complete 00:14:10 0d9ebad4ef96: Verifying Checksum 00:14:10 0d9ebad4ef96: Download complete 00:14:10 e9a5061849ea: Verifying Checksum 00:14:10 e9a5061849ea: Download complete 00:14:10 d747dcd14b5f: Download complete 00:14:10 ab5ef0e58194: Verifying Checksum 00:14:10 ab5ef0e58194: Download complete 00:14:10 2de7ff778b66: Verifying Checksum 00:14:10 2de7ff778b66: Download complete 00:14:13 ab5ef0e58194: Pull complete 00:14:13 9712f1f96733: Pull complete 00:14:14 63f879dbbcfc: Pull complete 00:14:18 0d9ebad4ef96: Pull complete 00:14:18 e9a5061849ea: Pull complete 00:14:18 d747dcd14b5f: Pull complete 00:14:19 2de7ff778b66: Pull complete 00:14:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:14:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:19 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:14:19 $ 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 00:14:23 $ docker top 133a0628c88a3fca36b1af29a29854a9940aa33f125f340f5ce6b1901de20700 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:14:23 provisioning config files... 00:14:23 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9000168038273481048tmp 00:14:23 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4650825354427543355tmp 00:14:23 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4053972819382990701tmp [Pipeline] { [Pipeline] echo 00:14:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:14:23 ---> sigul-configuration.sh 00:14:23 gpg: directory `/root/.gnupg' created 00:14:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:14:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:14:23 gpg: keyring `/root/.gnupg/secring.gpg' created 00:14:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:14:23 gpg: CAST5 encrypted data 00:14:23 gpg: encrypted with 1 passphrase 00:14:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:14:23 + mkdir /home/jenkins 00:14:23 + mkdir /home/jenkins/sigul [Pipeline] sh 00:14:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:14:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:14:24 ---> sigul-install.sh 00:14:24 Sigul already installed; skipping installation. [Pipeline] sh 00:14:24 + git tag --list 00:14:24 v0.0.0 00:14:24 v0.0.1-dev.1 00:14:24 v0.0.1-dev.10 00:14:24 v0.0.1-dev.11 00:14:24 v0.0.1-dev.12 00:14:24 v0.0.1-dev.13 00:14:24 v0.0.1-dev.14 00:14:24 v0.0.1-dev.15 00:14:24 v0.0.1-dev.16 00:14:24 v0.0.1-dev.17 00:14:24 v0.0.1-dev.18 00:14:24 v0.0.1-dev.19 00:14:24 v0.0.1-dev.2 00:14:24 v0.0.1-dev.20 00:14:24 v0.0.1-dev.21 00:14:24 v0.0.1-dev.22 00:14:24 v0.0.1-dev.23 00:14:24 v0.0.1-dev.24 00:14:24 v0.0.1-dev.25 00:14:24 v0.0.1-dev.26 00:14:24 v0.0.1-dev.27 00:14:24 v0.0.1-dev.28 00:14:24 v0.0.1-dev.3 00:14:24 v0.0.1-dev.4 00:14:24 v0.0.1-dev.5 00:14:24 v0.0.1-dev.6 00:14:24 v0.0.1-dev.7 00:14:24 v0.0.1-dev.8 00:14:24 v0.0.1-dev.9 00:14:24 v2.2.0 00:14:24 v2.2.0-dev.29 00:14:24 v2.2.0-dev.30 00:14:24 v2.2.0-dev.31 00:14:24 v2.2.0-dev.32 00:14:24 v2.2.0-dev.33 00:14:24 v2.2.0-dev.34 00:14:24 v2.2.0-dev.35 00:14:24 v2.3.0-dev.1 [Pipeline] sh 00:14:25 + lftools sign git-tag v2.3.0-dev.1 00:14:25 Signing Git tag with Sigul... 00:14:25 Signing v2.3.0-dev.1 [Pipeline] echo 00:14:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:14:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:14:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:14:26 $ docker stop --time=1 133a0628c88a3fca36b1af29a29854a9940aa33f125f340f5ce6b1901de20700 00:14:27 $ docker rm -f 133a0628c88a3fca36b1af29a29854a9940aa33f125f340f5ce6b1901de20700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:14:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:28 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:14:28 $ 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 00:14:28 $ docker top 5bcbbef5699e71059f65dabd97e50facf579ad5d818a63abc7e007f3edd2f5cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:28 [ssh-agent] Looking for ssh-agent implementation... 00:14:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:29 $ docker exec 5bcbbef5699e71059f65dabd97e50facf579ad5d818a63abc7e007f3edd2f5cd ssh-agent 00:14:29 SSH_AUTH_SOCK=/tmp/ssh-m5yoC8hoedkE/agent.32 00:14:29 SSH_AGENT_PID=39 00:14:29 Running ssh-add (command line suppressed) 00:14:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6030290667639564892.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6030290667639564892.key) 00:14:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:29 + git semver bump pre 00:14:29 2022-08-10 00:14:29,798 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:29 2022-08-10 00:14:29,798 [bump_version] DEBUG bumping version:2.3.0-dev.1 on axis:pre with prefix:dev 00:14:29 2022-08-10 00:14:29,798 [bump_version] DEBUG bumped version:2.3.0-dev.2 00:14:29 2022-08-10 00:14:29,799 [write_version] DEBUG write version:2.3.0-dev.2 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:14:29 2022-08-10 00:14:29,799 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:29 2022-08-10 00:14:29,799 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:29 2022-08-10 00:14:29,802 [execute] INFO git cat-file --batch-check 00:14:29 2022-08-10 00:14:29,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:14:29 2022-08-10 00:14:29,808 [execute] INFO git cat-file --batch 00:14:29 2022-08-10 00:14:29,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:14:29 2022-08-10 00:14:29,812 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:29 2.3.0-dev.2 [Pipeline] } 00:14:29 $ docker exec --env ******** --env ******** 5bcbbef5699e71059f65dabd97e50facf579ad5d818a63abc7e007f3edd2f5cd ssh-agent -k 00:14:29 unset SSH_AUTH_SOCK; 00:14:29 unset SSH_AGENT_PID; 00:14:29 echo Agent pid 39 killed; 00:14:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:30 + git semver [Pipeline] } 00:14:30 $ docker stop --time=1 5bcbbef5699e71059f65dabd97e50facf579ad5d818a63abc7e007f3edd2f5cd 00:14:31 $ docker rm -f 5bcbbef5699e71059f65dabd97e50facf579ad5d818a63abc7e007f3edd2f5cd [Pipeline] // withDockerContainer [Pipeline] sh 00:14:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:32 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:14:32 $ 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 00:14:33 $ docker top 75918f5544a2686d4ee75a345b7d943414adc5e9d033e519d252ee56c5e94907 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:33 [ssh-agent] Looking for ssh-agent implementation... 00:14:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:33 $ docker exec 75918f5544a2686d4ee75a345b7d943414adc5e9d033e519d252ee56c5e94907 ssh-agent 00:14:33 SSH_AUTH_SOCK=/tmp/ssh-lTObEtwW1f2n/agent.33 00:14:33 SSH_AGENT_PID=39 00:14:33 Running ssh-add (command line suppressed) 00:14:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8521570712033704586.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8521570712033704586.key) 00:14:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:33 + git semver push 00:14:34 2022-08-10 00:14:34,065 [run_push] DEBUG push 00:14:34 2022-08-10 00:14:34,066 [execute] INFO git cat-file --batch-check 00:14:34 2022-08-10 00:14:34,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:14:34 2022-08-10 00:14:34,070 [execute] INFO git rev-list 9ffffaa8344e312702ca16c1d971fccf351e3306 -- 00:14:34 2022-08-10 00:14:34,071 [execute] DEBUG Popen(['git', 'rev-list', '9ffffaa8344e312702ca16c1d971fccf351e3306', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:14:34 2022-08-10 00:14:34,077 [execute] INFO git fetch -v origin 00:14:34 2022-08-10 00:14:34,077 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:14:34 2022-08-10 00:14:34,555 [run_push] DEBUG no remote changes detected 00:14:34 2022-08-10 00:14:34,555 [execute] INFO git push origin semver 00:14:34 2022-08-10 00:14:34,556 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:14:35 2022-08-10 00:14:35,248 [run_push] DEBUG push all version tags 00:14:35 2022-08-10 00:14:35,249 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:14:35 2022-08-10 00:14:35,250 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:14:36 2022-08-10 00:14:35,936 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:14:36 2.3.0-dev.2 [Pipeline] } 00:14:36 $ docker exec --env ******** --env ******** 75918f5544a2686d4ee75a345b7d943414adc5e9d033e519d252ee56c5e94907 ssh-agent -k 00:14:36 unset SSH_AUTH_SOCK; 00:14:36 unset SSH_AGENT_PID; 00:14:36 echo Agent pid 39 killed; 00:14:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:36 + git semver [Pipeline] } 00:14:36 $ docker stop --time=1 75918f5544a2686d4ee75a345b7d943414adc5e9d033e519d252ee56c5e94907 00:14:38 $ docker rm -f 75918f5544a2686d4ee75a345b7d943414adc5e9d033e519d252ee56c5e94907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:14:38 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:14:38 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:14:38 total 16 00:14:38 drwxr-xr-x 3 root root 4096 Aug 10 00:04 . 00:14:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 00:14 .. 00:14:38 drwxr-xr-x 2 root root 4096 Aug 10 00:04 cost 00:14:38 -rw-r--r-- 1 root root 90 Aug 10 00:04 cost.csv 00:14:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:14:38 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:14:38 total 16 00:14:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:04 . 00:14:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 00:14 .. 00:14:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 00:04 cost 00:14:38 -rw-r--r-- 1 jenkins jenkins 90 Aug 10 00:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:14:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:14:39 ---> package-listing.sh 00:14:39 ++ facter osfamily 00:14:39 ++ tr '[:upper:]' '[:lower:]' 00:14:40 + OS_FAMILY=debian 00:14:40 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:14:40 + START_PACKAGES=/tmp/packages_start.txt 00:14:40 + END_PACKAGES=/tmp/packages_end.txt 00:14:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:14:40 + PACKAGES=/tmp/packages_start.txt 00:14:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:14:40 + PACKAGES=/tmp/packages_end.txt 00:14:40 + case "${OS_FAMILY}" in 00:14:40 + dpkg -l 00:14:40 + grep '^ii' 00:14:40 + '[' -f /tmp/packages_start.txt ']' 00:14:40 + '[' -f /tmp/packages_end.txt ']' 00:14:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:14:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:14:40 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:14:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 00:14:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:14:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:41 prd-ubuntu20.04-docker-8c-8g-22352 does not seem to be running inside a container 00:14:41 $ 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 00:14:41 $ docker top 018508ce25329128466b95954f618c2abdbdb336c8bcc2493f0a3232b4b45eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:41 + touch /tmp/pre-build-complete [Pipeline] sh 00:14:42 + mkdir -p /var/log/sysstat [Pipeline] sh 00:14:42 + ls /var/log/sa-host 00:14:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:42 provisioning config files... 00:14:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1271410333078240118tmp [Pipeline] { [Pipeline] echo 00:14:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:14:42 ---> create-netrc.sh [Pipeline] } 00:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:14:43 ---> python-tools-install.sh [Pipeline] echo 00:14:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:14:43 ---> sudo-logs.sh 00:14:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:14:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:14:43 ---> job-cost.sh 00:14:43 lf-activate-venv: SKIPPING 00:14:43 DEBUG: total: 0.2199999988079071 00:14:43 INFO: Retrieving Stack Cost... 00:14:44 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:44 INFO: Archiving Costs [Pipeline] echo 00:14:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:14:44 ---> logs-deploy.sh 00:14:44 lf-activate-venv: SKIPPING 00:14:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/40 00:14:44 INFO: archiving workspace using pattern(s): 00:14:45 Archives upload complete. 00:14:45 INFO: archiving logs to Nexus