Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43c8318ea3c34239a434d94f763095d4441f4024 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-ssh12299874467549908802.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-ssh2025051408442408662.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-ssh4777559482569894137.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-ssh1166287413144994072.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-ssh5654278635237178819.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16301 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 43c8318ea3c34239a434d94f763095d4441f4024 (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 43c8318ea3c34239a434d94f763095d4441f4024 # timeout=10 Commit message: "Merge pull request #64 from edgexfoundry/issue-47" > git rev-list --no-walk 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T01:57:59.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T01:57:59.463Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T01:57:59.486Z] ========================================================= [2022-06-29T01:57:59.486Z] EdgeX Global Pipelines Version Info [2022-06-29T01:57:59.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:58:00.244Z] ------------------- [2022-06-29T01:58:00.244Z] stable info: [2022-06-29T01:58:00.244Z] ------------------- [2022-06-29T01:58:00.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T01:58:00.244Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T01:58:00.244Z] Message: update stable to v1.0.234 [2022-06-29T01:58:00.817Z] ------------------- [2022-06-29T01:58:00.817Z] experimental info: [2022-06-29T01:58:00.817Z] ------------------- [2022-06-29T01:58:00.817Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T01:58:00.817Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T01:58:00.817Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T01:58:01.076Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-29T01:58:01.085Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-29T01:58:01.096Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T01:58:01.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T01:58:01.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T01:58:01.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T01:58:01.131Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T01:58:01.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T01:58:01.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T01:58:01.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T01:58:01.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T01:58:01.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-29T01:58:01.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T01:58:01.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T01:58:01.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T01:58:01.226Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T01:58:01.238Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T01:58:01.254Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T01:58:01.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T01:58:01.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T01:58:01.293Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T01:58:01.310Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T01:58:01.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T01:58:01.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T01:58:01.362Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T01:58:01.376Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T01:58:01.386Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T01:58:01.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-29T01:58:01.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-29T01:58:01.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-29T01:58:01.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] echo [2022-06-29T01:58:01.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43c8318 [Pipeline] echo [2022-06-29T01:58:01.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T01:58:01.507Z] provisioning config files... [2022-06-29T01:58:01.523Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config305097674925959242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:58:01.832Z] ---> docker-login.sh [2022-06-29T01:58:01.832Z] nexus3.edgexfoundry.org:10001 [2022-06-29T01:58:02.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:02.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:02.094Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:02.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:02.094Z] [2022-06-29T01:58:02.094Z] Login Succeeded [2022-06-29T01:58:02.094Z] nexus3.edgexfoundry.org:10002 [2022-06-29T01:58:02.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:02.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:02.356Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:02.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:02.356Z] [2022-06-29T01:58:02.356Z] Login Succeeded [2022-06-29T01:58:02.356Z] nexus3.edgexfoundry.org:10003 [2022-06-29T01:58:02.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:02.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:02.618Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:02.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:02.618Z] [2022-06-29T01:58:02.618Z] Login Succeeded [2022-06-29T01:58:02.618Z] nexus3.edgexfoundry.org:10004 [2022-06-29T01:58:02.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:02.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:02.618Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:02.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:02.618Z] [2022-06-29T01:58:02.618Z] Login Succeeded [2022-06-29T01:58:02.618Z] docker.io [2022-06-29T01:58:02.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:03.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:03.194Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:03.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:03.194Z] [2022-06-29T01:58:03.194Z] Login Succeeded [2022-06-29T01:58:03.194Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T01:58:03.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T01:58:03.580Z] + git rev-list -1 --merges 43c8318ea3c34239a434d94f763095d4441f4024~1..43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] echo [2022-06-29T01:58:03.609Z] -----------> git rev-list -1 --merges 43c8318ea3c34239a434d94f763095d4441f4024~1..43c8318ea3c34239a434d94f763095d4441f4024 43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T01:58:03.609Z] 43c8318ea3c34239a434d94f763095d4441f4024 [false] [Pipeline] sh [2022-06-29T01:58:03.910Z] + git log --format=format:%s -1 43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] echo [2022-06-29T01:58:03.925Z] ========================================================= [2022-06-29T01:58:03.925Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T01:58:03.925Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T01:58:04.252Z] + git log --format=format:%s -1 43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] echo [2022-06-29T01:58:04.265Z] [semverPrep] GIT_COMMIT: 43c8318ea3c34239a434d94f763095d4441f4024, Commit Message: Merge pull request #64 from edgexfoundry/issue-47 [Pipeline] echo [2022-06-29T01:58:04.275Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T01:58:04.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T01:58:04.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T01:58:04.639Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T01:58:04.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T01:58:04.639Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T01:58:04.639Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T01:58:04.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:58:05.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T01:58:05.065Z] [2022-06-29T01:58:05.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:58:05.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T01:58:05.367Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T01:58:05.367Z] 42c077c10790: Pulling fs layer [2022-06-29T01:58:05.367Z] f63e77b7563a: Pulling fs layer [2022-06-29T01:58:05.367Z] bd5fdadae976: Pulling fs layer [2022-06-29T01:58:05.367Z] 205491f53016: Pulling fs layer [2022-06-29T01:58:05.367Z] df18705c85c3: Pulling fs layer [2022-06-29T01:58:05.367Z] bdb3f477010e: Pulling fs layer [2022-06-29T01:58:05.367Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T01:58:05.367Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T01:58:05.367Z] bdb8f0575790: Pulling fs layer [2022-06-29T01:58:05.367Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T01:58:05.367Z] 2343380bae48: Pulling fs layer [2022-06-29T01:58:05.367Z] 205491f53016: Waiting [2022-06-29T01:58:05.367Z] bdb3f477010e: Waiting [2022-06-29T01:58:05.367Z] c8a8fc8e1c8f: Waiting [2022-06-29T01:58:05.367Z] bdb8f0575790: Waiting [2022-06-29T01:58:05.367Z] 2343380bae48: Waiting [2022-06-29T01:58:05.367Z] 2c6e9b1d212d: Waiting [2022-06-29T01:58:05.367Z] df18705c85c3: Waiting [2022-06-29T01:58:05.367Z] 386e3cb2ff24: Waiting [2022-06-29T01:58:05.367Z] f63e77b7563a: Verifying Checksum [2022-06-29T01:58:05.367Z] f63e77b7563a: Download complete [2022-06-29T01:58:05.367Z] 205491f53016: Verifying Checksum [2022-06-29T01:58:05.367Z] 205491f53016: Download complete [2022-06-29T01:58:05.629Z] df18705c85c3: Verifying Checksum [2022-06-29T01:58:05.629Z] df18705c85c3: Download complete [2022-06-29T01:58:05.629Z] bdb3f477010e: Verifying Checksum [2022-06-29T01:58:05.629Z] bdb3f477010e: Download complete [2022-06-29T01:58:05.629Z] bd5fdadae976: Verifying Checksum [2022-06-29T01:58:05.629Z] bd5fdadae976: Download complete [2022-06-29T01:58:05.629Z] 2c6e9b1d212d: Download complete [2022-06-29T01:58:05.629Z] bdb8f0575790: Download complete [2022-06-29T01:58:05.629Z] 386e3cb2ff24: Download complete [2022-06-29T01:58:05.629Z] 2343380bae48: Verifying Checksum [2022-06-29T01:58:05.629Z] 2343380bae48: Download complete [2022-06-29T01:58:05.629Z] 42c077c10790: Verifying Checksum [2022-06-29T01:58:05.629Z] 42c077c10790: Download complete [2022-06-29T01:58:05.889Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T01:58:05.889Z] c8a8fc8e1c8f: Download complete [2022-06-29T01:58:07.272Z] 42c077c10790: Pull complete [2022-06-29T01:58:07.272Z] f63e77b7563a: Pull complete [2022-06-29T01:58:07.847Z] bd5fdadae976: Pull complete [2022-06-29T01:58:07.847Z] 205491f53016: Pull complete [2022-06-29T01:58:08.135Z] df18705c85c3: Pull complete [2022-06-29T01:58:08.135Z] bdb3f477010e: Pull complete [2022-06-29T01:58:10.687Z] c8a8fc8e1c8f: Pull complete [2022-06-29T01:58:10.687Z] 2c6e9b1d212d: Pull complete [2022-06-29T01:58:10.687Z] bdb8f0575790: Pull complete [2022-06-29T01:58:10.687Z] 386e3cb2ff24: Pull complete [2022-06-29T01:58:10.687Z] 2343380bae48: Pull complete [2022-06-29T01:58:10.687Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T01:58:10.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T01:58:10.687Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:58:10.800Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T01:58:10.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T01:58:12.217Z] $ docker top a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 -eo pid,comm [2022-06-29T01:58:12.282Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-29T01:58:12.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T01:58:12.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T01:58:12.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T01:58:12.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T01:58:12.480Z] $ docker exec a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 ssh-agent [2022-06-29T01:58:12.594Z] SSH_AUTH_SOCK=/tmp/ssh-TawkYlOjsGgW/agent.34 [2022-06-29T01:58:12.594Z] SSH_AGENT_PID=40 [2022-06-29T01:58:12.601Z] Running ssh-add (command line suppressed) [2022-06-29T01:58:12.747Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2827645034284468779.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2827645034284468779.key) [2022-06-29T01:58:12.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T01:58:13.047Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T01:58:13.072Z] $ docker exec --env ******** --env ******** a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 ssh-agent -k [2022-06-29T01:58:13.178Z] unset SSH_AUTH_SOCK; [2022-06-29T01:58:13.178Z] unset SSH_AGENT_PID; [2022-06-29T01:58:13.178Z] echo Agent pid 40 killed; [2022-06-29T01:58:13.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T01:58:13.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T01:58:13.216Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T01:58:13.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T01:58:13.349Z] $ docker exec a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 ssh-agent [2022-06-29T01:58:13.475Z] SSH_AUTH_SOCK=/tmp/ssh-Q7PCr9CzLv3S/agent.73 [2022-06-29T01:58:13.475Z] SSH_AGENT_PID=79 [2022-06-29T01:58:13.481Z] Running ssh-add (command line suppressed) [2022-06-29T01:58:13.593Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8467401311075656379.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8467401311075656379.key) [2022-06-29T01:58:13.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T01:58:13.898Z] + git semver init [2022-06-29T01:58:14.164Z] 2022-06-29 01:58:14,102 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T01:58:14.164Z] 2022-06-29 01:58:14,102 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-29T01:58:14.164Z] 2022-06-29 01:58:14,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-29T01:58:14.165Z] 2022-06-29 01:58:14,103 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-29T01:58:14.734Z] 2022-06-29 01:58:14,715 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-29T01:58:14.734Z] 2022-06-29 01:58:14,716 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-29T01:58:14.734Z] 2022-06-29 01:58:14,716 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T01:58:14.734Z] 2022-06-29 01:58:14,716 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T01:58:14.734Z] 0.0.1-dev.18 [Pipeline] } [2022-06-29T01:58:14.747Z] $ docker exec --env ******** --env ******** a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 ssh-agent -k [2022-06-29T01:58:14.859Z] unset SSH_AUTH_SOCK; [2022-06-29T01:58:14.860Z] unset SSH_AGENT_PID; [2022-06-29T01:58:14.860Z] echo Agent pid 79 killed; [2022-06-29T01:58:14.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T01:58:15.169Z] + git semver [Pipeline] } [2022-06-29T01:58:15.450Z] $ docker stop --time=1 a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 [2022-06-29T01:58:16.767Z] $ docker rm -f a53913c97f29eeea9fbe2ce191b4b0909ccf777bb6bbbd3845aa33b791059e98 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T01:58:17.118Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T01:58:17.357Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T01:58:17.359Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T01:58:17.492Z] provisioning config files... [2022-06-29T01:58:17.502Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3619494405567867951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:58:17.804Z] ---> docker-login.sh [2022-06-29T01:58:17.804Z] nexus3.edgexfoundry.org:10001 [2022-06-29T01:58:17.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:17.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:17.804Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:17.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:17.804Z] [2022-06-29T01:58:17.804Z] Login Succeeded [2022-06-29T01:58:17.804Z] nexus3.edgexfoundry.org:10002 [2022-06-29T01:58:17.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:18.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:18.066Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:18.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:18.066Z] [2022-06-29T01:58:18.066Z] Login Succeeded [2022-06-29T01:58:18.066Z] nexus3.edgexfoundry.org:10003 [2022-06-29T01:58:18.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:18.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:18.066Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:18.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:18.066Z] [2022-06-29T01:58:18.066Z] Login Succeeded [2022-06-29T01:58:18.066Z] nexus3.edgexfoundry.org:10004 [2022-06-29T01:58:18.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:18.328Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:18.328Z] [2022-06-29T01:58:18.328Z] Login Succeeded [2022-06-29T01:58:18.328Z] docker.io [2022-06-29T01:58:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:58:18.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:58:18.589Z] Configure a credential helper to remove this warning. See [2022-06-29T01:58:18.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:58:18.589Z] [2022-06-29T01:58:18.589Z] Login Succeeded [2022-06-29T01:58:18.589Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T01:58:18.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T01:58:18.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T01:58:18.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T01:58:18.682Z] ========================================================= [2022-06-29T01:58:18.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T01:58:18.682Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:58:19.017Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T01:58:19.018Z] Sending build context to Docker daemon 9.236MB [2022-06-29T01:58:19.018Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T01:58:19.018Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T01:58:19.018Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T01:58:19.018Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T01:58:19.018Z] 666ba61612fd: Pulling fs layer [2022-06-29T01:58:19.018Z] 8ed8ca486205: Pulling fs layer [2022-06-29T01:58:19.018Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T01:58:19.018Z] c516ae0d96e1: Pulling fs layer [2022-06-29T01:58:19.018Z] 684cea983483: Pulling fs layer [2022-06-29T01:58:19.018Z] dd3240ac7de5: Pulling fs layer [2022-06-29T01:58:19.018Z] b1e948a4e11c: Pulling fs layer [2022-06-29T01:58:19.018Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T01:58:19.018Z] 646ad004c059: Pulling fs layer [2022-06-29T01:58:19.018Z] cc1cd167ecdc: Waiting [2022-06-29T01:58:19.018Z] b1e948a4e11c: Waiting [2022-06-29T01:58:19.018Z] a8fd76ee1af6: Waiting [2022-06-29T01:58:19.018Z] c516ae0d96e1: Waiting [2022-06-29T01:58:19.018Z] 646ad004c059: Waiting [2022-06-29T01:58:19.018Z] 684cea983483: Waiting [2022-06-29T01:58:19.018Z] dd3240ac7de5: Waiting [2022-06-29T01:58:19.018Z] 8ed8ca486205: Download complete [2022-06-29T01:58:19.018Z] 666ba61612fd: Download complete [2022-06-29T01:58:19.018Z] c516ae0d96e1: Verifying Checksum [2022-06-29T01:58:19.018Z] c516ae0d96e1: Download complete [2022-06-29T01:58:19.282Z] 684cea983483: Verifying Checksum [2022-06-29T01:58:19.282Z] 684cea983483: Download complete [2022-06-29T01:58:19.282Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T01:58:19.282Z] 59bf1c3509f3: Download complete [2022-06-29T01:58:19.282Z] dd3240ac7de5: Download complete [2022-06-29T01:58:19.282Z] b1e948a4e11c: Verifying Checksum [2022-06-29T01:58:19.282Z] b1e948a4e11c: Download complete [2022-06-29T01:58:19.282Z] 59bf1c3509f3: Pull complete [2022-06-29T01:58:19.548Z] 666ba61612fd: Pull complete [2022-06-29T01:58:19.548Z] 8ed8ca486205: Pull complete [2022-06-29T01:58:19.810Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T01:58:19.810Z] 646ad004c059: Verifying Checksum [2022-06-29T01:58:19.810Z] 646ad004c059: Download complete [2022-06-29T01:58:19.810Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T01:58:19.810Z] cc1cd167ecdc: Download complete [2022-06-29T01:58:24.009Z] cc1cd167ecdc: Pull complete [2022-06-29T01:58:24.009Z] c516ae0d96e1: Pull complete [2022-06-29T01:58:24.009Z] 684cea983483: Pull complete [2022-06-29T01:58:24.009Z] dd3240ac7de5: Pull complete [2022-06-29T01:58:24.009Z] b1e948a4e11c: Pull complete [2022-06-29T01:58:25.919Z] a8fd76ee1af6: Pull complete [2022-06-29T01:58:26.863Z] 646ad004c059: Pull complete [2022-06-29T01:58:26.863Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T01:58:26.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T01:58:26.863Z] ---> 8f69c11f6b0c [2022-06-29T01:58:26.863Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T01:58:28.249Z] ---> Running in ce20810bb4a0 [2022-06-29T01:58:28.249Z] Removing intermediate container ce20810bb4a0 [2022-06-29T01:58:28.249Z] ---> ae5ed8f06df2 [2022-06-29T01:58:28.249Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T01:58:28.249Z] ---> Running in a734cbcf9353 [2022-06-29T01:58:28.249Z] Removing intermediate container a734cbcf9353 [2022-06-29T01:58:28.249Z] ---> 7bcb9e8ea3c0 [2022-06-29T01:58:28.249Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T01:58:28.249Z] ---> Running in 6a60fdb54631 [2022-06-29T01:58:28.249Z] Removing intermediate container 6a60fdb54631 [2022-06-29T01:58:28.249Z] ---> 43af34c9f8bf [2022-06-29T01:58:28.249Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T01:58:28.249Z] ---> Running in 3975b31118fe [2022-06-29T01:58:28.509Z] Removing intermediate container 3975b31118fe [2022-06-29T01:58:28.509Z] ---> 211b97dd1a22 [2022-06-29T01:58:28.509Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T01:58:28.509Z] ---> Running in 2eb7e9733e6f [2022-06-29T01:58:29.081Z] Removing intermediate container 2eb7e9733e6f [2022-06-29T01:58:29.081Z] ---> 78c36342cf42 [2022-06-29T01:58:29.081Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T01:58:29.081Z] ---> Running in 4ba15869414e [2022-06-29T01:58:29.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T01:58:31.255Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T01:58:31.517Z] OK: 221 MiB in 52 packages [2022-06-29T01:58:31.777Z] Removing intermediate container 4ba15869414e [2022-06-29T01:58:31.777Z] ---> eb2168cb5b18 [2022-06-29T01:58:31.777Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T01:58:31.777Z] ---> Running in b31e13952f06 [2022-06-29T01:58:31.777Z] Removing intermediate container b31e13952f06 [2022-06-29T01:58:31.777Z] ---> 0cb335a39fb9 [2022-06-29T01:58:31.777Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T01:58:32.036Z] ---> d64c98cabb1f [2022-06-29T01:58:32.036Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T01:58:32.036Z] ---> Running in 07ebe7e54cb3 [2022-06-29T01:58:32.450Z] Still waiting to schedule task [2022-06-29T01:58:32.450Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16300’ [2022-06-29T01:58:53.998Z] Removing intermediate container 07ebe7e54cb3 [2022-06-29T01:58:53.998Z] ---> 4c15d05dd9b5 [2022-06-29T01:58:53.998Z] Step 12/13 : COPY . . [2022-06-29T01:58:53.998Z] ---> e7aaf6e0c62b [2022-06-29T01:58:53.998Z] Step 13/13 : RUN ${MAKE} [2022-06-29T01:58:53.998Z] ---> Running in 3f73726994b2 [2022-06-29T01:58:53.998Z] noop [2022-06-29T01:58:53.998Z] Removing intermediate container 3f73726994b2 [2022-06-29T01:58:53.998Z] ---> 3cc259f737af [2022-06-29T01:58:53.998Z] Successfully built 3cc259f737af [2022-06-29T01:58:53.998Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:58:54.326Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T01:58:54.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:58:54.410Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T01:58:54.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T01:58:54.849Z] $ docker top 1b7d82dee3a5ee2a1df750c8ada430e411016f64c6cf4ab3d104c27847dae2bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T01:58:55.209Z] + go version [2022-06-29T01:58:55.209Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T01:58:55.226Z] $ docker stop --time=1 1b7d82dee3a5ee2a1df750c8ada430e411016f64c6cf4ab3d104c27847dae2bc [2022-06-29T01:58:56.565Z] $ docker rm -f 1b7d82dee3a5ee2a1df750c8ada430e411016f64c6cf4ab3d104c27847dae2bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:58:56.998Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T01:58:56.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:58:57.083Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T01:58:57.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T01:58:57.611Z] $ docker top e7f409f8a4469fb602c2fffdeb3b0587db65b7ec8584d5e66c1dc01c652e5c7a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T01:58:57.996Z] + make test [2022-06-29T01:58:57.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T01:58:58.256Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-29T01:59:08.243Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-29T01:59:08.813Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 5.6% of statements [2022-06-29T01:59:13.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.120s coverage: 13.8% of statements [2022-06-29T01:59:21.136Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T01:59:24.430Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T01:59:24.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T01:59:24.430Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T01:59:25.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T01:59:25.028Z] $ docker stop --time=1 e7f409f8a4469fb602c2fffdeb3b0587db65b7ec8584d5e66c1dc01c652e5c7a [2022-06-29T01:59:26.726Z] $ docker rm -f e7f409f8a4469fb602c2fffdeb3b0587db65b7ec8584d5e66c1dc01c652e5c7a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T01:59:27.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T01:59:27.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T01:59:27.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T01:59:28.023Z] + ls -al . [2022-06-29T01:59:28.024Z] total 248 [2022-06-29T01:59:28.024Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 01:59 . [2022-06-29T01:59:28.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 01:57 .. [2022-06-29T01:59:28.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 01:58 .git [2022-06-29T01:59:28.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 01:57 .github [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 29 01:57 .gitignore [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 01:57 .golangci.yml [2022-06-29T01:59:28.024Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 01:58 .semver [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 29 01:57 Attribution.txt [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 29 01:57 CHANGELOG.md [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 29 01:57 Dockerfile [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 01:57 GOVERNANCE.md [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 01:57 Jenkinsfile [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 01:57 LICENSE [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 29 01:57 Makefile [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 29 01:57 OWNERS.md [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 29 01:57 README.md [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 29 01:58 VERSION [2022-06-29T01:59:28.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 01:57 bin [2022-06-29T01:59:28.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 01:57 cmd [2022-06-29T01:59:28.024Z] -rw-r--r-- 1 jenkins jenkins 70091 Jun 29 01:59 coverage.out [2022-06-29T01:59:28.024Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 01:57 doc [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 29 01:57 go.mod [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 29 01:57 go.sum [2022-06-29T01:59:28.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 01:57 internal [2022-06-29T01:59:28.024Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 29 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:59:28.342Z] + 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=43c8318ea3c34239a434d94f763095d4441f4024 --label arch=amd64 --label version=0.0.1-dev.18 . [2022-06-29T01:59:28.343Z] Sending build context to Docker daemon 9.307MB [2022-06-29T01:59:28.343Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T01:59:28.343Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T01:59:28.343Z] ---> 3cc259f737af [2022-06-29T01:59:28.343Z] Step 3/26 : ARG MAKE="make build" [2022-06-29T01:59:28.343Z] ---> Running in aac5e28d9589 [2022-06-29T01:59:28.604Z] Removing intermediate container aac5e28d9589 [2022-06-29T01:59:28.604Z] ---> af636a4bc25d [2022-06-29T01:59:28.604Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T01:59:28.604Z] ---> Running in 068ff98c63ab [2022-06-29T01:59:28.604Z] Removing intermediate container 068ff98c63ab [2022-06-29T01:59:28.604Z] ---> a7a212a42254 [2022-06-29T01:59:28.604Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T01:59:28.604Z] ---> Running in 0d8e372aaa4d [2022-06-29T01:59:28.866Z] Removing intermediate container 0d8e372aaa4d [2022-06-29T01:59:28.866Z] ---> 9e201c41e6bc [2022-06-29T01:59:28.866Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-29T01:59:28.866Z] ---> Running in f31fe665c58d [2022-06-29T01:59:28.866Z] Removing intermediate container f31fe665c58d [2022-06-29T01:59:28.866Z] ---> 08cb1012b963 [2022-06-29T01:59:28.866Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T01:59:28.866Z] ---> Running in 80ef75055c71 [2022-06-29T01:59:29.437Z] Removing intermediate container 80ef75055c71 [2022-06-29T01:59:29.437Z] ---> d4369f96b488 [2022-06-29T01:59:29.437Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T01:59:29.437Z] ---> Running in e855138c13d2 [2022-06-29T01:59:29.697Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T01:59:30.637Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T01:59:30.898Z] OK: 221 MiB in 52 packages [2022-06-29T01:59:31.158Z] Removing intermediate container e855138c13d2 [2022-06-29T01:59:31.158Z] ---> 96f0e55222fc [2022-06-29T01:59:31.158Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-29T01:59:31.158Z] ---> Running in 6141069b809b [2022-06-29T01:59:31.420Z] Removing intermediate container 6141069b809b [2022-06-29T01:59:31.420Z] ---> edaff870f4c3 [2022-06-29T01:59:31.420Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-29T01:59:31.420Z] ---> 3e827e88abd8 [2022-06-29T01:59:31.420Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T01:59:31.420Z] ---> Running in 3b155e8f2c2c [2022-06-29T01:59:31.989Z] Removing intermediate container 3b155e8f2c2c [2022-06-29T01:59:31.989Z] ---> eb1280812cc5 [2022-06-29T01:59:31.989Z] Step 12/26 : COPY . . [2022-06-29T01:59:32.249Z] ---> 317c0ac921b3 [2022-06-29T01:59:32.249Z] Step 13/26 : RUN ${MAKE} [2022-06-29T01:59:32.509Z] ---> Running in fcf71868da50 [2022-06-29T01:59:32.769Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-29T01:59:54.729Z] Removing intermediate container fcf71868da50 [2022-06-29T01:59:54.729Z] ---> 9854f5845d7d [2022-06-29T01:59:54.729Z] Step 14/26 : FROM alpine:3.15 [2022-06-29T01:59:54.729Z] 3.15: Pulling from library/alpine [2022-06-29T01:59:54.729Z] df9b9388f04a: Pulling fs layer [2022-06-29T01:59:54.729Z] df9b9388f04a: Verifying Checksum [2022-06-29T01:59:54.729Z] df9b9388f04a: Download complete [2022-06-29T01:59:54.729Z] df9b9388f04a: Pull complete [2022-06-29T01:59:54.729Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T01:59:54.729Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T01:59:54.729Z] ---> 0ac33e5f5afa [2022-06-29T01:59:54.729Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T01:59:54.729Z] ---> Running in 8d69c498ea50 [2022-06-29T01:59:54.729Z] Removing intermediate container 8d69c498ea50 [2022-06-29T01:59:54.729Z] ---> c2c3d9b83aa2 [2022-06-29T01:59:54.729Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T01:59:54.729Z] ---> Running in 308ff8eb3839 [2022-06-29T01:59:54.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T01:59:54.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T01:59:54.729Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T01:59:54.729Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T01:59:54.729Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T01:59:54.729Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T01:59:54.729Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T01:59:54.729Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T01:59:54.729Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T01:59:54.729Z] OK: 8 MiB in 20 packages [2022-06-29T01:59:54.729Z] Removing intermediate container 308ff8eb3839 [2022-06-29T01:59:54.729Z] ---> a7be3671e5c7 [2022-06-29T01:59:54.729Z] Step 17/26 : WORKDIR / [2022-06-29T01:59:54.729Z] ---> Running in 68993c177440 [2022-06-29T01:59:54.729Z] Removing intermediate container 68993c177440 [2022-06-29T01:59:54.729Z] ---> 04d7b916fa9d [2022-06-29T01:59:54.729Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-29T01:59:54.729Z] ---> 9779ce426488 [2022-06-29T01:59:54.729Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-29T01:59:54.729Z] ---> 653bf88b7173 [2022-06-29T01:59:54.729Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-29T01:59:54.729Z] ---> c89fbcc99674 [2022-06-29T01:59:54.729Z] Step 21/26 : EXPOSE 59984 [2022-06-29T01:59:54.729Z] ---> Running in 3f1842975e69 [2022-06-29T01:59:54.729Z] Removing intermediate container 3f1842975e69 [2022-06-29T01:59:54.729Z] ---> 75ec93b49008 [2022-06-29T01:59:54.729Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-29T01:59:54.729Z] ---> Running in 003e0761ccb8 [2022-06-29T01:59:54.729Z] Removing intermediate container 003e0761ccb8 [2022-06-29T01:59:54.729Z] ---> edbe6f8846f3 [2022-06-29T01:59:54.729Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T01:59:54.729Z] ---> Running in cb8d7b7c93be [2022-06-29T01:59:54.729Z] Removing intermediate container cb8d7b7c93be [2022-06-29T01:59:54.729Z] ---> 562d89625410 [2022-06-29T01:59:54.729Z] Step 24/26 : LABEL arch=amd64 [2022-06-29T01:59:54.729Z] ---> Running in 77f287e67ae6 [2022-06-29T01:59:54.729Z] Removing intermediate container 77f287e67ae6 [2022-06-29T01:59:54.729Z] ---> 3303f8dab97b [2022-06-29T01:59:54.729Z] Step 25/26 : LABEL git_sha=43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T01:59:54.729Z] ---> Running in e28a939627a2 [2022-06-29T01:59:54.991Z] Removing intermediate container e28a939627a2 [2022-06-29T01:59:54.991Z] ---> f02d0fd5df85 [2022-06-29T01:59:54.991Z] Step 26/26 : LABEL version=0.0.1-dev.18 [2022-06-29T01:59:54.991Z] ---> Running in c358b834924d [2022-06-29T01:59:54.991Z] Removing intermediate container c358b834924d [2022-06-29T01:59:54.991Z] ---> 03c070519198 [2022-06-29T01:59:54.991Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T01:59:54.991Z] Successfully built 03c070519198 [2022-06-29T01:59:54.991Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T01:59:55.088Z] provisioning config files... [2022-06-29T01:59:55.097Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3198973929812202694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:59:55.397Z] ---> docker-login.sh [2022-06-29T01:59:55.397Z] nexus3.edgexfoundry.org:10001 [2022-06-29T01:59:55.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:59:55.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:59:55.397Z] Configure a credential helper to remove this warning. See [2022-06-29T01:59:55.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:59:55.397Z] [2022-06-29T01:59:55.397Z] Login Succeeded [2022-06-29T01:59:55.397Z] nexus3.edgexfoundry.org:10002 [2022-06-29T01:59:55.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:59:55.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:59:55.659Z] Configure a credential helper to remove this warning. See [2022-06-29T01:59:55.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:59:55.659Z] [2022-06-29T01:59:55.659Z] Login Succeeded [2022-06-29T01:59:55.659Z] nexus3.edgexfoundry.org:10003 [2022-06-29T01:59:55.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:59:55.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:59:55.659Z] Configure a credential helper to remove this warning. See [2022-06-29T01:59:55.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:59:55.659Z] [2022-06-29T01:59:55.659Z] Login Succeeded [2022-06-29T01:59:55.659Z] nexus3.edgexfoundry.org:10004 [2022-06-29T01:59:55.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:59:55.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:59:55.921Z] Configure a credential helper to remove this warning. See [2022-06-29T01:59:55.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:59:55.921Z] [2022-06-29T01:59:55.921Z] Login Succeeded [2022-06-29T01:59:55.921Z] docker.io [2022-06-29T01:59:55.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T01:59:56.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T01:59:56.184Z] Configure a credential helper to remove this warning. See [2022-06-29T01:59:56.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T01:59:56.184Z] [2022-06-29T01:59:56.184Z] Login Succeeded [2022-06-29T01:59:56.184Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T01:59:56.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-29T01:59:56.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T01:59:56.252Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-29T01:59:56.252Z] 43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T01:59:56.252Z] latest [2022-06-29T01:59:56.252Z] 0.0.1-dev.18 [2022-06-29T01:59:56.252Z] 43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T01:59:56.252Z] main [2022-06-29T01:59:56.252Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:59:56.583Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:59:56.902Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T01:59:56.902Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-29T01:59:56.902Z] 4c2dbe90c288: Preparing [2022-06-29T01:59:56.902Z] 32aeac825b72: Preparing [2022-06-29T01:59:56.903Z] 302a4834d9d0: Preparing [2022-06-29T01:59:56.903Z] 3ba5947c4a2b: Preparing [2022-06-29T01:59:56.903Z] 4fc242d58285: Preparing [2022-06-29T01:59:56.903Z] 4fc242d58285: Layer already exists [2022-06-29T01:59:56.903Z] 32aeac825b72: Pushed [2022-06-29T01:59:56.903Z] 4c2dbe90c288: Pushed [2022-06-29T01:59:57.162Z] 3ba5947c4a2b: Pushed [2022-06-29T02:00:00.462Z] 302a4834d9d0: Pushed [2022-06-29T02:00:00.462Z] 43c8318ea3c34239a434d94f763095d4441f4024: digest: sha256:48f60969dd47ae64519da9a53a88637faa7b7b2a843c53842112342ebbe1bc2e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:00.781Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:01.092Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-29T02:00:01.092Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-29T02:00:01.092Z] 4c2dbe90c288: Preparing [2022-06-29T02:00:01.092Z] 32aeac825b72: Preparing [2022-06-29T02:00:01.092Z] 302a4834d9d0: Preparing [2022-06-29T02:00:01.092Z] 3ba5947c4a2b: Preparing [2022-06-29T02:00:01.092Z] 4fc242d58285: Preparing [2022-06-29T02:00:01.092Z] 3ba5947c4a2b: Layer already exists [2022-06-29T02:00:01.092Z] 32aeac825b72: Layer already exists [2022-06-29T02:00:01.092Z] 4fc242d58285: Layer already exists [2022-06-29T02:00:01.092Z] 302a4834d9d0: Layer already exists [2022-06-29T02:00:01.092Z] 4c2dbe90c288: Layer already exists [2022-06-29T02:00:01.092Z] latest: digest: sha256:48f60969dd47ae64519da9a53a88637faa7b7b2a843c53842112342ebbe1bc2e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:01.413Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:01.738Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.18 [2022-06-29T02:00:01.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-29T02:00:01.738Z] 4c2dbe90c288: Preparing [2022-06-29T02:00:01.738Z] 32aeac825b72: Preparing [2022-06-29T02:00:01.738Z] 302a4834d9d0: Preparing [2022-06-29T02:00:01.738Z] 3ba5947c4a2b: Preparing [2022-06-29T02:00:01.738Z] 4fc242d58285: Preparing [2022-06-29T02:00:01.738Z] 302a4834d9d0: Layer already exists [2022-06-29T02:00:01.738Z] 3ba5947c4a2b: Layer already exists [2022-06-29T02:00:01.738Z] 4c2dbe90c288: Layer already exists [2022-06-29T02:00:01.738Z] 32aeac825b72: Layer already exists [2022-06-29T02:00:01.738Z] 4fc242d58285: Layer already exists [2022-06-29T02:00:01.738Z] 0.0.1-dev.18: digest: sha256:48f60969dd47ae64519da9a53a88637faa7b7b2a843c53842112342ebbe1bc2e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:02.044Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:02.353Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T02:00:02.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-29T02:00:02.354Z] 4c2dbe90c288: Preparing [2022-06-29T02:00:02.354Z] 32aeac825b72: Preparing [2022-06-29T02:00:02.354Z] 302a4834d9d0: Preparing [2022-06-29T02:00:02.354Z] 3ba5947c4a2b: Preparing [2022-06-29T02:00:02.354Z] 4fc242d58285: Preparing [2022-06-29T02:00:02.354Z] 32aeac825b72: Layer already exists [2022-06-29T02:00:02.354Z] 4fc242d58285: Layer already exists [2022-06-29T02:00:02.354Z] 302a4834d9d0: Layer already exists [2022-06-29T02:00:02.354Z] 4c2dbe90c288: Layer already exists [2022-06-29T02:00:02.354Z] 3ba5947c4a2b: Layer already exists [2022-06-29T02:00:02.354Z] 43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18: digest: sha256:48f60969dd47ae64519da9a53a88637faa7b7b2a843c53842112342ebbe1bc2e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:02.674Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:02.985Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-29T02:00:02.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-29T02:00:02.985Z] 4c2dbe90c288: Preparing [2022-06-29T02:00:02.985Z] 32aeac825b72: Preparing [2022-06-29T02:00:02.985Z] 302a4834d9d0: Preparing [2022-06-29T02:00:02.985Z] 3ba5947c4a2b: Preparing [2022-06-29T02:00:02.985Z] 4fc242d58285: Preparing [2022-06-29T02:00:02.985Z] 4fc242d58285: Layer already exists [2022-06-29T02:00:02.985Z] 302a4834d9d0: Layer already exists [2022-06-29T02:00:02.985Z] 32aeac825b72: Layer already exists [2022-06-29T02:00:02.985Z] 3ba5947c4a2b: Layer already exists [2022-06-29T02:00:02.985Z] 4c2dbe90c288: Layer already exists [2022-06-29T02:00:02.985Z] main: digest: sha256:48f60969dd47ae64519da9a53a88637faa7b7b2a843c53842112342ebbe1bc2e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-29T02:00:03.038Z] ===================================================== [Pipeline] echo [2022-06-29T02:00:03.045Z] taggedImages: [2022-06-29T02:00:03.045Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T02:00:03.045Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-29T02:00:03.045Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.18 [2022-06-29T02:00:03.045Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T02:00:03.045Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:03.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T02:00:03.417Z] [2022-06-29T02:00:03.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:00:03.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T02:00:03.721Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T02:00:03.721Z] 5eb5b503b376: Pulling fs layer [2022-06-29T02:00:03.722Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T02:00:03.722Z] ec43610c2a17: Pulling fs layer [2022-06-29T02:00:03.722Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T02:00:03.722Z] 33b1e0a273af: Pulling fs layer [2022-06-29T02:00:03.722Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T02:00:03.722Z] 2f39f015ded8: Pulling fs layer [2022-06-29T02:00:03.722Z] 3a2ae6a8a46f: Waiting [2022-06-29T02:00:03.722Z] 33b1e0a273af: Waiting [2022-06-29T02:00:03.722Z] 5d3b04190fa2: Waiting [2022-06-29T02:00:03.722Z] 2f39f015ded8: Waiting [2022-06-29T02:00:03.722Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T02:00:03.722Z] 5c69ac0246d0: Download complete [2022-06-29T02:00:03.722Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T02:00:03.722Z] 3a2ae6a8a46f: Download complete [2022-06-29T02:00:03.722Z] 33b1e0a273af: Verifying Checksum [2022-06-29T02:00:03.722Z] 33b1e0a273af: Download complete [2022-06-29T02:00:03.722Z] ec43610c2a17: Verifying Checksum [2022-06-29T02:00:03.722Z] ec43610c2a17: Download complete [2022-06-29T02:00:03.722Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T02:00:03.722Z] 5d3b04190fa2: Download complete [2022-06-29T02:00:03.980Z] 5eb5b503b376: Verifying Checksum [2022-06-29T02:00:03.981Z] 5eb5b503b376: Download complete [2022-06-29T02:00:04.545Z] 2f39f015ded8: Download complete [2022-06-29T02:00:05.113Z] 5eb5b503b376: Pull complete [2022-06-29T02:00:05.371Z] 5c69ac0246d0: Pull complete [2022-06-29T02:00:05.939Z] ec43610c2a17: Pull complete [2022-06-29T02:00:05.939Z] 3a2ae6a8a46f: Pull complete [2022-06-29T02:00:06.199Z] 33b1e0a273af: Pull complete [2022-06-29T02:00:06.199Z] 5d3b04190fa2: Pull complete [2022-06-29T02:00:10.394Z] 2f39f015ded8: Pull complete [2022-06-29T02:00:10.394Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T02:00:10.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T02:00:10.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:00:10.491Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:00:10.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T02:00:11.927Z] $ docker top 49b7174c26a584384b5508ab7932cb103bf54aad58dc190c1f0003a745f1b79a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:00:12.336Z] ---> job-cost.sh [2022-06-29T02:00:12.336Z] lf-activate-venv: SKIPPING [2022-06-29T02:00:12.336Z] INFO: No Stack... [2022-06-29T02:00:12.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T02:00:13.167Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T02:00:13.459Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-29T02:00:13.459Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T02:00:13.472Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [2022-06-29T02:00:13.478Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] did not exist. Created. [2022-06-29T02:00:13.478Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T02:00:13.782Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T02:00:13.813Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T02:00:13.819Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T02:00:13.839Z] $ docker stop --time=1 49b7174c26a584384b5508ab7932cb103bf54aad58dc190c1f0003a745f1b79a [2022-06-29T02:00:15.032Z] $ docker rm -f 49b7174c26a584384b5508ab7932cb103bf54aad58dc190c1f0003a745f1b79a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T02:02:13.237Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16303 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-29T02:02:13.249Z] Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout [2022-06-29T02:02:13.298Z] Selected Git installation does not exist. Using Default [2022-06-29T02:02:13.298Z] The recommended git tool is: NONE [2022-06-29T02:02:20.096Z] using credential edgex-jenkins-ssh [2022-06-29T02:02:20.114Z] Cloning the remote Git repository [2022-06-29T02:02:20.181Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T02:02:20.263Z] > git init /w/workspace/device-onvif-camera/20 # timeout=10 [2022-06-29T02:02:20.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T02:02:20.345Z] > git --version # timeout=10 [2022-06-29T02:02:20.425Z] > git --version # 'git version 2.25.1' [2022-06-29T02:02:20.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T02:02:20.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T02:02:21.493Z] Avoid second fetch [2022-06-29T02:02:21.493Z] Checking out Revision 43c8318ea3c34239a434d94f763095d4441f4024 (main) [2022-06-29T02:02:21.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-29T02:02:21.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T02:02:21.521Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T02:02:21.543Z] > git checkout -f 43c8318ea3c34239a434d94f763095d4441f4024 # timeout=10 [2022-06-29T02:02:25.781Z] Commit message: "Merge pull request #64 from edgexfoundry/issue-47" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T02:02:26.603Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T02:02:26.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T02:02:26.603Z] Dload Upload Total Spent Left Speed [2022-06-29T02:02:26.603Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85090 0 --:--:-- --:--:-- --:--:-- 85685 [Pipeline] sh [2022-06-29T02:02:27.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T02:02:27.600Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T02:02:27.600Z] + sudo tee /etc/docker/daemon.new [2022-06-29T02:02:27.600Z] { [2022-06-29T02:02:27.600Z] "registry-mirrors": [ [2022-06-29T02:02:27.600Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T02:02:27.600Z] ], [2022-06-29T02:02:27.600Z] "bip": "10.250.0.254/24", [2022-06-29T02:02:27.600Z] "hosts": [ [2022-06-29T02:02:27.600Z] "tcp://0.0.0.0:5555", [2022-06-29T02:02:27.600Z] "unix:///var/run/docker.sock" [2022-06-29T02:02:27.600Z] ], [2022-06-29T02:02:27.600Z] "mtu": 1458, [2022-06-29T02:02:27.600Z] "selinux-enabled": true, [2022-06-29T02:02:27.600Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T02:02:27.600Z] } [Pipeline] sh [2022-06-29T02:02:28.002Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T02:02:28.489Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T02:02:46.842Z] provisioning config files... [2022-06-29T02:02:46.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config5574764268931592844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:02:47.408Z] ---> docker-login.sh [2022-06-29T02:02:47.408Z] nexus3.edgexfoundry.org:10001 [2022-06-29T02:02:48.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:02:48.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:02:48.283Z] Configure a credential helper to remove this warning. See [2022-06-29T02:02:48.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:02:48.283Z] [2022-06-29T02:02:48.283Z] Login Succeeded [2022-06-29T02:02:48.283Z] nexus3.edgexfoundry.org:10002 [2022-06-29T02:02:48.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:02:48.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:02:48.846Z] Configure a credential helper to remove this warning. See [2022-06-29T02:02:48.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:02:48.846Z] [2022-06-29T02:02:48.846Z] Login Succeeded [2022-06-29T02:02:48.846Z] nexus3.edgexfoundry.org:10003 [2022-06-29T02:02:49.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:02:49.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:02:49.120Z] Configure a credential helper to remove this warning. See [2022-06-29T02:02:49.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:02:49.120Z] [2022-06-29T02:02:49.120Z] Login Succeeded [2022-06-29T02:02:49.120Z] nexus3.edgexfoundry.org:10004 [2022-06-29T02:02:49.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:02:49.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:02:49.723Z] Configure a credential helper to remove this warning. See [2022-06-29T02:02:49.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:02:49.723Z] [2022-06-29T02:02:49.723Z] Login Succeeded [2022-06-29T02:02:49.723Z] docker.io [2022-06-29T02:02:49.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:02:50.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:02:50.272Z] Configure a credential helper to remove this warning. See [2022-06-29T02:02:50.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:02:50.272Z] [2022-06-29T02:02:50.272Z] Login Succeeded [2022-06-29T02:02:50.272Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T02:02:50.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T02:02:50.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T02:02:50.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T02:02:50.576Z] ========================================================= [2022-06-29T02:02:50.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T02:02:50.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:02:50.962Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T02:02:51.239Z] Sending build context to Docker daemon 6.378MB [2022-06-29T02:02:51.239Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T02:02:51.239Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T02:02:51.515Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T02:02:51.515Z] 9b3977197b4f: Pulling fs layer [2022-06-29T02:02:51.515Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T02:02:51.515Z] 94645a83ff95: Pulling fs layer [2022-06-29T02:02:51.515Z] e6fb740bc735: Pulling fs layer [2022-06-29T02:02:51.515Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T02:02:51.515Z] 355e64cbe906: Pulling fs layer [2022-06-29T02:02:51.515Z] 63ab81a10011: Pulling fs layer [2022-06-29T02:02:51.515Z] 555d1d1c4555: Pulling fs layer [2022-06-29T02:02:51.515Z] 7d9057610161: Pulling fs layer [2022-06-29T02:02:51.515Z] e6fb740bc735: Waiting [2022-06-29T02:02:51.515Z] 63ab81a10011: Waiting [2022-06-29T02:02:51.515Z] 555d1d1c4555: Waiting [2022-06-29T02:02:51.515Z] 3a77bd46dcc9: Waiting [2022-06-29T02:02:51.515Z] 355e64cbe906: Waiting [2022-06-29T02:02:51.515Z] 7d9057610161: Waiting [2022-06-29T02:02:51.515Z] 94645a83ff95: Verifying Checksum [2022-06-29T02:02:51.515Z] 94645a83ff95: Download complete [2022-06-29T02:02:51.515Z] 1a89e8eeedd5: Download complete [2022-06-29T02:02:51.515Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T02:02:51.515Z] 3a77bd46dcc9: Download complete [2022-06-29T02:02:51.515Z] 355e64cbe906: Verifying Checksum [2022-06-29T02:02:51.515Z] 355e64cbe906: Download complete [2022-06-29T02:02:51.515Z] 9b3977197b4f: Verifying Checksum [2022-06-29T02:02:51.515Z] 9b3977197b4f: Download complete [2022-06-29T02:02:51.515Z] 63ab81a10011: Verifying Checksum [2022-06-29T02:02:51.515Z] 63ab81a10011: Download complete [2022-06-29T02:02:52.520Z] 9b3977197b4f: Pull complete [2022-06-29T02:02:52.520Z] 7d9057610161: Verifying Checksum [2022-06-29T02:02:52.520Z] 7d9057610161: Download complete [2022-06-29T02:02:53.133Z] 1a89e8eeedd5: Pull complete [2022-06-29T02:02:53.411Z] 94645a83ff95: Pull complete [2022-06-29T02:02:53.690Z] 555d1d1c4555: Verifying Checksum [2022-06-29T02:02:53.690Z] 555d1d1c4555: Download complete [2022-06-29T02:02:54.292Z] e6fb740bc735: Download complete [2022-06-29T02:03:06.700Z] e6fb740bc735: Pull complete [2022-06-29T02:03:06.700Z] 3a77bd46dcc9: Pull complete [2022-06-29T02:03:06.700Z] 355e64cbe906: Pull complete [2022-06-29T02:03:06.976Z] 63ab81a10011: Pull complete [2022-06-29T02:03:13.709Z] 555d1d1c4555: Pull complete [2022-06-29T02:03:15.691Z] 7d9057610161: Pull complete [2022-06-29T02:03:15.691Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T02:03:15.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T02:03:15.691Z] ---> 819e984ddca1 [2022-06-29T02:03:15.691Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T02:03:17.134Z] ---> Running in b7ce13b3b1dc [2022-06-29T02:03:17.406Z] Removing intermediate container b7ce13b3b1dc [2022-06-29T02:03:17.406Z] ---> cabd6b2b2abc [2022-06-29T02:03:17.406Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T02:03:17.680Z] ---> Running in 129ce347d537 [2022-06-29T02:03:17.952Z] Removing intermediate container 129ce347d537 [2022-06-29T02:03:17.953Z] ---> d932be32b082 [2022-06-29T02:03:17.953Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T02:03:17.953Z] ---> Running in 912056d7dbc9 [2022-06-29T02:03:18.224Z] Removing intermediate container 912056d7dbc9 [2022-06-29T02:03:18.224Z] ---> c9064a850655 [2022-06-29T02:03:18.224Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T02:03:18.224Z] ---> Running in 437e4576b8e6 [2022-06-29T02:03:18.500Z] Removing intermediate container 437e4576b8e6 [2022-06-29T02:03:18.500Z] ---> 52049b0d7197 [2022-06-29T02:03:18.500Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T02:03:18.775Z] ---> Running in 9840bf9c12c6 [2022-06-29T02:03:20.751Z] Removing intermediate container 9840bf9c12c6 [2022-06-29T02:03:20.751Z] ---> ec5581a3c04e [2022-06-29T02:03:20.751Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T02:03:20.751Z] ---> Running in 22d9e4955f29 [2022-06-29T02:03:22.178Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T02:03:23.148Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T02:03:24.120Z] OK: 220 MiB in 52 packages [2022-06-29T02:03:24.726Z] Removing intermediate container 22d9e4955f29 [2022-06-29T02:03:24.726Z] ---> 5d820b2d3658 [2022-06-29T02:03:24.726Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T02:03:24.726Z] ---> Running in 1fab76e10de8 [2022-06-29T02:03:25.344Z] Removing intermediate container 1fab76e10de8 [2022-06-29T02:03:25.344Z] ---> 2d601e6d0e14 [2022-06-29T02:03:25.344Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T02:03:25.618Z] ---> 716d947fdcd5 [2022-06-29T02:03:25.618Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T02:03:25.895Z] ---> Running in 8d610a4dea6c [2022-06-29T02:04:12.938Z] Removing intermediate container 8d610a4dea6c [2022-06-29T02:04:12.938Z] ---> 3f400cd8f7ac [2022-06-29T02:04:12.938Z] Step 12/13 : COPY . . [2022-06-29T02:04:13.925Z] ---> 165672adc231 [2022-06-29T02:04:13.925Z] Step 13/13 : RUN ${MAKE} [2022-06-29T02:04:13.925Z] ---> Running in ebace7fe2882 [2022-06-29T02:04:14.942Z] noop [2022-06-29T02:04:15.543Z] Removing intermediate container ebace7fe2882 [2022-06-29T02:04:15.543Z] ---> ec06159b168c [2022-06-29T02:04:15.543Z] Successfully built ec06159b168c [2022-06-29T02:04:15.543Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:04:15.918Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T02:04:15.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:04:16.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-16303 does not seem to be running inside a container [2022-06-29T02:04:16.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T02:04:17.623Z] $ docker top 380e2aa35ab290d65fa3af75167e6d17f403c2e23101fcccdcc8945d8fdaf441 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T02:04:18.558Z] + go version [2022-06-29T02:04:18.558Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T02:04:18.591Z] $ docker stop --time=1 380e2aa35ab290d65fa3af75167e6d17f403c2e23101fcccdcc8945d8fdaf441 [2022-06-29T02:04:20.256Z] $ docker rm -f 380e2aa35ab290d65fa3af75167e6d17f403c2e23101fcccdcc8945d8fdaf441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:04:20.875Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T02:04:20.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:04:21.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-16303 does not seem to be running inside a container [2022-06-29T02:04:21.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T02:04:22.492Z] $ docker top 779f907f8bd1f2ece4ad5e223ba2b48a816480f48e8fa2b4fe7a07c9fddebea1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T02:04:23.431Z] + make test [2022-06-29T02:04:23.431Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T02:04:25.424Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-29T02:06:02.310Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-29T02:06:02.310Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 5.6% of statements [2022-06-29T02:06:24.532Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.311s coverage: 13.8% of statements [2022-06-29T02:06:24.532Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T02:06:24.532Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T02:06:51.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T02:06:51.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T02:06:51.357Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T02:06:55.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T02:06:55.722Z] $ docker stop --time=1 779f907f8bd1f2ece4ad5e223ba2b48a816480f48e8fa2b4fe7a07c9fddebea1 [2022-06-29T02:06:57.625Z] $ docker rm -f 779f907f8bd1f2ece4ad5e223ba2b48a816480f48e8fa2b4fe7a07c9fddebea1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T02:06:58.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T02:06:58.849Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T02:06:59.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T02:07:00.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T02:07:00.496Z] + ls -al . [2022-06-29T02:07:00.496Z] total 244 [2022-06-29T02:07:00.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:06 . [2022-06-29T02:07:00.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:02 .. [2022-06-29T02:07:00.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:02 .git [2022-06-29T02:07:00.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:02 .github [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 29 02:02 .gitignore [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 02:02 .golangci.yml [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 29 02:02 Attribution.txt [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 29 02:02 CHANGELOG.md [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 29 02:02 Dockerfile [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 02:02 GOVERNANCE.md [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 02:02 Jenkinsfile [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 02:02 LICENSE [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 29 02:02 Makefile [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 29 02:02 OWNERS.md [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 29 02:02 README.md [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 29 01:58 VERSION [2022-06-29T02:07:00.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:02 bin [2022-06-29T02:07:00.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 02:02 cmd [2022-06-29T02:07:00.496Z] -rw-r--r-- 1 jenkins jenkins 70091 Jun 29 02:06 coverage.out [2022-06-29T02:07:00.496Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 02:02 doc [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 29 02:02 go.mod [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 29 02:02 go.sum [2022-06-29T02:07:00.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:02 internal [2022-06-29T02:07:00.496Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 29 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:07:00.876Z] + 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=43c8318ea3c34239a434d94f763095d4441f4024 --label arch=arm64 --label version=0.0.1-dev.18 . [2022-06-29T02:07:01.474Z] Sending build context to Docker daemon 6.449MB [2022-06-29T02:07:01.474Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T02:07:01.474Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T02:07:01.474Z] ---> ec06159b168c [2022-06-29T02:07:01.474Z] Step 3/26 : ARG MAKE="make build" [2022-06-29T02:07:01.474Z] ---> Running in 749ad7fdc002 [2022-06-29T02:07:01.749Z] Removing intermediate container 749ad7fdc002 [2022-06-29T02:07:01.749Z] ---> f28648ff655a [2022-06-29T02:07:01.749Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T02:07:02.022Z] ---> Running in 06c5c2df11f7 [2022-06-29T02:07:02.296Z] Removing intermediate container 06c5c2df11f7 [2022-06-29T02:07:02.296Z] ---> 25b9f890a09b [2022-06-29T02:07:02.296Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T02:07:02.296Z] ---> Running in a3a46f863f6b [2022-06-29T02:07:02.572Z] Removing intermediate container a3a46f863f6b [2022-06-29T02:07:02.572Z] ---> d5db8c95809a [2022-06-29T02:07:02.572Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-29T02:07:02.854Z] ---> Running in 44c3694e46ba [2022-06-29T02:07:03.128Z] Removing intermediate container 44c3694e46ba [2022-06-29T02:07:03.128Z] ---> cc090099e4ba [2022-06-29T02:07:03.128Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T02:07:03.128Z] ---> Running in 4301a6f5ac67 [2022-06-29T02:07:05.106Z] Removing intermediate container 4301a6f5ac67 [2022-06-29T02:07:05.106Z] ---> 6db6b7284765 [2022-06-29T02:07:05.106Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T02:07:05.106Z] ---> Running in 6e4e4330bdc3 [2022-06-29T02:07:06.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T02:07:08.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T02:07:09.046Z] OK: 220 MiB in 52 packages [2022-06-29T02:07:10.480Z] Removing intermediate container 6e4e4330bdc3 [2022-06-29T02:07:10.480Z] ---> ed8c7965b402 [2022-06-29T02:07:10.480Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-29T02:07:10.480Z] ---> Running in d9f471185787 [2022-06-29T02:07:10.480Z] Removing intermediate container d9f471185787 [2022-06-29T02:07:10.480Z] ---> 16876735cfa6 [2022-06-29T02:07:10.480Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-29T02:07:11.107Z] ---> 8f161dedf362 [2022-06-29T02:07:11.107Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T02:07:11.396Z] ---> Running in 581c2d83299e [2022-06-29T02:07:14.043Z] Removing intermediate container 581c2d83299e [2022-06-29T02:07:14.043Z] ---> fc1b93cae1b8 [2022-06-29T02:07:14.043Z] Step 12/26 : COPY . . [2022-06-29T02:07:14.647Z] ---> b9c21f60f5b1 [2022-06-29T02:07:14.647Z] Step 13/26 : RUN ${MAKE} [2022-06-29T02:07:14.931Z] ---> Running in e40599c69420 [2022-06-29T02:07:15.936Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-29T02:09:37.796Z] Removing intermediate container e40599c69420 [2022-06-29T02:09:37.796Z] ---> 95ee4eee834b [2022-06-29T02:09:37.796Z] Step 14/26 : FROM alpine:3.15 [2022-06-29T02:09:37.796Z] 3.15: Pulling from library/alpine [2022-06-29T02:09:37.796Z] 9981e73032c8: Pulling fs layer [2022-06-29T02:09:37.796Z] 9981e73032c8: Download complete [2022-06-29T02:09:37.796Z] 9981e73032c8: Pull complete [2022-06-29T02:09:37.796Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T02:09:37.796Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T02:09:37.796Z] ---> 3fb3c9af89a9 [2022-06-29T02:09:37.796Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T02:09:37.796Z] ---> Running in b972c48fb562 [2022-06-29T02:09:37.796Z] Removing intermediate container b972c48fb562 [2022-06-29T02:09:37.796Z] ---> 858d65e20f81 [2022-06-29T02:09:37.796Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T02:09:37.796Z] ---> Running in 8e3f2cc44644 [2022-06-29T02:09:37.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T02:09:37.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T02:09:38.778Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T02:09:38.778Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T02:09:38.778Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T02:09:38.778Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T02:09:39.050Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T02:09:39.050Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T02:09:39.050Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T02:09:39.050Z] OK: 8 MiB in 20 packages [2022-06-29T02:09:40.025Z] Removing intermediate container 8e3f2cc44644 [2022-06-29T02:09:40.025Z] ---> 074d5b3ad807 [2022-06-29T02:09:40.025Z] Step 17/26 : WORKDIR / [2022-06-29T02:09:40.025Z] ---> Running in d6a6840b870c [2022-06-29T02:09:40.298Z] Removing intermediate container d6a6840b870c [2022-06-29T02:09:40.298Z] ---> 04dd42814012 [2022-06-29T02:09:40.298Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-29T02:09:41.727Z] ---> 94cc772276f2 [2022-06-29T02:09:41.727Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-29T02:09:42.322Z] ---> 3c527ba24af5 [2022-06-29T02:09:42.322Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-29T02:09:42.916Z] ---> 71635cc90649 [2022-06-29T02:09:42.916Z] Step 21/26 : EXPOSE 59984 [2022-06-29T02:09:42.916Z] ---> Running in 8073ff451fe9 [2022-06-29T02:09:43.187Z] Removing intermediate container 8073ff451fe9 [2022-06-29T02:09:43.187Z] ---> 629b0c675f33 [2022-06-29T02:09:43.187Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-29T02:09:43.187Z] ---> Running in 7300a4abd40b [2022-06-29T02:09:43.461Z] Removing intermediate container 7300a4abd40b [2022-06-29T02:09:43.461Z] ---> 5c67ea60da98 [2022-06-29T02:09:43.461Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T02:09:43.734Z] ---> Running in 6997cdb3c953 [2022-06-29T02:09:44.007Z] Removing intermediate container 6997cdb3c953 [2022-06-29T02:09:44.007Z] ---> 19fc9ae7e1db [2022-06-29T02:09:44.007Z] Step 24/26 : LABEL arch=arm64 [2022-06-29T02:09:44.007Z] ---> Running in a36e9b845e91 [2022-06-29T02:09:44.276Z] Removing intermediate container a36e9b845e91 [2022-06-29T02:09:44.277Z] ---> 9a38a84aff70 [2022-06-29T02:09:44.277Z] Step 25/26 : LABEL git_sha=43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T02:09:44.277Z] ---> Running in 91bc5e9cec3f [2022-06-29T02:09:44.561Z] Removing intermediate container 91bc5e9cec3f [2022-06-29T02:09:44.561Z] ---> 681fe6e02b4e [2022-06-29T02:09:44.561Z] Step 26/26 : LABEL version=0.0.1-dev.18 [2022-06-29T02:09:44.846Z] ---> Running in 110f399603fe [2022-06-29T02:09:45.117Z] Removing intermediate container 110f399603fe [2022-06-29T02:09:45.117Z] ---> 4658a26683dc [2022-06-29T02:09:45.117Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T02:09:45.117Z] Successfully built 4658a26683dc [2022-06-29T02:09:45.117Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T02:09:45.239Z] provisioning config files... [2022-06-29T02:09:45.258Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config2332017807694728822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:09:45.604Z] ---> docker-login.sh [2022-06-29T02:09:45.604Z] nexus3.edgexfoundry.org:10001 [2022-06-29T02:09:45.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:09:45.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:09:45.876Z] Configure a credential helper to remove this warning. See [2022-06-29T02:09:45.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:09:45.876Z] [2022-06-29T02:09:45.876Z] Login Succeeded [2022-06-29T02:09:45.876Z] nexus3.edgexfoundry.org:10002 [2022-06-29T02:09:46.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:09:46.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:09:46.428Z] Configure a credential helper to remove this warning. See [2022-06-29T02:09:46.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:09:46.428Z] [2022-06-29T02:09:46.428Z] Login Succeeded [2022-06-29T02:09:46.428Z] nexus3.edgexfoundry.org:10003 [2022-06-29T02:09:46.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:09:46.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:09:46.974Z] Configure a credential helper to remove this warning. See [2022-06-29T02:09:46.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:09:46.974Z] [2022-06-29T02:09:46.974Z] Login Succeeded [2022-06-29T02:09:46.974Z] nexus3.edgexfoundry.org:10004 [2022-06-29T02:09:47.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:09:47.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:09:47.244Z] Configure a credential helper to remove this warning. See [2022-06-29T02:09:47.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:09:47.244Z] [2022-06-29T02:09:47.244Z] Login Succeeded [2022-06-29T02:09:47.514Z] docker.io [2022-06-29T02:09:47.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T02:09:48.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T02:09:48.056Z] Configure a credential helper to remove this warning. See [2022-06-29T02:09:48.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T02:09:48.056Z] [2022-06-29T02:09:48.056Z] Login Succeeded [2022-06-29T02:09:48.056Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T02:09:48.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-29T02:09:48.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T02:09:48.126Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-29T02:09:48.126Z] 43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T02:09:48.126Z] latest [2022-06-29T02:09:48.126Z] 0.0.1-dev.18 [2022-06-29T02:09:48.126Z] 43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T02:09:48.126Z] main [2022-06-29T02:09:48.126Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:48.493Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:48.856Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T02:09:48.856Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-29T02:09:48.856Z] 4149576bb8d9: Preparing [2022-06-29T02:09:48.856Z] 5e9a54ea9a22: Preparing [2022-06-29T02:09:48.856Z] 9cb8b002071b: Preparing [2022-06-29T02:09:48.856Z] bc396f5b5d23: Preparing [2022-06-29T02:09:48.856Z] 4f4ce317c6bb: Preparing [2022-06-29T02:09:48.856Z] 4f4ce317c6bb: Layer already exists [2022-06-29T02:09:49.126Z] 4149576bb8d9: Pushed [2022-06-29T02:09:49.126Z] 5e9a54ea9a22: Pushed [2022-06-29T02:09:49.717Z] bc396f5b5d23: Pushed [2022-06-29T02:09:55.089Z] 9cb8b002071b: Pushed [2022-06-29T02:09:55.359Z] 43c8318ea3c34239a434d94f763095d4441f4024: digest: sha256:350f0b3814261a1bfd27ab06da227582aa1be2f6966eaf8ec483435a4e27f406 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:55.719Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:56.077Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-29T02:09:56.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-29T02:09:56.077Z] 4149576bb8d9: Preparing [2022-06-29T02:09:56.077Z] 5e9a54ea9a22: Preparing [2022-06-29T02:09:56.077Z] 9cb8b002071b: Preparing [2022-06-29T02:09:56.077Z] bc396f5b5d23: Preparing [2022-06-29T02:09:56.077Z] 4f4ce317c6bb: Preparing [2022-06-29T02:09:56.077Z] bc396f5b5d23: Layer already exists [2022-06-29T02:09:56.077Z] 4f4ce317c6bb: Layer already exists [2022-06-29T02:09:56.077Z] 9cb8b002071b: Layer already exists [2022-06-29T02:09:56.077Z] 4149576bb8d9: Layer already exists [2022-06-29T02:09:56.077Z] 5e9a54ea9a22: Layer already exists [2022-06-29T02:09:56.347Z] latest: digest: sha256:350f0b3814261a1bfd27ab06da227582aa1be2f6966eaf8ec483435a4e27f406 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:56.732Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:57.111Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.18 [2022-06-29T02:09:57.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-29T02:09:57.111Z] 4149576bb8d9: Preparing [2022-06-29T02:09:57.111Z] 5e9a54ea9a22: Preparing [2022-06-29T02:09:57.111Z] 9cb8b002071b: Preparing [2022-06-29T02:09:57.111Z] bc396f5b5d23: Preparing [2022-06-29T02:09:57.111Z] 4f4ce317c6bb: Preparing [2022-06-29T02:09:57.111Z] 5e9a54ea9a22: Layer already exists [2022-06-29T02:09:57.111Z] 9cb8b002071b: Layer already exists [2022-06-29T02:09:57.111Z] 4f4ce317c6bb: Layer already exists [2022-06-29T02:09:57.111Z] 4149576bb8d9: Layer already exists [2022-06-29T02:09:57.111Z] bc396f5b5d23: Layer already exists [2022-06-29T02:09:57.386Z] 0.0.1-dev.18: digest: sha256:350f0b3814261a1bfd27ab06da227582aa1be2f6966eaf8ec483435a4e27f406 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:57.763Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:58.150Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T02:09:58.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-29T02:09:58.151Z] 4149576bb8d9: Preparing [2022-06-29T02:09:58.151Z] 5e9a54ea9a22: Preparing [2022-06-29T02:09:58.151Z] 9cb8b002071b: Preparing [2022-06-29T02:09:58.151Z] bc396f5b5d23: Preparing [2022-06-29T02:09:58.151Z] 4f4ce317c6bb: Preparing [2022-06-29T02:09:58.151Z] 4f4ce317c6bb: Layer already exists [2022-06-29T02:09:58.151Z] 5e9a54ea9a22: Layer already exists [2022-06-29T02:09:58.151Z] bc396f5b5d23: Layer already exists [2022-06-29T02:09:58.151Z] 4149576bb8d9: Layer already exists [2022-06-29T02:09:58.151Z] 9cb8b002071b: Layer already exists [2022-06-29T02:09:58.420Z] 43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18: digest: sha256:350f0b3814261a1bfd27ab06da227582aa1be2f6966eaf8ec483435a4e27f406 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:58.785Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:59.137Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-29T02:09:59.137Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-29T02:09:59.137Z] 4149576bb8d9: Preparing [2022-06-29T02:09:59.137Z] 5e9a54ea9a22: Preparing [2022-06-29T02:09:59.137Z] 9cb8b002071b: Preparing [2022-06-29T02:09:59.137Z] bc396f5b5d23: Preparing [2022-06-29T02:09:59.137Z] 4f4ce317c6bb: Preparing [2022-06-29T02:09:59.137Z] 4f4ce317c6bb: Layer already exists [2022-06-29T02:09:59.137Z] 4149576bb8d9: Layer already exists [2022-06-29T02:09:59.137Z] bc396f5b5d23: Layer already exists [2022-06-29T02:09:59.137Z] 9cb8b002071b: Layer already exists [2022-06-29T02:09:59.137Z] 5e9a54ea9a22: Layer already exists [2022-06-29T02:09:59.408Z] main: digest: sha256:350f0b3814261a1bfd27ab06da227582aa1be2f6966eaf8ec483435a4e27f406 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-29T02:09:59.472Z] ===================================================== [Pipeline] echo [2022-06-29T02:09:59.482Z] taggedImages: [2022-06-29T02:09:59.482Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024 [2022-06-29T02:09:59.482Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-29T02:09:59.482Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.18 [2022-06-29T02:09:59.482Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:43c8318ea3c34239a434d94f763095d4441f4024-0.0.1-dev.18 [2022-06-29T02:09:59.482Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:09:59.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T02:09:59.863Z] [2022-06-29T02:09:59.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:00.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T02:10:00.485Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T02:10:00.485Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T02:10:00.485Z] 04944245beec: Pulling fs layer [2022-06-29T02:10:00.485Z] 699f458cf7ca: Pulling fs layer [2022-06-29T02:10:00.485Z] 765212b225bb: Pulling fs layer [2022-06-29T02:10:00.485Z] f23df028b6ca: Pulling fs layer [2022-06-29T02:10:00.485Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T02:10:00.485Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T02:10:00.485Z] f23df028b6ca: Waiting [2022-06-29T02:10:00.485Z] d65c8cfc05b1: Waiting [2022-06-29T02:10:00.485Z] 2437ff75d9bd: Waiting [2022-06-29T02:10:00.485Z] 765212b225bb: Waiting [2022-06-29T02:10:00.485Z] 04944245beec: Verifying Checksum [2022-06-29T02:10:00.485Z] 04944245beec: Download complete [2022-06-29T02:10:00.485Z] 765212b225bb: Verifying Checksum [2022-06-29T02:10:00.485Z] 765212b225bb: Download complete [2022-06-29T02:10:00.485Z] f23df028b6ca: Verifying Checksum [2022-06-29T02:10:00.485Z] f23df028b6ca: Download complete [2022-06-29T02:10:00.485Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T02:10:00.485Z] d65c8cfc05b1: Download complete [2022-06-29T02:10:00.760Z] 699f458cf7ca: Verifying Checksum [2022-06-29T02:10:00.760Z] 699f458cf7ca: Download complete [2022-06-29T02:10:01.032Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T02:10:01.032Z] 8998bd30e6a1: Download complete [2022-06-29T02:10:03.664Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T02:10:03.664Z] 2437ff75d9bd: Download complete [2022-06-29T02:10:05.100Z] 8998bd30e6a1: Pull complete [2022-06-29T02:10:05.693Z] 04944245beec: Pull complete [2022-06-29T02:10:07.124Z] 699f458cf7ca: Pull complete [2022-06-29T02:10:07.399Z] 765212b225bb: Pull complete [2022-06-29T02:10:07.990Z] f23df028b6ca: Pull complete [2022-06-29T02:10:08.262Z] d65c8cfc05b1: Pull complete [2022-06-29T02:10:23.334Z] 2437ff75d9bd: Pull complete [2022-06-29T02:10:23.334Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T02:10:23.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T02:10:23.334Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:10:23.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-16303 does not seem to be running inside a container [2022-06-29T02:10:23.667Z] $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T02:10:26.382Z] $ docker top 50323deb79fe46b548fe9be3c5dc8c0dea050fb2bc84c03a0dfd8379bbe20e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:10:27.293Z] ---> job-cost.sh [2022-06-29T02:10:27.293Z] lf-activate-venv: SKIPPING [2022-06-29T02:10:27.293Z] INFO: No Stack... [2022-06-29T02:10:27.883Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T02:10:28.854Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T02:10:29.508Z] + cat /w/workspace/device-onvif-camera/20/archives/cost.csv [2022-06-29T02:10:29.509Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T02:10:29.573Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [2022-06-29T02:10:29.580Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] did not exist. Created. [2022-06-29T02:10:29.580Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T02:10:30.250Z] /w/workspace/device-onvif-camera/20@tmp/durable-d4b92d1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T02:10:30.919Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T02:10:30.938Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T02:10:30.990Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T02:10:31.000Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T02:10:31.025Z] $ docker stop --time=1 50323deb79fe46b548fe9be3c5dc8c0dea050fb2bc84c03a0dfd8379bbe20e30 [2022-06-29T02:10:32.519Z] $ docker rm -f 50323deb79fe46b548fe9be3c5dc8c0dea050fb2bc84c03a0dfd8379bbe20e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-29T02:10:32.950Z] provisioning config files... [2022-06-29T02:10:32.957Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3668428119973881069tmp [Pipeline] { [Pipeline] sh [2022-06-29T02:10:33.250Z] + set +x [2022-06-29T02:10:33.250Z] + curl -s https://codecov.io/bash [2022-06-29T02:10:33.250Z] + bash -s -- [2022-06-29T02:10:33.250Z] [2022-06-29T02:10:33.250Z] _____ _ [2022-06-29T02:10:33.250Z] / ____| | | [2022-06-29T02:10:33.250Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T02:10:33.250Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T02:10:33.250Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T02:10:33.250Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T02:10:33.250Z] Bash-1.0.6 [2022-06-29T02:10:33.250Z] [2022-06-29T02:10:33.250Z] [2022-06-29T02:10:33.250Z] ==> git version 2.25.1 found [2022-06-29T02:10:33.250Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-29T02:10:33.250Z] Release-Date: 2020-01-08 [2022-06-29T02:10:33.250Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-29T02:10:33.250Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T02:10:33.250Z] ==> Jenkins CI detected. [2022-06-29T02:10:33.250Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-29T02:10:33.250Z] project root: . [2022-06-29T02:10:33.250Z] --> token set from env [2022-06-29T02:10:33.250Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T02:10:33.250Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T02:10:33.250Z] ==> Python coveragepy not found [2022-06-29T02:10:33.250Z] ==> Searching for coverage reports in: [2022-06-29T02:10:33.250Z] + . [2022-06-29T02:10:33.250Z] -> Found 1 reports [2022-06-29T02:10:33.250Z] ==> Detecting git/mercurial file structure [2022-06-29T02:10:33.250Z] ==> Reading reports [2022-06-29T02:10:33.250Z] + ./coverage.out bytes=70091 [2022-06-29T02:10:33.250Z] ==> Appending adjustments [2022-06-29T02:10:33.250Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T02:10:33.510Z] + Found adjustments [2022-06-29T02:10:33.510Z] ==> Gzipping contents [2022-06-29T02:10:33.510Z] 12K /tmp/codecov.I0hTJd.gz [2022-06-29T02:10:33.510Z] ==> Uploading reports [2022-06-29T02:10:33.510Z] url: https://codecov.io [2022-06-29T02:10:33.510Z] query: branch=main&commit=43c8318ea3c34239a434d94f763095d4441f4024&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-29T02:10:33.510Z] -> Pinging Codecov [2022-06-29T02:10:33.510Z] 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=43c8318ea3c34239a434d94f763095d4441f4024&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-29T02:10:33.770Z] -> Uploading to [2022-06-29T02:10:33.770Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/F29A59C45E3A92E06B3E522C9905F8EF/43c8318ea3c34239a434d94f763095d4441f4024/ba4f393f-ca15-48f3-a701-79733b7e467a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T021033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e964991cca36de667ffbdb69c2e4de18b59d4af0a13ffd039ccc09553f7d9946 [2022-06-29T02:10:33.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T02:10:33.770Z] Dload Upload Total Spent Left Speed [2022-06-29T02:10:34.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8903 0 0 100 8903 0 42598 --:--:-- --:--:-- --:--:-- 42598 [2022-06-29T02:10:34.029Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] } [2022-06-29T02:10:34.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-29T02:10:34.203Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-29T02:10:34.215Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:34.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-29T02:10:34.509Z] [2022-06-29T02:10:34.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:34.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-29T02:10:34.808Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-29T02:10:34.808Z] df9b9388f04a: Already exists [2022-06-29T02:10:34.808Z] 52dc419b0ee2: Pulling fs layer [2022-06-29T02:10:34.808Z] 25bc292e5bac: Pulling fs layer [2022-06-29T02:10:34.808Z] 114826534d7a: Pulling fs layer [2022-06-29T02:10:34.808Z] 4657fd5d0bcf: Pulling fs layer [2022-06-29T02:10:34.808Z] 6ad1cebc031e: Pulling fs layer [2022-06-29T02:10:34.808Z] 8a3aa393b2d8: Pulling fs layer [2022-06-29T02:10:34.808Z] 6ad1cebc031e: Waiting [2022-06-29T02:10:34.808Z] 25bc292e5bac: Verifying Checksum [2022-06-29T02:10:34.808Z] 25bc292e5bac: Download complete [2022-06-29T02:10:34.808Z] 4657fd5d0bcf: Verifying Checksum [2022-06-29T02:10:34.808Z] 4657fd5d0bcf: Download complete [2022-06-29T02:10:34.808Z] 52dc419b0ee2: Pull complete [2022-06-29T02:10:35.070Z] 25bc292e5bac: Pull complete [2022-06-29T02:10:35.070Z] 6ad1cebc031e: Verifying Checksum [2022-06-29T02:10:35.070Z] 6ad1cebc031e: Download complete [2022-06-29T02:10:35.643Z] 114826534d7a: Verifying Checksum [2022-06-29T02:10:35.643Z] 114826534d7a: Download complete [2022-06-29T02:10:35.902Z] 8a3aa393b2d8: Verifying Checksum [2022-06-29T02:10:35.902Z] 8a3aa393b2d8: Download complete [2022-06-29T02:10:39.185Z] 114826534d7a: Pull complete [2022-06-29T02:10:39.185Z] 4657fd5d0bcf: Pull complete [2022-06-29T02:10:39.185Z] 6ad1cebc031e: Pull complete [2022-06-29T02:10:42.473Z] 8a3aa393b2d8: Pull complete [2022-06-29T02:10:42.473Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-29T02:10:42.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-29T02:10:42.473Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:10:42.571Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:10:42.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-29T02:10:44.200Z] $ docker top 89285fc7d76b5710308657263cae9555fe669c6e1502a88d4ec6a07cf52e9dff -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-29T02:10:44.267Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-29T02:10:44.554Z] + set -o pipefail [2022-06-29T02:10:44.554Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-29T02:10:48.756Z] [2022-06-29T02:10:48.756Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-29T02:10:48.756Z] [2022-06-29T02:10:48.756Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/482e6ed1-0b28-4c45-b615-825311e79b77 [2022-06-29T02:10:48.756Z] [2022-06-29T02:10:48.756Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-29T02:10:48.756Z] [2022-06-29T02:10:48.756Z] [2022-06-29T02:10:48.756Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-29T02:10:48.756Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-29T02:10:48.770Z] $ docker stop --time=1 89285fc7d76b5710308657263cae9555fe669c6e1502a88d4ec6a07cf52e9dff [2022-06-29T02:10:50.707Z] $ docker rm -f 89285fc7d76b5710308657263cae9555fe669c6e1502a88d4ec6a07cf52e9dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T02:10:51.413Z] + git log --format=format:%s -1 43c8318ea3c34239a434d94f763095d4441f4024 [Pipeline] sh [2022-06-29T02:10:51.706Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T02:10:51.706Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:52.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T02:10:52.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:10:52.107Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:10:52.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T02:10:52.584Z] $ docker top 4e2d8b1d6e8a34829fe88d4f79f134c632ead52a54e9e99da863e32c558ad957 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T02:10:52.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T02:10:52.716Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T02:10:52.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T02:10:52.851Z] $ docker exec 4e2d8b1d6e8a34829fe88d4f79f134c632ead52a54e9e99da863e32c558ad957 ssh-agent [2022-06-29T02:10:52.979Z] SSH_AUTH_SOCK=/tmp/ssh-QaOs8ZDxP7Fk/agent.32 [2022-06-29T02:10:52.979Z] SSH_AGENT_PID=39 [2022-06-29T02:10:52.985Z] Running ssh-add (command line suppressed) [2022-06-29T02:10:53.106Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5918685885515889734.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5918685885515889734.key) [2022-06-29T02:10:53.120Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T02:10:53.410Z] + git semver tag [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,625 [run_tag] DEBUG tag force:False [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,625 [check_head_tag] DEBUG check head tag [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,626 [execute] INFO git cat-file --batch-check [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,630 [execute] INFO git cat-file --batch [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,638 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,638 [execute] INFO git tag -a v0.0.1-dev.18 -m v0.0.1-dev.18 [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,638 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.18', '-m', 'v0.0.1-dev.18'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-29T02:10:53.671Z] 2022-06-29 02:10:53,643 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:10:53.671Z] 0.0.1-dev.18 [Pipeline] } [2022-06-29T02:10:53.683Z] $ docker exec --env ******** --env ******** 4e2d8b1d6e8a34829fe88d4f79f134c632ead52a54e9e99da863e32c558ad957 ssh-agent -k [2022-06-29T02:10:53.800Z] unset SSH_AUTH_SOCK; [2022-06-29T02:10:53.800Z] unset SSH_AGENT_PID; [2022-06-29T02:10:53.800Z] echo Agent pid 39 killed; [2022-06-29T02:10:53.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T02:10:54.130Z] + git semver [Pipeline] } [2022-06-29T02:10:54.405Z] $ docker stop --time=1 4e2d8b1d6e8a34829fe88d4f79f134c632ead52a54e9e99da863e32c558ad957 [2022-06-29T02:10:55.723Z] $ docker rm -f 4e2d8b1d6e8a34829fe88d4f79f134c632ead52a54e9e99da863e32c558ad957 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:56.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-29T02:10:56.132Z] [2022-06-29T02:10:56.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:10:56.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-29T02:10:56.429Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-29T02:10:56.429Z] ab5ef0e58194: Pulling fs layer [2022-06-29T02:10:56.429Z] 9712f1f96733: Pulling fs layer [2022-06-29T02:10:56.429Z] 63f879dbbcfc: Pulling fs layer [2022-06-29T02:10:56.429Z] 0d9ebad4ef96: Pulling fs layer [2022-06-29T02:10:56.429Z] e9a5061849ea: Pulling fs layer [2022-06-29T02:10:56.429Z] d747dcd14b5f: Pulling fs layer [2022-06-29T02:10:56.429Z] 2de7ff778b66: Pulling fs layer [2022-06-29T02:10:56.429Z] e9a5061849ea: Waiting [2022-06-29T02:10:56.429Z] d747dcd14b5f: Waiting [2022-06-29T02:10:56.429Z] 0d9ebad4ef96: Waiting [2022-06-29T02:10:56.429Z] 2de7ff778b66: Waiting [2022-06-29T02:10:56.429Z] 9712f1f96733: Verifying Checksum [2022-06-29T02:10:56.429Z] 9712f1f96733: Download complete [2022-06-29T02:10:57.021Z] 63f879dbbcfc: Verifying Checksum [2022-06-29T02:10:57.021Z] 63f879dbbcfc: Download complete [2022-06-29T02:10:57.021Z] e9a5061849ea: Verifying Checksum [2022-06-29T02:10:57.021Z] e9a5061849ea: Download complete [2022-06-29T02:10:57.021Z] d747dcd14b5f: Verifying Checksum [2022-06-29T02:10:57.021Z] d747dcd14b5f: Download complete [2022-06-29T02:10:57.282Z] 0d9ebad4ef96: Verifying Checksum [2022-06-29T02:10:57.282Z] 0d9ebad4ef96: Download complete [2022-06-29T02:10:57.282Z] 2de7ff778b66: Verifying Checksum [2022-06-29T02:10:57.282Z] 2de7ff778b66: Download complete [2022-06-29T02:10:57.541Z] ab5ef0e58194: Verifying Checksum [2022-06-29T02:10:57.541Z] ab5ef0e58194: Download complete [2022-06-29T02:11:00.852Z] ab5ef0e58194: Pull complete [2022-06-29T02:11:00.852Z] 9712f1f96733: Pull complete [2022-06-29T02:11:01.432Z] 63f879dbbcfc: Pull complete [2022-06-29T02:11:06.743Z] 0d9ebad4ef96: Pull complete [2022-06-29T02:11:06.743Z] e9a5061849ea: Pull complete [2022-06-29T02:11:06.743Z] d747dcd14b5f: Pull complete [2022-06-29T02:11:07.682Z] 2de7ff778b66: Pull complete [2022-06-29T02:11:07.682Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-29T02:11:07.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-29T02:11:07.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:11:07.776Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:11:07.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-29T02:11:09.541Z] $ docker top 4b67dd0652bd1647e9c5a8b118c710b77fbd333ba703b1e51c4f7ae0fc75ed2d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-29T02:11:09.628Z] provisioning config files... [2022-06-29T02:11:09.636Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7784490604055937599tmp [2022-06-29T02:11:09.648Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config407289975007167619tmp [2022-06-29T02:11:09.658Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3322887425894959949tmp [Pipeline] { [Pipeline] echo [2022-06-29T02:11:09.675Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:09.961Z] ---> sigul-configuration.sh [2022-06-29T02:11:09.961Z] gpg: directory `/root/.gnupg' created [2022-06-29T02:11:09.961Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-29T02:11:09.961Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-29T02:11:09.961Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-29T02:11:09.961Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-29T02:11:09.961Z] gpg: CAST5 encrypted data [2022-06-29T02:11:09.961Z] gpg: encrypted with 1 passphrase [2022-06-29T02:11:09.961Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-29T02:11:10.248Z] + mkdir /home/jenkins [2022-06-29T02:11:10.248Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-29T02:11:10.535Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-06-29T02:11:10.545Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:10.831Z] ---> sigul-install.sh [2022-06-29T02:11:10.831Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-29T02:11:11.119Z] + git tag --list [2022-06-29T02:11:11.119Z] v0.0.0 [2022-06-29T02:11:11.119Z] v0.0.1-dev.1 [2022-06-29T02:11:11.119Z] v0.0.1-dev.10 [2022-06-29T02:11:11.119Z] v0.0.1-dev.11 [2022-06-29T02:11:11.119Z] v0.0.1-dev.12 [2022-06-29T02:11:11.119Z] v0.0.1-dev.13 [2022-06-29T02:11:11.119Z] v0.0.1-dev.14 [2022-06-29T02:11:11.119Z] v0.0.1-dev.15 [2022-06-29T02:11:11.119Z] v0.0.1-dev.16 [2022-06-29T02:11:11.119Z] v0.0.1-dev.17 [2022-06-29T02:11:11.119Z] v0.0.1-dev.18 [2022-06-29T02:11:11.119Z] v0.0.1-dev.2 [2022-06-29T02:11:11.119Z] v0.0.1-dev.3 [2022-06-29T02:11:11.119Z] v0.0.1-dev.4 [2022-06-29T02:11:11.119Z] v0.0.1-dev.5 [2022-06-29T02:11:11.119Z] v0.0.1-dev.6 [2022-06-29T02:11:11.119Z] v0.0.1-dev.7 [2022-06-29T02:11:11.119Z] v0.0.1-dev.8 [2022-06-29T02:11:11.119Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-29T02:11:11.407Z] + lftools sign git-tag v0.0.1-dev.18 [2022-06-29T02:11:11.978Z] Signing Git tag with Sigul... [2022-06-29T02:11:11.978Z] Signing v0.0.1-dev.18 [Pipeline] echo [2022-06-29T02:11:12.247Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:12.533Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-29T02:11:12.542Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-29T02:11:12.566Z] $ docker stop --time=1 4b67dd0652bd1647e9c5a8b118c710b77fbd333ba703b1e51c4f7ae0fc75ed2d [2022-06-29T02:11:13.864Z] $ docker rm -f 4b67dd0652bd1647e9c5a8b118c710b77fbd333ba703b1e51c4f7ae0fc75ed2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-29T02:11:14.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T02:11:14.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:11:14.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T02:11:14.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:11:14.694Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:11:14.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T02:11:15.088Z] $ docker top d5f50530b6b7926af89c790495b63f9b92b6e1875a9c9a881921db020148f1f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T02:11:15.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T02:11:15.192Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T02:11:15.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T02:11:15.345Z] $ docker exec d5f50530b6b7926af89c790495b63f9b92b6e1875a9c9a881921db020148f1f1 ssh-agent [2022-06-29T02:11:15.474Z] SSH_AUTH_SOCK=/tmp/ssh-zYv6ZurcS5lb/agent.32 [2022-06-29T02:11:15.474Z] SSH_AGENT_PID=38 [2022-06-29T02:11:15.482Z] Running ssh-add (command line suppressed) [2022-06-29T02:11:15.607Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2590968627533682017.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2590968627533682017.key) [2022-06-29T02:11:15.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T02:11:15.922Z] + git semver bump pre [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,137 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,137 [bump_version] DEBUG bumping version:0.0.1-dev.18 on axis:pre with prefix:dev [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,137 [bump_version] DEBUG bumped version:0.0.1-dev.19 [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,137 [write_version] DEBUG write version:0.0.1-dev.19 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,138 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,138 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,140 [execute] INFO git cat-file --batch-check [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,146 [execute] INFO git cat-file --batch [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T02:11:16.186Z] 2022-06-29 02:11:16,152 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:11:16.186Z] 0.0.1-dev.19 [Pipeline] } [2022-06-29T02:11:16.202Z] $ docker exec --env ******** --env ******** d5f50530b6b7926af89c790495b63f9b92b6e1875a9c9a881921db020148f1f1 ssh-agent -k [2022-06-29T02:11:16.313Z] unset SSH_AUTH_SOCK; [2022-06-29T02:11:16.313Z] unset SSH_AGENT_PID; [2022-06-29T02:11:16.313Z] echo Agent pid 38 killed; [2022-06-29T02:11:16.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T02:11:16.648Z] + git semver [Pipeline] } [2022-06-29T02:11:16.927Z] $ docker stop --time=1 d5f50530b6b7926af89c790495b63f9b92b6e1875a9c9a881921db020148f1f1 [2022-06-29T02:11:18.261Z] $ docker rm -f d5f50530b6b7926af89c790495b63f9b92b6e1875a9c9a881921db020148f1f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T02:11:18.612Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T02:11:18.612Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:11:18.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T02:11:18.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:11:18.997Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:11:19.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T02:11:19.411Z] $ docker top d201fa39ac533e2b3d52caaf2fa858d5d7c60953990ffdc6cd95ebb6336384a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T02:11:19.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T02:11:19.500Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T02:11:19.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T02:11:19.628Z] $ docker exec d201fa39ac533e2b3d52caaf2fa858d5d7c60953990ffdc6cd95ebb6336384a8 ssh-agent [2022-06-29T02:11:19.820Z] SSH_AUTH_SOCK=/tmp/ssh-tFIS7sYix5i7/agent.33 [2022-06-29T02:11:19.820Z] SSH_AGENT_PID=39 [2022-06-29T02:11:19.825Z] Running ssh-add (command line suppressed) [2022-06-29T02:11:19.948Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4045423531895229290.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4045423531895229290.key) [2022-06-29T02:11:19.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T02:11:20.256Z] + git semver push [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,485 [run_push] DEBUG push [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,486 [execute] INFO git cat-file --batch-check [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,490 [execute] INFO git rev-list 57d606324447ad6da79afa34cb6ba1c6beb1146b -- [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,490 [execute] DEBUG Popen(['git', 'rev-list', '57d606324447ad6da79afa34cb6ba1c6beb1146b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,497 [execute] INFO git fetch -v origin [2022-06-29T02:11:20.516Z] 2022-06-29 02:11:20,497 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-29T02:11:21.087Z] 2022-06-29 02:11:21,040 [run_push] DEBUG no remote changes detected [2022-06-29T02:11:21.087Z] 2022-06-29 02:11:21,041 [execute] INFO git push origin semver [2022-06-29T02:11:21.087Z] 2022-06-29 02:11:21,041 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-29T02:11:22.028Z] 2022-06-29 02:11:21,869 [run_push] DEBUG push all version tags [2022-06-29T02:11:22.028Z] 2022-06-29 02:11:21,870 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-29T02:11:22.028Z] 2022-06-29 02:11:21,871 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-29T02:11:22.600Z] 2022-06-29 02:11:22,523 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-29T02:11:22.600Z] 0.0.1-dev.19 [Pipeline] } [2022-06-29T02:11:22.613Z] $ docker exec --env ******** --env ******** d201fa39ac533e2b3d52caaf2fa858d5d7c60953990ffdc6cd95ebb6336384a8 ssh-agent -k [2022-06-29T02:11:22.733Z] unset SSH_AUTH_SOCK; [2022-06-29T02:11:22.734Z] unset SSH_AGENT_PID; [2022-06-29T02:11:22.734Z] echo Agent pid 39 killed; [2022-06-29T02:11:22.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T02:11:23.057Z] + git semver [Pipeline] } [2022-06-29T02:11:23.332Z] $ docker stop --time=1 d201fa39ac533e2b3d52caaf2fa858d5d7c60953990ffdc6cd95ebb6336384a8 [2022-06-29T02:11:24.625Z] $ docker rm -f d201fa39ac533e2b3d52caaf2fa858d5d7c60953990ffdc6cd95ebb6336384a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-29T02:11:25.230Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-29T02:11:25.230Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-29T02:11:25.230Z] total 16 [2022-06-29T02:11:25.230Z] drwxr-xr-x 3 root root 4096 Jun 29 02:00 . [2022-06-29T02:11:25.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 02:11 .. [2022-06-29T02:11:25.230Z] drwxr-xr-x 2 root root 4096 Jun 29 02:00 cost [2022-06-29T02:11:25.230Z] -rw-r--r-- 1 root root 89 Jun 29 02:00 cost.csv [2022-06-29T02:11:25.230Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-29T02:11:25.230Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-29T02:11:25.230Z] total 16 [2022-06-29T02:11:25.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 02:00 . [2022-06-29T02:11:25.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 02:11 .. [2022-06-29T02:11:25.230Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 02:00 cost [2022-06-29T02:11:25.230Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 29 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:25.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:26.389Z] ---> package-listing.sh [2022-06-29T02:11:26.389Z] ++ facter osfamily [2022-06-29T02:11:26.389Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T02:11:26.650Z] + OS_FAMILY=debian [2022-06-29T02:11:26.650Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-29T02:11:26.650Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T02:11:26.650Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T02:11:26.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T02:11:26.650Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T02:11:26.650Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-29T02:11:26.650Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T02:11:26.650Z] + case "${OS_FAMILY}" in [2022-06-29T02:11:26.650Z] + dpkg -l [2022-06-29T02:11:26.650Z] + grep '^ii' [2022-06-29T02:11:26.650Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T02:11:26.650Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T02:11:26.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T02:11:26.650Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-29T02:11:26.650Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-29T02:11:26.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-06-29T02:11:26.661Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T02:11:26.942Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T02:11:27.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T02:11:27.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T02:11:27.581Z] prd-ubuntu20.04-docker-8c-8g-16301 does not seem to be running inside a container [2022-06-29T02:11:27.616Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T02:11:27.833Z] $ docker top 9d48c3bf184ee24eba8841e7a20329f636e918b52d895c9bf9d21841860de425 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T02:11:28.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T02:11:28.469Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T02:11:28.755Z] + ls /var/log/sa-host [2022-06-29T02:11:28.755Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T02:11:28.887Z] provisioning config files... [2022-06-29T02:11:28.896Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7165089838364282959tmp [Pipeline] { [Pipeline] echo [2022-06-29T02:11:28.911Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:29.195Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T02:11:29.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:29.535Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T02:11:29.543Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:29.827Z] ---> sudo-logs.sh [2022-06-29T02:11:29.827Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T02:11:29.850Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:30.135Z] ---> job-cost.sh [2022-06-29T02:11:30.135Z] lf-activate-venv: SKIPPING [2022-06-29T02:11:30.135Z] DEBUG: total: 0.2199999988079071 [2022-06-29T02:11:30.135Z] INFO: Retrieving Stack Cost... [2022-06-29T02:11:30.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T02:11:30.965Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T02:11:30.974Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T02:11:31.258Z] ---> logs-deploy.sh [2022-06-29T02:11:31.258Z] lf-activate-venv: SKIPPING [2022-06-29T02:11:31.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/20 [2022-06-29T02:11:31.258Z] INFO: archiving workspace using pattern(s): [2022-06-29T02:11:32.200Z] Archives upload complete. [2022-06-29T02:11:32.200Z] INFO: archiving logs to Nexus