Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7fd1a7f74557858cb13a434798fc966c2703d09 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-ssh12021843625217017571.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-ssh9653436437320922207.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-ssh8976221880621507518.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-ssh3998240844795744112.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-ssh6148522722882442803.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16256’ Running on prd-ubuntu20.04-docker-8c-8g-16258 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f7fd1a7f74557858cb13a434798fc966c2703d09 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 Commit message: "Custom metadata (#87)" > git rev-list --no-walk b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T19:38:17.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T19:38:17.362Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T19:38:17.375Z] ========================================================= [2022-06-28T19:38:17.375Z] EdgeX Global Pipelines Version Info [2022-06-28T19:38:17.375Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:38:18.172Z] ------------------- [2022-06-28T19:38:18.172Z] stable info: [2022-06-28T19:38:18.172Z] ------------------- [2022-06-28T19:38:18.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T19:38:18.172Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T19:38:18.172Z] Message: update stable to v1.0.234 [2022-06-28T19:38:18.748Z] ------------------- [2022-06-28T19:38:18.748Z] experimental info: [2022-06-28T19:38:18.748Z] ------------------- [2022-06-28T19:38:18.748Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T19:38:18.748Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T19:38:18.748Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T19:38:18.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T19:38:19.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T19:38:19.028Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T19:38:19.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T19:38:19.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T19:38:19.069Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T19:38:19.085Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T19:38:19.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T19:38:19.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T19:38:19.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T19:38:19.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T19:38:19.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T19:38:19.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T19:38:19.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T19:38:19.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T19:38:19.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T19:38:19.213Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T19:38:19.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T19:38:19.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T19:38:19.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T19:38:19.265Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T19:38:19.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T19:38:19.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T19:38:19.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T19:38:19.317Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T19:38:19.328Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T19:38:19.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T19:38:19.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T19:38:19.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T19:38:19.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T19:38:19.384Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] echo [2022-06-28T19:38:19.396Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7fd1a7 [Pipeline] echo [2022-06-28T19:38:19.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:38:19.451Z] provisioning config files... [2022-06-28T19:38:19.465Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1057788749406565533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:38:19.772Z] ---> docker-login.sh [2022-06-28T19:38:19.772Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:38:20.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:20.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:20.035Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:20.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:20.035Z] [2022-06-28T19:38:20.035Z] Login Succeeded [2022-06-28T19:38:20.035Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:38:20.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:20.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:20.300Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:20.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:20.300Z] [2022-06-28T19:38:20.300Z] Login Succeeded [2022-06-28T19:38:20.300Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:38:20.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:20.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:20.300Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:20.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:20.300Z] [2022-06-28T19:38:20.300Z] Login Succeeded [2022-06-28T19:38:20.300Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:38:20.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:20.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:20.561Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:20.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:20.561Z] [2022-06-28T19:38:20.561Z] Login Succeeded [2022-06-28T19:38:20.561Z] docker.io [2022-06-28T19:38:20.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:20.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:20.823Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:20.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:20.823Z] [2022-06-28T19:38:20.823Z] Login Succeeded [2022-06-28T19:38:20.823Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:38:20.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T19:38:21.218Z] + git rev-list -1 --merges f7fd1a7f74557858cb13a434798fc966c2703d09~1..f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] echo [2022-06-28T19:38:21.258Z] -----------> git rev-list -1 --merges f7fd1a7f74557858cb13a434798fc966c2703d09~1..f7fd1a7f74557858cb13a434798fc966c2703d09 f7fd1a7f74557858cb13a434798fc966c2703d09 [false] [Pipeline] sh [2022-06-28T19:38:21.552Z] + git log --format=format:%s -1 f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] echo [2022-06-28T19:38:21.569Z] ========================================================= [2022-06-28T19:38:21.569Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T19:38:21.569Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T19:38:21.911Z] + git log --format=format:%s -1 f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] echo [2022-06-28T19:38:21.925Z] [semverPrep] GIT_COMMIT: f7fd1a7f74557858cb13a434798fc966c2703d09, Commit Message: Custom metadata (#87) [Pipeline] echo [2022-06-28T19:38:21.936Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T19:38:22.300Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T19:38:22.300Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T19:38:22.300Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T19:38:22.300Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T19:38:22.300Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-28T19:38:22.300Z] -a /etc/ssh/ssh_known_hosts [2022-06-28T19:38:22.300Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:38:22.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:38:22.723Z] [2022-06-28T19:38:22.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:38:23.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:38:23.032Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T19:38:23.032Z] 42c077c10790: Pulling fs layer [2022-06-28T19:38:23.032Z] f63e77b7563a: Pulling fs layer [2022-06-28T19:38:23.032Z] bd5fdadae976: Pulling fs layer [2022-06-28T19:38:23.032Z] 205491f53016: Pulling fs layer [2022-06-28T19:38:23.032Z] df18705c85c3: Pulling fs layer [2022-06-28T19:38:23.032Z] bdb3f477010e: Pulling fs layer [2022-06-28T19:38:23.032Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T19:38:23.032Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T19:38:23.032Z] bdb8f0575790: Pulling fs layer [2022-06-28T19:38:23.032Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T19:38:23.032Z] 2343380bae48: Pulling fs layer [2022-06-28T19:38:23.032Z] df18705c85c3: Waiting [2022-06-28T19:38:23.032Z] bdb3f477010e: Waiting [2022-06-28T19:38:23.032Z] c8a8fc8e1c8f: Waiting [2022-06-28T19:38:23.032Z] 2c6e9b1d212d: Waiting [2022-06-28T19:38:23.032Z] bdb8f0575790: Waiting [2022-06-28T19:38:23.032Z] 386e3cb2ff24: Waiting [2022-06-28T19:38:23.032Z] 2343380bae48: Waiting [2022-06-28T19:38:23.032Z] 205491f53016: Waiting [2022-06-28T19:38:23.032Z] f63e77b7563a: Download complete [2022-06-28T19:38:23.032Z] 205491f53016: Verifying Checksum [2022-06-28T19:38:23.032Z] 205491f53016: Download complete [2022-06-28T19:38:23.295Z] df18705c85c3: Verifying Checksum [2022-06-28T19:38:23.295Z] df18705c85c3: Download complete [2022-06-28T19:38:23.295Z] bdb3f477010e: Verifying Checksum [2022-06-28T19:38:23.295Z] bdb3f477010e: Download complete [2022-06-28T19:38:23.295Z] bd5fdadae976: Verifying Checksum [2022-06-28T19:38:23.295Z] bd5fdadae976: Download complete [2022-06-28T19:38:23.295Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T19:38:23.295Z] 2c6e9b1d212d: Download complete [2022-06-28T19:38:23.295Z] bdb8f0575790: Download complete [2022-06-28T19:38:23.295Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T19:38:23.295Z] 386e3cb2ff24: Download complete [2022-06-28T19:38:23.295Z] 2343380bae48: Download complete [2022-06-28T19:38:23.295Z] 42c077c10790: Verifying Checksum [2022-06-28T19:38:23.295Z] 42c077c10790: Download complete [2022-06-28T19:38:23.886Z] c8a8fc8e1c8f: Download complete [2022-06-28T19:38:24.830Z] 42c077c10790: Pull complete [2022-06-28T19:38:24.830Z] f63e77b7563a: Pull complete [2022-06-28T19:38:25.402Z] bd5fdadae976: Pull complete [2022-06-28T19:38:25.402Z] 205491f53016: Pull complete [2022-06-28T19:38:25.974Z] df18705c85c3: Pull complete [2022-06-28T19:38:25.974Z] bdb3f477010e: Pull complete [2022-06-28T19:38:27.889Z] c8a8fc8e1c8f: Pull complete [2022-06-28T19:38:28.150Z] 2c6e9b1d212d: Pull complete [2022-06-28T19:38:28.150Z] bdb8f0575790: Pull complete [2022-06-28T19:38:28.150Z] 386e3cb2ff24: Pull complete [2022-06-28T19:38:28.412Z] 2343380bae48: Pull complete [2022-06-28T19:38:28.412Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T19:38:28.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:38:28.412Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:38:28.516Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:38:28.557Z] $ 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-28T19:38:29.786Z] $ docker top 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T19:38:29.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:38:29.899Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:38:30.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:38:30.038Z] $ docker exec 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 ssh-agent [2022-06-28T19:38:30.162Z] SSH_AUTH_SOCK=/tmp/ssh-ZPNRcSRNk236/agent.34 [2022-06-28T19:38:30.162Z] SSH_AGENT_PID=40 [2022-06-28T19:38:30.169Z] Running ssh-add (command line suppressed) [2022-06-28T19:38:30.283Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3515564361636978824.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3515564361636978824.key) [2022-06-28T19:38:30.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:38:30.597Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T19:38:30.608Z] $ docker exec --env ******** --env ******** 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 ssh-agent -k [2022-06-28T19:38:30.726Z] unset SSH_AUTH_SOCK; [2022-06-28T19:38:30.727Z] unset SSH_AGENT_PID; [2022-06-28T19:38:30.727Z] echo Agent pid 40 killed; [2022-06-28T19:38:30.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T19:38:30.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:38:30.766Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:38:30.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:38:30.902Z] $ docker exec 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 ssh-agent [2022-06-28T19:38:31.026Z] SSH_AUTH_SOCK=/tmp/ssh-guYa5IzNwXXu/agent.74 [2022-06-28T19:38:31.026Z] SSH_AGENT_PID=80 [2022-06-28T19:38:31.033Z] Running ssh-add (command line suppressed) [2022-06-28T19:38:31.154Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5270060734012907334.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5270060734012907334.key) [2022-06-28T19:38:31.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:38:31.464Z] + git semver init [2022-06-28T19:38:31.726Z] 2022-06-28 19:38:31,713 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T19:38:31.726Z] 2022-06-28 19:38:31,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T19:38:31.726Z] 2022-06-28 19:38:31,715 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T19:38:31.726Z] 2022-06-28 19:38:31,715 [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-28T19:38:32.672Z] 2022-06-28 19:38:32,367 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-28T19:38:32.672Z] 2022-06-28 19:38:32,368 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-28T19:38:32.672Z] 2022-06-28 19:38:32,368 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:38:32.672Z] 2022-06-28 19:38:32,368 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:38:32.672Z] 0.0.1-dev.16 [Pipeline] } [2022-06-28T19:38:32.681Z] $ docker exec --env ******** --env ******** 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 ssh-agent -k [2022-06-28T19:38:32.807Z] unset SSH_AUTH_SOCK; [2022-06-28T19:38:32.807Z] unset SSH_AGENT_PID; [2022-06-28T19:38:32.807Z] echo Agent pid 80 killed; [2022-06-28T19:38:32.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T19:38:33.137Z] + git semver [Pipeline] } [2022-06-28T19:38:33.413Z] $ docker stop --time=1 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 [2022-06-28T19:38:34.735Z] $ docker rm -f 78805e5a5963ff1ba822daf948f2a9df6687b70836b85f886ee52cd7312d2347 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T19:38:35.097Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T19:38:35.376Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T19:38:35.380Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.16 [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-28T19:38:35.561Z] provisioning config files... [2022-06-28T19:38:35.573Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8544428836818768706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:38:35.876Z] ---> docker-login.sh [2022-06-28T19:38:35.876Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:38:35.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:35.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:35.876Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:35.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:35.876Z] [2022-06-28T19:38:35.876Z] Login Succeeded [2022-06-28T19:38:35.876Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:38:35.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:36.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:36.137Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:36.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:36.137Z] [2022-06-28T19:38:36.137Z] Login Succeeded [2022-06-28T19:38:36.137Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:38:36.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:36.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:36.137Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:36.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:36.137Z] [2022-06-28T19:38:36.137Z] Login Succeeded [2022-06-28T19:38:36.137Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:38:36.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:36.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:36.399Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:36.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:36.399Z] [2022-06-28T19:38:36.399Z] Login Succeeded [2022-06-28T19:38:36.399Z] docker.io [2022-06-28T19:38:36.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:38:36.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:38:36.660Z] Configure a credential helper to remove this warning. See [2022-06-28T19:38:36.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:38:36.660Z] [2022-06-28T19:38:36.660Z] Login Succeeded [2022-06-28T19:38:36.660Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:38:36.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T19:38:36.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:38:36.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:38:36.759Z] ========================================================= [2022-06-28T19:38:36.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T19:38:36.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:38:37.083Z] + 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-28T19:38:37.083Z] Sending build context to Docker daemon 8.866MB [2022-06-28T19:38:37.083Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:38:37.083Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T19:38:37.083Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T19:38:37.083Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T19:38:37.083Z] 666ba61612fd: Pulling fs layer [2022-06-28T19:38:37.083Z] 8ed8ca486205: Pulling fs layer [2022-06-28T19:38:37.083Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T19:38:37.083Z] c516ae0d96e1: Pulling fs layer [2022-06-28T19:38:37.083Z] 684cea983483: Pulling fs layer [2022-06-28T19:38:37.083Z] dd3240ac7de5: Pulling fs layer [2022-06-28T19:38:37.083Z] b1e948a4e11c: Pulling fs layer [2022-06-28T19:38:37.083Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T19:38:37.083Z] cc1cd167ecdc: Waiting [2022-06-28T19:38:37.083Z] 646ad004c059: Pulling fs layer [2022-06-28T19:38:37.083Z] c516ae0d96e1: Waiting [2022-06-28T19:38:37.083Z] 684cea983483: Waiting [2022-06-28T19:38:37.083Z] b1e948a4e11c: Waiting [2022-06-28T19:38:37.083Z] dd3240ac7de5: Waiting [2022-06-28T19:38:37.083Z] a8fd76ee1af6: Waiting [2022-06-28T19:38:37.083Z] 8ed8ca486205: Verifying Checksum [2022-06-28T19:38:37.083Z] 8ed8ca486205: Download complete [2022-06-28T19:38:37.083Z] 666ba61612fd: Verifying Checksum [2022-06-28T19:38:37.083Z] 666ba61612fd: Download complete [2022-06-28T19:38:37.346Z] c516ae0d96e1: Download complete [2022-06-28T19:38:37.346Z] 684cea983483: Download complete [2022-06-28T19:38:37.346Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T19:38:37.346Z] 59bf1c3509f3: Download complete [2022-06-28T19:38:37.346Z] dd3240ac7de5: Verifying Checksum [2022-06-28T19:38:37.346Z] dd3240ac7de5: Download complete [2022-06-28T19:38:37.346Z] b1e948a4e11c: Verifying Checksum [2022-06-28T19:38:37.346Z] b1e948a4e11c: Download complete [2022-06-28T19:38:37.346Z] 59bf1c3509f3: Pull complete [2022-06-28T19:38:37.609Z] 666ba61612fd: Pull complete [2022-06-28T19:38:37.609Z] 8ed8ca486205: Pull complete [2022-06-28T19:38:38.183Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T19:38:38.183Z] a8fd76ee1af6: Download complete [2022-06-28T19:38:38.183Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T19:38:38.183Z] cc1cd167ecdc: Download complete [2022-06-28T19:38:38.183Z] 646ad004c059: Verifying Checksum [2022-06-28T19:38:38.183Z] 646ad004c059: Download complete [2022-06-28T19:38:42.391Z] cc1cd167ecdc: Pull complete [2022-06-28T19:38:42.391Z] c516ae0d96e1: Pull complete [2022-06-28T19:38:42.391Z] 684cea983483: Pull complete [2022-06-28T19:38:42.391Z] dd3240ac7de5: Pull complete [2022-06-28T19:38:42.391Z] b1e948a4e11c: Pull complete [2022-06-28T19:38:44.944Z] a8fd76ee1af6: Pull complete [2022-06-28T19:38:45.516Z] 646ad004c059: Pull complete [2022-06-28T19:38:45.516Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T19:38:45.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T19:38:45.516Z] ---> 8f69c11f6b0c [2022-06-28T19:38:45.516Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T19:38:47.429Z] ---> Running in 0c76b095e39b [2022-06-28T19:38:47.429Z] Removing intermediate container 0c76b095e39b [2022-06-28T19:38:47.429Z] ---> ab28270d20c0 [2022-06-28T19:38:47.429Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:38:47.429Z] ---> Running in 4c70e1fbfc24 [2022-06-28T19:38:47.429Z] Removing intermediate container 4c70e1fbfc24 [2022-06-28T19:38:47.429Z] ---> 4dd12fba3fc8 [2022-06-28T19:38:47.429Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:38:47.429Z] ---> Running in 2835a2a594c9 [2022-06-28T19:38:47.429Z] Removing intermediate container 2835a2a594c9 [2022-06-28T19:38:47.429Z] ---> ad29584a0fd6 [2022-06-28T19:38:47.429Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:38:47.429Z] ---> Running in 7b834e247b51 [2022-06-28T19:38:47.690Z] Removing intermediate container 7b834e247b51 [2022-06-28T19:38:47.690Z] ---> 4789e0771568 [2022-06-28T19:38:47.690Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:38:47.690Z] ---> Running in f0e25dffa1a0 [2022-06-28T19:38:48.262Z] Removing intermediate container f0e25dffa1a0 [2022-06-28T19:38:48.262Z] ---> 34da1df73126 [2022-06-28T19:38:48.262Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:38:48.262Z] ---> Running in 9d9cc39a845b [2022-06-28T19:38:48.524Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T19:38:49.470Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T19:38:49.731Z] OK: 221 MiB in 52 packages [2022-06-28T19:38:49.993Z] Removing intermediate container 9d9cc39a845b [2022-06-28T19:38:49.993Z] ---> 4174eb4da162 [2022-06-28T19:38:49.993Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T19:38:49.993Z] ---> Running in f0fe81c5072f [2022-06-28T19:38:49.993Z] Removing intermediate container f0fe81c5072f [2022-06-28T19:38:49.993Z] ---> 8ad3e05f30b9 [2022-06-28T19:38:49.993Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T19:38:50.251Z] ---> 2705c6be20e6 [2022-06-28T19:38:50.251Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:38:50.251Z] ---> Running in d0f2583f3825 [2022-06-28T19:38:50.506Z] Still waiting to schedule task [2022-06-28T19:38:50.507Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16257’ is offline [2022-06-28T19:39:08.396Z] Removing intermediate container d0f2583f3825 [2022-06-28T19:39:08.396Z] ---> 220d6cd5c862 [2022-06-28T19:39:08.396Z] Step 12/13 : COPY . . [2022-06-28T19:39:08.396Z] ---> 5261495e3cf2 [2022-06-28T19:39:08.396Z] Step 13/13 : RUN ${MAKE} [2022-06-28T19:39:08.396Z] ---> Running in 42a4b0e764fd [2022-06-28T19:39:08.396Z] noop [2022-06-28T19:39:08.396Z] Removing intermediate container 42a4b0e764fd [2022-06-28T19:39:08.396Z] ---> 7f62dc392545 [2022-06-28T19:39:08.396Z] Successfully built 7f62dc392545 [2022-06-28T19:39:08.396Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:39:08.719Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T19:39:08.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:39:08.806Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:39:08.856Z] $ 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-28T19:39:09.277Z] $ docker top a96d98bae71c2abdde9204514dc5ee3cab5faf99b34a362be7cb76fee063dbde -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:39:09.618Z] + go version [2022-06-28T19:39:09.618Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T19:39:09.636Z] $ docker stop --time=1 a96d98bae71c2abdde9204514dc5ee3cab5faf99b34a362be7cb76fee063dbde [2022-06-28T19:39:10.952Z] $ docker rm -f a96d98bae71c2abdde9204514dc5ee3cab5faf99b34a362be7cb76fee063dbde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:39:11.365Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T19:39:11.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:39:11.447Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:39:11.492Z] $ 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-28T19:39:11.855Z] $ docker top 7fab86e024bb2ee7580d95d488a7d2a62d822448811aeb9e652fd5e9149b7af3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T19:39:12.272Z] + make test [2022-06-28T19:39:12.272Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T19:39:12.569Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T19:39:22.587Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T19:39:23.155Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 5.8% of statements [2022-06-28T19:39:27.349Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.972s coverage: 13.8% of statements [2022-06-28T19:39:33.920Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T19:39:37.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T19:39:37.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T19:39:37.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T19:39:37.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T19:39:37.810Z] $ docker stop --time=1 7fab86e024bb2ee7580d95d488a7d2a62d822448811aeb9e652fd5e9149b7af3 [2022-06-28T19:39:39.460Z] $ docker rm -f 7fab86e024bb2ee7580d95d488a7d2a62d822448811aeb9e652fd5e9149b7af3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T19:39:39.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T19:39:39.941Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T19:39:40.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T19:39:40.736Z] + ls -al . [2022-06-28T19:39:40.736Z] total 240 [2022-06-28T19:39:40.736Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 19:39 . [2022-06-28T19:39:40.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:38 .. [2022-06-28T19:39:40.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 19:38 .git [2022-06-28T19:39:40.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 19:38 .github [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 19:38 .gitignore [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 19:38 .golangci.yml [2022-06-28T19:39:40.736Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 19:38 .semver [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 19:38 Attribution.txt [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 19:38 CHANGELOG.md [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 19:38 Dockerfile [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 19:38 GOVERNANCE.md [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 19:38 Jenkinsfile [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 19:38 LICENSE [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 19:38 Makefile [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 19:38 OWNERS.md [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 19:38 README.md [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 19:38 VERSION [2022-06-28T19:39:40.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 19:38 bin [2022-06-28T19:39:40.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 19:38 cmd [2022-06-28T19:39:40.736Z] -rw-r--r-- 1 jenkins jenkins 64610 Jun 28 19:39 coverage.out [2022-06-28T19:39:40.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:38 doc [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 19:38 go.mod [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 19:38 go.sum [2022-06-28T19:39:40.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:38 internal [2022-06-28T19:39:40.736Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 19:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:39:41.052Z] + 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=f7fd1a7f74557858cb13a434798fc966c2703d09 --label arch=amd64 --label version=0.0.1-dev.16 . [2022-06-28T19:39:41.052Z] Sending build context to Docker daemon 8.932MB [2022-06-28T19:39:41.052Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:39:41.052Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T19:39:41.052Z] ---> 7f62dc392545 [2022-06-28T19:39:41.052Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T19:39:41.052Z] ---> Running in a76e5d85811e [2022-06-28T19:39:41.314Z] Removing intermediate container a76e5d85811e [2022-06-28T19:39:41.314Z] ---> fc125225764e [2022-06-28T19:39:41.314Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:39:41.314Z] ---> Running in aff59a34b635 [2022-06-28T19:39:41.314Z] Removing intermediate container aff59a34b635 [2022-06-28T19:39:41.314Z] ---> fc5724f35900 [2022-06-28T19:39:41.314Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:39:41.314Z] ---> Running in 8a72e562d691 [2022-06-28T19:39:41.577Z] Removing intermediate container 8a72e562d691 [2022-06-28T19:39:41.577Z] ---> e78d1db0dea9 [2022-06-28T19:39:41.577Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:39:41.577Z] ---> Running in ef26acedce2c [2022-06-28T19:39:41.577Z] Removing intermediate container ef26acedce2c [2022-06-28T19:39:41.577Z] ---> d06aef71eb9e [2022-06-28T19:39:41.577Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:39:41.577Z] ---> Running in 65c32a680ec9 [2022-06-28T19:39:42.149Z] Removing intermediate container 65c32a680ec9 [2022-06-28T19:39:42.149Z] ---> 50453ff838a4 [2022-06-28T19:39:42.149Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:39:42.149Z] ---> Running in 9078d86687ef [2022-06-28T19:39:42.409Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T19:39:43.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T19:39:43.610Z] OK: 221 MiB in 52 packages [2022-06-28T19:39:43.870Z] Removing intermediate container 9078d86687ef [2022-06-28T19:39:43.870Z] ---> a39655251b38 [2022-06-28T19:39:43.870Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T19:39:43.870Z] ---> Running in 7e53397eb76a [2022-06-28T19:39:43.870Z] Removing intermediate container 7e53397eb76a [2022-06-28T19:39:43.870Z] ---> 65c9837054d4 [2022-06-28T19:39:43.870Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T19:39:44.132Z] ---> b2f7ade0bc68 [2022-06-28T19:39:44.132Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:39:44.132Z] ---> Running in faafb3a283a3 [2022-06-28T19:39:44.702Z] Removing intermediate container faafb3a283a3 [2022-06-28T19:39:44.702Z] ---> 7aa65c82fb96 [2022-06-28T19:39:44.702Z] Step 12/26 : COPY . . [2022-06-28T19:39:44.962Z] ---> 4a3c74af0cf1 [2022-06-28T19:39:44.963Z] Step 13/26 : RUN ${MAKE} [2022-06-28T19:39:45.223Z] ---> Running in 6c60d2125816 [2022-06-28T19:39:45.484Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.16 -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-28T19:40:07.436Z] Removing intermediate container 6c60d2125816 [2022-06-28T19:40:07.436Z] ---> 48f3ba41db1f [2022-06-28T19:40:07.436Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T19:40:07.436Z] 3.15: Pulling from library/alpine [2022-06-28T19:40:07.436Z] df9b9388f04a: Pulling fs layer [2022-06-28T19:40:07.436Z] df9b9388f04a: Verifying Checksum [2022-06-28T19:40:07.436Z] df9b9388f04a: Download complete [2022-06-28T19:40:07.436Z] df9b9388f04a: Pull complete [2022-06-28T19:40:07.436Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T19:40:07.436Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T19:40:07.436Z] ---> 0ac33e5f5afa [2022-06-28T19:40:07.436Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T19:40:07.436Z] ---> Running in 5150aff53cfc [2022-06-28T19:40:07.436Z] Removing intermediate container 5150aff53cfc [2022-06-28T19:40:07.436Z] ---> df5bb3f523b5 [2022-06-28T19:40:07.436Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T19:40:07.436Z] ---> Running in dfb4c430efff [2022-06-28T19:40:07.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T19:40:07.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T19:40:07.436Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T19:40:07.436Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T19:40:07.436Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T19:40:07.436Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T19:40:07.436Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T19:40:07.436Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T19:40:07.436Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T19:40:07.436Z] OK: 8 MiB in 20 packages [2022-06-28T19:40:07.436Z] Removing intermediate container dfb4c430efff [2022-06-28T19:40:07.436Z] ---> b9c5dc8bea3b [2022-06-28T19:40:07.436Z] Step 17/26 : WORKDIR / [2022-06-28T19:40:07.436Z] ---> Running in 869e9b9eb382 [2022-06-28T19:40:07.436Z] Removing intermediate container 869e9b9eb382 [2022-06-28T19:40:07.436Z] ---> 15c24861f553 [2022-06-28T19:40:07.436Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T19:40:07.436Z] ---> 0f59b98afe37 [2022-06-28T19:40:07.437Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T19:40:07.696Z] ---> 0cfed22e8929 [2022-06-28T19:40:07.696Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T19:40:07.696Z] ---> 4421a0e81601 [2022-06-28T19:40:07.696Z] Step 21/26 : EXPOSE 59984 [2022-06-28T19:40:07.696Z] ---> Running in e5796fda74fb [2022-06-28T19:40:07.957Z] Removing intermediate container e5796fda74fb [2022-06-28T19:40:07.957Z] ---> 1e3d56cad4d5 [2022-06-28T19:40:07.957Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T19:40:07.957Z] ---> Running in 5f5553b3a28b [2022-06-28T19:40:07.957Z] Removing intermediate container 5f5553b3a28b [2022-06-28T19:40:07.957Z] ---> 38402bb38a18 [2022-06-28T19:40:07.957Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T19:40:07.957Z] ---> Running in c56b5037cb94 [2022-06-28T19:40:08.219Z] Removing intermediate container c56b5037cb94 [2022-06-28T19:40:08.220Z] ---> 6f11f52cc370 [2022-06-28T19:40:08.220Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T19:40:08.220Z] ---> Running in a065ea0a19cd [2022-06-28T19:40:08.220Z] Removing intermediate container a065ea0a19cd [2022-06-28T19:40:08.220Z] ---> 91f94a0cfd9b [2022-06-28T19:40:08.220Z] Step 25/26 : LABEL git_sha=f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:40:08.220Z] ---> Running in 749ac23876b7 [2022-06-28T19:40:08.481Z] Removing intermediate container 749ac23876b7 [2022-06-28T19:40:08.481Z] ---> a337978a9c2f [2022-06-28T19:40:08.481Z] Step 26/26 : LABEL version=0.0.1-dev.16 [2022-06-28T19:40:08.481Z] ---> Running in 6cb29631cfaa [2022-06-28T19:40:08.481Z] Removing intermediate container 6cb29631cfaa [2022-06-28T19:40:08.481Z] ---> 9e1c1a99cf2b [2022-06-28T19:40:08.481Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T19:40:08.481Z] Successfully built 9e1c1a99cf2b [2022-06-28T19:40:08.481Z] 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-28T19:40:08.608Z] provisioning config files... [2022-06-28T19:40:08.617Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4804976846655393627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:40:08.922Z] ---> docker-login.sh [2022-06-28T19:40:08.922Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:40:08.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:40:08.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:40:08.922Z] Configure a credential helper to remove this warning. See [2022-06-28T19:40:08.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:40:08.922Z] [2022-06-28T19:40:08.922Z] Login Succeeded [2022-06-28T19:40:08.922Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:40:08.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:40:09.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:40:09.184Z] Configure a credential helper to remove this warning. See [2022-06-28T19:40:09.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:40:09.184Z] [2022-06-28T19:40:09.184Z] Login Succeeded [2022-06-28T19:40:09.184Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:40:09.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:40:09.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:40:09.184Z] Configure a credential helper to remove this warning. See [2022-06-28T19:40:09.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:40:09.184Z] [2022-06-28T19:40:09.184Z] Login Succeeded [2022-06-28T19:40:09.184Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:40:09.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:40:09.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:40:09.444Z] Configure a credential helper to remove this warning. See [2022-06-28T19:40:09.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:40:09.444Z] [2022-06-28T19:40:09.444Z] Login Succeeded [2022-06-28T19:40:09.444Z] docker.io [2022-06-28T19:40:09.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:40:09.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:40:09.705Z] Configure a credential helper to remove this warning. See [2022-06-28T19:40:09.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:40:09.705Z] [2022-06-28T19:40:09.705Z] Login Succeeded [2022-06-28T19:40:09.705Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:40:09.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T19:40:09.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:40:09.762Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-28T19:40:09.762Z] f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:40:09.762Z] latest [2022-06-28T19:40:09.762Z] 0.0.1-dev.16 [2022-06-28T19:40:09.762Z] f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:40:09.763Z] main [2022-06-28T19:40:09.763Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:10.090Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:10.402Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:40:10.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T19:40:10.402Z] e6f38f8838a3: Preparing [2022-06-28T19:40:10.402Z] 473ca3c34974: Preparing [2022-06-28T19:40:10.402Z] 43b63953f822: Preparing [2022-06-28T19:40:10.402Z] 5e4eed9b1fc0: Preparing [2022-06-28T19:40:10.402Z] 4fc242d58285: Preparing [2022-06-28T19:40:10.402Z] 4fc242d58285: Layer already exists [2022-06-28T19:40:10.402Z] 473ca3c34974: Pushed [2022-06-28T19:40:10.402Z] e6f38f8838a3: Pushed [2022-06-28T19:40:10.664Z] 5e4eed9b1fc0: Pushed [2022-06-28T19:40:13.213Z] 43b63953f822: Pushed [2022-06-28T19:40:13.474Z] f7fd1a7f74557858cb13a434798fc966c2703d09: digest: sha256:9b6c0fee05cc017d64148dc7d21e81a790a5ba7605f499df9d98db87bbc00fdc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:13.800Z] + 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-28T19:40:14.113Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T19:40:14.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T19:40:14.113Z] e6f38f8838a3: Preparing [2022-06-28T19:40:14.113Z] 473ca3c34974: Preparing [2022-06-28T19:40:14.113Z] 43b63953f822: Preparing [2022-06-28T19:40:14.113Z] 5e4eed9b1fc0: Preparing [2022-06-28T19:40:14.113Z] 4fc242d58285: Preparing [2022-06-28T19:40:14.113Z] 4fc242d58285: Layer already exists [2022-06-28T19:40:14.113Z] 5e4eed9b1fc0: Layer already exists [2022-06-28T19:40:14.113Z] 43b63953f822: Layer already exists [2022-06-28T19:40:14.113Z] e6f38f8838a3: Layer already exists [2022-06-28T19:40:14.113Z] 473ca3c34974: Layer already exists [2022-06-28T19:40:14.113Z] latest: digest: sha256:9b6c0fee05cc017d64148dc7d21e81a790a5ba7605f499df9d98db87bbc00fdc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:14.427Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:14.738Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.16 [2022-06-28T19:40:14.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T19:40:14.738Z] e6f38f8838a3: Preparing [2022-06-28T19:40:14.738Z] 473ca3c34974: Preparing [2022-06-28T19:40:14.738Z] 43b63953f822: Preparing [2022-06-28T19:40:14.738Z] 5e4eed9b1fc0: Preparing [2022-06-28T19:40:14.738Z] 4fc242d58285: Preparing [2022-06-28T19:40:14.738Z] 43b63953f822: Layer already exists [2022-06-28T19:40:14.738Z] 5e4eed9b1fc0: Layer already exists [2022-06-28T19:40:14.738Z] e6f38f8838a3: Layer already exists [2022-06-28T19:40:14.738Z] 4fc242d58285: Layer already exists [2022-06-28T19:40:14.738Z] 473ca3c34974: Layer already exists [2022-06-28T19:40:14.738Z] 0.0.1-dev.16: digest: sha256:9b6c0fee05cc017d64148dc7d21e81a790a5ba7605f499df9d98db87bbc00fdc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:15.060Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:15.372Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:40:15.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T19:40:15.372Z] e6f38f8838a3: Preparing [2022-06-28T19:40:15.372Z] 473ca3c34974: Preparing [2022-06-28T19:40:15.372Z] 43b63953f822: Preparing [2022-06-28T19:40:15.372Z] 5e4eed9b1fc0: Preparing [2022-06-28T19:40:15.372Z] 4fc242d58285: Preparing [2022-06-28T19:40:15.372Z] 473ca3c34974: Layer already exists [2022-06-28T19:40:15.372Z] 4fc242d58285: Layer already exists [2022-06-28T19:40:15.372Z] 5e4eed9b1fc0: Layer already exists [2022-06-28T19:40:15.372Z] e6f38f8838a3: Layer already exists [2022-06-28T19:40:15.372Z] 43b63953f822: Layer already exists [2022-06-28T19:40:15.372Z] f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16: digest: sha256:9b6c0fee05cc017d64148dc7d21e81a790a5ba7605f499df9d98db87bbc00fdc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:15.694Z] + 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-28T19:40:16.006Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-28T19:40:16.006Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T19:40:16.006Z] e6f38f8838a3: Preparing [2022-06-28T19:40:16.006Z] 473ca3c34974: Preparing [2022-06-28T19:40:16.006Z] 43b63953f822: Preparing [2022-06-28T19:40:16.006Z] 5e4eed9b1fc0: Preparing [2022-06-28T19:40:16.006Z] 4fc242d58285: Preparing [2022-06-28T19:40:16.006Z] e6f38f8838a3: Layer already exists [2022-06-28T19:40:16.006Z] 43b63953f822: Layer already exists [2022-06-28T19:40:16.006Z] 4fc242d58285: Layer already exists [2022-06-28T19:40:16.006Z] 5e4eed9b1fc0: Layer already exists [2022-06-28T19:40:16.006Z] 473ca3c34974: Layer already exists [2022-06-28T19:40:16.006Z] main: digest: sha256:9b6c0fee05cc017d64148dc7d21e81a790a5ba7605f499df9d98db87bbc00fdc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T19:40:16.047Z] ===================================================== [Pipeline] echo [2022-06-28T19:40:16.053Z] taggedImages: [2022-06-28T19:40:16.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:40:16.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T19:40:16.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.16 [2022-06-28T19:40:16.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:40:16.053Z] - 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-28T19:40:16.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:40:16.437Z] [2022-06-28T19:40:16.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:40:16.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:40:16.740Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T19:40:16.740Z] 5eb5b503b376: Pulling fs layer [2022-06-28T19:40:16.740Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T19:40:16.740Z] ec43610c2a17: Pulling fs layer [2022-06-28T19:40:16.740Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T19:40:16.740Z] 33b1e0a273af: Pulling fs layer [2022-06-28T19:40:16.740Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T19:40:16.740Z] 2f39f015ded8: Pulling fs layer [2022-06-28T19:40:16.740Z] 33b1e0a273af: Waiting [2022-06-28T19:40:16.740Z] 5d3b04190fa2: Waiting [2022-06-28T19:40:16.740Z] 3a2ae6a8a46f: Waiting [2022-06-28T19:40:16.740Z] 2f39f015ded8: Waiting [2022-06-28T19:40:16.740Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T19:40:16.740Z] 5c69ac0246d0: Download complete [2022-06-28T19:40:16.740Z] 3a2ae6a8a46f: Download complete [2022-06-28T19:40:16.740Z] ec43610c2a17: Verifying Checksum [2022-06-28T19:40:16.740Z] ec43610c2a17: Download complete [2022-06-28T19:40:16.740Z] 33b1e0a273af: Verifying Checksum [2022-06-28T19:40:16.740Z] 33b1e0a273af: Download complete [2022-06-28T19:40:16.740Z] 5d3b04190fa2: Download complete [2022-06-28T19:40:17.002Z] 5eb5b503b376: Verifying Checksum [2022-06-28T19:40:17.002Z] 5eb5b503b376: Download complete [2022-06-28T19:40:17.572Z] 2f39f015ded8: Download complete [2022-06-28T19:40:18.141Z] 5eb5b503b376: Pull complete [2022-06-28T19:40:18.400Z] 5c69ac0246d0: Pull complete [2022-06-28T19:40:18.659Z] ec43610c2a17: Pull complete [2022-06-28T19:40:18.919Z] 3a2ae6a8a46f: Pull complete [2022-06-28T19:40:19.178Z] 33b1e0a273af: Pull complete [2022-06-28T19:40:19.178Z] 5d3b04190fa2: Pull complete [2022-06-28T19:40:23.367Z] 2f39f015ded8: Pull complete [2022-06-28T19:40:23.367Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T19:40:23.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:40:23.367Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:40:23.469Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:40:23.506Z] $ 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-28T19:40:24.841Z] $ docker top 65e3dc5071eb68e9b798f05781f4814be861eeaf6a8bf7407045d9956ba1303d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:40:25.344Z] ---> job-cost.sh [2022-06-28T19:40:25.344Z] lf-activate-venv: SKIPPING [2022-06-28T19:40:25.344Z] INFO: No Stack... [2022-06-28T19:40:25.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T19:40:26.182Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T19:40:26.470Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-28T19:40:26.470Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T19:40:26.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [2022-06-28T19:40:26.486Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] did not exist. Created. [2022-06-28T19:40:26.486Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T19:40:26.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T19:40:26.818Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T19:40:26.824Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T19:40:26.849Z] $ docker stop --time=1 65e3dc5071eb68e9b798f05781f4814be861eeaf6a8bf7407045d9956ba1303d [2022-06-28T19:40:28.014Z] $ docker rm -f 65e3dc5071eb68e9b798f05781f4814be861eeaf6a8bf7407045d9956ba1303d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T19:40:28.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16260 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-28T19:40:28.137Z] Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout [2022-06-28T19:40:28.210Z] Selected Git installation does not exist. Using Default [2022-06-28T19:40:28.210Z] The recommended git tool is: NONE [2022-06-28T19:40:34.661Z] using credential edgex-jenkins-ssh [2022-06-28T19:40:34.689Z] Cloning the remote Git repository [2022-06-28T19:40:34.811Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T19:40:34.902Z] > git init /w/workspace/device-onvif-camera/18 # timeout=10 [2022-06-28T19:40:34.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T19:40:34.991Z] > git --version # timeout=10 [2022-06-28T19:40:35.010Z] > git --version # 'git version 2.25.1' [2022-06-28T19:40:35.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T19:40:35.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T19:40:36.056Z] Avoid second fetch [2022-06-28T19:40:36.057Z] Checking out Revision f7fd1a7f74557858cb13a434798fc966c2703d09 (main) [2022-06-28T19:40:36.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T19:40:36.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T19:40:36.079Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T19:40:36.093Z] > git checkout -f f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 [2022-06-28T19:40:40.305Z] Commit message: "Custom metadata (#87)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T19:40:41.235Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T19:40:41.235Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T19:40:41.235Z] Dload Upload Total Spent Left Speed [2022-06-28T19:40:41.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2022-06-28T19:40:41.915Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T19:40:42.268Z] + sudo tee /etc/docker/daemon.new [2022-06-28T19:40:42.268Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T19:40:42.268Z] { [2022-06-28T19:40:42.268Z] "registry-mirrors": [ [2022-06-28T19:40:42.268Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T19:40:42.268Z] ], [2022-06-28T19:40:42.268Z] "bip": "10.250.0.254/24", [2022-06-28T19:40:42.268Z] "hosts": [ [2022-06-28T19:40:42.268Z] "tcp://0.0.0.0:5555", [2022-06-28T19:40:42.268Z] "unix:///var/run/docker.sock" [2022-06-28T19:40:42.268Z] ], [2022-06-28T19:40:42.268Z] "mtu": 1458, [2022-06-28T19:40:42.268Z] "selinux-enabled": true, [2022-06-28T19:40:42.268Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T19:40:42.268Z] } [Pipeline] sh [2022-06-28T19:40:42.681Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T19:40:43.031Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:41:01.377Z] provisioning config files... [2022-06-28T19:41:01.403Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config4498536696462420625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:41:01.758Z] ---> docker-login.sh [2022-06-28T19:41:01.759Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:41:02.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:41:02.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:41:02.628Z] Configure a credential helper to remove this warning. See [2022-06-28T19:41:02.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:41:02.628Z] [2022-06-28T19:41:02.628Z] Login Succeeded [2022-06-28T19:41:02.628Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:41:02.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:41:02.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:41:02.903Z] Configure a credential helper to remove this warning. See [2022-06-28T19:41:02.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:41:02.903Z] [2022-06-28T19:41:02.903Z] Login Succeeded [2022-06-28T19:41:02.903Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:41:03.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:41:03.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:41:03.500Z] Configure a credential helper to remove this warning. See [2022-06-28T19:41:03.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:41:03.500Z] [2022-06-28T19:41:03.500Z] Login Succeeded [2022-06-28T19:41:03.500Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:41:03.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:41:04.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:41:04.048Z] Configure a credential helper to remove this warning. See [2022-06-28T19:41:04.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:41:04.048Z] [2022-06-28T19:41:04.048Z] Login Succeeded [2022-06-28T19:41:04.048Z] docker.io [2022-06-28T19:41:04.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:41:04.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:41:04.598Z] Configure a credential helper to remove this warning. See [2022-06-28T19:41:04.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:41:04.598Z] [2022-06-28T19:41:04.598Z] Login Succeeded [2022-06-28T19:41:04.598Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:41:04.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T19:41:05.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:41:05.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:41:05.138Z] ========================================================= [2022-06-28T19:41:05.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T19:41:05.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:41:05.488Z] + 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-28T19:41:05.766Z] Sending build context to Docker daemon 6.034MB [2022-06-28T19:41:05.766Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:41:05.766Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T19:41:06.041Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T19:41:06.041Z] 9b3977197b4f: Pulling fs layer [2022-06-28T19:41:06.041Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T19:41:06.041Z] 94645a83ff95: Pulling fs layer [2022-06-28T19:41:06.041Z] e6fb740bc735: Pulling fs layer [2022-06-28T19:41:06.041Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T19:41:06.041Z] 355e64cbe906: Pulling fs layer [2022-06-28T19:41:06.041Z] 63ab81a10011: Pulling fs layer [2022-06-28T19:41:06.041Z] 555d1d1c4555: Pulling fs layer [2022-06-28T19:41:06.041Z] 7d9057610161: Pulling fs layer [2022-06-28T19:41:06.041Z] 355e64cbe906: Waiting [2022-06-28T19:41:06.041Z] 63ab81a10011: Waiting [2022-06-28T19:41:06.041Z] 555d1d1c4555: Waiting [2022-06-28T19:41:06.041Z] 7d9057610161: Waiting [2022-06-28T19:41:06.041Z] e6fb740bc735: Waiting [2022-06-28T19:41:06.041Z] 3a77bd46dcc9: Waiting [2022-06-28T19:41:06.041Z] 94645a83ff95: Verifying Checksum [2022-06-28T19:41:06.041Z] 94645a83ff95: Download complete [2022-06-28T19:41:06.041Z] 1a89e8eeedd5: Download complete [2022-06-28T19:41:06.041Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T19:41:06.041Z] 3a77bd46dcc9: Download complete [2022-06-28T19:41:06.041Z] 355e64cbe906: Verifying Checksum [2022-06-28T19:41:06.041Z] 355e64cbe906: Download complete [2022-06-28T19:41:06.041Z] 9b3977197b4f: Verifying Checksum [2022-06-28T19:41:06.041Z] 9b3977197b4f: Download complete [2022-06-28T19:41:06.041Z] 63ab81a10011: Verifying Checksum [2022-06-28T19:41:06.041Z] 63ab81a10011: Download complete [2022-06-28T19:41:07.037Z] 9b3977197b4f: Pull complete [2022-06-28T19:41:07.315Z] 7d9057610161: Verifying Checksum [2022-06-28T19:41:07.315Z] 7d9057610161: Download complete [2022-06-28T19:41:07.596Z] 1a89e8eeedd5: Pull complete [2022-06-28T19:41:07.868Z] 94645a83ff95: Pull complete [2022-06-28T19:41:08.143Z] 555d1d1c4555: Verifying Checksum [2022-06-28T19:41:08.143Z] 555d1d1c4555: Download complete [2022-06-28T19:41:09.124Z] e6fb740bc735: Verifying Checksum [2022-06-28T19:41:09.124Z] e6fb740bc735: Download complete [2022-06-28T19:41:21.529Z] e6fb740bc735: Pull complete [2022-06-28T19:41:21.529Z] 3a77bd46dcc9: Pull complete [2022-06-28T19:41:21.529Z] 355e64cbe906: Pull complete [2022-06-28T19:41:21.802Z] 63ab81a10011: Pull complete [2022-06-28T19:41:28.512Z] 555d1d1c4555: Pull complete [2022-06-28T19:41:29.955Z] 7d9057610161: Pull complete [2022-06-28T19:41:29.955Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T19:41:29.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T19:41:29.955Z] ---> 819e984ddca1 [2022-06-28T19:41:29.955Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T19:41:31.969Z] ---> Running in b6167fa1b646 [2022-06-28T19:41:31.969Z] Removing intermediate container b6167fa1b646 [2022-06-28T19:41:31.969Z] ---> 1588ae83f373 [2022-06-28T19:41:31.969Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:41:31.969Z] ---> Running in 6f1b41352163 [2022-06-28T19:41:32.244Z] Removing intermediate container 6f1b41352163 [2022-06-28T19:41:32.244Z] ---> ba3215b96c49 [2022-06-28T19:41:32.244Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:41:32.530Z] ---> Running in c281ca65da69 [2022-06-28T19:41:32.804Z] Removing intermediate container c281ca65da69 [2022-06-28T19:41:32.804Z] ---> 90172adea94a [2022-06-28T19:41:32.804Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:41:32.804Z] ---> Running in 1cabafa9c27c [2022-06-28T19:41:33.084Z] Removing intermediate container 1cabafa9c27c [2022-06-28T19:41:33.084Z] ---> 6ec2c3e94a0e [2022-06-28T19:41:33.084Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:41:33.084Z] ---> Running in 8f7d34774138 [2022-06-28T19:41:35.075Z] Removing intermediate container 8f7d34774138 [2022-06-28T19:41:35.075Z] ---> 150a64eec050 [2022-06-28T19:41:35.075Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:41:35.075Z] ---> Running in 2b98758b4b90 [2022-06-28T19:41:36.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T19:41:37.053Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T19:41:38.045Z] OK: 220 MiB in 52 packages [2022-06-28T19:41:39.034Z] Removing intermediate container 2b98758b4b90 [2022-06-28T19:41:39.035Z] ---> 1b62be119a76 [2022-06-28T19:41:39.035Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T19:41:39.035Z] ---> Running in 46ff29dd290f [2022-06-28T19:41:39.309Z] Removing intermediate container 46ff29dd290f [2022-06-28T19:41:39.309Z] ---> b1c938e77c8e [2022-06-28T19:41:39.309Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T19:41:39.910Z] ---> 83adfd94c834 [2022-06-28T19:41:39.910Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:41:39.910Z] ---> Running in 9e5e6d22074c [2022-06-28T19:42:26.931Z] Removing intermediate container 9e5e6d22074c [2022-06-28T19:42:26.931Z] ---> 461b4c0139d3 [2022-06-28T19:42:26.931Z] Step 12/13 : COPY . . [2022-06-28T19:42:26.931Z] ---> 6abbe39f7e9a [2022-06-28T19:42:26.931Z] Step 13/13 : RUN ${MAKE} [2022-06-28T19:42:26.931Z] ---> Running in 345f4c06c424 [2022-06-28T19:42:27.207Z] noop [2022-06-28T19:42:27.808Z] Removing intermediate container 345f4c06c424 [2022-06-28T19:42:27.808Z] ---> 16d3b8eebdf9 [2022-06-28T19:42:27.808Z] Successfully built 16d3b8eebdf9 [2022-06-28T19:42:27.808Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:42:28.185Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T19:42:28.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:42:28.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-16260 does not seem to be running inside a container [2022-06-28T19:42:28.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-28T19:42:29.943Z] $ docker top 9375fa6a431b918db9708f0770dbfaf5a23d84ef1b3f21ad66bc727dd42aeec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:42:30.873Z] + go version [2022-06-28T19:42:30.873Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T19:42:30.900Z] $ docker stop --time=1 9375fa6a431b918db9708f0770dbfaf5a23d84ef1b3f21ad66bc727dd42aeec9 [2022-06-28T19:42:32.536Z] $ docker rm -f 9375fa6a431b918db9708f0770dbfaf5a23d84ef1b3f21ad66bc727dd42aeec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:42:33.153Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T19:42:33.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:42:33.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-16260 does not seem to be running inside a container [2022-06-28T19:42:33.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-28T19:42:34.807Z] $ docker top a1b3610854313babcbbdf1df8f33eaa34489070342a361214965e7ce231fcce3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T19:42:35.727Z] + make test [2022-06-28T19:42:35.727Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T19:42:37.720Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T19:43:59.561Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T19:43:59.561Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.094s coverage: 5.8% of statements [2022-06-28T19:44:38.582Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.525s coverage: 13.8% of statements [2022-06-28T19:44:38.582Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T19:44:38.582Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T19:45:05.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T19:45:05.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T19:45:05.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T19:45:05.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T19:45:05.440Z] $ docker stop --time=1 a1b3610854313babcbbdf1df8f33eaa34489070342a361214965e7ce231fcce3 [2022-06-28T19:45:07.238Z] $ docker rm -f a1b3610854313babcbbdf1df8f33eaa34489070342a361214965e7ce231fcce3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T19:45:08.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T19:45:08.238Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T19:45:08.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T19:45:09.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T19:45:09.510Z] + ls -al . [2022-06-28T19:45:09.510Z] total 236 [2022-06-28T19:45:09.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 19:45 . [2022-06-28T19:45:09.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:40 .. [2022-06-28T19:45:09.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 19:40 .git [2022-06-28T19:45:09.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 19:40 .github [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 19:40 .gitignore [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 19:40 .golangci.yml [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 19:40 Attribution.txt [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 19:40 CHANGELOG.md [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 19:40 Dockerfile [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 19:40 GOVERNANCE.md [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 19:40 Jenkinsfile [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 19:40 LICENSE [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 19:40 Makefile [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 19:40 OWNERS.md [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 19:40 README.md [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 19:38 VERSION [2022-06-28T19:45:09.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 19:40 bin [2022-06-28T19:45:09.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 19:40 cmd [2022-06-28T19:45:09.510Z] -rw-r--r-- 1 jenkins jenkins 64610 Jun 28 19:44 coverage.out [2022-06-28T19:45:09.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:40 doc [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 19:40 go.mod [2022-06-28T19:45:09.510Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 19:40 go.sum [2022-06-28T19:45:09.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 19:40 internal [2022-06-28T19:45:09.511Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 19:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:45:09.883Z] + 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=f7fd1a7f74557858cb13a434798fc966c2703d09 --label arch=arm64 --label version=0.0.1-dev.16 . [2022-06-28T19:45:10.158Z] Sending build context to Docker daemon 6.099MB [2022-06-28T19:45:10.158Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:45:10.158Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T19:45:10.158Z] ---> 16d3b8eebdf9 [2022-06-28T19:45:10.158Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T19:45:10.436Z] ---> Running in 9b2909b6a6b1 [2022-06-28T19:45:10.713Z] Removing intermediate container 9b2909b6a6b1 [2022-06-28T19:45:10.713Z] ---> a6def4c072bf [2022-06-28T19:45:10.713Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:45:10.713Z] ---> Running in 273b66a46452 [2022-06-28T19:45:10.987Z] Removing intermediate container 273b66a46452 [2022-06-28T19:45:10.987Z] ---> 70ecaa7460f2 [2022-06-28T19:45:10.987Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:45:11.264Z] ---> Running in 4ff358e61ab9 [2022-06-28T19:45:11.539Z] Removing intermediate container 4ff358e61ab9 [2022-06-28T19:45:11.539Z] ---> c82745a546bd [2022-06-28T19:45:11.539Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:45:11.539Z] ---> Running in 2f26afd8c4c5 [2022-06-28T19:45:11.815Z] Removing intermediate container 2f26afd8c4c5 [2022-06-28T19:45:11.815Z] ---> be6908a88d4f [2022-06-28T19:45:11.815Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:45:11.815Z] ---> Running in fba087dc2399 [2022-06-28T19:45:13.805Z] Removing intermediate container fba087dc2399 [2022-06-28T19:45:13.805Z] ---> fc59810139b1 [2022-06-28T19:45:13.805Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:45:13.805Z] ---> Running in 9bf5343810d7 [2022-06-28T19:45:14.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T19:45:15.383Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T19:45:16.368Z] OK: 220 MiB in 52 packages [2022-06-28T19:45:16.968Z] Removing intermediate container 9bf5343810d7 [2022-06-28T19:45:16.968Z] ---> f28005c88b4c [2022-06-28T19:45:16.968Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T19:45:17.243Z] ---> Running in 31b3af1035ba [2022-06-28T19:45:17.515Z] Removing intermediate container 31b3af1035ba [2022-06-28T19:45:17.515Z] ---> a1f6182d91d4 [2022-06-28T19:45:17.515Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T19:45:18.114Z] ---> 93b70aac2a20 [2022-06-28T19:45:18.114Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:45:18.114Z] ---> Running in 8d50b2690a5f [2022-06-28T19:45:20.097Z] Removing intermediate container 8d50b2690a5f [2022-06-28T19:45:20.097Z] ---> 6b8b8310754c [2022-06-28T19:45:20.097Z] Step 12/26 : COPY . . [2022-06-28T19:45:21.096Z] ---> 0668a257a162 [2022-06-28T19:45:21.096Z] Step 13/26 : RUN ${MAKE} [2022-06-28T19:45:21.096Z] ---> Running in a5b61cf5c804 [2022-06-28T19:45:22.091Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.16 -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-28T19:47:29.016Z] Removing intermediate container a5b61cf5c804 [2022-06-28T19:47:29.016Z] ---> a29d6d1ff937 [2022-06-28T19:47:29.016Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T19:47:29.016Z] 3.15: Pulling from library/alpine [2022-06-28T19:47:29.016Z] 9981e73032c8: Pulling fs layer [2022-06-28T19:47:29.016Z] 9981e73032c8: Verifying Checksum [2022-06-28T19:47:29.016Z] 9981e73032c8: Download complete [2022-06-28T19:47:29.296Z] 9981e73032c8: Pull complete [2022-06-28T19:47:29.296Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T19:47:29.296Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T19:47:29.296Z] ---> 3fb3c9af89a9 [2022-06-28T19:47:29.296Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T19:47:29.296Z] ---> Running in 8e0ad4402be6 [2022-06-28T19:47:29.578Z] Removing intermediate container 8e0ad4402be6 [2022-06-28T19:47:29.578Z] ---> 746b2dfe99a3 [2022-06-28T19:47:29.578Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T19:47:29.578Z] ---> Running in 2387b4523001 [2022-06-28T19:47:31.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T19:47:31.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T19:47:32.020Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T19:47:32.020Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T19:47:32.020Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T19:47:32.020Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T19:47:32.020Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T19:47:32.020Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T19:47:32.020Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T19:47:32.020Z] OK: 8 MiB in 20 packages [2022-06-28T19:47:33.002Z] Removing intermediate container 2387b4523001 [2022-06-28T19:47:33.002Z] ---> dfdf875272bd [2022-06-28T19:47:33.002Z] Step 17/26 : WORKDIR / [2022-06-28T19:47:33.002Z] ---> Running in b41241b0a335 [2022-06-28T19:47:33.275Z] Removing intermediate container b41241b0a335 [2022-06-28T19:47:33.275Z] ---> 83aa52ba518b [2022-06-28T19:47:33.275Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T19:47:35.268Z] ---> 7ae1366aac44 [2022-06-28T19:47:35.268Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T19:47:35.544Z] ---> 3b9b7573e7fd [2022-06-28T19:47:35.544Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T19:47:36.146Z] ---> 2d8e74c79f3d [2022-06-28T19:47:36.146Z] Step 21/26 : EXPOSE 59984 [2022-06-28T19:47:36.146Z] ---> Running in 85240761626e [2022-06-28T19:47:36.420Z] Removing intermediate container 85240761626e [2022-06-28T19:47:36.420Z] ---> 023a5d47af76 [2022-06-28T19:47:36.420Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T19:47:36.420Z] ---> Running in a9c69edd0453 [2022-06-28T19:47:36.696Z] Removing intermediate container a9c69edd0453 [2022-06-28T19:47:36.696Z] ---> b030e850551b [2022-06-28T19:47:36.696Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T19:47:36.696Z] ---> Running in 964524f1692a [2022-06-28T19:47:36.973Z] Removing intermediate container 964524f1692a [2022-06-28T19:47:36.973Z] ---> abd8264770cd [2022-06-28T19:47:36.973Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T19:47:37.248Z] ---> Running in d312d364c6d5 [2022-06-28T19:47:37.524Z] Removing intermediate container d312d364c6d5 [2022-06-28T19:47:37.524Z] ---> 9bc27e4e6ba1 [2022-06-28T19:47:37.524Z] Step 25/26 : LABEL git_sha=f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:47:37.524Z] ---> Running in f95a0133ac15 [2022-06-28T19:47:37.802Z] Removing intermediate container f95a0133ac15 [2022-06-28T19:47:37.802Z] ---> 06ba2283ee93 [2022-06-28T19:47:37.802Z] Step 26/26 : LABEL version=0.0.1-dev.16 [2022-06-28T19:47:37.802Z] ---> Running in 84b932328de2 [2022-06-28T19:47:38.404Z] Removing intermediate container 84b932328de2 [2022-06-28T19:47:38.404Z] ---> c8c335414232 [2022-06-28T19:47:38.404Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T19:47:38.404Z] Successfully built c8c335414232 [2022-06-28T19:47:38.404Z] 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-28T19:47:38.519Z] provisioning config files... [2022-06-28T19:47:38.536Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config4663814316900326907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:47:38.892Z] ---> docker-login.sh [2022-06-28T19:47:38.892Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:47:39.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:39.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:39.167Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:39.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:39.167Z] [2022-06-28T19:47:39.167Z] Login Succeeded [2022-06-28T19:47:39.167Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:47:39.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:39.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:39.767Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:39.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:39.767Z] [2022-06-28T19:47:39.767Z] Login Succeeded [2022-06-28T19:47:39.767Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:47:40.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:40.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:40.316Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:40.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:40.316Z] [2022-06-28T19:47:40.316Z] Login Succeeded [2022-06-28T19:47:40.316Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:47:40.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:40.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:40.863Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:40.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:40.863Z] [2022-06-28T19:47:40.863Z] Login Succeeded [2022-06-28T19:47:40.863Z] docker.io [2022-06-28T19:47:41.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:41.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:41.411Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:41.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:41.411Z] [2022-06-28T19:47:41.411Z] Login Succeeded [2022-06-28T19:47:41.411Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:47:41.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T19:47:41.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:47:41.490Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-28T19:47:41.490Z] f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:47:41.490Z] latest [2022-06-28T19:47:41.490Z] 0.0.1-dev.16 [2022-06-28T19:47:41.490Z] f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:47:41.490Z] main [2022-06-28T19:47:41.490Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:41.854Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:42.225Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:47:42.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T19:47:42.225Z] 2154c1851242: Preparing [2022-06-28T19:47:42.225Z] a25351cbde68: Preparing [2022-06-28T19:47:42.225Z] 28603c364308: Preparing [2022-06-28T19:47:42.225Z] d940a485c711: Preparing [2022-06-28T19:47:42.225Z] 4f4ce317c6bb: Preparing [2022-06-28T19:47:42.225Z] 4f4ce317c6bb: Layer already exists [2022-06-28T19:47:42.512Z] 2154c1851242: Pushed [2022-06-28T19:47:42.512Z] a25351cbde68: Pushed [2022-06-28T19:47:43.112Z] d940a485c711: Pushed [2022-06-28T19:47:49.830Z] 28603c364308: Pushed [2022-06-28T19:47:49.830Z] f7fd1a7f74557858cb13a434798fc966c2703d09: digest: sha256:76efe76fa33aca06b9c745582ac96e0f3b4e1dd15619744a4d657c3a9c027a20 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:50.207Z] + 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-28T19:47:50.572Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T19:47:50.572Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T19:47:50.572Z] 2154c1851242: Preparing [2022-06-28T19:47:50.573Z] a25351cbde68: Preparing [2022-06-28T19:47:50.573Z] 28603c364308: Preparing [2022-06-28T19:47:50.573Z] d940a485c711: Preparing [2022-06-28T19:47:50.573Z] 4f4ce317c6bb: Preparing [2022-06-28T19:47:50.573Z] 4f4ce317c6bb: Layer already exists [2022-06-28T19:47:50.573Z] 28603c364308: Layer already exists [2022-06-28T19:47:50.573Z] a25351cbde68: Layer already exists [2022-06-28T19:47:50.573Z] 2154c1851242: Layer already exists [2022-06-28T19:47:50.573Z] d940a485c711: Layer already exists [2022-06-28T19:47:50.848Z] latest: digest: sha256:76efe76fa33aca06b9c745582ac96e0f3b4e1dd15619744a4d657c3a9c027a20 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:51.229Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:51.602Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.16 [2022-06-28T19:47:51.602Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T19:47:51.602Z] 2154c1851242: Preparing [2022-06-28T19:47:51.602Z] a25351cbde68: Preparing [2022-06-28T19:47:51.602Z] 28603c364308: Preparing [2022-06-28T19:47:51.602Z] d940a485c711: Preparing [2022-06-28T19:47:51.602Z] 4f4ce317c6bb: Preparing [2022-06-28T19:47:51.602Z] 4f4ce317c6bb: Layer already exists [2022-06-28T19:47:51.602Z] d940a485c711: Layer already exists [2022-06-28T19:47:51.602Z] a25351cbde68: Layer already exists [2022-06-28T19:47:51.602Z] 28603c364308: Layer already exists [2022-06-28T19:47:51.602Z] 2154c1851242: Layer already exists [2022-06-28T19:47:51.876Z] 0.0.1-dev.16: digest: sha256:76efe76fa33aca06b9c745582ac96e0f3b4e1dd15619744a4d657c3a9c027a20 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:52.252Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:52.621Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:47:52.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T19:47:52.621Z] 2154c1851242: Preparing [2022-06-28T19:47:52.621Z] a25351cbde68: Preparing [2022-06-28T19:47:52.621Z] 28603c364308: Preparing [2022-06-28T19:47:52.621Z] d940a485c711: Preparing [2022-06-28T19:47:52.621Z] 4f4ce317c6bb: Preparing [2022-06-28T19:47:52.621Z] 4f4ce317c6bb: Layer already exists [2022-06-28T19:47:52.621Z] 28603c364308: Layer already exists [2022-06-28T19:47:52.621Z] a25351cbde68: Layer already exists [2022-06-28T19:47:52.621Z] 2154c1851242: Layer already exists [2022-06-28T19:47:52.621Z] d940a485c711: Layer already exists [2022-06-28T19:47:52.895Z] f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16: digest: sha256:76efe76fa33aca06b9c745582ac96e0f3b4e1dd15619744a4d657c3a9c027a20 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:53.272Z] + 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-28T19:47:53.634Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-28T19:47:53.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T19:47:53.634Z] 2154c1851242: Preparing [2022-06-28T19:47:53.634Z] a25351cbde68: Preparing [2022-06-28T19:47:53.634Z] 28603c364308: Preparing [2022-06-28T19:47:53.634Z] d940a485c711: Preparing [2022-06-28T19:47:53.634Z] 4f4ce317c6bb: Preparing [2022-06-28T19:47:53.634Z] 2154c1851242: Layer already exists [2022-06-28T19:47:53.634Z] d940a485c711: Layer already exists [2022-06-28T19:47:53.634Z] 28603c364308: Layer already exists [2022-06-28T19:47:53.634Z] a25351cbde68: Layer already exists [2022-06-28T19:47:53.634Z] 4f4ce317c6bb: Layer already exists [2022-06-28T19:47:53.909Z] main: digest: sha256:76efe76fa33aca06b9c745582ac96e0f3b4e1dd15619744a4d657c3a9c027a20 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T19:47:53.967Z] ===================================================== [Pipeline] echo [2022-06-28T19:47:53.976Z] taggedImages: [2022-06-28T19:47:53.976Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09 [2022-06-28T19:47:53.976Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T19:47:53.976Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.16 [2022-06-28T19:47:53.976Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f7fd1a7f74557858cb13a434798fc966c2703d09-0.0.1-dev.16 [2022-06-28T19:47:53.976Z] - 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-28T19:47:54.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:47:54.358Z] [2022-06-28T19:47:54.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:54.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:47:54.993Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T19:47:54.993Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T19:47:54.993Z] 04944245beec: Pulling fs layer [2022-06-28T19:47:54.993Z] 699f458cf7ca: Pulling fs layer [2022-06-28T19:47:54.993Z] 765212b225bb: Pulling fs layer [2022-06-28T19:47:54.993Z] f23df028b6ca: Pulling fs layer [2022-06-28T19:47:54.993Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T19:47:54.994Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T19:47:54.994Z] f23df028b6ca: Waiting [2022-06-28T19:47:54.994Z] d65c8cfc05b1: Waiting [2022-06-28T19:47:54.994Z] 2437ff75d9bd: Waiting [2022-06-28T19:47:54.994Z] 765212b225bb: Waiting [2022-06-28T19:47:54.994Z] 04944245beec: Verifying Checksum [2022-06-28T19:47:54.994Z] 04944245beec: Download complete [2022-06-28T19:47:54.994Z] 765212b225bb: Verifying Checksum [2022-06-28T19:47:54.994Z] 765212b225bb: Download complete [2022-06-28T19:47:54.994Z] f23df028b6ca: Download complete [2022-06-28T19:47:54.994Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T19:47:54.994Z] d65c8cfc05b1: Download complete [2022-06-28T19:47:55.271Z] 699f458cf7ca: Verifying Checksum [2022-06-28T19:47:55.271Z] 699f458cf7ca: Download complete [2022-06-28T19:47:55.548Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T19:47:55.548Z] 8998bd30e6a1: Download complete [2022-06-28T19:47:58.183Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T19:47:58.183Z] 2437ff75d9bd: Download complete [2022-06-28T19:48:00.171Z] 8998bd30e6a1: Pull complete [2022-06-28T19:48:00.446Z] 04944245beec: Pull complete [2022-06-28T19:48:02.494Z] 699f458cf7ca: Pull complete [2022-06-28T19:48:02.774Z] 765212b225bb: Pull complete [2022-06-28T19:48:03.785Z] f23df028b6ca: Pull complete [2022-06-28T19:48:04.074Z] d65c8cfc05b1: Pull complete [2022-06-28T19:48:19.245Z] 2437ff75d9bd: Pull complete [2022-06-28T19:48:19.245Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T19:48:19.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:48:19.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:48:19.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-16260 does not seem to be running inside a container [2022-06-28T19:48:19.594Z] $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-28T19:48:22.340Z] $ docker top 3316ac754102e1d3104da1e1dafbfdc093fece48f27ca2c878655c51482d0037 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:48:23.263Z] ---> job-cost.sh [2022-06-28T19:48:23.263Z] lf-activate-venv: SKIPPING [2022-06-28T19:48:23.263Z] INFO: No Stack... [2022-06-28T19:48:23.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T19:48:24.836Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T19:48:25.497Z] + cat /w/workspace/device-onvif-camera/18/archives/cost.csv [2022-06-28T19:48:25.497Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T19:48:25.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [2022-06-28T19:48:25.535Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] did not exist. Created. [2022-06-28T19:48:25.535Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T19:48:26.207Z] /w/workspace/device-onvif-camera/18@tmp/durable-369df812/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T19:48:26.887Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T19:48:26.907Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T19:48:26.955Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T19:48:26.961Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T19:48:26.979Z] $ docker stop --time=1 3316ac754102e1d3104da1e1dafbfdc093fece48f27ca2c878655c51482d0037 [2022-06-28T19:48:28.504Z] $ docker rm -f 3316ac754102e1d3104da1e1dafbfdc093fece48f27ca2c878655c51482d0037 [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-28T19:48:28.971Z] provisioning config files... [2022-06-28T19:48:28.980Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4240982683641910978tmp [Pipeline] { [Pipeline] sh [2022-06-28T19:48:29.273Z] + set +x [2022-06-28T19:48:29.273Z] + curl -s https://codecov.io/bash [2022-06-28T19:48:29.273Z] + bash -s -- [2022-06-28T19:48:29.273Z] [2022-06-28T19:48:29.273Z] _____ _ [2022-06-28T19:48:29.273Z] / ____| | | [2022-06-28T19:48:29.273Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T19:48:29.273Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T19:48:29.273Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T19:48:29.273Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T19:48:29.273Z] Bash-1.0.6 [2022-06-28T19:48:29.273Z] [2022-06-28T19:48:29.273Z] [2022-06-28T19:48:29.273Z] ==> git version 2.25.1 found [2022-06-28T19:48:29.273Z] ==> 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-28T19:48:29.273Z] Release-Date: 2020-01-08 [2022-06-28T19:48:29.273Z] 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-28T19:48:29.273Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T19:48:29.273Z] ==> Jenkins CI detected. [2022-06-28T19:48:29.273Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-28T19:48:29.273Z] project root: . [2022-06-28T19:48:29.273Z] --> token set from env [2022-06-28T19:48:29.273Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T19:48:29.273Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T19:48:29.273Z] ==> Python coveragepy not found [2022-06-28T19:48:29.273Z] ==> Searching for coverage reports in: [2022-06-28T19:48:29.273Z] + . [2022-06-28T19:48:29.273Z] -> Found 1 reports [2022-06-28T19:48:29.273Z] ==> Detecting git/mercurial file structure [2022-06-28T19:48:29.273Z] ==> Reading reports [2022-06-28T19:48:29.273Z] + ./coverage.out bytes=64610 [2022-06-28T19:48:29.273Z] ==> Appending adjustments [2022-06-28T19:48:29.273Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T19:48:29.534Z] + Found adjustments [2022-06-28T19:48:29.534Z] ==> Gzipping contents [2022-06-28T19:48:29.534Z] 8.0K /tmp/codecov.h3PDWN.gz [2022-06-28T19:48:29.534Z] ==> Uploading reports [2022-06-28T19:48:29.534Z] url: https://codecov.io [2022-06-28T19:48:29.534Z] query: branch=main&commit=f7fd1a7f74557858cb13a434798fc966c2703d09&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T19:48:29.534Z] -> Pinging Codecov [2022-06-28T19:48:29.534Z] 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=f7fd1a7f74557858cb13a434798fc966c2703d09&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T19:48:29.796Z] -> Uploading to [2022-06-28T19:48:29.796Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/f7fd1a7f74557858cb13a434798fc966c2703d09/174b6c6c-6672-43c6-ae97-15f807cf4505.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T194829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f19b23cceaaf37502ab85b87ba63402cef62e7da42d267abbaf6b547eb8554b1 [2022-06-28T19:48:29.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T19:48:29.796Z] Dload Upload Total Spent Left Speed [2022-06-28T19:48:30.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8184 0 0 100 8184 0 40117 --:--:-- --:--:-- --:--:-- 40117 [2022-06-28T19:48:30.056Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] } [2022-06-28T19:48:30.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T19:48:30.277Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T19:48:30.287Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:48:30.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T19:48:30.585Z] [2022-06-28T19:48:30.585Z] 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-28T19:48:30.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T19:48:30.892Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T19:48:30.892Z] df9b9388f04a: Already exists [2022-06-28T19:48:30.892Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T19:48:30.892Z] 25bc292e5bac: Pulling fs layer [2022-06-28T19:48:30.892Z] 114826534d7a: Pulling fs layer [2022-06-28T19:48:30.892Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T19:48:30.892Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T19:48:30.892Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T19:48:30.892Z] 4657fd5d0bcf: Waiting [2022-06-28T19:48:30.892Z] 6ad1cebc031e: Waiting [2022-06-28T19:48:30.892Z] 8a3aa393b2d8: Waiting [2022-06-28T19:48:30.892Z] 25bc292e5bac: Verifying Checksum [2022-06-28T19:48:30.892Z] 25bc292e5bac: Download complete [2022-06-28T19:48:30.892Z] 52dc419b0ee2: Download complete [2022-06-28T19:48:30.892Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T19:48:30.892Z] 4657fd5d0bcf: Download complete [2022-06-28T19:48:31.154Z] 52dc419b0ee2: Pull complete [2022-06-28T19:48:31.154Z] 25bc292e5bac: Pull complete [2022-06-28T19:48:31.154Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T19:48:31.733Z] 114826534d7a: Verifying Checksum [2022-06-28T19:48:31.733Z] 114826534d7a: Download complete [2022-06-28T19:48:31.733Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T19:48:31.733Z] 8a3aa393b2d8: Download complete [2022-06-28T19:48:35.924Z] 114826534d7a: Pull complete [2022-06-28T19:48:35.924Z] 4657fd5d0bcf: Pull complete [2022-06-28T19:48:35.924Z] 6ad1cebc031e: Pull complete [2022-06-28T19:48:38.458Z] 8a3aa393b2d8: Pull complete [2022-06-28T19:48:38.458Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T19:48:38.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T19:48:38.458Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:48:38.555Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:48:38.596Z] $ 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-28T19:48:40.204Z] $ docker top 365c30488e73aac4de2cbff626e0ca759e6a236ae0c9782a5bb36db4d91f3241 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T19:48:40.285Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-28T19:48:40.568Z] + set -o pipefail [2022-06-28T19:48:40.568Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-28T19:48:45.866Z] [2022-06-28T19:48:45.866Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-28T19:48:45.866Z] [2022-06-28T19:48:45.866Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/96d65c05-84be-40c1-9530-dded5296e79f [2022-06-28T19:48:45.866Z] [2022-06-28T19:48:45.866Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T19:48:45.866Z] [2022-06-28T19:48:45.866Z] [2022-06-28T19:48:45.866Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T19:48:45.866Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T19:48:45.887Z] $ docker stop --time=1 365c30488e73aac4de2cbff626e0ca759e6a236ae0c9782a5bb36db4d91f3241 [2022-06-28T19:48:47.890Z] $ docker rm -f 365c30488e73aac4de2cbff626e0ca759e6a236ae0c9782a5bb36db4d91f3241 [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-28T19:48:48.608Z] + git log --format=format:%s -1 f7fd1a7f74557858cb13a434798fc966c2703d09 [Pipeline] sh [2022-06-28T19:48:48.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T19:48:48.906Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:48:49.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:48:49.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:48:49.276Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:48:49.315Z] $ 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-28T19:48:49.702Z] $ docker top 2f4495279eb70cf835a22439d5b815d520f055f114694a7743381cbb364eaa7a -eo pid,comm [2022-06-28T19:48:49.750Z] 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-28T19:48:49.750Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T19:48:49.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:48:49.787Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:48:49.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:48:49.914Z] $ docker exec 2f4495279eb70cf835a22439d5b815d520f055f114694a7743381cbb364eaa7a ssh-agent [2022-06-28T19:48:50.018Z] SSH_AUTH_SOCK=/tmp/ssh-2LQYAX5WWaVB/agent.33 [2022-06-28T19:48:50.018Z] SSH_AGENT_PID=40 [2022-06-28T19:48:50.023Z] Running ssh-add (command line suppressed) [2022-06-28T19:48:50.147Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1305593091967117764.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1305593091967117764.key) [2022-06-28T19:48:50.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:48:50.440Z] + git semver tag [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,629 [run_tag] DEBUG tag force:False [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,629 [check_head_tag] DEBUG check head tag [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,630 [execute] INFO git cat-file --batch-check [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,633 [execute] INFO git cat-file --batch [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,642 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,642 [execute] INFO git tag -a v0.0.1-dev.16 -m v0.0.1-dev.16 [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,642 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.16', '-m', 'v0.0.1-dev.16'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-28T19:48:50.701Z] 2022-06-28 19:48:50,646 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:48:50.701Z] 0.0.1-dev.16 [Pipeline] } [2022-06-28T19:48:50.720Z] $ docker exec --env ******** --env ******** 2f4495279eb70cf835a22439d5b815d520f055f114694a7743381cbb364eaa7a ssh-agent -k [2022-06-28T19:48:50.832Z] unset SSH_AUTH_SOCK; [2022-06-28T19:48:50.832Z] unset SSH_AGENT_PID; [2022-06-28T19:48:50.833Z] echo Agent pid 40 killed; [2022-06-28T19:48:50.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T19:48:51.146Z] + git semver [Pipeline] } [2022-06-28T19:48:51.429Z] $ docker stop --time=1 2f4495279eb70cf835a22439d5b815d520f055f114694a7743381cbb364eaa7a [2022-06-28T19:48:52.693Z] $ docker rm -f 2f4495279eb70cf835a22439d5b815d520f055f114694a7743381cbb364eaa7a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:48:53.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T19:48:53.073Z] [2022-06-28T19:48:53.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:48:53.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T19:48:53.374Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-28T19:48:53.374Z] ab5ef0e58194: Pulling fs layer [2022-06-28T19:48:53.374Z] 9712f1f96733: Pulling fs layer [2022-06-28T19:48:53.374Z] 63f879dbbcfc: Pulling fs layer [2022-06-28T19:48:53.374Z] 0d9ebad4ef96: Pulling fs layer [2022-06-28T19:48:53.374Z] e9a5061849ea: Pulling fs layer [2022-06-28T19:48:53.374Z] d747dcd14b5f: Pulling fs layer [2022-06-28T19:48:53.374Z] 2de7ff778b66: Pulling fs layer [2022-06-28T19:48:53.374Z] 0d9ebad4ef96: Waiting [2022-06-28T19:48:53.374Z] e9a5061849ea: Waiting [2022-06-28T19:48:53.374Z] 2de7ff778b66: Waiting [2022-06-28T19:48:53.374Z] d747dcd14b5f: Waiting [2022-06-28T19:48:53.374Z] 9712f1f96733: Verifying Checksum [2022-06-28T19:48:53.374Z] 9712f1f96733: Download complete [2022-06-28T19:48:53.959Z] ab5ef0e58194: Verifying Checksum [2022-06-28T19:48:53.959Z] ab5ef0e58194: Download complete [2022-06-28T19:48:53.959Z] 63f879dbbcfc: Verifying Checksum [2022-06-28T19:48:53.959Z] 63f879dbbcfc: Download complete [2022-06-28T19:48:53.959Z] d747dcd14b5f: Verifying Checksum [2022-06-28T19:48:53.959Z] d747dcd14b5f: Download complete [2022-06-28T19:48:54.222Z] 0d9ebad4ef96: Verifying Checksum [2022-06-28T19:48:54.222Z] 0d9ebad4ef96: Download complete [2022-06-28T19:48:54.222Z] e9a5061849ea: Verifying Checksum [2022-06-28T19:48:54.222Z] e9a5061849ea: Download complete [2022-06-28T19:48:54.222Z] 2de7ff778b66: Verifying Checksum [2022-06-28T19:48:54.222Z] 2de7ff778b66: Download complete [2022-06-28T19:48:56.755Z] ab5ef0e58194: Pull complete [2022-06-28T19:48:56.755Z] 9712f1f96733: Pull complete [2022-06-28T19:48:57.322Z] 63f879dbbcfc: Pull complete [2022-06-28T19:49:01.511Z] 0d9ebad4ef96: Pull complete [2022-06-28T19:49:01.511Z] e9a5061849ea: Pull complete [2022-06-28T19:49:01.511Z] d747dcd14b5f: Pull complete [2022-06-28T19:49:02.080Z] 2de7ff778b66: Pull complete [2022-06-28T19:49:02.080Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-28T19:49:02.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T19:49:02.080Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:02.185Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:49:02.244Z] $ 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-28T19:49:03.986Z] $ docker top 44c872a0f1f641930b07413da030237c029b67e32edb04382e9b67492b44ff47 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:49:04.054Z] provisioning config files... [2022-06-28T19:49:04.063Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4260087453055900870tmp [2022-06-28T19:49:04.076Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3216996505756207826tmp [2022-06-28T19:49:04.088Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8983958589995065089tmp [Pipeline] { [Pipeline] echo [2022-06-28T19:49:04.103Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:04.389Z] ---> sigul-configuration.sh [2022-06-28T19:49:04.389Z] gpg: directory `/root/.gnupg' created [2022-06-28T19:49:04.389Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-28T19:49:04.389Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-28T19:49:04.389Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-28T19:49:04.389Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-28T19:49:04.389Z] gpg: CAST5 encrypted data [2022-06-28T19:49:04.389Z] gpg: encrypted with 1 passphrase [2022-06-28T19:49:04.389Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-28T19:49:04.677Z] + mkdir /home/jenkins [2022-06-28T19:49:04.677Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-28T19:49:04.966Z] + 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-28T19:49:04.975Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:05.261Z] ---> sigul-install.sh [2022-06-28T19:49:05.261Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-28T19:49:05.549Z] + git tag --list [2022-06-28T19:49:05.549Z] v0.0.0 [2022-06-28T19:49:05.549Z] v0.0.1-dev.1 [2022-06-28T19:49:05.549Z] v0.0.1-dev.10 [2022-06-28T19:49:05.549Z] v0.0.1-dev.11 [2022-06-28T19:49:05.549Z] v0.0.1-dev.12 [2022-06-28T19:49:05.549Z] v0.0.1-dev.13 [2022-06-28T19:49:05.549Z] v0.0.1-dev.14 [2022-06-28T19:49:05.549Z] v0.0.1-dev.15 [2022-06-28T19:49:05.549Z] v0.0.1-dev.16 [2022-06-28T19:49:05.549Z] v0.0.1-dev.2 [2022-06-28T19:49:05.549Z] v0.0.1-dev.3 [2022-06-28T19:49:05.549Z] v0.0.1-dev.4 [2022-06-28T19:49:05.549Z] v0.0.1-dev.5 [2022-06-28T19:49:05.549Z] v0.0.1-dev.6 [2022-06-28T19:49:05.549Z] v0.0.1-dev.7 [2022-06-28T19:49:05.549Z] v0.0.1-dev.8 [2022-06-28T19:49:05.549Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-28T19:49:05.837Z] + lftools sign git-tag v0.0.1-dev.16 [2022-06-28T19:49:06.408Z] Signing Git tag with Sigul... [2022-06-28T19:49:06.408Z] Signing v0.0.1-dev.16 [Pipeline] echo [2022-06-28T19:49:06.677Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:06.959Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-28T19:49:06.967Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-28T19:49:06.992Z] $ docker stop --time=1 44c872a0f1f641930b07413da030237c029b67e32edb04382e9b67492b44ff47 [2022-06-28T19:49:08.276Z] $ docker rm -f 44c872a0f1f641930b07413da030237c029b67e32edb04382e9b67492b44ff47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-28T19:49:08.695Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T19:49:08.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:49:08.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:49:08.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:09.077Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:49:09.121Z] $ 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-28T19:49:09.486Z] $ docker top 1df2d8f81e085a2a160aaf3292b8d8a911a96c12001e1c226c2ecf4247901f9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T19:49:09.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:49:09.570Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:49:09.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:49:09.693Z] $ docker exec 1df2d8f81e085a2a160aaf3292b8d8a911a96c12001e1c226c2ecf4247901f9e ssh-agent [2022-06-28T19:49:09.806Z] SSH_AUTH_SOCK=/tmp/ssh-hxheViQqnWoo/agent.33 [2022-06-28T19:49:09.806Z] SSH_AGENT_PID=39 [2022-06-28T19:49:09.810Z] Running ssh-add (command line suppressed) [2022-06-28T19:49:09.937Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8559901097632772122.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8559901097632772122.key) [2022-06-28T19:49:09.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:49:10.233Z] + git semver bump pre [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,422 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,423 [bump_version] DEBUG bumping version:0.0.1-dev.16 on axis:pre with prefix:dev [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,423 [bump_version] DEBUG bumped version:0.0.1-dev.17 [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,423 [write_version] DEBUG write version:0.0.1-dev.17 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,423 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,423 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,424 [execute] INFO git cat-file --batch-check [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,425 [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-28T19:49:10.494Z] 2022-06-28 19:49:10,430 [execute] INFO git cat-file --batch [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T19:49:10.494Z] 2022-06-28 19:49:10,435 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:49:10.494Z] 0.0.1-dev.17 [Pipeline] } [2022-06-28T19:49:10.511Z] $ docker exec --env ******** --env ******** 1df2d8f81e085a2a160aaf3292b8d8a911a96c12001e1c226c2ecf4247901f9e ssh-agent -k [2022-06-28T19:49:10.628Z] unset SSH_AUTH_SOCK; [2022-06-28T19:49:10.628Z] unset SSH_AGENT_PID; [2022-06-28T19:49:10.628Z] echo Agent pid 39 killed; [2022-06-28T19:49:10.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T19:49:10.943Z] + git semver [Pipeline] } [2022-06-28T19:49:11.224Z] $ docker stop --time=1 1df2d8f81e085a2a160aaf3292b8d8a911a96c12001e1c226c2ecf4247901f9e [2022-06-28T19:49:12.539Z] $ docker rm -f 1df2d8f81e085a2a160aaf3292b8d8a911a96c12001e1c226c2ecf4247901f9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T19:49:12.889Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T19:49:12.889Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:49:13.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:49:13.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:13.306Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:49:13.353Z] $ 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-28T19:49:13.704Z] $ docker top 8c6bf1f4b19a3915c3523a4f7f10e0ad381ee367ebaac915fdc34755aae6ae3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T19:49:13.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:49:13.790Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:49:13.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:49:13.926Z] $ docker exec 8c6bf1f4b19a3915c3523a4f7f10e0ad381ee367ebaac915fdc34755aae6ae3a ssh-agent [2022-06-28T19:49:14.039Z] SSH_AUTH_SOCK=/tmp/ssh-p2PWq7dVzGzU/agent.32 [2022-06-28T19:49:14.039Z] SSH_AGENT_PID=38 [2022-06-28T19:49:14.044Z] Running ssh-add (command line suppressed) [2022-06-28T19:49:14.155Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1573058541089273942.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1573058541089273942.key) [2022-06-28T19:49:14.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:49:14.453Z] + git semver push [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,634 [run_push] DEBUG push [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,635 [execute] INFO git cat-file --batch-check [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,635 [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-28T19:49:14.713Z] 2022-06-28 19:49:14,638 [execute] INFO git rev-list be7c95068ee51b95368c8e74ab8343f9f05a421e -- [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,638 [execute] DEBUG Popen(['git', 'rev-list', 'be7c95068ee51b95368c8e74ab8343f9f05a421e', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,644 [execute] INFO git fetch -v origin [2022-06-28T19:49:14.713Z] 2022-06-28 19:49:14,645 [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-28T19:49:15.283Z] 2022-06-28 19:49:15,103 [run_push] DEBUG no remote changes detected [2022-06-28T19:49:15.283Z] 2022-06-28 19:49:15,103 [execute] INFO git push origin semver [2022-06-28T19:49:15.283Z] 2022-06-28 19:49:15,104 [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-28T19:49:15.858Z] 2022-06-28 19:49:15,806 [run_push] DEBUG push all version tags [2022-06-28T19:49:15.858Z] 2022-06-28 19:49:15,806 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-28T19:49:15.858Z] 2022-06-28 19:49:15,807 [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-28T19:49:16.800Z] 2022-06-28 19:49:16,455 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T19:49:16.800Z] 0.0.1-dev.17 [Pipeline] } [2022-06-28T19:49:16.818Z] $ docker exec --env ******** --env ******** 8c6bf1f4b19a3915c3523a4f7f10e0ad381ee367ebaac915fdc34755aae6ae3a ssh-agent -k [2022-06-28T19:49:16.928Z] unset SSH_AUTH_SOCK; [2022-06-28T19:49:16.929Z] unset SSH_AGENT_PID; [2022-06-28T19:49:16.929Z] echo Agent pid 38 killed; [2022-06-28T19:49:16.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T19:49:17.243Z] + git semver [Pipeline] } [2022-06-28T19:49:17.523Z] $ docker stop --time=1 8c6bf1f4b19a3915c3523a4f7f10e0ad381ee367ebaac915fdc34755aae6ae3a [2022-06-28T19:49:18.802Z] $ docker rm -f 8c6bf1f4b19a3915c3523a4f7f10e0ad381ee367ebaac915fdc34755aae6ae3a [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-28T19:49:19.337Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-28T19:49:19.337Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T19:49:19.337Z] total 16 [2022-06-28T19:49:19.337Z] drwxr-xr-x 3 root root 4096 Jun 28 19:40 . [2022-06-28T19:49:19.337Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:49 .. [2022-06-28T19:49:19.337Z] drwxr-xr-x 2 root root 4096 Jun 28 19:40 cost [2022-06-28T19:49:19.337Z] -rw-r--r-- 1 root root 89 Jun 28 19:40 cost.csv [2022-06-28T19:49:19.337Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T19:49:19.337Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T19:49:19.337Z] total 16 [2022-06-28T19:49:19.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 19:40 . [2022-06-28T19:49:19.337Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:49 .. [2022-06-28T19:49:19.337Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 19:40 cost [2022-06-28T19:49:19.337Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 28 19:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:19.626Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:20.491Z] ---> package-listing.sh [2022-06-28T19:49:20.491Z] ++ facter osfamily [2022-06-28T19:49:20.491Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T19:49:20.752Z] + OS_FAMILY=debian [2022-06-28T19:49:20.752Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-28T19:49:20.752Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T19:49:20.752Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T19:49:20.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T19:49:20.752Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T19:49:20.752Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T19:49:20.752Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T19:49:20.752Z] + case "${OS_FAMILY}" in [2022-06-28T19:49:20.752Z] + dpkg -l [2022-06-28T19:49:20.752Z] + grep '^ii' [2022-06-28T19:49:20.752Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T19:49:20.752Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T19:49:20.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T19:49:20.752Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T19:49:20.752Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-28T19:49:20.752Z] + 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-28T19:49:20.763Z] 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-28T19:49:21.041Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:49:21.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:49:21.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:21.694Z] prd-ubuntu20.04-docker-8c-8g-16258 does not seem to be running inside a container [2022-06-28T19:49:21.737Z] $ 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-28T19:49:21.955Z] $ docker top b740f823d24623ce161bd768a0f09d9958826a3169c7b70c92c6ef717ec8d9cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:49:22.305Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T19:49:22.592Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T19:49:22.883Z] + ls /var/log/sa-host [2022-06-28T19:49:22.883Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:49:22.951Z] provisioning config files... [2022-06-28T19:49:22.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4593348922847655657tmp [Pipeline] { [Pipeline] echo [2022-06-28T19:49:22.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:23.260Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T19:49:23.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:23.600Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T19:49:23.610Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:23.897Z] ---> sudo-logs.sh [2022-06-28T19:49:23.897Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T19:49:23.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:24.209Z] ---> job-cost.sh [2022-06-28T19:49:24.209Z] lf-activate-venv: SKIPPING [2022-06-28T19:49:24.209Z] DEBUG: total: 0.2199999988079071 [2022-06-28T19:49:24.209Z] INFO: Retrieving Stack Cost... [2022-06-28T19:49:24.781Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T19:49:25.351Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T19:49:25.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:49:25.652Z] ---> logs-deploy.sh [2022-06-28T19:49:25.652Z] lf-activate-venv: SKIPPING [2022-06-28T19:49:25.652Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/18 [2022-06-28T19:49:25.652Z] INFO: archiving workspace using pattern(s): [2022-06-28T19:49:26.594Z] Archives upload complete. [2022-06-28T19:49:26.594Z] INFO: archiving logs to Nexus