Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh9794604385128761578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6962003274247916295.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh9551423131051628526.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh17465214213593708002.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16744592891552672677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15417’ Running on prd-ubuntu20.04-docker-8c-8g-15422 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8374ad439d5c8571ae7424cc77de71a785d5a0ca (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 Commit message: "Merge pull request #89 from edgexfoundry/revert-85-upgrade-sdk" > git rev-list --no-walk 0a79c5a718067479237195976121108915350925 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T05:39:39.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T05:39:39.222Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T05:39:39.236Z] ========================================================= [2022-06-23T05:39:39.236Z] EdgeX Global Pipelines Version Info [2022-06-23T05:39:39.236Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:39:39.974Z] ------------------- [2022-06-23T05:39:39.974Z] stable info: [2022-06-23T05:39:39.974Z] ------------------- [2022-06-23T05:39:39.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T05:39:39.974Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T05:39:39.974Z] Message: update stable to v1.0.234 [2022-06-23T05:39:40.546Z] ------------------- [2022-06-23T05:39:40.546Z] experimental info: [2022-06-23T05:39:40.546Z] ------------------- [2022-06-23T05:39:40.546Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T05:39:40.546Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T05:39:40.546Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T05:39:40.809Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-23T05:39:40.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-23T05:39:40.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T05:39:40.836Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T05:39:40.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T05:39:40.853Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T05:39:40.861Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T05:39:40.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T05:39:40.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T05:39:40.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T05:39:40.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T05:39:40.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-23T05:39:40.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T05:39:40.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T05:39:40.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T05:39:40.939Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T05:39:40.947Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T05:39:40.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T05:39:40.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T05:39:40.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T05:39:40.979Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T05:39:40.987Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T05:39:40.995Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T05:39:41.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T05:39:41.018Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T05:39:41.030Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T05:39:41.042Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T05:39:41.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-23T05:39:41.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-23T05:39:41.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-23T05:39:41.089Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] echo [2022-06-23T05:39:41.101Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8374ad4 [Pipeline] echo [2022-06-23T05:39:41.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:39:41.149Z] provisioning config files... [2022-06-23T05:39:41.160Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8584887543720019394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:39:41.469Z] ---> docker-login.sh [2022-06-23T05:39:41.469Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:39:41.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:41.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:41.730Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:41.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:41.730Z] [2022-06-23T05:39:41.730Z] Login Succeeded [2022-06-23T05:39:41.730Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:39:41.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:41.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:41.993Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:41.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:41.993Z] [2022-06-23T05:39:41.993Z] Login Succeeded [2022-06-23T05:39:41.993Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:39:41.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:41.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:41.993Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:41.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:41.993Z] [2022-06-23T05:39:41.993Z] Login Succeeded [2022-06-23T05:39:41.993Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:39:42.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:42.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:42.252Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:42.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:42.252Z] [2022-06-23T05:39:42.252Z] Login Succeeded [2022-06-23T05:39:42.252Z] docker.io [2022-06-23T05:39:42.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:42.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:42.824Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:42.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:42.824Z] [2022-06-23T05:39:42.824Z] Login Succeeded [2022-06-23T05:39:42.824Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:39:42.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T05:39:43.194Z] + git rev-list -1 --merges 8374ad439d5c8571ae7424cc77de71a785d5a0ca~1..8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] echo [2022-06-23T05:39:43.224Z] -----------> git rev-list -1 --merges 8374ad439d5c8571ae7424cc77de71a785d5a0ca~1..8374ad439d5c8571ae7424cc77de71a785d5a0ca 8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:39:43.224Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca [false] [Pipeline] sh [2022-06-23T05:39:43.518Z] + git log --format=format:%s -1 8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] echo [2022-06-23T05:39:43.533Z] ========================================================= [2022-06-23T05:39:43.533Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T05:39:43.533Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T05:39:43.867Z] + git log --format=format:%s -1 8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] echo [2022-06-23T05:39:43.880Z] [semverPrep] GIT_COMMIT: 8374ad439d5c8571ae7424cc77de71a785d5a0ca, Commit Message: Merge pull request #89 from edgexfoundry/revert-85-upgrade-sdk [Pipeline] echo [2022-06-23T05:39:43.889Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T05:39:44.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T05:39:44.238Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T05:39:44.238Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T05:39:44.238Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T05:39:44.238Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T05:39:44.238Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T05:39:44.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:39:44.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:39:44.587Z] [2022-06-23T05:39:44.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:39:44.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:39:44.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T05:39:44.891Z] 42c077c10790: Pulling fs layer [2022-06-23T05:39:44.891Z] f63e77b7563a: Pulling fs layer [2022-06-23T05:39:44.891Z] bd5fdadae976: Pulling fs layer [2022-06-23T05:39:44.891Z] 205491f53016: Pulling fs layer [2022-06-23T05:39:44.891Z] df18705c85c3: Pulling fs layer [2022-06-23T05:39:44.891Z] bdb3f477010e: Pulling fs layer [2022-06-23T05:39:44.891Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T05:39:44.891Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T05:39:44.891Z] bdb8f0575790: Pulling fs layer [2022-06-23T05:39:44.891Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T05:39:44.891Z] 2343380bae48: Pulling fs layer [2022-06-23T05:39:44.891Z] c8a8fc8e1c8f: Waiting [2022-06-23T05:39:44.891Z] 2c6e9b1d212d: Waiting [2022-06-23T05:39:44.891Z] 2343380bae48: Waiting [2022-06-23T05:39:44.891Z] bdb8f0575790: Waiting [2022-06-23T05:39:44.891Z] 386e3cb2ff24: Waiting [2022-06-23T05:39:44.891Z] bdb3f477010e: Waiting [2022-06-23T05:39:44.891Z] 205491f53016: Waiting [2022-06-23T05:39:44.891Z] df18705c85c3: Waiting [2022-06-23T05:39:44.891Z] f63e77b7563a: Download complete [2022-06-23T05:39:44.891Z] 205491f53016: Verifying Checksum [2022-06-23T05:39:44.891Z] 205491f53016: Download complete [2022-06-23T05:39:45.153Z] df18705c85c3: Verifying Checksum [2022-06-23T05:39:45.153Z] df18705c85c3: Download complete [2022-06-23T05:39:45.153Z] bdb3f477010e: Verifying Checksum [2022-06-23T05:39:45.153Z] bdb3f477010e: Download complete [2022-06-23T05:39:45.153Z] bd5fdadae976: Verifying Checksum [2022-06-23T05:39:45.153Z] bd5fdadae976: Download complete [2022-06-23T05:39:45.153Z] 2c6e9b1d212d: Download complete [2022-06-23T05:39:45.153Z] bdb8f0575790: Download complete [2022-06-23T05:39:45.153Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T05:39:45.153Z] 386e3cb2ff24: Download complete [2022-06-23T05:39:45.153Z] 2343380bae48: Download complete [2022-06-23T05:39:45.153Z] 42c077c10790: Verifying Checksum [2022-06-23T05:39:45.153Z] 42c077c10790: Download complete [2022-06-23T05:39:45.413Z] c8a8fc8e1c8f: Download complete [2022-06-23T05:39:46.792Z] 42c077c10790: Pull complete [2022-06-23T05:39:46.792Z] f63e77b7563a: Pull complete [2022-06-23T05:39:47.361Z] bd5fdadae976: Pull complete [2022-06-23T05:39:47.361Z] 205491f53016: Pull complete [2022-06-23T05:39:47.623Z] df18705c85c3: Pull complete [2022-06-23T05:39:47.623Z] bdb3f477010e: Pull complete [2022-06-23T05:39:49.743Z] c8a8fc8e1c8f: Pull complete [2022-06-23T05:39:49.743Z] 2c6e9b1d212d: Pull complete [2022-06-23T05:39:50.005Z] bdb8f0575790: Pull complete [2022-06-23T05:39:50.005Z] 386e3cb2ff24: Pull complete [2022-06-23T05:39:50.005Z] 2343380bae48: Pull complete [2022-06-23T05:39:50.005Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T05:39:50.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:39:50.005Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:39:50.114Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:39:50.160Z] $ 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 [2022-06-23T05:39:51.929Z] $ docker top c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 -eo pid,comm [2022-06-23T05:39:52.002Z] 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). [2022-06-23T05:39:52.002Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T05:39:52.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T05:39:52.035Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T05:39:52.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T05:39:52.191Z] $ docker exec c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 ssh-agent [2022-06-23T05:39:52.316Z] SSH_AUTH_SOCK=/tmp/ssh-V6IEPZN5i8uN/agent.34 [2022-06-23T05:39:52.316Z] SSH_AGENT_PID=40 [2022-06-23T05:39:52.322Z] Running ssh-add (command line suppressed) [2022-06-23T05:39:52.467Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_317597368192448141.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_317597368192448141.key) [2022-06-23T05:39:52.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T05:39:52.765Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T05:39:52.794Z] $ docker exec --env ******** --env ******** c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 ssh-agent -k [2022-06-23T05:39:52.910Z] unset SSH_AUTH_SOCK; [2022-06-23T05:39:52.910Z] unset SSH_AGENT_PID; [2022-06-23T05:39:52.910Z] echo Agent pid 40 killed; [2022-06-23T05:39:52.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T05:39:52.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T05:39:52.947Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T05:39:53.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T05:39:53.086Z] $ docker exec c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 ssh-agent [2022-06-23T05:39:53.200Z] SSH_AUTH_SOCK=/tmp/ssh-T47bsKKQPcWW/agent.72 [2022-06-23T05:39:53.200Z] SSH_AGENT_PID=78 [2022-06-23T05:39:53.205Z] Running ssh-add (command line suppressed) [2022-06-23T05:39:53.334Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5054463197451475850.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5054463197451475850.key) [2022-06-23T05:39:53.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T05:39:53.638Z] + git semver init [2022-06-23T05:39:53.898Z] 2022-06-23 05:39:53,854 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T05:39:53.898Z] 2022-06-23 05:39:53,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-23T05:39:53.898Z] 2022-06-23 05:39:53,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-23T05:39:53.898Z] 2022-06-23 05:39:53,855 [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) [2022-06-23T05:39:54.839Z] 2022-06-23 05:39:54,559 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-23T05:39:54.839Z] 2022-06-23 05:39:54,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-23T05:39:54.839Z] 2022-06-23 05:39:54,560 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:39:54.839Z] 2022-06-23 05:39:54,560 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:39:54.839Z] 0.0.1-dev.14 [Pipeline] } [2022-06-23T05:39:54.853Z] $ docker exec --env ******** --env ******** c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 ssh-agent -k [2022-06-23T05:39:54.962Z] unset SSH_AUTH_SOCK; [2022-06-23T05:39:54.962Z] unset SSH_AGENT_PID; [2022-06-23T05:39:54.962Z] echo Agent pid 78 killed; [2022-06-23T05:39:54.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T05:39:55.272Z] + git semver [Pipeline] } [2022-06-23T05:39:55.549Z] $ docker stop --time=1 c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 [2022-06-23T05:39:56.905Z] $ docker rm -f c15c05f9a6ae2b49777390a9bd1550d904d3e33c35fd8bd62f7520a7199138d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T05:39:57.254Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T05:39:57.488Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T05:39:57.491Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.14 [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 [2022-06-23T05:39:57.591Z] provisioning config files... [2022-06-23T05:39:57.601Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9217949209077024317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:39:57.901Z] ---> docker-login.sh [2022-06-23T05:39:57.901Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:39:57.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:57.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:57.901Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:57.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:57.901Z] [2022-06-23T05:39:57.901Z] Login Succeeded [2022-06-23T05:39:57.901Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:39:57.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:58.162Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:58.162Z] [2022-06-23T05:39:58.162Z] Login Succeeded [2022-06-23T05:39:58.162Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:39:58.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:58.162Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:58.162Z] [2022-06-23T05:39:58.162Z] Login Succeeded [2022-06-23T05:39:58.162Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:39:58.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:58.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:58.424Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:58.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:58.424Z] [2022-06-23T05:39:58.424Z] Login Succeeded [2022-06-23T05:39:58.424Z] docker.io [2022-06-23T05:39:58.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:39:58.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:39:58.686Z] Configure a credential helper to remove this warning. See [2022-06-23T05:39:58.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:39:58.686Z] [2022-06-23T05:39:58.686Z] Login Succeeded [2022-06-23T05:39:58.686Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:39:58.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T05:39:58.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:39:58.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:39:58.781Z] ========================================================= [2022-06-23T05:39:58.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T05:39:58.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:39:59.100Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T05:39:59.100Z] Sending build context to Docker daemon 8.746MB [2022-06-23T05:39:59.100Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:39:59.100Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T05:39:59.100Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T05:39:59.100Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T05:39:59.100Z] 666ba61612fd: Pulling fs layer [2022-06-23T05:39:59.100Z] 8ed8ca486205: Pulling fs layer [2022-06-23T05:39:59.100Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T05:39:59.100Z] c516ae0d96e1: Pulling fs layer [2022-06-23T05:39:59.100Z] 684cea983483: Pulling fs layer [2022-06-23T05:39:59.100Z] dd3240ac7de5: Pulling fs layer [2022-06-23T05:39:59.100Z] b1e948a4e11c: Pulling fs layer [2022-06-23T05:39:59.100Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T05:39:59.100Z] 646ad004c059: Pulling fs layer [2022-06-23T05:39:59.100Z] cc1cd167ecdc: Waiting [2022-06-23T05:39:59.100Z] c516ae0d96e1: Waiting [2022-06-23T05:39:59.100Z] 684cea983483: Waiting [2022-06-23T05:39:59.100Z] dd3240ac7de5: Waiting [2022-06-23T05:39:59.100Z] a8fd76ee1af6: Waiting [2022-06-23T05:39:59.100Z] 646ad004c059: Waiting [2022-06-23T05:39:59.100Z] 8ed8ca486205: Verifying Checksum [2022-06-23T05:39:59.100Z] 8ed8ca486205: Download complete [2022-06-23T05:39:59.100Z] 666ba61612fd: Download complete [2022-06-23T05:39:59.372Z] c516ae0d96e1: Verifying Checksum [2022-06-23T05:39:59.372Z] c516ae0d96e1: Download complete [2022-06-23T05:39:59.372Z] 684cea983483: Verifying Checksum [2022-06-23T05:39:59.372Z] 684cea983483: Download complete [2022-06-23T05:39:59.372Z] dd3240ac7de5: Verifying Checksum [2022-06-23T05:39:59.372Z] dd3240ac7de5: Download complete [2022-06-23T05:39:59.372Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T05:39:59.372Z] b1e948a4e11c: Verifying Checksum [2022-06-23T05:39:59.372Z] b1e948a4e11c: Download complete [2022-06-23T05:39:59.372Z] 59bf1c3509f3: Pull complete [2022-06-23T05:39:59.642Z] 666ba61612fd: Pull complete [2022-06-23T05:39:59.642Z] 8ed8ca486205: Pull complete [2022-06-23T05:39:59.907Z] 646ad004c059: Verifying Checksum [2022-06-23T05:39:59.907Z] 646ad004c059: Download complete [2022-06-23T05:39:59.907Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T05:39:59.907Z] a8fd76ee1af6: Download complete [2022-06-23T05:39:59.907Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T05:39:59.907Z] cc1cd167ecdc: Download complete [2022-06-23T05:40:04.123Z] cc1cd167ecdc: Pull complete [2022-06-23T05:40:04.123Z] c516ae0d96e1: Pull complete [2022-06-23T05:40:04.123Z] 684cea983483: Pull complete [2022-06-23T05:40:04.123Z] dd3240ac7de5: Pull complete [2022-06-23T05:40:04.381Z] b1e948a4e11c: Pull complete [2022-06-23T05:40:06.299Z] a8fd76ee1af6: Pull complete [2022-06-23T05:40:07.236Z] 646ad004c059: Pull complete [2022-06-23T05:40:07.236Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T05:40:07.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T05:40:07.236Z] ---> 8f69c11f6b0c [2022-06-23T05:40:07.236Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T05:40:09.783Z] ---> Running in 11a290eaf35d [2022-06-23T05:40:09.783Z] Removing intermediate container 11a290eaf35d [2022-06-23T05:40:09.783Z] ---> be9d36e667d6 [2022-06-23T05:40:09.783Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:40:09.783Z] ---> Running in f1f88c89c103 [2022-06-23T05:40:09.783Z] Removing intermediate container f1f88c89c103 [2022-06-23T05:40:09.783Z] ---> 8cd2298be3bb [2022-06-23T05:40:09.783Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:40:09.783Z] ---> Running in 402fef7ab32b [2022-06-23T05:40:09.783Z] Removing intermediate container 402fef7ab32b [2022-06-23T05:40:09.783Z] ---> df60ce440f0b [2022-06-23T05:40:09.783Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:40:09.783Z] ---> Running in cc84f56b0602 [2022-06-23T05:40:10.044Z] Removing intermediate container cc84f56b0602 [2022-06-23T05:40:10.044Z] ---> 6583a5e08468 [2022-06-23T05:40:10.044Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:40:10.044Z] ---> Running in 2844a0f1510a [2022-06-23T05:40:10.615Z] Removing intermediate container 2844a0f1510a [2022-06-23T05:40:10.615Z] ---> b625baaf94d1 [2022-06-23T05:40:10.615Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:40:10.615Z] ---> Running in ab834a957ae2 [2022-06-23T05:40:11.186Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T05:40:11.758Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T05:40:12.336Z] OK: 221 MiB in 52 packages [2022-06-23T05:40:12.565Z] Still waiting to schedule task [2022-06-23T05:40:12.566Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15420’ is offline [2022-06-23T05:40:12.596Z] Removing intermediate container ab834a957ae2 [2022-06-23T05:40:12.596Z] ---> d23824db0ebd [2022-06-23T05:40:12.596Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T05:40:12.596Z] ---> Running in 70621f326a6a [2022-06-23T05:40:12.596Z] Removing intermediate container 70621f326a6a [2022-06-23T05:40:12.596Z] ---> 24ea0f37bed3 [2022-06-23T05:40:12.596Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T05:40:12.856Z] ---> b92f68c47691 [2022-06-23T05:40:12.856Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:40:12.856Z] ---> Running in c4f4da62c8df [2022-06-23T05:40:27.766Z] Removing intermediate container c4f4da62c8df [2022-06-23T05:40:27.767Z] ---> cce93f110878 [2022-06-23T05:40:27.767Z] Step 12/13 : COPY . . [2022-06-23T05:40:27.767Z] ---> b8ec81b6a246 [2022-06-23T05:40:27.767Z] Step 13/13 : RUN ${MAKE} [2022-06-23T05:40:27.767Z] ---> Running in d5ef8346ec77 [2022-06-23T05:40:27.767Z] noop [2022-06-23T05:40:28.338Z] Removing intermediate container d5ef8346ec77 [2022-06-23T05:40:28.338Z] ---> c256150ee060 [2022-06-23T05:40:28.338Z] Successfully built c256150ee060 [2022-06-23T05:40:28.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:40:28.658Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T05:40:28.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:40:28.739Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:40:28.779Z] $ 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 [2022-06-23T05:40:29.246Z] $ docker top 54b5f76015f7b6f323fd0dd7f3852d3fab90e089b075707b7d7c7c067f92a364 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T05:40:29.664Z] + go version [2022-06-23T05:40:29.664Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T05:40:29.680Z] $ docker stop --time=1 54b5f76015f7b6f323fd0dd7f3852d3fab90e089b075707b7d7c7c067f92a364 [2022-06-23T05:40:31.076Z] $ docker rm -f 54b5f76015f7b6f323fd0dd7f3852d3fab90e089b075707b7d7c7c067f92a364 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:40:31.498Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T05:40:31.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:40:31.587Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:40:31.625Z] $ 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 [2022-06-23T05:40:32.044Z] $ docker top 94ff3aa9ebfe02c06367d1e1cb13fd8f462e32a6cb4d6c89d6a76f201277f7d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T05:40:32.422Z] + make test [2022-06-23T05:40:32.422Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T05:40:32.682Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T05:40:42.672Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T05:40:42.672Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.2% of statements [2022-06-23T05:40:47.961Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.560s coverage: 13.8% of statements [2022-06-23T05:40:56.094Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T05:41:00.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T05:41:00.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T05:41:00.294Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T05:41:00.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T05:41:00.322Z] $ docker stop --time=1 94ff3aa9ebfe02c06367d1e1cb13fd8f462e32a6cb4d6c89d6a76f201277f7d1 [2022-06-23T05:41:02.334Z] $ docker rm -f 94ff3aa9ebfe02c06367d1e1cb13fd8f462e32a6cb4d6c89d6a76f201277f7d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T05:41:02.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T05:41:02.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T05:41:03.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T05:41:03.541Z] + ls -al . [2022-06-23T05:41:03.541Z] total 236 [2022-06-23T05:41:03.541Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 05:41 . [2022-06-23T05:41:03.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:39 .. [2022-06-23T05:41:03.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:39 .git [2022-06-23T05:41:03.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:39 .github [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 05:39 .gitignore [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:39 .golangci.yml [2022-06-23T05:41:03.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:39 .semver [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 05:39 Attribution.txt [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 05:39 CHANGELOG.md [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 05:39 Dockerfile [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 05:39 GOVERNANCE.md [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 05:39 Jenkinsfile [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:39 LICENSE [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 05:39 Makefile [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 05:39 OWNERS.md [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 05:39 README.md [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 23 05:39 VERSION [2022-06-23T05:41:03.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:39 bin [2022-06-23T05:41:03.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:39 cmd [2022-06-23T05:41:03.541Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 23 05:40 coverage.out [2022-06-23T05:41:03.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:39 doc [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 05:39 go.mod [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 05:39 go.sum [2022-06-23T05:41:03.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:39 internal [2022-06-23T05:41:03.541Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:03.871Z] + 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=8374ad439d5c8571ae7424cc77de71a785d5a0ca --label arch=amd64 --label version=0.0.1-dev.14 . [2022-06-23T05:41:03.872Z] Sending build context to Docker daemon 8.807MB [2022-06-23T05:41:03.872Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:41:03.872Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T05:41:03.872Z] ---> c256150ee060 [2022-06-23T05:41:03.872Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T05:41:04.135Z] ---> Running in dd86a8873109 [2022-06-23T05:41:04.135Z] Removing intermediate container dd86a8873109 [2022-06-23T05:41:04.135Z] ---> 006ee10da287 [2022-06-23T05:41:04.135Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:41:04.135Z] ---> Running in 704bb174a2b1 [2022-06-23T05:41:04.135Z] Removing intermediate container 704bb174a2b1 [2022-06-23T05:41:04.135Z] ---> ad3cdb39b2c6 [2022-06-23T05:41:04.135Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:41:04.400Z] ---> Running in c97a1ad08ae4 [2022-06-23T05:41:04.400Z] Removing intermediate container c97a1ad08ae4 [2022-06-23T05:41:04.400Z] ---> 261a7ed900ce [2022-06-23T05:41:04.400Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:41:04.400Z] ---> Running in 174ea88853ac [2022-06-23T05:41:04.400Z] Removing intermediate container 174ea88853ac [2022-06-23T05:41:04.400Z] ---> 8bbd04979272 [2022-06-23T05:41:04.400Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:41:04.661Z] ---> Running in 9996d16f5dfb [2022-06-23T05:41:05.231Z] Removing intermediate container 9996d16f5dfb [2022-06-23T05:41:05.231Z] ---> f9f9886d5e16 [2022-06-23T05:41:05.231Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:41:05.232Z] ---> Running in 414f733f2283 [2022-06-23T05:41:05.491Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T05:41:06.431Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T05:41:06.699Z] OK: 221 MiB in 52 packages [2022-06-23T05:41:06.958Z] Removing intermediate container 414f733f2283 [2022-06-23T05:41:06.958Z] ---> cd56f6e3c45b [2022-06-23T05:41:06.958Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T05:41:06.958Z] ---> Running in 33858905e5e4 [2022-06-23T05:41:07.217Z] Removing intermediate container 33858905e5e4 [2022-06-23T05:41:07.217Z] ---> bcc8ad6fdef4 [2022-06-23T05:41:07.217Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T05:41:07.217Z] ---> 8f5ca58b29ea [2022-06-23T05:41:07.217Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:41:07.217Z] ---> Running in ca0147fd2b57 [2022-06-23T05:41:08.155Z] Removing intermediate container ca0147fd2b57 [2022-06-23T05:41:08.155Z] ---> 57b4c41498c6 [2022-06-23T05:41:08.155Z] Step 12/26 : COPY . . [2022-06-23T05:41:08.414Z] ---> 066128942e82 [2022-06-23T05:41:08.414Z] Step 13/26 : RUN ${MAKE} [2022-06-23T05:41:08.414Z] ---> Running in 5dc04368fa5e [2022-06-23T05:41:08.671Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T05:41:30.649Z] Removing intermediate container 5dc04368fa5e [2022-06-23T05:41:30.649Z] ---> d4d4fb5b027c [2022-06-23T05:41:30.649Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T05:41:30.649Z] 3.15: Pulling from library/alpine [2022-06-23T05:41:30.649Z] df9b9388f04a: Pulling fs layer [2022-06-23T05:41:30.649Z] df9b9388f04a: Verifying Checksum [2022-06-23T05:41:30.649Z] df9b9388f04a: Download complete [2022-06-23T05:41:30.649Z] df9b9388f04a: Pull complete [2022-06-23T05:41:30.649Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T05:41:30.649Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T05:41:30.649Z] ---> 0ac33e5f5afa [2022-06-23T05:41:30.649Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T05:41:30.649Z] ---> Running in 34208262d951 [2022-06-23T05:41:30.649Z] Removing intermediate container 34208262d951 [2022-06-23T05:41:30.649Z] ---> 150c6da8f7c6 [2022-06-23T05:41:30.649Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T05:41:30.649Z] ---> Running in 39320f7645c5 [2022-06-23T05:41:30.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T05:41:30.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T05:41:30.649Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T05:41:30.649Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T05:41:30.649Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T05:41:30.649Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T05:41:30.649Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T05:41:30.649Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T05:41:30.649Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T05:41:30.649Z] OK: 8 MiB in 20 packages [2022-06-23T05:41:30.649Z] Removing intermediate container 39320f7645c5 [2022-06-23T05:41:30.649Z] ---> 18c3e0aa4707 [2022-06-23T05:41:30.649Z] Step 17/26 : WORKDIR / [2022-06-23T05:41:30.649Z] ---> Running in 70e66ba2a0fd [2022-06-23T05:41:30.649Z] Removing intermediate container 70e66ba2a0fd [2022-06-23T05:41:30.649Z] ---> 8df3561e4915 [2022-06-23T05:41:30.649Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T05:41:31.218Z] ---> 0fea7ca903ae [2022-06-23T05:41:31.218Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T05:41:31.478Z] ---> 3bc079a3445b [2022-06-23T05:41:31.478Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T05:41:31.478Z] ---> d3ffa84c8083 [2022-06-23T05:41:31.478Z] Step 21/26 : EXPOSE 59984 [2022-06-23T05:41:31.478Z] ---> Running in e39cedab4055 [2022-06-23T05:41:31.739Z] Removing intermediate container e39cedab4055 [2022-06-23T05:41:31.739Z] ---> 67a2637ce239 [2022-06-23T05:41:31.739Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T05:41:31.739Z] ---> Running in 7fbc91af307d [2022-06-23T05:41:31.739Z] Removing intermediate container 7fbc91af307d [2022-06-23T05:41:31.739Z] ---> 5cc013616947 [2022-06-23T05:41:31.739Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T05:41:31.739Z] ---> Running in 05d3670a9e0d [2022-06-23T05:41:31.999Z] Removing intermediate container 05d3670a9e0d [2022-06-23T05:41:31.999Z] ---> c12cb90e1378 [2022-06-23T05:41:31.999Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T05:41:31.999Z] ---> Running in c326577c4342 [2022-06-23T05:41:31.999Z] Removing intermediate container c326577c4342 [2022-06-23T05:41:31.999Z] ---> 4c388fc5a31b [2022-06-23T05:41:31.999Z] Step 25/26 : LABEL git_sha=8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:41:31.999Z] ---> Running in 79c7f9711ca3 [2022-06-23T05:41:32.260Z] Removing intermediate container 79c7f9711ca3 [2022-06-23T05:41:32.260Z] ---> 73d24ff8f018 [2022-06-23T05:41:32.260Z] Step 26/26 : LABEL version=0.0.1-dev.14 [2022-06-23T05:41:32.260Z] ---> Running in 6ee5dfd7e237 [2022-06-23T05:41:32.260Z] Removing intermediate container 6ee5dfd7e237 [2022-06-23T05:41:32.260Z] ---> a64948c6189a [2022-06-23T05:41:32.260Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T05:41:32.260Z] Successfully built a64948c6189a [2022-06-23T05:41:32.260Z] 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 [2022-06-23T05:41:32.362Z] provisioning config files... [2022-06-23T05:41:32.373Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3692213409326625962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:41:32.672Z] ---> docker-login.sh [2022-06-23T05:41:32.672Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:41:32.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:41:32.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:41:32.672Z] Configure a credential helper to remove this warning. See [2022-06-23T05:41:32.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:41:32.672Z] [2022-06-23T05:41:32.672Z] Login Succeeded [2022-06-23T05:41:32.672Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:41:32.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:41:32.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:41:32.932Z] Configure a credential helper to remove this warning. See [2022-06-23T05:41:32.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:41:32.932Z] [2022-06-23T05:41:32.932Z] Login Succeeded [2022-06-23T05:41:32.932Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:41:32.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:41:32.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:41:32.932Z] Configure a credential helper to remove this warning. See [2022-06-23T05:41:32.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:41:32.932Z] [2022-06-23T05:41:32.932Z] Login Succeeded [2022-06-23T05:41:32.932Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:41:32.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:41:33.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:41:33.192Z] Configure a credential helper to remove this warning. See [2022-06-23T05:41:33.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:41:33.192Z] [2022-06-23T05:41:33.192Z] Login Succeeded [2022-06-23T05:41:33.192Z] docker.io [2022-06-23T05:41:33.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:41:33.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:41:33.453Z] Configure a credential helper to remove this warning. See [2022-06-23T05:41:33.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:41:33.453Z] [2022-06-23T05:41:33.453Z] Login Succeeded [2022-06-23T05:41:33.453Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:41:33.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-23T05:41:33.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:41:33.518Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-23T05:41:33.518Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:41:33.518Z] latest [2022-06-23T05:41:33.518Z] 0.0.1-dev.14 [2022-06-23T05:41:33.518Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:41:33.518Z] main [2022-06-23T05:41:33.518Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:33.844Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:34.158Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:41:34.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-23T05:41:34.158Z] 11e63a7a9d42: Preparing [2022-06-23T05:41:34.158Z] 9e47b5e361e3: Preparing [2022-06-23T05:41:34.158Z] 778ebb00eae9: Preparing [2022-06-23T05:41:34.158Z] 1b6e09497adb: Preparing [2022-06-23T05:41:34.158Z] 4fc242d58285: Preparing [2022-06-23T05:41:34.158Z] 4fc242d58285: Layer already exists [2022-06-23T05:41:34.158Z] 11e63a7a9d42: Pushed [2022-06-23T05:41:34.158Z] 9e47b5e361e3: Pushed [2022-06-23T05:41:34.418Z] 1b6e09497adb: Pushed [2022-06-23T05:41:36.958Z] 778ebb00eae9: Pushed [2022-06-23T05:41:36.958Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca: digest: sha256:a458fa6a3800275365b301444b4c85124d1f17bc0147692bf9a501361c5fe6c4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:37.276Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:37.591Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-23T05:41:37.591Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-23T05:41:37.591Z] 11e63a7a9d42: Preparing [2022-06-23T05:41:37.591Z] 9e47b5e361e3: Preparing [2022-06-23T05:41:37.591Z] 778ebb00eae9: Preparing [2022-06-23T05:41:37.591Z] 1b6e09497adb: Preparing [2022-06-23T05:41:37.591Z] 4fc242d58285: Preparing [2022-06-23T05:41:37.591Z] 9e47b5e361e3: Layer already exists [2022-06-23T05:41:37.591Z] 778ebb00eae9: Layer already exists [2022-06-23T05:41:37.591Z] 4fc242d58285: Layer already exists [2022-06-23T05:41:37.591Z] 1b6e09497adb: Layer already exists [2022-06-23T05:41:37.591Z] 11e63a7a9d42: Layer already exists [2022-06-23T05:41:37.591Z] latest: digest: sha256:a458fa6a3800275365b301444b4c85124d1f17bc0147692bf9a501361c5fe6c4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:37.909Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:38.218Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.14 [2022-06-23T05:41:38.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-23T05:41:38.218Z] 11e63a7a9d42: Preparing [2022-06-23T05:41:38.218Z] 9e47b5e361e3: Preparing [2022-06-23T05:41:38.218Z] 778ebb00eae9: Preparing [2022-06-23T05:41:38.218Z] 1b6e09497adb: Preparing [2022-06-23T05:41:38.218Z] 4fc242d58285: Preparing [2022-06-23T05:41:38.218Z] 9e47b5e361e3: Layer already exists [2022-06-23T05:41:38.218Z] 4fc242d58285: Layer already exists [2022-06-23T05:41:38.218Z] 778ebb00eae9: Layer already exists [2022-06-23T05:41:38.218Z] 1b6e09497adb: Layer already exists [2022-06-23T05:41:38.218Z] 11e63a7a9d42: Layer already exists [2022-06-23T05:41:38.218Z] 0.0.1-dev.14: digest: sha256:a458fa6a3800275365b301444b4c85124d1f17bc0147692bf9a501361c5fe6c4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:38.533Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:38.887Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:41:38.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-23T05:41:38.887Z] 11e63a7a9d42: Preparing [2022-06-23T05:41:38.887Z] 9e47b5e361e3: Preparing [2022-06-23T05:41:38.887Z] 778ebb00eae9: Preparing [2022-06-23T05:41:38.887Z] 1b6e09497adb: Preparing [2022-06-23T05:41:38.887Z] 4fc242d58285: Preparing [2022-06-23T05:41:38.887Z] 4fc242d58285: Layer already exists [2022-06-23T05:41:38.887Z] 11e63a7a9d42: Layer already exists [2022-06-23T05:41:38.887Z] 778ebb00eae9: Layer already exists [2022-06-23T05:41:38.887Z] 1b6e09497adb: Layer already exists [2022-06-23T05:41:38.887Z] 9e47b5e361e3: Layer already exists [2022-06-23T05:41:38.887Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14: digest: sha256:a458fa6a3800275365b301444b4c85124d1f17bc0147692bf9a501361c5fe6c4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:39.254Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:39.566Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-23T05:41:39.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-23T05:41:39.566Z] 11e63a7a9d42: Preparing [2022-06-23T05:41:39.566Z] 9e47b5e361e3: Preparing [2022-06-23T05:41:39.566Z] 778ebb00eae9: Preparing [2022-06-23T05:41:39.566Z] 1b6e09497adb: Preparing [2022-06-23T05:41:39.566Z] 4fc242d58285: Preparing [2022-06-23T05:41:39.566Z] 778ebb00eae9: Layer already exists [2022-06-23T05:41:39.566Z] 1b6e09497adb: Layer already exists [2022-06-23T05:41:39.566Z] 11e63a7a9d42: Layer already exists [2022-06-23T05:41:39.566Z] 9e47b5e361e3: Layer already exists [2022-06-23T05:41:39.566Z] 4fc242d58285: Layer already exists [2022-06-23T05:41:39.566Z] main: digest: sha256:a458fa6a3800275365b301444b4c85124d1f17bc0147692bf9a501361c5fe6c4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-23T05:41:39.617Z] ===================================================== [Pipeline] echo [2022-06-23T05:41:39.624Z] taggedImages: [2022-06-23T05:41:39.624Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:41:39.624Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-23T05:41:39.624Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.14 [2022-06-23T05:41:39.624Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:41:39.624Z] - 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 [2022-06-23T05:41:39.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:41:39.979Z] [2022-06-23T05:41:39.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:41:40.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:41:40.283Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T05:41:40.283Z] 5eb5b503b376: Pulling fs layer [2022-06-23T05:41:40.283Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T05:41:40.283Z] ec43610c2a17: Pulling fs layer [2022-06-23T05:41:40.283Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T05:41:40.283Z] 33b1e0a273af: Pulling fs layer [2022-06-23T05:41:40.283Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T05:41:40.283Z] 2f39f015ded8: Pulling fs layer [2022-06-23T05:41:40.283Z] 3a2ae6a8a46f: Waiting [2022-06-23T05:41:40.283Z] 33b1e0a273af: Waiting [2022-06-23T05:41:40.283Z] 5d3b04190fa2: Waiting [2022-06-23T05:41:40.283Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T05:41:40.283Z] 5c69ac0246d0: Download complete [2022-06-23T05:41:40.283Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-23T05:41:40.283Z] 3a2ae6a8a46f: Download complete [2022-06-23T05:41:40.283Z] 33b1e0a273af: Download complete [2022-06-23T05:41:40.283Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T05:41:40.283Z] 5d3b04190fa2: Download complete [2022-06-23T05:41:40.542Z] ec43610c2a17: Verifying Checksum [2022-06-23T05:41:40.542Z] ec43610c2a17: Download complete [2022-06-23T05:41:40.542Z] 5eb5b503b376: Verifying Checksum [2022-06-23T05:41:40.542Z] 5eb5b503b376: Download complete [2022-06-23T05:41:41.112Z] 2f39f015ded8: Download complete [2022-06-23T05:41:41.680Z] 5eb5b503b376: Pull complete [2022-06-23T05:41:41.939Z] 5c69ac0246d0: Pull complete [2022-06-23T05:41:42.199Z] ec43610c2a17: Pull complete [2022-06-23T05:41:42.460Z] 3a2ae6a8a46f: Pull complete [2022-06-23T05:41:42.460Z] 33b1e0a273af: Pull complete [2022-06-23T05:41:42.718Z] 5d3b04190fa2: Pull complete [2022-06-23T05:41:46.908Z] 2f39f015ded8: Pull complete [2022-06-23T05:41:46.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T05:41:46.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:41:46.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:41:47.003Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:41:47.042Z] $ 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 [2022-06-23T05:41:49.233Z] $ docker top ed2af355a4763df5ff334127c904ade2c69acbe8edb1c867de4a05f240d4f8ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:41:49.641Z] ---> job-cost.sh [2022-06-23T05:41:49.641Z] lf-activate-venv: SKIPPING [2022-06-23T05:41:49.641Z] INFO: No Stack... [2022-06-23T05:41:49.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T05:41:50.471Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T05:41:50.706Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15426 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-23T05:41:50.718Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-06-23T05:41:50.760Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-23T05:41:50.760Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T05:41:50.774Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [2022-06-23T05:41:50.776Z] Selected Git installation does not exist. Using Default [2022-06-23T05:41:50.776Z] The recommended git tool is: NONE [2022-06-23T05:41:50.780Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] did not exist. Created. [2022-06-23T05:41:50.780Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T05:41:51.080Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T05:41:51.108Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T05:41:51.115Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T05:41:51.137Z] $ docker stop --time=1 ed2af355a4763df5ff334127c904ade2c69acbe8edb1c867de4a05f240d4f8ed [2022-06-23T05:41:52.321Z] $ docker rm -f ed2af355a4763df5ff334127c904ade2c69acbe8edb1c867de4a05f240d4f8ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T05:41:57.097Z] using credential edgex-jenkins-ssh [2022-06-23T05:41:57.114Z] Cloning the remote Git repository [2022-06-23T05:41:57.252Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T05:41:57.389Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-06-23T05:41:57.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T05:41:57.469Z] > git --version # timeout=10 [2022-06-23T05:41:58.456Z] Avoid second fetch [2022-06-23T05:41:58.456Z] Checking out Revision 8374ad439d5c8571ae7424cc77de71a785d5a0ca (main) [2022-06-23T05:41:57.496Z] > git --version # 'git version 2.25.1' [2022-06-23T05:41:57.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T05:41:57.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T05:41:58.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T05:41:58.438Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T05:41:58.479Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T05:41:58.491Z] > git checkout -f 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-23T05:42:02.676Z] Commit message: "Merge pull request #89 from edgexfoundry/revert-85-upgrade-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T05:42:03.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T05:42:03.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T05:42:03.962Z] Dload Upload Total Spent Left Speed [2022-06-23T05:42:03.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2022-06-23T05:42:04.711Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T05:42:05.065Z] + + sudo tee /etc/docker/daemon.newsudo [2022-06-23T05:42:05.065Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T05:42:05.065Z] { [2022-06-23T05:42:05.065Z] "registry-mirrors": [ [2022-06-23T05:42:05.065Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T05:42:05.065Z] ], [2022-06-23T05:42:05.065Z] "bip": "10.250.0.254/24", [2022-06-23T05:42:05.065Z] "hosts": [ [2022-06-23T05:42:05.065Z] "tcp://0.0.0.0:5555", [2022-06-23T05:42:05.065Z] "unix:///var/run/docker.sock" [2022-06-23T05:42:05.065Z] ], [2022-06-23T05:42:05.065Z] "mtu": 1458, [2022-06-23T05:42:05.065Z] "selinux-enabled": true, [2022-06-23T05:42:05.065Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T05:42:05.065Z] } [Pipeline] sh [2022-06-23T05:42:05.410Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T05:42:05.746Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:42:24.068Z] provisioning config files... [2022-06-23T05:42:24.092Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config1557505823615291024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:42:24.448Z] ---> docker-login.sh [2022-06-23T05:42:24.448Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:42:25.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:42:25.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:42:25.319Z] Configure a credential helper to remove this warning. See [2022-06-23T05:42:25.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:42:25.319Z] [2022-06-23T05:42:25.319Z] Login Succeeded [2022-06-23T05:42:25.319Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:42:25.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:42:25.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:42:25.596Z] Configure a credential helper to remove this warning. See [2022-06-23T05:42:25.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:42:25.596Z] [2022-06-23T05:42:25.596Z] Login Succeeded [2022-06-23T05:42:25.596Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:42:26.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:42:26.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:42:26.189Z] Configure a credential helper to remove this warning. See [2022-06-23T05:42:26.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:42:26.189Z] [2022-06-23T05:42:26.189Z] Login Succeeded [2022-06-23T05:42:26.189Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:42:26.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:42:26.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:42:26.475Z] Configure a credential helper to remove this warning. See [2022-06-23T05:42:26.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:42:26.475Z] [2022-06-23T05:42:26.475Z] Login Succeeded [2022-06-23T05:42:26.475Z] docker.io [2022-06-23T05:42:27.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:42:27.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:42:27.339Z] Configure a credential helper to remove this warning. See [2022-06-23T05:42:27.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:42:27.339Z] [2022-06-23T05:42:27.339Z] Login Succeeded [2022-06-23T05:42:27.339Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:42:27.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T05:42:27.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:42:27.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:42:27.913Z] ========================================================= [2022-06-23T05:42:27.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T05:42:27.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:42:28.301Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T05:42:28.573Z] Sending build context to Docker daemon 5.959MB [2022-06-23T05:42:28.573Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:42:28.573Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T05:42:28.849Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T05:42:28.849Z] 9b3977197b4f: Pulling fs layer [2022-06-23T05:42:28.849Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T05:42:28.849Z] 94645a83ff95: Pulling fs layer [2022-06-23T05:42:28.849Z] e6fb740bc735: Pulling fs layer [2022-06-23T05:42:28.849Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T05:42:28.849Z] 355e64cbe906: Pulling fs layer [2022-06-23T05:42:28.849Z] 63ab81a10011: Pulling fs layer [2022-06-23T05:42:28.849Z] 555d1d1c4555: Pulling fs layer [2022-06-23T05:42:28.849Z] 7d9057610161: Pulling fs layer [2022-06-23T05:42:28.849Z] 3a77bd46dcc9: Waiting [2022-06-23T05:42:28.849Z] 355e64cbe906: Waiting [2022-06-23T05:42:28.849Z] 63ab81a10011: Waiting [2022-06-23T05:42:28.849Z] 555d1d1c4555: Waiting [2022-06-23T05:42:28.849Z] 7d9057610161: Waiting [2022-06-23T05:42:28.849Z] e6fb740bc735: Waiting [2022-06-23T05:42:28.849Z] 94645a83ff95: Verifying Checksum [2022-06-23T05:42:28.849Z] 94645a83ff95: Download complete [2022-06-23T05:42:28.849Z] 1a89e8eeedd5: Download complete [2022-06-23T05:42:28.849Z] 3a77bd46dcc9: Download complete [2022-06-23T05:42:28.849Z] 355e64cbe906: Verifying Checksum [2022-06-23T05:42:28.849Z] 9b3977197b4f: Verifying Checksum [2022-06-23T05:42:28.849Z] 9b3977197b4f: Download complete [2022-06-23T05:42:28.849Z] 355e64cbe906: Download complete [2022-06-23T05:42:28.849Z] 63ab81a10011: Verifying Checksum [2022-06-23T05:42:28.849Z] 63ab81a10011: Download complete [2022-06-23T05:42:29.847Z] 9b3977197b4f: Pull complete [2022-06-23T05:42:29.847Z] 7d9057610161: Verifying Checksum [2022-06-23T05:42:29.847Z] 7d9057610161: Download complete [2022-06-23T05:42:30.455Z] 1a89e8eeedd5: Pull complete [2022-06-23T05:42:30.735Z] 94645a83ff95: Pull complete [2022-06-23T05:42:31.017Z] 555d1d1c4555: Verifying Checksum [2022-06-23T05:42:31.017Z] 555d1d1c4555: Download complete [2022-06-23T05:42:31.616Z] e6fb740bc735: Verifying Checksum [2022-06-23T05:42:31.616Z] e6fb740bc735: Download complete [2022-06-23T05:42:44.017Z] e6fb740bc735: Pull complete [2022-06-23T05:42:44.017Z] 3a77bd46dcc9: Pull complete [2022-06-23T05:42:44.017Z] 355e64cbe906: Pull complete [2022-06-23T05:42:44.017Z] 63ab81a10011: Pull complete [2022-06-23T05:42:50.738Z] 555d1d1c4555: Pull complete [2022-06-23T05:42:51.331Z] 7d9057610161: Pull complete [2022-06-23T05:42:51.331Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T05:42:51.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T05:42:51.331Z] ---> 819e984ddca1 [2022-06-23T05:42:51.331Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T05:42:53.306Z] ---> Running in 954aa919269e [2022-06-23T05:42:53.578Z] Removing intermediate container 954aa919269e [2022-06-23T05:42:53.578Z] ---> 2e351d21c8bc [2022-06-23T05:42:53.578Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:42:53.578Z] ---> Running in f5f28608dbd2 [2022-06-23T05:42:53.852Z] Removing intermediate container f5f28608dbd2 [2022-06-23T05:42:53.852Z] ---> 20eca8567789 [2022-06-23T05:42:53.852Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:42:54.124Z] ---> Running in dc793f220a19 [2022-06-23T05:42:54.403Z] Removing intermediate container dc793f220a19 [2022-06-23T05:42:54.403Z] ---> a5157e8c6748 [2022-06-23T05:42:54.403Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:42:54.403Z] ---> Running in 4b63870bca31 [2022-06-23T05:42:54.677Z] Removing intermediate container 4b63870bca31 [2022-06-23T05:42:54.677Z] ---> 272344c872f6 [2022-06-23T05:42:54.677Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:42:54.677Z] ---> Running in 901c7f9b00b2 [2022-06-23T05:42:57.306Z] Removing intermediate container 901c7f9b00b2 [2022-06-23T05:42:57.306Z] ---> 591013ee36a9 [2022-06-23T05:42:57.306Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:42:57.586Z] ---> Running in 86af5c0de486 [2022-06-23T05:42:58.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:42:59.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:43:01.001Z] OK: 220 MiB in 52 packages [2022-06-23T05:43:01.985Z] Removing intermediate container 86af5c0de486 [2022-06-23T05:43:01.985Z] ---> 898d489d5555 [2022-06-23T05:43:01.985Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T05:43:01.985Z] ---> Running in b6d9d40007ed [2022-06-23T05:43:02.260Z] Removing intermediate container b6d9d40007ed [2022-06-23T05:43:02.260Z] ---> fecc9d03adb3 [2022-06-23T05:43:02.260Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T05:43:02.862Z] ---> 620e2220ea59 [2022-06-23T05:43:02.862Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:43:02.862Z] ---> Running in 865573c93111 [2022-06-23T05:43:59.437Z] Removing intermediate container 865573c93111 [2022-06-23T05:43:59.437Z] ---> 64054f0adcb4 [2022-06-23T05:43:59.437Z] Step 12/13 : COPY . . [2022-06-23T05:43:59.437Z] ---> 29fd8a042078 [2022-06-23T05:43:59.437Z] Step 13/13 : RUN ${MAKE} [2022-06-23T05:43:59.437Z] ---> Running in d271791e7777 [2022-06-23T05:43:59.437Z] noop [2022-06-23T05:43:59.437Z] Removing intermediate container d271791e7777 [2022-06-23T05:43:59.437Z] ---> 52b276423d52 [2022-06-23T05:43:59.437Z] Successfully built 52b276423d52 [2022-06-23T05:43:59.437Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:43:59.820Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T05:43:59.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:44:00.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-15426 does not seem to be running inside a container [2022-06-23T05:44:00.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 [2022-06-23T05:44:01.588Z] $ docker top 6c9f15747307a98fcea88df482cf98d40e9d18b03b122cc8e00736eb7962990a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T05:44:02.517Z] + go version [2022-06-23T05:44:02.517Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T05:44:02.550Z] $ docker stop --time=1 6c9f15747307a98fcea88df482cf98d40e9d18b03b122cc8e00736eb7962990a [2022-06-23T05:44:04.221Z] $ docker rm -f 6c9f15747307a98fcea88df482cf98d40e9d18b03b122cc8e00736eb7962990a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:44:04.833Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T05:44:04.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:44:05.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-15426 does not seem to be running inside a container [2022-06-23T05:44:05.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 [2022-06-23T05:44:06.531Z] $ docker top 0588cecb682df1b89be3eb24a818e9e08b1a84cf90ebbabd18bd491dd84583ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T05:44:07.458Z] + make test [2022-06-23T05:44:07.458Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T05:44:09.449Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T05:45:46.354Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T05:45:46.354Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.083s coverage: 1.2% of statements [2022-06-23T05:46:04.675Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.612s coverage: 13.8% of statements [2022-06-23T05:46:04.675Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T05:46:04.675Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T05:46:31.528Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T05:46:31.528Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T05:46:31.528Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T05:46:34.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T05:46:34.967Z] $ docker stop --time=1 0588cecb682df1b89be3eb24a818e9e08b1a84cf90ebbabd18bd491dd84583ae [2022-06-23T05:46:36.865Z] $ docker rm -f 0588cecb682df1b89be3eb24a818e9e08b1a84cf90ebbabd18bd491dd84583ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T05:46:38.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T05:46:38.039Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T05:46:39.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T05:46:39.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T05:46:39.768Z] + ls -al . [2022-06-23T05:46:39.768Z] total 232 [2022-06-23T05:46:39.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:46 . [2022-06-23T05:46:39.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:41 .. [2022-06-23T05:46:39.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:42 .git [2022-06-23T05:46:39.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:41 .github [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 05:41 .gitignore [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:41 .golangci.yml [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 05:41 Attribution.txt [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 05:41 CHANGELOG.md [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 05:41 Dockerfile [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 05:41 GOVERNANCE.md [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 05:41 Jenkinsfile [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:41 LICENSE [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 05:41 Makefile [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 05:41 OWNERS.md [2022-06-23T05:46:39.768Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 05:41 README.md [2022-06-23T05:46:39.769Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 23 05:39 VERSION [2022-06-23T05:46:39.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:41 bin [2022-06-23T05:46:39.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:41 cmd [2022-06-23T05:46:39.769Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 23 05:46 coverage.out [2022-06-23T05:46:39.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:41 doc [2022-06-23T05:46:39.769Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 05:41 go.mod [2022-06-23T05:46:39.769Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 05:41 go.sum [2022-06-23T05:46:39.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:41 internal [2022-06-23T05:46:39.769Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:46:40.143Z] + 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=8374ad439d5c8571ae7424cc77de71a785d5a0ca --label arch=arm64 --label version=0.0.1-dev.14 . [2022-06-23T05:46:40.747Z] Sending build context to Docker daemon 6.019MB [2022-06-23T05:46:40.747Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:46:40.747Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T05:46:40.747Z] ---> 52b276423d52 [2022-06-23T05:46:40.747Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T05:46:40.747Z] ---> Running in abb428661a13 [2022-06-23T05:46:41.022Z] Removing intermediate container abb428661a13 [2022-06-23T05:46:41.022Z] ---> e364223c2551 [2022-06-23T05:46:41.022Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:46:41.303Z] ---> Running in 71df20b33d74 [2022-06-23T05:46:41.577Z] Removing intermediate container 71df20b33d74 [2022-06-23T05:46:41.577Z] ---> 538d5b37f13c [2022-06-23T05:46:41.577Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:46:41.577Z] ---> Running in 78b90ac4f904 [2022-06-23T05:46:41.853Z] Removing intermediate container 78b90ac4f904 [2022-06-23T05:46:41.853Z] ---> 8635981a2560 [2022-06-23T05:46:41.853Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:46:42.134Z] ---> Running in acac82bfcb96 [2022-06-23T05:46:42.411Z] Removing intermediate container acac82bfcb96 [2022-06-23T05:46:42.411Z] ---> afc6a26e5e95 [2022-06-23T05:46:42.411Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:46:42.411Z] ---> Running in c6a367acd3d6 [2022-06-23T05:46:44.395Z] Removing intermediate container c6a367acd3d6 [2022-06-23T05:46:44.395Z] ---> 9cbf2240ce1b [2022-06-23T05:46:44.395Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:46:44.395Z] ---> Running in a38a01180bb2 [2022-06-23T05:46:45.383Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:46:46.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:46:47.348Z] OK: 220 MiB in 52 packages [2022-06-23T05:46:48.332Z] Removing intermediate container a38a01180bb2 [2022-06-23T05:46:48.332Z] ---> 5b7c0c8f5281 [2022-06-23T05:46:48.332Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T05:46:48.332Z] ---> Running in bc493c5ca6d3 [2022-06-23T05:46:48.608Z] Removing intermediate container bc493c5ca6d3 [2022-06-23T05:46:48.608Z] ---> 6ff5b1c87543 [2022-06-23T05:46:48.608Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T05:46:49.216Z] ---> 3a3b27e6f6c0 [2022-06-23T05:46:49.216Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:46:49.491Z] ---> Running in 54a8dfed6b9b [2022-06-23T05:46:51.481Z] Removing intermediate container 54a8dfed6b9b [2022-06-23T05:46:51.481Z] ---> 52fbbdee48fd [2022-06-23T05:46:51.481Z] Step 12/26 : COPY . . [2022-06-23T05:46:52.922Z] ---> befc826d244a [2022-06-23T05:46:52.922Z] Step 13/26 : RUN ${MAKE} [2022-06-23T05:46:52.922Z] ---> Running in 8ad36055b472 [2022-06-23T05:46:53.910Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T05:49:15.822Z] Removing intermediate container 8ad36055b472 [2022-06-23T05:49:15.822Z] ---> fe50295881e9 [2022-06-23T05:49:15.822Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T05:49:15.822Z] 3.15: Pulling from library/alpine [2022-06-23T05:49:15.822Z] 9981e73032c8: Pulling fs layer [2022-06-23T05:49:15.822Z] 9981e73032c8: Verifying Checksum [2022-06-23T05:49:15.822Z] 9981e73032c8: Download complete [2022-06-23T05:49:15.822Z] 9981e73032c8: Pull complete [2022-06-23T05:49:15.822Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T05:49:15.822Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T05:49:15.822Z] ---> 3fb3c9af89a9 [2022-06-23T05:49:15.822Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T05:49:15.822Z] ---> Running in 345d8ce74a3a [2022-06-23T05:49:16.100Z] Removing intermediate container 345d8ce74a3a [2022-06-23T05:49:16.100Z] ---> abcf7a58b81a [2022-06-23T05:49:16.100Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T05:49:16.100Z] ---> Running in 0e5aa9141af4 [2022-06-23T05:49:17.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:49:17.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:49:18.342Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T05:49:18.342Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T05:49:18.342Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T05:49:18.342Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T05:49:18.342Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T05:49:18.342Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T05:49:18.342Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T05:49:18.342Z] OK: 8 MiB in 20 packages [2022-06-23T05:49:19.325Z] Removing intermediate container 0e5aa9141af4 [2022-06-23T05:49:19.325Z] ---> 1c7b69272f16 [2022-06-23T05:49:19.325Z] Step 17/26 : WORKDIR / [2022-06-23T05:49:19.598Z] ---> Running in a3288abf44b2 [2022-06-23T05:49:19.875Z] Removing intermediate container a3288abf44b2 [2022-06-23T05:49:19.875Z] ---> ec6f6b8c0b6b [2022-06-23T05:49:19.875Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T05:49:21.861Z] ---> e661ad3e8fc3 [2022-06-23T05:49:21.861Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T05:49:22.136Z] ---> 4824cc99f346 [2022-06-23T05:49:22.136Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T05:49:22.734Z] ---> aa37dc28b2cf [2022-06-23T05:49:22.734Z] Step 21/26 : EXPOSE 59984 [2022-06-23T05:49:22.734Z] ---> Running in 1d58bfdf259b [2022-06-23T05:49:23.009Z] Removing intermediate container 1d58bfdf259b [2022-06-23T05:49:23.009Z] ---> ae2805365cf3 [2022-06-23T05:49:23.009Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T05:49:23.285Z] ---> Running in dd6c6d975cfe [2022-06-23T05:49:23.558Z] Removing intermediate container dd6c6d975cfe [2022-06-23T05:49:23.559Z] ---> d2eeb18ff1d2 [2022-06-23T05:49:23.559Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T05:49:23.559Z] ---> Running in 5c92c72e6c7a [2022-06-23T05:49:23.833Z] Removing intermediate container 5c92c72e6c7a [2022-06-23T05:49:23.833Z] ---> 2eecab4d6d5a [2022-06-23T05:49:23.833Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T05:49:24.108Z] ---> Running in f374b24b36b9 [2022-06-23T05:49:24.381Z] Removing intermediate container f374b24b36b9 [2022-06-23T05:49:24.381Z] ---> d46e700607f1 [2022-06-23T05:49:24.381Z] Step 25/26 : LABEL git_sha=8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:49:24.381Z] ---> Running in f3cd235f314a [2022-06-23T05:49:24.661Z] Removing intermediate container f3cd235f314a [2022-06-23T05:49:24.661Z] ---> 90408eb043ba [2022-06-23T05:49:24.661Z] Step 26/26 : LABEL version=0.0.1-dev.14 [2022-06-23T05:49:24.934Z] ---> Running in 6d4c120fd45c [2022-06-23T05:49:25.210Z] Removing intermediate container 6d4c120fd45c [2022-06-23T05:49:25.210Z] ---> 3d0a1c2c9dcb [2022-06-23T05:49:25.210Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T05:49:25.210Z] Successfully built 3d0a1c2c9dcb [2022-06-23T05:49:25.210Z] 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 [2022-06-23T05:49:25.330Z] provisioning config files... [2022-06-23T05:49:25.349Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config2013644280563363553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:49:25.702Z] ---> docker-login.sh [2022-06-23T05:49:25.702Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:49:25.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:49:25.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:49:25.974Z] Configure a credential helper to remove this warning. See [2022-06-23T05:49:25.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:49:25.974Z] [2022-06-23T05:49:25.974Z] Login Succeeded [2022-06-23T05:49:25.974Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:49:26.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:49:26.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:49:26.572Z] Configure a credential helper to remove this warning. See [2022-06-23T05:49:26.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:49:26.572Z] [2022-06-23T05:49:26.572Z] Login Succeeded [2022-06-23T05:49:26.572Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:49:27.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:49:27.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:49:27.169Z] Configure a credential helper to remove this warning. See [2022-06-23T05:49:27.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:49:27.169Z] [2022-06-23T05:49:27.169Z] Login Succeeded [2022-06-23T05:49:27.169Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:49:27.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:49:27.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:49:27.765Z] Configure a credential helper to remove this warning. See [2022-06-23T05:49:27.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:49:27.765Z] [2022-06-23T05:49:27.765Z] Login Succeeded [2022-06-23T05:49:27.765Z] docker.io [2022-06-23T05:49:28.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:49:28.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:49:28.643Z] Configure a credential helper to remove this warning. See [2022-06-23T05:49:28.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:49:28.643Z] [2022-06-23T05:49:28.643Z] Login Succeeded [2022-06-23T05:49:28.643Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:49:28.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-23T05:49:28.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:49:28.719Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-23T05:49:28.719Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:49:28.719Z] latest [2022-06-23T05:49:28.719Z] 0.0.1-dev.14 [2022-06-23T05:49:28.719Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:49:28.719Z] main [2022-06-23T05:49:28.719Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:29.086Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:29.458Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:49:29.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-23T05:49:29.459Z] ec97cce02768: Preparing [2022-06-23T05:49:29.459Z] 9f2850f54acd: Preparing [2022-06-23T05:49:29.459Z] 66d59e3d283f: Preparing [2022-06-23T05:49:29.459Z] dd54059f37af: Preparing [2022-06-23T05:49:29.459Z] 4f4ce317c6bb: Preparing [2022-06-23T05:49:29.743Z] 4f4ce317c6bb: Layer already exists [2022-06-23T05:49:29.743Z] 9f2850f54acd: Pushed [2022-06-23T05:49:29.743Z] ec97cce02768: Pushed [2022-06-23T05:49:30.340Z] dd54059f37af: Pushed [2022-06-23T05:49:35.731Z] 66d59e3d283f: Pushed [2022-06-23T05:49:35.731Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca: digest: sha256:4d9d67277579cdcac7079955a1aa9ea4a2f1230d76c73d4345b7f745529c09eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:36.092Z] + 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 [2022-06-23T05:49:36.450Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-23T05:49:36.450Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-23T05:49:36.450Z] ec97cce02768: Preparing [2022-06-23T05:49:36.450Z] 9f2850f54acd: Preparing [2022-06-23T05:49:36.450Z] 66d59e3d283f: Preparing [2022-06-23T05:49:36.450Z] dd54059f37af: Preparing [2022-06-23T05:49:36.450Z] 4f4ce317c6bb: Preparing [2022-06-23T05:49:36.450Z] 66d59e3d283f: Layer already exists [2022-06-23T05:49:36.450Z] ec97cce02768: Layer already exists [2022-06-23T05:49:36.450Z] 4f4ce317c6bb: Layer already exists [2022-06-23T05:49:36.450Z] dd54059f37af: Layer already exists [2022-06-23T05:49:36.450Z] 9f2850f54acd: Layer already exists [2022-06-23T05:49:36.723Z] latest: digest: sha256:4d9d67277579cdcac7079955a1aa9ea4a2f1230d76c73d4345b7f745529c09eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:37.086Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:37.507Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.14 [2022-06-23T05:49:37.507Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-23T05:49:37.507Z] ec97cce02768: Preparing [2022-06-23T05:49:37.507Z] 9f2850f54acd: Preparing [2022-06-23T05:49:37.507Z] 66d59e3d283f: Preparing [2022-06-23T05:49:37.507Z] dd54059f37af: Preparing [2022-06-23T05:49:37.507Z] 4f4ce317c6bb: Preparing [2022-06-23T05:49:37.507Z] 66d59e3d283f: Layer already exists [2022-06-23T05:49:37.507Z] 4f4ce317c6bb: Layer already exists [2022-06-23T05:49:37.507Z] ec97cce02768: Layer already exists [2022-06-23T05:49:37.507Z] 9f2850f54acd: Layer already exists [2022-06-23T05:49:37.507Z] dd54059f37af: Layer already exists [2022-06-23T05:49:37.782Z] 0.0.1-dev.14: digest: sha256:4d9d67277579cdcac7079955a1aa9ea4a2f1230d76c73d4345b7f745529c09eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:38.169Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:38.538Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:49:38.539Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-23T05:49:38.539Z] ec97cce02768: Preparing [2022-06-23T05:49:38.539Z] 9f2850f54acd: Preparing [2022-06-23T05:49:38.539Z] 66d59e3d283f: Preparing [2022-06-23T05:49:38.539Z] dd54059f37af: Preparing [2022-06-23T05:49:38.539Z] 4f4ce317c6bb: Preparing [2022-06-23T05:49:38.539Z] 4f4ce317c6bb: Layer already exists [2022-06-23T05:49:38.539Z] dd54059f37af: Layer already exists [2022-06-23T05:49:38.539Z] ec97cce02768: Layer already exists [2022-06-23T05:49:38.539Z] 66d59e3d283f: Layer already exists [2022-06-23T05:49:38.539Z] 9f2850f54acd: Layer already exists [2022-06-23T05:49:38.813Z] 8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14: digest: sha256:4d9d67277579cdcac7079955a1aa9ea4a2f1230d76c73d4345b7f745529c09eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:39.207Z] + 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 [2022-06-23T05:49:39.574Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-23T05:49:39.574Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-23T05:49:39.574Z] ec97cce02768: Preparing [2022-06-23T05:49:39.574Z] 9f2850f54acd: Preparing [2022-06-23T05:49:39.574Z] 66d59e3d283f: Preparing [2022-06-23T05:49:39.574Z] dd54059f37af: Preparing [2022-06-23T05:49:39.574Z] 4f4ce317c6bb: Preparing [2022-06-23T05:49:39.574Z] dd54059f37af: Layer already exists [2022-06-23T05:49:39.574Z] 9f2850f54acd: Layer already exists [2022-06-23T05:49:39.574Z] 4f4ce317c6bb: Layer already exists [2022-06-23T05:49:39.574Z] 66d59e3d283f: Layer already exists [2022-06-23T05:49:39.574Z] ec97cce02768: Layer already exists [2022-06-23T05:49:39.846Z] main: digest: sha256:4d9d67277579cdcac7079955a1aa9ea4a2f1230d76c73d4345b7f745529c09eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-23T05:49:39.904Z] ===================================================== [Pipeline] echo [2022-06-23T05:49:39.914Z] taggedImages: [2022-06-23T05:49:39.914Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca [2022-06-23T05:49:39.914Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-23T05:49:39.914Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.14 [2022-06-23T05:49:39.914Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8374ad439d5c8571ae7424cc77de71a785d5a0ca-0.0.1-dev.14 [2022-06-23T05:49:39.914Z] - 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 [2022-06-23T05:49:40.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:49:40.291Z] [2022-06-23T05:49:40.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:49:40.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:49:40.913Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T05:49:40.913Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T05:49:40.913Z] 04944245beec: Pulling fs layer [2022-06-23T05:49:40.913Z] 699f458cf7ca: Pulling fs layer [2022-06-23T05:49:40.913Z] 765212b225bb: Pulling fs layer [2022-06-23T05:49:40.913Z] f23df028b6ca: Pulling fs layer [2022-06-23T05:49:40.913Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T05:49:40.913Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T05:49:40.913Z] d65c8cfc05b1: Waiting [2022-06-23T05:49:40.913Z] 2437ff75d9bd: Waiting [2022-06-23T05:49:40.913Z] 765212b225bb: Waiting [2022-06-23T05:49:40.913Z] f23df028b6ca: Waiting [2022-06-23T05:49:40.913Z] 04944245beec: Verifying Checksum [2022-06-23T05:49:40.913Z] 04944245beec: Download complete [2022-06-23T05:49:40.913Z] 765212b225bb: Download complete [2022-06-23T05:49:40.913Z] f23df028b6ca: Verifying Checksum [2022-06-23T05:49:40.913Z] f23df028b6ca: Download complete [2022-06-23T05:49:40.913Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T05:49:40.913Z] d65c8cfc05b1: Download complete [2022-06-23T05:49:41.190Z] 699f458cf7ca: Verifying Checksum [2022-06-23T05:49:41.190Z] 699f458cf7ca: Download complete [2022-06-23T05:49:41.463Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T05:49:41.463Z] 8998bd30e6a1: Download complete [2022-06-23T05:49:44.106Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T05:49:44.106Z] 2437ff75d9bd: Download complete [2022-06-23T05:49:46.087Z] 8998bd30e6a1: Pull complete [2022-06-23T05:49:46.361Z] 04944245beec: Pull complete [2022-06-23T05:49:47.797Z] 699f458cf7ca: Pull complete [2022-06-23T05:49:48.073Z] 765212b225bb: Pull complete [2022-06-23T05:49:49.057Z] f23df028b6ca: Pull complete [2022-06-23T05:49:49.330Z] d65c8cfc05b1: Pull complete [2022-06-23T05:50:04.429Z] 2437ff75d9bd: Pull complete [2022-06-23T05:50:04.429Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T05:50:04.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:50:04.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:50:04.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-15426 does not seem to be running inside a container [2022-06-23T05:50:04.791Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 [2022-06-23T05:50:07.584Z] $ docker top d84f8f0726d20d1a7c9e17ad29c4ee06d3b9695ea5d4be79cec3f678b93c72ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:50:08.504Z] ---> job-cost.sh [2022-06-23T05:50:08.504Z] lf-activate-venv: SKIPPING [2022-06-23T05:50:08.504Z] INFO: No Stack... [2022-06-23T05:50:09.098Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T05:50:10.072Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T05:50:10.730Z] + cut -d, -f6 [2022-06-23T05:50:10.730Z] + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [Pipeline] lock [2022-06-23T05:50:10.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [2022-06-23T05:50:10.801Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] did not exist. Created. [2022-06-23T05:50:10.801Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T05:50:11.476Z] /w/workspace/device-onvif-camera/16@tmp/durable-22bf476c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T05:50:12.160Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T05:50:12.187Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T05:50:12.239Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T05:50:12.246Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T05:50:12.269Z] $ docker stop --time=1 d84f8f0726d20d1a7c9e17ad29c4ee06d3b9695ea5d4be79cec3f678b93c72ab [2022-06-23T05:50:13.833Z] $ docker rm -f d84f8f0726d20d1a7c9e17ad29c4ee06d3b9695ea5d4be79cec3f678b93c72ab [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 [2022-06-23T05:50:14.367Z] provisioning config files... [2022-06-23T05:50:14.374Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1093636329931799252tmp [Pipeline] { [Pipeline] sh [2022-06-23T05:50:14.662Z] + set +x [2022-06-23T05:50:14.662Z] + curl -s https://codecov.io/bash [2022-06-23T05:50:14.662Z] + bash -s -- [2022-06-23T05:50:14.662Z] [2022-06-23T05:50:14.662Z] _____ _ [2022-06-23T05:50:14.662Z] / ____| | | [2022-06-23T05:50:14.662Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T05:50:14.662Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T05:50:14.662Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T05:50:14.662Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T05:50:14.662Z] Bash-1.0.6 [2022-06-23T05:50:14.662Z] [2022-06-23T05:50:14.662Z] [2022-06-23T05:50:14.662Z] ==> git version 2.25.1 found [2022-06-23T05:50:14.662Z] ==> 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 [2022-06-23T05:50:14.662Z] Release-Date: 2020-01-08 [2022-06-23T05:50:14.662Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-23T05:50:14.662Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T05:50:14.662Z] ==> Jenkins CI detected. [2022-06-23T05:50:14.662Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-23T05:50:14.662Z] project root: . [2022-06-23T05:50:14.662Z] --> token set from env [2022-06-23T05:50:14.662Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T05:50:14.662Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T05:50:14.662Z] ==> Python coveragepy not found [2022-06-23T05:50:14.662Z] ==> Searching for coverage reports in: [2022-06-23T05:50:14.662Z] + . [2022-06-23T05:50:14.662Z] -> Found 1 reports [2022-06-23T05:50:14.662Z] ==> Detecting git/mercurial file structure [2022-06-23T05:50:14.662Z] ==> Reading reports [2022-06-23T05:50:14.662Z] + ./coverage.out bytes=59480 [2022-06-23T05:50:14.662Z] ==> Appending adjustments [2022-06-23T05:50:14.662Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T05:50:14.921Z] + Found adjustments [2022-06-23T05:50:14.921Z] ==> Gzipping contents [2022-06-23T05:50:14.921Z] 8.0K /tmp/codecov.4A3Et1.gz [2022-06-23T05:50:14.921Z] ==> Uploading reports [2022-06-23T05:50:14.921Z] url: https://codecov.io [2022-06-23T05:50:14.921Z] query: branch=main&commit=8374ad439d5c8571ae7424cc77de71a785d5a0ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-23T05:50:14.921Z] -> Pinging Codecov [2022-06-23T05:50:14.922Z] 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=8374ad439d5c8571ae7424cc77de71a785d5a0ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-23T05:50:15.181Z] -> Uploading to [2022-06-23T05:50:15.181Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/F29A59C45E3A92E06B3E522C9905F8EF/8374ad439d5c8571ae7424cc77de71a785d5a0ca/545e5060-3e53-4d85-8deb-0740955d17c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T055014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c40313ad6f97c912aa386f21e7de538e48c35d0c82e86ba69a812024d548a983 [2022-06-23T05:50:15.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T05:50:15.182Z] Dload Upload Total Spent Left Speed [2022-06-23T05:50:15.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7692 0 0 100 7692 0 36454 --:--:-- --:--:-- --:--:-- 36454 [2022-06-23T05:50:15.441Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] } [2022-06-23T05:50:15.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-23T05:50:15.635Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-23T05:50:15.652Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:15.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-23T05:50:15.954Z] [2022-06-23T05:50:15.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:16.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-23T05:50:16.257Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-23T05:50:16.257Z] df9b9388f04a: Already exists [2022-06-23T05:50:16.257Z] 52dc419b0ee2: Pulling fs layer [2022-06-23T05:50:16.257Z] 25bc292e5bac: Pulling fs layer [2022-06-23T05:50:16.257Z] 114826534d7a: Pulling fs layer [2022-06-23T05:50:16.257Z] 4657fd5d0bcf: Pulling fs layer [2022-06-23T05:50:16.257Z] 6ad1cebc031e: Pulling fs layer [2022-06-23T05:50:16.257Z] 8a3aa393b2d8: Pulling fs layer [2022-06-23T05:50:16.257Z] 6ad1cebc031e: Waiting [2022-06-23T05:50:16.257Z] 4657fd5d0bcf: Waiting [2022-06-23T05:50:16.257Z] 8a3aa393b2d8: Waiting [2022-06-23T05:50:16.257Z] 25bc292e5bac: Download complete [2022-06-23T05:50:16.257Z] 52dc419b0ee2: Verifying Checksum [2022-06-23T05:50:16.257Z] 52dc419b0ee2: Download complete [2022-06-23T05:50:16.257Z] 4657fd5d0bcf: Verifying Checksum [2022-06-23T05:50:16.257Z] 4657fd5d0bcf: Download complete [2022-06-23T05:50:16.523Z] 52dc419b0ee2: Pull complete [2022-06-23T05:50:16.523Z] 25bc292e5bac: Pull complete [2022-06-23T05:50:16.523Z] 6ad1cebc031e: Verifying Checksum [2022-06-23T05:50:16.524Z] 6ad1cebc031e: Download complete [2022-06-23T05:50:17.104Z] 114826534d7a: Verifying Checksum [2022-06-23T05:50:17.104Z] 114826534d7a: Download complete [2022-06-23T05:50:17.361Z] 8a3aa393b2d8: Verifying Checksum [2022-06-23T05:50:17.361Z] 8a3aa393b2d8: Download complete [2022-06-23T05:50:20.649Z] 114826534d7a: Pull complete [2022-06-23T05:50:20.649Z] 4657fd5d0bcf: Pull complete [2022-06-23T05:50:20.649Z] 6ad1cebc031e: Pull complete [2022-06-23T05:50:23.179Z] 8a3aa393b2d8: Pull complete [2022-06-23T05:50:23.179Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-23T05:50:23.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-23T05:50:23.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:50:23.284Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:50:23.324Z] $ 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 [2022-06-23T05:50:25.940Z] $ docker top 771f9ccbd2c8efe2e5d9a3ba376d4d56271bb474c76646822f19080acbbebec6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-23T05:50:26.025Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-23T05:50:26.305Z] + set -o pipefail [2022-06-23T05:50:26.306Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-23T05:50:31.589Z] [2022-06-23T05:50:31.589Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-23T05:50:31.589Z] [2022-06-23T05:50:31.590Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/7a46983f-9cfc-47a8-b31d-7826120fa6eb [2022-06-23T05:50:31.590Z] [2022-06-23T05:50:31.590Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-23T05:50:31.590Z] [2022-06-23T05:50:31.590Z] [2022-06-23T05:50:31.590Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-23T05:50:31.590Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-23T05:50:31.606Z] $ docker stop --time=1 771f9ccbd2c8efe2e5d9a3ba376d4d56271bb474c76646822f19080acbbebec6 [2022-06-23T05:50:34.594Z] $ docker rm -f 771f9ccbd2c8efe2e5d9a3ba376d4d56271bb474c76646822f19080acbbebec6 [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 [2022-06-23T05:50:35.352Z] + git log --format=format:%s -1 8374ad439d5c8571ae7424cc77de71a785d5a0ca [Pipeline] sh [2022-06-23T05:50:35.649Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T05:50:35.649Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:35.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:50:35.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:50:36.038Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:50:36.079Z] $ 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 [2022-06-23T05:50:36.640Z] $ docker top 95cd0b40459f4460ad05f4d3c950043a193da39b2c52b020065698ae30005c82 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T05:50:36.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T05:50:36.742Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T05:50:36.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T05:50:36.880Z] $ docker exec 95cd0b40459f4460ad05f4d3c950043a193da39b2c52b020065698ae30005c82 ssh-agent [2022-06-23T05:50:37.020Z] SSH_AUTH_SOCK=/tmp/ssh-K1VDh6RvjNs2/agent.34 [2022-06-23T05:50:37.020Z] SSH_AGENT_PID=41 [2022-06-23T05:50:37.025Z] Running ssh-add (command line suppressed) [2022-06-23T05:50:37.147Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4080313624561231767.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4080313624561231767.key) [2022-06-23T05:50:37.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T05:50:37.447Z] + git semver tag [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,626 [run_tag] DEBUG tag force:False [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,626 [check_head_tag] DEBUG check head tag [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,627 [execute] INFO git cat-file --batch-check [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,632 [execute] INFO git cat-file --batch [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,640 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,640 [execute] INFO git tag -a v0.0.1-dev.14 -m v0.0.1-dev.14 [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,641 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.14', '-m', 'v0.0.1-dev.14'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-23T05:50:37.709Z] 2022-06-23 05:50:37,646 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:37.709Z] 0.0.1-dev.14 [Pipeline] } [2022-06-23T05:50:37.722Z] $ docker exec --env ******** --env ******** 95cd0b40459f4460ad05f4d3c950043a193da39b2c52b020065698ae30005c82 ssh-agent -k [2022-06-23T05:50:37.828Z] unset SSH_AUTH_SOCK; [2022-06-23T05:50:37.829Z] unset SSH_AGENT_PID; [2022-06-23T05:50:37.829Z] echo Agent pid 41 killed; [2022-06-23T05:50:37.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T05:50:38.145Z] + git semver [Pipeline] } [2022-06-23T05:50:38.420Z] $ docker stop --time=1 95cd0b40459f4460ad05f4d3c950043a193da39b2c52b020065698ae30005c82 [2022-06-23T05:50:39.735Z] $ docker rm -f 95cd0b40459f4460ad05f4d3c950043a193da39b2c52b020065698ae30005c82 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:40.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-23T05:50:40.158Z] [2022-06-23T05:50:40.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:40.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-23T05:50:40.463Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-23T05:50:40.463Z] ab5ef0e58194: Pulling fs layer [2022-06-23T05:50:40.463Z] 9712f1f96733: Pulling fs layer [2022-06-23T05:50:40.463Z] 63f879dbbcfc: Pulling fs layer [2022-06-23T05:50:40.463Z] 0d9ebad4ef96: Pulling fs layer [2022-06-23T05:50:40.463Z] e9a5061849ea: Pulling fs layer [2022-06-23T05:50:40.463Z] d747dcd14b5f: Pulling fs layer [2022-06-23T05:50:40.463Z] 2de7ff778b66: Pulling fs layer [2022-06-23T05:50:40.463Z] e9a5061849ea: Waiting [2022-06-23T05:50:40.463Z] d747dcd14b5f: Waiting [2022-06-23T05:50:40.463Z] 2de7ff778b66: Waiting [2022-06-23T05:50:40.463Z] 0d9ebad4ef96: Waiting [2022-06-23T05:50:40.463Z] 9712f1f96733: Download complete [2022-06-23T05:50:40.732Z] 63f879dbbcfc: Verifying Checksum [2022-06-23T05:50:40.732Z] 63f879dbbcfc: Download complete [2022-06-23T05:50:40.995Z] e9a5061849ea: Verifying Checksum [2022-06-23T05:50:40.995Z] e9a5061849ea: Download complete [2022-06-23T05:50:40.995Z] 0d9ebad4ef96: Verifying Checksum [2022-06-23T05:50:40.995Z] 0d9ebad4ef96: Download complete [2022-06-23T05:50:40.995Z] d747dcd14b5f: Verifying Checksum [2022-06-23T05:50:40.995Z] d747dcd14b5f: Download complete [2022-06-23T05:50:41.253Z] ab5ef0e58194: Verifying Checksum [2022-06-23T05:50:41.253Z] ab5ef0e58194: Download complete [2022-06-23T05:50:41.253Z] 2de7ff778b66: Verifying Checksum [2022-06-23T05:50:41.253Z] 2de7ff778b66: Download complete [2022-06-23T05:50:43.786Z] ab5ef0e58194: Pull complete [2022-06-23T05:50:43.786Z] 9712f1f96733: Pull complete [2022-06-23T05:50:44.353Z] 63f879dbbcfc: Pull complete [2022-06-23T05:50:48.543Z] 0d9ebad4ef96: Pull complete [2022-06-23T05:50:48.543Z] e9a5061849ea: Pull complete [2022-06-23T05:50:48.543Z] d747dcd14b5f: Pull complete [2022-06-23T05:50:49.479Z] 2de7ff778b66: Pull complete [2022-06-23T05:50:49.479Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-23T05:50:49.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-23T05:50:49.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:50:49.571Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:50:49.606Z] $ 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 [2022-06-23T05:50:52.583Z] $ docker top 30954a2f4fdc74cf26a548ffd6fc114c082fc7277d06b1bcb51dfc7b11a144de -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:50:52.660Z] provisioning config files... [2022-06-23T05:50:52.667Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3830059705213525803tmp [2022-06-23T05:50:52.676Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9192749868276549944tmp [2022-06-23T05:50:52.684Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8600579437165593196tmp [Pipeline] { [Pipeline] echo [2022-06-23T05:50:52.698Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:50:52.982Z] ---> sigul-configuration.sh [2022-06-23T05:50:52.982Z] gpg: directory `/root/.gnupg' created [2022-06-23T05:50:52.982Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-23T05:50:52.982Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-23T05:50:52.982Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-23T05:50:52.982Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-23T05:50:52.982Z] gpg: CAST5 encrypted data [2022-06-23T05:50:52.982Z] gpg: encrypted with 1 passphrase [2022-06-23T05:50:52.982Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-23T05:50:53.269Z] + mkdir /home/jenkins [2022-06-23T05:50:53.269Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-23T05:50:53.555Z] + 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 [2022-06-23T05:50:53.564Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:50:53.847Z] ---> sigul-install.sh [2022-06-23T05:50:53.847Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-23T05:50:54.134Z] + git tag --list [2022-06-23T05:50:54.134Z] v0.0.0 [2022-06-23T05:50:54.134Z] v0.0.1-dev.1 [2022-06-23T05:50:54.134Z] v0.0.1-dev.10 [2022-06-23T05:50:54.134Z] v0.0.1-dev.11 [2022-06-23T05:50:54.134Z] v0.0.1-dev.12 [2022-06-23T05:50:54.134Z] v0.0.1-dev.13 [2022-06-23T05:50:54.134Z] v0.0.1-dev.14 [2022-06-23T05:50:54.134Z] v0.0.1-dev.2 [2022-06-23T05:50:54.134Z] v0.0.1-dev.3 [2022-06-23T05:50:54.134Z] v0.0.1-dev.4 [2022-06-23T05:50:54.134Z] v0.0.1-dev.5 [2022-06-23T05:50:54.134Z] v0.0.1-dev.6 [2022-06-23T05:50:54.134Z] v0.0.1-dev.7 [2022-06-23T05:50:54.134Z] v0.0.1-dev.8 [2022-06-23T05:50:54.134Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-23T05:50:54.423Z] + lftools sign git-tag v0.0.1-dev.14 [2022-06-23T05:50:54.994Z] Signing Git tag with Sigul... [2022-06-23T05:50:54.994Z] Signing v0.0.1-dev.14 [Pipeline] echo [2022-06-23T05:50:55.262Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:50:55.548Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-23T05:50:55.555Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-23T05:50:55.578Z] $ docker stop --time=1 30954a2f4fdc74cf26a548ffd6fc114c082fc7277d06b1bcb51dfc7b11a144de [2022-06-23T05:50:56.909Z] $ docker rm -f 30954a2f4fdc74cf26a548ffd6fc114c082fc7277d06b1bcb51dfc7b11a144de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-23T05:50:57.330Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T05:50:57.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:50:57.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:50:57.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:50:57.717Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:50:57.754Z] $ 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 [2022-06-23T05:50:58.168Z] $ docker top 2675e33cc00ff70169be5f239fc8a051e60ba0bc47a5529a823b5857f8145651 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T05:50:58.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T05:50:58.257Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T05:50:58.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T05:50:58.379Z] $ docker exec 2675e33cc00ff70169be5f239fc8a051e60ba0bc47a5529a823b5857f8145651 ssh-agent [2022-06-23T05:50:58.484Z] SSH_AUTH_SOCK=/tmp/ssh-wrcLFHpCCoCn/agent.32 [2022-06-23T05:50:58.484Z] SSH_AGENT_PID=38 [2022-06-23T05:50:58.490Z] Running ssh-add (command line suppressed) [2022-06-23T05:50:58.608Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4789441094863831131.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4789441094863831131.key) [2022-06-23T05:50:58.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T05:50:58.913Z] + git semver bump pre [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,082 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,083 [bump_version] DEBUG bumping version:0.0.1-dev.14 on axis:pre with prefix:dev [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,083 [bump_version] DEBUG bumped version:0.0.1-dev.15 [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,083 [write_version] DEBUG write version:0.0.1-dev.15 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,083 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,083 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,085 [execute] INFO git cat-file --batch-check [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,090 [execute] INFO git cat-file --batch [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T05:50:59.173Z] 2022-06-23 05:50:59,096 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:50:59.173Z] 0.0.1-dev.15 [Pipeline] } [2022-06-23T05:50:59.185Z] $ docker exec --env ******** --env ******** 2675e33cc00ff70169be5f239fc8a051e60ba0bc47a5529a823b5857f8145651 ssh-agent -k [2022-06-23T05:50:59.302Z] unset SSH_AUTH_SOCK; [2022-06-23T05:50:59.302Z] unset SSH_AGENT_PID; [2022-06-23T05:50:59.302Z] echo Agent pid 38 killed; [2022-06-23T05:50:59.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T05:50:59.620Z] + git semver [Pipeline] } [2022-06-23T05:50:59.897Z] $ docker stop --time=1 2675e33cc00ff70169be5f239fc8a051e60ba0bc47a5529a823b5857f8145651 [2022-06-23T05:51:01.230Z] $ docker rm -f 2675e33cc00ff70169be5f239fc8a051e60ba0bc47a5529a823b5857f8145651 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T05:51:01.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T05:51:01.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:51:01.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T05:51:01.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:51:01.961Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:51:01.996Z] $ 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 [2022-06-23T05:51:02.395Z] $ docker top 3858a00274fb2342f2027a8fd8430b4af8c8e5e97bd870d5118282716d3a12c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T05:51:02.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T05:51:02.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T05:51:02.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T05:51:02.626Z] $ docker exec 3858a00274fb2342f2027a8fd8430b4af8c8e5e97bd870d5118282716d3a12c0 ssh-agent [2022-06-23T05:51:02.749Z] SSH_AUTH_SOCK=/tmp/ssh-2Rj4JrGcNpdM/agent.32 [2022-06-23T05:51:02.749Z] SSH_AGENT_PID=39 [2022-06-23T05:51:02.759Z] Running ssh-add (command line suppressed) [2022-06-23T05:51:02.872Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3769960935448415622.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3769960935448415622.key) [2022-06-23T05:51:02.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T05:51:03.177Z] + git semver push [2022-06-23T05:51:03.436Z] 2022-06-23 05:51:03,386 [run_push] DEBUG push [2022-06-23T05:51:03.436Z] 2022-06-23 05:51:03,387 [execute] INFO git cat-file --batch-check [2022-06-23T05:51:03.436Z] 2022-06-23 05:51:03,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T05:51:03.436Z] 2022-06-23 05:51:03,390 [execute] INFO git rev-list 234aebde0b71c121839617ded6805f3a00990beb -- [2022-06-23T05:51:03.437Z] 2022-06-23 05:51:03,391 [execute] DEBUG Popen(['git', 'rev-list', '234aebde0b71c121839617ded6805f3a00990beb', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-23T05:51:03.437Z] 2022-06-23 05:51:03,396 [execute] INFO git fetch -v origin [2022-06-23T05:51:03.437Z] 2022-06-23 05:51:03,396 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-23T05:51:04.007Z] 2022-06-23 05:51:03,871 [run_push] DEBUG no remote changes detected [2022-06-23T05:51:04.007Z] 2022-06-23 05:51:03,871 [execute] INFO git push origin semver [2022-06-23T05:51:04.007Z] 2022-06-23 05:51:03,872 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-23T05:51:04.948Z] 2022-06-23 05:51:04,582 [run_push] DEBUG push all version tags [2022-06-23T05:51:04.948Z] 2022-06-23 05:51:04,583 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-23T05:51:04.948Z] 2022-06-23 05:51:04,583 [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) [2022-06-23T05:51:05.523Z] 2022-06-23 05:51:05,256 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-23T05:51:05.523Z] 0.0.1-dev.15 [Pipeline] } [2022-06-23T05:51:05.535Z] $ docker exec --env ******** --env ******** 3858a00274fb2342f2027a8fd8430b4af8c8e5e97bd870d5118282716d3a12c0 ssh-agent -k [2022-06-23T05:51:05.646Z] unset SSH_AUTH_SOCK; [2022-06-23T05:51:05.646Z] unset SSH_AGENT_PID; [2022-06-23T05:51:05.646Z] echo Agent pid 39 killed; [2022-06-23T05:51:05.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T05:51:05.964Z] + git semver [Pipeline] } [2022-06-23T05:51:06.240Z] $ docker stop --time=1 3858a00274fb2342f2027a8fd8430b4af8c8e5e97bd870d5118282716d3a12c0 [2022-06-23T05:51:07.544Z] $ docker rm -f 3858a00274fb2342f2027a8fd8430b4af8c8e5e97bd870d5118282716d3a12c0 [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 [2022-06-23T05:51:08.050Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-23T05:51:08.050Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-23T05:51:08.050Z] total 16 [2022-06-23T05:51:08.050Z] drwxr-xr-x 3 root root 4096 Jun 23 05:41 . [2022-06-23T05:51:08.050Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:50 .. [2022-06-23T05:51:08.050Z] drwxr-xr-x 2 root root 4096 Jun 23 05:41 cost [2022-06-23T05:51:08.050Z] -rw-r--r-- 1 root root 89 Jun 23 05:41 cost.csv [2022-06-23T05:51:08.050Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-23T05:51:08.050Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-23T05:51:08.050Z] total 16 [2022-06-23T05:51:08.050Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:41 . [2022-06-23T05:51:08.050Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:50 .. [2022-06-23T05:51:08.050Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 05:41 cost [2022-06-23T05:51:08.050Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:08.342Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:09.206Z] ---> package-listing.sh [2022-06-23T05:51:09.206Z] ++ facter osfamily [2022-06-23T05:51:09.206Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T05:51:09.471Z] + OS_FAMILY=debian [2022-06-23T05:51:09.471Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-23T05:51:09.471Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T05:51:09.471Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T05:51:09.471Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T05:51:09.471Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T05:51:09.471Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-23T05:51:09.471Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T05:51:09.471Z] + case "${OS_FAMILY}" in [2022-06-23T05:51:09.471Z] + dpkg -l [2022-06-23T05:51:09.471Z] + grep '^ii' [2022-06-23T05:51:09.471Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T05:51:09.471Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T05:51:09.471Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T05:51:09.471Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-23T05:51:09.471Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-23T05:51:09.471Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-06-23T05:51:09.483Z] 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 [2022-06-23T05:51:09.763Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:51:10.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:51:10.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:51:10.414Z] prd-ubuntu20.04-docker-8c-8g-15422 does not seem to be running inside a container [2022-06-23T05:51:10.448Z] $ 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 [2022-06-23T05:51:10.758Z] $ docker top 3d3d5267b0680e5e5be8d2de5f4ade31d8dbf068278c0f2da785b269a11f3b70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T05:51:11.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T05:51:11.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T05:51:11.676Z] + ls /var/log/sa-host [2022-06-23T05:51:11.677Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:51:11.805Z] provisioning config files... [2022-06-23T05:51:11.812Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7431510615133813761tmp [Pipeline] { [Pipeline] echo [2022-06-23T05:51:11.823Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:12.105Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T05:51:12.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:12.441Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T05:51:12.449Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:12.732Z] ---> sudo-logs.sh [2022-06-23T05:51:12.732Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T05:51:12.756Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:13.037Z] ---> job-cost.sh [2022-06-23T05:51:13.037Z] lf-activate-venv: SKIPPING [2022-06-23T05:51:13.037Z] DEBUG: total: 0.2199999988079071 [2022-06-23T05:51:13.037Z] INFO: Retrieving Stack Cost... [2022-06-23T05:51:13.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T05:51:13.865Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T05:51:13.877Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:51:14.161Z] ---> logs-deploy.sh [2022-06-23T05:51:14.161Z] lf-activate-venv: SKIPPING [2022-06-23T05:51:14.161Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/16 [2022-06-23T05:51:14.161Z] INFO: archiving workspace using pattern(s): [2022-06-23T05:51:15.099Z] Archives upload complete. [2022-06-23T05:51:15.099Z] INFO: archiving logs to Nexus