Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 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-ssh16575928005256596871.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4623409388275753943.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17810261222382148773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8007100288211125374.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-ssh3851145920053767168.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-2544 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 Commit message: "Merge pull request #84 from edgexfoundry/ajcasagrande-patch-1" > git rev-list --no-walk 78b20017cd6d168da65a59796ad356de40fef842 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T07:37:31.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T07:37:31.171Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T07:37:31.191Z] ========================================================= [2022-06-17T07:37:31.191Z] EdgeX Global Pipelines Version Info [2022-06-17T07:37:31.191Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:37:31.964Z] ------------------- [2022-06-17T07:37:31.964Z] stable info: [2022-06-17T07:37:31.964Z] ------------------- [2022-06-17T07:37:31.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T07:37:31.964Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T07:37:31.964Z] Message: update stable to v1.0.234 [2022-06-17T07:37:32.538Z] ------------------- [2022-06-17T07:37:32.538Z] experimental info: [2022-06-17T07:37:32.538Z] ------------------- [2022-06-17T07:37:32.538Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T07:37:32.538Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T07:37:32.538Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T07:37:32.782Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-17T07:37:32.793Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-17T07:37:32.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T07:37:32.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T07:37:32.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T07:37:32.840Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T07:37:32.853Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T07:37:32.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T07:37:32.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T07:37:32.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T07:37:32.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T07:37:32.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-17T07:37:32.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T07:37:32.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T07:37:32.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T07:37:32.971Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T07:37:32.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T07:37:32.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T07:37:33.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T07:37:33.015Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T07:37:33.028Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T07:37:33.038Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T07:37:33.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T07:37:33.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T07:37:33.076Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T07:37:33.090Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T07:37:33.102Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T07:37:33.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-17T07:37:33.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-17T07:37:33.137Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-17T07:37:33.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] echo [2022-06-17T07:37:33.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad0a6eb [Pipeline] echo [2022-06-17T07:37:33.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T07:37:33.213Z] provisioning config files... [2022-06-17T07:37:33.228Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8877028193630215054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:37:33.532Z] ---> docker-login.sh [2022-06-17T07:37:33.533Z] nexus3.edgexfoundry.org:10001 [2022-06-17T07:37:33.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:33.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:33.795Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:33.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:33.795Z] [2022-06-17T07:37:33.795Z] Login Succeeded [2022-06-17T07:37:33.795Z] nexus3.edgexfoundry.org:10002 [2022-06-17T07:37:34.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:34.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:34.056Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:34.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:34.056Z] [2022-06-17T07:37:34.056Z] Login Succeeded [2022-06-17T07:37:34.056Z] nexus3.edgexfoundry.org:10003 [2022-06-17T07:37:34.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:34.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:34.318Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:34.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:34.318Z] [2022-06-17T07:37:34.318Z] Login Succeeded [2022-06-17T07:37:34.318Z] nexus3.edgexfoundry.org:10004 [2022-06-17T07:37:34.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:34.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:34.318Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:34.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:34.318Z] [2022-06-17T07:37:34.318Z] Login Succeeded [2022-06-17T07:37:34.318Z] docker.io [2022-06-17T07:37:34.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:34.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:34.841Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:34.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:34.841Z] [2022-06-17T07:37:34.841Z] Login Succeeded [2022-06-17T07:37:34.841Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T07:37:34.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T07:37:35.221Z] + git rev-list -1 --merges ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52~1..ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] echo [2022-06-17T07:37:35.258Z] -----------> git rev-list -1 --merges ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52~1..ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:37:35.258Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [false] [Pipeline] sh [2022-06-17T07:37:35.552Z] + git log --format=format:%s -1 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] echo [2022-06-17T07:37:35.569Z] ========================================================= [2022-06-17T07:37:35.569Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T07:37:35.569Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T07:37:35.916Z] + git log --format=format:%s -1 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] echo [2022-06-17T07:37:35.931Z] [semverPrep] GIT_COMMIT: ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52, Commit Message: Merge pull request #84 from edgexfoundry/ajcasagrande-patch-1 [Pipeline] echo [2022-06-17T07:37:35.940Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T07:37:36.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T07:37:36.305Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T07:37:36.305Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T07:37:36.305Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T07:37:36.305Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T07:37:36.305Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T07:37:36.305Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:37:36.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:37:36.722Z] [2022-06-17T07:37:36.723Z] 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-17T07:37:37.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:37:37.027Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T07:37:37.027Z] 42c077c10790: Pulling fs layer [2022-06-17T07:37:37.027Z] f63e77b7563a: Pulling fs layer [2022-06-17T07:37:37.027Z] bd5fdadae976: Pulling fs layer [2022-06-17T07:37:37.027Z] 205491f53016: Pulling fs layer [2022-06-17T07:37:37.027Z] df18705c85c3: Pulling fs layer [2022-06-17T07:37:37.027Z] bdb3f477010e: Pulling fs layer [2022-06-17T07:37:37.027Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T07:37:37.027Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T07:37:37.027Z] bdb8f0575790: Pulling fs layer [2022-06-17T07:37:37.027Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T07:37:37.027Z] 2343380bae48: Pulling fs layer [2022-06-17T07:37:37.027Z] 205491f53016: Waiting [2022-06-17T07:37:37.027Z] bdb3f477010e: Waiting [2022-06-17T07:37:37.027Z] bdb8f0575790: Waiting [2022-06-17T07:37:37.027Z] df18705c85c3: Waiting [2022-06-17T07:37:37.027Z] 386e3cb2ff24: Waiting [2022-06-17T07:37:37.027Z] c8a8fc8e1c8f: Waiting [2022-06-17T07:37:37.027Z] 2c6e9b1d212d: Waiting [2022-06-17T07:37:37.027Z] 2343380bae48: Waiting [2022-06-17T07:37:37.027Z] f63e77b7563a: Verifying Checksum [2022-06-17T07:37:37.027Z] f63e77b7563a: Download complete [2022-06-17T07:37:37.027Z] 205491f53016: Download complete [2022-06-17T07:37:37.288Z] bd5fdadae976: Verifying Checksum [2022-06-17T07:37:37.288Z] bd5fdadae976: Download complete [2022-06-17T07:37:37.288Z] df18705c85c3: Verifying Checksum [2022-06-17T07:37:37.288Z] df18705c85c3: Download complete [2022-06-17T07:37:37.288Z] bdb3f477010e: Download complete [2022-06-17T07:37:37.288Z] 2c6e9b1d212d: Download complete [2022-06-17T07:37:37.288Z] bdb8f0575790: Download complete [2022-06-17T07:37:37.288Z] 386e3cb2ff24: Download complete [2022-06-17T07:37:37.288Z] 2343380bae48: Verifying Checksum [2022-06-17T07:37:37.288Z] 2343380bae48: Download complete [2022-06-17T07:37:37.288Z] 42c077c10790: Verifying Checksum [2022-06-17T07:37:37.288Z] 42c077c10790: Download complete [2022-06-17T07:37:37.548Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T07:37:37.548Z] c8a8fc8e1c8f: Download complete [2022-06-17T07:37:38.929Z] 42c077c10790: Pull complete [2022-06-17T07:37:38.929Z] f63e77b7563a: Pull complete [2022-06-17T07:37:39.497Z] bd5fdadae976: Pull complete [2022-06-17T07:37:39.497Z] 205491f53016: Pull complete [2022-06-17T07:37:39.759Z] df18705c85c3: Pull complete [2022-06-17T07:37:40.018Z] bdb3f477010e: Pull complete [2022-06-17T07:37:41.932Z] c8a8fc8e1c8f: Pull complete [2022-06-17T07:37:41.932Z] 2c6e9b1d212d: Pull complete [2022-06-17T07:37:42.193Z] bdb8f0575790: Pull complete [2022-06-17T07:37:42.193Z] 386e3cb2ff24: Pull complete [2022-06-17T07:37:42.193Z] 2343380bae48: Pull complete [2022-06-17T07:37:42.193Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T07:37:42.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:37:42.193Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:37:42.305Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:37:42.349Z] $ 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-17T07:37:43.705Z] $ docker top c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T07:37:43.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T07:37:43.814Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T07:37:43.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T07:37:43.955Z] $ docker exec c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc ssh-agent [2022-06-17T07:37:44.079Z] SSH_AUTH_SOCK=/tmp/ssh-0agRjtSzggWV/agent.33 [2022-06-17T07:37:44.079Z] SSH_AGENT_PID=39 [2022-06-17T07:37:44.087Z] Running ssh-add (command line suppressed) [2022-06-17T07:37:44.210Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5327768892086842957.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5327768892086842957.key) [2022-06-17T07:37:44.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T07:37:44.516Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T07:37:44.541Z] $ docker exec --env ******** --env ******** c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc ssh-agent -k [2022-06-17T07:37:44.655Z] unset SSH_AUTH_SOCK; [2022-06-17T07:37:44.655Z] unset SSH_AGENT_PID; [2022-06-17T07:37:44.656Z] echo Agent pid 39 killed; [2022-06-17T07:37:44.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T07:37:44.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T07:37:44.690Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T07:37:44.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T07:37:44.860Z] $ docker exec c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc ssh-agent [2022-06-17T07:37:44.995Z] SSH_AUTH_SOCK=/tmp/ssh-Za5UJJpyiNt5/agent.72 [2022-06-17T07:37:44.995Z] SSH_AGENT_PID=79 [2022-06-17T07:37:45.000Z] Running ssh-add (command line suppressed) [2022-06-17T07:37:45.135Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5857662885848768634.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5857662885848768634.key) [2022-06-17T07:37:45.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T07:37:45.441Z] + git semver init [2022-06-17T07:37:45.701Z] 2022-06-17 07:37:45,693 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T07:37:45.701Z] 2022-06-17 07:37:45,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-17T07:37:45.701Z] 2022-06-17 07:37:45,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-17T07:37:45.701Z] 2022-06-17 07:37:45,694 [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-17T07:37:46.645Z] 2022-06-17 07:37:46,394 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-17T07:37:46.646Z] 2022-06-17 07:37:46,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-17T07:37:46.646Z] 2022-06-17 07:37:46,395 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:37:46.646Z] 2022-06-17 07:37:46,395 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:37:46.646Z] 0.0.1-dev.12 [Pipeline] } [2022-06-17T07:37:46.661Z] $ docker exec --env ******** --env ******** c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc ssh-agent -k [2022-06-17T07:37:46.782Z] unset SSH_AUTH_SOCK; [2022-06-17T07:37:46.782Z] unset SSH_AGENT_PID; [2022-06-17T07:37:46.782Z] echo Agent pid 79 killed; [2022-06-17T07:37:46.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T07:37:47.097Z] + git semver [Pipeline] } [2022-06-17T07:37:47.380Z] $ docker stop --time=1 c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc [2022-06-17T07:37:48.727Z] $ docker rm -f c1e44b8c5028e02b23018580d696945367541fe1dbdbb0bcef742f6a19e828fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T07:37:49.090Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T07:37:49.348Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T07:37:49.351Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.12 [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-17T07:37:49.478Z] provisioning config files... [2022-06-17T07:37:49.488Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8160736599948001071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:37:49.790Z] ---> docker-login.sh [2022-06-17T07:37:49.790Z] nexus3.edgexfoundry.org:10001 [2022-06-17T07:37:49.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:49.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:49.790Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:49.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:49.790Z] [2022-06-17T07:37:49.790Z] Login Succeeded [2022-06-17T07:37:49.790Z] nexus3.edgexfoundry.org:10002 [2022-06-17T07:37:49.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:50.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:50.050Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:50.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:50.050Z] [2022-06-17T07:37:50.050Z] Login Succeeded [2022-06-17T07:37:50.050Z] nexus3.edgexfoundry.org:10003 [2022-06-17T07:37:50.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:50.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:50.050Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:50.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:50.050Z] [2022-06-17T07:37:50.050Z] Login Succeeded [2022-06-17T07:37:50.050Z] nexus3.edgexfoundry.org:10004 [2022-06-17T07:37:50.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:50.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:50.311Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:50.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:50.311Z] [2022-06-17T07:37:50.311Z] Login Succeeded [2022-06-17T07:37:50.311Z] docker.io [2022-06-17T07:37:50.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:37:50.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:37:50.572Z] Configure a credential helper to remove this warning. See [2022-06-17T07:37:50.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:37:50.572Z] [2022-06-17T07:37:50.572Z] Login Succeeded [2022-06-17T07:37:50.572Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T07:37:50.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T07:37:50.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:37:50.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:37:50.668Z] ========================================================= [2022-06-17T07:37:50.668Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T07:37:50.668Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:37:50.999Z] + 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-17T07:37:50.999Z] Sending build context to Docker daemon 8.736MB [2022-06-17T07:37:50.999Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T07:37:50.999Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T07:37:50.999Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T07:37:50.999Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T07:37:50.999Z] 666ba61612fd: Pulling fs layer [2022-06-17T07:37:50.999Z] 8ed8ca486205: Pulling fs layer [2022-06-17T07:37:50.999Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T07:37:50.999Z] c516ae0d96e1: Pulling fs layer [2022-06-17T07:37:50.999Z] 684cea983483: Pulling fs layer [2022-06-17T07:37:50.999Z] dd3240ac7de5: Pulling fs layer [2022-06-17T07:37:50.999Z] b1e948a4e11c: Pulling fs layer [2022-06-17T07:37:50.999Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T07:37:50.999Z] 646ad004c059: Pulling fs layer [2022-06-17T07:37:50.999Z] dd3240ac7de5: Waiting [2022-06-17T07:37:50.999Z] 646ad004c059: Waiting [2022-06-17T07:37:50.999Z] a8fd76ee1af6: Waiting [2022-06-17T07:37:50.999Z] b1e948a4e11c: Waiting [2022-06-17T07:37:50.999Z] cc1cd167ecdc: Waiting [2022-06-17T07:37:50.999Z] c516ae0d96e1: Waiting [2022-06-17T07:37:50.999Z] 684cea983483: Waiting [2022-06-17T07:37:50.999Z] 8ed8ca486205: Verifying Checksum [2022-06-17T07:37:50.999Z] 8ed8ca486205: Download complete [2022-06-17T07:37:51.262Z] 666ba61612fd: Verifying Checksum [2022-06-17T07:37:51.262Z] 666ba61612fd: Download complete [2022-06-17T07:37:51.262Z] c516ae0d96e1: Verifying Checksum [2022-06-17T07:37:51.262Z] c516ae0d96e1: Download complete [2022-06-17T07:37:51.262Z] 684cea983483: Verifying Checksum [2022-06-17T07:37:51.262Z] 684cea983483: Download complete [2022-06-17T07:37:51.262Z] dd3240ac7de5: Verifying Checksum [2022-06-17T07:37:51.262Z] dd3240ac7de5: Download complete [2022-06-17T07:37:51.262Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T07:37:51.262Z] 59bf1c3509f3: Download complete [2022-06-17T07:37:51.262Z] b1e948a4e11c: Verifying Checksum [2022-06-17T07:37:51.262Z] b1e948a4e11c: Download complete [2022-06-17T07:37:51.262Z] 59bf1c3509f3: Pull complete [2022-06-17T07:37:51.530Z] 666ba61612fd: Pull complete [2022-06-17T07:37:51.530Z] 8ed8ca486205: Pull complete [2022-06-17T07:37:52.126Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T07:37:52.126Z] cc1cd167ecdc: Download complete [2022-06-17T07:37:52.126Z] 646ad004c059: Verifying Checksum [2022-06-17T07:37:52.126Z] 646ad004c059: Download complete [2022-06-17T07:37:52.126Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T07:37:52.126Z] a8fd76ee1af6: Download complete [2022-06-17T07:37:56.336Z] cc1cd167ecdc: Pull complete [2022-06-17T07:37:56.336Z] c516ae0d96e1: Pull complete [2022-06-17T07:37:56.336Z] 684cea983483: Pull complete [2022-06-17T07:37:56.336Z] dd3240ac7de5: Pull complete [2022-06-17T07:37:56.336Z] b1e948a4e11c: Pull complete [2022-06-17T07:37:58.872Z] a8fd76ee1af6: Pull complete [2022-06-17T07:37:59.440Z] 646ad004c059: Pull complete [2022-06-17T07:37:59.440Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T07:37:59.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T07:37:59.440Z] ---> 8f69c11f6b0c [2022-06-17T07:37:59.440Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T07:38:00.828Z] ---> Running in 8fa68c602f00 [2022-06-17T07:38:00.828Z] Removing intermediate container 8fa68c602f00 [2022-06-17T07:38:00.828Z] ---> 95c7f38327bb [2022-06-17T07:38:00.828Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T07:38:00.828Z] ---> Running in a661cb02154a [2022-06-17T07:38:01.088Z] Removing intermediate container a661cb02154a [2022-06-17T07:38:01.088Z] ---> 25fb65f302d5 [2022-06-17T07:38:01.088Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T07:38:01.088Z] ---> Running in d4ea07c680dd [2022-06-17T07:38:01.088Z] Removing intermediate container d4ea07c680dd [2022-06-17T07:38:01.088Z] ---> 7c48de03552a [2022-06-17T07:38:01.088Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T07:38:01.088Z] ---> Running in 1ade98f91e31 [2022-06-17T07:38:01.348Z] Removing intermediate container 1ade98f91e31 [2022-06-17T07:38:01.348Z] ---> bf88ba0a4b92 [2022-06-17T07:38:01.348Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T07:38:01.348Z] ---> Running in 4e7f60fbe13b [2022-06-17T07:38:01.920Z] Removing intermediate container 4e7f60fbe13b [2022-06-17T07:38:01.920Z] ---> 60079d223d99 [2022-06-17T07:38:01.920Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T07:38:01.920Z] ---> Running in f1edec9cbf4d [2022-06-17T07:38:02.181Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T07:38:03.124Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T07:38:03.388Z] OK: 221 MiB in 52 packages [2022-06-17T07:38:03.970Z] Removing intermediate container f1edec9cbf4d [2022-06-17T07:38:03.970Z] ---> 04d2bac8e386 [2022-06-17T07:38:03.970Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T07:38:03.970Z] ---> Running in 99f94a94b73d [2022-06-17T07:38:03.970Z] Removing intermediate container 99f94a94b73d [2022-06-17T07:38:03.970Z] ---> 0d95c994ecbe [2022-06-17T07:38:03.970Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T07:38:04.232Z] ---> c5d9d2e78833 [2022-06-17T07:38:04.232Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T07:38:04.232Z] ---> Running in aa702fb1fbef [2022-06-17T07:38:04.449Z] Still waiting to schedule task [2022-06-17T07:38:04.449Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T07:38:22.560Z] Removing intermediate container aa702fb1fbef [2022-06-17T07:38:22.560Z] ---> cb4ec2d4c1a4 [2022-06-17T07:38:22.560Z] Step 12/13 : COPY . . [2022-06-17T07:38:22.560Z] ---> 9e97c84a98b5 [2022-06-17T07:38:22.560Z] Step 13/13 : RUN ${MAKE} [2022-06-17T07:38:22.560Z] ---> Running in d0502f4911ad [2022-06-17T07:38:22.560Z] noop [2022-06-17T07:38:22.560Z] Removing intermediate container d0502f4911ad [2022-06-17T07:38:22.560Z] ---> d72e8b117e51 [2022-06-17T07:38:22.560Z] Successfully built d72e8b117e51 [2022-06-17T07:38:22.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:38:22.875Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T07:38:22.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:38:22.961Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:38:23.000Z] $ 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-17T07:38:23.371Z] $ docker top 34307026b207a74b584c45dea2e785ae63cdc8e896eb2343b1536a75e867fc49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T07:38:23.730Z] + go version [2022-06-17T07:38:23.731Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T07:38:23.746Z] $ docker stop --time=1 34307026b207a74b584c45dea2e785ae63cdc8e896eb2343b1536a75e867fc49 [2022-06-17T07:38:25.063Z] $ docker rm -f 34307026b207a74b584c45dea2e785ae63cdc8e896eb2343b1536a75e867fc49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:38:25.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T07:38:25.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:38:25.583Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:38:25.653Z] $ 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-17T07:38:26.038Z] $ docker top 31062cce5f3a2e55bd8fa3dcc234134539f2832e4cde27b4cf03ce47e104bc41 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T07:38:26.431Z] + make test [2022-06-17T07:38:26.431Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T07:38:26.690Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T07:38:36.691Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T07:38:36.691Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-17T07:38:40.905Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.635s coverage: 13.8% of statements [2022-06-17T07:38:47.485Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T07:38:52.769Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T07:38:52.769Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T07:38:52.769Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T07:38:52.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T07:38:52.801Z] $ docker stop --time=1 31062cce5f3a2e55bd8fa3dcc234134539f2832e4cde27b4cf03ce47e104bc41 [2022-06-17T07:38:54.556Z] $ docker rm -f 31062cce5f3a2e55bd8fa3dcc234134539f2832e4cde27b4cf03ce47e104bc41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T07:38:55.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T07:38:55.075Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T07:38:55.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T07:38:55.877Z] + ls -al . [2022-06-17T07:38:55.877Z] total 236 [2022-06-17T07:38:55.877Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 07:38 . [2022-06-17T07:38:55.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:37 .. [2022-06-17T07:38:55.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 07:37 .git [2022-06-17T07:38:55.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 07:37 .github [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 07:37 .gitignore [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 07:37 .golangci.yml [2022-06-17T07:38:55.877Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 07:37 .semver [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 07:37 Attribution.txt [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 07:37 CHANGELOG.md [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 07:37 Dockerfile [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 07:37 GOVERNANCE.md [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 07:37 Jenkinsfile [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 07:37 LICENSE [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 07:37 Makefile [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 07:37 OWNERS.md [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 07:37 README.md [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 07:37 VERSION [2022-06-17T07:38:55.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 07:37 bin [2022-06-17T07:38:55.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 07:37 cmd [2022-06-17T07:38:55.877Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 07:38 coverage.out [2022-06-17T07:38:55.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:37 doc [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 07:37 go.mod [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 07:37 go.sum [2022-06-17T07:38:55.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:37 internal [2022-06-17T07:38:55.877Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:38:56.182Z] + 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=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 --label arch=amd64 --label version=0.0.1-dev.12 . [2022-06-17T07:38:56.182Z] Sending build context to Docker daemon 8.797MB [2022-06-17T07:38:56.182Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T07:38:56.182Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T07:38:56.182Z] ---> d72e8b117e51 [2022-06-17T07:38:56.182Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T07:38:56.182Z] ---> Running in 0d84f47760d4 [2022-06-17T07:38:56.454Z] Removing intermediate container 0d84f47760d4 [2022-06-17T07:38:56.454Z] ---> fc34c10a9b2b [2022-06-17T07:38:56.454Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T07:38:56.454Z] ---> Running in 9220914befb9 [2022-06-17T07:38:56.454Z] Removing intermediate container 9220914befb9 [2022-06-17T07:38:56.454Z] ---> 746ee24b972e [2022-06-17T07:38:56.454Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T07:38:56.454Z] ---> Running in 6cbfe4dc061b [2022-06-17T07:38:56.713Z] Removing intermediate container 6cbfe4dc061b [2022-06-17T07:38:56.713Z] ---> 105cb28ca887 [2022-06-17T07:38:56.713Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T07:38:56.713Z] ---> Running in e5b3a705945c [2022-06-17T07:38:56.713Z] Removing intermediate container e5b3a705945c [2022-06-17T07:38:56.713Z] ---> 9ce50cacd82e [2022-06-17T07:38:56.713Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T07:38:56.713Z] ---> Running in a8a5e4f1eaf4 [2022-06-17T07:38:57.282Z] Removing intermediate container a8a5e4f1eaf4 [2022-06-17T07:38:57.282Z] ---> 8e7086f5e5bd [2022-06-17T07:38:57.282Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T07:38:57.282Z] ---> Running in 0aced93dac3d [2022-06-17T07:38:57.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T07:38:58.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T07:38:58.997Z] OK: 221 MiB in 52 packages [2022-06-17T07:38:59.256Z] Removing intermediate container 0aced93dac3d [2022-06-17T07:38:59.256Z] ---> e04ee6650cf6 [2022-06-17T07:38:59.256Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T07:38:59.256Z] ---> Running in 552bd6220f84 [2022-06-17T07:38:59.256Z] Removing intermediate container 552bd6220f84 [2022-06-17T07:38:59.256Z] ---> 052d32c29e71 [2022-06-17T07:38:59.256Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T07:38:59.516Z] ---> 6b89177cc28d [2022-06-17T07:38:59.516Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T07:38:59.516Z] ---> Running in 79809dd914eb [2022-06-17T07:39:00.487Z] Removing intermediate container 79809dd914eb [2022-06-17T07:39:00.487Z] ---> 46496d8d776b [2022-06-17T07:39:00.487Z] Step 12/26 : COPY . . [2022-06-17T07:39:00.750Z] ---> 559b68c4ad16 [2022-06-17T07:39:00.750Z] Step 13/26 : RUN ${MAKE} [2022-06-17T07:39:00.750Z] ---> Running in 13b99a37ea6d [2022-06-17T07:39:01.011Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.12 -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-17T07:39:22.970Z] Removing intermediate container 13b99a37ea6d [2022-06-17T07:39:22.970Z] ---> 50152449fd34 [2022-06-17T07:39:22.970Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T07:39:22.970Z] 3.15: Pulling from library/alpine [2022-06-17T07:39:22.970Z] df9b9388f04a: Pulling fs layer [2022-06-17T07:39:22.970Z] df9b9388f04a: Verifying Checksum [2022-06-17T07:39:22.970Z] df9b9388f04a: Download complete [2022-06-17T07:39:22.970Z] df9b9388f04a: Pull complete [2022-06-17T07:39:22.971Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T07:39:22.971Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T07:39:22.971Z] ---> 0ac33e5f5afa [2022-06-17T07:39:22.971Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T07:39:22.971Z] ---> Running in b480e630c5a0 [2022-06-17T07:39:23.231Z] Removing intermediate container b480e630c5a0 [2022-06-17T07:39:23.231Z] ---> 26984fbc35ea [2022-06-17T07:39:23.231Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T07:39:23.231Z] ---> Running in 7c9856c7421f [2022-06-17T07:39:23.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T07:39:23.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T07:39:23.751Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T07:39:23.751Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T07:39:23.751Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T07:39:23.751Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T07:39:23.751Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T07:39:23.751Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T07:39:23.751Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T07:39:23.751Z] OK: 8 MiB in 20 packages [2022-06-17T07:39:24.324Z] Removing intermediate container 7c9856c7421f [2022-06-17T07:39:24.324Z] ---> d1925177e942 [2022-06-17T07:39:24.324Z] Step 17/26 : WORKDIR / [2022-06-17T07:39:24.324Z] ---> Running in 4b6d20a481e4 [2022-06-17T07:39:24.324Z] Removing intermediate container 4b6d20a481e4 [2022-06-17T07:39:24.324Z] ---> 06180fdb2086 [2022-06-17T07:39:24.324Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T07:39:24.896Z] ---> 061d69b0df6b [2022-06-17T07:39:24.897Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T07:39:25.161Z] ---> 205d76934b73 [2022-06-17T07:39:25.161Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T07:39:25.423Z] ---> 065935805cc6 [2022-06-17T07:39:25.423Z] Step 21/26 : EXPOSE 59984 [2022-06-17T07:39:25.423Z] ---> Running in 60183d17b916 [2022-06-17T07:39:25.423Z] Removing intermediate container 60183d17b916 [2022-06-17T07:39:25.423Z] ---> bd53eccc04ce [2022-06-17T07:39:25.423Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T07:39:25.423Z] ---> Running in 9b441f0379d8 [2022-06-17T07:39:25.686Z] Removing intermediate container 9b441f0379d8 [2022-06-17T07:39:25.686Z] ---> fa731ac45eaf [2022-06-17T07:39:25.686Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T07:39:25.686Z] ---> Running in 8908952506a5 [2022-06-17T07:39:25.686Z] Removing intermediate container 8908952506a5 [2022-06-17T07:39:25.686Z] ---> 1ff0cd28dd8a [2022-06-17T07:39:25.686Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T07:39:25.686Z] ---> Running in dad5c2fc22e3 [2022-06-17T07:39:25.686Z] Removing intermediate container dad5c2fc22e3 [2022-06-17T07:39:25.686Z] ---> 38083e43ea4c [2022-06-17T07:39:25.686Z] Step 25/26 : LABEL git_sha=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:39:25.946Z] ---> Running in 2ff085c77754 [2022-06-17T07:39:25.946Z] Removing intermediate container 2ff085c77754 [2022-06-17T07:39:25.946Z] ---> 6b3d19eab0eb [2022-06-17T07:39:25.946Z] Step 26/26 : LABEL version=0.0.1-dev.12 [2022-06-17T07:39:25.946Z] ---> Running in b01becdbc899 [2022-06-17T07:39:25.946Z] Removing intermediate container b01becdbc899 [2022-06-17T07:39:25.946Z] ---> 0ba71f93e35f [2022-06-17T07:39:25.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T07:39:25.946Z] Successfully built 0ba71f93e35f [2022-06-17T07:39:25.946Z] 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-17T07:39:26.047Z] provisioning config files... [2022-06-17T07:39:26.056Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8380173107362617616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:39:26.360Z] ---> docker-login.sh [2022-06-17T07:39:26.360Z] nexus3.edgexfoundry.org:10001 [2022-06-17T07:39:26.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:39:26.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:39:26.361Z] Configure a credential helper to remove this warning. See [2022-06-17T07:39:26.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:39:26.361Z] [2022-06-17T07:39:26.361Z] Login Succeeded [2022-06-17T07:39:26.361Z] nexus3.edgexfoundry.org:10002 [2022-06-17T07:39:26.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:39:26.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:39:26.620Z] Configure a credential helper to remove this warning. See [2022-06-17T07:39:26.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:39:26.620Z] [2022-06-17T07:39:26.620Z] Login Succeeded [2022-06-17T07:39:26.620Z] nexus3.edgexfoundry.org:10003 [2022-06-17T07:39:26.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:39:26.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:39:26.620Z] Configure a credential helper to remove this warning. See [2022-06-17T07:39:26.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:39:26.620Z] [2022-06-17T07:39:26.620Z] Login Succeeded [2022-06-17T07:39:26.620Z] nexus3.edgexfoundry.org:10004 [2022-06-17T07:39:26.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:39:26.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:39:26.881Z] Configure a credential helper to remove this warning. See [2022-06-17T07:39:26.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:39:26.881Z] [2022-06-17T07:39:26.881Z] Login Succeeded [2022-06-17T07:39:26.881Z] docker.io [2022-06-17T07:39:26.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:39:27.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:39:27.142Z] Configure a credential helper to remove this warning. See [2022-06-17T07:39:27.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:39:27.142Z] [2022-06-17T07:39:27.142Z] Login Succeeded [2022-06-17T07:39:27.142Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T07:39:27.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-17T07:39:27.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:39:27.212Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-17T07:39:27.212Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:39:27.212Z] latest [2022-06-17T07:39:27.212Z] 0.0.1-dev.12 [2022-06-17T07:39:27.212Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:39:27.212Z] main [2022-06-17T07:39:27.212Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:27.536Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:27.845Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:39:27.845Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-17T07:39:27.845Z] 837153fa7dab: Preparing [2022-06-17T07:39:27.845Z] 408f34b27a37: Preparing [2022-06-17T07:39:27.845Z] e6b30b79103a: Preparing [2022-06-17T07:39:27.845Z] 81b0db4ef3dd: Preparing [2022-06-17T07:39:27.845Z] 4fc242d58285: Preparing [2022-06-17T07:39:27.845Z] 4fc242d58285: Layer already exists [2022-06-17T07:39:27.846Z] 837153fa7dab: Pushed [2022-06-17T07:39:27.846Z] 408f34b27a37: Pushed [2022-06-17T07:39:28.106Z] 81b0db4ef3dd: Pushed [2022-06-17T07:39:31.406Z] e6b30b79103a: Pushed [2022-06-17T07:39:31.406Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52: digest: sha256:649e10f71cf55467f424a05b803da1325ad907dd4bf1efb32f06b6cfd0e931fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:31.724Z] + 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-17T07:39:32.038Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-17T07:39:32.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-17T07:39:32.038Z] 837153fa7dab: Preparing [2022-06-17T07:39:32.038Z] 408f34b27a37: Preparing [2022-06-17T07:39:32.038Z] e6b30b79103a: Preparing [2022-06-17T07:39:32.038Z] 81b0db4ef3dd: Preparing [2022-06-17T07:39:32.038Z] 4fc242d58285: Preparing [2022-06-17T07:39:32.038Z] 837153fa7dab: Layer already exists [2022-06-17T07:39:32.038Z] e6b30b79103a: Layer already exists [2022-06-17T07:39:32.038Z] 81b0db4ef3dd: Layer already exists [2022-06-17T07:39:32.038Z] 4fc242d58285: Layer already exists [2022-06-17T07:39:32.038Z] 408f34b27a37: Layer already exists [2022-06-17T07:39:32.039Z] latest: digest: sha256:649e10f71cf55467f424a05b803da1325ad907dd4bf1efb32f06b6cfd0e931fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:32.355Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:32.669Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.12 [2022-06-17T07:39:32.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-17T07:39:32.669Z] 837153fa7dab: Preparing [2022-06-17T07:39:32.669Z] 408f34b27a37: Preparing [2022-06-17T07:39:32.669Z] e6b30b79103a: Preparing [2022-06-17T07:39:32.669Z] 81b0db4ef3dd: Preparing [2022-06-17T07:39:32.669Z] 4fc242d58285: Preparing [2022-06-17T07:39:32.669Z] 81b0db4ef3dd: Layer already exists [2022-06-17T07:39:32.669Z] 837153fa7dab: Layer already exists [2022-06-17T07:39:32.669Z] 408f34b27a37: Layer already exists [2022-06-17T07:39:32.669Z] e6b30b79103a: Layer already exists [2022-06-17T07:39:32.669Z] 4fc242d58285: Layer already exists [2022-06-17T07:39:32.669Z] 0.0.1-dev.12: digest: sha256:649e10f71cf55467f424a05b803da1325ad907dd4bf1efb32f06b6cfd0e931fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:32.994Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:33.370Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:39:33.371Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-17T07:39:33.371Z] 837153fa7dab: Preparing [2022-06-17T07:39:33.371Z] 408f34b27a37: Preparing [2022-06-17T07:39:33.371Z] e6b30b79103a: Preparing [2022-06-17T07:39:33.371Z] 81b0db4ef3dd: Preparing [2022-06-17T07:39:33.371Z] 4fc242d58285: Preparing [2022-06-17T07:39:33.371Z] e6b30b79103a: Layer already exists [2022-06-17T07:39:33.371Z] 81b0db4ef3dd: Layer already exists [2022-06-17T07:39:33.371Z] 408f34b27a37: Layer already exists [2022-06-17T07:39:33.371Z] 4fc242d58285: Layer already exists [2022-06-17T07:39:33.371Z] 837153fa7dab: Layer already exists [2022-06-17T07:39:33.371Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12: digest: sha256:649e10f71cf55467f424a05b803da1325ad907dd4bf1efb32f06b6cfd0e931fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:33.722Z] + 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-17T07:39:34.050Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-17T07:39:34.050Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-17T07:39:34.050Z] 837153fa7dab: Preparing [2022-06-17T07:39:34.050Z] 408f34b27a37: Preparing [2022-06-17T07:39:34.050Z] e6b30b79103a: Preparing [2022-06-17T07:39:34.050Z] 81b0db4ef3dd: Preparing [2022-06-17T07:39:34.050Z] 4fc242d58285: Preparing [2022-06-17T07:39:34.050Z] 408f34b27a37: Layer already exists [2022-06-17T07:39:34.050Z] e6b30b79103a: Layer already exists [2022-06-17T07:39:34.050Z] 4fc242d58285: Layer already exists [2022-06-17T07:39:34.050Z] 837153fa7dab: Layer already exists [2022-06-17T07:39:34.050Z] 81b0db4ef3dd: Layer already exists [2022-06-17T07:39:34.050Z] main: digest: sha256:649e10f71cf55467f424a05b803da1325ad907dd4bf1efb32f06b6cfd0e931fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-17T07:39:34.105Z] ===================================================== [Pipeline] echo [2022-06-17T07:39:34.117Z] taggedImages: [2022-06-17T07:39:34.117Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:39:34.117Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-17T07:39:34.117Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.12 [2022-06-17T07:39:34.117Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:39:34.117Z] - 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-17T07:39:34.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T07:39:34.498Z] [2022-06-17T07:39:34.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:39:34.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T07:39:34.800Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T07:39:34.800Z] 5eb5b503b376: Pulling fs layer [2022-06-17T07:39:34.800Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T07:39:34.800Z] ec43610c2a17: Pulling fs layer [2022-06-17T07:39:34.800Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T07:39:34.800Z] 33b1e0a273af: Pulling fs layer [2022-06-17T07:39:34.800Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T07:39:34.800Z] 2f39f015ded8: Pulling fs layer [2022-06-17T07:39:34.800Z] 33b1e0a273af: Waiting [2022-06-17T07:39:34.800Z] 5d3b04190fa2: Waiting [2022-06-17T07:39:34.800Z] 2f39f015ded8: Waiting [2022-06-17T07:39:34.800Z] 3a2ae6a8a46f: Waiting [2022-06-17T07:39:34.800Z] 5c69ac0246d0: Download complete [2022-06-17T07:39:34.800Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T07:39:34.800Z] 3a2ae6a8a46f: Download complete [2022-06-17T07:39:34.800Z] 33b1e0a273af: Verifying Checksum [2022-06-17T07:39:34.800Z] 33b1e0a273af: Download complete [2022-06-17T07:39:34.800Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T07:39:34.800Z] 5d3b04190fa2: Download complete [2022-06-17T07:39:35.059Z] ec43610c2a17: Verifying Checksum [2022-06-17T07:39:35.059Z] ec43610c2a17: Download complete [2022-06-17T07:39:35.059Z] 5eb5b503b376: Verifying Checksum [2022-06-17T07:39:35.059Z] 5eb5b503b376: Download complete [2022-06-17T07:39:35.626Z] 2f39f015ded8: Download complete [2022-06-17T07:39:36.565Z] 5eb5b503b376: Pull complete [2022-06-17T07:39:36.565Z] 5c69ac0246d0: Pull complete [2022-06-17T07:39:37.133Z] ec43610c2a17: Pull complete [2022-06-17T07:39:37.133Z] 3a2ae6a8a46f: Pull complete [2022-06-17T07:39:37.391Z] 33b1e0a273af: Pull complete [2022-06-17T07:39:37.391Z] 5d3b04190fa2: Pull complete [2022-06-17T07:39:39.170Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2545 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-17T07:39:39.184Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-06-17T07:39:39.216Z] Selected Git installation does not exist. Using Default [2022-06-17T07:39:39.216Z] The recommended git tool is: NONE [2022-06-17T07:39:42.660Z] 2f39f015ded8: Pull complete [2022-06-17T07:39:42.660Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T07:39:42.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T07:39:42.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:39:42.764Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:39:42.807Z] $ 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-17T07:39:44.435Z] $ docker top 8f0e79b85a33fa3b7dfb6ff686ec6072cd6aea405039b86fe2139b2432a80b13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:39:44.835Z] ---> job-cost.sh [2022-06-17T07:39:44.835Z] lf-activate-venv: SKIPPING [2022-06-17T07:39:44.835Z] INFO: No Stack... [2022-06-17T07:39:45.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T07:39:45.556Z] using credential edgex-jenkins-ssh [2022-06-17T07:39:45.575Z] Cloning the remote Git repository [2022-06-17T07:39:45.666Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T07:39:45.957Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-17T07:39:45.957Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T07:39:45.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [2022-06-17T07:39:45.980Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] did not exist. Created. [2022-06-17T07:39:45.980Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T07:39:46.281Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T07:39:46.313Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T07:39:46.322Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T07:39:46.345Z] $ docker stop --time=1 8f0e79b85a33fa3b7dfb6ff686ec6072cd6aea405039b86fe2139b2432a80b13 [2022-06-17T07:39:45.631Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T07:39:45.703Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-06-17T07:39:45.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T07:39:45.876Z] > git --version # timeout=10 [2022-06-17T07:39:45.897Z] > git --version # 'git version 2.25.1' [2022-06-17T07:39:45.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T07:39:45.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T07:39:46.774Z] Avoid second fetch [2022-06-17T07:39:46.775Z] Checking out Revision ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 (main) [2022-06-17T07:39:47.542Z] $ docker rm -f 8f0e79b85a33fa3b7dfb6ff686ec6072cd6aea405039b86fe2139b2432a80b13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T07:39:46.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T07:39:46.762Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T07:39:46.800Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T07:39:46.816Z] > git checkout -f ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 [2022-06-17T07:39:51.062Z] Commit message: "Merge pull request #84 from edgexfoundry/ajcasagrande-patch-1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T07:39:51.965Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T07:39:51.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T07:39:51.965Z] Dload Upload Total Spent Left Speed [2022-06-17T07:39:51.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66592 0 --:--:-- --:--:-- --:--:-- 66592 [Pipeline] sh [2022-06-17T07:39:52.725Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T07:39:53.069Z] + sudo tee /etc/docker/daemon.new [2022-06-17T07:39:53.069Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T07:39:53.069Z] { [2022-06-17T07:39:53.069Z] "registry-mirrors": [ [2022-06-17T07:39:53.069Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T07:39:53.069Z] ], [2022-06-17T07:39:53.069Z] "bip": "10.250.0.254/24", [2022-06-17T07:39:53.069Z] "hosts": [ [2022-06-17T07:39:53.069Z] "tcp://0.0.0.0:5555", [2022-06-17T07:39:53.069Z] "unix:///var/run/docker.sock" [2022-06-17T07:39:53.069Z] ], [2022-06-17T07:39:53.069Z] "mtu": 1458, [2022-06-17T07:39:53.069Z] "selinux-enabled": true, [2022-06-17T07:39:53.069Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T07:39:53.069Z] } [Pipeline] sh [2022-06-17T07:39:53.430Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T07:39:53.783Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T07:40:12.151Z] provisioning config files... [2022-06-17T07:40:12.177Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config4910974326043465496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:40:12.543Z] ---> docker-login.sh [2022-06-17T07:40:12.543Z] nexus3.edgexfoundry.org:10001 [2022-06-17T07:40:13.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:40:13.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:40:13.419Z] Configure a credential helper to remove this warning. See [2022-06-17T07:40:13.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:40:13.419Z] [2022-06-17T07:40:13.419Z] Login Succeeded [2022-06-17T07:40:13.419Z] nexus3.edgexfoundry.org:10002 [2022-06-17T07:40:13.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:40:13.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:40:13.699Z] Configure a credential helper to remove this warning. See [2022-06-17T07:40:13.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:40:13.699Z] [2022-06-17T07:40:13.699Z] Login Succeeded [2022-06-17T07:40:13.699Z] nexus3.edgexfoundry.org:10003 [2022-06-17T07:40:13.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:40:14.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:40:14.249Z] Configure a credential helper to remove this warning. See [2022-06-17T07:40:14.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:40:14.249Z] [2022-06-17T07:40:14.249Z] Login Succeeded [2022-06-17T07:40:14.249Z] nexus3.edgexfoundry.org:10004 [2022-06-17T07:40:14.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:40:14.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:40:14.531Z] Configure a credential helper to remove this warning. See [2022-06-17T07:40:14.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:40:14.531Z] [2022-06-17T07:40:14.531Z] Login Succeeded [2022-06-17T07:40:14.531Z] docker.io [2022-06-17T07:40:15.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:40:15.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:40:15.403Z] Configure a credential helper to remove this warning. See [2022-06-17T07:40:15.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:40:15.403Z] [2022-06-17T07:40:15.403Z] Login Succeeded [2022-06-17T07:40:15.403Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T07:40:15.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T07:40:15.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:40:16.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:40:16.014Z] ========================================================= [2022-06-17T07:40:16.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T07:40:16.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:40:16.404Z] + 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-17T07:40:16.686Z] Sending build context to Docker daemon 5.954MB [2022-06-17T07:40:16.686Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T07:40:16.686Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T07:40:16.969Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T07:40:16.969Z] 9b3977197b4f: Pulling fs layer [2022-06-17T07:40:16.969Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T07:40:16.969Z] 94645a83ff95: Pulling fs layer [2022-06-17T07:40:16.969Z] e6fb740bc735: Pulling fs layer [2022-06-17T07:40:16.969Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T07:40:16.969Z] 355e64cbe906: Pulling fs layer [2022-06-17T07:40:16.969Z] 63ab81a10011: Pulling fs layer [2022-06-17T07:40:16.969Z] 3a77bd46dcc9: Waiting [2022-06-17T07:40:16.969Z] e6fb740bc735: Waiting [2022-06-17T07:40:16.969Z] 355e64cbe906: Waiting [2022-06-17T07:40:16.969Z] 555d1d1c4555: Pulling fs layer [2022-06-17T07:40:16.969Z] 7d9057610161: Pulling fs layer [2022-06-17T07:40:16.969Z] 63ab81a10011: Waiting [2022-06-17T07:40:16.969Z] 7d9057610161: Waiting [2022-06-17T07:40:16.969Z] 555d1d1c4555: Waiting [2022-06-17T07:40:16.969Z] 94645a83ff95: Verifying Checksum [2022-06-17T07:40:16.969Z] 94645a83ff95: Download complete [2022-06-17T07:40:16.969Z] 1a89e8eeedd5: Download complete [2022-06-17T07:40:16.969Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T07:40:16.969Z] 3a77bd46dcc9: Download complete [2022-06-17T07:40:16.969Z] 355e64cbe906: Verifying Checksum [2022-06-17T07:40:16.969Z] 355e64cbe906: Download complete [2022-06-17T07:40:16.969Z] 9b3977197b4f: Download complete [2022-06-17T07:40:16.969Z] 63ab81a10011: Verifying Checksum [2022-06-17T07:40:16.969Z] 63ab81a10011: Download complete [2022-06-17T07:40:17.985Z] 9b3977197b4f: Pull complete [2022-06-17T07:40:17.985Z] 7d9057610161: Verifying Checksum [2022-06-17T07:40:17.985Z] 7d9057610161: Download complete [2022-06-17T07:40:18.593Z] 1a89e8eeedd5: Pull complete [2022-06-17T07:40:18.870Z] 94645a83ff95: Pull complete [2022-06-17T07:40:19.145Z] 555d1d1c4555: Verifying Checksum [2022-06-17T07:40:19.145Z] 555d1d1c4555: Download complete [2022-06-17T07:40:19.746Z] e6fb740bc735: Verifying Checksum [2022-06-17T07:40:19.746Z] e6fb740bc735: Download complete [2022-06-17T07:40:32.187Z] e6fb740bc735: Pull complete [2022-06-17T07:40:32.187Z] 3a77bd46dcc9: Pull complete [2022-06-17T07:40:32.187Z] 355e64cbe906: Pull complete [2022-06-17T07:40:32.461Z] 63ab81a10011: Pull complete [2022-06-17T07:40:39.202Z] 555d1d1c4555: Pull complete [2022-06-17T07:40:41.182Z] 7d9057610161: Pull complete [2022-06-17T07:40:41.182Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T07:40:41.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T07:40:41.182Z] ---> 819e984ddca1 [2022-06-17T07:40:41.182Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T07:40:41.790Z] ---> Running in 7e3c2f0c6bf9 [2022-06-17T07:40:41.790Z] Removing intermediate container 7e3c2f0c6bf9 [2022-06-17T07:40:41.790Z] ---> 63eb5b09aafa [2022-06-17T07:40:41.790Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T07:40:42.069Z] ---> Running in b754848565e5 [2022-06-17T07:40:42.345Z] Removing intermediate container b754848565e5 [2022-06-17T07:40:42.345Z] ---> 4f13f892f7be [2022-06-17T07:40:42.345Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T07:40:42.345Z] ---> Running in 91ae61065f83 [2022-06-17T07:40:42.620Z] Removing intermediate container 91ae61065f83 [2022-06-17T07:40:42.620Z] ---> 68b4caa2ad7d [2022-06-17T07:40:42.620Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T07:40:42.911Z] ---> Running in 9401326ffcc3 [2022-06-17T07:40:43.194Z] Removing intermediate container 9401326ffcc3 [2022-06-17T07:40:43.194Z] ---> 61c9461e5243 [2022-06-17T07:40:43.194Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T07:40:43.194Z] ---> Running in c9391f117a1b [2022-06-17T07:40:45.874Z] Removing intermediate container c9391f117a1b [2022-06-17T07:40:45.874Z] ---> 8fe0af297840 [2022-06-17T07:40:45.874Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T07:40:45.874Z] ---> Running in f2b68924e7f8 [2022-06-17T07:40:46.864Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T07:40:47.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T07:40:48.441Z] OK: 220 MiB in 52 packages [2022-06-17T07:40:49.423Z] Removing intermediate container f2b68924e7f8 [2022-06-17T07:40:49.423Z] ---> c646567fa87b [2022-06-17T07:40:49.423Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T07:40:49.423Z] ---> Running in f1cfcf0be2a1 [2022-06-17T07:40:49.698Z] Removing intermediate container f1cfcf0be2a1 [2022-06-17T07:40:49.698Z] ---> 2acac95d2772 [2022-06-17T07:40:49.698Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T07:40:50.298Z] ---> 7103714bfc3e [2022-06-17T07:40:50.298Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T07:40:50.298Z] ---> Running in 7e97127ccbac [2022-06-17T07:41:37.317Z] Removing intermediate container 7e97127ccbac [2022-06-17T07:41:37.317Z] ---> abd1b3448d92 [2022-06-17T07:41:37.317Z] Step 12/13 : COPY . . [2022-06-17T07:41:37.317Z] ---> 4739e3260e7b [2022-06-17T07:41:37.317Z] Step 13/13 : RUN ${MAKE} [2022-06-17T07:41:37.317Z] ---> Running in 84e195c5798d [2022-06-17T07:41:37.317Z] noop [2022-06-17T07:41:37.914Z] Removing intermediate container 84e195c5798d [2022-06-17T07:41:37.914Z] ---> 63983a8a6afd [2022-06-17T07:41:37.914Z] Successfully built 63983a8a6afd [2022-06-17T07:41:37.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:41:38.283Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T07:41:38.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:41:38.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-2545 does not seem to be running inside a container [2022-06-17T07:41:38.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T07:41:39.889Z] $ docker top 2c4bb1e838170f899882cfa1c33b2ddeeab4f44470fe5c44b9d4398a3664cf7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T07:41:40.803Z] + go version [2022-06-17T07:41:40.803Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T07:41:40.835Z] $ docker stop --time=1 2c4bb1e838170f899882cfa1c33b2ddeeab4f44470fe5c44b9d4398a3664cf7e [2022-06-17T07:41:42.470Z] $ docker rm -f 2c4bb1e838170f899882cfa1c33b2ddeeab4f44470fe5c44b9d4398a3664cf7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:41:43.056Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T07:41:43.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:41:43.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-2545 does not seem to be running inside a container [2022-06-17T07:41:43.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T07:41:44.708Z] $ docker top 29943400d93661ca3e015d85bd0605328b0046ee7a14e0dc8b307f027283c944 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T07:41:45.634Z] + make test [2022-06-17T07:41:45.634Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T07:41:47.628Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T07:43:09.489Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T07:43:09.762Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.2% of statements [2022-06-17T07:43:36.576Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.817s coverage: 13.8% of statements [2022-06-17T07:43:36.576Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T07:43:36.576Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T07:44:03.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T07:44:03.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T07:44:03.390Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T07:44:05.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T07:44:05.407Z] $ docker stop --time=1 29943400d93661ca3e015d85bd0605328b0046ee7a14e0dc8b307f027283c944 [2022-06-17T07:44:07.170Z] $ docker rm -f 29943400d93661ca3e015d85bd0605328b0046ee7a14e0dc8b307f027283c944 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T07:44:08.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T07:44:08.125Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T07:44:08.593Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T07:44:08.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T07:44:09.319Z] + ls -al . [2022-06-17T07:44:09.319Z] total 232 [2022-06-17T07:44:09.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 07:44 . [2022-06-17T07:44:09.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:39 .. [2022-06-17T07:44:09.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 07:39 .git [2022-06-17T07:44:09.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 07:39 .github [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 07:39 .gitignore [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 07:39 .golangci.yml [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 07:39 Attribution.txt [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 07:39 CHANGELOG.md [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 07:39 Dockerfile [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 07:39 GOVERNANCE.md [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 07:39 Jenkinsfile [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 07:39 LICENSE [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 07:39 Makefile [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 07:39 OWNERS.md [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 07:39 README.md [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 07:37 VERSION [2022-06-17T07:44:09.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 07:39 bin [2022-06-17T07:44:09.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 07:39 cmd [2022-06-17T07:44:09.319Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 07:43 coverage.out [2022-06-17T07:44:09.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:39 doc [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 07:39 go.mod [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 07:39 go.sum [2022-06-17T07:44:09.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 07:39 internal [2022-06-17T07:44:09.319Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:44:09.678Z] + 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=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 --label arch=arm64 --label version=0.0.1-dev.12 . [2022-06-17T07:44:09.951Z] Sending build context to Docker daemon 6.014MB [2022-06-17T07:44:09.951Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T07:44:09.951Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T07:44:09.951Z] ---> 63983a8a6afd [2022-06-17T07:44:09.951Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T07:44:10.225Z] ---> Running in d7b3f86ff14c [2022-06-17T07:44:10.499Z] Removing intermediate container d7b3f86ff14c [2022-06-17T07:44:10.499Z] ---> 3873da0ac5df [2022-06-17T07:44:10.499Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T07:44:10.499Z] ---> Running in a58fb48e9cf4 [2022-06-17T07:44:10.776Z] Removing intermediate container a58fb48e9cf4 [2022-06-17T07:44:10.776Z] ---> a6630299db88 [2022-06-17T07:44:10.776Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T07:44:11.051Z] ---> Running in eef7ef5af5ec [2022-06-17T07:44:11.325Z] Removing intermediate container eef7ef5af5ec [2022-06-17T07:44:11.325Z] ---> d07c4b37e8e6 [2022-06-17T07:44:11.325Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T07:44:11.325Z] ---> Running in 38335c6d0a7a [2022-06-17T07:44:11.606Z] Removing intermediate container 38335c6d0a7a [2022-06-17T07:44:11.606Z] ---> 77644c18dbb0 [2022-06-17T07:44:11.606Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T07:44:11.606Z] ---> Running in b4f56eea57dc [2022-06-17T07:44:13.585Z] Removing intermediate container b4f56eea57dc [2022-06-17T07:44:13.585Z] ---> f799dff06c25 [2022-06-17T07:44:13.585Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T07:44:13.585Z] ---> Running in d138ec4a0ea4 [2022-06-17T07:44:14.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T07:44:15.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T07:44:16.155Z] OK: 220 MiB in 52 packages [2022-06-17T07:44:16.753Z] Removing intermediate container d138ec4a0ea4 [2022-06-17T07:44:16.753Z] ---> 681f4f142490 [2022-06-17T07:44:16.753Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T07:44:16.753Z] ---> Running in eb343639822e [2022-06-17T07:44:17.027Z] Removing intermediate container eb343639822e [2022-06-17T07:44:17.027Z] ---> cb3bf3e01fd1 [2022-06-17T07:44:17.027Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T07:44:17.624Z] ---> 932fd3bb5256 [2022-06-17T07:44:17.624Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T07:44:17.624Z] ---> Running in 47e0d1024f32 [2022-06-17T07:44:19.627Z] Removing intermediate container 47e0d1024f32 [2022-06-17T07:44:19.627Z] ---> 223c10f598d2 [2022-06-17T07:44:19.627Z] Step 12/26 : COPY . . [2022-06-17T07:44:20.610Z] ---> c88daf645b9c [2022-06-17T07:44:20.610Z] Step 13/26 : RUN ${MAKE} [2022-06-17T07:44:20.610Z] ---> Running in 0124e65ce724 [2022-06-17T07:44:21.596Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.12 -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-17T07:46:28.474Z] Removing intermediate container 0124e65ce724 [2022-06-17T07:46:28.474Z] ---> 2632c64f412e [2022-06-17T07:46:28.474Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T07:46:28.474Z] 3.15: Pulling from library/alpine [2022-06-17T07:46:28.474Z] 9981e73032c8: Pulling fs layer [2022-06-17T07:46:28.474Z] 9981e73032c8: Verifying Checksum [2022-06-17T07:46:28.474Z] 9981e73032c8: Download complete [2022-06-17T07:46:28.474Z] 9981e73032c8: Pull complete [2022-06-17T07:46:28.474Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T07:46:28.474Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T07:46:28.474Z] ---> 3fb3c9af89a9 [2022-06-17T07:46:28.474Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T07:46:28.474Z] ---> Running in 924d5ae5da10 [2022-06-17T07:46:28.474Z] Removing intermediate container 924d5ae5da10 [2022-06-17T07:46:28.474Z] ---> ead0f5f7f487 [2022-06-17T07:46:28.474Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T07:46:28.474Z] ---> Running in a00d8495fb23 [2022-06-17T07:46:28.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T07:46:28.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T07:46:28.474Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T07:46:28.474Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T07:46:28.474Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T07:46:28.474Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T07:46:28.474Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T07:46:28.474Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T07:46:28.474Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T07:46:28.474Z] OK: 8 MiB in 20 packages [2022-06-17T07:46:28.474Z] Removing intermediate container a00d8495fb23 [2022-06-17T07:46:28.474Z] ---> 27840896729b [2022-06-17T07:46:28.474Z] Step 17/26 : WORKDIR / [2022-06-17T07:46:28.474Z] ---> Running in 9764a136b739 [2022-06-17T07:46:28.474Z] Removing intermediate container 9764a136b739 [2022-06-17T07:46:28.474Z] ---> 4c7abc13352b [2022-06-17T07:46:28.474Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T07:46:28.474Z] ---> 33e1765d90a6 [2022-06-17T07:46:28.474Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T07:46:28.474Z] ---> 1f975970c8ec [2022-06-17T07:46:28.474Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T07:46:28.474Z] ---> e353600b3f7c [2022-06-17T07:46:28.474Z] Step 21/26 : EXPOSE 59984 [2022-06-17T07:46:28.474Z] ---> Running in 26c8ad00290d [2022-06-17T07:46:28.746Z] Removing intermediate container 26c8ad00290d [2022-06-17T07:46:28.746Z] ---> cfcb1ca029d3 [2022-06-17T07:46:28.746Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T07:46:28.746Z] ---> Running in 91f31c336fe5 [2022-06-17T07:46:29.017Z] Removing intermediate container 91f31c336fe5 [2022-06-17T07:46:29.017Z] ---> 9beba1e05338 [2022-06-17T07:46:29.017Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T07:46:29.017Z] ---> Running in fdbbc673f72f [2022-06-17T07:46:29.298Z] Removing intermediate container fdbbc673f72f [2022-06-17T07:46:29.298Z] ---> 6d7d54c3d16c [2022-06-17T07:46:29.298Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T07:46:29.576Z] ---> Running in 17096f552921 [2022-06-17T07:46:29.847Z] Removing intermediate container 17096f552921 [2022-06-17T07:46:29.847Z] ---> d36f1e6bf511 [2022-06-17T07:46:29.847Z] Step 25/26 : LABEL git_sha=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:46:29.847Z] ---> Running in 2bb89488c061 [2022-06-17T07:46:30.119Z] Removing intermediate container 2bb89488c061 [2022-06-17T07:46:30.119Z] ---> 1fa9136da3af [2022-06-17T07:46:30.119Z] Step 26/26 : LABEL version=0.0.1-dev.12 [2022-06-17T07:46:30.119Z] ---> Running in 12a658c3e533 [2022-06-17T07:46:30.391Z] Removing intermediate container 12a658c3e533 [2022-06-17T07:46:30.391Z] ---> c3b4457a82ff [2022-06-17T07:46:30.391Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T07:46:30.391Z] Successfully built c3b4457a82ff [2022-06-17T07:46:30.391Z] 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-17T07:46:30.514Z] provisioning config files... [2022-06-17T07:46:30.533Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config1883499398885616362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:46:30.884Z] ---> docker-login.sh [2022-06-17T07:46:30.884Z] nexus3.edgexfoundry.org:10001 [2022-06-17T07:46:31.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:46:31.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:46:31.157Z] Configure a credential helper to remove this warning. See [2022-06-17T07:46:31.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:46:31.157Z] [2022-06-17T07:46:31.157Z] Login Succeeded [2022-06-17T07:46:31.157Z] nexus3.edgexfoundry.org:10002 [2022-06-17T07:46:31.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:46:31.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:46:31.700Z] Configure a credential helper to remove this warning. See [2022-06-17T07:46:31.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:46:31.700Z] [2022-06-17T07:46:31.700Z] Login Succeeded [2022-06-17T07:46:31.700Z] nexus3.edgexfoundry.org:10003 [2022-06-17T07:46:31.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:46:31.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:46:31.973Z] Configure a credential helper to remove this warning. See [2022-06-17T07:46:31.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:46:31.973Z] [2022-06-17T07:46:31.973Z] Login Succeeded [2022-06-17T07:46:31.973Z] nexus3.edgexfoundry.org:10004 [2022-06-17T07:46:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:46:32.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:46:32.564Z] Configure a credential helper to remove this warning. See [2022-06-17T07:46:32.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:46:32.564Z] [2022-06-17T07:46:32.564Z] Login Succeeded [2022-06-17T07:46:32.564Z] docker.io [2022-06-17T07:46:32.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T07:46:33.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T07:46:33.106Z] Configure a credential helper to remove this warning. See [2022-06-17T07:46:33.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T07:46:33.106Z] [2022-06-17T07:46:33.106Z] Login Succeeded [2022-06-17T07:46:33.106Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T07:46:33.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-17T07:46:33.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T07:46:33.169Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-17T07:46:33.169Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:46:33.169Z] latest [2022-06-17T07:46:33.169Z] 0.0.1-dev.12 [2022-06-17T07:46:33.169Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:46:33.169Z] main [2022-06-17T07:46:33.169Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:33.514Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:33.886Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:46:33.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-17T07:46:33.886Z] febcea8e9028: Preparing [2022-06-17T07:46:33.886Z] 797378c72680: Preparing [2022-06-17T07:46:33.886Z] 5558156458e4: Preparing [2022-06-17T07:46:33.886Z] 678dd4317a1a: Preparing [2022-06-17T07:46:33.886Z] 4f4ce317c6bb: Preparing [2022-06-17T07:46:33.886Z] 4f4ce317c6bb: Layer already exists [2022-06-17T07:46:34.162Z] 797378c72680: Pushed [2022-06-17T07:46:34.162Z] febcea8e9028: Pushed [2022-06-17T07:46:34.759Z] 678dd4317a1a: Pushed [2022-06-17T07:46:41.470Z] 5558156458e4: Pushed [2022-06-17T07:46:41.470Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52: digest: sha256:c7c810d071ce73fe04351615c6c434f8cc3ab541d7455624de98869027112cf1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:41.846Z] + 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-17T07:46:42.219Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-17T07:46:42.219Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-17T07:46:42.219Z] febcea8e9028: Preparing [2022-06-17T07:46:42.219Z] 797378c72680: Preparing [2022-06-17T07:46:42.219Z] 5558156458e4: Preparing [2022-06-17T07:46:42.219Z] 678dd4317a1a: Preparing [2022-06-17T07:46:42.219Z] 4f4ce317c6bb: Preparing [2022-06-17T07:46:42.219Z] 5558156458e4: Layer already exists [2022-06-17T07:46:42.219Z] 4f4ce317c6bb: Layer already exists [2022-06-17T07:46:42.219Z] 797378c72680: Layer already exists [2022-06-17T07:46:42.219Z] febcea8e9028: Layer already exists [2022-06-17T07:46:42.219Z] 678dd4317a1a: Layer already exists [2022-06-17T07:46:42.493Z] latest: digest: sha256:c7c810d071ce73fe04351615c6c434f8cc3ab541d7455624de98869027112cf1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:42.883Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:43.259Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.12 [2022-06-17T07:46:43.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-17T07:46:43.259Z] febcea8e9028: Preparing [2022-06-17T07:46:43.259Z] 797378c72680: Preparing [2022-06-17T07:46:43.259Z] 5558156458e4: Preparing [2022-06-17T07:46:43.259Z] 678dd4317a1a: Preparing [2022-06-17T07:46:43.259Z] 4f4ce317c6bb: Preparing [2022-06-17T07:46:43.259Z] 797378c72680: Layer already exists [2022-06-17T07:46:43.259Z] 5558156458e4: Layer already exists [2022-06-17T07:46:43.259Z] 4f4ce317c6bb: Layer already exists [2022-06-17T07:46:43.259Z] febcea8e9028: Layer already exists [2022-06-17T07:46:43.259Z] 678dd4317a1a: Layer already exists [2022-06-17T07:46:43.535Z] 0.0.1-dev.12: digest: sha256:c7c810d071ce73fe04351615c6c434f8cc3ab541d7455624de98869027112cf1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:43.916Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:44.280Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:46:44.281Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-17T07:46:44.281Z] febcea8e9028: Preparing [2022-06-17T07:46:44.281Z] 797378c72680: Preparing [2022-06-17T07:46:44.281Z] 5558156458e4: Preparing [2022-06-17T07:46:44.281Z] 678dd4317a1a: Preparing [2022-06-17T07:46:44.281Z] 4f4ce317c6bb: Preparing [2022-06-17T07:46:44.281Z] 678dd4317a1a: Layer already exists [2022-06-17T07:46:44.281Z] febcea8e9028: Layer already exists [2022-06-17T07:46:44.281Z] 5558156458e4: Layer already exists [2022-06-17T07:46:44.281Z] 797378c72680: Layer already exists [2022-06-17T07:46:44.281Z] 4f4ce317c6bb: Layer already exists [2022-06-17T07:46:44.555Z] ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12: digest: sha256:c7c810d071ce73fe04351615c6c434f8cc3ab541d7455624de98869027112cf1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:44.934Z] + 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-17T07:46:45.310Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-17T07:46:45.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-17T07:46:45.311Z] febcea8e9028: Preparing [2022-06-17T07:46:45.311Z] 797378c72680: Preparing [2022-06-17T07:46:45.311Z] 5558156458e4: Preparing [2022-06-17T07:46:45.311Z] 678dd4317a1a: Preparing [2022-06-17T07:46:45.311Z] 4f4ce317c6bb: Preparing [2022-06-17T07:46:45.311Z] 5558156458e4: Layer already exists [2022-06-17T07:46:45.311Z] 678dd4317a1a: Layer already exists [2022-06-17T07:46:45.311Z] febcea8e9028: Layer already exists [2022-06-17T07:46:45.311Z] 4f4ce317c6bb: Layer already exists [2022-06-17T07:46:45.311Z] 797378c72680: Layer already exists [2022-06-17T07:46:45.582Z] main: digest: sha256:c7c810d071ce73fe04351615c6c434f8cc3ab541d7455624de98869027112cf1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-17T07:46:45.634Z] ===================================================== [Pipeline] echo [2022-06-17T07:46:45.642Z] taggedImages: [2022-06-17T07:46:45.642Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [2022-06-17T07:46:45.642Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-17T07:46:45.642Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.12 [2022-06-17T07:46:45.642Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52-0.0.1-dev.12 [2022-06-17T07:46:45.642Z] - 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-17T07:46:46.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T07:46:46.012Z] [2022-06-17T07:46:46.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:46:46.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T07:46:46.647Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T07:46:46.647Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T07:46:46.647Z] 04944245beec: Pulling fs layer [2022-06-17T07:46:46.647Z] 699f458cf7ca: Pulling fs layer [2022-06-17T07:46:46.647Z] 765212b225bb: Pulling fs layer [2022-06-17T07:46:46.647Z] f23df028b6ca: Pulling fs layer [2022-06-17T07:46:46.647Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T07:46:46.647Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T07:46:46.647Z] f23df028b6ca: Waiting [2022-06-17T07:46:46.647Z] d65c8cfc05b1: Waiting [2022-06-17T07:46:46.647Z] 2437ff75d9bd: Waiting [2022-06-17T07:46:46.647Z] 765212b225bb: Waiting [2022-06-17T07:46:46.647Z] 04944245beec: Verifying Checksum [2022-06-17T07:46:46.647Z] 04944245beec: Download complete [2022-06-17T07:46:46.647Z] 765212b225bb: Verifying Checksum [2022-06-17T07:46:46.647Z] 765212b225bb: Download complete [2022-06-17T07:46:46.647Z] f23df028b6ca: Verifying Checksum [2022-06-17T07:46:46.647Z] f23df028b6ca: Download complete [2022-06-17T07:46:46.647Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T07:46:46.647Z] d65c8cfc05b1: Download complete [2022-06-17T07:46:46.928Z] 699f458cf7ca: Verifying Checksum [2022-06-17T07:46:46.928Z] 699f458cf7ca: Download complete [2022-06-17T07:46:47.201Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T07:46:47.201Z] 8998bd30e6a1: Download complete [2022-06-17T07:46:49.182Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T07:46:49.182Z] 2437ff75d9bd: Download complete [2022-06-17T07:46:51.172Z] 8998bd30e6a1: Pull complete [2022-06-17T07:46:51.770Z] 04944245beec: Pull complete [2022-06-17T07:46:53.216Z] 699f458cf7ca: Pull complete [2022-06-17T07:46:53.488Z] 765212b225bb: Pull complete [2022-06-17T07:46:54.472Z] f23df028b6ca: Pull complete [2022-06-17T07:46:54.472Z] d65c8cfc05b1: Pull complete [2022-06-17T07:47:09.583Z] 2437ff75d9bd: Pull complete [2022-06-17T07:47:09.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T07:47:09.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T07:47:09.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:47:09.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-2545 does not seem to be running inside a container [2022-06-17T07:47:09.956Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T07:47:12.458Z] $ docker top f6e96003a294c913aa70968c9f5348e6c5ceed3baf86104f115b24aab4cf0592 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:47:13.372Z] ---> job-cost.sh [2022-06-17T07:47:13.372Z] lf-activate-venv: SKIPPING [2022-06-17T07:47:13.372Z] INFO: No Stack... [2022-06-17T07:47:13.968Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T07:47:14.562Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T07:47:15.223Z] + + cat /w/workspace/device-onvif-camera/14/archives/cost.csvcut -d, -f6 [2022-06-17T07:47:15.223Z] [Pipeline] lock [2022-06-17T07:47:15.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [2022-06-17T07:47:15.294Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] did not exist. Created. [2022-06-17T07:47:15.294Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T07:47:15.970Z] /w/workspace/device-onvif-camera/14@tmp/durable-42790c6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T07:47:16.653Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T07:47:16.683Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T07:47:16.732Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T07:47:16.739Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T07:47:16.767Z] $ docker stop --time=1 f6e96003a294c913aa70968c9f5348e6c5ceed3baf86104f115b24aab4cf0592 [2022-06-17T07:47:18.271Z] $ docker rm -f f6e96003a294c913aa70968c9f5348e6c5ceed3baf86104f115b24aab4cf0592 [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-17T07:47:18.762Z] provisioning config files... [2022-06-17T07:47:18.769Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1650904843619776783tmp [Pipeline] { [Pipeline] sh [2022-06-17T07:47:19.059Z] + set +x [2022-06-17T07:47:19.059Z] + curl -s https://codecov.io/bash [2022-06-17T07:47:19.059Z] + bash -s -- [2022-06-17T07:47:19.059Z] [2022-06-17T07:47:19.059Z] _____ _ [2022-06-17T07:47:19.059Z] / ____| | | [2022-06-17T07:47:19.059Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T07:47:19.059Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T07:47:19.059Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T07:47:19.059Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T07:47:19.059Z] Bash-1.0.6 [2022-06-17T07:47:19.059Z] [2022-06-17T07:47:19.059Z] [2022-06-17T07:47:19.059Z] ==> git version 2.25.1 found [2022-06-17T07:47:19.059Z] ==> 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-17T07:47:19.059Z] Release-Date: 2020-01-08 [2022-06-17T07:47:19.059Z] 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-17T07:47:19.059Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T07:47:19.059Z] ==> Jenkins CI detected. [2022-06-17T07:47:19.059Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-17T07:47:19.059Z] project root: . [2022-06-17T07:47:19.059Z] --> token set from env [2022-06-17T07:47:19.059Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T07:47:19.059Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T07:47:19.059Z] ==> Python coveragepy not found [2022-06-17T07:47:19.059Z] ==> Searching for coverage reports in: [2022-06-17T07:47:19.059Z] + . [2022-06-17T07:47:19.059Z] -> Found 1 reports [2022-06-17T07:47:19.059Z] ==> Detecting git/mercurial file structure [2022-06-17T07:47:19.059Z] ==> Reading reports [2022-06-17T07:47:19.059Z] + ./coverage.out bytes=59480 [2022-06-17T07:47:19.320Z] ==> Appending adjustments [2022-06-17T07:47:19.320Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T07:47:19.320Z] + Found adjustments [2022-06-17T07:47:19.320Z] ==> Gzipping contents [2022-06-17T07:47:19.320Z] 8.0K /tmp/codecov.yF33F7.gz [2022-06-17T07:47:19.320Z] ==> Uploading reports [2022-06-17T07:47:19.320Z] url: https://codecov.io [2022-06-17T07:47:19.320Z] query: branch=main&commit=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T07:47:19.320Z] -> Pinging Codecov [2022-06-17T07:47:19.320Z] 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=ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T07:47:19.579Z] -> Uploading to [2022-06-17T07:47:19.579Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/F29A59C45E3A92E06B3E522C9905F8EF/ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52/dea15b5b-0478-4b8c-80d6-2529a91b6656.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T074719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddb55db81e51f45621c7900a6777f935d7ec2f1a0932de9accb68e0349f08d02 [2022-06-17T07:47:19.579Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T07:47:19.579Z] Dload Upload Total Spent Left Speed [2022-06-17T07:47:19.840Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7612 0 0 100 7612 0 33095 --:--:-- --:--:-- --:--:-- 33095 [2022-06-17T07:47:19.840Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] } [2022-06-17T07:47:19.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-17T07:47:20.027Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-17T07:47:20.036Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:47:20.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T07:47:20.332Z] [2022-06-17T07:47:20.332Z] 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-17T07:47:20.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T07:47:20.633Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-17T07:47:20.633Z] df9b9388f04a: Already exists [2022-06-17T07:47:20.634Z] 52dc419b0ee2: Pulling fs layer [2022-06-17T07:47:20.634Z] 25bc292e5bac: Pulling fs layer [2022-06-17T07:47:20.634Z] 114826534d7a: Pulling fs layer [2022-06-17T07:47:20.634Z] 4657fd5d0bcf: Pulling fs layer [2022-06-17T07:47:20.634Z] 6ad1cebc031e: Pulling fs layer [2022-06-17T07:47:20.634Z] 8a3aa393b2d8: Pulling fs layer [2022-06-17T07:47:20.634Z] 4657fd5d0bcf: Waiting [2022-06-17T07:47:20.634Z] 6ad1cebc031e: Waiting [2022-06-17T07:47:20.634Z] 8a3aa393b2d8: Waiting [2022-06-17T07:47:20.634Z] 25bc292e5bac: Verifying Checksum [2022-06-17T07:47:20.634Z] 25bc292e5bac: Download complete [2022-06-17T07:47:20.634Z] 52dc419b0ee2: Verifying Checksum [2022-06-17T07:47:20.634Z] 52dc419b0ee2: Download complete [2022-06-17T07:47:20.634Z] 4657fd5d0bcf: Verifying Checksum [2022-06-17T07:47:20.634Z] 4657fd5d0bcf: Download complete [2022-06-17T07:47:20.898Z] 52dc419b0ee2: Pull complete [2022-06-17T07:47:20.898Z] 25bc292e5bac: Pull complete [2022-06-17T07:47:20.898Z] 6ad1cebc031e: Verifying Checksum [2022-06-17T07:47:20.898Z] 6ad1cebc031e: Download complete [2022-06-17T07:47:21.473Z] 114826534d7a: Download complete [2022-06-17T07:47:21.473Z] 8a3aa393b2d8: Verifying Checksum [2022-06-17T07:47:21.473Z] 8a3aa393b2d8: Download complete [2022-06-17T07:47:25.670Z] 114826534d7a: Pull complete [2022-06-17T07:47:25.670Z] 4657fd5d0bcf: Pull complete [2022-06-17T07:47:25.670Z] 6ad1cebc031e: Pull complete [2022-06-17T07:47:28.207Z] 8a3aa393b2d8: Pull complete [2022-06-17T07:47:28.207Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-17T07:47:28.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T07:47:28.207Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:47:28.292Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:47:28.327Z] $ 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-17T07:47:30.073Z] $ docker top 1adfa5102f42d11ad0824dacb72bf18abbe2724858389326e6e41e759f6ce2de -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-17T07:47:30.152Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-17T07:47:30.434Z] + set -o pipefail [2022-06-17T07:47:30.434Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-17T07:47:38.576Z] [2022-06-17T07:47:38.576Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-17T07:47:38.576Z] [2022-06-17T07:47:38.577Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/70192bef-7be8-4c90-bdab-bb5ea0c5ce52 [2022-06-17T07:47:38.577Z] [2022-06-17T07:47:38.577Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-17T07:47:38.577Z] [2022-06-17T07:47:38.577Z] [Pipeline] } [2022-06-17T07:47:38.588Z] $ docker stop --time=1 1adfa5102f42d11ad0824dacb72bf18abbe2724858389326e6e41e759f6ce2de [2022-06-17T07:47:40.835Z] $ docker rm -f 1adfa5102f42d11ad0824dacb72bf18abbe2724858389326e6e41e759f6ce2de [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-17T07:47:41.579Z] + git log --format=format:%s -1 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 [Pipeline] sh [2022-06-17T07:47:41.876Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T07:47:41.876Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:47:42.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:47:42.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:47:42.270Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:47:42.305Z] $ 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-17T07:47:42.772Z] $ docker top a21abb6d36668bf7b519424ec7a510f1f8347fafaeb7db0b10a58c83fe69eb64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T07:47:42.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T07:47:42.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T07:47:43.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T07:47:43.006Z] $ docker exec a21abb6d36668bf7b519424ec7a510f1f8347fafaeb7db0b10a58c83fe69eb64 ssh-agent [2022-06-17T07:47:43.128Z] SSH_AUTH_SOCK=/tmp/ssh-yyR2lN9Mihv8/agent.34 [2022-06-17T07:47:43.128Z] SSH_AGENT_PID=40 [2022-06-17T07:47:43.133Z] Running ssh-add (command line suppressed) [2022-06-17T07:47:43.260Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6838136426050037846.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6838136426050037846.key) [2022-06-17T07:47:43.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T07:47:43.594Z] + git semver tag [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,762 [run_tag] DEBUG tag force:False [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,762 [check_head_tag] DEBUG check head tag [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,762 [execute] INFO git cat-file --batch-check [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,766 [execute] INFO git cat-file --batch [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,773 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,773 [execute] INFO git tag -a v0.0.1-dev.12 -m v0.0.1-dev.12 [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,773 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.12', '-m', 'v0.0.1-dev.12'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-17T07:47:43.882Z] 2022-06-17 07:47:43,776 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:47:43.882Z] 0.0.1-dev.12 [Pipeline] } [2022-06-17T07:47:43.893Z] $ docker exec --env ******** --env ******** a21abb6d36668bf7b519424ec7a510f1f8347fafaeb7db0b10a58c83fe69eb64 ssh-agent -k [2022-06-17T07:47:44.013Z] unset SSH_AUTH_SOCK; [2022-06-17T07:47:44.014Z] unset SSH_AGENT_PID; [2022-06-17T07:47:44.014Z] echo Agent pid 40 killed; [2022-06-17T07:47:44.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T07:47:44.347Z] + git semver [Pipeline] } [2022-06-17T07:47:44.619Z] $ docker stop --time=1 a21abb6d36668bf7b519424ec7a510f1f8347fafaeb7db0b10a58c83fe69eb64 [2022-06-17T07:47:45.900Z] $ docker rm -f a21abb6d36668bf7b519424ec7a510f1f8347fafaeb7db0b10a58c83fe69eb64 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:47:46.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T07:47:46.306Z] [2022-06-17T07:47:46.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:47:46.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T07:47:46.615Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-17T07:47:46.615Z] ab5ef0e58194: Pulling fs layer [2022-06-17T07:47:46.615Z] 9712f1f96733: Pulling fs layer [2022-06-17T07:47:46.615Z] 63f879dbbcfc: Pulling fs layer [2022-06-17T07:47:46.615Z] 0d9ebad4ef96: Pulling fs layer [2022-06-17T07:47:46.615Z] e9a5061849ea: Pulling fs layer [2022-06-17T07:47:46.615Z] d747dcd14b5f: Pulling fs layer [2022-06-17T07:47:46.615Z] 2de7ff778b66: Pulling fs layer [2022-06-17T07:47:46.615Z] 0d9ebad4ef96: Waiting [2022-06-17T07:47:46.615Z] e9a5061849ea: Waiting [2022-06-17T07:47:46.615Z] d747dcd14b5f: Waiting [2022-06-17T07:47:46.615Z] 2de7ff778b66: Waiting [2022-06-17T07:47:46.615Z] 9712f1f96733: Verifying Checksum [2022-06-17T07:47:46.615Z] 9712f1f96733: Download complete [2022-06-17T07:47:46.880Z] 63f879dbbcfc: Verifying Checksum [2022-06-17T07:47:46.880Z] 63f879dbbcfc: Download complete [2022-06-17T07:47:47.141Z] 0d9ebad4ef96: Verifying Checksum [2022-06-17T07:47:47.141Z] 0d9ebad4ef96: Download complete [2022-06-17T07:47:47.141Z] d747dcd14b5f: Verifying Checksum [2022-06-17T07:47:47.141Z] d747dcd14b5f: Download complete [2022-06-17T07:47:47.141Z] ab5ef0e58194: Verifying Checksum [2022-06-17T07:47:47.141Z] ab5ef0e58194: Download complete [2022-06-17T07:47:47.141Z] e9a5061849ea: Verifying Checksum [2022-06-17T07:47:47.141Z] e9a5061849ea: Download complete [2022-06-17T07:47:47.400Z] 2de7ff778b66: Verifying Checksum [2022-06-17T07:47:47.400Z] 2de7ff778b66: Download complete [2022-06-17T07:47:49.937Z] ab5ef0e58194: Pull complete [2022-06-17T07:47:49.937Z] 9712f1f96733: Pull complete [2022-06-17T07:47:50.504Z] 63f879dbbcfc: Pull complete [2022-06-17T07:47:54.698Z] 0d9ebad4ef96: Pull complete [2022-06-17T07:47:54.698Z] e9a5061849ea: Pull complete [2022-06-17T07:47:54.698Z] d747dcd14b5f: Pull complete [2022-06-17T07:47:56.079Z] 2de7ff778b66: Pull complete [2022-06-17T07:47:56.079Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-17T07:47:56.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T07:47:56.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:47:56.180Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:47:56.212Z] $ 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-17T07:47:58.226Z] $ docker top cbe4388d86433a2a4d127145ed2785c7c97475d3b08baa612ac7e994b2031a78 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-17T07:47:58.304Z] provisioning config files... [2022-06-17T07:47:58.310Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2247163986656518994tmp [2022-06-17T07:47:58.320Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7388364429073930590tmp [2022-06-17T07:47:58.328Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6074072848166443445tmp [Pipeline] { [Pipeline] echo [2022-06-17T07:47:58.342Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:47:58.623Z] ---> sigul-configuration.sh [2022-06-17T07:47:58.623Z] gpg: directory `/root/.gnupg' created [2022-06-17T07:47:58.623Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-17T07:47:58.623Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-17T07:47:58.623Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-17T07:47:58.623Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-17T07:47:58.623Z] gpg: CAST5 encrypted data [2022-06-17T07:47:58.623Z] gpg: encrypted with 1 passphrase [2022-06-17T07:47:58.623Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-17T07:47:58.906Z] + mkdir /home/jenkins [2022-06-17T07:47:58.906Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-17T07:47:59.196Z] + 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-17T07:47:59.204Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:47:59.490Z] ---> sigul-install.sh [2022-06-17T07:47:59.490Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-17T07:47:59.777Z] + git tag --list [2022-06-17T07:47:59.777Z] v0.0.0 [2022-06-17T07:47:59.777Z] v0.0.1-dev.1 [2022-06-17T07:47:59.777Z] v0.0.1-dev.10 [2022-06-17T07:47:59.777Z] v0.0.1-dev.11 [2022-06-17T07:47:59.777Z] v0.0.1-dev.12 [2022-06-17T07:47:59.777Z] v0.0.1-dev.2 [2022-06-17T07:47:59.777Z] v0.0.1-dev.3 [2022-06-17T07:47:59.777Z] v0.0.1-dev.4 [2022-06-17T07:47:59.777Z] v0.0.1-dev.5 [2022-06-17T07:47:59.777Z] v0.0.1-dev.6 [2022-06-17T07:47:59.777Z] v0.0.1-dev.7 [2022-06-17T07:47:59.777Z] v0.0.1-dev.8 [2022-06-17T07:47:59.777Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-17T07:48:00.064Z] + lftools sign git-tag v0.0.1-dev.12 [2022-06-17T07:48:00.632Z] Signing Git tag with Sigul... [2022-06-17T07:48:00.632Z] Signing v0.0.1-dev.12 [Pipeline] echo [2022-06-17T07:48:00.902Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:01.188Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-17T07:48:01.197Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-17T07:48:01.216Z] $ docker stop --time=1 cbe4388d86433a2a4d127145ed2785c7c97475d3b08baa612ac7e994b2031a78 [2022-06-17T07:48:02.547Z] $ docker rm -f cbe4388d86433a2a4d127145ed2785c7c97475d3b08baa612ac7e994b2031a78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-17T07:48:02.964Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T07:48:02.964Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:48:03.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:48:03.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:48:03.347Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:48:03.376Z] $ 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-17T07:48:03.771Z] $ docker top 2d015010af8e1a4fe28a728d5c8bc6acfa7c931a0a76bf249b822868f9981317 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T07:48:03.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T07:48:03.873Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T07:48:04.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T07:48:04.007Z] $ docker exec 2d015010af8e1a4fe28a728d5c8bc6acfa7c931a0a76bf249b822868f9981317 ssh-agent [2022-06-17T07:48:04.134Z] SSH_AUTH_SOCK=/tmp/ssh-Jz5nE7cipAo2/agent.33 [2022-06-17T07:48:04.134Z] SSH_AGENT_PID=40 [2022-06-17T07:48:04.138Z] Running ssh-add (command line suppressed) [2022-06-17T07:48:04.260Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4524978039715220166.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4524978039715220166.key) [2022-06-17T07:48:04.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T07:48:04.568Z] + git semver bump pre [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,746 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,747 [bump_version] DEBUG bumping version:0.0.1-dev.12 on axis:pre with prefix:dev [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,747 [bump_version] DEBUG bumped version:0.0.1-dev.13 [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,747 [write_version] DEBUG write version:0.0.1-dev.13 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,747 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,747 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,748 [execute] INFO git cat-file --batch-check [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,749 [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-17T07:48:04.828Z] 2022-06-17 07:48:04,754 [execute] INFO git cat-file --batch [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T07:48:04.828Z] 2022-06-17 07:48:04,759 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:48:04.828Z] 0.0.1-dev.13 [Pipeline] } [2022-06-17T07:48:04.837Z] $ docker exec --env ******** --env ******** 2d015010af8e1a4fe28a728d5c8bc6acfa7c931a0a76bf249b822868f9981317 ssh-agent -k [2022-06-17T07:48:04.944Z] unset SSH_AUTH_SOCK; [2022-06-17T07:48:04.944Z] unset SSH_AGENT_PID; [2022-06-17T07:48:04.944Z] echo Agent pid 40 killed; [2022-06-17T07:48:04.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T07:48:05.270Z] + git semver [Pipeline] } [2022-06-17T07:48:05.544Z] $ docker stop --time=1 2d015010af8e1a4fe28a728d5c8bc6acfa7c931a0a76bf249b822868f9981317 [2022-06-17T07:48:06.862Z] $ docker rm -f 2d015010af8e1a4fe28a728d5c8bc6acfa7c931a0a76bf249b822868f9981317 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T07:48:07.224Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T07:48:07.224Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:48:07.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T07:48:07.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:48:07.618Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:48:07.650Z] $ 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-17T07:48:08.038Z] $ docker top 8b41473ea40ddde328396ee2e5734b6a6088cd1955c5cd1b3abacbf841ed8332 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T07:48:08.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T07:48:08.144Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T07:48:08.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T07:48:08.268Z] $ docker exec 8b41473ea40ddde328396ee2e5734b6a6088cd1955c5cd1b3abacbf841ed8332 ssh-agent [2022-06-17T07:48:08.403Z] SSH_AUTH_SOCK=/tmp/ssh-C6pLFQTCFYgu/agent.32 [2022-06-17T07:48:08.403Z] SSH_AGENT_PID=38 [2022-06-17T07:48:08.409Z] Running ssh-add (command line suppressed) [2022-06-17T07:48:08.507Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_106850642935405277.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_106850642935405277.key) [2022-06-17T07:48:08.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T07:48:08.814Z] + git semver push [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:08,990 [run_push] DEBUG push [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:08,991 [execute] INFO git cat-file --batch-check [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:08,991 [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-17T07:48:09.075Z] 2022-06-17 07:48:08,994 [execute] INFO git rev-list b96c77790eabbfed104415dd7601e7ab322f350b -- [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:08,995 [execute] DEBUG Popen(['git', 'rev-list', 'b96c77790eabbfed104415dd7601e7ab322f350b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:09,000 [execute] INFO git fetch -v origin [2022-06-17T07:48:09.075Z] 2022-06-17 07:48:09,000 [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-17T07:48:09.647Z] 2022-06-17 07:48:09,473 [run_push] DEBUG no remote changes detected [2022-06-17T07:48:09.647Z] 2022-06-17 07:48:09,474 [execute] INFO git push origin semver [2022-06-17T07:48:09.647Z] 2022-06-17 07:48:09,474 [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-17T07:48:10.659Z] 2022-06-17 07:48:10,329 [run_push] DEBUG push all version tags [2022-06-17T07:48:10.659Z] 2022-06-17 07:48:10,329 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-17T07:48:10.659Z] 2022-06-17 07:48:10,330 [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-17T07:48:11.244Z] 2022-06-17 07:48:11,050 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-17T07:48:11.244Z] 0.0.1-dev.13 [Pipeline] } [2022-06-17T07:48:11.252Z] $ docker exec --env ******** --env ******** 8b41473ea40ddde328396ee2e5734b6a6088cd1955c5cd1b3abacbf841ed8332 ssh-agent -k [2022-06-17T07:48:11.367Z] unset SSH_AUTH_SOCK; [2022-06-17T07:48:11.367Z] unset SSH_AGENT_PID; [2022-06-17T07:48:11.367Z] echo Agent pid 38 killed; [2022-06-17T07:48:11.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T07:48:11.696Z] + git semver [Pipeline] } [2022-06-17T07:48:11.968Z] $ docker stop --time=1 8b41473ea40ddde328396ee2e5734b6a6088cd1955c5cd1b3abacbf841ed8332 [2022-06-17T07:48:13.250Z] $ docker rm -f 8b41473ea40ddde328396ee2e5734b6a6088cd1955c5cd1b3abacbf841ed8332 [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-17T07:48:13.837Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-17T07:48:13.837Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-17T07:48:13.837Z] total 16 [2022-06-17T07:48:13.837Z] drwxr-xr-x 3 root root 4096 Jun 17 07:39 . [2022-06-17T07:48:13.837Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 07:47 .. [2022-06-17T07:48:13.837Z] drwxr-xr-x 2 root root 4096 Jun 17 07:39 cost [2022-06-17T07:48:13.837Z] -rw-r--r-- 1 root root 89 Jun 17 07:39 cost.csv [2022-06-17T07:48:13.837Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-17T07:48:13.837Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-17T07:48:13.837Z] total 16 [2022-06-17T07:48:13.837Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 07:39 . [2022-06-17T07:48:13.837Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 07:47 .. [2022-06-17T07:48:13.837Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 07:39 cost [2022-06-17T07:48:13.837Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 17 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:14.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:14.987Z] ---> package-listing.sh [2022-06-17T07:48:14.987Z] ++ facter osfamily [2022-06-17T07:48:14.987Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T07:48:15.247Z] + OS_FAMILY=debian [2022-06-17T07:48:15.247Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-17T07:48:15.247Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T07:48:15.247Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T07:48:15.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T07:48:15.247Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T07:48:15.247Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-17T07:48:15.247Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T07:48:15.247Z] + case "${OS_FAMILY}" in [2022-06-17T07:48:15.247Z] + dpkg -l [2022-06-17T07:48:15.247Z] + grep '^ii' [2022-06-17T07:48:15.247Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T07:48:15.247Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T07:48:15.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T07:48:15.247Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-17T07:48:15.247Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-17T07:48:15.247Z] + 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-17T07:48:15.259Z] 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-17T07:48:15.536Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T07:48:16.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T07:48:16.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T07:48:16.179Z] prd-ubuntu20.04-docker-8c-8g-2544 does not seem to be running inside a container [2022-06-17T07:48:16.209Z] $ 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-17T07:48:16.438Z] $ docker top bced9b2e79172689c152cef98dc836d4f412f45141a7a2c2f2eafa3821f41e23 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T07:48:16.795Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T07:48:17.085Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T07:48:17.371Z] + ls /var/log/sa-host [2022-06-17T07:48:17.371Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T07:48:17.499Z] provisioning config files... [2022-06-17T07:48:17.508Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3127393938600449417tmp [Pipeline] { [Pipeline] echo [2022-06-17T07:48:17.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:17.809Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T07:48:17.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:18.138Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T07:48:18.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:18.430Z] ---> sudo-logs.sh [2022-06-17T07:48:18.430Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T07:48:18.453Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:18.734Z] ---> job-cost.sh [2022-06-17T07:48:18.734Z] lf-activate-venv: SKIPPING [2022-06-17T07:48:18.734Z] DEBUG: total: 0.2199999988079071 [2022-06-17T07:48:18.734Z] INFO: Retrieving Stack Cost... [2022-06-17T07:48:19.304Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T07:48:19.873Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T07:48:19.885Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T07:48:20.169Z] ---> logs-deploy.sh [2022-06-17T07:48:20.169Z] lf-activate-venv: SKIPPING [2022-06-17T07:48:20.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/14 [2022-06-17T07:48:20.169Z] INFO: archiving workspace using pattern(s): [2022-06-17T07:48:21.108Z] Archives upload complete. [2022-06-17T07:48:21.108Z] INFO: archiving logs to Nexus