Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bed38a921fe50266a02f4b176e1c4270e057bc09 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-ssh6773409305800249313.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh6969814746747722032.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh13410826180315807106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh17940099525997424051.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-ssh11965102910071561024.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1122 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision bed38a921fe50266a02f4b176e1c4270e057bc09 (main) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bed38a921fe50266a02f4b176e1c4270e057bc09 # timeout=10 Commit message: "Merge pull request #78 from edgexfoundry/issue-74" > git rev-list --no-walk 63fa4a680431768fa653ad2f832ffdb5163d02d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-06T07:31:30.669Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-06T07:31:30.723Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-06T07:31:30.740Z] ========================================================= [2022-06-06T07:31:30.740Z] EdgeX Global Pipelines Version Info [2022-06-06T07:31:30.740Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:31:31.513Z] ------------------- [2022-06-06T07:31:31.513Z] stable info: [2022-06-06T07:31:31.513Z] ------------------- [2022-06-06T07:31:31.513Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-06T07:31:31.513Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T07:31:31.513Z] Message: update stable to v1.0.232 [2022-06-06T07:31:32.087Z] ------------------- [2022-06-06T07:31:32.087Z] experimental info: [2022-06-06T07:31:32.087Z] ------------------- [2022-06-06T07:31:32.087Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-06T07:31:32.087Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T07:31:32.087Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-06T07:31:32.402Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-06T07:31:32.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-06T07:31:32.423Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-06T07:31:32.434Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-06T07:31:32.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-06T07:31:32.459Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-06T07:31:32.470Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-06T07:31:32.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-06T07:31:32.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-06T07:31:32.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-06T07:31:32.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-06T07:31:32.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-06T07:31:32.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-06T07:31:32.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-06T07:31:32.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T07:31:32.587Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T07:31:32.598Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T07:31:32.611Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T07:31:32.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-06T07:31:32.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-06T07:31:32.643Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-06T07:31:32.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-06T07:31:32.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-06T07:31:32.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-06T07:31:32.674Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-06T07:31:32.682Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-06T07:31:32.690Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-06T07:31:32.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-06T07:31:32.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-06T07:31:32.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-06T07:31:32.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] echo [2022-06-06T07:31:32.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bed38a9 [Pipeline] echo [2022-06-06T07:31:32.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T07:31:32.803Z] provisioning config files... [2022-06-06T07:31:32.817Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8149817834036815231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:31:33.149Z] ---> docker-login.sh [2022-06-06T07:31:33.149Z] nexus3.edgexfoundry.org:10001 [2022-06-06T07:31:33.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:33.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:33.414Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:33.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:33.414Z] [2022-06-06T07:31:33.414Z] Login Succeeded [2022-06-06T07:31:33.414Z] nexus3.edgexfoundry.org:10002 [2022-06-06T07:31:33.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:33.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:33.677Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:33.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:33.677Z] [2022-06-06T07:31:33.677Z] Login Succeeded [2022-06-06T07:31:33.677Z] nexus3.edgexfoundry.org:10003 [2022-06-06T07:31:33.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:33.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:33.677Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:33.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:33.677Z] [2022-06-06T07:31:33.677Z] Login Succeeded [2022-06-06T07:31:33.677Z] nexus3.edgexfoundry.org:10004 [2022-06-06T07:31:33.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:33.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:33.937Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:33.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:33.937Z] [2022-06-06T07:31:33.937Z] Login Succeeded [2022-06-06T07:31:33.937Z] docker.io [2022-06-06T07:31:33.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:34.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:34.508Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:34.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:34.508Z] [2022-06-06T07:31:34.508Z] Login Succeeded [2022-06-06T07:31:34.508Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T07:31:34.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-06T07:31:34.904Z] + git rev-list -1 --merges bed38a921fe50266a02f4b176e1c4270e057bc09~1..bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] echo [2022-06-06T07:31:34.941Z] -----------> git rev-list -1 --merges bed38a921fe50266a02f4b176e1c4270e057bc09~1..bed38a921fe50266a02f4b176e1c4270e057bc09 bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:31:34.941Z] bed38a921fe50266a02f4b176e1c4270e057bc09 [false] [Pipeline] sh [2022-06-06T07:31:35.237Z] + git log --format=format:%s -1 bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] echo [2022-06-06T07:31:35.254Z] ========================================================= [2022-06-06T07:31:35.254Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-06T07:31:35.254Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T07:31:35.599Z] + git log --format=format:%s -1 bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] echo [2022-06-06T07:31:35.610Z] [semverPrep] GIT_COMMIT: bed38a921fe50266a02f4b176e1c4270e057bc09, Commit Message: Merge pull request #78 from edgexfoundry/issue-74 [Pipeline] echo [2022-06-06T07:31:35.619Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-06T07:31:35.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T07:31:35.990Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-06T07:31:35.990Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-06T07:31:35.990Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-06T07:31:35.990Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-06T07:31:35.990Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-06T07:31:35.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:31:36.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:31:36.397Z] [2022-06-06T07:31:36.397Z] 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-06T07:31:36.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:31:36.698Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-06T07:31:36.698Z] 42c077c10790: Pulling fs layer [2022-06-06T07:31:36.698Z] f63e77b7563a: Pulling fs layer [2022-06-06T07:31:36.698Z] bd5fdadae976: Pulling fs layer [2022-06-06T07:31:36.699Z] 205491f53016: Pulling fs layer [2022-06-06T07:31:36.699Z] df18705c85c3: Pulling fs layer [2022-06-06T07:31:36.699Z] bdb3f477010e: Pulling fs layer [2022-06-06T07:31:36.699Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-06T07:31:36.699Z] 2c6e9b1d212d: Pulling fs layer [2022-06-06T07:31:36.699Z] bdb8f0575790: Pulling fs layer [2022-06-06T07:31:36.699Z] 386e3cb2ff24: Pulling fs layer [2022-06-06T07:31:36.699Z] 2343380bae48: Pulling fs layer [2022-06-06T07:31:36.699Z] c8a8fc8e1c8f: Waiting [2022-06-06T07:31:36.699Z] df18705c85c3: Waiting [2022-06-06T07:31:36.699Z] bdb3f477010e: Waiting [2022-06-06T07:31:36.699Z] 2c6e9b1d212d: Waiting [2022-06-06T07:31:36.699Z] 386e3cb2ff24: Waiting [2022-06-06T07:31:36.699Z] 2343380bae48: Waiting [2022-06-06T07:31:36.699Z] bdb8f0575790: Waiting [2022-06-06T07:31:36.699Z] 205491f53016: Waiting [2022-06-06T07:31:36.699Z] f63e77b7563a: Download complete [2022-06-06T07:31:36.699Z] 205491f53016: Download complete [2022-06-06T07:31:36.959Z] df18705c85c3: Verifying Checksum [2022-06-06T07:31:36.959Z] df18705c85c3: Download complete [2022-06-06T07:31:36.959Z] bdb3f477010e: Download complete [2022-06-06T07:31:36.959Z] bd5fdadae976: Verifying Checksum [2022-06-06T07:31:36.959Z] bd5fdadae976: Download complete [2022-06-06T07:31:36.959Z] 2c6e9b1d212d: Download complete [2022-06-06T07:31:36.959Z] bdb8f0575790: Verifying Checksum [2022-06-06T07:31:36.959Z] bdb8f0575790: Download complete [2022-06-06T07:31:36.959Z] 386e3cb2ff24: Verifying Checksum [2022-06-06T07:31:36.959Z] 386e3cb2ff24: Download complete [2022-06-06T07:31:36.959Z] 2343380bae48: Verifying Checksum [2022-06-06T07:31:36.959Z] 2343380bae48: Download complete [2022-06-06T07:31:36.959Z] 42c077c10790: Verifying Checksum [2022-06-06T07:31:36.959Z] 42c077c10790: Download complete [2022-06-06T07:31:37.220Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-06T07:31:37.220Z] c8a8fc8e1c8f: Download complete [2022-06-06T07:31:38.605Z] 42c077c10790: Pull complete [2022-06-06T07:31:38.605Z] f63e77b7563a: Pull complete [2022-06-06T07:31:39.179Z] bd5fdadae976: Pull complete [2022-06-06T07:31:39.179Z] 205491f53016: Pull complete [2022-06-06T07:31:39.441Z] df18705c85c3: Pull complete [2022-06-06T07:31:39.441Z] bdb3f477010e: Pull complete [2022-06-06T07:31:41.378Z] c8a8fc8e1c8f: Pull complete [2022-06-06T07:31:41.378Z] 2c6e9b1d212d: Pull complete [2022-06-06T07:31:41.639Z] bdb8f0575790: Pull complete [2022-06-06T07:31:41.639Z] 386e3cb2ff24: Pull complete [2022-06-06T07:31:41.639Z] 2343380bae48: Pull complete [2022-06-06T07:31:41.639Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-06T07:31:41.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:31:41.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:31:41.748Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:31:41.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T07:31:43.040Z] $ docker top e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 -eo pid,comm [2022-06-06T07:31:43.115Z] 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-06T07:31:43.115Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T07:31:43.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T07:31:43.154Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T07:31:43.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T07:31:43.305Z] $ docker exec e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 ssh-agent [2022-06-06T07:31:43.435Z] SSH_AUTH_SOCK=/tmp/ssh-SlH35TT94jBS/agent.36 [2022-06-06T07:31:43.435Z] SSH_AGENT_PID=42 [2022-06-06T07:31:43.440Z] Running ssh-add (command line suppressed) [2022-06-06T07:31:43.564Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_625338507938433043.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_625338507938433043.key) [2022-06-06T07:31:43.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T07:31:43.874Z] + git tag --points-at HEAD [Pipeline] } [2022-06-06T07:31:43.895Z] $ docker exec --env ******** --env ******** e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 ssh-agent -k [2022-06-06T07:31:44.015Z] unset SSH_AUTH_SOCK; [2022-06-06T07:31:44.015Z] unset SSH_AGENT_PID; [2022-06-06T07:31:44.015Z] echo Agent pid 42 killed; [2022-06-06T07:31:44.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-06T07:31:44.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T07:31:44.049Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T07:31:44.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T07:31:44.211Z] $ docker exec e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 ssh-agent [2022-06-06T07:31:44.351Z] SSH_AUTH_SOCK=/tmp/ssh-I99HCsSYvMoO/agent.76 [2022-06-06T07:31:44.351Z] SSH_AGENT_PID=82 [2022-06-06T07:31:44.356Z] Running ssh-add (command line suppressed) [2022-06-06T07:31:44.472Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1470642432379067801.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1470642432379067801.key) [2022-06-06T07:31:44.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T07:31:44.784Z] + git semver init [2022-06-06T07:31:45.044Z] 2022-06-06 07:31:45,008 [run_init] DEBUG init version:0.0.0 force:False [2022-06-06T07:31:45.044Z] 2022-06-06 07:31:45,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-06T07:31:45.044Z] 2022-06-06 07:31:45,009 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-06T07:31:45.044Z] 2022-06-06 07:31:45,009 [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-06T07:31:45.986Z] 2022-06-06 07:31:45,667 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-06T07:31:45.986Z] 2022-06-06 07:31:45,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-06T07:31:45.986Z] 2022-06-06 07:31:45,668 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:31:45.986Z] 2022-06-06 07:31:45,668 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:31:45.986Z] 0.0.1-dev.7 [Pipeline] } [2022-06-06T07:31:46.000Z] $ docker exec --env ******** --env ******** e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 ssh-agent -k [2022-06-06T07:31:46.110Z] unset SSH_AUTH_SOCK; [2022-06-06T07:31:46.111Z] unset SSH_AGENT_PID; [2022-06-06T07:31:46.111Z] echo Agent pid 82 killed; [2022-06-06T07:31:46.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T07:31:46.430Z] + git semver [Pipeline] } [2022-06-06T07:31:46.706Z] $ docker stop --time=1 e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 [2022-06-06T07:31:48.023Z] $ docker rm -f e69da3b2de3318586ac12512cd26dec53f698f238b27afb6f60e23de64e9b020 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T07:31:48.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-06T07:31:48.623Z] Stashed 1 file(s) [Pipeline] echo [2022-06-06T07:31:48.625Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.7 [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-06T07:31:48.748Z] provisioning config files... [2022-06-06T07:31:48.757Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5670852015530915731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:31:49.052Z] ---> docker-login.sh [2022-06-06T07:31:49.052Z] nexus3.edgexfoundry.org:10001 [2022-06-06T07:31:49.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:49.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:49.052Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:49.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:49.052Z] [2022-06-06T07:31:49.052Z] Login Succeeded [2022-06-06T07:31:49.052Z] nexus3.edgexfoundry.org:10002 [2022-06-06T07:31:49.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:49.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:49.314Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:49.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:49.314Z] [2022-06-06T07:31:49.314Z] Login Succeeded [2022-06-06T07:31:49.314Z] nexus3.edgexfoundry.org:10003 [2022-06-06T07:31:49.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:49.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:49.314Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:49.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:49.314Z] [2022-06-06T07:31:49.314Z] Login Succeeded [2022-06-06T07:31:49.314Z] nexus3.edgexfoundry.org:10004 [2022-06-06T07:31:49.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:49.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:49.574Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:49.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:49.574Z] [2022-06-06T07:31:49.574Z] Login Succeeded [2022-06-06T07:31:49.574Z] docker.io [2022-06-06T07:31:49.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:31:49.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:31:49.834Z] Configure a credential helper to remove this warning. See [2022-06-06T07:31:49.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:31:49.834Z] [2022-06-06T07:31:49.834Z] Login Succeeded [2022-06-06T07:31:49.834Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T07:31:49.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T07:31:49.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T07:31:49.919Z] ========================================================= [2022-06-06T07:31:49.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-06T07:31:49.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:31:50.231Z] + 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-06T07:31:50.231Z] Sending build context to Docker daemon 8.677MB [2022-06-06T07:31:50.231Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T07:31:50.231Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-06T07:31:50.231Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-06T07:31:50.231Z] 59bf1c3509f3: Pulling fs layer [2022-06-06T07:31:50.231Z] 666ba61612fd: Pulling fs layer [2022-06-06T07:31:50.231Z] 8ed8ca486205: Pulling fs layer [2022-06-06T07:31:50.231Z] cc1cd167ecdc: Pulling fs layer [2022-06-06T07:31:50.231Z] c516ae0d96e1: Pulling fs layer [2022-06-06T07:31:50.231Z] 684cea983483: Pulling fs layer [2022-06-06T07:31:50.231Z] dd3240ac7de5: Pulling fs layer [2022-06-06T07:31:50.231Z] cc1cd167ecdc: Waiting [2022-06-06T07:31:50.231Z] c516ae0d96e1: Waiting [2022-06-06T07:31:50.231Z] b1e948a4e11c: Pulling fs layer [2022-06-06T07:31:50.231Z] 684cea983483: Waiting [2022-06-06T07:31:50.231Z] a8fd76ee1af6: Pulling fs layer [2022-06-06T07:31:50.231Z] 646ad004c059: Pulling fs layer [2022-06-06T07:31:50.231Z] dd3240ac7de5: Waiting [2022-06-06T07:31:50.231Z] b1e948a4e11c: Waiting [2022-06-06T07:31:50.231Z] a8fd76ee1af6: Waiting [2022-06-06T07:31:50.231Z] 646ad004c059: Waiting [2022-06-06T07:31:50.231Z] 8ed8ca486205: Download complete [2022-06-06T07:31:50.231Z] 666ba61612fd: Download complete [2022-06-06T07:31:50.231Z] c516ae0d96e1: Verifying Checksum [2022-06-06T07:31:50.231Z] c516ae0d96e1: Download complete [2022-06-06T07:31:50.492Z] 684cea983483: Download complete [2022-06-06T07:31:50.492Z] 59bf1c3509f3: Verifying Checksum [2022-06-06T07:31:50.492Z] 59bf1c3509f3: Download complete [2022-06-06T07:31:50.492Z] dd3240ac7de5: Verifying Checksum [2022-06-06T07:31:50.492Z] dd3240ac7de5: Download complete [2022-06-06T07:31:50.492Z] b1e948a4e11c: Verifying Checksum [2022-06-06T07:31:50.492Z] b1e948a4e11c: Download complete [2022-06-06T07:31:50.492Z] 59bf1c3509f3: Pull complete [2022-06-06T07:31:50.764Z] 666ba61612fd: Pull complete [2022-06-06T07:31:50.764Z] 8ed8ca486205: Pull complete [2022-06-06T07:31:51.026Z] 646ad004c059: Verifying Checksum [2022-06-06T07:31:51.026Z] 646ad004c059: Download complete [2022-06-06T07:31:51.026Z] a8fd76ee1af6: Verifying Checksum [2022-06-06T07:31:51.026Z] a8fd76ee1af6: Download complete [2022-06-06T07:31:51.026Z] cc1cd167ecdc: Download complete [2022-06-06T07:31:55.218Z] cc1cd167ecdc: Pull complete [2022-06-06T07:31:55.218Z] c516ae0d96e1: Pull complete [2022-06-06T07:31:55.218Z] 684cea983483: Pull complete [2022-06-06T07:31:55.218Z] dd3240ac7de5: Pull complete [2022-06-06T07:31:55.218Z] b1e948a4e11c: Pull complete [2022-06-06T07:31:57.119Z] a8fd76ee1af6: Pull complete [2022-06-06T07:31:57.687Z] 646ad004c059: Pull complete [2022-06-06T07:31:57.687Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-06T07:31:57.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-06T07:31:57.687Z] ---> 8f69c11f6b0c [2022-06-06T07:31:57.687Z] Step 3/13 : ARG MAKE="make build" [2022-06-06T07:31:59.067Z] ---> Running in 386a84680bec [2022-06-06T07:31:59.328Z] Removing intermediate container 386a84680bec [2022-06-06T07:31:59.328Z] ---> 2244290c13fb [2022-06-06T07:31:59.328Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T07:31:59.328Z] ---> Running in 1caa843fba3d [2022-06-06T07:31:59.328Z] Removing intermediate container 1caa843fba3d [2022-06-06T07:31:59.328Z] ---> 1335d551f723 [2022-06-06T07:31:59.328Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T07:31:59.328Z] ---> Running in 3c32ad7c16e2 [2022-06-06T07:31:59.589Z] Removing intermediate container 3c32ad7c16e2 [2022-06-06T07:31:59.589Z] ---> 6bc643ffc039 [2022-06-06T07:31:59.589Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-06T07:31:59.589Z] ---> Running in 5615314b6273 [2022-06-06T07:31:59.589Z] Removing intermediate container 5615314b6273 [2022-06-06T07:31:59.589Z] ---> 15836193cff6 [2022-06-06T07:31:59.589Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T07:31:59.589Z] ---> Running in 86f6c0a50de3 [2022-06-06T07:32:00.164Z] Removing intermediate container 86f6c0a50de3 [2022-06-06T07:32:00.164Z] ---> b09a3af3cb36 [2022-06-06T07:32:00.164Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T07:32:00.424Z] ---> Running in c0f9420e123b [2022-06-06T07:32:00.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T07:32:01.627Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T07:32:01.627Z] OK: 221 MiB in 52 packages [2022-06-06T07:32:02.199Z] Removing intermediate container c0f9420e123b [2022-06-06T07:32:02.199Z] ---> ea613bd5ed3c [2022-06-06T07:32:02.199Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-06T07:32:02.199Z] ---> Running in 22f022ada60d [2022-06-06T07:32:02.199Z] Removing intermediate container 22f022ada60d [2022-06-06T07:32:02.199Z] ---> 7cc6cb7145c9 [2022-06-06T07:32:02.199Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-06T07:32:02.199Z] ---> 0e18b8d755da [2022-06-06T07:32:02.199Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T07:32:02.460Z] ---> Running in 159fa63f0dc5 [2022-06-06T07:32:03.722Z] Still waiting to schedule task [2022-06-06T07:32:03.723Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-06T07:32:20.574Z] Removing intermediate container 159fa63f0dc5 [2022-06-06T07:32:20.575Z] ---> 92d563977e96 [2022-06-06T07:32:20.575Z] Step 12/13 : COPY . . [2022-06-06T07:32:20.834Z] ---> 49db66b23982 [2022-06-06T07:32:20.834Z] Step 13/13 : RUN ${MAKE} [2022-06-06T07:32:20.834Z] ---> Running in f98cc8115a77 [2022-06-06T07:32:21.095Z] noop [2022-06-06T07:32:21.355Z] Removing intermediate container f98cc8115a77 [2022-06-06T07:32:21.355Z] ---> b70a96a78aee [2022-06-06T07:32:21.355Z] Successfully built b70a96a78aee [2022-06-06T07:32:21.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:32:21.676Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T07:32:21.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:32:21.755Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:32:21.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-06T07:32:22.187Z] $ docker top 060e26481d754eb11eeb91d1e8dcc6aa65b1a53abfca79295800425228d38a60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T07:32:22.538Z] + go version [2022-06-06T07:32:22.538Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-06T07:32:22.557Z] $ docker stop --time=1 060e26481d754eb11eeb91d1e8dcc6aa65b1a53abfca79295800425228d38a60 [2022-06-06T07:32:23.835Z] $ docker rm -f 060e26481d754eb11eeb91d1e8dcc6aa65b1a53abfca79295800425228d38a60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:32:24.244Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T07:32:24.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:32:24.338Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:32:24.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-06T07:32:24.826Z] $ docker top ef506da9d5a0f57809f858e6f77e10be94e9d7e9c102775319699f31bb9a4774 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T07:32:25.195Z] + make test [2022-06-06T07:32:25.196Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T07:32:25.455Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-06T07:32:35.451Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-06T07:32:35.451Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.3% of statements [2022-06-06T07:32:38.749Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.955s coverage: 13.8% of statements [2022-06-06T07:32:46.881Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T07:32:50.172Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T07:32:50.172Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T07:32:50.172Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T07:32:50.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T07:32:50.775Z] $ docker stop --time=1 ef506da9d5a0f57809f858e6f77e10be94e9d7e9c102775319699f31bb9a4774 [2022-06-06T07:32:52.650Z] $ docker rm -f ef506da9d5a0f57809f858e6f77e10be94e9d7e9c102775319699f31bb9a4774 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T07:32:53.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T07:32:53.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-06T07:32:53.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T07:32:53.943Z] + ls -al . [2022-06-06T07:32:53.943Z] total 232 [2022-06-06T07:32:53.943Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 07:32 . [2022-06-06T07:32:53.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:31 .. [2022-06-06T07:32:53.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 07:31 .git [2022-06-06T07:32:53.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 07:31 .github [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 07:31 .gitignore [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 07:31 .golangci.yml [2022-06-06T07:32:53.943Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 07:31 .semver [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 07:31 Attribution.txt [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 07:31 CHANGELOG.md [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 07:31 Dockerfile [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 07:31 GOVERNANCE.md [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 07:31 Jenkinsfile [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 07:31 LICENSE [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 07:31 Makefile [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 07:31 OWNERS.md [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 07:31 README.md [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 6 07:31 VERSION [2022-06-06T07:32:53.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 07:31 bin [2022-06-06T07:32:53.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 07:31 cmd [2022-06-06T07:32:53.943Z] -rw-r--r-- 1 jenkins jenkins 53469 Jun 6 07:32 coverage.out [2022-06-06T07:32:53.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:31 doc [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 07:31 go.mod [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 07:31 go.sum [2022-06-06T07:32:53.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:31 internal [2022-06-06T07:32:53.943Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 07:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:32:54.247Z] + 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=bed38a921fe50266a02f4b176e1c4270e057bc09 --label arch=amd64 --label version=0.0.1-dev.7 . [2022-06-06T07:32:54.247Z] Sending build context to Docker daemon 8.732MB [2022-06-06T07:32:54.247Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T07:32:54.247Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-06T07:32:54.247Z] ---> b70a96a78aee [2022-06-06T07:32:54.247Z] Step 3/26 : ARG MAKE="make build" [2022-06-06T07:32:54.247Z] ---> Running in 0e58366326f1 [2022-06-06T07:32:54.507Z] Removing intermediate container 0e58366326f1 [2022-06-06T07:32:54.507Z] ---> b72dcc8c016a [2022-06-06T07:32:54.507Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T07:32:54.507Z] ---> Running in 121e0155d20d [2022-06-06T07:32:54.507Z] Removing intermediate container 121e0155d20d [2022-06-06T07:32:54.507Z] ---> 9e4addfd3de9 [2022-06-06T07:32:54.507Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T07:32:54.507Z] ---> Running in e6cb70816766 [2022-06-06T07:32:54.767Z] Removing intermediate container e6cb70816766 [2022-06-06T07:32:54.767Z] ---> c6d523c95af5 [2022-06-06T07:32:54.767Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-06T07:32:54.767Z] ---> Running in 944895db3162 [2022-06-06T07:32:54.767Z] Removing intermediate container 944895db3162 [2022-06-06T07:32:54.767Z] ---> cd7a7078b805 [2022-06-06T07:32:54.767Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T07:32:54.767Z] ---> Running in 65a4c6a457b4 [2022-06-06T07:32:55.337Z] Removing intermediate container 65a4c6a457b4 [2022-06-06T07:32:55.337Z] ---> a24c665c3565 [2022-06-06T07:32:55.337Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T07:32:55.337Z] ---> Running in 346b6c208c5d [2022-06-06T07:32:55.598Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T07:32:56.538Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T07:32:56.798Z] OK: 221 MiB in 52 packages [2022-06-06T07:32:57.369Z] Removing intermediate container 346b6c208c5d [2022-06-06T07:32:57.369Z] ---> eaad2f890146 [2022-06-06T07:32:57.369Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-06T07:32:57.369Z] ---> Running in af701660b1da [2022-06-06T07:32:57.369Z] Removing intermediate container af701660b1da [2022-06-06T07:32:57.369Z] ---> e65bf68aad82 [2022-06-06T07:32:57.369Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-06T07:32:57.631Z] ---> 0a3eb8a2d424 [2022-06-06T07:32:57.631Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T07:32:57.631Z] ---> Running in eb5f231a77d5 [2022-06-06T07:32:58.203Z] Removing intermediate container eb5f231a77d5 [2022-06-06T07:32:58.203Z] ---> 8334066f0133 [2022-06-06T07:32:58.203Z] Step 12/26 : COPY . . [2022-06-06T07:32:58.775Z] ---> 460d06c95b73 [2022-06-06T07:32:58.775Z] Step 13/26 : RUN ${MAKE} [2022-06-06T07:32:58.775Z] ---> Running in 01d4ee9c48f8 [2022-06-06T07:32:58.775Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.7 -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-06T07:33:20.727Z] Removing intermediate container 01d4ee9c48f8 [2022-06-06T07:33:20.728Z] ---> f746a372d544 [2022-06-06T07:33:20.728Z] Step 14/26 : FROM alpine:3.15 [2022-06-06T07:33:20.728Z] 3.15: Pulling from library/alpine [2022-06-06T07:33:20.728Z] df9b9388f04a: Pulling fs layer [2022-06-06T07:33:20.728Z] df9b9388f04a: Verifying Checksum [2022-06-06T07:33:20.728Z] df9b9388f04a: Download complete [2022-06-06T07:33:20.728Z] df9b9388f04a: Pull complete [2022-06-06T07:33:20.728Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-06T07:33:20.728Z] Status: Downloaded newer image for alpine:3.15 [2022-06-06T07:33:20.728Z] ---> 0ac33e5f5afa [2022-06-06T07:33:20.728Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-06T07:33:20.728Z] ---> Running in c8f5caad6476 [2022-06-06T07:33:20.728Z] Removing intermediate container c8f5caad6476 [2022-06-06T07:33:20.728Z] ---> f7112f444510 [2022-06-06T07:33:20.728Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T07:33:20.728Z] ---> Running in f8b4e51f6294 [2022-06-06T07:33:20.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T07:33:20.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T07:33:20.728Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T07:33:20.728Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-06T07:33:20.728Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T07:33:20.728Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-06T07:33:20.728Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T07:33:20.728Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T07:33:20.728Z] Executing busybox-1.34.1-r5.trigger [2022-06-06T07:33:20.728Z] OK: 8 MiB in 20 packages [2022-06-06T07:33:20.728Z] Removing intermediate container f8b4e51f6294 [2022-06-06T07:33:20.728Z] ---> 3dd79fb328fe [2022-06-06T07:33:20.728Z] Step 17/26 : WORKDIR / [2022-06-06T07:33:20.728Z] ---> Running in 2d6f58a1ebd6 [2022-06-06T07:33:20.728Z] Removing intermediate container 2d6f58a1ebd6 [2022-06-06T07:33:20.728Z] ---> 6e6ef11a6522 [2022-06-06T07:33:20.728Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-06T07:33:20.728Z] ---> e28fea38f722 [2022-06-06T07:33:20.728Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-06T07:33:20.987Z] ---> bf95833773a6 [2022-06-06T07:33:20.987Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-06T07:33:21.246Z] ---> e497b0285e13 [2022-06-06T07:33:21.247Z] Step 21/26 : EXPOSE 59984 [2022-06-06T07:33:21.247Z] ---> Running in c84379177285 [2022-06-06T07:33:21.247Z] Removing intermediate container c84379177285 [2022-06-06T07:33:21.247Z] ---> 47bb73853590 [2022-06-06T07:33:21.247Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-06T07:33:21.247Z] ---> Running in 91b5d478c9b4 [2022-06-06T07:33:21.512Z] Removing intermediate container 91b5d478c9b4 [2022-06-06T07:33:21.512Z] ---> 302e7afe853d [2022-06-06T07:33:21.512Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-06T07:33:21.512Z] ---> Running in 42702fd68406 [2022-06-06T07:33:21.512Z] Removing intermediate container 42702fd68406 [2022-06-06T07:33:21.512Z] ---> 670f1c7e75c5 [2022-06-06T07:33:21.512Z] Step 24/26 : LABEL arch=amd64 [2022-06-06T07:33:21.512Z] ---> Running in 59a3b38c1bd6 [2022-06-06T07:33:21.773Z] Removing intermediate container 59a3b38c1bd6 [2022-06-06T07:33:21.773Z] ---> 93432917ddeb [2022-06-06T07:33:21.773Z] Step 25/26 : LABEL git_sha=bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:33:21.773Z] ---> Running in 80801005feff [2022-06-06T07:33:21.773Z] Removing intermediate container 80801005feff [2022-06-06T07:33:21.773Z] ---> 1718d97b8e7d [2022-06-06T07:33:21.773Z] Step 26/26 : LABEL version=0.0.1-dev.7 [2022-06-06T07:33:21.773Z] ---> Running in 4eea58a6ff32 [2022-06-06T07:33:22.033Z] Removing intermediate container 4eea58a6ff32 [2022-06-06T07:33:22.033Z] ---> 7b3cee426c7c [2022-06-06T07:33:22.033Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T07:33:22.033Z] Successfully built 7b3cee426c7c [2022-06-06T07:33:22.033Z] 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-06T07:33:22.146Z] provisioning config files... [2022-06-06T07:33:22.154Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3375127982619472453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:33:22.446Z] ---> docker-login.sh [2022-06-06T07:33:22.446Z] nexus3.edgexfoundry.org:10001 [2022-06-06T07:33:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:33:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:33:22.446Z] Configure a credential helper to remove this warning. See [2022-06-06T07:33:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:33:22.446Z] [2022-06-06T07:33:22.446Z] Login Succeeded [2022-06-06T07:33:22.446Z] nexus3.edgexfoundry.org:10002 [2022-06-06T07:33:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:33:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:33:22.446Z] Configure a credential helper to remove this warning. See [2022-06-06T07:33:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:33:22.446Z] [2022-06-06T07:33:22.446Z] Login Succeeded [2022-06-06T07:33:22.446Z] nexus3.edgexfoundry.org:10003 [2022-06-06T07:33:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:33:22.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:33:22.707Z] Configure a credential helper to remove this warning. See [2022-06-06T07:33:22.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:33:22.707Z] [2022-06-06T07:33:22.707Z] Login Succeeded [2022-06-06T07:33:22.707Z] nexus3.edgexfoundry.org:10004 [2022-06-06T07:33:22.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:33:22.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:33:22.707Z] Configure a credential helper to remove this warning. See [2022-06-06T07:33:22.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:33:22.707Z] [2022-06-06T07:33:22.707Z] Login Succeeded [2022-06-06T07:33:22.967Z] docker.io [2022-06-06T07:33:22.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:33:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:33:23.227Z] Configure a credential helper to remove this warning. See [2022-06-06T07:33:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:33:23.227Z] [2022-06-06T07:33:23.227Z] Login Succeeded [2022-06-06T07:33:23.227Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T07:33:23.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-06T07:33:23.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T07:33:23.287Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-06T07:33:23.287Z] bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:33:23.287Z] latest [2022-06-06T07:33:23.287Z] 0.0.1-dev.7 [2022-06-06T07:33:23.287Z] bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:33:23.287Z] main [2022-06-06T07:33:23.287Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:23.612Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:23.917Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:33:23.917Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-06T07:33:23.917Z] ec003fce57b2: Preparing [2022-06-06T07:33:23.917Z] d4a6cabaeba1: Preparing [2022-06-06T07:33:23.917Z] 5dd1698df07d: Preparing [2022-06-06T07:33:23.917Z] 690e261f8e01: Preparing [2022-06-06T07:33:23.917Z] 4fc242d58285: Preparing [2022-06-06T07:33:23.917Z] 4fc242d58285: Layer already exists [2022-06-06T07:33:23.917Z] d4a6cabaeba1: Pushed [2022-06-06T07:33:23.917Z] ec003fce57b2: Pushed [2022-06-06T07:33:24.178Z] 690e261f8e01: Pushed [2022-06-06T07:33:26.720Z] 5dd1698df07d: Pushed [2022-06-06T07:33:26.981Z] bed38a921fe50266a02f4b176e1c4270e057bc09: digest: sha256:e197bf48cc5a3f19b56cb7c506ff8ef447b16c12953d444422f6d51fca00f71d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:27.313Z] + 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-06T07:33:27.632Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-06T07:33:27.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-06T07:33:27.632Z] ec003fce57b2: Preparing [2022-06-06T07:33:27.632Z] d4a6cabaeba1: Preparing [2022-06-06T07:33:27.632Z] 5dd1698df07d: Preparing [2022-06-06T07:33:27.632Z] 690e261f8e01: Preparing [2022-06-06T07:33:27.632Z] 4fc242d58285: Preparing [2022-06-06T07:33:27.632Z] d4a6cabaeba1: Layer already exists [2022-06-06T07:33:27.632Z] 690e261f8e01: Layer already exists [2022-06-06T07:33:27.632Z] 4fc242d58285: Layer already exists [2022-06-06T07:33:27.632Z] ec003fce57b2: Layer already exists [2022-06-06T07:33:27.632Z] 5dd1698df07d: Layer already exists [2022-06-06T07:33:27.632Z] latest: digest: sha256:e197bf48cc5a3f19b56cb7c506ff8ef447b16c12953d444422f6d51fca00f71d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:27.956Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:28.273Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.7 [2022-06-06T07:33:28.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-06T07:33:28.273Z] ec003fce57b2: Preparing [2022-06-06T07:33:28.273Z] d4a6cabaeba1: Preparing [2022-06-06T07:33:28.273Z] 5dd1698df07d: Preparing [2022-06-06T07:33:28.273Z] 690e261f8e01: Preparing [2022-06-06T07:33:28.273Z] 4fc242d58285: Preparing [2022-06-06T07:33:28.273Z] 4fc242d58285: Layer already exists [2022-06-06T07:33:28.273Z] 5dd1698df07d: Layer already exists [2022-06-06T07:33:28.273Z] 690e261f8e01: Layer already exists [2022-06-06T07:33:28.273Z] d4a6cabaeba1: Layer already exists [2022-06-06T07:33:28.273Z] ec003fce57b2: Layer already exists [2022-06-06T07:33:28.273Z] 0.0.1-dev.7: digest: sha256:e197bf48cc5a3f19b56cb7c506ff8ef447b16c12953d444422f6d51fca00f71d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:28.595Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:28.904Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:33:28.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-06T07:33:28.904Z] ec003fce57b2: Preparing [2022-06-06T07:33:28.904Z] d4a6cabaeba1: Preparing [2022-06-06T07:33:28.904Z] 5dd1698df07d: Preparing [2022-06-06T07:33:28.904Z] 690e261f8e01: Preparing [2022-06-06T07:33:28.904Z] 4fc242d58285: Preparing [2022-06-06T07:33:28.904Z] 5dd1698df07d: Layer already exists [2022-06-06T07:33:28.904Z] ec003fce57b2: Layer already exists [2022-06-06T07:33:28.904Z] 690e261f8e01: Layer already exists [2022-06-06T07:33:28.904Z] d4a6cabaeba1: Layer already exists [2022-06-06T07:33:28.904Z] 4fc242d58285: Layer already exists [2022-06-06T07:33:28.904Z] bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7: digest: sha256:e197bf48cc5a3f19b56cb7c506ff8ef447b16c12953d444422f6d51fca00f71d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:29.223Z] + 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-06T07:33:29.536Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-06T07:33:29.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-06T07:33:29.536Z] ec003fce57b2: Preparing [2022-06-06T07:33:29.536Z] d4a6cabaeba1: Preparing [2022-06-06T07:33:29.536Z] 5dd1698df07d: Preparing [2022-06-06T07:33:29.536Z] 690e261f8e01: Preparing [2022-06-06T07:33:29.536Z] 4fc242d58285: Preparing [2022-06-06T07:33:29.536Z] d4a6cabaeba1: Layer already exists [2022-06-06T07:33:29.536Z] 5dd1698df07d: Layer already exists [2022-06-06T07:33:29.536Z] 4fc242d58285: Layer already exists [2022-06-06T07:33:29.536Z] 690e261f8e01: Layer already exists [2022-06-06T07:33:29.536Z] ec003fce57b2: Layer already exists [2022-06-06T07:33:29.536Z] main: digest: sha256:e197bf48cc5a3f19b56cb7c506ff8ef447b16c12953d444422f6d51fca00f71d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-06T07:33:29.587Z] ===================================================== [Pipeline] echo [2022-06-06T07:33:29.596Z] taggedImages: [2022-06-06T07:33:29.596Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:33:29.596Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-06T07:33:29.596Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.7 [2022-06-06T07:33:29.596Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:33:29.596Z] - 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-06T07:33:29.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T07:33:29.946Z] [2022-06-06T07:33:29.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:33:30.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T07:33:30.249Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-06T07:33:30.249Z] 5eb5b503b376: Pulling fs layer [2022-06-06T07:33:30.249Z] 5c69ac0246d0: Pulling fs layer [2022-06-06T07:33:30.249Z] ec43610c2a17: Pulling fs layer [2022-06-06T07:33:30.249Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-06T07:33:30.249Z] 33b1e0a273af: Pulling fs layer [2022-06-06T07:33:30.249Z] 5d3b04190fa2: Pulling fs layer [2022-06-06T07:33:30.249Z] 2f39f015ded8: Pulling fs layer [2022-06-06T07:33:30.249Z] 5d3b04190fa2: Waiting [2022-06-06T07:33:30.249Z] 33b1e0a273af: Waiting [2022-06-06T07:33:30.249Z] 2f39f015ded8: Waiting [2022-06-06T07:33:30.249Z] 3a2ae6a8a46f: Waiting [2022-06-06T07:33:30.249Z] 5c69ac0246d0: Verifying Checksum [2022-06-06T07:33:30.249Z] 5c69ac0246d0: Download complete [2022-06-06T07:33:30.249Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-06T07:33:30.249Z] 3a2ae6a8a46f: Download complete [2022-06-06T07:33:30.249Z] 33b1e0a273af: Verifying Checksum [2022-06-06T07:33:30.249Z] 33b1e0a273af: Download complete [2022-06-06T07:33:30.249Z] 5d3b04190fa2: Verifying Checksum [2022-06-06T07:33:30.249Z] 5d3b04190fa2: Download complete [2022-06-06T07:33:30.249Z] ec43610c2a17: Verifying Checksum [2022-06-06T07:33:30.249Z] ec43610c2a17: Download complete [2022-06-06T07:33:30.509Z] 5eb5b503b376: Verifying Checksum [2022-06-06T07:33:30.509Z] 5eb5b503b376: Download complete [2022-06-06T07:33:31.077Z] 2f39f015ded8: Download complete [2022-06-06T07:33:31.645Z] 5eb5b503b376: Pull complete [2022-06-06T07:33:31.645Z] 5c69ac0246d0: Pull complete [2022-06-06T07:33:32.214Z] ec43610c2a17: Pull complete [2022-06-06T07:33:32.214Z] 3a2ae6a8a46f: Pull complete [2022-06-06T07:33:32.473Z] 33b1e0a273af: Pull complete [2022-06-06T07:33:32.473Z] 5d3b04190fa2: Pull complete [2022-06-06T07:33:37.751Z] 2f39f015ded8: Pull complete [2022-06-06T07:33:37.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-06T07:33:37.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T07:33:37.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:33:37.839Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:33:37.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-06T07:33:39.819Z] $ docker top 4eb22d086c869e9674764458e72892b2fa65b772ffb58458f058dfb37a7bbb3f -eo pid,comm [2022-06-06T07:33:39.825Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1123 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-06-06T07:33:39.962Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-06-06T07:33:39.997Z] Selected Git installation does not exist. Using Default [2022-06-06T07:33:39.997Z] The recommended git tool is: NONE [2022-06-06T07:33:40.216Z] ---> job-cost.sh [2022-06-06T07:33:40.216Z] lf-activate-venv: SKIPPING [2022-06-06T07:33:40.216Z] INFO: No Stack... [2022-06-06T07:33:40.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T07:33:41.047Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T07:33:41.338Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-06T07:33:41.338Z] + cut -d, -f6 [Pipeline] lock [2022-06-06T07:33:41.354Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [2022-06-06T07:33:41.359Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] did not exist. Created. [2022-06-06T07:33:41.359Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T07:33:41.659Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-06T07:33:41.691Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T07:33:41.697Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T07:33:41.722Z] $ docker stop --time=1 4eb22d086c869e9674764458e72892b2fa65b772ffb58458f058dfb37a7bbb3f [2022-06-06T07:33:42.896Z] $ docker rm -f 4eb22d086c869e9674764458e72892b2fa65b772ffb58458f058dfb37a7bbb3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-06T07:33:45.439Z] using credential edgex-jenkins-ssh [2022-06-06T07:33:45.459Z] Cloning the remote Git repository [2022-06-06T07:33:45.517Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-06T07:33:45.592Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-06-06T07:33:45.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-06T07:33:45.685Z] > git --version # timeout=10 [2022-06-06T07:33:45.712Z] > git --version # 'git version 2.25.1' [2022-06-06T07:33:45.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T07:33:45.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T07:33:46.687Z] Avoid second fetch [2022-06-06T07:33:46.688Z] Checking out Revision bed38a921fe50266a02f4b176e1c4270e057bc09 (main) [2022-06-06T07:33:46.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-06T07:33:46.666Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T07:33:46.707Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T07:33:46.719Z] > git checkout -f bed38a921fe50266a02f4b176e1c4270e057bc09 # timeout=10 [2022-06-06T07:33:50.896Z] Commit message: "Merge pull request #78 from edgexfoundry/issue-74" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T07:33:51.761Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-06T07:33:51.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T07:33:51.761Z] Dload Upload Total Spent Left Speed [2022-06-06T07:33:51.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh [2022-06-06T07:33:52.450Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-06T07:33:52.796Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-06T07:33:52.796Z] + sudo tee /etc/docker/daemon.new [2022-06-06T07:33:52.796Z] { [2022-06-06T07:33:52.796Z] "registry-mirrors": [ [2022-06-06T07:33:52.796Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-06T07:33:52.796Z] ], [2022-06-06T07:33:52.796Z] "bip": "10.250.0.254/24", [2022-06-06T07:33:52.796Z] "hosts": [ [2022-06-06T07:33:52.796Z] "tcp://0.0.0.0:5555", [2022-06-06T07:33:52.796Z] "unix:///var/run/docker.sock" [2022-06-06T07:33:52.796Z] ], [2022-06-06T07:33:52.796Z] "mtu": 1458, [2022-06-06T07:33:52.796Z] "selinux-enabled": true, [2022-06-06T07:33:52.796Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-06T07:33:52.796Z] } [Pipeline] sh [2022-06-06T07:33:53.197Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-06T07:33:53.539Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T07:34:11.889Z] provisioning config files... [2022-06-06T07:34:11.912Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config2019973079561080344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:34:12.269Z] ---> docker-login.sh [2022-06-06T07:34:12.269Z] nexus3.edgexfoundry.org:10001 [2022-06-06T07:34:12.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:34:13.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:34:13.144Z] Configure a credential helper to remove this warning. See [2022-06-06T07:34:13.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:34:13.144Z] [2022-06-06T07:34:13.144Z] Login Succeeded [2022-06-06T07:34:13.144Z] nexus3.edgexfoundry.org:10002 [2022-06-06T07:34:13.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:34:13.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:34:13.693Z] Configure a credential helper to remove this warning. See [2022-06-06T07:34:13.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:34:13.693Z] [2022-06-06T07:34:13.693Z] Login Succeeded [2022-06-06T07:34:13.693Z] nexus3.edgexfoundry.org:10003 [2022-06-06T07:34:13.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:34:13.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:34:13.969Z] Configure a credential helper to remove this warning. See [2022-06-06T07:34:13.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:34:13.969Z] [2022-06-06T07:34:13.969Z] Login Succeeded [2022-06-06T07:34:13.969Z] nexus3.edgexfoundry.org:10004 [2022-06-06T07:34:14.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:34:14.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:34:14.575Z] Configure a credential helper to remove this warning. See [2022-06-06T07:34:14.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:34:14.575Z] [2022-06-06T07:34:14.575Z] Login Succeeded [2022-06-06T07:34:14.575Z] docker.io [2022-06-06T07:34:14.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:34:15.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:34:15.124Z] Configure a credential helper to remove this warning. See [2022-06-06T07:34:15.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:34:15.124Z] [2022-06-06T07:34:15.124Z] Login Succeeded [2022-06-06T07:34:15.124Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T07:34:15.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T07:34:15.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T07:34:15.722Z] ========================================================= [2022-06-06T07:34:15.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-06T07:34:15.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:34:16.156Z] + 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-06T07:34:16.432Z] Sending build context to Docker daemon 5.915MB [2022-06-06T07:34:16.432Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T07:34:16.432Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-06T07:34:16.710Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-06T07:34:16.710Z] 9b3977197b4f: Pulling fs layer [2022-06-06T07:34:16.710Z] 1a89e8eeedd5: Pulling fs layer [2022-06-06T07:34:16.710Z] 94645a83ff95: Pulling fs layer [2022-06-06T07:34:16.710Z] e6fb740bc735: Pulling fs layer [2022-06-06T07:34:16.710Z] 3a77bd46dcc9: Pulling fs layer [2022-06-06T07:34:16.710Z] 355e64cbe906: Pulling fs layer [2022-06-06T07:34:16.710Z] 63ab81a10011: Pulling fs layer [2022-06-06T07:34:16.710Z] 555d1d1c4555: Pulling fs layer [2022-06-06T07:34:16.710Z] 7d9057610161: Pulling fs layer [2022-06-06T07:34:16.710Z] e6fb740bc735: Waiting [2022-06-06T07:34:16.710Z] 3a77bd46dcc9: Waiting [2022-06-06T07:34:16.710Z] 355e64cbe906: Waiting [2022-06-06T07:34:16.710Z] 63ab81a10011: Waiting [2022-06-06T07:34:16.710Z] 555d1d1c4555: Waiting [2022-06-06T07:34:16.710Z] 7d9057610161: Waiting [2022-06-06T07:34:16.710Z] 94645a83ff95: Download complete [2022-06-06T07:34:16.710Z] 1a89e8eeedd5: Download complete [2022-06-06T07:34:16.710Z] 3a77bd46dcc9: Verifying Checksum [2022-06-06T07:34:16.710Z] 3a77bd46dcc9: Download complete [2022-06-06T07:34:16.710Z] 355e64cbe906: Verifying Checksum [2022-06-06T07:34:16.710Z] 355e64cbe906: Download complete [2022-06-06T07:34:16.710Z] 9b3977197b4f: Verifying Checksum [2022-06-06T07:34:16.710Z] 9b3977197b4f: Download complete [2022-06-06T07:34:16.710Z] 63ab81a10011: Verifying Checksum [2022-06-06T07:34:16.710Z] 63ab81a10011: Download complete [2022-06-06T07:34:17.709Z] 9b3977197b4f: Pull complete [2022-06-06T07:34:17.709Z] 7d9057610161: Verifying Checksum [2022-06-06T07:34:17.709Z] 7d9057610161: Download complete [2022-06-06T07:34:18.310Z] 1a89e8eeedd5: Pull complete [2022-06-06T07:34:18.590Z] 94645a83ff95: Pull complete [2022-06-06T07:34:18.866Z] 555d1d1c4555: Verifying Checksum [2022-06-06T07:34:18.866Z] 555d1d1c4555: Download complete [2022-06-06T07:34:19.471Z] e6fb740bc735: Verifying Checksum [2022-06-06T07:34:19.471Z] e6fb740bc735: Download complete [2022-06-06T07:34:31.885Z] e6fb740bc735: Pull complete [2022-06-06T07:34:31.885Z] 3a77bd46dcc9: Pull complete [2022-06-06T07:34:31.885Z] 355e64cbe906: Pull complete [2022-06-06T07:34:32.160Z] 63ab81a10011: Pull complete [2022-06-06T07:34:38.877Z] 555d1d1c4555: Pull complete [2022-06-06T07:34:40.865Z] 7d9057610161: Pull complete [2022-06-06T07:34:40.865Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-06T07:34:40.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-06T07:34:40.865Z] ---> 819e984ddca1 [2022-06-06T07:34:40.865Z] Step 3/13 : ARG MAKE="make build" [2022-06-06T07:34:42.314Z] ---> Running in f51b571016d8 [2022-06-06T07:34:42.314Z] Removing intermediate container f51b571016d8 [2022-06-06T07:34:42.314Z] ---> 46217a5673e1 [2022-06-06T07:34:42.314Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T07:34:42.588Z] ---> Running in 9aa892cba8d0 [2022-06-06T07:34:42.863Z] Removing intermediate container 9aa892cba8d0 [2022-06-06T07:34:42.863Z] ---> 79299f8ca763 [2022-06-06T07:34:42.863Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T07:34:42.863Z] ---> Running in 2c9d155653dc [2022-06-06T07:34:43.138Z] Removing intermediate container 2c9d155653dc [2022-06-06T07:34:43.138Z] ---> 9741d8ad1a30 [2022-06-06T07:34:43.138Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-06T07:34:43.138Z] ---> Running in baf8d4114b17 [2022-06-06T07:34:43.745Z] Removing intermediate container baf8d4114b17 [2022-06-06T07:34:43.745Z] ---> 9bfa14d22ac1 [2022-06-06T07:34:43.745Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T07:34:43.745Z] ---> Running in 742734e88be3 [2022-06-06T07:34:46.410Z] Removing intermediate container 742734e88be3 [2022-06-06T07:34:46.410Z] ---> 553e42c2b686 [2022-06-06T07:34:46.410Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T07:34:46.410Z] ---> Running in b04152595507 [2022-06-06T07:34:47.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T07:34:47.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T07:34:48.962Z] OK: 220 MiB in 52 packages [2022-06-06T07:34:49.558Z] Removing intermediate container b04152595507 [2022-06-06T07:34:49.558Z] ---> 5acc9d43157a [2022-06-06T07:34:49.558Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-06T07:34:49.558Z] ---> Running in 5190a060de83 [2022-06-06T07:34:50.155Z] Removing intermediate container 5190a060de83 [2022-06-06T07:34:50.155Z] ---> 77c94157d213 [2022-06-06T07:34:50.155Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-06T07:34:50.435Z] ---> 2ba98df3b67a [2022-06-06T07:34:50.435Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T07:34:50.712Z] ---> Running in 1fc63905b631 [2022-06-06T07:35:37.723Z] Removing intermediate container 1fc63905b631 [2022-06-06T07:35:37.723Z] ---> 33336bcc9213 [2022-06-06T07:35:37.723Z] Step 12/13 : COPY . . [2022-06-06T07:35:37.723Z] ---> ab8755087280 [2022-06-06T07:35:37.723Z] Step 13/13 : RUN ${MAKE} [2022-06-06T07:35:37.723Z] ---> Running in acea8eadea14 [2022-06-06T07:35:37.723Z] noop [2022-06-06T07:35:38.327Z] Removing intermediate container acea8eadea14 [2022-06-06T07:35:38.327Z] ---> 85eecffb9498 [2022-06-06T07:35:38.327Z] Successfully built 85eecffb9498 [2022-06-06T07:35:38.327Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:35:38.693Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T07:35:38.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:35:38.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2022-06-06T07:35:39.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-06T07:35:40.275Z] $ docker top 96e35ba76e7a0f864874e2bc7843f96363052fa0d2ec3efb30513be86d7cfdbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T07:35:41.171Z] + go version [2022-06-06T07:35:41.171Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-06T07:35:41.198Z] $ docker stop --time=1 96e35ba76e7a0f864874e2bc7843f96363052fa0d2ec3efb30513be86d7cfdbf [2022-06-06T07:35:42.826Z] $ docker rm -f 96e35ba76e7a0f864874e2bc7843f96363052fa0d2ec3efb30513be86d7cfdbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:35:43.446Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T07:35:43.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:35:43.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2022-06-06T07:35:43.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-06T07:35:45.046Z] $ docker top 9baf86664795abd9d739cff17b4daa52daf39068669014b54a18a32bd45e4137 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T07:35:45.971Z] + make test [2022-06-06T07:35:45.971Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T07:35:47.952Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-06T07:37:09.819Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-06T07:37:09.819Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.076s coverage: 1.3% of statements [2022-06-06T07:37:42.174Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.850s coverage: 13.8% of statements [2022-06-06T07:37:42.174Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-06T07:37:42.174Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T07:38:04.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T07:38:04.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T07:38:04.392Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T07:38:07.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T07:38:07.825Z] $ docker stop --time=1 9baf86664795abd9d739cff17b4daa52daf39068669014b54a18a32bd45e4137 [2022-06-06T07:38:09.602Z] $ docker rm -f 9baf86664795abd9d739cff17b4daa52daf39068669014b54a18a32bd45e4137 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T07:38:10.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T07:38:10.598Z] Warning: overwriting stash ‘coverage-report’ [2022-06-06T07:38:11.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T07:38:11.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T07:38:11.815Z] + ls -al . [2022-06-06T07:38:11.815Z] total 228 [2022-06-06T07:38:11.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 07:38 . [2022-06-06T07:38:11.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:33 .. [2022-06-06T07:38:11.816Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 07:33 .git [2022-06-06T07:38:11.816Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 07:33 .github [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 07:33 .gitignore [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 07:33 .golangci.yml [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 07:33 Attribution.txt [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 07:33 CHANGELOG.md [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 07:33 Dockerfile [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 07:33 GOVERNANCE.md [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 07:33 Jenkinsfile [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 07:33 LICENSE [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 07:33 Makefile [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 07:33 OWNERS.md [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 07:33 README.md [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 6 07:31 VERSION [2022-06-06T07:38:11.816Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 07:33 bin [2022-06-06T07:38:11.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 07:33 cmd [2022-06-06T07:38:11.816Z] -rw-r--r-- 1 jenkins jenkins 53469 Jun 6 07:37 coverage.out [2022-06-06T07:38:11.816Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:33 doc [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 07:33 go.mod [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 07:33 go.sum [2022-06-06T07:38:11.816Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 07:33 internal [2022-06-06T07:38:11.816Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 07:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:38:12.182Z] + 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=bed38a921fe50266a02f4b176e1c4270e057bc09 --label arch=arm64 --label version=0.0.1-dev.7 . [2022-06-06T07:38:12.464Z] Sending build context to Docker daemon 5.969MB [2022-06-06T07:38:12.464Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T07:38:12.464Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-06T07:38:12.464Z] ---> 85eecffb9498 [2022-06-06T07:38:12.464Z] Step 3/26 : ARG MAKE="make build" [2022-06-06T07:38:12.738Z] ---> Running in b6e6b00debe6 [2022-06-06T07:38:13.016Z] Removing intermediate container b6e6b00debe6 [2022-06-06T07:38:13.016Z] ---> 0d75902cb9de [2022-06-06T07:38:13.016Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T07:38:13.016Z] ---> Running in cf8bf663a250 [2022-06-06T07:38:13.290Z] Removing intermediate container cf8bf663a250 [2022-06-06T07:38:13.290Z] ---> 2b997f281d0d [2022-06-06T07:38:13.290Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T07:38:13.576Z] ---> Running in 5775783afddd [2022-06-06T07:38:13.855Z] Removing intermediate container 5775783afddd [2022-06-06T07:38:13.855Z] ---> 81a4380df0a5 [2022-06-06T07:38:13.855Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-06T07:38:13.855Z] ---> Running in 6ea23d0810b2 [2022-06-06T07:38:14.136Z] Removing intermediate container 6ea23d0810b2 [2022-06-06T07:38:14.136Z] ---> 9719da062636 [2022-06-06T07:38:14.136Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T07:38:14.136Z] ---> Running in 3f600fb5c429 [2022-06-06T07:38:16.115Z] Removing intermediate container 3f600fb5c429 [2022-06-06T07:38:16.115Z] ---> 731916c54cd0 [2022-06-06T07:38:16.115Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T07:38:16.115Z] ---> Running in 1bd9f03b2497 [2022-06-06T07:38:16.718Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T07:38:17.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T07:38:18.690Z] OK: 220 MiB in 52 packages [2022-06-06T07:38:19.285Z] Removing intermediate container 1bd9f03b2497 [2022-06-06T07:38:19.285Z] ---> da802e519e2f [2022-06-06T07:38:19.285Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-06T07:38:19.285Z] ---> Running in 62df2ef1e748 [2022-06-06T07:38:19.557Z] Removing intermediate container 62df2ef1e748 [2022-06-06T07:38:19.557Z] ---> 374e22f3658b [2022-06-06T07:38:19.557Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-06T07:38:20.156Z] ---> d15f6dd80168 [2022-06-06T07:38:20.156Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T07:38:20.433Z] ---> Running in ed8b0b98ddf3 [2022-06-06T07:38:22.420Z] Removing intermediate container ed8b0b98ddf3 [2022-06-06T07:38:22.420Z] ---> d93aee0b6700 [2022-06-06T07:38:22.420Z] Step 12/26 : COPY . . [2022-06-06T07:38:23.397Z] ---> 702b0229a92e [2022-06-06T07:38:23.397Z] Step 13/26 : RUN ${MAKE} [2022-06-06T07:38:23.397Z] ---> Running in 92e3881b8cfb [2022-06-06T07:38:24.376Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.7 -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-06T07:40:31.273Z] Removing intermediate container 92e3881b8cfb [2022-06-06T07:40:31.273Z] ---> 73782ba23602 [2022-06-06T07:40:31.273Z] Step 14/26 : FROM alpine:3.15 [2022-06-06T07:40:31.273Z] 3.15: Pulling from library/alpine [2022-06-06T07:40:31.273Z] 9981e73032c8: Pulling fs layer [2022-06-06T07:40:31.273Z] 9981e73032c8: Verifying Checksum [2022-06-06T07:40:31.273Z] 9981e73032c8: Download complete [2022-06-06T07:40:31.273Z] 9981e73032c8: Pull complete [2022-06-06T07:40:31.273Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-06T07:40:31.273Z] Status: Downloaded newer image for alpine:3.15 [2022-06-06T07:40:31.273Z] ---> 3fb3c9af89a9 [2022-06-06T07:40:31.273Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-06T07:40:31.273Z] ---> Running in 1782be314ae1 [2022-06-06T07:40:31.273Z] Removing intermediate container 1782be314ae1 [2022-06-06T07:40:31.273Z] ---> fb2b467f71b9 [2022-06-06T07:40:31.273Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T07:40:31.273Z] ---> Running in 7cefe7cb6cbd [2022-06-06T07:40:31.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T07:40:31.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T07:40:31.273Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T07:40:31.273Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-06T07:40:31.273Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T07:40:31.273Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-06T07:40:31.273Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T07:40:31.273Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T07:40:31.273Z] Executing busybox-1.34.1-r5.trigger [2022-06-06T07:40:31.273Z] OK: 8 MiB in 20 packages [2022-06-06T07:40:31.273Z] Removing intermediate container 7cefe7cb6cbd [2022-06-06T07:40:31.273Z] ---> d69c7a7d866c [2022-06-06T07:40:31.273Z] Step 17/26 : WORKDIR / [2022-06-06T07:40:31.273Z] ---> Running in 7e0f47e4ce2e [2022-06-06T07:40:31.273Z] Removing intermediate container 7e0f47e4ce2e [2022-06-06T07:40:31.273Z] ---> 348fa56d46c0 [2022-06-06T07:40:31.273Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-06T07:40:31.273Z] ---> e949914a39b1 [2022-06-06T07:40:31.273Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-06T07:40:31.273Z] ---> 8aebee2eebc3 [2022-06-06T07:40:31.273Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-06T07:40:31.273Z] ---> 3ffb9fa49569 [2022-06-06T07:40:31.273Z] Step 21/26 : EXPOSE 59984 [2022-06-06T07:40:31.273Z] ---> Running in 99d111b23dac [2022-06-06T07:40:31.556Z] Removing intermediate container 99d111b23dac [2022-06-06T07:40:31.556Z] ---> f82af753ba72 [2022-06-06T07:40:31.556Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-06T07:40:31.835Z] ---> Running in 9ca57a8184a9 [2022-06-06T07:40:32.108Z] Removing intermediate container 9ca57a8184a9 [2022-06-06T07:40:32.108Z] ---> 70d8d60f07e6 [2022-06-06T07:40:32.108Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-06T07:40:32.108Z] ---> Running in a246e5eac599 [2022-06-06T07:40:32.391Z] Removing intermediate container a246e5eac599 [2022-06-06T07:40:32.391Z] ---> 873a454b1a9c [2022-06-06T07:40:32.391Z] Step 24/26 : LABEL arch=arm64 [2022-06-06T07:40:32.391Z] ---> Running in 2566a1b3c0ca [2022-06-06T07:40:32.668Z] Removing intermediate container 2566a1b3c0ca [2022-06-06T07:40:32.668Z] ---> 66557f13751b [2022-06-06T07:40:32.668Z] Step 25/26 : LABEL git_sha=bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:40:32.942Z] ---> Running in 8a684b209879 [2022-06-06T07:40:33.217Z] Removing intermediate container 8a684b209879 [2022-06-06T07:40:33.217Z] ---> e22f70946654 [2022-06-06T07:40:33.217Z] Step 26/26 : LABEL version=0.0.1-dev.7 [2022-06-06T07:40:33.217Z] ---> Running in 29dff2c4e853 [2022-06-06T07:40:33.495Z] Removing intermediate container 29dff2c4e853 [2022-06-06T07:40:33.495Z] ---> 56b78f1233d6 [2022-06-06T07:40:33.495Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T07:40:33.495Z] Successfully built 56b78f1233d6 [2022-06-06T07:40:33.495Z] 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-06T07:40:33.614Z] provisioning config files... [2022-06-06T07:40:33.638Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config6294685697732994994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:40:34.004Z] ---> docker-login.sh [2022-06-06T07:40:34.004Z] nexus3.edgexfoundry.org:10001 [2022-06-06T07:40:34.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:40:34.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:40:34.278Z] Configure a credential helper to remove this warning. See [2022-06-06T07:40:34.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:40:34.278Z] [2022-06-06T07:40:34.278Z] Login Succeeded [2022-06-06T07:40:34.278Z] nexus3.edgexfoundry.org:10002 [2022-06-06T07:40:34.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:40:34.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:40:34.830Z] Configure a credential helper to remove this warning. See [2022-06-06T07:40:34.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:40:34.830Z] [2022-06-06T07:40:34.830Z] Login Succeeded [2022-06-06T07:40:34.830Z] nexus3.edgexfoundry.org:10003 [2022-06-06T07:40:35.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:40:35.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:40:35.105Z] Configure a credential helper to remove this warning. See [2022-06-06T07:40:35.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:40:35.105Z] [2022-06-06T07:40:35.105Z] Login Succeeded [2022-06-06T07:40:35.105Z] nexus3.edgexfoundry.org:10004 [2022-06-06T07:40:35.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:40:35.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:40:35.707Z] Configure a credential helper to remove this warning. See [2022-06-06T07:40:35.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:40:35.707Z] [2022-06-06T07:40:35.707Z] Login Succeeded [2022-06-06T07:40:35.707Z] docker.io [2022-06-06T07:40:35.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T07:40:36.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T07:40:36.251Z] Configure a credential helper to remove this warning. See [2022-06-06T07:40:36.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T07:40:36.251Z] [2022-06-06T07:40:36.251Z] Login Succeeded [2022-06-06T07:40:36.251Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T07:40:36.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-06T07:40:36.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T07:40:36.318Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-06T07:40:36.318Z] bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:40:36.318Z] latest [2022-06-06T07:40:36.318Z] 0.0.1-dev.7 [2022-06-06T07:40:36.318Z] bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:40:36.318Z] main [2022-06-06T07:40:36.318Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:36.672Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:37.035Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:40:37.035Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-06T07:40:37.035Z] 82d7a4ec7501: Preparing [2022-06-06T07:40:37.035Z] c7cdace0a58b: Preparing [2022-06-06T07:40:37.035Z] e7123f59534d: Preparing [2022-06-06T07:40:37.035Z] bcce9e4efd5d: Preparing [2022-06-06T07:40:37.035Z] 4f4ce317c6bb: Preparing [2022-06-06T07:40:37.035Z] 4f4ce317c6bb: Layer already exists [2022-06-06T07:40:37.314Z] 82d7a4ec7501: Pushed [2022-06-06T07:40:37.314Z] c7cdace0a58b: Pushed [2022-06-06T07:40:37.913Z] bcce9e4efd5d: Pushed [2022-06-06T07:40:43.313Z] e7123f59534d: Pushed [2022-06-06T07:40:43.313Z] bed38a921fe50266a02f4b176e1c4270e057bc09: digest: sha256:666321ffcf2499400a42dd4896d07ca85aa04a152ac5c074ca278372b9ea4545 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:43.672Z] + 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-06T07:40:44.034Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-06T07:40:44.034Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-06T07:40:44.034Z] 82d7a4ec7501: Preparing [2022-06-06T07:40:44.034Z] c7cdace0a58b: Preparing [2022-06-06T07:40:44.034Z] e7123f59534d: Preparing [2022-06-06T07:40:44.034Z] bcce9e4efd5d: Preparing [2022-06-06T07:40:44.034Z] 4f4ce317c6bb: Preparing [2022-06-06T07:40:44.034Z] 4f4ce317c6bb: Layer already exists [2022-06-06T07:40:44.034Z] 82d7a4ec7501: Layer already exists [2022-06-06T07:40:44.034Z] bcce9e4efd5d: Layer already exists [2022-06-06T07:40:44.034Z] e7123f59534d: Layer already exists [2022-06-06T07:40:44.034Z] c7cdace0a58b: Layer already exists [2022-06-06T07:40:44.307Z] latest: digest: sha256:666321ffcf2499400a42dd4896d07ca85aa04a152ac5c074ca278372b9ea4545 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:44.677Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:45.041Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.7 [2022-06-06T07:40:45.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-06T07:40:45.041Z] 82d7a4ec7501: Preparing [2022-06-06T07:40:45.041Z] c7cdace0a58b: Preparing [2022-06-06T07:40:45.041Z] e7123f59534d: Preparing [2022-06-06T07:40:45.041Z] bcce9e4efd5d: Preparing [2022-06-06T07:40:45.041Z] 4f4ce317c6bb: Preparing [2022-06-06T07:40:45.041Z] c7cdace0a58b: Layer already exists [2022-06-06T07:40:45.041Z] 82d7a4ec7501: Layer already exists [2022-06-06T07:40:45.041Z] bcce9e4efd5d: Layer already exists [2022-06-06T07:40:45.041Z] 4f4ce317c6bb: Layer already exists [2022-06-06T07:40:45.041Z] e7123f59534d: Layer already exists [2022-06-06T07:40:45.313Z] 0.0.1-dev.7: digest: sha256:666321ffcf2499400a42dd4896d07ca85aa04a152ac5c074ca278372b9ea4545 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:45.688Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:46.050Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:40:46.051Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-06T07:40:46.051Z] 82d7a4ec7501: Preparing [2022-06-06T07:40:46.051Z] c7cdace0a58b: Preparing [2022-06-06T07:40:46.051Z] e7123f59534d: Preparing [2022-06-06T07:40:46.051Z] bcce9e4efd5d: Preparing [2022-06-06T07:40:46.051Z] 4f4ce317c6bb: Preparing [2022-06-06T07:40:46.051Z] bcce9e4efd5d: Layer already exists [2022-06-06T07:40:46.051Z] 4f4ce317c6bb: Layer already exists [2022-06-06T07:40:46.051Z] e7123f59534d: Layer already exists [2022-06-06T07:40:46.051Z] c7cdace0a58b: Layer already exists [2022-06-06T07:40:46.051Z] 82d7a4ec7501: Layer already exists [2022-06-06T07:40:46.322Z] bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7: digest: sha256:666321ffcf2499400a42dd4896d07ca85aa04a152ac5c074ca278372b9ea4545 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:46.686Z] + 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-06T07:40:47.049Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-06T07:40:47.049Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-06T07:40:47.049Z] 82d7a4ec7501: Preparing [2022-06-06T07:40:47.049Z] c7cdace0a58b: Preparing [2022-06-06T07:40:47.049Z] e7123f59534d: Preparing [2022-06-06T07:40:47.049Z] bcce9e4efd5d: Preparing [2022-06-06T07:40:47.049Z] 4f4ce317c6bb: Preparing [2022-06-06T07:40:47.049Z] 4f4ce317c6bb: Layer already exists [2022-06-06T07:40:47.049Z] bcce9e4efd5d: Layer already exists [2022-06-06T07:40:47.049Z] 82d7a4ec7501: Layer already exists [2022-06-06T07:40:47.049Z] e7123f59534d: Layer already exists [2022-06-06T07:40:47.049Z] c7cdace0a58b: Layer already exists [2022-06-06T07:40:47.323Z] main: digest: sha256:666321ffcf2499400a42dd4896d07ca85aa04a152ac5c074ca278372b9ea4545 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-06T07:40:47.373Z] ===================================================== [Pipeline] echo [2022-06-06T07:40:47.379Z] taggedImages: [2022-06-06T07:40:47.379Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09 [2022-06-06T07:40:47.380Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-06T07:40:47.380Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.7 [2022-06-06T07:40:47.380Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bed38a921fe50266a02f4b176e1c4270e057bc09-0.0.1-dev.7 [2022-06-06T07:40:47.380Z] - 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-06T07:40:47.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T07:40:47.746Z] [2022-06-06T07:40:47.746Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:40:48.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T07:40:48.100Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-06T07:40:48.100Z] 8998bd30e6a1: Pulling fs layer [2022-06-06T07:40:48.100Z] 04944245beec: Pulling fs layer [2022-06-06T07:40:48.100Z] 699f458cf7ca: Pulling fs layer [2022-06-06T07:40:48.100Z] 765212b225bb: Pulling fs layer [2022-06-06T07:40:48.100Z] f23df028b6ca: Pulling fs layer [2022-06-06T07:40:48.100Z] d65c8cfc05b1: Pulling fs layer [2022-06-06T07:40:48.100Z] 2437ff75d9bd: Pulling fs layer [2022-06-06T07:40:48.100Z] 765212b225bb: Waiting [2022-06-06T07:40:48.100Z] f23df028b6ca: Waiting [2022-06-06T07:40:48.100Z] d65c8cfc05b1: Waiting [2022-06-06T07:40:48.100Z] 2437ff75d9bd: Waiting [2022-06-06T07:40:48.378Z] 04944245beec: Verifying Checksum [2022-06-06T07:40:48.378Z] 04944245beec: Download complete [2022-06-06T07:40:48.378Z] 765212b225bb: Verifying Checksum [2022-06-06T07:40:48.378Z] 765212b225bb: Download complete [2022-06-06T07:40:48.378Z] f23df028b6ca: Verifying Checksum [2022-06-06T07:40:48.378Z] f23df028b6ca: Download complete [2022-06-06T07:40:48.378Z] d65c8cfc05b1: Verifying Checksum [2022-06-06T07:40:48.378Z] d65c8cfc05b1: Download complete [2022-06-06T07:40:48.378Z] 699f458cf7ca: Verifying Checksum [2022-06-06T07:40:48.378Z] 699f458cf7ca: Download complete [2022-06-06T07:40:48.975Z] 8998bd30e6a1: Verifying Checksum [2022-06-06T07:40:48.975Z] 8998bd30e6a1: Download complete [2022-06-06T07:40:51.604Z] 2437ff75d9bd: Verifying Checksum [2022-06-06T07:40:51.604Z] 2437ff75d9bd: Download complete [2022-06-06T07:40:53.595Z] 8998bd30e6a1: Pull complete [2022-06-06T07:40:53.595Z] 04944245beec: Pull complete [2022-06-06T07:40:55.032Z] 699f458cf7ca: Pull complete [2022-06-06T07:40:55.304Z] 765212b225bb: Pull complete [2022-06-06T07:40:56.291Z] f23df028b6ca: Pull complete [2022-06-06T07:40:56.569Z] d65c8cfc05b1: Pull complete [2022-06-06T07:41:11.694Z] 2437ff75d9bd: Pull complete [2022-06-06T07:41:11.694Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-06T07:41:11.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T07:41:11.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:41:11.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2022-06-06T07:41:12.046Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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:arm64 cat [2022-06-06T07:41:14.522Z] $ docker top 5cddba43ce8dae2ee1928a8c9ef78d2e2117081066e1d68a8af20539219ba2b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:41:15.427Z] ---> job-cost.sh [2022-06-06T07:41:15.427Z] lf-activate-venv: SKIPPING [2022-06-06T07:41:15.427Z] INFO: No Stack... [2022-06-06T07:41:15.698Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-06T07:41:16.675Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T07:41:17.342Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2022-06-06T07:41:17.342Z] + cut -d, -f6 [Pipeline] lock [2022-06-06T07:41:17.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [2022-06-06T07:41:17.414Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] did not exist. Created. [2022-06-06T07:41:17.414Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T07:41:18.097Z] /w/workspace/device-onvif-camera/9@tmp/durable-a17d17a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-06T07:41:18.848Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-06T07:41:18.868Z] Warning: overwriting stash ‘stack-cost’ [2022-06-06T07:41:18.923Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T07:41:18.931Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T07:41:18.952Z] $ docker stop --time=1 5cddba43ce8dae2ee1928a8c9ef78d2e2117081066e1d68a8af20539219ba2b6 [2022-06-06T07:41:20.449Z] $ docker rm -f 5cddba43ce8dae2ee1928a8c9ef78d2e2117081066e1d68a8af20539219ba2b6 [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-06T07:41:20.905Z] provisioning config files... [2022-06-06T07:41:20.913Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8985187524992463137tmp [Pipeline] { [Pipeline] sh [2022-06-06T07:41:21.205Z] + set +x [2022-06-06T07:41:21.205Z] + curl -s https://codecov.io/bash [2022-06-06T07:41:21.205Z] + bash -s -- [2022-06-06T07:41:21.205Z] [2022-06-06T07:41:21.205Z] _____ _ [2022-06-06T07:41:21.205Z] / ____| | | [2022-06-06T07:41:21.205Z] | | ___ __| | ___ ___ _____ __ [2022-06-06T07:41:21.205Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-06T07:41:21.205Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-06T07:41:21.205Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-06T07:41:21.205Z] Bash-1.0.6 [2022-06-06T07:41:21.205Z] [2022-06-06T07:41:21.205Z] [2022-06-06T07:41:21.205Z] ==> git version 2.25.1 found [2022-06-06T07:41:21.205Z] ==> 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-06T07:41:21.205Z] Release-Date: 2020-01-08 [2022-06-06T07:41:21.205Z] 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-06T07:41:21.205Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-06T07:41:21.205Z] ==> Jenkins CI detected. [2022-06-06T07:41:21.205Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-06T07:41:21.205Z] project root: . [2022-06-06T07:41:21.205Z] --> token set from env [2022-06-06T07:41:21.205Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-06T07:41:21.205Z] ==> Running gcov in . (disable via -X gcov) [2022-06-06T07:41:21.205Z] ==> Python coveragepy not found [2022-06-06T07:41:21.205Z] ==> Searching for coverage reports in: [2022-06-06T07:41:21.205Z] + . [2022-06-06T07:41:21.205Z] -> Found 1 reports [2022-06-06T07:41:21.205Z] ==> Detecting git/mercurial file structure [2022-06-06T07:41:21.205Z] ==> Reading reports [2022-06-06T07:41:21.205Z] + ./coverage.out bytes=53469 [2022-06-06T07:41:21.206Z] ==> Appending adjustments [2022-06-06T07:41:21.206Z] https://docs.codecov.io/docs/fixing-reports [2022-06-06T07:41:21.465Z] + Found adjustments [2022-06-06T07:41:21.465Z] ==> Gzipping contents [2022-06-06T07:41:21.465Z] 8.0K /tmp/codecov.gTPHEV.gz [2022-06-06T07:41:21.465Z] ==> Uploading reports [2022-06-06T07:41:21.465Z] url: https://codecov.io [2022-06-06T07:41:21.465Z] query: branch=main&commit=bed38a921fe50266a02f4b176e1c4270e057bc09&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-06T07:41:21.465Z] -> Pinging Codecov [2022-06-06T07:41:21.465Z] 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=bed38a921fe50266a02f4b176e1c4270e057bc09&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-06T07:41:21.725Z] -> Uploading to [2022-06-06T07:41:21.725Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-06/F29A59C45E3A92E06B3E522C9905F8EF/bed38a921fe50266a02f4b176e1c4270e057bc09/809876d6-92dd-4517-89c9-b32774e5758f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T074121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a021d20c6187896e2eed16d729ef058f94e8ed66a5e6f54bb9d518e70d5876cb [2022-06-06T07:41:21.725Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T07:41:21.725Z] Dload Upload Total Spent Left Speed [2022-06-06T07:41:21.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6838 0 0 100 6838 0 29601 --:--:-- --:--:-- --:--:-- 29601 [2022-06-06T07:41:21.984Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] } [2022-06-06T07:41:21.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-06T07:41:22.186Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-06T07:41:22.197Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:41:22.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-06T07:41:22.495Z] [2022-06-06T07:41:22.495Z] 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-06T07:41:22.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-06T07:41:22.796Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-06T07:41:22.796Z] df9b9388f04a: Already exists [2022-06-06T07:41:22.796Z] 52dc419b0ee2: Pulling fs layer [2022-06-06T07:41:22.796Z] 25bc292e5bac: Pulling fs layer [2022-06-06T07:41:22.796Z] 114826534d7a: Pulling fs layer [2022-06-06T07:41:22.796Z] 4657fd5d0bcf: Pulling fs layer [2022-06-06T07:41:22.796Z] 6ad1cebc031e: Pulling fs layer [2022-06-06T07:41:22.796Z] 8a3aa393b2d8: Pulling fs layer [2022-06-06T07:41:22.796Z] 4657fd5d0bcf: Waiting [2022-06-06T07:41:22.796Z] 8a3aa393b2d8: Waiting [2022-06-06T07:41:22.796Z] 25bc292e5bac: Verifying Checksum [2022-06-06T07:41:22.796Z] 25bc292e5bac: Download complete [2022-06-06T07:41:22.796Z] 52dc419b0ee2: Verifying Checksum [2022-06-06T07:41:22.796Z] 52dc419b0ee2: Download complete [2022-06-06T07:41:22.796Z] 4657fd5d0bcf: Download complete [2022-06-06T07:41:23.065Z] 52dc419b0ee2: Pull complete [2022-06-06T07:41:23.065Z] 25bc292e5bac: Pull complete [2022-06-06T07:41:23.065Z] 6ad1cebc031e: Verifying Checksum [2022-06-06T07:41:23.065Z] 6ad1cebc031e: Download complete [2022-06-06T07:41:23.636Z] 114826534d7a: Verifying Checksum [2022-06-06T07:41:23.636Z] 114826534d7a: Download complete [2022-06-06T07:41:23.894Z] 8a3aa393b2d8: Verifying Checksum [2022-06-06T07:41:23.894Z] 8a3aa393b2d8: Download complete [2022-06-06T07:41:27.184Z] 114826534d7a: Pull complete [2022-06-06T07:41:27.184Z] 4657fd5d0bcf: Pull complete [2022-06-06T07:41:27.442Z] 6ad1cebc031e: Pull complete [2022-06-06T07:41:29.976Z] 8a3aa393b2d8: Pull complete [2022-06-06T07:41:29.976Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-06T07:41:29.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-06T07:41:29.976Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:41:30.061Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:41:30.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-06T07:41:32.078Z] $ docker top fc054230317f88236748ce630d7837df591be0b807ead2535ca187739de9c096 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-06T07:41:32.150Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-06T07:41:32.428Z] + set -o pipefail [2022-06-06T07:41:32.428Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-06T07:41:39.011Z] [2022-06-06T07:41:39.011Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-06T07:41:39.011Z] [2022-06-06T07:41:39.011Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/dbd75843-3bd9-46a8-b42b-8e9f9a214d8d [2022-06-06T07:41:39.011Z] [2022-06-06T07:41:39.011Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-06T07:41:39.011Z] [2022-06-06T07:41:39.011Z] [Pipeline] } [2022-06-06T07:41:39.296Z] $ docker stop --time=1 fc054230317f88236748ce630d7837df591be0b807ead2535ca187739de9c096 [2022-06-06T07:41:41.579Z] $ docker rm -f fc054230317f88236748ce630d7837df591be0b807ead2535ca187739de9c096 [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-06T07:41:42.287Z] + git log --format=format:%s -1 bed38a921fe50266a02f4b176e1c4270e057bc09 [Pipeline] sh [2022-06-06T07:41:42.578Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T07:41:42.578Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:41:42.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:41:42.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:41:42.964Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:41:43.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T07:41:43.446Z] $ docker top cc13cadc5b160dc87a077d3a977ed6d3e7a182d1a6dea9dfb64b2d0733feabcc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T07:41:43.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T07:41:43.538Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T07:41:43.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T07:41:43.675Z] $ docker exec cc13cadc5b160dc87a077d3a977ed6d3e7a182d1a6dea9dfb64b2d0733feabcc ssh-agent [2022-06-06T07:41:43.799Z] SSH_AUTH_SOCK=/tmp/ssh-ase3KD21DHGn/agent.33 [2022-06-06T07:41:43.799Z] SSH_AGENT_PID=39 [2022-06-06T07:41:43.804Z] Running ssh-add (command line suppressed) [2022-06-06T07:41:43.918Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5698326926066173848.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5698326926066173848.key) [2022-06-06T07:41:43.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T07:41:44.216Z] + git semver tag [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,404 [run_tag] DEBUG tag force:False [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,404 [check_head_tag] DEBUG check head tag [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,405 [execute] INFO git cat-file --batch-check [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,408 [execute] INFO git cat-file --batch [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,414 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,415 [execute] INFO git tag -a v0.0.1-dev.7 -m v0.0.1-dev.7 [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,415 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.7', '-m', 'v0.0.1-dev.7'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-06T07:41:44.476Z] 2022-06-06 07:41:44,420 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:41:44.476Z] 0.0.1-dev.7 [Pipeline] } [2022-06-06T07:41:44.494Z] $ docker exec --env ******** --env ******** cc13cadc5b160dc87a077d3a977ed6d3e7a182d1a6dea9dfb64b2d0733feabcc ssh-agent -k [2022-06-06T07:41:44.596Z] unset SSH_AUTH_SOCK; [2022-06-06T07:41:44.596Z] unset SSH_AGENT_PID; [2022-06-06T07:41:44.596Z] echo Agent pid 39 killed; [2022-06-06T07:41:44.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T07:41:44.910Z] + git semver [Pipeline] } [2022-06-06T07:41:45.194Z] $ docker stop --time=1 cc13cadc5b160dc87a077d3a977ed6d3e7a182d1a6dea9dfb64b2d0733feabcc [2022-06-06T07:41:46.504Z] $ docker rm -f cc13cadc5b160dc87a077d3a977ed6d3e7a182d1a6dea9dfb64b2d0733feabcc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:41:46.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-06T07:41:46.884Z] [2022-06-06T07:41:46.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:41:47.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-06T07:41:47.186Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-06T07:41:47.186Z] ab5ef0e58194: Pulling fs layer [2022-06-06T07:41:47.186Z] 9712f1f96733: Pulling fs layer [2022-06-06T07:41:47.186Z] 63f879dbbcfc: Pulling fs layer [2022-06-06T07:41:47.186Z] 0d9ebad4ef96: Pulling fs layer [2022-06-06T07:41:47.186Z] e9a5061849ea: Pulling fs layer [2022-06-06T07:41:47.186Z] d747dcd14b5f: Pulling fs layer [2022-06-06T07:41:47.186Z] 2de7ff778b66: Pulling fs layer [2022-06-06T07:41:47.186Z] d747dcd14b5f: Waiting [2022-06-06T07:41:47.186Z] 2de7ff778b66: Waiting [2022-06-06T07:41:47.186Z] 0d9ebad4ef96: Waiting [2022-06-06T07:41:47.186Z] e9a5061849ea: Waiting [2022-06-06T07:41:47.186Z] 9712f1f96733: Download complete [2022-06-06T07:41:47.453Z] 63f879dbbcfc: Verifying Checksum [2022-06-06T07:41:47.453Z] 63f879dbbcfc: Download complete [2022-06-06T07:41:47.714Z] e9a5061849ea: Verifying Checksum [2022-06-06T07:41:47.714Z] e9a5061849ea: Download complete [2022-06-06T07:41:47.714Z] d747dcd14b5f: Download complete [2022-06-06T07:41:47.714Z] ab5ef0e58194: Verifying Checksum [2022-06-06T07:41:47.714Z] ab5ef0e58194: Download complete [2022-06-06T07:41:47.714Z] 0d9ebad4ef96: Verifying Checksum [2022-06-06T07:41:47.973Z] 2de7ff778b66: Verifying Checksum [2022-06-06T07:41:47.973Z] 2de7ff778b66: Download complete [2022-06-06T07:41:50.513Z] ab5ef0e58194: Pull complete [2022-06-06T07:41:50.513Z] 9712f1f96733: Pull complete [2022-06-06T07:41:51.081Z] 63f879dbbcfc: Pull complete [2022-06-06T07:41:55.279Z] 0d9ebad4ef96: Pull complete [2022-06-06T07:41:55.279Z] e9a5061849ea: Pull complete [2022-06-06T07:41:55.279Z] d747dcd14b5f: Pull complete [2022-06-06T07:41:56.219Z] 2de7ff778b66: Pull complete [2022-06-06T07:41:56.219Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-06T07:41:56.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-06T07:41:56.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:41:56.315Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:41:56.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-06T07:41:58.282Z] $ docker top 17d05c0e6c259fec206fb324d8e70a7280806deef8831e5b574270cb28038bd3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-06T07:41:58.351Z] provisioning config files... [2022-06-06T07:41:58.360Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7661557134966674462tmp [2022-06-06T07:41:58.373Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1676063240465531345tmp [2022-06-06T07:41:58.385Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4862847392104285532tmp [Pipeline] { [Pipeline] echo [2022-06-06T07:41:58.401Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:41:58.686Z] ---> sigul-configuration.sh [2022-06-06T07:41:58.686Z] gpg: directory `/root/.gnupg' created [2022-06-06T07:41:58.686Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-06T07:41:58.686Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-06T07:41:58.686Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-06T07:41:58.686Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-06T07:41:58.686Z] gpg: CAST5 encrypted data [2022-06-06T07:41:58.686Z] gpg: encrypted with 1 passphrase [2022-06-06T07:41:58.686Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-06T07:41:58.976Z] + mkdir /home/jenkins [2022-06-06T07:41:58.976Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-06T07:41:59.266Z] + 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-06T07:41:59.274Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:41:59.561Z] ---> sigul-install.sh [2022-06-06T07:41:59.561Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-06T07:41:59.852Z] + git tag --list [2022-06-06T07:41:59.852Z] v0.0.0 [2022-06-06T07:41:59.852Z] v0.0.1-dev.1 [2022-06-06T07:41:59.852Z] v0.0.1-dev.2 [2022-06-06T07:41:59.852Z] v0.0.1-dev.3 [2022-06-06T07:41:59.852Z] v0.0.1-dev.4 [2022-06-06T07:41:59.852Z] v0.0.1-dev.5 [2022-06-06T07:41:59.852Z] v0.0.1-dev.6 [2022-06-06T07:41:59.852Z] v0.0.1-dev.7 [Pipeline] sh [2022-06-06T07:42:00.148Z] + lftools sign git-tag v0.0.1-dev.7 [2022-06-06T07:42:00.719Z] Signing Git tag with Sigul... [2022-06-06T07:42:00.719Z] Signing v0.0.1-dev.7 [Pipeline] echo [2022-06-06T07:42:00.990Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:01.282Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-06T07:42:01.289Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-06T07:42:01.316Z] $ docker stop --time=1 17d05c0e6c259fec206fb324d8e70a7280806deef8831e5b574270cb28038bd3 [2022-06-06T07:42:02.603Z] $ docker rm -f 17d05c0e6c259fec206fb324d8e70a7280806deef8831e5b574270cb28038bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-06T07:42:03.003Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T07:42:03.003Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:42:03.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:42:03.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:42:03.390Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:42:03.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T07:42:03.801Z] $ docker top 93c0bac0e9051332731ca81f2050e8ea7213cae3048a5149bd3b4cbe52176657 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T07:42:03.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T07:42:03.888Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T07:42:04.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T07:42:04.017Z] $ docker exec 93c0bac0e9051332731ca81f2050e8ea7213cae3048a5149bd3b4cbe52176657 ssh-agent [2022-06-06T07:42:04.114Z] SSH_AUTH_SOCK=/tmp/ssh-3MEry57FP7uj/agent.32 [2022-06-06T07:42:04.114Z] SSH_AGENT_PID=38 [2022-06-06T07:42:04.120Z] Running ssh-add (command line suppressed) [2022-06-06T07:42:04.240Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5601057626941975079.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5601057626941975079.key) [2022-06-06T07:42:04.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T07:42:04.537Z] + git semver bump pre [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,734 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,734 [bump_version] DEBUG bumping version:0.0.1-dev.7 on axis:pre with prefix:dev [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,735 [bump_version] DEBUG bumped version:0.0.1-dev.8 [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,735 [write_version] DEBUG write version:0.0.1-dev.8 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,735 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,735 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,736 [execute] INFO git cat-file --batch-check [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,737 [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-06T07:42:04.798Z] 2022-06-06 07:42:04,741 [execute] INFO git cat-file --batch [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-06T07:42:04.798Z] 2022-06-06 07:42:04,745 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:42:04.798Z] 0.0.1-dev.8 [Pipeline] } [2022-06-06T07:42:04.818Z] $ docker exec --env ******** --env ******** 93c0bac0e9051332731ca81f2050e8ea7213cae3048a5149bd3b4cbe52176657 ssh-agent -k [2022-06-06T07:42:04.931Z] unset SSH_AUTH_SOCK; [2022-06-06T07:42:04.931Z] unset SSH_AGENT_PID; [2022-06-06T07:42:04.932Z] echo Agent pid 38 killed; [2022-06-06T07:42:04.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T07:42:05.238Z] + git semver [Pipeline] } [2022-06-06T07:42:05.522Z] $ docker stop --time=1 93c0bac0e9051332731ca81f2050e8ea7213cae3048a5149bd3b4cbe52176657 [2022-06-06T07:42:06.826Z] $ docker rm -f 93c0bac0e9051332731ca81f2050e8ea7213cae3048a5149bd3b4cbe52176657 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T07:42:07.177Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T07:42:07.178Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:42:07.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T07:42:07.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:42:07.566Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:42:07.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T07:42:07.992Z] $ docker top 90c0c31209ec50d0f5037c2fe50e7fc4dd1c30ab941fea47e4d4f69687daf8b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T07:42:08.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T07:42:08.074Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T07:42:08.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T07:42:08.210Z] $ docker exec 90c0c31209ec50d0f5037c2fe50e7fc4dd1c30ab941fea47e4d4f69687daf8b4 ssh-agent [2022-06-06T07:42:08.326Z] SSH_AUTH_SOCK=/tmp/ssh-yQ2hDuV6MJVB/agent.32 [2022-06-06T07:42:08.326Z] SSH_AGENT_PID=38 [2022-06-06T07:42:08.331Z] Running ssh-add (command line suppressed) [2022-06-06T07:42:08.444Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1870496273449771356.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1870496273449771356.key) [2022-06-06T07:42:08.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T07:42:08.742Z] + git semver push [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,921 [run_push] DEBUG push [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,921 [execute] INFO git cat-file --batch-check [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,921 [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-06T07:42:09.002Z] 2022-06-06 07:42:08,925 [execute] INFO git rev-list f58ad4665fbaef8bee0e3a093d4b78057cea45b0 -- [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,925 [execute] DEBUG Popen(['git', 'rev-list', 'f58ad4665fbaef8bee0e3a093d4b78057cea45b0', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,930 [execute] INFO git fetch -v origin [2022-06-06T07:42:09.002Z] 2022-06-06 07:42:08,930 [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-06T07:42:09.575Z] 2022-06-06 07:42:09,461 [run_push] DEBUG no remote changes detected [2022-06-06T07:42:09.575Z] 2022-06-06 07:42:09,461 [execute] INFO git push origin semver [2022-06-06T07:42:09.575Z] 2022-06-06 07:42:09,462 [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-06T07:42:10.145Z] 2022-06-06 07:42:10,113 [run_push] DEBUG push all version tags [2022-06-06T07:42:10.145Z] 2022-06-06 07:42:10,113 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-06T07:42:10.145Z] 2022-06-06 07:42:10,114 [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-06T07:42:11.087Z] 2022-06-06 07:42:10,742 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-06T07:42:11.087Z] 0.0.1-dev.8 [Pipeline] } [2022-06-06T07:42:11.108Z] $ docker exec --env ******** --env ******** 90c0c31209ec50d0f5037c2fe50e7fc4dd1c30ab941fea47e4d4f69687daf8b4 ssh-agent -k [2022-06-06T07:42:11.232Z] unset SSH_AUTH_SOCK; [2022-06-06T07:42:11.232Z] unset SSH_AGENT_PID; [2022-06-06T07:42:11.232Z] echo Agent pid 38 killed; [2022-06-06T07:42:11.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T07:42:11.547Z] + git semver [Pipeline] } [2022-06-06T07:42:11.848Z] $ docker stop --time=1 90c0c31209ec50d0f5037c2fe50e7fc4dd1c30ab941fea47e4d4f69687daf8b4 [2022-06-06T07:42:13.144Z] $ docker rm -f 90c0c31209ec50d0f5037c2fe50e7fc4dd1c30ab941fea47e4d4f69687daf8b4 [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-06T07:42:13.793Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-06T07:42:13.793Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-06T07:42:13.793Z] total 16 [2022-06-06T07:42:13.793Z] drwxr-xr-x 3 root root 4096 Jun 6 07:33 . [2022-06-06T07:42:13.793Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 07:41 .. [2022-06-06T07:42:13.793Z] drwxr-xr-x 2 root root 4096 Jun 6 07:33 cost [2022-06-06T07:42:13.793Z] -rw-r--r-- 1 root root 88 Jun 6 07:33 cost.csv [2022-06-06T07:42:13.793Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-06T07:42:13.793Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-06T07:42:13.793Z] total 16 [2022-06-06T07:42:13.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 07:33 . [2022-06-06T07:42:13.793Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 07:41 .. [2022-06-06T07:42:13.793Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 07:33 cost [2022-06-06T07:42:13.793Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 6 07:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:14.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:14.940Z] ---> package-listing.sh [2022-06-06T07:42:14.940Z] ++ facter osfamily [2022-06-06T07:42:14.940Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-06T07:42:15.200Z] + OS_FAMILY=debian [2022-06-06T07:42:15.200Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-06T07:42:15.200Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-06T07:42:15.200Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-06T07:42:15.200Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-06T07:42:15.200Z] + PACKAGES=/tmp/packages_start.txt [2022-06-06T07:42:15.200Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-06T07:42:15.200Z] + PACKAGES=/tmp/packages_end.txt [2022-06-06T07:42:15.200Z] + case "${OS_FAMILY}" in [2022-06-06T07:42:15.200Z] + dpkg -l [2022-06-06T07:42:15.200Z] + grep '^ii' [2022-06-06T07:42:15.200Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-06T07:42:15.200Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-06T07:42:15.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-06T07:42:15.200Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-06T07:42:15.200Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-06T07:42:15.200Z] + 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-06T07:42:15.213Z] 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-06T07:42:15.491Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T07:42:16.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T07:42:16.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T07:42:16.141Z] prd-ubuntu20.04-docker-8c-8g-1122 does not seem to be running inside a container [2022-06-06T07:42:16.181Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-06T07:42:16.436Z] $ docker top 33bcb47e0b74091274eb503e4e67905209befba5ee4d0cc094abf4b3cb88d8c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T07:42:16.783Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-06T07:42:17.071Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-06T07:42:17.359Z] + ls /var/log/sa-host [2022-06-06T07:42:17.359Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T07:42:17.482Z] provisioning config files... [2022-06-06T07:42:17.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8588433930633538191tmp [Pipeline] { [Pipeline] echo [2022-06-06T07:42:17.502Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:17.787Z] ---> create-netrc.sh [Pipeline] } [2022-06-06T07:42:17.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:18.130Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-06T07:42:18.141Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:18.427Z] ---> sudo-logs.sh [2022-06-06T07:42:18.427Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-06T07:42:18.454Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:18.738Z] ---> job-cost.sh [2022-06-06T07:42:18.738Z] lf-activate-venv: SKIPPING [2022-06-06T07:42:18.738Z] DEBUG: total: 0.2199999988079071 [2022-06-06T07:42:18.738Z] INFO: Retrieving Stack Cost... [2022-06-06T07:42:18.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T07:42:19.569Z] INFO: Archiving Costs [Pipeline] echo [2022-06-06T07:42:19.580Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T07:42:19.868Z] ---> logs-deploy.sh [2022-06-06T07:42:19.868Z] lf-activate-venv: SKIPPING [2022-06-06T07:42:19.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/9 [2022-06-06T07:42:19.868Z] INFO: archiving workspace using pattern(s): [2022-06-06T07:42:20.809Z] Archives upload complete. [2022-06-06T07:42:20.809Z] INFO: archiving logs to Nexus