Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84f2c4fd4e35f46928256df416a01a34dc7a6192 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-ssh12676031809458818581.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-ssh8298687608649070431.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-ssh17088868113871685917.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-ssh566454584163893959.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-ssh1833334185375581074.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-16718 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 84f2c4fd4e35f46928256df416a01a34dc7a6192 (main) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 Commit message: "fix: set-credentials ALL option (#99)" > git rev-list --no-walk cba106416024542bb09af345da5a1638a965ef9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-02T22:11:34.912Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-02T22:11:34.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-02T22:11:34.994Z] ========================================================= [2022-07-02T22:11:34.994Z] EdgeX Global Pipelines Version Info [2022-07-02T22:11:34.994Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:11:35.764Z] ------------------- [2022-07-02T22:11:35.764Z] stable info: [2022-07-02T22:11:35.764Z] ------------------- [2022-07-02T22:11:35.765Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-02T22:11:35.765Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-02T22:11:35.765Z] Message: update stable to v1.0.234 [2022-07-02T22:11:36.338Z] ------------------- [2022-07-02T22:11:36.338Z] experimental info: [2022-07-02T22:11:36.338Z] ------------------- [2022-07-02T22:11:36.338Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-02T22:11:36.338Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-02T22:11:36.338Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-02T22:11:36.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-02T22:11:36.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-02T22:11:36.610Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-02T22:11:36.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-02T22:11:36.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-02T22:11:36.635Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-02T22:11:36.643Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-02T22:11:36.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-02T22:11:36.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-02T22:11:36.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-02T22:11:36.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-02T22:11:36.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-02T22:11:36.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-02T22:11:36.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-02T22:11:36.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-02T22:11:36.760Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-02T22:11:36.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-02T22:11:36.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-02T22:11:36.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-02T22:11:36.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-02T22:11:36.905Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-02T22:11:36.923Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-02T22:11:36.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-02T22:11:36.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-02T22:11:36.957Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-02T22:11:36.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-02T22:11:36.983Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-02T22:11:36.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-02T22:11:37.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-02T22:11:37.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-02T22:11:37.066Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] echo [2022-07-02T22:11:37.077Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84f2c4f [Pipeline] echo [2022-07-02T22:11:37.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-02T22:11:37.129Z] provisioning config files... [2022-07-02T22:11:37.143Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5888150843254140004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:11:37.451Z] ---> docker-login.sh [2022-07-02T22:11:37.451Z] nexus3.edgexfoundry.org:10001 [2022-07-02T22:11:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:37.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:37.975Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:37.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:37.975Z] [2022-07-02T22:11:37.975Z] Login Succeeded [2022-07-02T22:11:37.975Z] nexus3.edgexfoundry.org:10002 [2022-07-02T22:11:37.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:37.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:37.975Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:37.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:37.975Z] [2022-07-02T22:11:37.975Z] Login Succeeded [2022-07-02T22:11:37.975Z] nexus3.edgexfoundry.org:10003 [2022-07-02T22:11:38.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:38.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:38.236Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:38.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:38.236Z] [2022-07-02T22:11:38.236Z] Login Succeeded [2022-07-02T22:11:38.236Z] nexus3.edgexfoundry.org:10004 [2022-07-02T22:11:38.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:38.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:38.236Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:38.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:38.236Z] [2022-07-02T22:11:38.236Z] Login Succeeded [2022-07-02T22:11:38.236Z] docker.io [2022-07-02T22:11:38.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:38.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:38.759Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:38.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:38.759Z] [2022-07-02T22:11:38.759Z] Login Succeeded [2022-07-02T22:11:38.759Z] ---> docker-login.sh ends [Pipeline] } [2022-07-02T22:11:38.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-02T22:11:39.150Z] + git rev-list -1 --merges 84f2c4fd4e35f46928256df416a01a34dc7a6192~1..84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] echo [2022-07-02T22:11:39.187Z] -----------> git rev-list -1 --merges 84f2c4fd4e35f46928256df416a01a34dc7a6192~1..84f2c4fd4e35f46928256df416a01a34dc7a6192 84f2c4fd4e35f46928256df416a01a34dc7a6192 [false] [Pipeline] sh [2022-07-02T22:11:39.481Z] + git log --format=format:%s -1 84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] echo [2022-07-02T22:11:39.499Z] ========================================================= [2022-07-02T22:11:39.500Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-02T22:11:39.500Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-02T22:11:39.837Z] + git log --format=format:%s -1 84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] echo [2022-07-02T22:11:39.851Z] [semverPrep] GIT_COMMIT: 84f2c4fd4e35f46928256df416a01a34dc7a6192, Commit Message: fix: set-credentials ALL option (#99) [Pipeline] echo [2022-07-02T22:11:39.861Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-02T22:11:40.251Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-02T22:11:40.251Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-02T22:11:40.251Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-02T22:11:40.251Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-02T22:11:40.251Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-02T22:11:40.251Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-02T22:11:40.251Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:11:40.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:11:40.680Z] [2022-07-02T22:11:40.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:11:40.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:11:40.995Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-02T22:11:40.995Z] 42c077c10790: Pulling fs layer [2022-07-02T22:11:40.995Z] f63e77b7563a: Pulling fs layer [2022-07-02T22:11:40.995Z] bd5fdadae976: Pulling fs layer [2022-07-02T22:11:40.995Z] 205491f53016: Pulling fs layer [2022-07-02T22:11:40.995Z] df18705c85c3: Pulling fs layer [2022-07-02T22:11:40.995Z] bdb3f477010e: Pulling fs layer [2022-07-02T22:11:40.995Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-02T22:11:40.995Z] 2c6e9b1d212d: Pulling fs layer [2022-07-02T22:11:40.995Z] bdb8f0575790: Pulling fs layer [2022-07-02T22:11:40.995Z] 386e3cb2ff24: Pulling fs layer [2022-07-02T22:11:40.995Z] 2c6e9b1d212d: Waiting [2022-07-02T22:11:40.995Z] bdb3f477010e: Waiting [2022-07-02T22:11:40.995Z] c8a8fc8e1c8f: Waiting [2022-07-02T22:11:40.995Z] 2343380bae48: Pulling fs layer [2022-07-02T22:11:40.995Z] 386e3cb2ff24: Waiting [2022-07-02T22:11:40.995Z] 205491f53016: Waiting [2022-07-02T22:11:40.995Z] df18705c85c3: Waiting [2022-07-02T22:11:40.995Z] f63e77b7563a: Verifying Checksum [2022-07-02T22:11:40.995Z] f63e77b7563a: Download complete [2022-07-02T22:11:40.995Z] 205491f53016: Verifying Checksum [2022-07-02T22:11:40.995Z] 205491f53016: Download complete [2022-07-02T22:11:41.260Z] df18705c85c3: Verifying Checksum [2022-07-02T22:11:41.260Z] df18705c85c3: Download complete [2022-07-02T22:11:41.260Z] bd5fdadae976: Verifying Checksum [2022-07-02T22:11:41.260Z] bd5fdadae976: Download complete [2022-07-02T22:11:41.260Z] bdb3f477010e: Verifying Checksum [2022-07-02T22:11:41.260Z] bdb3f477010e: Download complete [2022-07-02T22:11:41.260Z] 2c6e9b1d212d: Verifying Checksum [2022-07-02T22:11:41.260Z] 2c6e9b1d212d: Download complete [2022-07-02T22:11:41.260Z] bdb8f0575790: Verifying Checksum [2022-07-02T22:11:41.260Z] bdb8f0575790: Download complete [2022-07-02T22:11:41.260Z] 386e3cb2ff24: Download complete [2022-07-02T22:11:41.260Z] 2343380bae48: Download complete [2022-07-02T22:11:41.260Z] 42c077c10790: Verifying Checksum [2022-07-02T22:11:41.260Z] 42c077c10790: Download complete [2022-07-02T22:11:41.521Z] c8a8fc8e1c8f: Download complete [2022-07-02T22:11:42.907Z] 42c077c10790: Pull complete [2022-07-02T22:11:42.907Z] f63e77b7563a: Pull complete [2022-07-02T22:11:43.484Z] bd5fdadae976: Pull complete [2022-07-02T22:11:43.484Z] 205491f53016: Pull complete [2022-07-02T22:11:43.748Z] df18705c85c3: Pull complete [2022-07-02T22:11:44.009Z] bdb3f477010e: Pull complete [2022-07-02T22:11:45.931Z] c8a8fc8e1c8f: Pull complete [2022-07-02T22:11:45.931Z] 2c6e9b1d212d: Pull complete [2022-07-02T22:11:46.191Z] bdb8f0575790: Pull complete [2022-07-02T22:11:46.191Z] 386e3cb2ff24: Pull complete [2022-07-02T22:11:46.455Z] 2343380bae48: Pull complete [2022-07-02T22:11:46.455Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-02T22:11:46.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:11:46.455Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:11:46.572Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:11:46.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-02T22:11:47.978Z] $ docker top 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 -eo pid,comm [2022-07-02T22:11:48.045Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-02T22:11:48.045Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-02T22:11:48.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-02T22:11:48.077Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-02T22:11:48.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-02T22:11:48.221Z] $ docker exec 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 ssh-agent [2022-07-02T22:11:48.359Z] SSH_AUTH_SOCK=/tmp/ssh-4d19tlzCYrKZ/agent.33 [2022-07-02T22:11:48.359Z] SSH_AGENT_PID=39 [2022-07-02T22:11:48.367Z] Running ssh-add (command line suppressed) [2022-07-02T22:11:48.499Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2885157862319737037.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2885157862319737037.key) [2022-07-02T22:11:48.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-02T22:11:48.802Z] + git tag --points-at HEAD [Pipeline] } [2022-07-02T22:11:48.821Z] $ docker exec --env ******** --env ******** 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 ssh-agent -k [2022-07-02T22:11:48.949Z] unset SSH_AUTH_SOCK; [2022-07-02T22:11:48.949Z] unset SSH_AGENT_PID; [2022-07-02T22:11:48.949Z] echo Agent pid 39 killed; [2022-07-02T22:11:48.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-02T22:11:48.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-02T22:11:48.985Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-02T22:11:49.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-02T22:11:49.130Z] $ docker exec 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 ssh-agent [2022-07-02T22:11:49.262Z] SSH_AUTH_SOCK=/tmp/ssh-SsXadPieHyXU/agent.71 [2022-07-02T22:11:49.262Z] SSH_AGENT_PID=77 [2022-07-02T22:11:49.269Z] Running ssh-add (command line suppressed) [2022-07-02T22:11:49.394Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4568483638868643073.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4568483638868643073.key) [2022-07-02T22:11:49.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-02T22:11:49.700Z] + git semver init [2022-07-02T22:11:49.961Z] 2022-07-02 22:11:49,939 [run_init] DEBUG init version:0.0.0 force:False [2022-07-02T22:11:49.961Z] 2022-07-02 22:11:49,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-02T22:11:49.961Z] 2022-07-02 22:11:49,940 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-02T22:11:49.961Z] 2022-07-02 22:11:49,940 [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-07-02T22:11:50.908Z] 2022-07-02 22:11:50,588 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-07-02T22:11:50.908Z] 2022-07-02 22:11:50,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-07-02T22:11:50.908Z] 2022-07-02 22:11:50,589 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:11:50.908Z] 2022-07-02 22:11:50,589 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:11:50.908Z] 0.0.1-dev.21 [Pipeline] } [2022-07-02T22:11:50.925Z] $ docker exec --env ******** --env ******** 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 ssh-agent -k [2022-07-02T22:11:51.048Z] unset SSH_AUTH_SOCK; [2022-07-02T22:11:51.049Z] unset SSH_AGENT_PID; [2022-07-02T22:11:51.049Z] echo Agent pid 77 killed; [2022-07-02T22:11:51.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-02T22:11:51.374Z] + git semver [Pipeline] } [2022-07-02T22:11:51.657Z] $ docker stop --time=1 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 [2022-07-02T22:11:52.962Z] $ docker rm -f 3d4f72e10d02fbf4c42d5411a99995388b8c0ab133058f616b1fc6b50238b3f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-02T22:11:53.309Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-02T22:11:53.551Z] Stashed 1 file(s) [Pipeline] echo [2022-07-02T22:11:53.554Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.21 [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-07-02T22:11:53.695Z] provisioning config files... [2022-07-02T22:11:53.705Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config377137964110728749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:11:54.005Z] ---> docker-login.sh [2022-07-02T22:11:54.005Z] nexus3.edgexfoundry.org:10001 [2022-07-02T22:11:54.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:54.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:54.005Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:54.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:54.005Z] [2022-07-02T22:11:54.005Z] Login Succeeded [2022-07-02T22:11:54.005Z] nexus3.edgexfoundry.org:10002 [2022-07-02T22:11:54.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:54.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:54.265Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:54.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:54.265Z] [2022-07-02T22:11:54.265Z] Login Succeeded [2022-07-02T22:11:54.265Z] nexus3.edgexfoundry.org:10003 [2022-07-02T22:11:54.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:54.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:54.265Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:54.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:54.265Z] [2022-07-02T22:11:54.265Z] Login Succeeded [2022-07-02T22:11:54.265Z] nexus3.edgexfoundry.org:10004 [2022-07-02T22:11:54.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:54.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:54.526Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:54.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:54.526Z] [2022-07-02T22:11:54.526Z] Login Succeeded [2022-07-02T22:11:54.526Z] docker.io [2022-07-02T22:11:54.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:11:54.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:11:54.787Z] Configure a credential helper to remove this warning. See [2022-07-02T22:11:54.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:11:54.787Z] [2022-07-02T22:11:54.787Z] Login Succeeded [2022-07-02T22:11:54.787Z] ---> docker-login.sh ends [Pipeline] } [2022-07-02T22:11:54.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-02T22:11:54.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:11:54.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:11:54.882Z] ========================================================= [2022-07-02T22:11:54.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-02T22:11:54.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:11:55.202Z] + 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-07-02T22:11:55.202Z] Sending build context to Docker daemon 9.333MB [2022-07-02T22:11:55.202Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-02T22:11:55.202Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-02T22:11:55.202Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-02T22:11:55.202Z] 59bf1c3509f3: Pulling fs layer [2022-07-02T22:11:55.202Z] 666ba61612fd: Pulling fs layer [2022-07-02T22:11:55.202Z] 8ed8ca486205: Pulling fs layer [2022-07-02T22:11:55.202Z] cc1cd167ecdc: Pulling fs layer [2022-07-02T22:11:55.202Z] c516ae0d96e1: Pulling fs layer [2022-07-02T22:11:55.202Z] 684cea983483: Pulling fs layer [2022-07-02T22:11:55.202Z] dd3240ac7de5: Pulling fs layer [2022-07-02T22:11:55.202Z] b1e948a4e11c: Pulling fs layer [2022-07-02T22:11:55.202Z] a8fd76ee1af6: Pulling fs layer [2022-07-02T22:11:55.202Z] cc1cd167ecdc: Waiting [2022-07-02T22:11:55.202Z] 646ad004c059: Pulling fs layer [2022-07-02T22:11:55.202Z] c516ae0d96e1: Waiting [2022-07-02T22:11:55.202Z] 684cea983483: Waiting [2022-07-02T22:11:55.202Z] dd3240ac7de5: Waiting [2022-07-02T22:11:55.202Z] b1e948a4e11c: Waiting [2022-07-02T22:11:55.202Z] a8fd76ee1af6: Waiting [2022-07-02T22:11:55.202Z] 646ad004c059: Waiting [2022-07-02T22:11:55.202Z] 8ed8ca486205: Verifying Checksum [2022-07-02T22:11:55.202Z] 8ed8ca486205: Download complete [2022-07-02T22:11:55.202Z] 666ba61612fd: Download complete [2022-07-02T22:11:55.202Z] c516ae0d96e1: Verifying Checksum [2022-07-02T22:11:55.202Z] c516ae0d96e1: Download complete [2022-07-02T22:11:55.202Z] 684cea983483: Verifying Checksum [2022-07-02T22:11:55.202Z] 684cea983483: Download complete [2022-07-02T22:11:55.470Z] dd3240ac7de5: Verifying Checksum [2022-07-02T22:11:55.470Z] dd3240ac7de5: Download complete [2022-07-02T22:11:55.470Z] 59bf1c3509f3: Verifying Checksum [2022-07-02T22:11:55.470Z] b1e948a4e11c: Verifying Checksum [2022-07-02T22:11:55.470Z] b1e948a4e11c: Download complete [2022-07-02T22:11:55.470Z] 59bf1c3509f3: Pull complete [2022-07-02T22:11:55.744Z] 666ba61612fd: Pull complete [2022-07-02T22:11:55.744Z] 8ed8ca486205: Pull complete [2022-07-02T22:11:55.744Z] 646ad004c059: Verifying Checksum [2022-07-02T22:11:55.744Z] 646ad004c059: Download complete [2022-07-02T22:11:56.007Z] a8fd76ee1af6: Verifying Checksum [2022-07-02T22:11:56.007Z] a8fd76ee1af6: Download complete [2022-07-02T22:11:56.007Z] cc1cd167ecdc: Verifying Checksum [2022-07-02T22:11:56.007Z] cc1cd167ecdc: Download complete [2022-07-02T22:12:00.203Z] cc1cd167ecdc: Pull complete [2022-07-02T22:12:00.203Z] c516ae0d96e1: Pull complete [2022-07-02T22:12:00.203Z] 684cea983483: Pull complete [2022-07-02T22:12:00.203Z] dd3240ac7de5: Pull complete [2022-07-02T22:12:00.203Z] b1e948a4e11c: Pull complete [2022-07-02T22:12:02.751Z] a8fd76ee1af6: Pull complete [2022-07-02T22:12:03.319Z] 646ad004c059: Pull complete [2022-07-02T22:12:03.319Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-02T22:12:03.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-02T22:12:03.319Z] ---> 8f69c11f6b0c [2022-07-02T22:12:03.319Z] Step 3/13 : ARG MAKE="make build" [2022-07-02T22:12:04.703Z] ---> Running in 1609fc9748ba [2022-07-02T22:12:04.703Z] Removing intermediate container 1609fc9748ba [2022-07-02T22:12:04.703Z] ---> 9635705b0cf9 [2022-07-02T22:12:04.703Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-02T22:12:04.703Z] ---> Running in e5d710405144 [2022-07-02T22:12:04.964Z] Removing intermediate container e5d710405144 [2022-07-02T22:12:04.964Z] ---> 533d5074fa09 [2022-07-02T22:12:04.964Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-02T22:12:04.964Z] ---> Running in e10267e966db [2022-07-02T22:12:04.964Z] Removing intermediate container e10267e966db [2022-07-02T22:12:04.964Z] ---> c3b66b16b5fb [2022-07-02T22:12:04.964Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-02T22:12:04.964Z] ---> Running in ab11cf8d18f4 [2022-07-02T22:12:05.227Z] Removing intermediate container ab11cf8d18f4 [2022-07-02T22:12:05.227Z] ---> c4a484a8d85e [2022-07-02T22:12:05.227Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-02T22:12:05.227Z] ---> Running in d1e4d6aaa18f [2022-07-02T22:12:05.797Z] Removing intermediate container d1e4d6aaa18f [2022-07-02T22:12:05.797Z] ---> 150064670f6a [2022-07-02T22:12:05.797Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-02T22:12:05.797Z] ---> Running in 7563810fbd85 [2022-07-02T22:12:06.058Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-02T22:12:07.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-02T22:12:07.575Z] OK: 221 MiB in 52 packages [2022-07-02T22:12:07.843Z] Removing intermediate container 7563810fbd85 [2022-07-02T22:12:07.843Z] ---> 5b04ecb8e4ce [2022-07-02T22:12:07.843Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-02T22:12:07.843Z] ---> Running in ec63a5159553 [2022-07-02T22:12:07.843Z] Removing intermediate container ec63a5159553 [2022-07-02T22:12:07.843Z] ---> 8f4f519e8c6e [2022-07-02T22:12:07.843Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-02T22:12:08.105Z] ---> aa2329a6bb60 [2022-07-02T22:12:08.105Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-02T22:12:08.105Z] ---> Running in da1d8b2deab2 [2022-07-02T22:12:08.651Z] Still waiting to schedule task [2022-07-02T22:12:08.652Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-02T22:12:34.692Z] Removing intermediate container da1d8b2deab2 [2022-07-02T22:12:34.692Z] ---> 6e328cb242d8 [2022-07-02T22:12:34.692Z] Step 12/13 : COPY . . [2022-07-02T22:12:34.692Z] ---> 2342574527e0 [2022-07-02T22:12:34.692Z] Step 13/13 : RUN ${MAKE} [2022-07-02T22:12:34.692Z] ---> Running in 92322c7b918b [2022-07-02T22:12:34.692Z] noop [2022-07-02T22:12:34.692Z] Removing intermediate container 92322c7b918b [2022-07-02T22:12:34.692Z] ---> 32072c4459d3 [2022-07-02T22:12:34.692Z] Successfully built 32072c4459d3 [2022-07-02T22:12:34.692Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:12:35.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-02T22:12:35.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:12:35.099Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:12:35.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-02T22:12:35.562Z] $ docker top b378c13b6679a7ef2291fe0b38709d9899fd50b453396fac07b8c2a585b4d4f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-02T22:12:35.922Z] + go version [2022-07-02T22:12:35.922Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-02T22:12:35.938Z] $ docker stop --time=1 b378c13b6679a7ef2291fe0b38709d9899fd50b453396fac07b8c2a585b4d4f9 [2022-07-02T22:12:37.237Z] $ docker rm -f b378c13b6679a7ef2291fe0b38709d9899fd50b453396fac07b8c2a585b4d4f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:12:37.732Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-02T22:12:37.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:12:37.830Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:12:37.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-02T22:12:38.258Z] $ docker top 4252f2362e1678b0615379c7797d1079df3a64421a1c45a7e7d3204aa483a524 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-02T22:12:38.642Z] + make test [2022-07-02T22:12:38.642Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-02T22:12:38.903Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-02T22:12:48.901Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-02T22:12:49.162Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements [2022-07-02T22:12:49.163Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-02T22:12:53.369Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.870s coverage: 13.8% of statements [2022-07-02T22:13:01.503Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-02T22:13:04.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-02T22:13:04.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-02T22:13:04.798Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-02T22:13:05.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-02T22:13:05.090Z] $ docker stop --time=1 4252f2362e1678b0615379c7797d1079df3a64421a1c45a7e7d3204aa483a524 [2022-07-02T22:13:06.827Z] $ docker rm -f 4252f2362e1678b0615379c7797d1079df3a64421a1c45a7e7d3204aa483a524 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-02T22:13:07.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-02T22:13:07.313Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-02T22:13:07.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-02T22:13:08.102Z] + ls -al . [2022-07-02T22:13:08.102Z] total 248 [2022-07-02T22:13:08.102Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 22:13 . [2022-07-02T22:13:08.102Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 22:11 .. [2022-07-02T22:13:08.102Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 22:11 .git [2022-07-02T22:13:08.102Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 22:11 .github [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 2 22:11 .gitignore [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 22:11 .golangci.yml [2022-07-02T22:13:08.102Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 22:11 .semver [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 2 22:11 Attribution.txt [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 2 22:11 CHANGELOG.md [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 2 22:11 Dockerfile [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 22:11 GOVERNANCE.md [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 2 22:11 Jenkinsfile [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 22:11 LICENSE [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 2 22:11 Makefile [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 2 22:11 OWNERS.md [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 2 22:11 README.md [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 22:11 VERSION [2022-07-02T22:13:08.102Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 22:11 bin [2022-07-02T22:13:08.102Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 22:11 cmd [2022-07-02T22:13:08.102Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 2 22:12 coverage.out [2022-07-02T22:13:08.102Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 22:11 doc [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 2 22:11 go.mod [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 2 22:11 go.sum [2022-07-02T22:13:08.102Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 22:11 internal [2022-07-02T22:13:08.102Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 2 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:08.416Z] + 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=84f2c4fd4e35f46928256df416a01a34dc7a6192 --label arch=amd64 --label version=0.0.1-dev.21 . [2022-07-02T22:13:08.416Z] Sending build context to Docker daemon 9.404MB [2022-07-02T22:13:08.416Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-02T22:13:08.416Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-02T22:13:08.416Z] ---> 32072c4459d3 [2022-07-02T22:13:08.416Z] Step 3/26 : ARG MAKE="make build" [2022-07-02T22:13:08.416Z] ---> Running in da1074fdcba4 [2022-07-02T22:13:08.676Z] Removing intermediate container da1074fdcba4 [2022-07-02T22:13:08.676Z] ---> 28bc71ac06b9 [2022-07-02T22:13:08.676Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-02T22:13:08.676Z] ---> Running in 8855299bcbe9 [2022-07-02T22:13:08.676Z] Removing intermediate container 8855299bcbe9 [2022-07-02T22:13:08.676Z] ---> 99ff95391bfa [2022-07-02T22:13:08.676Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-02T22:13:08.676Z] ---> Running in 90327760ab66 [2022-07-02T22:13:08.936Z] Removing intermediate container 90327760ab66 [2022-07-02T22:13:08.936Z] ---> b159a4859fc8 [2022-07-02T22:13:08.936Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-02T22:13:08.936Z] ---> Running in 564cd6b22e40 [2022-07-02T22:13:08.936Z] Removing intermediate container 564cd6b22e40 [2022-07-02T22:13:08.936Z] ---> 7caaddd8ce2d [2022-07-02T22:13:08.936Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-02T22:13:08.936Z] ---> Running in be7799e60ff4 [2022-07-02T22:13:09.506Z] Removing intermediate container be7799e60ff4 [2022-07-02T22:13:09.506Z] ---> efc40a465a55 [2022-07-02T22:13:09.506Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-02T22:13:09.506Z] ---> Running in 1e10910d0919 [2022-07-02T22:13:09.766Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-02T22:13:10.710Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-02T22:13:10.973Z] OK: 221 MiB in 52 packages [2022-07-02T22:13:11.233Z] Removing intermediate container 1e10910d0919 [2022-07-02T22:13:11.233Z] ---> 7717cb833b95 [2022-07-02T22:13:11.233Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-02T22:13:11.233Z] ---> Running in baab94a24b0a [2022-07-02T22:13:11.494Z] Removing intermediate container baab94a24b0a [2022-07-02T22:13:11.494Z] ---> c0b5f99b6f5a [2022-07-02T22:13:11.494Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-02T22:13:11.494Z] ---> 65e269a8d3f1 [2022-07-02T22:13:11.494Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-02T22:13:11.494Z] ---> Running in 13dd54b7c55a [2022-07-02T22:13:12.441Z] Removing intermediate container 13dd54b7c55a [2022-07-02T22:13:12.441Z] ---> c3cd8dca61ba [2022-07-02T22:13:12.441Z] Step 12/26 : COPY . . [2022-07-02T22:13:12.703Z] ---> 33c742bb5e3d [2022-07-02T22:13:12.703Z] Step 13/26 : RUN ${MAKE} [2022-07-02T22:13:12.703Z] ---> Running in 2104b3064a38 [2022-07-02T22:13:12.963Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.21 -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-07-02T22:13:34.920Z] Removing intermediate container 2104b3064a38 [2022-07-02T22:13:34.920Z] ---> 20cc53e75747 [2022-07-02T22:13:34.920Z] Step 14/26 : FROM alpine:3.15 [2022-07-02T22:13:34.920Z] 3.15: Pulling from library/alpine [2022-07-02T22:13:34.920Z] df9b9388f04a: Pulling fs layer [2022-07-02T22:13:34.920Z] df9b9388f04a: Verifying Checksum [2022-07-02T22:13:34.920Z] df9b9388f04a: Download complete [2022-07-02T22:13:34.920Z] df9b9388f04a: Pull complete [2022-07-02T22:13:34.920Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-02T22:13:34.920Z] Status: Downloaded newer image for alpine:3.15 [2022-07-02T22:13:34.920Z] ---> 0ac33e5f5afa [2022-07-02T22:13:34.920Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-02T22:13:34.920Z] ---> Running in 613f2582b5a0 [2022-07-02T22:13:34.920Z] Removing intermediate container 613f2582b5a0 [2022-07-02T22:13:34.920Z] ---> d4c84d078ea9 [2022-07-02T22:13:34.920Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-02T22:13:34.920Z] ---> Running in adfb8b6c4733 [2022-07-02T22:13:34.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-02T22:13:34.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-02T22:13:34.920Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-02T22:13:34.920Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-02T22:13:34.920Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-02T22:13:34.920Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-02T22:13:34.920Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-02T22:13:34.920Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-02T22:13:34.920Z] Executing busybox-1.34.1-r5.trigger [2022-07-02T22:13:34.920Z] OK: 8 MiB in 20 packages [2022-07-02T22:13:34.920Z] Removing intermediate container adfb8b6c4733 [2022-07-02T22:13:34.920Z] ---> e5a3bebd1d35 [2022-07-02T22:13:34.920Z] Step 17/26 : WORKDIR / [2022-07-02T22:13:34.920Z] ---> Running in 08fd558fd61a [2022-07-02T22:13:34.920Z] Removing intermediate container 08fd558fd61a [2022-07-02T22:13:34.920Z] ---> eee17a8d5390 [2022-07-02T22:13:34.920Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-02T22:13:35.181Z] ---> c9615012bae0 [2022-07-02T22:13:35.181Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-02T22:13:35.441Z] ---> 1131f4eae18b [2022-07-02T22:13:35.441Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-02T22:13:35.441Z] ---> 39267d6c01c9 [2022-07-02T22:13:35.441Z] Step 21/26 : EXPOSE 59984 [2022-07-02T22:13:35.701Z] ---> Running in 7b56574b16d2 [2022-07-02T22:13:35.701Z] Removing intermediate container 7b56574b16d2 [2022-07-02T22:13:35.701Z] ---> 84a3d4fb520a [2022-07-02T22:13:35.701Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-02T22:13:35.701Z] ---> Running in 6fdc7d0b4d3f [2022-07-02T22:13:35.701Z] Removing intermediate container 6fdc7d0b4d3f [2022-07-02T22:13:35.701Z] ---> 0187cf058828 [2022-07-02T22:13:35.701Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-02T22:13:35.701Z] ---> Running in 2f462cfc0e37 [2022-07-02T22:13:35.961Z] Removing intermediate container 2f462cfc0e37 [2022-07-02T22:13:35.961Z] ---> f61d42fe2cd9 [2022-07-02T22:13:35.961Z] Step 24/26 : LABEL arch=amd64 [2022-07-02T22:13:35.961Z] ---> Running in 57f7db8397d9 [2022-07-02T22:13:35.961Z] Removing intermediate container 57f7db8397d9 [2022-07-02T22:13:35.961Z] ---> 6d6060387067 [2022-07-02T22:13:35.961Z] Step 25/26 : LABEL git_sha=84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:13:35.961Z] ---> Running in 70481ba94d76 [2022-07-02T22:13:36.222Z] Removing intermediate container 70481ba94d76 [2022-07-02T22:13:36.222Z] ---> ce94f269dbb4 [2022-07-02T22:13:36.222Z] Step 26/26 : LABEL version=0.0.1-dev.21 [2022-07-02T22:13:36.222Z] ---> Running in 96f324ca0342 [2022-07-02T22:13:36.222Z] Removing intermediate container 96f324ca0342 [2022-07-02T22:13:36.222Z] ---> 1da0903170e1 [2022-07-02T22:13:36.222Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-02T22:13:36.222Z] Successfully built 1da0903170e1 [2022-07-02T22:13:36.222Z] 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-07-02T22:13:36.332Z] provisioning config files... [2022-07-02T22:13:36.343Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1778848952443116789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:13:36.640Z] ---> docker-login.sh [2022-07-02T22:13:36.640Z] nexus3.edgexfoundry.org:10001 [2022-07-02T22:13:36.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:13:36.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:13:36.640Z] Configure a credential helper to remove this warning. See [2022-07-02T22:13:36.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:13:36.640Z] [2022-07-02T22:13:36.640Z] Login Succeeded [2022-07-02T22:13:36.640Z] nexus3.edgexfoundry.org:10002 [2022-07-02T22:13:36.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:13:36.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:13:36.901Z] Configure a credential helper to remove this warning. See [2022-07-02T22:13:36.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:13:36.901Z] [2022-07-02T22:13:36.901Z] Login Succeeded [2022-07-02T22:13:36.901Z] nexus3.edgexfoundry.org:10003 [2022-07-02T22:13:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:13:36.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:13:36.902Z] Configure a credential helper to remove this warning. See [2022-07-02T22:13:36.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:13:36.902Z] [2022-07-02T22:13:36.902Z] Login Succeeded [2022-07-02T22:13:36.902Z] nexus3.edgexfoundry.org:10004 [2022-07-02T22:13:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:13:37.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:13:37.163Z] Configure a credential helper to remove this warning. See [2022-07-02T22:13:37.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:13:37.163Z] [2022-07-02T22:13:37.163Z] Login Succeeded [2022-07-02T22:13:37.163Z] docker.io [2022-07-02T22:13:37.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:13:37.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:13:37.424Z] Configure a credential helper to remove this warning. See [2022-07-02T22:13:37.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:13:37.424Z] [2022-07-02T22:13:37.424Z] Login Succeeded [2022-07-02T22:13:37.424Z] ---> docker-login.sh ends [Pipeline] } [2022-07-02T22:13:37.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-02T22:13:37.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:13:37.486Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-07-02T22:13:37.486Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:13:37.486Z] latest [2022-07-02T22:13:37.486Z] 0.0.1-dev.21 [2022-07-02T22:13:37.486Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:13:37.486Z] main [2022-07-02T22:13:37.486Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:37.807Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:38.123Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:13:38.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-02T22:13:38.123Z] 1723b2925f2f: Preparing [2022-07-02T22:13:38.123Z] fbc0249bc129: Preparing [2022-07-02T22:13:38.123Z] 87999f249bed: Preparing [2022-07-02T22:13:38.123Z] f07555d4984b: Preparing [2022-07-02T22:13:38.123Z] 4fc242d58285: Preparing [2022-07-02T22:13:38.123Z] 4fc242d58285: Layer already exists [2022-07-02T22:13:38.123Z] fbc0249bc129: Pushed [2022-07-02T22:13:38.124Z] 1723b2925f2f: Pushed [2022-07-02T22:13:38.384Z] f07555d4984b: Pushed [2022-07-02T22:13:40.928Z] 87999f249bed: Pushed [2022-07-02T22:13:40.928Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192: digest: sha256:117b6b67e0aabb61ba48ff0e7e246b44d415543397e38de1c3111b89ebf0c141 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:41.254Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:41.568Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-02T22:13:41.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-02T22:13:41.568Z] 1723b2925f2f: Preparing [2022-07-02T22:13:41.568Z] fbc0249bc129: Preparing [2022-07-02T22:13:41.568Z] 87999f249bed: Preparing [2022-07-02T22:13:41.568Z] f07555d4984b: Preparing [2022-07-02T22:13:41.568Z] 4fc242d58285: Preparing [2022-07-02T22:13:41.568Z] 1723b2925f2f: Layer already exists [2022-07-02T22:13:41.568Z] 87999f249bed: Layer already exists [2022-07-02T22:13:41.568Z] fbc0249bc129: Layer already exists [2022-07-02T22:13:41.568Z] f07555d4984b: Layer already exists [2022-07-02T22:13:41.568Z] 4fc242d58285: Layer already exists [2022-07-02T22:13:41.568Z] latest: digest: sha256:117b6b67e0aabb61ba48ff0e7e246b44d415543397e38de1c3111b89ebf0c141 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:41.887Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:42.206Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.21 [2022-07-02T22:13:42.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-02T22:13:42.206Z] 1723b2925f2f: Preparing [2022-07-02T22:13:42.206Z] fbc0249bc129: Preparing [2022-07-02T22:13:42.206Z] 87999f249bed: Preparing [2022-07-02T22:13:42.206Z] f07555d4984b: Preparing [2022-07-02T22:13:42.206Z] 4fc242d58285: Preparing [2022-07-02T22:13:42.206Z] 87999f249bed: Layer already exists [2022-07-02T22:13:42.206Z] 4fc242d58285: Layer already exists [2022-07-02T22:13:42.206Z] fbc0249bc129: Layer already exists [2022-07-02T22:13:42.206Z] f07555d4984b: Layer already exists [2022-07-02T22:13:42.206Z] 1723b2925f2f: Layer already exists [2022-07-02T22:13:42.206Z] 0.0.1-dev.21: digest: sha256:117b6b67e0aabb61ba48ff0e7e246b44d415543397e38de1c3111b89ebf0c141 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:42.519Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:42.831Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:13:42.831Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-02T22:13:42.831Z] 1723b2925f2f: Preparing [2022-07-02T22:13:42.831Z] fbc0249bc129: Preparing [2022-07-02T22:13:42.831Z] 87999f249bed: Preparing [2022-07-02T22:13:42.831Z] f07555d4984b: Preparing [2022-07-02T22:13:42.831Z] 4fc242d58285: Preparing [2022-07-02T22:13:42.831Z] 87999f249bed: Layer already exists [2022-07-02T22:13:42.831Z] 1723b2925f2f: Layer already exists [2022-07-02T22:13:42.831Z] 4fc242d58285: Layer already exists [2022-07-02T22:13:42.831Z] f07555d4984b: Layer already exists [2022-07-02T22:13:42.831Z] fbc0249bc129: Layer already exists [2022-07-02T22:13:42.831Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21: digest: sha256:117b6b67e0aabb61ba48ff0e7e246b44d415543397e38de1c3111b89ebf0c141 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:43.155Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:43.477Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-07-02T22:13:43.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-02T22:13:43.477Z] 1723b2925f2f: Preparing [2022-07-02T22:13:43.477Z] fbc0249bc129: Preparing [2022-07-02T22:13:43.477Z] 87999f249bed: Preparing [2022-07-02T22:13:43.477Z] f07555d4984b: Preparing [2022-07-02T22:13:43.477Z] 4fc242d58285: Preparing [2022-07-02T22:13:43.478Z] f07555d4984b: Layer already exists [2022-07-02T22:13:43.478Z] fbc0249bc129: Layer already exists [2022-07-02T22:13:43.478Z] 4fc242d58285: Layer already exists [2022-07-02T22:13:43.478Z] 87999f249bed: Layer already exists [2022-07-02T22:13:43.478Z] 1723b2925f2f: Layer already exists [2022-07-02T22:13:43.478Z] main: digest: sha256:117b6b67e0aabb61ba48ff0e7e246b44d415543397e38de1c3111b89ebf0c141 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-02T22:13:43.530Z] ===================================================== [Pipeline] echo [2022-07-02T22:13:43.539Z] taggedImages: [2022-07-02T22:13:43.539Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:13:43.539Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-02T22:13:43.539Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.21 [2022-07-02T22:13:43.539Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:13:43.539Z] - 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-07-02T22:13:43.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-02T22:13:43.908Z] [2022-07-02T22:13:43.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:13:44.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-02T22:13:44.215Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-02T22:13:44.215Z] 5eb5b503b376: Pulling fs layer [2022-07-02T22:13:44.215Z] 5c69ac0246d0: Pulling fs layer [2022-07-02T22:13:44.215Z] ec43610c2a17: Pulling fs layer [2022-07-02T22:13:44.215Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-02T22:13:44.215Z] 33b1e0a273af: Pulling fs layer [2022-07-02T22:13:44.215Z] 5d3b04190fa2: Pulling fs layer [2022-07-02T22:13:44.215Z] 2f39f015ded8: Pulling fs layer [2022-07-02T22:13:44.215Z] 3a2ae6a8a46f: Waiting [2022-07-02T22:13:44.215Z] 33b1e0a273af: Waiting [2022-07-02T22:13:44.215Z] 5d3b04190fa2: Waiting [2022-07-02T22:13:44.215Z] 2f39f015ded8: Waiting [2022-07-02T22:13:44.215Z] 5c69ac0246d0: Verifying Checksum [2022-07-02T22:13:44.215Z] 5c69ac0246d0: Download complete [2022-07-02T22:13:44.215Z] 3a2ae6a8a46f: Download complete [2022-07-02T22:13:44.215Z] ec43610c2a17: Verifying Checksum [2022-07-02T22:13:44.215Z] ec43610c2a17: Download complete [2022-07-02T22:13:44.215Z] 33b1e0a273af: Verifying Checksum [2022-07-02T22:13:44.215Z] 33b1e0a273af: Download complete [2022-07-02T22:13:44.474Z] 5d3b04190fa2: Download complete [2022-07-02T22:13:44.474Z] 5eb5b503b376: Download complete [2022-07-02T22:13:45.040Z] 2f39f015ded8: Download complete [2022-07-02T22:13:45.606Z] 5eb5b503b376: Pull complete [2022-07-02T22:13:45.864Z] 5c69ac0246d0: Pull complete [2022-07-02T22:13:46.123Z] ec43610c2a17: Pull complete [2022-07-02T22:13:46.383Z] 3a2ae6a8a46f: Pull complete [2022-07-02T22:13:46.383Z] 33b1e0a273af: Pull complete [2022-07-02T22:13:46.642Z] 5d3b04190fa2: Pull complete [2022-07-02T22:13:49.972Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16719 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-07-02T22:13:49.984Z] Running in /w/workspace/device-onvif-camera/24 [Pipeline] { [Pipeline] checkout [2022-07-02T22:13:50.028Z] Selected Git installation does not exist. Using Default [2022-07-02T22:13:50.028Z] The recommended git tool is: NONE [2022-07-02T22:13:50.839Z] 2f39f015ded8: Pull complete [2022-07-02T22:13:50.840Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-02T22:13:50.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-02T22:13:50.840Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:13:50.978Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:13:51.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-02T22:13:52.451Z] $ docker top ec6ef7d39de55417662129888196f28f9c199f80c5696f62f52274ebfb8f5408 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:13:52.861Z] ---> job-cost.sh [2022-07-02T22:13:52.861Z] lf-activate-venv: SKIPPING [2022-07-02T22:13:52.861Z] INFO: No Stack... [2022-07-02T22:13:53.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-02T22:13:53.691Z] INFO: Archiving Costs [Pipeline] sh [2022-07-02T22:13:53.982Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-07-02T22:13:53.982Z] + cut -d, -f6 [Pipeline] lock [2022-07-02T22:13:53.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [2022-07-02T22:13:54.004Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] did not exist. Created. [2022-07-02T22:13:54.004Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-02T22:13:54.300Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-02T22:13:54.333Z] Stashed 1 file(s) [Pipeline] } [2022-07-02T22:13:54.340Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-02T22:13:54.362Z] $ docker stop --time=1 ec6ef7d39de55417662129888196f28f9c199f80c5696f62f52274ebfb8f5408 [2022-07-02T22:13:55.556Z] $ docker rm -f ec6ef7d39de55417662129888196f28f9c199f80c5696f62f52274ebfb8f5408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-02T22:13:56.231Z] using credential edgex-jenkins-ssh [2022-07-02T22:13:56.253Z] Cloning the remote Git repository [2022-07-02T22:13:56.323Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-02T22:13:57.631Z] Avoid second fetch [2022-07-02T22:13:57.632Z] Checking out Revision 84f2c4fd4e35f46928256df416a01a34dc7a6192 (main) [2022-07-02T22:13:56.430Z] > git init /w/workspace/device-onvif-camera/24 # timeout=10 [2022-07-02T22:13:56.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-02T22:13:56.592Z] > git --version # timeout=10 [2022-07-02T22:13:56.630Z] > git --version # 'git version 2.25.1' [2022-07-02T22:13:56.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-02T22:13:56.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-02T22:13:57.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-02T22:13:57.610Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-02T22:13:57.659Z] > git config core.sparsecheckout # timeout=10 [2022-07-02T22:13:57.689Z] > git checkout -f 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 [2022-07-02T22:14:02.155Z] Commit message: "fix: set-credentials ALL option (#99)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-02T22:14:03.077Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-02T22:14:03.077Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-02T22:14:03.077Z] Dload Upload Total Spent Left Speed [2022-07-02T22:14:03.077Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 84503 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh [2022-07-02T22:14:03.753Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-02T22:14:04.102Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-02T22:14:04.102Z] + sudo tee /etc/docker/daemon.new [2022-07-02T22:14:04.102Z] { [2022-07-02T22:14:04.102Z] "registry-mirrors": [ [2022-07-02T22:14:04.102Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-02T22:14:04.102Z] ], [2022-07-02T22:14:04.102Z] "bip": "10.250.0.254/24", [2022-07-02T22:14:04.102Z] "hosts": [ [2022-07-02T22:14:04.102Z] "tcp://0.0.0.0:5555", [2022-07-02T22:14:04.102Z] "unix:///var/run/docker.sock" [2022-07-02T22:14:04.102Z] ], [2022-07-02T22:14:04.102Z] "mtu": 1458, [2022-07-02T22:14:04.102Z] "selinux-enabled": true, [2022-07-02T22:14:04.102Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-02T22:14:04.102Z] } [Pipeline] sh [2022-07-02T22:14:04.458Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-02T22:14:04.798Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-02T22:14:23.140Z] provisioning config files... [2022-07-02T22:14:23.164Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/24@tmp/config4479922636910007546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:14:23.524Z] ---> docker-login.sh [2022-07-02T22:14:23.524Z] nexus3.edgexfoundry.org:10001 [2022-07-02T22:14:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:14:24.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:14:24.397Z] Configure a credential helper to remove this warning. See [2022-07-02T22:14:24.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:14:24.397Z] [2022-07-02T22:14:24.397Z] Login Succeeded [2022-07-02T22:14:24.397Z] nexus3.edgexfoundry.org:10002 [2022-07-02T22:14:24.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:14:24.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:14:24.673Z] Configure a credential helper to remove this warning. See [2022-07-02T22:14:24.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:14:24.673Z] [2022-07-02T22:14:24.673Z] Login Succeeded [2022-07-02T22:14:24.673Z] nexus3.edgexfoundry.org:10003 [2022-07-02T22:14:25.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:14:25.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:14:25.275Z] Configure a credential helper to remove this warning. See [2022-07-02T22:14:25.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:14:25.275Z] [2022-07-02T22:14:25.275Z] Login Succeeded [2022-07-02T22:14:25.275Z] nexus3.edgexfoundry.org:10004 [2022-07-02T22:14:25.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:14:25.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:14:25.550Z] Configure a credential helper to remove this warning. See [2022-07-02T22:14:25.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:14:25.550Z] [2022-07-02T22:14:25.550Z] Login Succeeded [2022-07-02T22:14:25.825Z] docker.io [2022-07-02T22:14:26.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:14:26.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:14:26.373Z] Configure a credential helper to remove this warning. See [2022-07-02T22:14:26.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:14:26.373Z] [2022-07-02T22:14:26.373Z] Login Succeeded [2022-07-02T22:14:26.373Z] ---> docker-login.sh ends [Pipeline] } [2022-07-02T22:14:26.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-02T22:14:26.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:14:26.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:14:26.967Z] ========================================================= [2022-07-02T22:14:26.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-02T22:14:26.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:14:27.462Z] + 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-07-02T22:14:27.739Z] Sending build context to Docker daemon 6.421MB [2022-07-02T22:14:28.013Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-02T22:14:28.013Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-02T22:14:28.013Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-02T22:14:28.013Z] 9b3977197b4f: Pulling fs layer [2022-07-02T22:14:28.013Z] 1a89e8eeedd5: Pulling fs layer [2022-07-02T22:14:28.013Z] 94645a83ff95: Pulling fs layer [2022-07-02T22:14:28.013Z] e6fb740bc735: Pulling fs layer [2022-07-02T22:14:28.013Z] 3a77bd46dcc9: Pulling fs layer [2022-07-02T22:14:28.013Z] 355e64cbe906: Pulling fs layer [2022-07-02T22:14:28.013Z] 63ab81a10011: Pulling fs layer [2022-07-02T22:14:28.013Z] 555d1d1c4555: Pulling fs layer [2022-07-02T22:14:28.013Z] 7d9057610161: Pulling fs layer [2022-07-02T22:14:28.013Z] 3a77bd46dcc9: Waiting [2022-07-02T22:14:28.013Z] 355e64cbe906: Waiting [2022-07-02T22:14:28.013Z] 63ab81a10011: Waiting [2022-07-02T22:14:28.013Z] 555d1d1c4555: Waiting [2022-07-02T22:14:28.013Z] 7d9057610161: Waiting [2022-07-02T22:14:28.013Z] e6fb740bc735: Waiting [2022-07-02T22:14:28.013Z] 94645a83ff95: Verifying Checksum [2022-07-02T22:14:28.013Z] 94645a83ff95: Download complete [2022-07-02T22:14:28.013Z] 1a89e8eeedd5: Verifying Checksum [2022-07-02T22:14:28.013Z] 1a89e8eeedd5: Download complete [2022-07-02T22:14:28.013Z] 3a77bd46dcc9: Verifying Checksum [2022-07-02T22:14:28.013Z] 3a77bd46dcc9: Download complete [2022-07-02T22:14:28.013Z] 355e64cbe906: Verifying Checksum [2022-07-02T22:14:28.013Z] 355e64cbe906: Download complete [2022-07-02T22:14:28.013Z] 9b3977197b4f: Verifying Checksum [2022-07-02T22:14:28.013Z] 9b3977197b4f: Download complete [2022-07-02T22:14:28.291Z] 63ab81a10011: Verifying Checksum [2022-07-02T22:14:28.291Z] 63ab81a10011: Download complete [2022-07-02T22:14:29.288Z] 7d9057610161: Verifying Checksum [2022-07-02T22:14:29.288Z] 7d9057610161: Download complete [2022-07-02T22:14:29.288Z] 9b3977197b4f: Pull complete [2022-07-02T22:14:29.564Z] 1a89e8eeedd5: Pull complete [2022-07-02T22:14:30.164Z] 94645a83ff95: Pull complete [2022-07-02T22:14:30.164Z] 555d1d1c4555: Verifying Checksum [2022-07-02T22:14:30.164Z] 555d1d1c4555: Download complete [2022-07-02T22:14:30.763Z] e6fb740bc735: Download complete [2022-07-02T22:14:43.161Z] e6fb740bc735: Pull complete [2022-07-02T22:14:43.161Z] 3a77bd46dcc9: Pull complete [2022-07-02T22:14:43.161Z] 355e64cbe906: Pull complete [2022-07-02T22:14:43.161Z] 63ab81a10011: Pull complete [2022-07-02T22:14:49.884Z] 555d1d1c4555: Pull complete [2022-07-02T22:14:51.331Z] 7d9057610161: Pull complete [2022-07-02T22:14:51.331Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-02T22:14:51.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-02T22:14:51.331Z] ---> 819e984ddca1 [2022-07-02T22:14:51.331Z] Step 3/13 : ARG MAKE="make build" [2022-07-02T22:14:53.327Z] ---> Running in f01ed0b27cd0 [2022-07-02T22:14:53.327Z] Removing intermediate container f01ed0b27cd0 [2022-07-02T22:14:53.327Z] ---> abd3953f348b [2022-07-02T22:14:53.327Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-02T22:14:53.327Z] ---> Running in 268d50840d59 [2022-07-02T22:14:53.601Z] Removing intermediate container 268d50840d59 [2022-07-02T22:14:53.601Z] ---> fd4c6194f438 [2022-07-02T22:14:53.601Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-02T22:14:53.601Z] ---> Running in 0c5d970b50b2 [2022-07-02T22:14:53.875Z] Removing intermediate container 0c5d970b50b2 [2022-07-02T22:14:53.875Z] ---> bf19ce69cbbb [2022-07-02T22:14:53.875Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-02T22:14:54.150Z] ---> Running in 4f370b9c5bc9 [2022-07-02T22:14:54.429Z] Removing intermediate container 4f370b9c5bc9 [2022-07-02T22:14:54.429Z] ---> 4e68d9db3707 [2022-07-02T22:14:54.429Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-02T22:14:54.429Z] ---> Running in 531ba5dc75bb [2022-07-02T22:14:56.416Z] Removing intermediate container 531ba5dc75bb [2022-07-02T22:14:56.416Z] ---> d087827a8dd1 [2022-07-02T22:14:56.416Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-02T22:14:56.416Z] ---> Running in 3a51a9e4dc5e [2022-07-02T22:14:57.013Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-02T22:14:57.992Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-02T22:14:59.002Z] OK: 220 MiB in 52 packages [2022-07-02T22:15:00.468Z] Removing intermediate container 3a51a9e4dc5e [2022-07-02T22:15:00.468Z] ---> faee5c8937e6 [2022-07-02T22:15:00.468Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-02T22:15:00.468Z] ---> Running in 6cd00d73a84d [2022-07-02T22:15:00.469Z] Removing intermediate container 6cd00d73a84d [2022-07-02T22:15:00.469Z] ---> 0288b6e1d17e [2022-07-02T22:15:00.469Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-02T22:15:01.066Z] ---> c4a857f2b0c8 [2022-07-02T22:15:01.066Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-02T22:15:01.066Z] ---> Running in 15ac7fa0dd55 [2022-07-02T22:15:48.075Z] Removing intermediate container 15ac7fa0dd55 [2022-07-02T22:15:48.075Z] ---> 488fca9d38cf [2022-07-02T22:15:48.075Z] Step 12/13 : COPY . . [2022-07-02T22:15:48.075Z] ---> fb9e1848a36f [2022-07-02T22:15:48.075Z] Step 13/13 : RUN ${MAKE} [2022-07-02T22:15:48.075Z] ---> Running in a607f34bd35d [2022-07-02T22:15:48.075Z] noop [2022-07-02T22:15:48.349Z] Removing intermediate container a607f34bd35d [2022-07-02T22:15:48.349Z] ---> 007be17c12e8 [2022-07-02T22:15:48.349Z] Successfully built 007be17c12e8 [2022-07-02T22:15:48.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:15:48.726Z] + docker inspect -f . ci-base-image-arm64 [2022-07-02T22:15:48.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:15:48.975Z] prd-ubuntu20.04-docker-arm64-4c-16g-16719 does not seem to be running inside a container [2022-07-02T22:15:49.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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-07-02T22:15:50.289Z] $ docker top 6495b7246fc0d8497db98721d36d7a4cc1d5de4fccef23662ad28bb35d87f9af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-02T22:15:51.197Z] + go version [2022-07-02T22:15:51.197Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-02T22:15:51.226Z] $ docker stop --time=1 6495b7246fc0d8497db98721d36d7a4cc1d5de4fccef23662ad28bb35d87f9af [2022-07-02T22:15:52.889Z] $ docker rm -f 6495b7246fc0d8497db98721d36d7a4cc1d5de4fccef23662ad28bb35d87f9af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:15:53.514Z] + docker inspect -f . ci-base-image-arm64 [2022-07-02T22:15:53.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:15:53.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-16719 does not seem to be running inside a container [2022-07-02T22:15:53.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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-07-02T22:15:55.097Z] $ docker top 2e4281cfca142978c5d8d277287d47e436269728fa972a1f5b50c1ed3996e274 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-02T22:15:56.002Z] + make test [2022-07-02T22:15:56.002Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-02T22:15:57.984Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-02T22:17:34.861Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-02T22:17:34.861Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 7.0% of statements [2022-07-02T22:17:34.861Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-02T22:17:53.182Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.789s coverage: 13.8% of statements [2022-07-02T22:17:53.782Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-02T22:17:53.782Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-02T22:18:26.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-02T22:18:26.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-02T22:18:26.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-02T22:18:26.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-02T22:18:26.197Z] $ docker stop --time=1 2e4281cfca142978c5d8d277287d47e436269728fa972a1f5b50c1ed3996e274 [2022-07-02T22:18:27.965Z] $ docker rm -f 2e4281cfca142978c5d8d277287d47e436269728fa972a1f5b50c1ed3996e274 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-02T22:18:28.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-02T22:18:28.924Z] Warning: overwriting stash ‘coverage-report’ [2022-07-02T22:18:29.606Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-02T22:18:30.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-02T22:18:30.360Z] + ls -al . [2022-07-02T22:18:30.360Z] total 244 [2022-07-02T22:18:30.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 22:18 . [2022-07-02T22:18:30.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 22:13 .. [2022-07-02T22:18:30.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 22:14 .git [2022-07-02T22:18:30.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 22:13 .github [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 2 22:13 .gitignore [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 22:13 .golangci.yml [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 2 22:13 Attribution.txt [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 2 22:13 CHANGELOG.md [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 2 22:13 Dockerfile [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 22:13 GOVERNANCE.md [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 2 22:13 Jenkinsfile [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 22:13 LICENSE [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 2 22:13 Makefile [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 2 22:13 OWNERS.md [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 2 22:13 README.md [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 22:11 VERSION [2022-07-02T22:18:30.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 22:13 bin [2022-07-02T22:18:30.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 22:13 cmd [2022-07-02T22:18:30.360Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 2 22:17 coverage.out [2022-07-02T22:18:30.360Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 22:13 doc [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 2 22:13 go.mod [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 2 22:13 go.sum [2022-07-02T22:18:30.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 22:13 internal [2022-07-02T22:18:30.360Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 2 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:18:30.738Z] + 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=84f2c4fd4e35f46928256df416a01a34dc7a6192 --label arch=arm64 --label version=0.0.1-dev.21 . [2022-07-02T22:18:31.359Z] Sending build context to Docker daemon 6.492MB [2022-07-02T22:18:31.359Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-02T22:18:31.359Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-02T22:18:31.359Z] ---> 007be17c12e8 [2022-07-02T22:18:31.359Z] Step 3/26 : ARG MAKE="make build" [2022-07-02T22:18:31.359Z] ---> Running in f5b8feb014ff [2022-07-02T22:18:31.635Z] Removing intermediate container f5b8feb014ff [2022-07-02T22:18:31.635Z] ---> 2b9488171abd [2022-07-02T22:18:31.635Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-02T22:18:31.635Z] ---> Running in 13faa4dd170d [2022-07-02T22:18:31.920Z] Removing intermediate container 13faa4dd170d [2022-07-02T22:18:31.920Z] ---> a0f6825b501e [2022-07-02T22:18:31.920Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-02T22:18:32.192Z] ---> Running in a25de31efae5 [2022-07-02T22:18:32.464Z] Removing intermediate container a25de31efae5 [2022-07-02T22:18:32.464Z] ---> cdd45de4e44b [2022-07-02T22:18:32.464Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-02T22:18:32.464Z] ---> Running in ce8d98070239 [2022-07-02T22:18:32.741Z] Removing intermediate container ce8d98070239 [2022-07-02T22:18:32.741Z] ---> d97f685cb32e [2022-07-02T22:18:32.741Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-02T22:18:32.741Z] ---> Running in 172bc236d7ce [2022-07-02T22:18:34.716Z] Removing intermediate container 172bc236d7ce [2022-07-02T22:18:34.716Z] ---> 077369bee367 [2022-07-02T22:18:34.716Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-02T22:18:34.716Z] ---> Running in acb1fedd72d9 [2022-07-02T22:18:35.312Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-02T22:18:36.287Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-02T22:18:37.267Z] OK: 220 MiB in 52 packages [2022-07-02T22:18:37.858Z] Removing intermediate container acb1fedd72d9 [2022-07-02T22:18:37.858Z] ---> f8e805753dad [2022-07-02T22:18:37.858Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-02T22:18:37.858Z] ---> Running in 22019dbaaf33 [2022-07-02T22:18:38.144Z] Removing intermediate container 22019dbaaf33 [2022-07-02T22:18:38.144Z] ---> 99232dbbd1c4 [2022-07-02T22:18:38.144Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-02T22:18:38.737Z] ---> 9f506804abfa [2022-07-02T22:18:38.737Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-02T22:18:38.737Z] ---> Running in 6d6950867fc7 [2022-07-02T22:18:40.720Z] Removing intermediate container 6d6950867fc7 [2022-07-02T22:18:40.720Z] ---> b19e9bd5e05f [2022-07-02T22:18:40.720Z] Step 12/26 : COPY . . [2022-07-02T22:18:41.702Z] ---> 6fd585933894 [2022-07-02T22:18:41.702Z] Step 13/26 : RUN ${MAKE} [2022-07-02T22:18:41.702Z] ---> Running in bbaf5108c1cd [2022-07-02T22:18:42.680Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.21 -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-07-02T22:20:49.593Z] Removing intermediate container bbaf5108c1cd [2022-07-02T22:20:49.593Z] ---> e8edfde3fe8c [2022-07-02T22:20:49.593Z] Step 14/26 : FROM alpine:3.15 [2022-07-02T22:20:49.593Z] 3.15: Pulling from library/alpine [2022-07-02T22:20:49.593Z] 9981e73032c8: Pulling fs layer [2022-07-02T22:20:49.593Z] 9981e73032c8: Download complete [2022-07-02T22:20:49.593Z] 9981e73032c8: Pull complete [2022-07-02T22:20:49.593Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-02T22:20:49.593Z] Status: Downloaded newer image for alpine:3.15 [2022-07-02T22:20:49.593Z] ---> 3fb3c9af89a9 [2022-07-02T22:20:49.593Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-02T22:20:49.593Z] ---> Running in e4839121ae2b [2022-07-02T22:20:49.593Z] Removing intermediate container e4839121ae2b [2022-07-02T22:20:49.593Z] ---> 26697da5b790 [2022-07-02T22:20:49.593Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-02T22:20:49.593Z] ---> Running in ccfd0718a2cd [2022-07-02T22:20:49.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-02T22:20:49.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-02T22:20:49.593Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-02T22:20:49.593Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-02T22:20:49.593Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-02T22:20:49.593Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-02T22:20:49.593Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-02T22:20:49.593Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-02T22:20:49.593Z] Executing busybox-1.34.1-r5.trigger [2022-07-02T22:20:49.593Z] OK: 8 MiB in 20 packages [2022-07-02T22:20:50.570Z] Removing intermediate container ccfd0718a2cd [2022-07-02T22:20:50.570Z] ---> bf05163c1a49 [2022-07-02T22:20:50.570Z] Step 17/26 : WORKDIR / [2022-07-02T22:20:50.570Z] ---> Running in 2ef4907bebd2 [2022-07-02T22:20:50.843Z] Removing intermediate container 2ef4907bebd2 [2022-07-02T22:20:50.843Z] ---> 104e6bfef450 [2022-07-02T22:20:50.843Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-02T22:20:52.277Z] ---> d56efb5f9a24 [2022-07-02T22:20:52.277Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-02T22:20:52.871Z] ---> 20ad067ee615 [2022-07-02T22:20:52.871Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-02T22:20:53.465Z] ---> 383c4667061e [2022-07-02T22:20:53.465Z] Step 21/26 : EXPOSE 59984 [2022-07-02T22:20:53.465Z] ---> Running in e081f6ff5279 [2022-07-02T22:20:53.740Z] Removing intermediate container e081f6ff5279 [2022-07-02T22:20:53.740Z] ---> cdfff322c561 [2022-07-02T22:20:53.740Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-02T22:20:54.016Z] ---> Running in df27ccd08594 [2022-07-02T22:20:54.290Z] Removing intermediate container df27ccd08594 [2022-07-02T22:20:54.290Z] ---> dc28c5a6bc13 [2022-07-02T22:20:54.290Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-02T22:20:54.290Z] ---> Running in 49b81dc06ed1 [2022-07-02T22:20:54.564Z] Removing intermediate container 49b81dc06ed1 [2022-07-02T22:20:54.565Z] ---> 56ce0df24c18 [2022-07-02T22:20:54.565Z] Step 24/26 : LABEL arch=arm64 [2022-07-02T22:20:54.565Z] ---> Running in 355093ebf0eb [2022-07-02T22:20:54.839Z] Removing intermediate container 355093ebf0eb [2022-07-02T22:20:54.839Z] ---> ea8b9861d26e [2022-07-02T22:20:54.839Z] Step 25/26 : LABEL git_sha=84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:20:55.118Z] ---> Running in 0c14c3caad51 [2022-07-02T22:20:55.393Z] Removing intermediate container 0c14c3caad51 [2022-07-02T22:20:55.393Z] ---> cd6b829f71d0 [2022-07-02T22:20:55.393Z] Step 26/26 : LABEL version=0.0.1-dev.21 [2022-07-02T22:20:55.393Z] ---> Running in 706a74dbc170 [2022-07-02T22:20:55.668Z] Removing intermediate container 706a74dbc170 [2022-07-02T22:20:55.668Z] ---> 3833bcc2c194 [2022-07-02T22:20:55.668Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-02T22:20:55.668Z] Successfully built 3833bcc2c194 [2022-07-02T22:20:55.668Z] 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-07-02T22:20:56.070Z] provisioning config files... [2022-07-02T22:20:56.089Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/24@tmp/config5495364350458863596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:20:56.436Z] ---> docker-login.sh [2022-07-02T22:20:56.436Z] nexus3.edgexfoundry.org:10001 [2022-07-02T22:20:56.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:20:56.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:20:56.709Z] Configure a credential helper to remove this warning. See [2022-07-02T22:20:56.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:20:56.709Z] [2022-07-02T22:20:56.709Z] Login Succeeded [2022-07-02T22:20:56.709Z] nexus3.edgexfoundry.org:10002 [2022-07-02T22:20:57.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:20:57.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:20:57.306Z] Configure a credential helper to remove this warning. See [2022-07-02T22:20:57.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:20:57.306Z] [2022-07-02T22:20:57.306Z] Login Succeeded [2022-07-02T22:20:57.306Z] nexus3.edgexfoundry.org:10003 [2022-07-02T22:20:57.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:20:57.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:20:57.853Z] Configure a credential helper to remove this warning. See [2022-07-02T22:20:57.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:20:57.853Z] [2022-07-02T22:20:57.853Z] Login Succeeded [2022-07-02T22:20:57.853Z] nexus3.edgexfoundry.org:10004 [2022-07-02T22:20:58.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:20:58.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:20:58.398Z] Configure a credential helper to remove this warning. See [2022-07-02T22:20:58.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:20:58.398Z] [2022-07-02T22:20:58.398Z] Login Succeeded [2022-07-02T22:20:58.398Z] docker.io [2022-07-02T22:20:58.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-02T22:20:58.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-02T22:20:58.940Z] Configure a credential helper to remove this warning. See [2022-07-02T22:20:58.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-02T22:20:58.940Z] [2022-07-02T22:20:58.940Z] Login Succeeded [2022-07-02T22:20:58.940Z] ---> docker-login.sh ends [Pipeline] } [2022-07-02T22:20:59.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-02T22:20:59.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-02T22:20:59.285Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-07-02T22:20:59.285Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:20:59.285Z] latest [2022-07-02T22:20:59.285Z] 0.0.1-dev.21 [2022-07-02T22:20:59.285Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:20:59.285Z] main [2022-07-02T22:20:59.285Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:20:59.649Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:00.003Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:21:00.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-02T22:21:00.003Z] b36943801d95: Preparing [2022-07-02T22:21:00.003Z] 488adfe11a1f: Preparing [2022-07-02T22:21:00.003Z] 42b728ce07c8: Preparing [2022-07-02T22:21:00.003Z] 0de9cd627bf9: Preparing [2022-07-02T22:21:00.003Z] 4f4ce317c6bb: Preparing [2022-07-02T22:21:00.003Z] 4f4ce317c6bb: Layer already exists [2022-07-02T22:21:00.277Z] 488adfe11a1f: Pushed [2022-07-02T22:21:00.277Z] b36943801d95: Pushed [2022-07-02T22:21:00.870Z] 0de9cd627bf9: Pushed [2022-07-02T22:21:06.251Z] 42b728ce07c8: Pushed [2022-07-02T22:21:06.251Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192: digest: sha256:1e49b4eb95bb77a922c9389f26d7f502d5ddf77b1881eb9ceadbfecaf26e384d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:06.894Z] + 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-07-02T22:21:07.253Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-02T22:21:07.253Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-02T22:21:07.253Z] b36943801d95: Preparing [2022-07-02T22:21:07.253Z] 488adfe11a1f: Preparing [2022-07-02T22:21:07.253Z] 42b728ce07c8: Preparing [2022-07-02T22:21:07.253Z] 0de9cd627bf9: Preparing [2022-07-02T22:21:07.253Z] 4f4ce317c6bb: Preparing [2022-07-02T22:21:07.253Z] 4f4ce317c6bb: Layer already exists [2022-07-02T22:21:07.253Z] 42b728ce07c8: Layer already exists [2022-07-02T22:21:07.253Z] 488adfe11a1f: Layer already exists [2022-07-02T22:21:07.253Z] b36943801d95: Layer already exists [2022-07-02T22:21:07.253Z] 0de9cd627bf9: Layer already exists [2022-07-02T22:21:07.525Z] latest: digest: sha256:1e49b4eb95bb77a922c9389f26d7f502d5ddf77b1881eb9ceadbfecaf26e384d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:07.885Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:08.243Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.21 [2022-07-02T22:21:08.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-02T22:21:08.243Z] b36943801d95: Preparing [2022-07-02T22:21:08.243Z] 488adfe11a1f: Preparing [2022-07-02T22:21:08.243Z] 42b728ce07c8: Preparing [2022-07-02T22:21:08.243Z] 0de9cd627bf9: Preparing [2022-07-02T22:21:08.243Z] 4f4ce317c6bb: Preparing [2022-07-02T22:21:08.243Z] 0de9cd627bf9: Layer already exists [2022-07-02T22:21:08.243Z] 4f4ce317c6bb: Layer already exists [2022-07-02T22:21:08.243Z] 488adfe11a1f: Layer already exists [2022-07-02T22:21:08.243Z] b36943801d95: Layer already exists [2022-07-02T22:21:08.243Z] 42b728ce07c8: Layer already exists [2022-07-02T22:21:08.516Z] 0.0.1-dev.21: digest: sha256:1e49b4eb95bb77a922c9389f26d7f502d5ddf77b1881eb9ceadbfecaf26e384d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:08.879Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:09.240Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:21:09.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-02T22:21:09.240Z] b36943801d95: Preparing [2022-07-02T22:21:09.240Z] 488adfe11a1f: Preparing [2022-07-02T22:21:09.240Z] 42b728ce07c8: Preparing [2022-07-02T22:21:09.240Z] 0de9cd627bf9: Preparing [2022-07-02T22:21:09.240Z] 4f4ce317c6bb: Preparing [2022-07-02T22:21:09.240Z] 4f4ce317c6bb: Layer already exists [2022-07-02T22:21:09.240Z] 0de9cd627bf9: Layer already exists [2022-07-02T22:21:09.240Z] 488adfe11a1f: Layer already exists [2022-07-02T22:21:09.240Z] 42b728ce07c8: Layer already exists [2022-07-02T22:21:09.240Z] b36943801d95: Layer already exists [2022-07-02T22:21:09.511Z] 84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21: digest: sha256:1e49b4eb95bb77a922c9389f26d7f502d5ddf77b1881eb9ceadbfecaf26e384d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:09.874Z] + 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-07-02T22:21:10.220Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-07-02T22:21:10.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-02T22:21:10.220Z] b36943801d95: Preparing [2022-07-02T22:21:10.220Z] 488adfe11a1f: Preparing [2022-07-02T22:21:10.220Z] 42b728ce07c8: Preparing [2022-07-02T22:21:10.220Z] 0de9cd627bf9: Preparing [2022-07-02T22:21:10.220Z] 4f4ce317c6bb: Preparing [2022-07-02T22:21:10.220Z] 4f4ce317c6bb: Layer already exists [2022-07-02T22:21:10.220Z] b36943801d95: Layer already exists [2022-07-02T22:21:10.220Z] 488adfe11a1f: Layer already exists [2022-07-02T22:21:10.220Z] 0de9cd627bf9: Layer already exists [2022-07-02T22:21:10.220Z] 42b728ce07c8: Layer already exists [2022-07-02T22:21:10.493Z] main: digest: sha256:1e49b4eb95bb77a922c9389f26d7f502d5ddf77b1881eb9ceadbfecaf26e384d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-02T22:21:10.555Z] ===================================================== [Pipeline] echo [2022-07-02T22:21:10.563Z] taggedImages: [2022-07-02T22:21:10.563Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192 [2022-07-02T22:21:10.563Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-02T22:21:10.563Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.21 [2022-07-02T22:21:10.563Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84f2c4fd4e35f46928256df416a01a34dc7a6192-0.0.1-dev.21 [2022-07-02T22:21:10.563Z] - 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-07-02T22:21:10.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-02T22:21:10.933Z] [2022-07-02T22:21:10.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:11.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-02T22:21:11.559Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-02T22:21:11.559Z] 8998bd30e6a1: Pulling fs layer [2022-07-02T22:21:11.560Z] 04944245beec: Pulling fs layer [2022-07-02T22:21:11.560Z] 699f458cf7ca: Pulling fs layer [2022-07-02T22:21:11.560Z] 765212b225bb: Pulling fs layer [2022-07-02T22:21:11.560Z] f23df028b6ca: Pulling fs layer [2022-07-02T22:21:11.560Z] d65c8cfc05b1: Pulling fs layer [2022-07-02T22:21:11.560Z] 2437ff75d9bd: Pulling fs layer [2022-07-02T22:21:11.560Z] 765212b225bb: Waiting [2022-07-02T22:21:11.560Z] f23df028b6ca: Waiting [2022-07-02T22:21:11.560Z] d65c8cfc05b1: Waiting [2022-07-02T22:21:11.560Z] 04944245beec: Verifying Checksum [2022-07-02T22:21:11.560Z] 04944245beec: Download complete [2022-07-02T22:21:11.560Z] 765212b225bb: Verifying Checksum [2022-07-02T22:21:11.560Z] 765212b225bb: Download complete [2022-07-02T22:21:11.560Z] f23df028b6ca: Verifying Checksum [2022-07-02T22:21:11.560Z] f23df028b6ca: Download complete [2022-07-02T22:21:11.560Z] d65c8cfc05b1: Verifying Checksum [2022-07-02T22:21:11.560Z] d65c8cfc05b1: Download complete [2022-07-02T22:21:11.836Z] 699f458cf7ca: Verifying Checksum [2022-07-02T22:21:11.836Z] 699f458cf7ca: Download complete [2022-07-02T22:21:12.116Z] 8998bd30e6a1: Verifying Checksum [2022-07-02T22:21:12.116Z] 8998bd30e6a1: Download complete [2022-07-02T22:21:14.832Z] 2437ff75d9bd: Verifying Checksum [2022-07-02T22:21:14.832Z] 2437ff75d9bd: Download complete [2022-07-02T22:21:17.455Z] 8998bd30e6a1: Pull complete [2022-07-02T22:21:17.455Z] 04944245beec: Pull complete [2022-07-02T22:21:18.894Z] 699f458cf7ca: Pull complete [2022-07-02T22:21:19.167Z] 765212b225bb: Pull complete [2022-07-02T22:21:20.146Z] f23df028b6ca: Pull complete [2022-07-02T22:21:20.419Z] d65c8cfc05b1: Pull complete [2022-07-02T22:21:35.506Z] 2437ff75d9bd: Pull complete [2022-07-02T22:21:35.506Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-02T22:21:35.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-02T22:21:35.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:21:35.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-16719 does not seem to be running inside a container [2022-07-02T22:21:35.842Z] $ 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/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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-07-02T22:21:38.423Z] $ docker top cb7a77a2dfbd2e34336ffd2e0ad0e07b162ddefd3245ea8698f3ce5803f7bf7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:21:39.337Z] ---> job-cost.sh [2022-07-02T22:21:39.337Z] lf-activate-venv: SKIPPING [2022-07-02T22:21:39.337Z] INFO: No Stack... [2022-07-02T22:21:39.929Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-02T22:21:40.904Z] INFO: Archiving Costs [Pipeline] sh [2022-07-02T22:21:41.565Z] + cut -d, -f6 [2022-07-02T22:21:41.565Z] + cat /w/workspace/device-onvif-camera/24/archives/cost.csv [Pipeline] lock [2022-07-02T22:21:41.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [2022-07-02T22:21:41.640Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] did not exist. Created. [2022-07-02T22:21:41.640Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-02T22:21:42.297Z] /w/workspace/device-onvif-camera/24@tmp/durable-45b04d74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-02T22:21:42.965Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-02T22:21:42.983Z] Warning: overwriting stash ‘stack-cost’ [2022-07-02T22:21:43.029Z] Stashed 1 file(s) [Pipeline] } [2022-07-02T22:21:43.036Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-02T22:21:43.053Z] $ docker stop --time=1 cb7a77a2dfbd2e34336ffd2e0ad0e07b162ddefd3245ea8698f3ce5803f7bf7a [2022-07-02T22:21:44.508Z] $ docker rm -f cb7a77a2dfbd2e34336ffd2e0ad0e07b162ddefd3245ea8698f3ce5803f7bf7a [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-07-02T22:21:44.934Z] provisioning config files... [2022-07-02T22:21:44.942Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4984216322597964771tmp [Pipeline] { [Pipeline] sh [2022-07-02T22:21:45.238Z] + set +x [2022-07-02T22:21:45.238Z] + curl -s https://codecov.io/bash [2022-07-02T22:21:45.238Z] + bash -s -- [2022-07-02T22:21:45.238Z] [2022-07-02T22:21:45.238Z] _____ _ [2022-07-02T22:21:45.238Z] / ____| | | [2022-07-02T22:21:45.238Z] | | ___ __| | ___ ___ _____ __ [2022-07-02T22:21:45.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-02T22:21:45.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-02T22:21:45.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-02T22:21:45.238Z] Bash-1.0.6 [2022-07-02T22:21:45.238Z] [2022-07-02T22:21:45.238Z] [2022-07-02T22:21:45.238Z] ==> git version 2.25.1 found [2022-07-02T22:21:45.238Z] ==> 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-07-02T22:21:45.238Z] Release-Date: 2020-01-08 [2022-07-02T22:21:45.238Z] 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-07-02T22:21:45.238Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-02T22:21:45.238Z] ==> Jenkins CI detected. [2022-07-02T22:21:45.238Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-07-02T22:21:45.238Z] project root: . [2022-07-02T22:21:45.238Z] --> token set from env [2022-07-02T22:21:45.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-02T22:21:45.238Z] ==> Running gcov in . (disable via -X gcov) [2022-07-02T22:21:45.238Z] ==> Python coveragepy not found [2022-07-02T22:21:45.238Z] ==> Searching for coverage reports in: [2022-07-02T22:21:45.238Z] + . [2022-07-02T22:21:45.238Z] -> Found 1 reports [2022-07-02T22:21:45.238Z] ==> Detecting git/mercurial file structure [2022-07-02T22:21:45.238Z] ==> Reading reports [2022-07-02T22:21:45.238Z] + ./coverage.out bytes=70262 [2022-07-02T22:21:45.500Z] ==> Appending adjustments [2022-07-02T22:21:45.500Z] https://docs.codecov.io/docs/fixing-reports [2022-07-02T22:21:45.500Z] + Found adjustments [2022-07-02T22:21:45.500Z] ==> Gzipping contents [2022-07-02T22:21:45.500Z] 12K /tmp/codecov.5IvbWM.gz [2022-07-02T22:21:45.500Z] ==> Uploading reports [2022-07-02T22:21:45.500Z] url: https://codecov.io [2022-07-02T22:21:45.500Z] query: branch=main&commit=84f2c4fd4e35f46928256df416a01a34dc7a6192&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-02T22:21:45.500Z] -> Pinging Codecov [2022-07-02T22:21:45.500Z] 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=84f2c4fd4e35f46928256df416a01a34dc7a6192&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-02T22:21:45.764Z] -> Uploading to [2022-07-02T22:21:45.764Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-02/F29A59C45E3A92E06B3E522C9905F8EF/84f2c4fd4e35f46928256df416a01a34dc7a6192/328bfee8-5e17-4c89-83b2-6dfc099518cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220702%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220702T222145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cab11c5ee675ce95427be18b2b38f43ed73ec3417bafefbf664dfa2e16b3ab3 [2022-07-02T22:21:45.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-02T22:21:45.764Z] Dload Upload Total Spent Left Speed [2022-07-02T22:21:46.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9333 0 0 100 9333 0 39884 --:--:-- --:--:-- --:--:-- 40055 [2022-07-02T22:21:46.024Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] } [2022-07-02T22:21:46.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-02T22:21:46.231Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-02T22:21:46.243Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:46.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-02T22:21:46.545Z] [2022-07-02T22:21:46.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:21:46.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-02T22:21:46.855Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-02T22:21:46.855Z] df9b9388f04a: Already exists [2022-07-02T22:21:46.855Z] 52dc419b0ee2: Pulling fs layer [2022-07-02T22:21:46.855Z] 25bc292e5bac: Pulling fs layer [2022-07-02T22:21:46.855Z] 114826534d7a: Pulling fs layer [2022-07-02T22:21:46.855Z] 4657fd5d0bcf: Pulling fs layer [2022-07-02T22:21:46.855Z] 6ad1cebc031e: Pulling fs layer [2022-07-02T22:21:46.855Z] 8a3aa393b2d8: Pulling fs layer [2022-07-02T22:21:46.855Z] 4657fd5d0bcf: Waiting [2022-07-02T22:21:46.855Z] 8a3aa393b2d8: Waiting [2022-07-02T22:21:46.855Z] 6ad1cebc031e: Waiting [2022-07-02T22:21:46.855Z] 25bc292e5bac: Download complete [2022-07-02T22:21:46.855Z] 52dc419b0ee2: Verifying Checksum [2022-07-02T22:21:46.855Z] 52dc419b0ee2: Download complete [2022-07-02T22:21:46.855Z] 4657fd5d0bcf: Verifying Checksum [2022-07-02T22:21:46.855Z] 4657fd5d0bcf: Download complete [2022-07-02T22:21:46.856Z] 52dc419b0ee2: Pull complete [2022-07-02T22:21:47.115Z] 25bc292e5bac: Pull complete [2022-07-02T22:21:47.115Z] 6ad1cebc031e: Verifying Checksum [2022-07-02T22:21:47.115Z] 6ad1cebc031e: Download complete [2022-07-02T22:21:47.686Z] 114826534d7a: Verifying Checksum [2022-07-02T22:21:47.686Z] 114826534d7a: Download complete [2022-07-02T22:21:47.686Z] 8a3aa393b2d8: Verifying Checksum [2022-07-02T22:21:47.686Z] 8a3aa393b2d8: Download complete [2022-07-02T22:21:50.979Z] 114826534d7a: Pull complete [2022-07-02T22:21:51.238Z] 4657fd5d0bcf: Pull complete [2022-07-02T22:21:51.498Z] 6ad1cebc031e: Pull complete [2022-07-02T22:21:54.794Z] 8a3aa393b2d8: Pull complete [2022-07-02T22:21:54.794Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-02T22:21:54.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-02T22:21:54.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:21:54.887Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:21:54.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-02T22:21:56.623Z] $ docker top 443c0167e47530b815eb69ca6d78f95eb624149e153d7e3ad962d7e5ec56bf4b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-02T22:21:56.704Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-07-02T22:21:56.985Z] + set -o pipefail [2022-07-02T22:21:56.986Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-07-02T22:22:02.269Z] [2022-07-02T22:22:02.269Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-07-02T22:22:02.269Z] [2022-07-02T22:22:02.269Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/4b4ba1a0-2269-4398-bee2-62b49aa2bba4 [2022-07-02T22:22:02.269Z] [2022-07-02T22:22:02.269Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-02T22:22:02.269Z] [2022-07-02T22:22:02.269Z] [2022-07-02T22:22:02.269Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-02T22:22:02.269Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-02T22:22:02.285Z] $ docker stop --time=1 443c0167e47530b815eb69ca6d78f95eb624149e153d7e3ad962d7e5ec56bf4b [2022-07-02T22:22:04.282Z] $ docker rm -f 443c0167e47530b815eb69ca6d78f95eb624149e153d7e3ad962d7e5ec56bf4b [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-07-02T22:22:05.008Z] + git log --format=format:%s -1 84f2c4fd4e35f46928256df416a01a34dc7a6192 [Pipeline] sh [2022-07-02T22:22:05.308Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-02T22:22:05.308Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:05.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:22:05.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:22:05.684Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:22:05.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-02T22:22:06.125Z] $ docker top 91e9693a7c1a95574e06ca60f460deb5ef5ed03301dca8d7f4287e7c7abaa6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-02T22:22:06.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-02T22:22:06.229Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-02T22:22:06.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-02T22:22:06.359Z] $ docker exec 91e9693a7c1a95574e06ca60f460deb5ef5ed03301dca8d7f4287e7c7abaa6db ssh-agent [2022-07-02T22:22:06.500Z] SSH_AUTH_SOCK=/tmp/ssh-tQj92VCGz7or/agent.32 [2022-07-02T22:22:06.500Z] SSH_AGENT_PID=39 [2022-07-02T22:22:06.516Z] Running ssh-add (command line suppressed) [2022-07-02T22:22:06.629Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5988532005954691080.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5988532005954691080.key) [2022-07-02T22:22:06.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-02T22:22:06.928Z] + git semver tag [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,121 [run_tag] DEBUG tag force:False [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,121 [check_head_tag] DEBUG check head tag [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,122 [execute] INFO git cat-file --batch-check [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,126 [execute] INFO git cat-file --batch [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,138 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,138 [execute] INFO git tag -a v0.0.1-dev.21 -m v0.0.1-dev.21 [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,138 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.21', '-m', 'v0.0.1-dev.21'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-02T22:22:07.189Z] 2022-07-02 22:22:07,143 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:07.189Z] 0.0.1-dev.21 [Pipeline] } [2022-07-02T22:22:07.202Z] $ docker exec --env ******** --env ******** 91e9693a7c1a95574e06ca60f460deb5ef5ed03301dca8d7f4287e7c7abaa6db ssh-agent -k [2022-07-02T22:22:07.315Z] unset SSH_AUTH_SOCK; [2022-07-02T22:22:07.315Z] unset SSH_AGENT_PID; [2022-07-02T22:22:07.315Z] echo Agent pid 39 killed; [2022-07-02T22:22:07.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-02T22:22:07.634Z] + git semver [Pipeline] } [2022-07-02T22:22:07.912Z] $ docker stop --time=1 91e9693a7c1a95574e06ca60f460deb5ef5ed03301dca8d7f4287e7c7abaa6db [2022-07-02T22:22:09.206Z] $ docker rm -f 91e9693a7c1a95574e06ca60f460deb5ef5ed03301dca8d7f4287e7c7abaa6db [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:09.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-02T22:22:09.600Z] [2022-07-02T22:22:09.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:09.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-02T22:22:09.899Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-02T22:22:09.899Z] ab5ef0e58194: Pulling fs layer [2022-07-02T22:22:09.899Z] 9712f1f96733: Pulling fs layer [2022-07-02T22:22:09.899Z] 63f879dbbcfc: Pulling fs layer [2022-07-02T22:22:09.899Z] 0d9ebad4ef96: Pulling fs layer [2022-07-02T22:22:09.899Z] e9a5061849ea: Pulling fs layer [2022-07-02T22:22:09.899Z] d747dcd14b5f: Pulling fs layer [2022-07-02T22:22:09.899Z] 2de7ff778b66: Pulling fs layer [2022-07-02T22:22:09.899Z] e9a5061849ea: Waiting [2022-07-02T22:22:09.899Z] d747dcd14b5f: Waiting [2022-07-02T22:22:09.899Z] 0d9ebad4ef96: Waiting [2022-07-02T22:22:09.899Z] 2de7ff778b66: Waiting [2022-07-02T22:22:09.899Z] 9712f1f96733: Verifying Checksum [2022-07-02T22:22:09.899Z] 9712f1f96733: Download complete [2022-07-02T22:22:10.161Z] 63f879dbbcfc: Verifying Checksum [2022-07-02T22:22:10.161Z] 63f879dbbcfc: Download complete [2022-07-02T22:22:10.422Z] 0d9ebad4ef96: Verifying Checksum [2022-07-02T22:22:10.422Z] 0d9ebad4ef96: Download complete [2022-07-02T22:22:10.422Z] d747dcd14b5f: Download complete [2022-07-02T22:22:10.422Z] e9a5061849ea: Verifying Checksum [2022-07-02T22:22:10.422Z] e9a5061849ea: Download complete [2022-07-02T22:22:10.422Z] ab5ef0e58194: Verifying Checksum [2022-07-02T22:22:10.422Z] ab5ef0e58194: Download complete [2022-07-02T22:22:10.422Z] 2de7ff778b66: Verifying Checksum [2022-07-02T22:22:10.422Z] 2de7ff778b66: Download complete [2022-07-02T22:22:13.714Z] ab5ef0e58194: Pull complete [2022-07-02T22:22:13.714Z] 9712f1f96733: Pull complete [2022-07-02T22:22:14.282Z] 63f879dbbcfc: Pull complete [2022-07-02T22:22:18.475Z] 0d9ebad4ef96: Pull complete [2022-07-02T22:22:18.475Z] e9a5061849ea: Pull complete [2022-07-02T22:22:18.475Z] d747dcd14b5f: Pull complete [2022-07-02T22:22:19.412Z] 2de7ff778b66: Pull complete [2022-07-02T22:22:19.412Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-02T22:22:19.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-02T22:22:19.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:22:19.504Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:22:19.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-02T22:22:21.398Z] $ docker top c1205029f758f1fe6b8df201f62540b768266662d4cd86c13ba2b39c0211073d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-02T22:22:21.479Z] provisioning config files... [2022-07-02T22:22:21.486Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6781919957677245400tmp [2022-07-02T22:22:21.495Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3030825702069500553tmp [2022-07-02T22:22:21.504Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6694094532440227379tmp [Pipeline] { [Pipeline] echo [2022-07-02T22:22:21.518Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:21.799Z] ---> sigul-configuration.sh [2022-07-02T22:22:21.799Z] gpg: directory `/root/.gnupg' created [2022-07-02T22:22:21.799Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-02T22:22:21.799Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-02T22:22:21.799Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-02T22:22:21.799Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-02T22:22:21.799Z] gpg: CAST5 encrypted data [2022-07-02T22:22:21.799Z] gpg: encrypted with 1 passphrase [2022-07-02T22:22:21.799Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-02T22:22:22.086Z] + mkdir /home/jenkins [2022-07-02T22:22:22.086Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-02T22:22:22.370Z] + 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-07-02T22:22:22.379Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:22.662Z] ---> sigul-install.sh [2022-07-02T22:22:22.663Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-02T22:22:22.949Z] + git tag --list [2022-07-02T22:22:22.949Z] v0.0.0 [2022-07-02T22:22:22.949Z] v0.0.1-dev.1 [2022-07-02T22:22:22.949Z] v0.0.1-dev.10 [2022-07-02T22:22:22.949Z] v0.0.1-dev.11 [2022-07-02T22:22:22.949Z] v0.0.1-dev.12 [2022-07-02T22:22:22.949Z] v0.0.1-dev.13 [2022-07-02T22:22:22.949Z] v0.0.1-dev.14 [2022-07-02T22:22:22.949Z] v0.0.1-dev.15 [2022-07-02T22:22:22.949Z] v0.0.1-dev.16 [2022-07-02T22:22:22.949Z] v0.0.1-dev.17 [2022-07-02T22:22:22.949Z] v0.0.1-dev.18 [2022-07-02T22:22:22.949Z] v0.0.1-dev.19 [2022-07-02T22:22:22.949Z] v0.0.1-dev.2 [2022-07-02T22:22:22.949Z] v0.0.1-dev.20 [2022-07-02T22:22:22.949Z] v0.0.1-dev.21 [2022-07-02T22:22:22.949Z] v0.0.1-dev.3 [2022-07-02T22:22:22.949Z] v0.0.1-dev.4 [2022-07-02T22:22:22.949Z] v0.0.1-dev.5 [2022-07-02T22:22:22.949Z] v0.0.1-dev.6 [2022-07-02T22:22:22.949Z] v0.0.1-dev.7 [2022-07-02T22:22:22.949Z] v0.0.1-dev.8 [2022-07-02T22:22:22.949Z] v0.0.1-dev.9 [Pipeline] sh [2022-07-02T22:22:23.237Z] + lftools sign git-tag v0.0.1-dev.21 [2022-07-02T22:22:23.806Z] Signing Git tag with Sigul... [2022-07-02T22:22:23.806Z] Signing v0.0.1-dev.21 [Pipeline] echo [2022-07-02T22:22:24.382Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:24.663Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-02T22:22:24.671Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-02T22:22:24.691Z] $ docker stop --time=1 c1205029f758f1fe6b8df201f62540b768266662d4cd86c13ba2b39c0211073d [2022-07-02T22:22:26.001Z] $ docker rm -f c1205029f758f1fe6b8df201f62540b768266662d4cd86c13ba2b39c0211073d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-02T22:22:26.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-02T22:22:26.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:26.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:22:26.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:22:26.793Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:22:26.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-02T22:22:27.180Z] $ docker top 6d0a6130f3a0c911e78769838a4448291705fb0395e96892085015023700b49b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-02T22:22:27.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-02T22:22:27.273Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-02T22:22:27.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-02T22:22:27.404Z] $ docker exec 6d0a6130f3a0c911e78769838a4448291705fb0395e96892085015023700b49b ssh-agent [2022-07-02T22:22:27.518Z] SSH_AUTH_SOCK=/tmp/ssh-BunOzJ0yzSWj/agent.32 [2022-07-02T22:22:27.518Z] SSH_AGENT_PID=38 [2022-07-02T22:22:27.524Z] Running ssh-add (command line suppressed) [2022-07-02T22:22:27.641Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1983036294068504451.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1983036294068504451.key) [2022-07-02T22:22:27.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-02T22:22:27.939Z] + git semver bump pre [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [bump_version] DEBUG bumping version:0.0.1-dev.21 on axis:pre with prefix:dev [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [bump_version] DEBUG bumped version:0.0.1-dev.22 [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [write_version] DEBUG write version:0.0.1-dev.22 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,133 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,135 [execute] INFO git cat-file --batch-check [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,140 [execute] INFO git cat-file --batch [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-02T22:22:28.199Z] 2022-07-02 22:22:28,145 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:28.199Z] 0.0.1-dev.22 [Pipeline] } [2022-07-02T22:22:28.212Z] $ docker exec --env ******** --env ******** 6d0a6130f3a0c911e78769838a4448291705fb0395e96892085015023700b49b ssh-agent -k [2022-07-02T22:22:28.337Z] unset SSH_AUTH_SOCK; [2022-07-02T22:22:28.338Z] unset SSH_AGENT_PID; [2022-07-02T22:22:28.338Z] echo Agent pid 38 killed; [2022-07-02T22:22:28.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-02T22:22:28.643Z] + git semver [Pipeline] } [2022-07-02T22:22:28.921Z] $ docker stop --time=1 6d0a6130f3a0c911e78769838a4448291705fb0395e96892085015023700b49b [2022-07-02T22:22:30.208Z] $ docker rm -f 6d0a6130f3a0c911e78769838a4448291705fb0395e96892085015023700b49b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-02T22:22:30.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-02T22:22:30.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:30.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-02T22:22:30.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:22:30.941Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:22:30.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-02T22:22:31.334Z] $ docker top cca46486a492d3815e0f845c473ebc5454d5947168cb5af75f4e8004a5512c97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-02T22:22:31.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-02T22:22:31.443Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-02T22:22:31.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-02T22:22:31.570Z] $ docker exec cca46486a492d3815e0f845c473ebc5454d5947168cb5af75f4e8004a5512c97 ssh-agent [2022-07-02T22:22:31.709Z] SSH_AUTH_SOCK=/tmp/ssh-7vjNniwfU4EV/agent.32 [2022-07-02T22:22:31.709Z] SSH_AGENT_PID=39 [2022-07-02T22:22:31.715Z] Running ssh-add (command line suppressed) [2022-07-02T22:22:31.831Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5967166744430577302.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5967166744430577302.key) [2022-07-02T22:22:31.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-02T22:22:32.133Z] + git semver push [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,350 [run_push] DEBUG push [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,350 [execute] INFO git cat-file --batch-check [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,354 [execute] INFO git rev-list 00c5b292745c398207d5a1df6e133b92e1e39704 -- [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,354 [execute] DEBUG Popen(['git', 'rev-list', '00c5b292745c398207d5a1df6e133b92e1e39704', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,359 [execute] INFO git fetch -v origin [2022-07-02T22:22:32.393Z] 2022-07-02 22:22:32,360 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-02T22:22:32.964Z] 2022-07-02 22:22:32,813 [run_push] DEBUG no remote changes detected [2022-07-02T22:22:32.964Z] 2022-07-02 22:22:32,813 [execute] INFO git push origin semver [2022-07-02T22:22:32.964Z] 2022-07-02 22:22:32,814 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-02T22:22:33.534Z] 2022-07-02 22:22:33,438 [run_push] DEBUG push all version tags [2022-07-02T22:22:33.534Z] 2022-07-02 22:22:33,438 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-02T22:22:33.534Z] 2022-07-02 22:22:33,439 [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-07-02T22:22:34.104Z] 2022-07-02 22:22:34,053 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-02T22:22:34.104Z] 0.0.1-dev.22 [Pipeline] } [2022-07-02T22:22:34.140Z] $ docker exec --env ******** --env ******** cca46486a492d3815e0f845c473ebc5454d5947168cb5af75f4e8004a5512c97 ssh-agent -k [2022-07-02T22:22:34.246Z] unset SSH_AUTH_SOCK; [2022-07-02T22:22:34.246Z] unset SSH_AGENT_PID; [2022-07-02T22:22:34.246Z] echo Agent pid 39 killed; [2022-07-02T22:22:34.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-02T22:22:34.604Z] + git semver [Pipeline] } [2022-07-02T22:22:34.880Z] $ docker stop --time=1 cca46486a492d3815e0f845c473ebc5454d5947168cb5af75f4e8004a5512c97 [2022-07-02T22:22:36.172Z] $ docker rm -f cca46486a492d3815e0f845c473ebc5454d5947168cb5af75f4e8004a5512c97 [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-07-02T22:22:36.749Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-07-02T22:22:36.749Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-02T22:22:36.749Z] total 16 [2022-07-02T22:22:36.749Z] drwxr-xr-x 3 root root 4096 Jul 2 22:13 . [2022-07-02T22:22:36.749Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 22:22 .. [2022-07-02T22:22:36.749Z] drwxr-xr-x 2 root root 4096 Jul 2 22:13 cost [2022-07-02T22:22:36.749Z] -rw-r--r-- 1 root root 89 Jul 2 22:13 cost.csv [2022-07-02T22:22:36.749Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-02T22:22:36.749Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-02T22:22:36.749Z] total 16 [2022-07-02T22:22:36.749Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 22:13 . [2022-07-02T22:22:36.749Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 22:22 .. [2022-07-02T22:22:36.749Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 22:13 cost [2022-07-02T22:22:36.749Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 2 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:37.040Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:37.902Z] ---> package-listing.sh [2022-07-02T22:22:37.902Z] ++ facter osfamily [2022-07-02T22:22:37.902Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-02T22:22:38.163Z] + OS_FAMILY=debian [2022-07-02T22:22:38.163Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-07-02T22:22:38.163Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-02T22:22:38.163Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-02T22:22:38.163Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-02T22:22:38.163Z] + PACKAGES=/tmp/packages_start.txt [2022-07-02T22:22:38.163Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-02T22:22:38.163Z] + PACKAGES=/tmp/packages_end.txt [2022-07-02T22:22:38.163Z] + case "${OS_FAMILY}" in [2022-07-02T22:22:38.163Z] + dpkg -l [2022-07-02T22:22:38.163Z] + grep '^ii' [2022-07-02T22:22:38.163Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-02T22:22:38.163Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-02T22:22:38.163Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-02T22:22:38.163Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-02T22:22:38.163Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-07-02T22:22:38.163Z] + 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-07-02T22:22:38.174Z] 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-07-02T22:22:38.463Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-02T22:22:38.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-02T22:22:38.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-02T22:22:38.841Z] prd-ubuntu20.04-docker-8c-8g-16718 does not seem to be running inside a container [2022-07-02T22:22:38.875Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-02T22:22:39.109Z] $ docker top 0d9fd688d6c219472c4f6705a76585a20f82975556fe053b1ba06a691db9ff70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-02T22:22:39.458Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-02T22:22:39.745Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-02T22:22:40.031Z] + ls /var/log/sa-host [2022-07-02T22:22:40.031Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-02T22:22:40.150Z] provisioning config files... [2022-07-02T22:22:40.159Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5042388318737170361tmp [Pipeline] { [Pipeline] echo [2022-07-02T22:22:40.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:40.454Z] ---> create-netrc.sh [Pipeline] } [2022-07-02T22:22:40.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:40.792Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-02T22:22:40.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:41.084Z] ---> sudo-logs.sh [2022-07-02T22:22:41.084Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-02T22:22:41.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:41.392Z] ---> job-cost.sh [2022-07-02T22:22:41.392Z] lf-activate-venv: SKIPPING [2022-07-02T22:22:41.392Z] DEBUG: total: 0.2199999988079071 [2022-07-02T22:22:41.392Z] INFO: Retrieving Stack Cost... [2022-07-02T22:22:41.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-02T22:22:42.223Z] INFO: Archiving Costs [Pipeline] echo [2022-07-02T22:22:42.233Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-02T22:22:42.518Z] ---> logs-deploy.sh [2022-07-02T22:22:42.518Z] lf-activate-venv: SKIPPING [2022-07-02T22:22:42.518Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/24 [2022-07-02T22:22:42.518Z] INFO: archiving workspace using pattern(s): [2022-07-02T22:22:43.456Z] Archives upload complete. [2022-07-02T22:22:43.456Z] INFO: archiving logs to Nexus