Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71e0e48ceeb97099740467347434efc97fecf137 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-ssh7919408544637641054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh771632005037601873.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9746604373514829886.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh6591364280827967720.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-ssh14259600979237954.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20749 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 71e0e48ceeb97099740467347434efc97fecf137 (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 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 Commit message: "fix: convert MACAddress and FriendlyName to string type (#115)" > git rev-list --no-walk 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-22T01:34:59.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-22T01:35:00.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-22T01:35:00.068Z] ========================================================= [2022-07-22T01:35:00.068Z] EdgeX Global Pipelines Version Info [2022-07-22T01:35:00.068Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:35:00.824Z] ------------------- [2022-07-22T01:35:00.825Z] stable info: [2022-07-22T01:35:00.825Z] ------------------- [2022-07-22T01:35:00.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T01:35:00.825Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T01:35:00.825Z] Message: update stable to v1.0.238 [2022-07-22T01:35:01.395Z] ------------------- [2022-07-22T01:35:01.395Z] experimental info: [2022-07-22T01:35:01.395Z] ------------------- [2022-07-22T01:35:01.395Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T01:35:01.395Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T01:35:01.395Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-22T01:35:01.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-22T01:35:01.668Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-22T01:35:01.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-22T01:35:01.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-22T01:35:01.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-22T01:35:01.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-22T01:35:01.715Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-22T01:35:01.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-22T01:35:01.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-22T01:35:01.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-22T01:35:01.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-22T01:35:01.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-22T01:35:01.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-22T01:35:01.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-22T01:35:01.788Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T01:35:01.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T01:35:01.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T01:35:01.814Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T01:35:01.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-22T01:35:01.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-22T01:35:01.840Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-22T01:35:01.848Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-22T01:35:01.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-22T01:35:01.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-22T01:35:01.888Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-22T01:35:01.903Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-22T01:35:01.920Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-22T01:35:01.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-22T01:35:01.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-22T01:35:01.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-22T01:35:01.972Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo [2022-07-22T01:35:01.980Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e0e48 [Pipeline] echo [2022-07-22T01:35:01.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:35:02.019Z] provisioning config files... [2022-07-22T01:35:02.046Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8691959041648891388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:35:02.346Z] ---> docker-login.sh [2022-07-22T01:35:02.346Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:35:02.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:02.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:02.873Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:02.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:02.873Z] [2022-07-22T01:35:02.873Z] Login Succeeded [2022-07-22T01:35:02.873Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:35:02.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:02.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:02.873Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:02.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:02.873Z] [2022-07-22T01:35:02.873Z] Login Succeeded [2022-07-22T01:35:02.873Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:35:02.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:03.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:03.134Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:03.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:03.134Z] [2022-07-22T01:35:03.134Z] Login Succeeded [2022-07-22T01:35:03.134Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:35:03.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:03.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:03.134Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:03.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:03.134Z] [2022-07-22T01:35:03.134Z] Login Succeeded [2022-07-22T01:35:03.134Z] docker.io [2022-07-22T01:35:03.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:03.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:03.654Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:03.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:03.654Z] [2022-07-22T01:35:03.655Z] Login Succeeded [2022-07-22T01:35:03.655Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:35:03.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-22T01:35:04.024Z] + git rev-list -1 --merges 71e0e48ceeb97099740467347434efc97fecf137~1..71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo [2022-07-22T01:35:04.064Z] -----------> git rev-list -1 --merges 71e0e48ceeb97099740467347434efc97fecf137~1..71e0e48ceeb97099740467347434efc97fecf137 71e0e48ceeb97099740467347434efc97fecf137 [false] [Pipeline] sh [2022-07-22T01:35:04.365Z] + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo [2022-07-22T01:35:04.382Z] ========================================================= [2022-07-22T01:35:04.382Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-22T01:35:04.382Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:35:04.708Z] + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo [2022-07-22T01:35:04.720Z] [semverPrep] GIT_COMMIT: 71e0e48ceeb97099740467347434efc97fecf137, Commit Message: fix: convert MACAddress and FriendlyName to string type (#115) [Pipeline] echo [2022-07-22T01:35:04.729Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-22T01:35:05.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T01:35:05.096Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-22T01:35:05.096Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-22T01:35:05.096Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-22T01:35:05.096Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-22T01:35:05.096Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-22T01:35:05.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:35:05.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:35:05.510Z] [2022-07-22T01:35:05.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:35:05.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:35:05.820Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-22T01:35:05.820Z] b85a868b505f: Pulling fs layer [2022-07-22T01:35:05.820Z] e2be974225ed: Pulling fs layer [2022-07-22T01:35:05.820Z] 339a4e72a1f5: Pulling fs layer [2022-07-22T01:35:05.820Z] 988bab9f4d93: Pulling fs layer [2022-07-22T01:35:05.820Z] 1469e6f7b9e6: Pulling fs layer [2022-07-22T01:35:05.820Z] eaf3925da568: Pulling fs layer [2022-07-22T01:35:05.820Z] bab4dde63d76: Pulling fs layer [2022-07-22T01:35:05.820Z] bde34c3a00c8: Pulling fs layer [2022-07-22T01:35:05.820Z] b352a97aabf1: Pulling fs layer [2022-07-22T01:35:05.820Z] 4872d77fe225: Pulling fs layer [2022-07-22T01:35:05.820Z] 5851b861e8e6: Pulling fs layer [2022-07-22T01:35:05.820Z] bab4dde63d76: Waiting [2022-07-22T01:35:05.820Z] 1469e6f7b9e6: Waiting [2022-07-22T01:35:05.820Z] eaf3925da568: Waiting [2022-07-22T01:35:05.820Z] 4872d77fe225: Waiting [2022-07-22T01:35:05.820Z] bde34c3a00c8: Waiting [2022-07-22T01:35:05.820Z] 5851b861e8e6: Waiting [2022-07-22T01:35:05.820Z] b352a97aabf1: Waiting [2022-07-22T01:35:05.820Z] 988bab9f4d93: Waiting [2022-07-22T01:35:05.820Z] e2be974225ed: Verifying Checksum [2022-07-22T01:35:05.820Z] e2be974225ed: Download complete [2022-07-22T01:35:05.820Z] 988bab9f4d93: Verifying Checksum [2022-07-22T01:35:05.820Z] 988bab9f4d93: Download complete [2022-07-22T01:35:06.081Z] 339a4e72a1f5: Verifying Checksum [2022-07-22T01:35:06.081Z] 339a4e72a1f5: Download complete [2022-07-22T01:35:06.081Z] 1469e6f7b9e6: Verifying Checksum [2022-07-22T01:35:06.081Z] 1469e6f7b9e6: Download complete [2022-07-22T01:35:06.081Z] eaf3925da568: Verifying Checksum [2022-07-22T01:35:06.081Z] eaf3925da568: Download complete [2022-07-22T01:35:06.081Z] bde34c3a00c8: Verifying Checksum [2022-07-22T01:35:06.081Z] bde34c3a00c8: Download complete [2022-07-22T01:35:06.081Z] b352a97aabf1: Verifying Checksum [2022-07-22T01:35:06.081Z] b352a97aabf1: Download complete [2022-07-22T01:35:06.081Z] 4872d77fe225: Download complete [2022-07-22T01:35:06.081Z] 5851b861e8e6: Verifying Checksum [2022-07-22T01:35:06.081Z] 5851b861e8e6: Download complete [2022-07-22T01:35:06.081Z] b85a868b505f: Verifying Checksum [2022-07-22T01:35:06.081Z] b85a868b505f: Download complete [2022-07-22T01:35:06.341Z] bab4dde63d76: Verifying Checksum [2022-07-22T01:35:06.341Z] bab4dde63d76: Download complete [2022-07-22T01:35:07.728Z] b85a868b505f: Pull complete [2022-07-22T01:35:07.728Z] e2be974225ed: Pull complete [2022-07-22T01:35:08.301Z] 339a4e72a1f5: Pull complete [2022-07-22T01:35:08.301Z] 988bab9f4d93: Pull complete [2022-07-22T01:35:08.565Z] 1469e6f7b9e6: Pull complete [2022-07-22T01:35:08.827Z] eaf3925da568: Pull complete [2022-07-22T01:35:10.744Z] bab4dde63d76: Pull complete [2022-07-22T01:35:10.744Z] bde34c3a00c8: Pull complete [2022-07-22T01:35:11.004Z] b352a97aabf1: Pull complete [2022-07-22T01:35:11.004Z] 4872d77fe225: Pull complete [2022-07-22T01:35:11.267Z] 5851b861e8e6: Pull complete [2022-07-22T01:35:11.267Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-22T01:35:11.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:35:11.267Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:35:11.371Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:35:11.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T01:35:12.955Z] $ docker top c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b -eo pid,comm [2022-07-22T01:35:13.040Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-22T01:35:13.040Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T01:35:13.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:35:13.074Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:35:13.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:35:13.211Z] $ docker exec c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent [2022-07-22T01:35:13.334Z] SSH_AUTH_SOCK=/tmp/ssh-MBuqDryDnUVK/agent.32 [2022-07-22T01:35:13.334Z] SSH_AGENT_PID=38 [2022-07-22T01:35:13.342Z] Running ssh-add (command line suppressed) [2022-07-22T01:35:13.467Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7746675442744868503.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7746675442744868503.key) [2022-07-22T01:35:13.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:35:13.776Z] + git tag --points-at HEAD [Pipeline] } [2022-07-22T01:35:13.791Z] $ docker exec --env ******** --env ******** c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent -k [2022-07-22T01:35:13.922Z] unset SSH_AUTH_SOCK; [2022-07-22T01:35:13.923Z] unset SSH_AGENT_PID; [2022-07-22T01:35:13.923Z] echo Agent pid 38 killed; [2022-07-22T01:35:13.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-22T01:35:13.963Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:35:13.963Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:35:14.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:35:14.110Z] $ docker exec c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent [2022-07-22T01:35:14.237Z] SSH_AUTH_SOCK=/tmp/ssh-fOviQSOStsZf/agent.70 [2022-07-22T01:35:14.237Z] SSH_AGENT_PID=76 [2022-07-22T01:35:14.243Z] Running ssh-add (command line suppressed) [2022-07-22T01:35:14.368Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5381700054289380810.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5381700054289380810.key) [2022-07-22T01:35:14.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:35:14.674Z] + git semver init [2022-07-22T01:35:14.937Z] 2022-07-22 01:35:14,888 [run_init] DEBUG init version:0.0.0 force:False [2022-07-22T01:35:14.937Z] 2022-07-22 01:35:14,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-22T01:35:14.937Z] 2022-07-22 01:35:14,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-22T01:35:14.937Z] 2022-07-22 01:35:14,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:35:15.881Z] 2022-07-22 01:35:15,671 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-07-22T01:35:15.881Z] 2022-07-22 01:35:15,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-07-22T01:35:15.881Z] 2022-07-22 01:35:15,671 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:35:15.881Z] 2022-07-22 01:35:15,672 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:35:15.881Z] 2.2.0-dev.30 [Pipeline] } [2022-07-22T01:35:15.892Z] $ docker exec --env ******** --env ******** c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent -k [2022-07-22T01:35:16.017Z] unset SSH_AUTH_SOCK; [2022-07-22T01:35:16.017Z] unset SSH_AGENT_PID; [2022-07-22T01:35:16.018Z] echo Agent pid 76 killed; [2022-07-22T01:35:16.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T01:35:16.343Z] + git semver [Pipeline] } [2022-07-22T01:35:16.617Z] $ docker stop --time=1 c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b [2022-07-22T01:35:17.950Z] $ docker rm -f c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:35:18.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-22T01:35:18.594Z] Stashed 1 file(s) [Pipeline] echo [2022-07-22T01:35:18.596Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:35:18.716Z] provisioning config files... [2022-07-22T01:35:18.728Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9053094850246229226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:35:19.031Z] ---> docker-login.sh [2022-07-22T01:35:19.031Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:35:19.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:19.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:19.293Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:19.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:19.293Z] [2022-07-22T01:35:19.293Z] Login Succeeded [2022-07-22T01:35:19.293Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:35:19.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:19.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:19.293Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:19.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:19.293Z] [2022-07-22T01:35:19.293Z] Login Succeeded [2022-07-22T01:35:19.293Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:35:19.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:19.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:19.553Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:19.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:19.553Z] [2022-07-22T01:35:19.553Z] Login Succeeded [2022-07-22T01:35:19.553Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:35:19.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:19.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:19.814Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:19.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:19.814Z] [2022-07-22T01:35:19.814Z] Login Succeeded [2022-07-22T01:35:19.814Z] docker.io [2022-07-22T01:35:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:35:20.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:35:20.075Z] Configure a credential helper to remove this warning. See [2022-07-22T01:35:20.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:35:20.075Z] [2022-07-22T01:35:20.075Z] Login Succeeded [2022-07-22T01:35:20.075Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:35:20.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T01:35:20.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:35:20.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:35:20.175Z] ========================================================= [2022-07-22T01:35:20.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-22T01:35:20.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:35:20.491Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T01:35:20.491Z] Sending build context to Docker daemon 19.96MB [2022-07-22T01:35:20.491Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:35:20.491Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T01:35:20.753Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-22T01:35:20.753Z] 2408cc74d12b: Pulling fs layer [2022-07-22T01:35:20.753Z] ea60b727a1ce: Pulling fs layer [2022-07-22T01:35:20.753Z] 30c4a7721957: Pulling fs layer [2022-07-22T01:35:20.753Z] 370296b7ddb6: Pulling fs layer [2022-07-22T01:35:20.753Z] 7c6cee850709: Pulling fs layer [2022-07-22T01:35:20.753Z] 39a5fcdaea64: Pulling fs layer [2022-07-22T01:35:20.753Z] d94ebbe4e438: Pulling fs layer [2022-07-22T01:35:20.753Z] bcfd1f05c69d: Pulling fs layer [2022-07-22T01:35:20.753Z] 370296b7ddb6: Waiting [2022-07-22T01:35:20.753Z] 59ccb84bbe0f: Pulling fs layer [2022-07-22T01:35:20.753Z] d94ebbe4e438: Waiting [2022-07-22T01:35:20.753Z] 59ccb84bbe0f: Waiting [2022-07-22T01:35:20.753Z] bcfd1f05c69d: Waiting [2022-07-22T01:35:20.753Z] 39a5fcdaea64: Waiting [2022-07-22T01:35:20.753Z] 30c4a7721957: Verifying Checksum [2022-07-22T01:35:20.753Z] 30c4a7721957: Download complete [2022-07-22T01:35:20.753Z] ea60b727a1ce: Verifying Checksum [2022-07-22T01:35:20.753Z] ea60b727a1ce: Download complete [2022-07-22T01:35:20.753Z] 7c6cee850709: Verifying Checksum [2022-07-22T01:35:20.753Z] 7c6cee850709: Download complete [2022-07-22T01:35:20.753Z] 39a5fcdaea64: Verifying Checksum [2022-07-22T01:35:20.753Z] 39a5fcdaea64: Download complete [2022-07-22T01:35:20.753Z] 2408cc74d12b: Verifying Checksum [2022-07-22T01:35:20.753Z] 2408cc74d12b: Download complete [2022-07-22T01:35:20.753Z] d94ebbe4e438: Download complete [2022-07-22T01:35:20.753Z] 2408cc74d12b: Pull complete [2022-07-22T01:35:21.014Z] ea60b727a1ce: Pull complete [2022-07-22T01:35:21.014Z] 30c4a7721957: Pull complete [2022-07-22T01:35:21.014Z] 59ccb84bbe0f: Verifying Checksum [2022-07-22T01:35:21.014Z] 59ccb84bbe0f: Download complete [2022-07-22T01:35:21.274Z] bcfd1f05c69d: Verifying Checksum [2022-07-22T01:35:21.274Z] bcfd1f05c69d: Download complete [2022-07-22T01:35:21.535Z] 370296b7ddb6: Verifying Checksum [2022-07-22T01:35:21.535Z] 370296b7ddb6: Download complete [2022-07-22T01:35:26.819Z] 370296b7ddb6: Pull complete [2022-07-22T01:35:26.819Z] 7c6cee850709: Pull complete [2022-07-22T01:35:26.819Z] 39a5fcdaea64: Pull complete [2022-07-22T01:35:26.819Z] d94ebbe4e438: Pull complete [2022-07-22T01:35:28.729Z] bcfd1f05c69d: Pull complete [2022-07-22T01:35:29.309Z] 59ccb84bbe0f: Pull complete [2022-07-22T01:35:29.310Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-22T01:35:29.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-22T01:35:29.310Z] ---> a4fb48ad2a94 [2022-07-22T01:35:29.310Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T01:35:31.232Z] ---> Running in 1c13d92b8b79 [2022-07-22T01:35:31.504Z] Removing intermediate container 1c13d92b8b79 [2022-07-22T01:35:31.504Z] ---> 9e4cab33d1a5 [2022-07-22T01:35:31.504Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:35:31.504Z] ---> Running in b53178f7b476 [2022-07-22T01:35:31.504Z] Removing intermediate container b53178f7b476 [2022-07-22T01:35:31.504Z] ---> 98da61b9983a [2022-07-22T01:35:31.504Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:35:31.504Z] ---> Running in 157ff79b53ba [2022-07-22T01:35:31.768Z] Removing intermediate container 157ff79b53ba [2022-07-22T01:35:31.768Z] ---> 05abb8fc7c56 [2022-07-22T01:35:31.768Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:35:31.768Z] ---> Running in 827c4ab0dffa [2022-07-22T01:35:31.768Z] Removing intermediate container 827c4ab0dffa [2022-07-22T01:35:31.768Z] ---> 2b540fce38ac [2022-07-22T01:35:31.768Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:35:32.029Z] ---> Running in 6fdda0a65cc0 [2022-07-22T01:35:32.600Z] Removing intermediate container 6fdda0a65cc0 [2022-07-22T01:35:32.600Z] ---> d6db5c939ce6 [2022-07-22T01:35:32.600Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:35:32.600Z] ---> Running in c9a093fbdd5b [2022-07-22T01:35:32.861Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:35:33.684Z] Still waiting to schedule task [2022-07-22T01:35:33.684Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-22T01:35:33.802Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:35:34.064Z] OK: 211 MiB in 51 packages [2022-07-22T01:35:34.325Z] Removing intermediate container c9a093fbdd5b [2022-07-22T01:35:34.325Z] ---> 2a5521472193 [2022-07-22T01:35:34.325Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T01:35:34.325Z] ---> Running in 58e6db946c58 [2022-07-22T01:35:34.586Z] Removing intermediate container 58e6db946c58 [2022-07-22T01:35:34.586Z] ---> d153cfec76b4 [2022-07-22T01:35:34.586Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T01:35:34.586Z] ---> 54ee930e3363 [2022-07-22T01:35:34.586Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:35:34.848Z] ---> Running in 198f1bec4a12 [2022-07-22T01:35:52.975Z] Removing intermediate container 198f1bec4a12 [2022-07-22T01:35:52.975Z] ---> dd1349d4fdb7 [2022-07-22T01:35:52.975Z] Step 12/13 : COPY . . [2022-07-22T01:35:52.975Z] ---> e3f8a1799599 [2022-07-22T01:35:52.975Z] Step 13/13 : RUN ${MAKE} [2022-07-22T01:35:52.975Z] ---> Running in cb242fd78ab3 [2022-07-22T01:35:52.975Z] noop [2022-07-22T01:35:52.975Z] Removing intermediate container cb242fd78ab3 [2022-07-22T01:35:52.975Z] ---> 20a3a3320091 [2022-07-22T01:35:52.975Z] Successfully built 20a3a3320091 [2022-07-22T01:35:52.975Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:35:53.296Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T01:35:53.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:35:53.417Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:35:53.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T01:35:53.952Z] $ docker top 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:35:54.341Z] + go version [2022-07-22T01:35:54.341Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-22T01:35:54.356Z] $ docker stop --time=1 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 [2022-07-22T01:35:55.669Z] $ docker rm -f 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:35:56.081Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T01:35:56.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:35:56.166Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:35:56.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T01:35:56.625Z] $ docker top 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:35:56.983Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-07-22T01:35:57.277Z] + make test [2022-07-22T01:35:57.277Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T01:35:57.537Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T01:36:07.538Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T01:36:08.921Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.7% of statements [2022-07-22T01:36:08.921Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T01:36:13.127Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.691s coverage: 13.8% of statements [2022-07-22T01:36:21.258Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T01:36:24.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T01:36:24.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T01:36:24.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T01:36:25.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T01:36:25.151Z] $ docker stop --time=1 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 [2022-07-22T01:36:27.023Z] $ docker rm -f 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:36:27.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T01:36:27.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-22T01:36:28.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T01:36:28.361Z] + ls -al . [2022-07-22T01:36:28.361Z] total 232 [2022-07-22T01:36:28.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:36 . [2022-07-22T01:36:28.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 .. [2022-07-22T01:36:28.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:36 .git [2022-07-22T01:36:28.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:34 .github [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:34 .gitignore [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:34 .golangci.yml [2022-07-22T01:36:28.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:35 .semver [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:34 Attribution.txt [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:34 CHANGELOG.md [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:34 Dockerfile [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:34 GOVERNANCE.md [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:34 Jenkinsfile [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:34 LICENSE [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:34 Makefile [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:34 OWNERS.md [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:34 README.md [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 01:35 VERSION [2022-07-22T01:36:28.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:34 bin [2022-07-22T01:36:28.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:34 cmd [2022-07-22T01:36:28.361Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:36 coverage.out [2022-07-22T01:36:28.361Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:34 doc [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:34 go.mod [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:34 go.sum [2022-07-22T01:36:28.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 internal [2022-07-22T01:36:28.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 snap [2022-07-22T01:36:28.361Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:36:28.712Z] + 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=71e0e48ceeb97099740467347434efc97fecf137 --label arch=amd64 --label version=2.2.0-dev.30 . [2022-07-22T01:36:28.712Z] Sending build context to Docker daemon 20.04MB [2022-07-22T01:36:28.712Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:36:28.712Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T01:36:28.712Z] ---> 20a3a3320091 [2022-07-22T01:36:28.712Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T01:36:28.973Z] ---> Running in eec7ace82586 [2022-07-22T01:36:28.973Z] Removing intermediate container eec7ace82586 [2022-07-22T01:36:28.973Z] ---> 0f16df394426 [2022-07-22T01:36:28.973Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:36:28.973Z] ---> Running in 167d58b3f537 [2022-07-22T01:36:29.236Z] Removing intermediate container 167d58b3f537 [2022-07-22T01:36:29.236Z] ---> 2dc23ad0fd28 [2022-07-22T01:36:29.236Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:36:29.236Z] ---> Running in c8e901268e48 [2022-07-22T01:36:29.236Z] Removing intermediate container c8e901268e48 [2022-07-22T01:36:29.236Z] ---> 2080255a8c16 [2022-07-22T01:36:29.236Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:36:29.496Z] ---> Running in 8cc7752ff2da [2022-07-22T01:36:29.496Z] Removing intermediate container 8cc7752ff2da [2022-07-22T01:36:29.496Z] ---> 24a8d962ead1 [2022-07-22T01:36:29.496Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:36:29.496Z] ---> Running in d971258ba3e3 [2022-07-22T01:36:30.078Z] Removing intermediate container d971258ba3e3 [2022-07-22T01:36:30.078Z] ---> 8a8b14310951 [2022-07-22T01:36:30.078Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:36:30.078Z] ---> Running in 096b274d910a [2022-07-22T01:36:30.650Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:36:31.219Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:36:31.789Z] OK: 211 MiB in 51 packages [2022-07-22T01:36:32.050Z] Removing intermediate container 096b274d910a [2022-07-22T01:36:32.050Z] ---> f5d28ea2934e [2022-07-22T01:36:32.050Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T01:36:32.050Z] ---> Running in af805e6bbf16 [2022-07-22T01:36:32.050Z] Removing intermediate container af805e6bbf16 [2022-07-22T01:36:32.050Z] ---> 76089a5e7014 [2022-07-22T01:36:32.050Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T01:36:32.310Z] ---> 47bd8324ea91 [2022-07-22T01:36:32.310Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:36:32.310Z] ---> Running in ade737c0fa2d [2022-07-22T01:36:33.249Z] Removing intermediate container ade737c0fa2d [2022-07-22T01:36:33.249Z] ---> 243cbcea7f30 [2022-07-22T01:36:33.249Z] Step 12/26 : COPY . . [2022-07-22T01:36:33.820Z] ---> 0600d47e968f [2022-07-22T01:36:33.820Z] Step 13/26 : RUN ${MAKE} [2022-07-22T01:36:33.820Z] ---> Running in c220419b9792 [2022-07-22T01:36:34.080Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T01:36:56.048Z] Removing intermediate container c220419b9792 [2022-07-22T01:36:56.048Z] ---> a0ec53382b00 [2022-07-22T01:36:56.048Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T01:36:56.309Z] 3.15: Pulling from library/alpine [2022-07-22T01:36:56.569Z] ab6db1bc80d0: Pulling fs layer [2022-07-22T01:36:56.846Z] ab6db1bc80d0: Verifying Checksum [2022-07-22T01:36:56.846Z] ab6db1bc80d0: Download complete [2022-07-22T01:36:56.846Z] ab6db1bc80d0: Pull complete [2022-07-22T01:36:56.846Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T01:36:56.846Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T01:36:56.846Z] ---> 2720e26172a0 [2022-07-22T01:36:56.846Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T01:36:57.106Z] ---> Running in 8cf233496ca7 [2022-07-22T01:36:57.106Z] Removing intermediate container 8cf233496ca7 [2022-07-22T01:36:57.106Z] ---> bc404ebfe6bc [2022-07-22T01:36:57.106Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T01:36:57.106Z] ---> Running in 7e8ea82f13bc [2022-07-22T01:36:57.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:36:57.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:36:57.628Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T01:36:57.628Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T01:36:57.628Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T01:36:57.628Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T01:36:57.888Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T01:36:57.888Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T01:36:57.888Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T01:36:57.888Z] OK: 8 MiB in 20 packages [2022-07-22T01:36:58.148Z] Removing intermediate container 7e8ea82f13bc [2022-07-22T01:36:58.148Z] ---> c3d3cf6868c7 [2022-07-22T01:36:58.148Z] Step 17/26 : WORKDIR / [2022-07-22T01:36:58.148Z] ---> Running in f096ee36da55 [2022-07-22T01:36:58.408Z] Removing intermediate container f096ee36da55 [2022-07-22T01:36:58.408Z] ---> 959aa51c3f60 [2022-07-22T01:36:58.408Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T01:36:58.981Z] ---> 205d27345055 [2022-07-22T01:36:58.981Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T01:36:58.981Z] ---> c7c92bf7f2e8 [2022-07-22T01:36:58.981Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T01:36:59.242Z] ---> 9c900d4b4bc2 [2022-07-22T01:36:59.242Z] Step 21/26 : EXPOSE 59984 [2022-07-22T01:36:59.242Z] ---> Running in df166b2ae885 [2022-07-22T01:36:59.242Z] Removing intermediate container df166b2ae885 [2022-07-22T01:36:59.242Z] ---> 061bbc15d8bb [2022-07-22T01:36:59.242Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T01:36:59.503Z] ---> Running in 8921de58fc54 [2022-07-22T01:36:59.504Z] Removing intermediate container 8921de58fc54 [2022-07-22T01:36:59.504Z] ---> aa5f57b08144 [2022-07-22T01:36:59.504Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T01:36:59.504Z] ---> Running in ee000f97621d [2022-07-22T01:36:59.504Z] Removing intermediate container ee000f97621d [2022-07-22T01:36:59.504Z] ---> 64a580014344 [2022-07-22T01:36:59.504Z] Step 24/26 : LABEL arch=amd64 [2022-07-22T01:36:59.766Z] ---> Running in c6c5c4dece63 [2022-07-22T01:36:59.766Z] Removing intermediate container c6c5c4dece63 [2022-07-22T01:36:59.766Z] ---> ec442ef17a71 [2022-07-22T01:36:59.766Z] Step 25/26 : LABEL git_sha=71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:36:59.766Z] ---> Running in 2cf579343166 [2022-07-22T01:37:00.027Z] Removing intermediate container 2cf579343166 [2022-07-22T01:37:00.027Z] ---> 1aba836b42cc [2022-07-22T01:37:00.027Z] Step 26/26 : LABEL version=2.2.0-dev.30 [2022-07-22T01:37:00.027Z] ---> Running in f60a39b427a9 [2022-07-22T01:37:00.027Z] Removing intermediate container f60a39b427a9 [2022-07-22T01:37:00.027Z] ---> b828ea21a30e [2022-07-22T01:37:00.027Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T01:37:00.027Z] Successfully built b828ea21a30e [2022-07-22T01:37:00.027Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:37:00.131Z] provisioning config files... [2022-07-22T01:37:00.140Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7112107952167985269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:37:00.450Z] ---> docker-login.sh [2022-07-22T01:37:00.450Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:37:00.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:37:00.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:37:00.450Z] Configure a credential helper to remove this warning. See [2022-07-22T01:37:00.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:37:00.450Z] [2022-07-22T01:37:00.450Z] Login Succeeded [2022-07-22T01:37:00.450Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:37:00.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:37:00.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:37:00.783Z] Configure a credential helper to remove this warning. See [2022-07-22T01:37:00.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:37:00.783Z] [2022-07-22T01:37:00.783Z] Login Succeeded [2022-07-22T01:37:00.783Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:37:00.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:37:00.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:37:00.783Z] Configure a credential helper to remove this warning. See [2022-07-22T01:37:00.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:37:00.783Z] [2022-07-22T01:37:00.783Z] Login Succeeded [2022-07-22T01:37:00.783Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:37:00.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:37:01.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:37:01.088Z] Configure a credential helper to remove this warning. See [2022-07-22T01:37:01.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:37:01.088Z] [2022-07-22T01:37:01.088Z] Login Succeeded [2022-07-22T01:37:01.088Z] docker.io [2022-07-22T01:37:01.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:37:01.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:37:01.346Z] Configure a credential helper to remove this warning. See [2022-07-22T01:37:01.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:37:01.346Z] [2022-07-22T01:37:01.346Z] Login Succeeded [2022-07-22T01:37:01.346Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:37:01.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-22T01:37:01.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:37:01.408Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-07-22T01:37:01.408Z] 71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:37:01.408Z] latest [2022-07-22T01:37:01.408Z] 2.2.0-dev.30 [2022-07-22T01:37:01.408Z] 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:37:01.408Z] main [2022-07-22T01:37:01.408Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:01.726Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:02.039Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:37:02.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-22T01:37:02.040Z] 9d1f13ff310d: Preparing [2022-07-22T01:37:02.040Z] 41df11fadd6f: Preparing [2022-07-22T01:37:02.040Z] 394fc17aba9e: Preparing [2022-07-22T01:37:02.040Z] ffe97daab2d0: Preparing [2022-07-22T01:37:02.040Z] ad543cd673bd: Preparing [2022-07-22T01:37:02.040Z] ad543cd673bd: Layer already exists [2022-07-22T01:37:02.040Z] 9d1f13ff310d: Pushed [2022-07-22T01:37:02.040Z] 41df11fadd6f: Pushed [2022-07-22T01:37:02.300Z] ffe97daab2d0: Pushed [2022-07-22T01:37:04.850Z] 394fc17aba9e: Pushed [2022-07-22T01:37:05.111Z] 71e0e48ceeb97099740467347434efc97fecf137: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:05.434Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:05.751Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-22T01:37:05.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-22T01:37:05.751Z] 9d1f13ff310d: Preparing [2022-07-22T01:37:05.751Z] 41df11fadd6f: Preparing [2022-07-22T01:37:05.751Z] 394fc17aba9e: Preparing [2022-07-22T01:37:05.751Z] ffe97daab2d0: Preparing [2022-07-22T01:37:05.751Z] ad543cd673bd: Preparing [2022-07-22T01:37:05.751Z] ffe97daab2d0: Layer already exists [2022-07-22T01:37:05.751Z] 9d1f13ff310d: Layer already exists [2022-07-22T01:37:05.751Z] 41df11fadd6f: Layer already exists [2022-07-22T01:37:05.751Z] 394fc17aba9e: Layer already exists [2022-07-22T01:37:05.751Z] ad543cd673bd: Layer already exists [2022-07-22T01:37:05.751Z] latest: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:06.070Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:06.381Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 [2022-07-22T01:37:06.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-22T01:37:06.381Z] 9d1f13ff310d: Preparing [2022-07-22T01:37:06.381Z] 41df11fadd6f: Preparing [2022-07-22T01:37:06.381Z] 394fc17aba9e: Preparing [2022-07-22T01:37:06.381Z] ffe97daab2d0: Preparing [2022-07-22T01:37:06.381Z] ad543cd673bd: Preparing [2022-07-22T01:37:06.381Z] ad543cd673bd: Layer already exists [2022-07-22T01:37:06.381Z] 9d1f13ff310d: Layer already exists [2022-07-22T01:37:06.381Z] 41df11fadd6f: Layer already exists [2022-07-22T01:37:06.381Z] 394fc17aba9e: Layer already exists [2022-07-22T01:37:06.381Z] ffe97daab2d0: Layer already exists [2022-07-22T01:37:06.381Z] 2.2.0-dev.30: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:06.701Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:07.015Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:37:07.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-22T01:37:07.016Z] 9d1f13ff310d: Preparing [2022-07-22T01:37:07.016Z] 41df11fadd6f: Preparing [2022-07-22T01:37:07.016Z] 394fc17aba9e: Preparing [2022-07-22T01:37:07.016Z] ffe97daab2d0: Preparing [2022-07-22T01:37:07.016Z] ad543cd673bd: Preparing [2022-07-22T01:37:07.016Z] ad543cd673bd: Layer already exists [2022-07-22T01:37:07.016Z] ffe97daab2d0: Layer already exists [2022-07-22T01:37:07.016Z] 394fc17aba9e: Layer already exists [2022-07-22T01:37:07.016Z] 9d1f13ff310d: Layer already exists [2022-07-22T01:37:07.016Z] 41df11fadd6f: Layer already exists [2022-07-22T01:37:07.016Z] 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:07.348Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:07.665Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-07-22T01:37:07.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-22T01:37:07.665Z] 9d1f13ff310d: Preparing [2022-07-22T01:37:07.665Z] 41df11fadd6f: Preparing [2022-07-22T01:37:07.665Z] 394fc17aba9e: Preparing [2022-07-22T01:37:07.665Z] ffe97daab2d0: Preparing [2022-07-22T01:37:07.665Z] ad543cd673bd: Preparing [2022-07-22T01:37:07.665Z] ad543cd673bd: Layer already exists [2022-07-22T01:37:07.665Z] 394fc17aba9e: Layer already exists [2022-07-22T01:37:07.665Z] 41df11fadd6f: Layer already exists [2022-07-22T01:37:07.665Z] 9d1f13ff310d: Layer already exists [2022-07-22T01:37:07.665Z] ffe97daab2d0: Layer already exists [2022-07-22T01:37:07.665Z] main: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-22T01:37:07.716Z] ===================================================== [Pipeline] echo [2022-07-22T01:37:07.725Z] taggedImages: [2022-07-22T01:37:07.725Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:37:07.725Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-22T01:37:07.725Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 [2022-07-22T01:37:07.725Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:37:07.725Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:08.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:37:08.085Z] [2022-07-22T01:37:08.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:37:08.388Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:37:08.388Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-22T01:37:08.388Z] 5eb5b503b376: Pulling fs layer [2022-07-22T01:37:08.388Z] 5c69ac0246d0: Pulling fs layer [2022-07-22T01:37:08.388Z] ec43610c2a17: Pulling fs layer [2022-07-22T01:37:08.388Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-22T01:37:08.388Z] 33b1e0a273af: Pulling fs layer [2022-07-22T01:37:08.388Z] 5d3b04190fa2: Pulling fs layer [2022-07-22T01:37:08.388Z] 2f39f015ded8: Pulling fs layer [2022-07-22T01:37:08.388Z] 3a2ae6a8a46f: Waiting [2022-07-22T01:37:08.388Z] 5d3b04190fa2: Waiting [2022-07-22T01:37:08.388Z] 5c69ac0246d0: Verifying Checksum [2022-07-22T01:37:08.388Z] 5c69ac0246d0: Download complete [2022-07-22T01:37:08.388Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-22T01:37:08.388Z] 3a2ae6a8a46f: Download complete [2022-07-22T01:37:08.388Z] 33b1e0a273af: Verifying Checksum [2022-07-22T01:37:08.388Z] 33b1e0a273af: Download complete [2022-07-22T01:37:08.388Z] ec43610c2a17: Verifying Checksum [2022-07-22T01:37:08.388Z] ec43610c2a17: Download complete [2022-07-22T01:37:08.648Z] 5d3b04190fa2: Verifying Checksum [2022-07-22T01:37:08.648Z] 5d3b04190fa2: Download complete [2022-07-22T01:37:08.648Z] 5eb5b503b376: Verifying Checksum [2022-07-22T01:37:08.648Z] 5eb5b503b376: Download complete [2022-07-22T01:37:09.216Z] 2f39f015ded8: Download complete [2022-07-22T01:37:10.156Z] 5eb5b503b376: Pull complete [2022-07-22T01:37:10.156Z] 5c69ac0246d0: Pull complete [2022-07-22T01:37:10.727Z] ec43610c2a17: Pull complete [2022-07-22T01:37:10.987Z] 3a2ae6a8a46f: Pull complete [2022-07-22T01:37:11.246Z] 33b1e0a273af: Pull complete [2022-07-22T01:37:11.246Z] 5d3b04190fa2: Pull complete [2022-07-22T01:37:16.524Z] 2f39f015ded8: Pull complete [2022-07-22T01:37:16.524Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-22T01:37:16.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:37:16.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:37:16.627Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:37:16.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T01:37:18.403Z] $ docker top 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:37:18.818Z] ---> job-cost.sh [2022-07-22T01:37:18.819Z] lf-activate-venv: SKIPPING [2022-07-22T01:37:18.819Z] INFO: No Stack... [2022-07-22T01:37:19.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T01:37:19.653Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T01:37:19.946Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-07-22T01:37:19.946Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T01:37:19.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [2022-07-22T01:37:19.967Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] did not exist. Created. [2022-07-22T01:37:19.967Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T01:37:20.272Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-22T01:37:20.300Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T01:37:20.310Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T01:37:20.333Z] $ docker stop --time=1 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead [2022-07-22T01:37:21.507Z] $ docker rm -f 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-22T01:39:30.187Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20750 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-07-22T01:39:30.200Z] Running in /w/workspace/device-onvif-camera/33 [Pipeline] { [Pipeline] checkout [2022-07-22T01:39:30.240Z] Selected Git installation does not exist. Using Default [2022-07-22T01:39:30.240Z] The recommended git tool is: NONE [2022-07-22T01:39:37.411Z] using credential edgex-jenkins-ssh [2022-07-22T01:39:37.441Z] Cloning the remote Git repository [2022-07-22T01:39:37.507Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T01:39:37.592Z] > git init /w/workspace/device-onvif-camera/33 # timeout=10 [2022-07-22T01:39:37.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T01:39:37.692Z] > git --version # timeout=10 [2022-07-22T01:39:37.721Z] > git --version # 'git version 2.25.1' [2022-07-22T01:39:37.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T01:39:37.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T01:39:39.106Z] Avoid second fetch [2022-07-22T01:39:39.107Z] Checking out Revision 71e0e48ceeb97099740467347434efc97fecf137 (main) [2022-07-22T01:39:39.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T01:39:39.082Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T01:39:39.149Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T01:39:39.221Z] > git checkout -f 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 [2022-07-22T01:39:43.748Z] Commit message: "fix: convert MACAddress and FriendlyName to string type (#115)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:39:44.573Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-22T01:39:44.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T01:39:44.573Z] Dload Upload Total Spent Left Speed [2022-07-22T01:39:44.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 62598 0 --:--:-- --:--:-- --:--:-- 62598 [Pipeline] sh [2022-07-22T01:39:45.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-22T01:39:45.578Z] + sudo tee /etc/docker/daemon.new [2022-07-22T01:39:45.578Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-22T01:39:45.578Z] { [2022-07-22T01:39:45.578Z] "registry-mirrors": [ [2022-07-22T01:39:45.578Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-22T01:39:45.578Z] ], [2022-07-22T01:39:45.578Z] "bip": "10.250.0.254/24", [2022-07-22T01:39:45.578Z] "hosts": [ [2022-07-22T01:39:45.578Z] "tcp://0.0.0.0:5555", [2022-07-22T01:39:45.578Z] "unix:///var/run/docker.sock" [2022-07-22T01:39:45.578Z] ], [2022-07-22T01:39:45.578Z] "mtu": 1458, [2022-07-22T01:39:45.578Z] "selinux-enabled": true, [2022-07-22T01:39:45.578Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-22T01:39:45.578Z] } [Pipeline] sh [2022-07-22T01:39:45.939Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-22T01:39:46.292Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:40:04.756Z] provisioning config files... [2022-07-22T01:40:04.783Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config5593448487116498599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:40:05.154Z] ---> docker-login.sh [2022-07-22T01:40:05.154Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:40:05.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:40:06.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:40:06.030Z] Configure a credential helper to remove this warning. See [2022-07-22T01:40:06.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:40:06.030Z] [2022-07-22T01:40:06.030Z] Login Succeeded [2022-07-22T01:40:06.030Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:40:06.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:40:06.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:40:06.583Z] Configure a credential helper to remove this warning. See [2022-07-22T01:40:06.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:40:06.583Z] [2022-07-22T01:40:06.583Z] Login Succeeded [2022-07-22T01:40:06.583Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:40:06.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:40:06.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:40:06.861Z] Configure a credential helper to remove this warning. See [2022-07-22T01:40:06.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:40:06.861Z] [2022-07-22T01:40:07.138Z] Login Succeeded [2022-07-22T01:40:07.138Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:40:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:40:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:40:07.412Z] Configure a credential helper to remove this warning. See [2022-07-22T01:40:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:40:07.412Z] [2022-07-22T01:40:07.412Z] Login Succeeded [2022-07-22T01:40:07.412Z] docker.io [2022-07-22T01:40:07.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:40:08.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:40:08.282Z] Configure a credential helper to remove this warning. See [2022-07-22T01:40:08.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:40:08.282Z] [2022-07-22T01:40:08.282Z] Login Succeeded [2022-07-22T01:40:08.282Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:40:08.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T01:40:08.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:40:08.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:40:08.772Z] ========================================================= [2022-07-22T01:40:08.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-22T01:40:08.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:40:09.125Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T01:40:09.726Z] Sending build context to Docker daemon 13.61MB [2022-07-22T01:40:09.726Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:40:09.726Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T01:40:10.001Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-22T01:40:10.001Z] b3c136eddcbf: Pulling fs layer [2022-07-22T01:40:10.001Z] c0a3192eca97: Pulling fs layer [2022-07-22T01:40:10.001Z] a050256f5b6f: Pulling fs layer [2022-07-22T01:40:10.001Z] 656be50a0ddc: Pulling fs layer [2022-07-22T01:40:10.001Z] 2bbca73fdf42: Pulling fs layer [2022-07-22T01:40:10.001Z] 46d945488cbd: Pulling fs layer [2022-07-22T01:40:10.001Z] 8a5474983e97: Pulling fs layer [2022-07-22T01:40:10.001Z] 329c88fbcd65: Pulling fs layer [2022-07-22T01:40:10.001Z] 46d945488cbd: Waiting [2022-07-22T01:40:10.001Z] 8a5474983e97: Waiting [2022-07-22T01:40:10.001Z] 656be50a0ddc: Waiting [2022-07-22T01:40:10.001Z] 329c88fbcd65: Waiting [2022-07-22T01:40:10.001Z] 2bbca73fdf42: Waiting [2022-07-22T01:40:10.001Z] a050256f5b6f: Verifying Checksum [2022-07-22T01:40:10.001Z] a050256f5b6f: Download complete [2022-07-22T01:40:10.001Z] c0a3192eca97: Verifying Checksum [2022-07-22T01:40:10.001Z] c0a3192eca97: Download complete [2022-07-22T01:40:10.001Z] 2bbca73fdf42: Verifying Checksum [2022-07-22T01:40:10.001Z] 2bbca73fdf42: Download complete [2022-07-22T01:40:10.001Z] 46d945488cbd: Verifying Checksum [2022-07-22T01:40:10.001Z] 46d945488cbd: Download complete [2022-07-22T01:40:10.001Z] b3c136eddcbf: Download complete [2022-07-22T01:40:10.993Z] b3c136eddcbf: Pull complete [2022-07-22T01:40:11.271Z] 329c88fbcd65: Verifying Checksum [2022-07-22T01:40:11.271Z] 329c88fbcd65: Download complete [2022-07-22T01:40:11.554Z] c0a3192eca97: Pull complete [2022-07-22T01:40:11.829Z] a050256f5b6f: Pull complete [2022-07-22T01:40:12.426Z] 8a5474983e97: Verifying Checksum [2022-07-22T01:40:12.426Z] 8a5474983e97: Download complete [2022-07-22T01:40:13.022Z] 656be50a0ddc: Verifying Checksum [2022-07-22T01:40:13.022Z] 656be50a0ddc: Download complete [2022-07-22T01:40:28.128Z] 656be50a0ddc: Pull complete [2022-07-22T01:40:28.128Z] 2bbca73fdf42: Pull complete [2022-07-22T01:40:28.128Z] 46d945488cbd: Pull complete [2022-07-22T01:40:32.450Z] 8a5474983e97: Pull complete [2022-07-22T01:40:35.096Z] 329c88fbcd65: Pull complete [2022-07-22T01:40:35.096Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-22T01:40:35.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-22T01:40:35.096Z] ---> ff4287adb874 [2022-07-22T01:40:35.096Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T01:40:36.544Z] ---> Running in 1727e46bd44c [2022-07-22T01:40:36.820Z] Removing intermediate container 1727e46bd44c [2022-07-22T01:40:36.820Z] ---> 1519c5d567f7 [2022-07-22T01:40:36.820Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:40:36.820Z] ---> Running in dabb22c0c686 [2022-07-22T01:40:37.095Z] Removing intermediate container dabb22c0c686 [2022-07-22T01:40:37.095Z] ---> dcfc0a600c8f [2022-07-22T01:40:37.095Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:40:37.095Z] ---> Running in 9411429deada [2022-07-22T01:40:37.373Z] Removing intermediate container 9411429deada [2022-07-22T01:40:37.373Z] ---> f79737b7b3e3 [2022-07-22T01:40:37.373Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:40:37.373Z] ---> Running in 1a79f39e7586 [2022-07-22T01:40:37.984Z] Removing intermediate container 1a79f39e7586 [2022-07-22T01:40:37.984Z] ---> d4590bdab4f5 [2022-07-22T01:40:37.984Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:40:37.984Z] ---> Running in 5fdc9a901228 [2022-07-22T01:40:39.966Z] Removing intermediate container 5fdc9a901228 [2022-07-22T01:40:39.966Z] ---> f87c676bfa16 [2022-07-22T01:40:39.966Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:40:39.966Z] ---> Running in 7c840445c328 [2022-07-22T01:40:41.952Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:40:42.554Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:40:43.539Z] OK: 221 MiB in 51 packages [2022-07-22T01:40:44.146Z] Removing intermediate container 7c840445c328 [2022-07-22T01:40:44.146Z] ---> 33c8e6f0d942 [2022-07-22T01:40:44.146Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T01:40:44.146Z] ---> Running in 4d7e14d5d492 [2022-07-22T01:40:44.422Z] Removing intermediate container 4d7e14d5d492 [2022-07-22T01:40:44.422Z] ---> ba8a4bd30e53 [2022-07-22T01:40:44.422Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T01:40:45.037Z] ---> e55d0d2a6863 [2022-07-22T01:40:45.037Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:40:45.037Z] ---> Running in b7f5726786c0 [2022-07-22T01:41:32.000Z] Removing intermediate container b7f5726786c0 [2022-07-22T01:41:32.000Z] ---> 3353fe5fa044 [2022-07-22T01:41:32.000Z] Step 12/13 : COPY . . [2022-07-22T01:41:32.000Z] ---> 30a414f6dba0 [2022-07-22T01:41:32.000Z] Step 13/13 : RUN ${MAKE} [2022-07-22T01:41:32.000Z] ---> Running in aa521b649248 [2022-07-22T01:41:32.000Z] noop [2022-07-22T01:41:32.599Z] Removing intermediate container aa521b649248 [2022-07-22T01:41:32.599Z] ---> cb710c57bed7 [2022-07-22T01:41:32.873Z] Successfully built cb710c57bed7 [2022-07-22T01:41:32.873Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:41:33.241Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T01:41:33.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:41:33.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container [2022-07-22T01:41:33.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T01:41:34.835Z] $ docker top b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:41:35.724Z] + go version [2022-07-22T01:41:35.724Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-22T01:41:35.753Z] $ docker stop --time=1 b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 [2022-07-22T01:41:37.340Z] $ docker rm -f b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:41:37.933Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T01:41:37.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:41:38.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container [2022-07-22T01:41:38.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T01:41:39.511Z] $ docker top d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:41:40.415Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/33 [Pipeline] fileExists [Pipeline] sh [2022-07-22T01:41:41.083Z] + make test [2022-07-22T01:41:41.083Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T01:41:42.530Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T01:43:04.378Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T01:43:12.705Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.116s coverage: 10.7% of statements [2022-07-22T01:43:12.705Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T01:43:34.875Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.145s coverage: 13.8% of statements [2022-07-22T01:43:34.875Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-22T01:43:34.875Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T01:43:57.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T01:43:57.076Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T01:43:57.351Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T01:44:00.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T01:44:00.785Z] $ docker stop --time=1 d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de [2022-07-22T01:44:02.579Z] $ docker rm -f d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:44:03.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T01:44:03.641Z] Warning: overwriting stash ‘coverage-report’ [2022-07-22T01:44:04.244Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:44:04.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T01:44:04.983Z] + ls -al . [2022-07-22T01:44:04.983Z] total 228 [2022-07-22T01:44:04.983Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 01:44 . [2022-07-22T01:44:04.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 .. [2022-07-22T01:44:04.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:39 .git [2022-07-22T01:44:04.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:39 .github [2022-07-22T01:44:04.983Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:39 .gitignore [2022-07-22T01:44:04.983Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:39 .golangci.yml [2022-07-22T01:44:04.983Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:39 Attribution.txt [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:39 CHANGELOG.md [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:39 Dockerfile [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:39 GOVERNANCE.md [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:39 Jenkinsfile [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:39 LICENSE [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:39 Makefile [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:39 OWNERS.md [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:39 README.md [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 01:35 VERSION [2022-07-22T01:44:04.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:39 bin [2022-07-22T01:44:04.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:39 cmd [2022-07-22T01:44:04.984Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:43 coverage.out [2022-07-22T01:44:04.984Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:39 doc [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:39 go.mod [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:39 go.sum [2022-07-22T01:44:04.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 internal [2022-07-22T01:44:04.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 snap [2022-07-22T01:44:04.984Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:44:05.344Z] + 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=71e0e48ceeb97099740467347434efc97fecf137 --label arch=arm64 --label version=2.2.0-dev.30 . [2022-07-22T01:44:05.944Z] Sending build context to Docker daemon 13.69MB [2022-07-22T01:44:05.944Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:44:05.944Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T01:44:05.944Z] ---> cb710c57bed7 [2022-07-22T01:44:05.944Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T01:44:05.944Z] ---> Running in 471a140c861a [2022-07-22T01:44:06.543Z] Removing intermediate container 471a140c861a [2022-07-22T01:44:06.543Z] ---> d18394cdb0db [2022-07-22T01:44:06.543Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:44:06.543Z] ---> Running in 6fa6dfe6634a [2022-07-22T01:44:06.814Z] Removing intermediate container 6fa6dfe6634a [2022-07-22T01:44:06.814Z] ---> 0c3d916ea70e [2022-07-22T01:44:06.814Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:44:06.814Z] ---> Running in d60b5f3aeb91 [2022-07-22T01:44:07.090Z] Removing intermediate container d60b5f3aeb91 [2022-07-22T01:44:07.090Z] ---> c459e505d9cf [2022-07-22T01:44:07.090Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:44:07.363Z] ---> Running in a4df95e31d9c [2022-07-22T01:44:07.637Z] Removing intermediate container a4df95e31d9c [2022-07-22T01:44:07.637Z] ---> 2d4261b5f9e9 [2022-07-22T01:44:07.637Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:44:07.637Z] ---> Running in 6c33a991a123 [2022-07-22T01:44:09.088Z] Removing intermediate container 6c33a991a123 [2022-07-22T01:44:09.088Z] ---> 9155fedba12b [2022-07-22T01:44:09.088Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:44:09.367Z] ---> Running in 2e515b30e527 [2022-07-22T01:44:10.347Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:44:11.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:44:12.320Z] OK: 221 MiB in 51 packages [2022-07-22T01:44:13.306Z] Removing intermediate container 2e515b30e527 [2022-07-22T01:44:13.306Z] ---> 61d5dde90550 [2022-07-22T01:44:13.306Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T01:44:13.306Z] ---> Running in 1862a44c0cbf [2022-07-22T01:44:13.579Z] Removing intermediate container 1862a44c0cbf [2022-07-22T01:44:13.579Z] ---> 3a0c598ffed9 [2022-07-22T01:44:13.579Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T01:44:14.196Z] ---> e293c7fa588d [2022-07-22T01:44:14.196Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:44:14.196Z] ---> Running in 54bdadaaa9f7 [2022-07-22T01:44:16.189Z] Removing intermediate container 54bdadaaa9f7 [2022-07-22T01:44:16.189Z] ---> 8cba9931b789 [2022-07-22T01:44:16.189Z] Step 12/26 : COPY . . [2022-07-22T01:44:18.173Z] ---> a1eed6fea958 [2022-07-22T01:44:18.173Z] Step 13/26 : RUN ${MAKE} [2022-07-22T01:44:18.173Z] ---> Running in 117d53246f3f [2022-07-22T01:44:19.159Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T01:46:41.096Z] Removing intermediate container 117d53246f3f [2022-07-22T01:46:41.096Z] ---> bd7095e5cf7f [2022-07-22T01:46:41.096Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T01:46:41.096Z] 3.15: Pulling from library/alpine [2022-07-22T01:46:41.096Z] e0295fd11fe2: Pulling fs layer [2022-07-22T01:46:41.096Z] e0295fd11fe2: Verifying Checksum [2022-07-22T01:46:41.096Z] e0295fd11fe2: Download complete [2022-07-22T01:46:41.096Z] e0295fd11fe2: Pull complete [2022-07-22T01:46:41.096Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T01:46:41.096Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T01:46:41.096Z] ---> 60f2846fe774 [2022-07-22T01:46:41.096Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T01:46:41.096Z] ---> Running in 5f5c0222d15d [2022-07-22T01:46:41.096Z] Removing intermediate container 5f5c0222d15d [2022-07-22T01:46:41.096Z] ---> a2e52699d177 [2022-07-22T01:46:41.096Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T01:46:41.096Z] ---> Running in a578127f669c [2022-07-22T01:46:41.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:46:41.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:46:42.953Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T01:46:42.954Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T01:46:42.954Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T01:46:42.954Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T01:46:42.954Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T01:46:42.954Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T01:46:42.954Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T01:46:42.954Z] OK: 8 MiB in 20 packages [2022-07-22T01:46:43.940Z] Removing intermediate container a578127f669c [2022-07-22T01:46:43.940Z] ---> 253e0a40dcdd [2022-07-22T01:46:43.940Z] Step 17/26 : WORKDIR / [2022-07-22T01:46:43.940Z] ---> Running in 1c463c9de7fc [2022-07-22T01:46:44.541Z] Removing intermediate container 1c463c9de7fc [2022-07-22T01:46:44.541Z] ---> eda83325ada8 [2022-07-22T01:46:44.541Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T01:46:45.984Z] ---> e25a3a257702 [2022-07-22T01:46:45.984Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T01:46:46.582Z] ---> 0b83a026b571 [2022-07-22T01:46:46.582Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T01:46:47.180Z] ---> 4119e4cd63f0 [2022-07-22T01:46:47.180Z] Step 21/26 : EXPOSE 59984 [2022-07-22T01:46:47.180Z] ---> Running in 5119d5081d48 [2022-07-22T01:46:47.462Z] Removing intermediate container 5119d5081d48 [2022-07-22T01:46:47.462Z] ---> c43d95374c66 [2022-07-22T01:46:47.462Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T01:46:47.737Z] ---> Running in f6a0618aa3af [2022-07-22T01:46:48.012Z] Removing intermediate container f6a0618aa3af [2022-07-22T01:46:48.012Z] ---> c938f283cbe7 [2022-07-22T01:46:48.012Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T01:46:48.012Z] ---> Running in 1049b639a9a8 [2022-07-22T01:46:48.284Z] Removing intermediate container 1049b639a9a8 [2022-07-22T01:46:48.284Z] ---> e1a71f184f0d [2022-07-22T01:46:48.284Z] Step 24/26 : LABEL arch=arm64 [2022-07-22T01:46:48.557Z] ---> Running in 2b399c126b6c [2022-07-22T01:46:48.835Z] Removing intermediate container 2b399c126b6c [2022-07-22T01:46:48.835Z] ---> 1e613a2c8edb [2022-07-22T01:46:48.835Z] Step 25/26 : LABEL git_sha=71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:46:48.835Z] ---> Running in 3d4d9171498e [2022-07-22T01:46:49.434Z] Removing intermediate container 3d4d9171498e [2022-07-22T01:46:49.434Z] ---> b5ed37d06ecf [2022-07-22T01:46:49.434Z] Step 26/26 : LABEL version=2.2.0-dev.30 [2022-07-22T01:46:49.434Z] ---> Running in 095e2fc1ee70 [2022-07-22T01:46:49.708Z] Removing intermediate container 095e2fc1ee70 [2022-07-22T01:46:49.708Z] ---> c02b08263230 [2022-07-22T01:46:49.708Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T01:46:49.708Z] Successfully built c02b08263230 [2022-07-22T01:46:49.708Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:46:49.806Z] provisioning config files... [2022-07-22T01:46:49.826Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config2671190851180673250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:46:50.178Z] ---> docker-login.sh [2022-07-22T01:46:50.178Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:46:50.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:46:50.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:46:50.451Z] Configure a credential helper to remove this warning. See [2022-07-22T01:46:50.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:46:50.451Z] [2022-07-22T01:46:50.451Z] Login Succeeded [2022-07-22T01:46:50.451Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:46:51.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:46:51.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:46:51.050Z] Configure a credential helper to remove this warning. See [2022-07-22T01:46:51.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:46:51.050Z] [2022-07-22T01:46:51.050Z] Login Succeeded [2022-07-22T01:46:51.050Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:46:51.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:46:51.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:46:51.649Z] Configure a credential helper to remove this warning. See [2022-07-22T01:46:51.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:46:51.649Z] [2022-07-22T01:46:51.649Z] Login Succeeded [2022-07-22T01:46:51.649Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:46:51.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:46:52.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:46:52.198Z] Configure a credential helper to remove this warning. See [2022-07-22T01:46:52.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:46:52.198Z] [2022-07-22T01:46:52.198Z] Login Succeeded [2022-07-22T01:46:52.198Z] docker.io [2022-07-22T01:46:52.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:46:52.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:46:52.747Z] Configure a credential helper to remove this warning. See [2022-07-22T01:46:52.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:46:52.747Z] [2022-07-22T01:46:52.747Z] Login Succeeded [2022-07-22T01:46:53.019Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:46:53.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-22T01:46:53.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:46:53.092Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-07-22T01:46:53.092Z] 71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:46:53.092Z] latest [2022-07-22T01:46:53.092Z] 2.2.0-dev.30 [2022-07-22T01:46:53.092Z] 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:46:53.092Z] main [2022-07-22T01:46:53.092Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:46:53.463Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:46:53.822Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:46:53.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-22T01:46:53.823Z] 8c4d7e0d2936: Preparing [2022-07-22T01:46:53.823Z] a0a644cb2a74: Preparing [2022-07-22T01:46:53.823Z] 7f570a158fe8: Preparing [2022-07-22T01:46:53.823Z] c484190f1442: Preparing [2022-07-22T01:46:53.823Z] eb54b7b7991f: Preparing [2022-07-22T01:46:54.118Z] eb54b7b7991f: Layer already exists [2022-07-22T01:46:54.118Z] 8c4d7e0d2936: Pushed [2022-07-22T01:46:54.118Z] a0a644cb2a74: Pushed [2022-07-22T01:46:54.719Z] c484190f1442: Pushed [2022-07-22T01:47:00.116Z] 7f570a158fe8: Pushed [2022-07-22T01:47:00.116Z] 71e0e48ceeb97099740467347434efc97fecf137: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:00.485Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:00.856Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-22T01:47:00.856Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-22T01:47:00.856Z] 8c4d7e0d2936: Preparing [2022-07-22T01:47:00.856Z] a0a644cb2a74: Preparing [2022-07-22T01:47:00.856Z] 7f570a158fe8: Preparing [2022-07-22T01:47:00.856Z] c484190f1442: Preparing [2022-07-22T01:47:00.856Z] eb54b7b7991f: Preparing [2022-07-22T01:47:00.856Z] 8c4d7e0d2936: Layer already exists [2022-07-22T01:47:00.856Z] eb54b7b7991f: Layer already exists [2022-07-22T01:47:00.856Z] c484190f1442: Layer already exists [2022-07-22T01:47:00.856Z] 7f570a158fe8: Layer already exists [2022-07-22T01:47:00.856Z] a0a644cb2a74: Layer already exists [2022-07-22T01:47:01.129Z] latest: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:01.509Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:02.166Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 [2022-07-22T01:47:02.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-22T01:47:02.167Z] 8c4d7e0d2936: Preparing [2022-07-22T01:47:02.167Z] a0a644cb2a74: Preparing [2022-07-22T01:47:02.167Z] 7f570a158fe8: Preparing [2022-07-22T01:47:02.167Z] c484190f1442: Preparing [2022-07-22T01:47:02.167Z] eb54b7b7991f: Preparing [2022-07-22T01:47:02.167Z] a0a644cb2a74: Layer already exists [2022-07-22T01:47:02.167Z] eb54b7b7991f: Layer already exists [2022-07-22T01:47:02.167Z] 8c4d7e0d2936: Layer already exists [2022-07-22T01:47:02.167Z] c484190f1442: Layer already exists [2022-07-22T01:47:02.167Z] 7f570a158fe8: Layer already exists [2022-07-22T01:47:02.441Z] 2.2.0-dev.30: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:02.807Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:03.166Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:47:03.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-22T01:47:03.166Z] 8c4d7e0d2936: Preparing [2022-07-22T01:47:03.166Z] a0a644cb2a74: Preparing [2022-07-22T01:47:03.166Z] 7f570a158fe8: Preparing [2022-07-22T01:47:03.166Z] c484190f1442: Preparing [2022-07-22T01:47:03.166Z] eb54b7b7991f: Preparing [2022-07-22T01:47:03.166Z] a0a644cb2a74: Layer already exists [2022-07-22T01:47:03.166Z] eb54b7b7991f: Layer already exists [2022-07-22T01:47:03.166Z] 8c4d7e0d2936: Layer already exists [2022-07-22T01:47:03.166Z] 7f570a158fe8: Layer already exists [2022-07-22T01:47:03.166Z] c484190f1442: Layer already exists [2022-07-22T01:47:03.439Z] 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:03.802Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:04.160Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-07-22T01:47:04.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-22T01:47:04.160Z] 8c4d7e0d2936: Preparing [2022-07-22T01:47:04.160Z] a0a644cb2a74: Preparing [2022-07-22T01:47:04.160Z] 7f570a158fe8: Preparing [2022-07-22T01:47:04.160Z] c484190f1442: Preparing [2022-07-22T01:47:04.160Z] eb54b7b7991f: Preparing [2022-07-22T01:47:04.160Z] eb54b7b7991f: Layer already exists [2022-07-22T01:47:04.160Z] a0a644cb2a74: Layer already exists [2022-07-22T01:47:04.160Z] 7f570a158fe8: Layer already exists [2022-07-22T01:47:04.160Z] 8c4d7e0d2936: Layer already exists [2022-07-22T01:47:04.160Z] c484190f1442: Layer already exists [2022-07-22T01:47:04.434Z] main: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-22T01:47:04.496Z] ===================================================== [Pipeline] echo [2022-07-22T01:47:04.505Z] taggedImages: [2022-07-22T01:47:04.505Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 [2022-07-22T01:47:04.505Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-22T01:47:04.505Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 [2022-07-22T01:47:04.505Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [2022-07-22T01:47:04.505Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:04.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:47:04.874Z] [2022-07-22T01:47:04.874Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:05.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:47:05.510Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-22T01:47:05.510Z] 8998bd30e6a1: Pulling fs layer [2022-07-22T01:47:05.510Z] 04944245beec: Pulling fs layer [2022-07-22T01:47:05.510Z] 699f458cf7ca: Pulling fs layer [2022-07-22T01:47:05.510Z] 765212b225bb: Pulling fs layer [2022-07-22T01:47:05.510Z] f23df028b6ca: Pulling fs layer [2022-07-22T01:47:05.510Z] d65c8cfc05b1: Pulling fs layer [2022-07-22T01:47:05.510Z] 2437ff75d9bd: Pulling fs layer [2022-07-22T01:47:05.510Z] 765212b225bb: Waiting [2022-07-22T01:47:05.510Z] f23df028b6ca: Waiting [2022-07-22T01:47:05.510Z] d65c8cfc05b1: Waiting [2022-07-22T01:47:05.510Z] 2437ff75d9bd: Waiting [2022-07-22T01:47:05.510Z] 04944245beec: Verifying Checksum [2022-07-22T01:47:05.510Z] 04944245beec: Download complete [2022-07-22T01:47:05.510Z] 765212b225bb: Verifying Checksum [2022-07-22T01:47:05.510Z] 765212b225bb: Download complete [2022-07-22T01:47:05.510Z] f23df028b6ca: Verifying Checksum [2022-07-22T01:47:05.510Z] f23df028b6ca: Download complete [2022-07-22T01:47:05.510Z] d65c8cfc05b1: Verifying Checksum [2022-07-22T01:47:05.510Z] d65c8cfc05b1: Download complete [2022-07-22T01:47:05.785Z] 699f458cf7ca: Verifying Checksum [2022-07-22T01:47:05.785Z] 699f458cf7ca: Download complete [2022-07-22T01:47:06.060Z] 8998bd30e6a1: Verifying Checksum [2022-07-22T01:47:06.060Z] 8998bd30e6a1: Download complete [2022-07-22T01:47:08.692Z] 2437ff75d9bd: Verifying Checksum [2022-07-22T01:47:08.692Z] 2437ff75d9bd: Download complete [2022-07-22T01:47:10.673Z] 8998bd30e6a1: Pull complete [2022-07-22T01:47:10.949Z] 04944245beec: Pull complete [2022-07-22T01:47:12.386Z] 699f458cf7ca: Pull complete [2022-07-22T01:47:12.661Z] 765212b225bb: Pull complete [2022-07-22T01:47:13.643Z] f23df028b6ca: Pull complete [2022-07-22T01:47:13.917Z] d65c8cfc05b1: Pull complete [2022-07-22T01:47:29.018Z] 2437ff75d9bd: Pull complete [2022-07-22T01:47:29.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-22T01:47:29.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:47:29.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:47:29.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container [2022-07-22T01:47:29.373Z] $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-22T01:47:32.120Z] $ docker top 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:47:33.104Z] ---> job-cost.sh [2022-07-22T01:47:33.104Z] lf-activate-venv: SKIPPING [2022-07-22T01:47:33.104Z] INFO: No Stack... [2022-07-22T01:47:33.700Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-22T01:47:34.307Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T01:47:35.035Z] + cat /w/workspace/device-onvif-camera/33/archives/cost.csv [2022-07-22T01:47:35.035Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T01:47:35.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [2022-07-22T01:47:35.116Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] did not exist. Created. [2022-07-22T01:47:35.116Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T01:47:35.801Z] /w/workspace/device-onvif-camera/33@tmp/durable-9fd7d4d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-22T01:47:36.518Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-22T01:47:36.538Z] Warning: overwriting stash ‘stack-cost’ [2022-07-22T01:47:36.598Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T01:47:36.607Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T01:47:36.640Z] $ docker stop --time=1 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c [2022-07-22T01:47:38.188Z] $ docker rm -f 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-22T01:47:38.671Z] provisioning config files... [2022-07-22T01:47:38.679Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5633029073039408994tmp [Pipeline] { [Pipeline] sh [2022-07-22T01:47:38.983Z] + set +x [2022-07-22T01:47:38.983Z] + curl -s https://codecov.io/bash [2022-07-22T01:47:38.983Z] + bash -s -- [2022-07-22T01:47:38.983Z] [2022-07-22T01:47:38.983Z] _____ _ [2022-07-22T01:47:38.983Z] / ____| | | [2022-07-22T01:47:38.983Z] | | ___ __| | ___ ___ _____ __ [2022-07-22T01:47:38.983Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-22T01:47:38.983Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-22T01:47:38.983Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-22T01:47:38.983Z] Bash-1.0.6 [2022-07-22T01:47:38.983Z] [2022-07-22T01:47:38.983Z] [2022-07-22T01:47:38.983Z] ==> git version 2.25.1 found [2022-07-22T01:47:38.984Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-22T01:47:38.984Z] Release-Date: 2020-01-08 [2022-07-22T01:47:38.984Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-22T01:47:38.984Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-22T01:47:38.984Z] ==> Jenkins CI detected. [2022-07-22T01:47:38.984Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-07-22T01:47:38.984Z] project root: . [2022-07-22T01:47:38.984Z] --> token set from env [2022-07-22T01:47:38.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-22T01:47:38.984Z] ==> Running gcov in . (disable via -X gcov) [2022-07-22T01:47:38.984Z] ==> Python coveragepy not found [2022-07-22T01:47:38.984Z] ==> Searching for coverage reports in: [2022-07-22T01:47:38.984Z] + . [2022-07-22T01:47:38.984Z] -> Found 1 reports [2022-07-22T01:47:38.984Z] ==> Detecting git/mercurial file structure [2022-07-22T01:47:38.984Z] ==> Reading reports [2022-07-22T01:47:38.984Z] + ./coverage.out bytes=76665 [2022-07-22T01:47:38.984Z] ==> Appending adjustments [2022-07-22T01:47:38.984Z] https://docs.codecov.io/docs/fixing-reports [2022-07-22T01:47:39.244Z] + Found adjustments [2022-07-22T01:47:39.244Z] ==> Gzipping contents [2022-07-22T01:47:39.244Z] 12K /tmp/codecov.Rprmrv.gz [2022-07-22T01:47:39.244Z] ==> Uploading reports [2022-07-22T01:47:39.244Z] url: https://codecov.io [2022-07-22T01:47:39.244Z] query: branch=main&commit=71e0e48ceeb97099740467347434efc97fecf137&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-22T01:47:39.244Z] -> Pinging Codecov [2022-07-22T01:47:39.245Z] 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=71e0e48ceeb97099740467347434efc97fecf137&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-22T01:47:39.505Z] -> Uploading to [2022-07-22T01:47:39.506Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/71e0e48ceeb97099740467347434efc97fecf137/68cc21aa-70fd-4bca-be8f-525532497534.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T014739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab33d572b8da17e0ffd32d3303843ad48f769327892caf1e9cc1d3b8a9edbe20 [2022-07-22T01:47:39.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T01:47:39.506Z] Dload Upload Total Spent Left Speed [2022-07-22T01:47:39.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10379 0 0 100 10379 0 46542 --:--:-- --:--:-- --:--:-- 46542 100 10379 0 0 100 10379 0 42191 --:--:-- --:--:-- --:--:-- 42020 [2022-07-22T01:47:39.766Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } [2022-07-22T01:47:39.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-22T01:47:39.973Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-22T01:47:39.984Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:40.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-22T01:47:40.290Z] [2022-07-22T01:47:40.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:47:40.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-22T01:47:40.594Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-22T01:47:40.594Z] df9b9388f04a: Pulling fs layer [2022-07-22T01:47:40.594Z] 52dc419b0ee2: Pulling fs layer [2022-07-22T01:47:40.594Z] 25bc292e5bac: Pulling fs layer [2022-07-22T01:47:40.594Z] 114826534d7a: Pulling fs layer [2022-07-22T01:47:40.594Z] 4657fd5d0bcf: Pulling fs layer [2022-07-22T01:47:40.594Z] 6ad1cebc031e: Pulling fs layer [2022-07-22T01:47:40.594Z] 8a3aa393b2d8: Pulling fs layer [2022-07-22T01:47:40.594Z] 114826534d7a: Waiting [2022-07-22T01:47:40.594Z] 4657fd5d0bcf: Waiting [2022-07-22T01:47:40.594Z] 8a3aa393b2d8: Waiting [2022-07-22T01:47:40.594Z] 6ad1cebc031e: Waiting [2022-07-22T01:47:40.594Z] 25bc292e5bac: Verifying Checksum [2022-07-22T01:47:40.594Z] 25bc292e5bac: Download complete [2022-07-22T01:47:40.594Z] 52dc419b0ee2: Download complete [2022-07-22T01:47:40.594Z] 4657fd5d0bcf: Verifying Checksum [2022-07-22T01:47:40.594Z] 4657fd5d0bcf: Download complete [2022-07-22T01:47:40.594Z] df9b9388f04a: Verifying Checksum [2022-07-22T01:47:40.594Z] df9b9388f04a: Download complete [2022-07-22T01:47:40.855Z] 6ad1cebc031e: Verifying Checksum [2022-07-22T01:47:40.855Z] 6ad1cebc031e: Download complete [2022-07-22T01:47:40.855Z] df9b9388f04a: Pull complete [2022-07-22T01:47:40.855Z] 52dc419b0ee2: Pull complete [2022-07-22T01:47:41.114Z] 25bc292e5bac: Pull complete [2022-07-22T01:47:41.373Z] 114826534d7a: Verifying Checksum [2022-07-22T01:47:41.373Z] 114826534d7a: Download complete [2022-07-22T01:47:41.631Z] 8a3aa393b2d8: Verifying Checksum [2022-07-22T01:47:41.631Z] 8a3aa393b2d8: Download complete [2022-07-22T01:47:45.833Z] 114826534d7a: Pull complete [2022-07-22T01:47:45.833Z] 4657fd5d0bcf: Pull complete [2022-07-22T01:47:45.833Z] 6ad1cebc031e: Pull complete [2022-07-22T01:47:48.368Z] 8a3aa393b2d8: Pull complete [2022-07-22T01:47:48.368Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-22T01:47:48.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-22T01:47:48.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:47:48.463Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:47:48.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-22T01:47:50.646Z] $ docker top fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-22T01:47:50.727Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-07-22T01:47:51.013Z] + set -o pipefail [2022-07-22T01:47:51.013Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-07-22T01:47:59.207Z] [2022-07-22T01:47:59.207Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-07-22T01:47:59.207Z] [2022-07-22T01:47:59.207Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9a036211-69ca-4f3f-bc31-5b3ade11ec11 [2022-07-22T01:47:59.207Z] [2022-07-22T01:47:59.207Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-22T01:47:59.207Z] [2022-07-22T01:47:59.207Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-22T01:47:59.207Z] [2022-07-22T01:47:59.207Z] [Pipeline] } [2022-07-22T01:47:59.220Z] $ docker stop --time=1 fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a [2022-07-22T01:48:01.586Z] $ docker rm -f fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T01:48:02.338Z] + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] sh [2022-07-22T01:48:02.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T01:48:02.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:02.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:48:02.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:48:03.027Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:48:03.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T01:48:03.524Z] $ docker top 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T01:48:03.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:48:03.625Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:48:03.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:48:03.769Z] $ docker exec 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 ssh-agent [2022-07-22T01:48:03.888Z] SSH_AUTH_SOCK=/tmp/ssh-zrx5EPTIqMh8/agent.34 [2022-07-22T01:48:03.888Z] SSH_AGENT_PID=40 [2022-07-22T01:48:03.894Z] Running ssh-add (command line suppressed) [2022-07-22T01:48:04.030Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2555058744948634587.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2555058744948634587.key) [2022-07-22T01:48:04.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:48:04.338Z] + git semver tag [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,546 [run_tag] DEBUG tag force:False [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,546 [check_head_tag] DEBUG check head tag [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,547 [execute] INFO git cat-file --batch-check [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,551 [execute] INFO git cat-file --batch [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,566 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,567 [execute] INFO git tag -a v2.2.0-dev.30 -m v2.2.0-dev.30 [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,567 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.30', '-m', 'v2.2.0-dev.30'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:48:04.598Z] 2022-07-22 01:48:04,572 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:04.598Z] 2.2.0-dev.30 [Pipeline] } [2022-07-22T01:48:04.609Z] $ docker exec --env ******** --env ******** 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 ssh-agent -k [2022-07-22T01:48:04.725Z] unset SSH_AUTH_SOCK; [2022-07-22T01:48:04.726Z] unset SSH_AGENT_PID; [2022-07-22T01:48:04.726Z] echo Agent pid 40 killed; [2022-07-22T01:48:04.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T01:48:05.046Z] + git semver [Pipeline] } [2022-07-22T01:48:05.323Z] $ docker stop --time=1 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 [2022-07-22T01:48:06.640Z] $ docker rm -f 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:07.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-22T01:48:07.036Z] [2022-07-22T01:48:07.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:07.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-22T01:48:07.342Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-22T01:48:07.342Z] ab5ef0e58194: Pulling fs layer [2022-07-22T01:48:07.342Z] 9712f1f96733: Pulling fs layer [2022-07-22T01:48:07.342Z] 63f879dbbcfc: Pulling fs layer [2022-07-22T01:48:07.342Z] 0d9ebad4ef96: Pulling fs layer [2022-07-22T01:48:07.342Z] e9a5061849ea: Pulling fs layer [2022-07-22T01:48:07.342Z] d747dcd14b5f: Pulling fs layer [2022-07-22T01:48:07.342Z] 2de7ff778b66: Pulling fs layer [2022-07-22T01:48:07.342Z] e9a5061849ea: Waiting [2022-07-22T01:48:07.342Z] 2de7ff778b66: Waiting [2022-07-22T01:48:07.342Z] d747dcd14b5f: Waiting [2022-07-22T01:48:07.342Z] 0d9ebad4ef96: Waiting [2022-07-22T01:48:07.342Z] 9712f1f96733: Verifying Checksum [2022-07-22T01:48:07.342Z] 9712f1f96733: Download complete [2022-07-22T01:48:07.909Z] 63f879dbbcfc: Verifying Checksum [2022-07-22T01:48:07.909Z] 63f879dbbcfc: Download complete [2022-07-22T01:48:07.909Z] e9a5061849ea: Verifying Checksum [2022-07-22T01:48:07.909Z] e9a5061849ea: Download complete [2022-07-22T01:48:07.909Z] d747dcd14b5f: Verifying Checksum [2022-07-22T01:48:07.909Z] d747dcd14b5f: Download complete [2022-07-22T01:48:07.909Z] 0d9ebad4ef96: Download complete [2022-07-22T01:48:08.168Z] ab5ef0e58194: Verifying Checksum [2022-07-22T01:48:08.168Z] ab5ef0e58194: Download complete [2022-07-22T01:48:08.168Z] 2de7ff778b66: Verifying Checksum [2022-07-22T01:48:08.168Z] 2de7ff778b66: Download complete [2022-07-22T01:48:11.469Z] ab5ef0e58194: Pull complete [2022-07-22T01:48:11.469Z] 9712f1f96733: Pull complete [2022-07-22T01:48:12.038Z] 63f879dbbcfc: Pull complete [2022-07-22T01:48:16.237Z] 0d9ebad4ef96: Pull complete [2022-07-22T01:48:16.497Z] e9a5061849ea: Pull complete [2022-07-22T01:48:16.497Z] d747dcd14b5f: Pull complete [2022-07-22T01:48:17.877Z] 2de7ff778b66: Pull complete [2022-07-22T01:48:17.877Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-22T01:48:17.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-22T01:48:17.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:48:17.974Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:48:18.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-22T01:48:20.358Z] $ docker top 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:48:20.452Z] provisioning config files... [2022-07-22T01:48:20.458Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3094113772479632231tmp [2022-07-22T01:48:20.469Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4879537802496126442tmp [2022-07-22T01:48:20.479Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4740694551971910203tmp [Pipeline] { [Pipeline] echo [2022-07-22T01:48:20.492Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:20.775Z] ---> sigul-configuration.sh [2022-07-22T01:48:20.775Z] gpg: directory `/root/.gnupg' created [2022-07-22T01:48:20.775Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-22T01:48:20.775Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-22T01:48:20.775Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-22T01:48:20.775Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-22T01:48:20.775Z] gpg: CAST5 encrypted data [2022-07-22T01:48:20.775Z] gpg: encrypted with 1 passphrase [2022-07-22T01:48:20.775Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-22T01:48:21.062Z] + mkdir /home/jenkins [2022-07-22T01:48:21.062Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-22T01:48:21.353Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-22T01:48:21.363Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:21.646Z] ---> sigul-install.sh [2022-07-22T01:48:21.646Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-22T01:48:21.932Z] + git tag --list [2022-07-22T01:48:21.932Z] v0.0.0 [2022-07-22T01:48:21.932Z] v0.0.1-dev.1 [2022-07-22T01:48:21.932Z] v0.0.1-dev.10 [2022-07-22T01:48:21.932Z] v0.0.1-dev.11 [2022-07-22T01:48:21.932Z] v0.0.1-dev.12 [2022-07-22T01:48:21.932Z] v0.0.1-dev.13 [2022-07-22T01:48:21.932Z] v0.0.1-dev.14 [2022-07-22T01:48:21.932Z] v0.0.1-dev.15 [2022-07-22T01:48:21.932Z] v0.0.1-dev.16 [2022-07-22T01:48:21.932Z] v0.0.1-dev.17 [2022-07-22T01:48:21.932Z] v0.0.1-dev.18 [2022-07-22T01:48:21.932Z] v0.0.1-dev.19 [2022-07-22T01:48:21.932Z] v0.0.1-dev.2 [2022-07-22T01:48:21.932Z] v0.0.1-dev.20 [2022-07-22T01:48:21.932Z] v0.0.1-dev.21 [2022-07-22T01:48:21.932Z] v0.0.1-dev.22 [2022-07-22T01:48:21.933Z] v0.0.1-dev.23 [2022-07-22T01:48:21.933Z] v0.0.1-dev.24 [2022-07-22T01:48:21.933Z] v0.0.1-dev.25 [2022-07-22T01:48:21.933Z] v0.0.1-dev.26 [2022-07-22T01:48:21.933Z] v0.0.1-dev.27 [2022-07-22T01:48:21.933Z] v0.0.1-dev.28 [2022-07-22T01:48:21.933Z] v0.0.1-dev.3 [2022-07-22T01:48:21.933Z] v0.0.1-dev.4 [2022-07-22T01:48:21.933Z] v0.0.1-dev.5 [2022-07-22T01:48:21.933Z] v0.0.1-dev.6 [2022-07-22T01:48:21.933Z] v0.0.1-dev.7 [2022-07-22T01:48:21.933Z] v0.0.1-dev.8 [2022-07-22T01:48:21.933Z] v0.0.1-dev.9 [2022-07-22T01:48:21.933Z] v2.2.0-dev.29 [2022-07-22T01:48:21.933Z] v2.2.0-dev.30 [Pipeline] sh [2022-07-22T01:48:22.221Z] + lftools sign git-tag v2.2.0-dev.30 [2022-07-22T01:48:22.791Z] Signing Git tag with Sigul... [2022-07-22T01:48:22.791Z] Signing v2.2.0-dev.30 [Pipeline] echo [2022-07-22T01:48:23.371Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:23.657Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-22T01:48:23.664Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-22T01:48:23.687Z] $ docker stop --time=1 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a [2022-07-22T01:48:25.003Z] $ docker rm -f 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-22T01:48:25.436Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T01:48:25.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:25.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:48:25.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:48:25.828Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:48:25.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T01:48:26.293Z] $ docker top f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T01:48:26.387Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:48:26.387Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:48:26.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:48:26.523Z] $ docker exec f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 ssh-agent [2022-07-22T01:48:26.668Z] SSH_AUTH_SOCK=/tmp/ssh-7iHJtfEMe0BZ/agent.33 [2022-07-22T01:48:26.668Z] SSH_AGENT_PID=39 [2022-07-22T01:48:26.674Z] Running ssh-add (command line suppressed) [2022-07-22T01:48:26.805Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3864654930985638296.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3864654930985638296.key) [2022-07-22T01:48:26.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:48:27.113Z] + git semver bump pre [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [bump_version] DEBUG bumping version:2.2.0-dev.30 on axis:pre with prefix:dev [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [bump_version] DEBUG bumped version:2.2.0-dev.31 [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [write_version] DEBUG write version:2.2.0-dev.31 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,308 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,310 [execute] INFO git cat-file --batch-check [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,318 [execute] INFO git cat-file --batch [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T01:48:27.374Z] 2022-07-22 01:48:27,324 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:27.374Z] 2.2.0-dev.31 [Pipeline] } [2022-07-22T01:48:27.384Z] $ docker exec --env ******** --env ******** f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 ssh-agent -k [2022-07-22T01:48:27.513Z] unset SSH_AUTH_SOCK; [2022-07-22T01:48:27.514Z] unset SSH_AGENT_PID; [2022-07-22T01:48:27.514Z] echo Agent pid 39 killed; [2022-07-22T01:48:27.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T01:48:27.829Z] + git semver [Pipeline] } [2022-07-22T01:48:28.105Z] $ docker stop --time=1 f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 [2022-07-22T01:48:29.438Z] $ docker rm -f f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:48:29.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T01:48:29.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:30.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:48:30.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:48:30.192Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:48:30.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T01:48:30.637Z] $ docker top 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T01:48:30.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:48:30.736Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:48:30.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:48:30.871Z] $ docker exec 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 ssh-agent [2022-07-22T01:48:30.998Z] SSH_AUTH_SOCK=/tmp/ssh-HDSiA4otOWqG/agent.33 [2022-07-22T01:48:30.998Z] SSH_AGENT_PID=39 [2022-07-22T01:48:31.003Z] Running ssh-add (command line suppressed) [2022-07-22T01:48:31.113Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4118841333836465642.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4118841333836465642.key) [2022-07-22T01:48:31.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:48:31.417Z] + git semver push [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,611 [run_push] DEBUG push [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,611 [execute] INFO git cat-file --batch-check [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,615 [execute] INFO git rev-list cba64115b58c958a1ca4a16795328d6ecc0fd268 -- [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,616 [execute] DEBUG Popen(['git', 'rev-list', 'cba64115b58c958a1ca4a16795328d6ecc0fd268', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,621 [execute] INFO git fetch -v origin [2022-07-22T01:48:31.677Z] 2022-07-22 01:48:31,622 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-22T01:48:32.249Z] 2022-07-22 01:48:32,085 [run_push] DEBUG no remote changes detected [2022-07-22T01:48:32.249Z] 2022-07-22 01:48:32,085 [execute] INFO git push origin semver [2022-07-22T01:48:32.249Z] 2022-07-22 01:48:32,086 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:48:32.820Z] 2022-07-22 01:48:32,725 [run_push] DEBUG push all version tags [2022-07-22T01:48:32.820Z] 2022-07-22 01:48:32,725 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-22T01:48:32.820Z] 2022-07-22 01:48:32,726 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:48:33.390Z] 2022-07-22 01:48:33,335 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-22T01:48:33.390Z] 2.2.0-dev.31 [Pipeline] } [2022-07-22T01:48:33.401Z] $ docker exec --env ******** --env ******** 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 ssh-agent -k [2022-07-22T01:48:33.513Z] unset SSH_AUTH_SOCK; [2022-07-22T01:48:33.513Z] unset SSH_AGENT_PID; [2022-07-22T01:48:33.513Z] echo Agent pid 39 killed; [2022-07-22T01:48:33.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T01:48:33.834Z] + git semver [Pipeline] } [2022-07-22T01:48:34.110Z] $ docker stop --time=1 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 [2022-07-22T01:48:35.413Z] $ docker rm -f 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-22T01:48:36.058Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-07-22T01:48:36.058Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-22T01:48:36.058Z] total 16 [2022-07-22T01:48:36.058Z] drwxr-xr-x 3 root root 4096 Jul 22 01:37 . [2022-07-22T01:48:36.058Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:48 .. [2022-07-22T01:48:36.058Z] drwxr-xr-x 2 root root 4096 Jul 22 01:37 cost [2022-07-22T01:48:36.058Z] -rw-r--r-- 1 root root 89 Jul 22 01:37 cost.csv [2022-07-22T01:48:36.058Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-22T01:48:36.058Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-22T01:48:36.058Z] total 16 [2022-07-22T01:48:36.058Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:37 . [2022-07-22T01:48:36.058Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:48 .. [2022-07-22T01:48:36.058Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 01:37 cost [2022-07-22T01:48:36.058Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 22 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:36.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:37.225Z] ---> package-listing.sh [2022-07-22T01:48:37.225Z] ++ facter osfamily [2022-07-22T01:48:37.225Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-22T01:48:37.486Z] + OS_FAMILY=debian [2022-07-22T01:48:37.486Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-07-22T01:48:37.486Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-22T01:48:37.486Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-22T01:48:37.486Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-22T01:48:37.486Z] + PACKAGES=/tmp/packages_start.txt [2022-07-22T01:48:37.486Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-22T01:48:37.486Z] + PACKAGES=/tmp/packages_end.txt [2022-07-22T01:48:37.486Z] + case "${OS_FAMILY}" in [2022-07-22T01:48:37.486Z] + dpkg -l [2022-07-22T01:48:37.486Z] + grep '^ii' [2022-07-22T01:48:37.486Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-22T01:48:37.486Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-22T01:48:37.486Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-22T01:48:37.486Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-22T01:48:37.486Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-07-22T01:48:37.487Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-07-22T01:48:37.500Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-22T01:48:37.780Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:48:38.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:48:38.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:48:38.438Z] prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container [2022-07-22T01:48:38.476Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T01:48:38.752Z] $ docker top 091ba6aa0cc6a58fbe76749c3e9d6d862af28649d6ab07d7049dce4aaf42e562 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:48:39.116Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-22T01:48:39.406Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-22T01:48:39.695Z] + ls /var/log/sa-host [2022-07-22T01:48:39.695Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:48:39.832Z] provisioning config files... [2022-07-22T01:48:39.842Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3759489800315264723tmp [Pipeline] { [Pipeline] echo [2022-07-22T01:48:39.860Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:40.146Z] ---> create-netrc.sh [Pipeline] } [2022-07-22T01:48:40.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:40.493Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-22T01:48:40.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:40.788Z] ---> sudo-logs.sh [2022-07-22T01:48:40.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-22T01:48:40.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:41.102Z] ---> job-cost.sh [2022-07-22T01:48:41.102Z] lf-activate-venv: SKIPPING [2022-07-22T01:48:41.102Z] DEBUG: total: 0.2199999988079071 [2022-07-22T01:48:41.102Z] INFO: Retrieving Stack Cost... [2022-07-22T01:48:41.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T01:48:41.935Z] INFO: Archiving Costs [Pipeline] echo [2022-07-22T01:48:41.947Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:48:42.235Z] ---> logs-deploy.sh [2022-07-22T01:48:42.235Z] lf-activate-venv: SKIPPING [2022-07-22T01:48:42.235Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/33 [2022-07-22T01:48:42.235Z] INFO: archiving workspace using pattern(s): [2022-07-22T01:48:43.177Z] Archives upload complete. [2022-07-22T01:48:43.438Z] INFO: archiving logs to Nexus