Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 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-ssh9959106938003563067.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4740475222135487651.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6496719520946736010.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12880394151756972580.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh2963612571662163831.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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-2750 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 > 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 Avoid second fetch Checking out Revision 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (main) Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217)" > git config core.sparsecheckout # timeout=10 > git checkout -f 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 > git rev-list --no-walk 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T17:34:07.712Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T17:34:07.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T17:34:07.767Z] ========================================================= [2023-01-17T17:34:07.767Z] EdgeX Global Pipelines Version Info [2023-01-17T17:34:07.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:08.479Z] ------------------- [2023-01-17T17:34:08.479Z] stable info: [2023-01-17T17:34:08.479Z] ------------------- [2023-01-17T17:34:08.479Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T17:34:08.479Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:34:08.479Z] Message: update stable to v1.0.244 [2023-01-17T17:34:09.056Z] ------------------- [2023-01-17T17:34:09.056Z] experimental info: [2023-01-17T17:34:09.056Z] ------------------- [2023-01-17T17:34:09.056Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T17:34:09.056Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:34:09.056Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T17:34:09.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-17T17:34:09.239Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-17T17:34:09.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T17:34:09.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T17:34:09.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T17:34:09.284Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T17:34:09.295Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T17:34:09.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-17T17:34:09.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T17:34:09.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T17:34:09.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T17:34:09.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-17T17:34:09.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T17:34:09.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T17:34:09.394Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:34:09.409Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:34:09.420Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:34:09.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:34:09.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T17:34:09.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T17:34:09.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-17T17:34:09.480Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-17T17:34:09.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T17:34:09.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T17:34:09.508Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T17:34:09.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T17:34:09.540Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T17:34:09.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T17:34:09.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T17:34:09.583Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T17:34:09.595Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo [2023-01-17T17:34:09.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6741b26 [Pipeline] echo [2023-01-17T17:34:09.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:34:09.663Z] provisioning config files... [2023-01-17T17:34:09.678Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4862966026494798581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:09.979Z] ---> docker-login.sh [2023-01-17T17:34:09.979Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:34:10.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:10.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:10.241Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:10.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:10.241Z] [2023-01-17T17:34:10.241Z] Login Succeeded [2023-01-17T17:34:10.241Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:34:10.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:10.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:10.503Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:10.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:10.503Z] [2023-01-17T17:34:10.503Z] Login Succeeded [2023-01-17T17:34:10.503Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:34:10.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:10.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:10.503Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:10.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:10.503Z] [2023-01-17T17:34:10.503Z] Login Succeeded [2023-01-17T17:34:10.503Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:34:10.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:10.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:10.503Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:10.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:10.503Z] [2023-01-17T17:34:10.503Z] Login Succeeded [2023-01-17T17:34:10.503Z] docker.io [2023-01-17T17:34:10.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:11.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:11.023Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:11.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:11.023Z] [2023-01-17T17:34:11.023Z] Login Succeeded [2023-01-17T17:34:11.023Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:34:11.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T17:34:11.371Z] + git rev-list -1 --merges 6741b2693d9de414b67a8d31d89bc7ad3a9d0867~1..6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo [2023-01-17T17:34:11.422Z] -----------> git rev-list -1 --merges 6741b2693d9de414b67a8d31d89bc7ad3a9d0867~1..6741b2693d9de414b67a8d31d89bc7ad3a9d0867 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [false] [Pipeline] sh [2023-01-17T17:34:11.711Z] + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo [2023-01-17T17:34:11.727Z] ========================================================= [2023-01-17T17:34:11.727Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T17:34:11.727Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:34:12.060Z] + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo [2023-01-17T17:34:12.072Z] [semverPrep] GIT_COMMIT: 6741b2693d9de414b67a8d31d89bc7ad3a9d0867, Commit Message: refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217) [Pipeline] echo [2023-01-17T17:34:12.084Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T17:34:12.433Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:34:12.433Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T17:34:12.433Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T17:34:12.433Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T17:34:12.433Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T17:34:12.433Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T17:34:12.433Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:12.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:34:12.787Z] [2023-01-17T17:34:12.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:13.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:34:13.099Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T17:34:13.099Z] b85a868b505f: Pulling fs layer [2023-01-17T17:34:13.099Z] e2be974225ed: Pulling fs layer [2023-01-17T17:34:13.099Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T17:34:13.099Z] 988bab9f4d93: Pulling fs layer [2023-01-17T17:34:13.099Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T17:34:13.099Z] eaf3925da568: Pulling fs layer [2023-01-17T17:34:13.099Z] bab4dde63d76: Pulling fs layer [2023-01-17T17:34:13.099Z] bde34c3a00c8: Pulling fs layer [2023-01-17T17:34:13.099Z] b352a97aabf1: Pulling fs layer [2023-01-17T17:34:13.099Z] 4872d77fe225: Pulling fs layer [2023-01-17T17:34:13.099Z] 5851b861e8e6: Pulling fs layer [2023-01-17T17:34:13.099Z] bde34c3a00c8: Waiting [2023-01-17T17:34:13.099Z] b352a97aabf1: Waiting [2023-01-17T17:34:13.099Z] 4872d77fe225: Waiting [2023-01-17T17:34:13.099Z] eaf3925da568: Waiting [2023-01-17T17:34:13.099Z] 5851b861e8e6: Waiting [2023-01-17T17:34:13.099Z] bab4dde63d76: Waiting [2023-01-17T17:34:13.099Z] 988bab9f4d93: Waiting [2023-01-17T17:34:13.099Z] 1469e6f7b9e6: Waiting [2023-01-17T17:34:13.099Z] e2be974225ed: Verifying Checksum [2023-01-17T17:34:13.099Z] e2be974225ed: Download complete [2023-01-17T17:34:13.099Z] 988bab9f4d93: Verifying Checksum [2023-01-17T17:34:13.099Z] 988bab9f4d93: Download complete [2023-01-17T17:34:13.364Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T17:34:13.364Z] 339a4e72a1f5: Download complete [2023-01-17T17:34:13.364Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T17:34:13.364Z] 1469e6f7b9e6: Download complete [2023-01-17T17:34:13.364Z] eaf3925da568: Verifying Checksum [2023-01-17T17:34:13.364Z] eaf3925da568: Download complete [2023-01-17T17:34:13.364Z] bde34c3a00c8: Download complete [2023-01-17T17:34:13.364Z] b352a97aabf1: Download complete [2023-01-17T17:34:13.364Z] 4872d77fe225: Download complete [2023-01-17T17:34:13.625Z] 5851b861e8e6: Verifying Checksum [2023-01-17T17:34:13.625Z] 5851b861e8e6: Download complete [2023-01-17T17:34:13.625Z] b85a868b505f: Verifying Checksum [2023-01-17T17:34:13.625Z] b85a868b505f: Download complete [2023-01-17T17:34:13.883Z] bab4dde63d76: Verifying Checksum [2023-01-17T17:34:13.883Z] bab4dde63d76: Download complete [2023-01-17T17:34:14.821Z] b85a868b505f: Pull complete [2023-01-17T17:34:15.079Z] e2be974225ed: Pull complete [2023-01-17T17:34:15.647Z] 339a4e72a1f5: Pull complete [2023-01-17T17:34:15.647Z] 988bab9f4d93: Pull complete [2023-01-17T17:34:15.905Z] 1469e6f7b9e6: Pull complete [2023-01-17T17:34:15.905Z] eaf3925da568: Pull complete [2023-01-17T17:34:17.807Z] bab4dde63d76: Pull complete [2023-01-17T17:34:17.807Z] bde34c3a00c8: Pull complete [2023-01-17T17:34:18.067Z] b352a97aabf1: Pull complete [2023-01-17T17:34:18.067Z] 4872d77fe225: Pull complete [2023-01-17T17:34:18.067Z] 5851b861e8e6: Pull complete [2023-01-17T17:34:18.067Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T17:34:18.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:34:18.067Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:34:18.170Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:34:18.199Z] $ 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 [2023-01-17T17:34:19.556Z] $ docker top a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b -eo pid,comm [2023-01-17T17:34:19.619Z] 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). [2023-01-17T17:34:19.619Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:34:19.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:34:19.651Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:34:19.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:34:19.770Z] $ docker exec a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent [2023-01-17T17:34:19.900Z] SSH_AUTH_SOCK=/tmp/ssh-RHRC9O7FnZQq/agent.32 [2023-01-17T17:34:19.900Z] SSH_AGENT_PID=38 [2023-01-17T17:34:19.909Z] Running ssh-add (command line suppressed) [2023-01-17T17:34:20.008Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_186551321094716834.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_186551321094716834.key) [2023-01-17T17:34:20.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:34:20.316Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T17:34:20.327Z] $ docker exec --env ******** --env ******** a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent -k [2023-01-17T17:34:20.425Z] unset SSH_AUTH_SOCK; [2023-01-17T17:34:20.426Z] unset SSH_AGENT_PID; [2023-01-17T17:34:20.426Z] echo Agent pid 38 killed; [2023-01-17T17:34:20.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T17:34:20.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:34:20.463Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:34:20.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:34:20.584Z] $ docker exec a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent [2023-01-17T17:34:20.701Z] SSH_AUTH_SOCK=/tmp/ssh-EzbJWPRLwjzd/agent.70 [2023-01-17T17:34:20.701Z] SSH_AGENT_PID=76 [2023-01-17T17:34:20.705Z] Running ssh-add (command line suppressed) [2023-01-17T17:34:20.818Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6692681085891496781.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6692681085891496781.key) [2023-01-17T17:34:20.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:34:21.138Z] + git semver init [2023-01-17T17:34:21.398Z] 2023-01-17 17:34:21,290 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T17:34:21.398Z] 2023-01-17 17:34:21,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-01-17T17:34:21.398Z] 2023-01-17 17:34:21,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-01-17T17:34:21.398Z] 2023-01-17 17:34:21,291 [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) [2023-01-17T17:34:22.336Z] 2023-01-17 17:34:22,173 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-01-17T17:34:22.336Z] 2023-01-17 17:34:22,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-01-17T17:34:22.336Z] 2023-01-17 17:34:22,174 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:34:22.336Z] 2023-01-17 17:34:22,174 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:34:22.336Z] 3.0.0-dev.8 [Pipeline] } [2023-01-17T17:34:22.343Z] $ docker exec --env ******** --env ******** a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent -k [2023-01-17T17:34:22.445Z] unset SSH_AUTH_SOCK; [2023-01-17T17:34:22.445Z] unset SSH_AGENT_PID; [2023-01-17T17:34:22.446Z] echo Agent pid 76 killed; [2023-01-17T17:34:22.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:34:22.763Z] + git semver [Pipeline] } [2023-01-17T17:34:23.037Z] $ docker stop --time=1 a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b [2023-01-17T17:34:24.369Z] $ docker rm -f --volumes a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:34:24.714Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T17:34:24.924Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T17:34:24.927Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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 [2023-01-17T17:34:25.103Z] provisioning config files... [2023-01-17T17:34:25.111Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7383892241942772217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:25.409Z] ---> docker-login.sh [2023-01-17T17:34:25.409Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:34:25.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:25.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:25.409Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:25.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:25.409Z] [2023-01-17T17:34:25.409Z] Login Succeeded [2023-01-17T17:34:25.409Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:34:25.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:25.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:25.409Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:25.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:25.409Z] [2023-01-17T17:34:25.409Z] Login Succeeded [2023-01-17T17:34:25.409Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:34:25.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:25.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:25.668Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:25.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:25.668Z] [2023-01-17T17:34:25.668Z] Login Succeeded [2023-01-17T17:34:25.668Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:34:25.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:25.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:25.668Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:25.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:25.668Z] [2023-01-17T17:34:25.668Z] Login Succeeded [2023-01-17T17:34:25.668Z] docker.io [2023-01-17T17:34:25.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:26.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:26.182Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:26.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:26.182Z] [2023-01-17T17:34:26.182Z] Login Succeeded [2023-01-17T17:34:26.182Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:34:26.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:34:26.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:26.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:26.273Z] ========================================================= [2023-01-17T17:34:26.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T17:34:26.273Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:26.597Z] + 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 . [2023-01-17T17:34:26.597Z] Sending build context to Docker daemon 27.65MB [2023-01-17T17:34:26.597Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:34:26.597Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-17T17:34:26.860Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T17:34:26.860Z] 213ec9aee27d: Pulling fs layer [2023-01-17T17:34:26.860Z] 4583459ba037: Pulling fs layer [2023-01-17T17:34:26.860Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T17:34:26.860Z] 53926ce57604: Pulling fs layer [2023-01-17T17:34:26.860Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T17:34:26.860Z] 22ff95d597cd: Pulling fs layer [2023-01-17T17:34:26.860Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T17:34:26.860Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T17:34:26.860Z] a7acece74701: Pulling fs layer [2023-01-17T17:34:26.860Z] 53926ce57604: Waiting [2023-01-17T17:34:26.860Z] 21b2b0c7a3f4: Waiting [2023-01-17T17:34:26.860Z] 22ff95d597cd: Waiting [2023-01-17T17:34:26.860Z] 12d6caf4c0d1: Waiting [2023-01-17T17:34:26.860Z] 96b7cbca73a9: Waiting [2023-01-17T17:34:26.860Z] a7acece74701: Waiting [2023-01-17T17:34:26.860Z] 93c1e223e6f2: Verifying Checksum [2023-01-17T17:34:26.860Z] 93c1e223e6f2: Download complete [2023-01-17T17:34:26.860Z] 4583459ba037: Download complete [2023-01-17T17:34:26.861Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T17:34:26.861Z] 21b2b0c7a3f4: Download complete [2023-01-17T17:34:26.861Z] 22ff95d597cd: Verifying Checksum [2023-01-17T17:34:26.861Z] 22ff95d597cd: Download complete [2023-01-17T17:34:26.861Z] 213ec9aee27d: Download complete [2023-01-17T17:34:26.861Z] 12d6caf4c0d1: Verifying Checksum [2023-01-17T17:34:26.861Z] 12d6caf4c0d1: Download complete [2023-01-17T17:34:27.126Z] 213ec9aee27d: Pull complete [2023-01-17T17:34:27.126Z] 4583459ba037: Pull complete [2023-01-17T17:34:27.407Z] 93c1e223e6f2: Pull complete [2023-01-17T17:34:27.687Z] a7acece74701: Download complete [2023-01-17T17:34:28.267Z] 53926ce57604: Verifying Checksum [2023-01-17T17:34:28.267Z] 53926ce57604: Download complete [2023-01-17T17:34:28.267Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T17:34:28.267Z] 96b7cbca73a9: Download complete [2023-01-17T17:34:32.464Z] 53926ce57604: Pull complete [2023-01-17T17:34:32.464Z] 21b2b0c7a3f4: Pull complete [2023-01-17T17:34:32.464Z] 22ff95d597cd: Pull complete [2023-01-17T17:34:32.464Z] 12d6caf4c0d1: Pull complete [2023-01-17T17:34:34.439Z] 96b7cbca73a9: Pull complete [2023-01-17T17:34:35.372Z] a7acece74701: Pull complete [2023-01-17T17:34:35.372Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T17:34:35.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T17:34:35.372Z] ---> db6d94c90886 [2023-01-17T17:34:35.372Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:34:36.752Z] ---> Running in a8f17c0cbfcf [2023-01-17T17:34:37.020Z] Removing intermediate container a8f17c0cbfcf [2023-01-17T17:34:37.020Z] ---> a836a8d22c6c [2023-01-17T17:34:37.020Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:34:37.020Z] ---> Running in 72ed94628a5f [2023-01-17T17:34:37.020Z] Removing intermediate container 72ed94628a5f [2023-01-17T17:34:37.020Z] ---> f7910cae1a39 [2023-01-17T17:34:37.020Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-17T17:34:37.020Z] ---> Running in b0f6596a8035 [2023-01-17T17:34:37.297Z] Removing intermediate container b0f6596a8035 [2023-01-17T17:34:37.297Z] ---> 57053b011609 [2023-01-17T17:34:37.297Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:34:37.297Z] ---> Running in c71b4a18d432 [2023-01-17T17:34:37.297Z] Removing intermediate container c71b4a18d432 [2023-01-17T17:34:37.297Z] ---> 37b69ea19ec5 [2023-01-17T17:34:37.297Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-17T17:34:37.297Z] ---> Running in 3c593fa4fe4e [2023-01-17T17:34:37.297Z] Removing intermediate container 3c593fa4fe4e [2023-01-17T17:34:37.297Z] ---> bb1bdb139c8d [2023-01-17T17:34:37.297Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:34:37.560Z] ---> Running in 9b39a3a72271 [2023-01-17T17:34:37.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:37.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:38.077Z] OK: 211 MiB in 51 packages [2023-01-17T17:34:38.655Z] Removing intermediate container 9b39a3a72271 [2023-01-17T17:34:38.655Z] ---> e9b94e6834ca [2023-01-17T17:34:38.655Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-17T17:34:38.655Z] ---> Running in c5d58e7e2679 [2023-01-17T17:34:38.655Z] Removing intermediate container c5d58e7e2679 [2023-01-17T17:34:38.655Z] ---> fbcbfca7c156 [2023-01-17T17:34:38.655Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-17T17:34:38.655Z] ---> c69b1b2a2bff [2023-01-17T17:34:38.655Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:34:38.914Z] ---> Running in 3e90fc45fe5f [2023-01-17T17:34:40.047Z] Still waiting to schedule task [2023-01-17T17:34:40.047Z] ‘prd-centos7-blackbox-4c-2g-2429’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-17T17:34:40.047Z] ‘prd-centos7-blackbox-4c-2g-2430’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-17T17:34:40.047Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2753’ is offline [2023-01-17T17:34:40.047Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2754’ is offline [2023-01-17T17:35:00.840Z] Removing intermediate container 3e90fc45fe5f [2023-01-17T17:35:00.840Z] ---> 77d5fd1f4ad2 [2023-01-17T17:35:00.840Z] Step 12/13 : COPY . . [2023-01-17T17:35:00.840Z] ---> 68f5f8546eaf [2023-01-17T17:35:00.840Z] Step 13/13 : RUN ${MAKE} [2023-01-17T17:35:00.840Z] ---> Running in d5f2371c5534 [2023-01-17T17:35:00.840Z] noop [2023-01-17T17:35:00.840Z] Removing intermediate container d5f2371c5534 [2023-01-17T17:35:00.840Z] ---> 3644728beb07 [2023-01-17T17:35:00.840Z] Successfully built 3644728beb07 [2023-01-17T17:35:00.840Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:35:01.158Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:35:01.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:35:01.238Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:35:01.282Z] $ 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 [2023-01-17T17:35:01.653Z] $ docker top c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:35:02.001Z] + go version [2023-01-17T17:35:02.001Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T17:35:02.016Z] $ docker stop --time=1 c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e [2023-01-17T17:35:03.312Z] $ docker rm -f --volumes c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:35:03.701Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:35:03.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:35:03.780Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:35:03.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-01-17T17:35:04.179Z] $ docker top 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:35:04.522Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:35:04.821Z] + make test [2023-01-17T17:35:04.821Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:35:05.386Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-17T17:35:17.610Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-17T17:35:19.515Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2023-01-17T17:35:19.515Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-17T17:35:19.515Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.611s coverage: 86.5% of statements [2023-01-17T17:35:29.475Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-17T17:35:29.475Z] go vet ./... [2023-01-17T17:35:32.006Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:35:32.006Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:35:32.006Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:35:32.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:35:32.035Z] $ docker stop --time=1 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e [2023-01-17T17:35:33.811Z] $ docker rm -f --volumes 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:35:34.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:35:34.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-17T17:35:34.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:35:35.049Z] + ls -al . [2023-01-17T17:35:35.049Z] total 248 [2023-01-17T17:35:35.049Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:35 . [2023-01-17T17:35:35.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 .. [2023-01-17T17:35:35.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:35 .git [2023-01-17T17:35:35.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 .github [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 17 17:34 .gitignore [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 17:34 .golangci.yml [2023-01-17T17:35:35.049Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 .semver [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 17 17:34 Attribution.txt [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 17 17:34 CHANGELOG.md [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 17 17:34 Dockerfile [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:34 GOVERNANCE.md [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 17 17:34 Jenkinsfile [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 17 17:34 LICENSE [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 17 17:34 Makefile [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 17 17:34 OWNERS.md [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 17 17:34 README.md [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:34 VERSION [2023-01-17T17:35:35.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 bin [2023-01-17T17:35:35.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 cmd [2023-01-17T17:35:35.049Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 17 17:35 coverage.out [2023-01-17T17:35:35.049Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 17:34 doc [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 17 17:34 go.mod [2023-01-17T17:35:35.049Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 17 17:34 go.sum [2023-01-17T17:35:35.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 internal [2023-01-17T17:35:35.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 snap [2023-01-17T17:35:35.050Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 17 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:35:35.356Z] + 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 --label arch=amd64 --label version=3.0.0-dev.8 . [2023-01-17T17:35:35.356Z] Sending build context to Docker daemon 27.73MB [2023-01-17T17:35:35.356Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:35:35.356Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-17T17:35:35.356Z] ---> 3644728beb07 [2023-01-17T17:35:35.356Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:35:35.619Z] ---> Running in 1dcb152c2f3e [2023-01-17T17:35:35.619Z] Removing intermediate container 1dcb152c2f3e [2023-01-17T17:35:35.619Z] ---> f6413ed69dec [2023-01-17T17:35:35.619Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:35:35.619Z] ---> Running in 83cd59045cf2 [2023-01-17T17:35:35.878Z] Removing intermediate container 83cd59045cf2 [2023-01-17T17:35:35.878Z] ---> 23092f84da80 [2023-01-17T17:35:35.878Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-17T17:35:35.878Z] ---> Running in c71a81df8ac2 [2023-01-17T17:35:35.878Z] Removing intermediate container c71a81df8ac2 [2023-01-17T17:35:35.878Z] ---> a1c838510164 [2023-01-17T17:35:35.878Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:35:35.878Z] ---> Running in dcf7e739bdfc [2023-01-17T17:35:35.878Z] Removing intermediate container dcf7e739bdfc [2023-01-17T17:35:35.878Z] ---> 6bc308a58ad5 [2023-01-17T17:35:35.878Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-17T17:35:36.136Z] ---> Running in e82ab107585e [2023-01-17T17:35:36.136Z] Removing intermediate container e82ab107585e [2023-01-17T17:35:36.136Z] ---> fc903919321f [2023-01-17T17:35:36.136Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:35:36.136Z] ---> Running in 74cffa59af7b [2023-01-17T17:35:36.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:35:36.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:35:36.914Z] OK: 211 MiB in 51 packages [2023-01-17T17:35:37.174Z] Removing intermediate container 74cffa59af7b [2023-01-17T17:35:37.174Z] ---> 1197bd4af936 [2023-01-17T17:35:37.174Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-17T17:35:37.174Z] ---> Running in 02bba9981d27 [2023-01-17T17:35:37.433Z] Removing intermediate container 02bba9981d27 [2023-01-17T17:35:37.433Z] ---> 785a0d7b49f7 [2023-01-17T17:35:37.433Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-17T17:35:37.433Z] ---> f0be3cd87353 [2023-01-17T17:35:37.433Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:35:37.433Z] ---> Running in 665c21142410 [2023-01-17T17:35:38.371Z] Removing intermediate container 665c21142410 [2023-01-17T17:35:38.371Z] ---> 243b525a915d [2023-01-17T17:35:38.371Z] Step 12/26 : COPY . . [2023-01-17T17:35:38.938Z] ---> 3282fa84d82e [2023-01-17T17:35:38.938Z] Step 13/26 : RUN ${MAKE} [2023-01-17T17:35:38.938Z] ---> Running in 6754db60f7bd [2023-01-17T17:35:39.195Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-17T17:36:01.208Z] Removing intermediate container 6754db60f7bd [2023-01-17T17:36:01.208Z] ---> 7786dfbd8fe2 [2023-01-17T17:36:01.208Z] Step 14/26 : FROM alpine:3.16 [2023-01-17T17:36:01.208Z] 3.16: Pulling from library/alpine [2023-01-17T17:36:01.208Z] ca7dd9ec2225: Pulling fs layer [2023-01-17T17:36:01.208Z] ca7dd9ec2225: Verifying Checksum [2023-01-17T17:36:01.208Z] ca7dd9ec2225: Download complete [2023-01-17T17:36:01.208Z] ca7dd9ec2225: Pull complete [2023-01-17T17:36:01.208Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:36:01.208Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:36:01.208Z] ---> bfe296a52501 [2023-01-17T17:36:01.208Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-17T17:36:01.208Z] ---> Running in 2f576e5cffbe [2023-01-17T17:36:01.208Z] Removing intermediate container 2f576e5cffbe [2023-01-17T17:36:01.208Z] ---> 6cc41becfae8 [2023-01-17T17:36:01.208Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:36:01.208Z] ---> Running in 06f166630be9 [2023-01-17T17:36:01.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:36:01.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:36:01.577Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:36:01.577Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:36:01.577Z] OK: 6 MiB in 15 packages [2023-01-17T17:36:01.955Z] Removing intermediate container 06f166630be9 [2023-01-17T17:36:01.955Z] ---> b40064b95b15 [2023-01-17T17:36:01.955Z] Step 17/26 : WORKDIR / [2023-01-17T17:36:01.955Z] ---> Running in 7672382fd842 [2023-01-17T17:36:02.216Z] Removing intermediate container 7672382fd842 [2023-01-17T17:36:02.216Z] ---> 073922326dc1 [2023-01-17T17:36:02.216Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-17T17:36:02.786Z] ---> ef97a46b79b2 [2023-01-17T17:36:02.786Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-17T17:36:02.786Z] ---> 9239f331e48a [2023-01-17T17:36:02.786Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-17T17:36:03.046Z] ---> 63e1ce6760f1 [2023-01-17T17:36:03.046Z] Step 21/26 : EXPOSE 59984 [2023-01-17T17:36:03.046Z] ---> Running in 2866598df49d [2023-01-17T17:36:03.046Z] Removing intermediate container 2866598df49d [2023-01-17T17:36:03.046Z] ---> bb3923d2f10c [2023-01-17T17:36:03.046Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-17T17:36:03.304Z] ---> Running in 4a48595e278c [2023-01-17T17:36:03.304Z] Removing intermediate container 4a48595e278c [2023-01-17T17:36:03.304Z] ---> 3998d329c49d [2023-01-17T17:36:03.304Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:36:03.304Z] ---> Running in be85f4b1ab55 [2023-01-17T17:36:03.304Z] Removing intermediate container be85f4b1ab55 [2023-01-17T17:36:03.304Z] ---> 3a081c6b221b [2023-01-17T17:36:03.304Z] Step 24/26 : LABEL arch=amd64 [2023-01-17T17:36:03.304Z] ---> Running in 54b6f83969cb [2023-01-17T17:36:03.563Z] Removing intermediate container 54b6f83969cb [2023-01-17T17:36:03.563Z] ---> 501658a6d664 [2023-01-17T17:36:03.563Z] Step 25/26 : LABEL git_sha=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:36:03.563Z] ---> Running in d86dda625105 [2023-01-17T17:36:03.563Z] Removing intermediate container d86dda625105 [2023-01-17T17:36:03.563Z] ---> b31e96b3b4d4 [2023-01-17T17:36:03.563Z] Step 26/26 : LABEL version=3.0.0-dev.8 [2023-01-17T17:36:03.563Z] ---> Running in ad69e543b5bf [2023-01-17T17:36:03.823Z] Removing intermediate container ad69e543b5bf [2023-01-17T17:36:03.823Z] ---> 0ca8a00369a9 [2023-01-17T17:36:03.823Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:36:03.823Z] Successfully built 0ca8a00369a9 [2023-01-17T17:36:03.823Z] 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 [2023-01-17T17:36:03.899Z] provisioning config files... [2023-01-17T17:36:03.906Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17863807319131494625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:36:04.201Z] ---> docker-login.sh [2023-01-17T17:36:04.202Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:36:04.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:04.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:04.202Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:04.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:04.202Z] [2023-01-17T17:36:04.202Z] Login Succeeded [2023-01-17T17:36:04.202Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:36:04.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:04.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:04.202Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:04.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:04.202Z] [2023-01-17T17:36:04.202Z] Login Succeeded [2023-01-17T17:36:04.202Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:36:04.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:04.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:04.460Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:04.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:04.460Z] [2023-01-17T17:36:04.460Z] Login Succeeded [2023-01-17T17:36:04.460Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:36:04.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:04.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:04.460Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:04.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:04.460Z] [2023-01-17T17:36:04.460Z] Login Succeeded [2023-01-17T17:36:04.460Z] docker.io [2023-01-17T17:36:04.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:04.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:04.719Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:04.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:04.719Z] [2023-01-17T17:36:04.719Z] Login Succeeded [2023-01-17T17:36:04.719Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:36:04.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:36:04.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:36:04.767Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-01-17T17:36:04.767Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:36:04.767Z] latest [2023-01-17T17:36:04.767Z] 3.0.0-dev.8 [2023-01-17T17:36:04.767Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:36:04.767Z] main [2023-01-17T17:36:04.767Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:05.072Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:05.380Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:36:05.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-01-17T17:36:05.381Z] d49ec0bcac06: Preparing [2023-01-17T17:36:05.381Z] 8f9c4b4eefa2: Preparing [2023-01-17T17:36:05.381Z] b64658c3035b: Preparing [2023-01-17T17:36:05.381Z] 709efaff1aa6: Preparing [2023-01-17T17:36:05.381Z] e5e13b0c77cb: Preparing [2023-01-17T17:36:05.381Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:36:05.381Z] 709efaff1aa6: Pushed [2023-01-17T17:36:05.381Z] d49ec0bcac06: Pushed [2023-01-17T17:36:05.381Z] 8f9c4b4eefa2: Pushed [2023-01-17T17:36:08.671Z] b64658c3035b: Pushed [2023-01-17T17:36:08.671Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:08.970Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:09.269Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-01-17T17:36:09.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-01-17T17:36:09.269Z] d49ec0bcac06: Preparing [2023-01-17T17:36:09.269Z] 8f9c4b4eefa2: Preparing [2023-01-17T17:36:09.269Z] b64658c3035b: Preparing [2023-01-17T17:36:09.269Z] 709efaff1aa6: Preparing [2023-01-17T17:36:09.269Z] e5e13b0c77cb: Preparing [2023-01-17T17:36:09.269Z] 709efaff1aa6: Layer already exists [2023-01-17T17:36:09.269Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:36:09.269Z] b64658c3035b: Layer already exists [2023-01-17T17:36:09.269Z] 8f9c4b4eefa2: Layer already exists [2023-01-17T17:36:09.269Z] d49ec0bcac06: Layer already exists [2023-01-17T17:36:09.269Z] latest: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:09.588Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:09.888Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 [2023-01-17T17:36:09.888Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-01-17T17:36:09.888Z] d49ec0bcac06: Preparing [2023-01-17T17:36:09.888Z] 8f9c4b4eefa2: Preparing [2023-01-17T17:36:09.888Z] b64658c3035b: Preparing [2023-01-17T17:36:09.888Z] 709efaff1aa6: Preparing [2023-01-17T17:36:09.888Z] e5e13b0c77cb: Preparing [2023-01-17T17:36:09.888Z] d49ec0bcac06: Layer already exists [2023-01-17T17:36:09.888Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:36:09.888Z] b64658c3035b: Layer already exists [2023-01-17T17:36:09.888Z] 709efaff1aa6: Layer already exists [2023-01-17T17:36:09.888Z] 8f9c4b4eefa2: Layer already exists [2023-01-17T17:36:09.888Z] 3.0.0-dev.8: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:10.199Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:10.506Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:36:10.506Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-01-17T17:36:10.506Z] d49ec0bcac06: Preparing [2023-01-17T17:36:10.506Z] 8f9c4b4eefa2: Preparing [2023-01-17T17:36:10.506Z] b64658c3035b: Preparing [2023-01-17T17:36:10.506Z] 709efaff1aa6: Preparing [2023-01-17T17:36:10.506Z] e5e13b0c77cb: Preparing [2023-01-17T17:36:10.506Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:36:10.506Z] d49ec0bcac06: Layer already exists [2023-01-17T17:36:10.506Z] b64658c3035b: Layer already exists [2023-01-17T17:36:10.506Z] 709efaff1aa6: Layer already exists [2023-01-17T17:36:10.506Z] 8f9c4b4eefa2: Layer already exists [2023-01-17T17:36:10.506Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:10.828Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:11.138Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-01-17T17:36:11.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-01-17T17:36:11.138Z] d49ec0bcac06: Preparing [2023-01-17T17:36:11.138Z] 8f9c4b4eefa2: Preparing [2023-01-17T17:36:11.138Z] b64658c3035b: Preparing [2023-01-17T17:36:11.138Z] 709efaff1aa6: Preparing [2023-01-17T17:36:11.138Z] e5e13b0c77cb: Preparing [2023-01-17T17:36:11.138Z] d49ec0bcac06: Layer already exists [2023-01-17T17:36:11.138Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:36:11.138Z] 8f9c4b4eefa2: Layer already exists [2023-01-17T17:36:11.138Z] 709efaff1aa6: Layer already exists [2023-01-17T17:36:11.138Z] b64658c3035b: Layer already exists [2023-01-17T17:36:11.138Z] main: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:36:11.177Z] ===================================================== [Pipeline] echo [2023-01-17T17:36:11.183Z] taggedImages: [2023-01-17T17:36:11.183Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:36:11.183Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-01-17T17:36:11.183Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 [2023-01-17T17:36:11.184Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:36:11.184Z] - 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 [2023-01-17T17:36:11.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:36:11.539Z] [2023-01-17T17:36:11.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:11.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:36:11.845Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T17:36:11.845Z] 5eb5b503b376: Pulling fs layer [2023-01-17T17:36:11.845Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T17:36:11.845Z] ec43610c2a17: Pulling fs layer [2023-01-17T17:36:11.845Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T17:36:11.845Z] 33b1e0a273af: Pulling fs layer [2023-01-17T17:36:11.845Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T17:36:11.845Z] 2f39f015ded8: Pulling fs layer [2023-01-17T17:36:11.845Z] 5d3b04190fa2: Waiting [2023-01-17T17:36:11.845Z] 2f39f015ded8: Waiting [2023-01-17T17:36:11.845Z] 3a2ae6a8a46f: Waiting [2023-01-17T17:36:11.845Z] 33b1e0a273af: Waiting [2023-01-17T17:36:11.845Z] 5c69ac0246d0: Download complete [2023-01-17T17:36:11.845Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T17:36:11.845Z] 3a2ae6a8a46f: Download complete [2023-01-17T17:36:12.115Z] 33b1e0a273af: Verifying Checksum [2023-01-17T17:36:12.115Z] 33b1e0a273af: Download complete [2023-01-17T17:36:12.381Z] 5d3b04190fa2: Download complete [2023-01-17T17:36:12.381Z] ec43610c2a17: Verifying Checksum [2023-01-17T17:36:12.381Z] ec43610c2a17: Download complete [2023-01-17T17:36:12.381Z] 5eb5b503b376: Verifying Checksum [2023-01-17T17:36:12.381Z] 5eb5b503b376: Download complete [2023-01-17T17:36:13.316Z] 2f39f015ded8: Download complete [2023-01-17T17:36:13.575Z] 5eb5b503b376: Pull complete [2023-01-17T17:36:13.575Z] 5c69ac0246d0: Pull complete [2023-01-17T17:36:14.142Z] ec43610c2a17: Pull complete [2023-01-17T17:36:14.142Z] 3a2ae6a8a46f: Pull complete [2023-01-17T17:36:14.400Z] 33b1e0a273af: Pull complete [2023-01-17T17:36:14.400Z] 5d3b04190fa2: Pull complete [2023-01-17T17:36:18.586Z] 2f39f015ded8: Pull complete [2023-01-17T17:36:18.586Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T17:36:18.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:36:18.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:36:18.675Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:36:18.718Z] $ 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 [2023-01-17T17:36:20.243Z] $ docker top e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:36:20.618Z] ---> job-cost.sh [2023-01-17T17:36:20.618Z] lf-activate-venv: SKIPPING [2023-01-17T17:36:20.618Z] INFO: No Stack... [2023-01-17T17:36:20.876Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:36:21.443Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:36:21.730Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-01-17T17:36:21.730Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:36:21.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [2023-01-17T17:36:21.752Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] did not exist. Created. [2023-01-17T17:36:21.752Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:36:22.052Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T17:36:22.078Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:36:22.085Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:36:22.108Z] $ docker stop --time=1 e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a [2023-01-17T17:36:23.268Z] $ docker rm -f --volumes e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T17:37:29.008Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2757 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-01-17T17:37:29.021Z] Running in /w/workspace/device-onvif-camera/97 [Pipeline] { [Pipeline] checkout [2023-01-17T17:37:29.055Z] The recommended git tool is: git [2023-01-17T17:37:35.418Z] using credential edgex-jenkins-ssh [2023-01-17T17:37:35.436Z] Cloning the remote Git repository [2023-01-17T17:37:35.491Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-17T17:37:35.580Z] > git init /w/workspace/device-onvif-camera/97 # timeout=10 [2023-01-17T17:37:35.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-17T17:37:35.752Z] > git --version # timeout=10 [2023-01-17T17:37:35.773Z] > git --version # 'git version 2.25.1' [2023-01-17T17:37:35.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T17:37:35.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:37:37.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-17T17:37:37.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:37:38.588Z] Avoid second fetch [2023-01-17T17:37:38.589Z] Checking out Revision 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (main) [2023-01-17T17:37:38.610Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T17:37:38.642Z] > git checkout -f 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 [2023-01-17T17:37:39.503Z] Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:37:40.456Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T17:37:40.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:37:40.457Z] Dload Upload Total Spent Left Speed [2023-01-17T17:37:40.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-01-17T17:37:41.167Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T17:37:41.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T17:37:41.507Z] + sudo tee /etc/docker/daemon.new [2023-01-17T17:37:41.507Z] { [2023-01-17T17:37:41.507Z] "registry-mirrors": [ [2023-01-17T17:37:41.507Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T17:37:41.507Z] ], [2023-01-17T17:37:41.507Z] "bip": "10.250.0.254/24", [2023-01-17T17:37:41.507Z] "hosts": [ [2023-01-17T17:37:41.507Z] "tcp://0.0.0.0:5555", [2023-01-17T17:37:41.507Z] "unix:///var/run/docker.sock" [2023-01-17T17:37:41.507Z] ], [2023-01-17T17:37:41.507Z] "mtu": 1458, [2023-01-17T17:37:41.507Z] "selinux-enabled": true, [2023-01-17T17:37:41.507Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T17:37:41.507Z] } [Pipeline] sh [2023-01-17T17:37:41.853Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T17:37:42.214Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:38:00.533Z] provisioning config files... [2023-01-17T17:38:00.566Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/97@tmp/config12537430382138254316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:38:00.940Z] ---> docker-login.sh [2023-01-17T17:38:00.940Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:38:01.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:01.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:01.536Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:01.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:01.536Z] [2023-01-17T17:38:01.536Z] Login Succeeded [2023-01-17T17:38:01.536Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:38:01.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:02.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:02.084Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:02.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:02.084Z] [2023-01-17T17:38:02.084Z] Login Succeeded [2023-01-17T17:38:02.084Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:38:02.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:02.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:02.356Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:02.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:02.356Z] [2023-01-17T17:38:02.356Z] Login Succeeded [2023-01-17T17:38:02.356Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:38:02.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:02.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:02.903Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:02.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:02.903Z] [2023-01-17T17:38:02.903Z] Login Succeeded [2023-01-17T17:38:02.903Z] docker.io [2023-01-17T17:38:03.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:03.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:03.449Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:03.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:03.449Z] [2023-01-17T17:38:03.449Z] Login Succeeded [2023-01-17T17:38:03.449Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:38:03.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:38:03.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:38:03.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:38:03.847Z] ========================================================= [2023-01-17T17:38:03.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T17:38:03.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:04.204Z] + 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 . [2023-01-17T17:38:04.799Z] Sending build context to Docker daemon 20.51MB [2023-01-17T17:38:04.799Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:38:04.799Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-17T17:38:05.072Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T17:38:05.072Z] 9b18e9b68314: Pulling fs layer [2023-01-17T17:38:05.072Z] 35d82f9e3411: Pulling fs layer [2023-01-17T17:38:05.072Z] e16973657156: Pulling fs layer [2023-01-17T17:38:05.072Z] fc693d55d65f: Pulling fs layer [2023-01-17T17:38:05.072Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T17:38:05.072Z] dda99020689f: Pulling fs layer [2023-01-17T17:38:05.072Z] db1c61fa0a46: Pulling fs layer [2023-01-17T17:38:05.072Z] 891c053d2c06: Pulling fs layer [2023-01-17T17:38:05.072Z] dda99020689f: Waiting [2023-01-17T17:38:05.072Z] db1c61fa0a46: Waiting [2023-01-17T17:38:05.072Z] 891c053d2c06: Waiting [2023-01-17T17:38:05.072Z] fc693d55d65f: Waiting [2023-01-17T17:38:05.072Z] 7e9fc2657dce: Waiting [2023-01-17T17:38:05.072Z] e16973657156: Verifying Checksum [2023-01-17T17:38:05.072Z] e16973657156: Download complete [2023-01-17T17:38:05.072Z] 35d82f9e3411: Verifying Checksum [2023-01-17T17:38:05.072Z] 35d82f9e3411: Download complete [2023-01-17T17:38:05.072Z] 7e9fc2657dce: Verifying Checksum [2023-01-17T17:38:05.072Z] 7e9fc2657dce: Download complete [2023-01-17T17:38:05.072Z] dda99020689f: Verifying Checksum [2023-01-17T17:38:05.072Z] dda99020689f: Download complete [2023-01-17T17:38:05.072Z] 9b18e9b68314: Verifying Checksum [2023-01-17T17:38:05.072Z] 9b18e9b68314: Download complete [2023-01-17T17:38:06.073Z] 9b18e9b68314: Pull complete [2023-01-17T17:38:06.346Z] 891c053d2c06: Verifying Checksum [2023-01-17T17:38:06.346Z] 891c053d2c06: Download complete [2023-01-17T17:38:06.626Z] 35d82f9e3411: Pull complete [2023-01-17T17:38:06.900Z] e16973657156: Pull complete [2023-01-17T17:38:07.503Z] db1c61fa0a46: Verifying Checksum [2023-01-17T17:38:07.503Z] db1c61fa0a46: Download complete [2023-01-17T17:38:08.098Z] fc693d55d65f: Verifying Checksum [2023-01-17T17:38:08.098Z] fc693d55d65f: Download complete [2023-01-17T17:38:20.498Z] fc693d55d65f: Pull complete [2023-01-17T17:38:20.498Z] 7e9fc2657dce: Pull complete [2023-01-17T17:38:20.498Z] dda99020689f: Pull complete [2023-01-17T17:38:25.895Z] db1c61fa0a46: Pull complete [2023-01-17T17:38:27.862Z] 891c053d2c06: Pull complete [2023-01-17T17:38:27.862Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T17:38:27.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T17:38:27.862Z] ---> f96f9c87975a [2023-01-17T17:38:27.862Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:38:29.862Z] ---> Running in f1bdc79bf218 [2023-01-17T17:38:30.136Z] Removing intermediate container f1bdc79bf218 [2023-01-17T17:38:30.136Z] ---> 550fb524baff [2023-01-17T17:38:30.136Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:38:30.136Z] ---> Running in 719da817da6f [2023-01-17T17:38:30.810Z] Removing intermediate container 719da817da6f [2023-01-17T17:38:30.810Z] ---> 39461050749f [2023-01-17T17:38:30.810Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-17T17:38:30.810Z] ---> Running in 1ed8c65455a1 [2023-01-17T17:38:31.144Z] Removing intermediate container 1ed8c65455a1 [2023-01-17T17:38:31.144Z] ---> ba274b40a093 [2023-01-17T17:38:31.144Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:38:31.144Z] ---> Running in 1e54c829e174 [2023-01-17T17:38:31.441Z] Removing intermediate container 1e54c829e174 [2023-01-17T17:38:31.441Z] ---> 94d3b415d5e0 [2023-01-17T17:38:31.441Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-17T17:38:31.724Z] ---> Running in 8f06922ee376 [2023-01-17T17:38:32.008Z] Removing intermediate container 8f06922ee376 [2023-01-17T17:38:32.008Z] ---> 9365e120296a [2023-01-17T17:38:32.008Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:38:32.278Z] ---> Running in 1271ecedf600 [2023-01-17T17:38:33.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:38:33.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:38:35.110Z] OK: 221 MiB in 51 packages [2023-01-17T17:38:35.714Z] Removing intermediate container 1271ecedf600 [2023-01-17T17:38:35.714Z] ---> fd4d0019a812 [2023-01-17T17:38:35.714Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-17T17:38:35.995Z] ---> Running in 099502a94c02 [2023-01-17T17:38:36.266Z] Removing intermediate container 099502a94c02 [2023-01-17T17:38:36.266Z] ---> f95eed700b66 [2023-01-17T17:38:36.266Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-17T17:38:36.856Z] ---> 0529d06c8dfe [2023-01-17T17:38:36.856Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:38:36.856Z] ---> Running in 6773a67d5123 [2023-01-17T17:39:44.842Z] Removing intermediate container 6773a67d5123 [2023-01-17T17:39:44.842Z] ---> 5bbde0d068cd [2023-01-17T17:39:44.842Z] Step 12/13 : COPY . . [2023-01-17T17:39:44.842Z] ---> 84c8954e6679 [2023-01-17T17:39:44.842Z] Step 13/13 : RUN ${MAKE} [2023-01-17T17:39:44.842Z] ---> Running in 1c17f2a8141d [2023-01-17T17:39:44.842Z] noop [2023-01-17T17:39:44.842Z] Removing intermediate container 1c17f2a8141d [2023-01-17T17:39:44.842Z] ---> 37c2b53cb0b1 [2023-01-17T17:39:44.842Z] Successfully built 37c2b53cb0b1 [2023-01-17T17:39:44.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:45.220Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:39:45.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:39:45.459Z] prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container [2023-01-17T17:39:45.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 [2023-01-17T17:39:46.899Z] $ docker top c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:39:47.782Z] + go version [2023-01-17T17:39:47.782Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T17:39:47.803Z] $ docker stop --time=1 c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b [2023-01-17T17:39:49.528Z] $ docker rm -f --volumes c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:50.140Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:39:50.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:39:50.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container [2023-01-17T17:39:50.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 [2023-01-17T17:39:51.753Z] $ docker top 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:39:52.644Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/97 [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:39:53.312Z] + make test [2023-01-17T17:39:53.312Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:39:55.282Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-17T17:41:47.090Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-17T17:41:55.372Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.252s coverage: 29.3% of statements [2023-01-17T17:41:55.372Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-17T17:42:17.500Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.073s coverage: 86.5% of statements [2023-01-17T17:42:17.500Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-17T17:42:17.500Z] go vet ./... [2023-01-17T17:42:56.451Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:42:56.451Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:42:56.451Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:42:56.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:42:56.487Z] $ docker stop --time=1 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd [2023-01-17T17:42:58.414Z] $ docker rm -f --volumes 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:42:59.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:42:59.555Z] Warning: overwriting stash ‘coverage-report’ [2023-01-17T17:43:00.277Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:43:00.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:43:01.015Z] + ls -al . [2023-01-17T17:43:01.015Z] total 244 [2023-01-17T17:43:01.015Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:39 . [2023-01-17T17:43:01.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 .. [2023-01-17T17:43:01.015Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:37 .git [2023-01-17T17:43:01.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:37 .github [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 17 17:37 .gitignore [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 17:37 .golangci.yml [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 17 17:37 Attribution.txt [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 17 17:37 CHANGELOG.md [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 17 17:37 Dockerfile [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:37 GOVERNANCE.md [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 17 17:37 Jenkinsfile [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 17 17:37 LICENSE [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 17 17:37 Makefile [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 17 17:37 OWNERS.md [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 17 17:37 README.md [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:34 VERSION [2023-01-17T17:43:01.015Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:37 bin [2023-01-17T17:43:01.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:37 cmd [2023-01-17T17:43:01.015Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 17 17:42 coverage.out [2023-01-17T17:43:01.015Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 17:37 doc [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 17 17:37 go.mod [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 17 17:37 go.sum [2023-01-17T17:43:01.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 internal [2023-01-17T17:43:01.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 snap [2023-01-17T17:43:01.015Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 17 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:01.367Z] + 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 --label arch=arm64 --label version=3.0.0-dev.8 . [2023-01-17T17:43:01.954Z] Sending build context to Docker daemon 20.59MB [2023-01-17T17:43:01.954Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:43:01.954Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-17T17:43:01.954Z] ---> 37c2b53cb0b1 [2023-01-17T17:43:01.954Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:43:02.537Z] ---> Running in 946fc0d1e315 [2023-01-17T17:43:02.806Z] Removing intermediate container 946fc0d1e315 [2023-01-17T17:43:02.806Z] ---> e310cdae38a1 [2023-01-17T17:43:02.806Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:43:02.806Z] ---> Running in 8212c0de9cd1 [2023-01-17T17:43:03.078Z] Removing intermediate container 8212c0de9cd1 [2023-01-17T17:43:03.078Z] ---> 722eec424990 [2023-01-17T17:43:03.078Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-17T17:43:03.347Z] ---> Running in 0e453e4df850 [2023-01-17T17:43:03.615Z] Removing intermediate container 0e453e4df850 [2023-01-17T17:43:03.615Z] ---> 3108141cdf06 [2023-01-17T17:43:03.615Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:43:03.615Z] ---> Running in 8a4ba603e39d [2023-01-17T17:43:03.883Z] Removing intermediate container 8a4ba603e39d [2023-01-17T17:43:03.883Z] ---> fd82d2cb108d [2023-01-17T17:43:03.883Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-17T17:43:03.883Z] ---> Running in 4356ff2e0be7 [2023-01-17T17:43:04.152Z] Removing intermediate container 4356ff2e0be7 [2023-01-17T17:43:04.152Z] ---> 46c6ec401ad2 [2023-01-17T17:43:04.152Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:43:04.429Z] ---> Running in dab01d5364d2 [2023-01-17T17:43:05.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:05.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:07.087Z] OK: 221 MiB in 51 packages [2023-01-17T17:43:09.040Z] Removing intermediate container dab01d5364d2 [2023-01-17T17:43:09.040Z] ---> fd1b86047f67 [2023-01-17T17:43:09.040Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-17T17:43:09.040Z] ---> Running in cd17444f365b [2023-01-17T17:43:09.040Z] Removing intermediate container cd17444f365b [2023-01-17T17:43:09.040Z] ---> 0c80f2d06593 [2023-01-17T17:43:09.040Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-17T17:43:09.625Z] ---> 6d70d2ca5b44 [2023-01-17T17:43:09.625Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:43:09.625Z] ---> Running in bf8e76a43057 [2023-01-17T17:43:12.239Z] Removing intermediate container bf8e76a43057 [2023-01-17T17:43:12.239Z] ---> cda166269810 [2023-01-17T17:43:12.239Z] Step 12/26 : COPY . . [2023-01-17T17:43:13.651Z] ---> f1137fa50110 [2023-01-17T17:43:13.651Z] Step 13/26 : RUN ${MAKE} [2023-01-17T17:43:13.651Z] ---> Running in c5209490a79f [2023-01-17T17:43:14.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-17T17:45:51.533Z] Removing intermediate container c5209490a79f [2023-01-17T17:45:51.533Z] ---> 748be2e54620 [2023-01-17T17:45:51.533Z] Step 14/26 : FROM alpine:3.16 [2023-01-17T17:45:51.533Z] 3.16: Pulling from library/alpine [2023-01-17T17:45:51.533Z] 6875df1f5354: Pulling fs layer [2023-01-17T17:45:51.533Z] 6875df1f5354: Verifying Checksum [2023-01-17T17:45:51.533Z] 6875df1f5354: Download complete [2023-01-17T17:45:51.533Z] 6875df1f5354: Pull complete [2023-01-17T17:45:51.533Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:45:51.533Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:45:51.533Z] ---> 2b4661558fb8 [2023-01-17T17:45:51.533Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-17T17:45:51.533Z] ---> Running in 27278aa72f25 [2023-01-17T17:45:51.533Z] Removing intermediate container 27278aa72f25 [2023-01-17T17:45:51.534Z] ---> 32c7fb7170f6 [2023-01-17T17:45:51.534Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:45:51.534Z] ---> Running in 5f0ce49d9f2a [2023-01-17T17:45:51.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:45:51.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:45:51.534Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:45:51.534Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:45:51.534Z] OK: 5 MiB in 15 packages [2023-01-17T17:45:51.534Z] Removing intermediate container 5f0ce49d9f2a [2023-01-17T17:45:51.534Z] ---> cb8202d55d3c [2023-01-17T17:45:51.534Z] Step 17/26 : WORKDIR / [2023-01-17T17:45:51.534Z] ---> Running in b5cb73b9a8de [2023-01-17T17:45:51.534Z] Removing intermediate container b5cb73b9a8de [2023-01-17T17:45:51.534Z] ---> 82fd3ae99421 [2023-01-17T17:45:51.534Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-17T17:45:51.534Z] ---> e6e3148ca2ac [2023-01-17T17:45:51.534Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-17T17:45:51.534Z] ---> 8e309c48afc0 [2023-01-17T17:45:51.534Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-17T17:45:51.534Z] ---> fc9d0a572650 [2023-01-17T17:45:51.534Z] Step 21/26 : EXPOSE 59984 [2023-01-17T17:45:51.534Z] ---> Running in b3ac8307e831 [2023-01-17T17:45:51.534Z] Removing intermediate container b3ac8307e831 [2023-01-17T17:45:51.534Z] ---> 7ef3fdf0a741 [2023-01-17T17:45:51.534Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-17T17:45:51.534Z] ---> Running in 82b023a8f6af [2023-01-17T17:45:51.534Z] Removing intermediate container 82b023a8f6af [2023-01-17T17:45:51.534Z] ---> 9af12b050860 [2023-01-17T17:45:51.534Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:45:51.534Z] ---> Running in b2aac1c9f3bc [2023-01-17T17:45:51.534Z] Removing intermediate container b2aac1c9f3bc [2023-01-17T17:45:51.534Z] ---> 040502df5867 [2023-01-17T17:45:51.534Z] Step 24/26 : LABEL arch=arm64 [2023-01-17T17:45:51.534Z] ---> Running in 4f2a979f8f72 [2023-01-17T17:45:51.534Z] Removing intermediate container 4f2a979f8f72 [2023-01-17T17:45:51.534Z] ---> 661b406e976b [2023-01-17T17:45:51.534Z] Step 25/26 : LABEL git_sha=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:45:51.534Z] ---> Running in 8c5a1ec80629 [2023-01-17T17:45:51.534Z] Removing intermediate container 8c5a1ec80629 [2023-01-17T17:45:51.534Z] ---> e6f61d622d87 [2023-01-17T17:45:51.534Z] Step 26/26 : LABEL version=3.0.0-dev.8 [2023-01-17T17:45:51.534Z] ---> Running in e77b70ba0830 [2023-01-17T17:45:51.534Z] Removing intermediate container e77b70ba0830 [2023-01-17T17:45:51.534Z] ---> c5b005e8e7ee [2023-01-17T17:45:51.534Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:45:51.534Z] Successfully built c5b005e8e7ee [2023-01-17T17:45:51.534Z] 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 [2023-01-17T17:45:51.623Z] provisioning config files... [2023-01-17T17:45:51.639Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/97@tmp/config16746500585402667676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:51.979Z] ---> docker-login.sh [2023-01-17T17:45:51.979Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:45:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:45:52.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:45:52.244Z] Configure a credential helper to remove this warning. See [2023-01-17T17:45:52.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:45:52.244Z] [2023-01-17T17:45:52.244Z] Login Succeeded [2023-01-17T17:45:52.244Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:45:52.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:45:52.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:45:52.513Z] Configure a credential helper to remove this warning. See [2023-01-17T17:45:52.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:45:52.513Z] [2023-01-17T17:45:52.513Z] Login Succeeded [2023-01-17T17:45:52.513Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:45:52.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:45:53.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:45:53.049Z] Configure a credential helper to remove this warning. See [2023-01-17T17:45:53.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:45:53.049Z] [2023-01-17T17:45:53.049Z] Login Succeeded [2023-01-17T17:45:53.049Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:45:53.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:45:53.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:45:53.317Z] Configure a credential helper to remove this warning. See [2023-01-17T17:45:53.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:45:53.317Z] [2023-01-17T17:45:53.317Z] Login Succeeded [2023-01-17T17:45:53.317Z] docker.io [2023-01-17T17:45:53.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:45:53.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:45:53.851Z] Configure a credential helper to remove this warning. See [2023-01-17T17:45:53.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:45:53.851Z] [2023-01-17T17:45:53.851Z] Login Succeeded [2023-01-17T17:45:53.851Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:45:53.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:45:53.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:45:53.931Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-01-17T17:45:53.931Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:45:53.931Z] latest [2023-01-17T17:45:53.931Z] 3.0.0-dev.8 [2023-01-17T17:45:53.931Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:45:53.931Z] main [2023-01-17T17:45:53.931Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:45:54.289Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:45:54.629Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:45:54.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-01-17T17:45:54.629Z] 1ec62121506c: Preparing [2023-01-17T17:45:54.629Z] f56b1a2b9ee3: Preparing [2023-01-17T17:45:54.629Z] 434f9a959e3c: Preparing [2023-01-17T17:45:54.629Z] c56318d99d41: Preparing [2023-01-17T17:45:54.629Z] 17bec77d7fdc: Preparing [2023-01-17T17:45:54.629Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:45:54.895Z] f56b1a2b9ee3: Pushed [2023-01-17T17:45:54.895Z] 1ec62121506c: Pushed [2023-01-17T17:45:54.895Z] c56318d99d41: Pushed [2023-01-17T17:46:00.234Z] 434f9a959e3c: Pushed [2023-01-17T17:46:00.234Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:00.575Z] + 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 [2023-01-17T17:46:00.910Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-01-17T17:46:00.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-01-17T17:46:00.910Z] 1ec62121506c: Preparing [2023-01-17T17:46:00.910Z] f56b1a2b9ee3: Preparing [2023-01-17T17:46:00.910Z] 434f9a959e3c: Preparing [2023-01-17T17:46:00.910Z] c56318d99d41: Preparing [2023-01-17T17:46:00.910Z] 17bec77d7fdc: Preparing [2023-01-17T17:46:00.910Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:46:00.910Z] 434f9a959e3c: Layer already exists [2023-01-17T17:46:00.910Z] c56318d99d41: Layer already exists [2023-01-17T17:46:00.910Z] f56b1a2b9ee3: Layer already exists [2023-01-17T17:46:00.910Z] 1ec62121506c: Layer already exists [2023-01-17T17:46:01.177Z] latest: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:01.526Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:01.874Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 [2023-01-17T17:46:01.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-01-17T17:46:01.875Z] 1ec62121506c: Preparing [2023-01-17T17:46:01.875Z] f56b1a2b9ee3: Preparing [2023-01-17T17:46:01.875Z] 434f9a959e3c: Preparing [2023-01-17T17:46:01.875Z] c56318d99d41: Preparing [2023-01-17T17:46:01.875Z] 17bec77d7fdc: Preparing [2023-01-17T17:46:01.875Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:46:01.875Z] f56b1a2b9ee3: Layer already exists [2023-01-17T17:46:01.875Z] 434f9a959e3c: Layer already exists [2023-01-17T17:46:01.875Z] 1ec62121506c: Layer already exists [2023-01-17T17:46:01.875Z] c56318d99d41: Layer already exists [2023-01-17T17:46:01.875Z] 3.0.0-dev.8: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:02.498Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:02.847Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:46:02.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-01-17T17:46:02.847Z] 1ec62121506c: Preparing [2023-01-17T17:46:02.847Z] f56b1a2b9ee3: Preparing [2023-01-17T17:46:02.847Z] 434f9a959e3c: Preparing [2023-01-17T17:46:02.847Z] c56318d99d41: Preparing [2023-01-17T17:46:02.847Z] 17bec77d7fdc: Preparing [2023-01-17T17:46:02.847Z] f56b1a2b9ee3: Layer already exists [2023-01-17T17:46:02.847Z] 1ec62121506c: Layer already exists [2023-01-17T17:46:02.847Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:46:02.847Z] 434f9a959e3c: Layer already exists [2023-01-17T17:46:02.847Z] c56318d99d41: Layer already exists [2023-01-17T17:46:02.847Z] 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:03.187Z] + 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 [2023-01-17T17:46:03.529Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-01-17T17:46:03.529Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-01-17T17:46:03.530Z] 1ec62121506c: Preparing [2023-01-17T17:46:03.530Z] f56b1a2b9ee3: Preparing [2023-01-17T17:46:03.530Z] 434f9a959e3c: Preparing [2023-01-17T17:46:03.530Z] c56318d99d41: Preparing [2023-01-17T17:46:03.530Z] 17bec77d7fdc: Preparing [2023-01-17T17:46:03.530Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:46:03.530Z] 1ec62121506c: Layer already exists [2023-01-17T17:46:03.530Z] c56318d99d41: Layer already exists [2023-01-17T17:46:03.530Z] 434f9a959e3c: Layer already exists [2023-01-17T17:46:03.530Z] f56b1a2b9ee3: Layer already exists [2023-01-17T17:46:03.530Z] main: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:46:03.837Z] ===================================================== [Pipeline] echo [2023-01-17T17:46:03.843Z] taggedImages: [2023-01-17T17:46:03.843Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [2023-01-17T17:46:03.843Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-01-17T17:46:03.843Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 [2023-01-17T17:46:03.843Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [2023-01-17T17:46:03.843Z] - 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 [2023-01-17T17:46:04.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:46:04.198Z] [2023-01-17T17:46:04.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:04.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:46:04.799Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T17:46:04.799Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T17:46:04.799Z] 04944245beec: Pulling fs layer [2023-01-17T17:46:04.799Z] 699f458cf7ca: Pulling fs layer [2023-01-17T17:46:04.799Z] 765212b225bb: Pulling fs layer [2023-01-17T17:46:04.799Z] f23df028b6ca: Pulling fs layer [2023-01-17T17:46:04.799Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T17:46:04.799Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T17:46:04.799Z] 765212b225bb: Waiting [2023-01-17T17:46:04.799Z] f23df028b6ca: Waiting [2023-01-17T17:46:04.799Z] d65c8cfc05b1: Waiting [2023-01-17T17:46:04.799Z] 2437ff75d9bd: Waiting [2023-01-17T17:46:05.075Z] 04944245beec: Verifying Checksum [2023-01-17T17:46:05.075Z] 04944245beec: Download complete [2023-01-17T17:46:05.075Z] 765212b225bb: Verifying Checksum [2023-01-17T17:46:05.075Z] 765212b225bb: Download complete [2023-01-17T17:46:05.075Z] f23df028b6ca: Verifying Checksum [2023-01-17T17:46:05.075Z] f23df028b6ca: Download complete [2023-01-17T17:46:05.075Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T17:46:05.075Z] d65c8cfc05b1: Download complete [2023-01-17T17:46:05.344Z] 699f458cf7ca: Verifying Checksum [2023-01-17T17:46:05.344Z] 699f458cf7ca: Download complete [2023-01-17T17:46:05.617Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T17:46:05.617Z] 8998bd30e6a1: Download complete [2023-01-17T17:46:08.203Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T17:46:08.203Z] 2437ff75d9bd: Download complete [2023-01-17T17:46:09.648Z] 8998bd30e6a1: Pull complete [2023-01-17T17:46:10.233Z] 04944245beec: Pull complete [2023-01-17T17:46:11.650Z] 699f458cf7ca: Pull complete [2023-01-17T17:46:11.919Z] 765212b225bb: Pull complete [2023-01-17T17:46:12.503Z] f23df028b6ca: Pull complete [2023-01-17T17:46:12.770Z] d65c8cfc05b1: Pull complete [2023-01-17T17:46:27.762Z] 2437ff75d9bd: Pull complete [2023-01-17T17:46:27.763Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T17:46:27.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:46:27.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:46:27.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container [2023-01-17T17:46:28.039Z] $ 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/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 [2023-01-17T17:46:31.410Z] $ docker top d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:46:32.277Z] ---> job-cost.sh [2023-01-17T17:46:32.277Z] lf-activate-venv: SKIPPING [2023-01-17T17:46:32.277Z] INFO: No Stack... [2023-01-17T17:46:32.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T17:46:33.441Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:46:34.083Z] + cat /w/workspace/device-onvif-camera/97/archives/cost.csv [2023-01-17T17:46:34.083Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:46:34.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [2023-01-17T17:46:34.129Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] did not exist. Created. [2023-01-17T17:46:34.129Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:46:34.788Z] /w/workspace/device-onvif-camera/97@tmp/durable-3f3eeb81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T17:46:35.120Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T17:46:35.143Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T17:46:35.208Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:46:35.217Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:46:35.230Z] $ docker stop --time=1 d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 [2023-01-17T17:46:36.717Z] $ docker rm -f --volumes d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 [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 [2023-01-17T17:46:37.089Z] provisioning config files... [2023-01-17T17:46:37.096Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10225533087594039756tmp [Pipeline] { [Pipeline] sh [2023-01-17T17:46:37.396Z] + set +x [2023-01-17T17:46:37.397Z] + + curlbash -s -s https://codecov.io/bash -- [2023-01-17T17:46:37.397Z] [2023-01-17T17:46:37.397Z] [2023-01-17T17:46:37.397Z] _____ _ [2023-01-17T17:46:37.397Z] / ____| | | [2023-01-17T17:46:37.397Z] | | ___ __| | ___ ___ _____ __ [2023-01-17T17:46:37.397Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-17T17:46:37.397Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-17T17:46:37.397Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-17T17:46:37.397Z] Bash-1.0.6 [2023-01-17T17:46:37.397Z] [2023-01-17T17:46:37.397Z] [2023-01-17T17:46:37.397Z] ==> git version 2.25.1 found [2023-01-17T17:46:37.397Z] ==> 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 [2023-01-17T17:46:37.397Z] Release-Date: 2020-01-08 [2023-01-17T17:46:37.397Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-17T17:46:37.397Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-17T17:46:37.397Z] ==> Jenkins CI detected. [2023-01-17T17:46:37.397Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-01-17T17:46:37.397Z] project root: . [2023-01-17T17:46:37.397Z] --> token set from env [2023-01-17T17:46:37.397Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-17T17:46:37.397Z] ==> Running gcov in . (disable via -X gcov) [2023-01-17T17:46:37.397Z] ==> Python coveragepy not found [2023-01-17T17:46:37.397Z] ==> Searching for coverage reports in: [2023-01-17T17:46:37.397Z] + . [2023-01-17T17:46:37.397Z] -> Found 1 reports [2023-01-17T17:46:37.397Z] ==> Detecting git/mercurial file structure [2023-01-17T17:46:37.397Z] ==> Reading reports [2023-01-17T17:46:37.397Z] + ./coverage.out bytes=79184 [2023-01-17T17:46:37.397Z] ==> Appending adjustments [2023-01-17T17:46:37.397Z] https://docs.codecov.io/docs/fixing-reports [2023-01-17T17:46:37.655Z] + Found adjustments [2023-01-17T17:46:37.655Z] ==> Gzipping contents [2023-01-17T17:46:37.655Z] 12K /tmp/codecov.NOPrUR.gz [2023-01-17T17:46:37.655Z] ==> Uploading reports [2023-01-17T17:46:37.655Z] url: https://codecov.io [2023-01-17T17:46:37.655Z] query: branch=main&commit=6741b2693d9de414b67a8d31d89bc7ad3a9d0867&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:46:37.655Z] -> Pinging Codecov [2023-01-17T17:46:37.655Z] 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:46:38.223Z] -> Uploading to [2023-01-17T17:46:38.223Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-17/F29A59C45E3A92E06B3E522C9905F8EF/6741b2693d9de414b67a8d31d89bc7ad3a9d0867/19b77ade-ed09-4fb0-8e97-42e67e8d89d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d192ad8e0296218ad87dea68dbf251df3d7b0345b53abd52b87e9110741b909 [2023-01-17T17:46:38.223Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:46:38.223Z] Dload Upload Total Spent Left Speed [2023-01-17T17:46:38.483Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10816 0 0 100 10816 0 36789 --:--:-- --:--:-- --:--:-- 36789 [2023-01-17T17:46:38.483Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } [2023-01-17T17:46:38.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-17T17:46:38.638Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-17T17:46:38.649Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:38.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:46:38.955Z] [2023-01-17T17:46:38.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:39.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:46:39.260Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-17T17:46:39.260Z] df9b9388f04a: Pulling fs layer [2023-01-17T17:46:39.260Z] 52dc419b0ee2: Pulling fs layer [2023-01-17T17:46:39.260Z] 25bc292e5bac: Pulling fs layer [2023-01-17T17:46:39.260Z] 114826534d7a: Pulling fs layer [2023-01-17T17:46:39.260Z] 114826534d7a: Waiting [2023-01-17T17:46:39.260Z] 4657fd5d0bcf: Pulling fs layer [2023-01-17T17:46:39.260Z] 6ad1cebc031e: Pulling fs layer [2023-01-17T17:46:39.260Z] 8a3aa393b2d8: Pulling fs layer [2023-01-17T17:46:39.260Z] 8a3aa393b2d8: Waiting [2023-01-17T17:46:39.260Z] 4657fd5d0bcf: Waiting [2023-01-17T17:46:39.260Z] 6ad1cebc031e: Waiting [2023-01-17T17:46:39.260Z] 25bc292e5bac: Download complete [2023-01-17T17:46:39.260Z] 52dc419b0ee2: Download complete [2023-01-17T17:46:39.260Z] 4657fd5d0bcf: Verifying Checksum [2023-01-17T17:46:39.260Z] 4657fd5d0bcf: Download complete [2023-01-17T17:46:39.260Z] df9b9388f04a: Verifying Checksum [2023-01-17T17:46:39.260Z] df9b9388f04a: Download complete [2023-01-17T17:46:39.525Z] df9b9388f04a: Pull complete [2023-01-17T17:46:39.525Z] 52dc419b0ee2: Pull complete [2023-01-17T17:46:39.525Z] 25bc292e5bac: Pull complete [2023-01-17T17:46:39.794Z] 6ad1cebc031e: Verifying Checksum [2023-01-17T17:46:39.794Z] 6ad1cebc031e: Download complete [2023-01-17T17:46:40.775Z] 114826534d7a: Verifying Checksum [2023-01-17T17:46:40.775Z] 114826534d7a: Download complete [2023-01-17T17:46:41.033Z] 8a3aa393b2d8: Verifying Checksum [2023-01-17T17:46:41.033Z] 8a3aa393b2d8: Download complete [2023-01-17T17:46:44.312Z] 114826534d7a: Pull complete [2023-01-17T17:46:44.312Z] 4657fd5d0bcf: Pull complete [2023-01-17T17:46:44.312Z] 6ad1cebc031e: Pull complete [2023-01-17T17:46:46.836Z] 8a3aa393b2d8: Pull complete [2023-01-17T17:46:46.836Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-17T17:46:46.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:46:46.836Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:46:46.917Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:46:46.963Z] $ 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 [2023-01-17T17:46:48.783Z] $ docker top 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T17:46:48.843Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-01-17T17:46:49.121Z] + set -o pipefail [2023-01-17T17:46:49.121Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9078811f-a503-4bbc-849c-caedccdd22be [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] [2023-01-17T17:46:55.691Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-17T17:46:55.691Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-17T17:46:55.691Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-17T17:46:55.710Z] $ docker stop --time=1 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 [2023-01-17T17:46:57.734Z] $ docker rm -f --volumes 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 [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) [Pipeline] echo [2023-01-17T17:46:58.088Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:46:58.098Z] provisioning config files... [2023-01-17T17:46:58.103Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12522235122421349260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:46:58.398Z] --> edgex-publish-swagger.sh [2023-01-17T17:46:58.398Z] === Publish doc/openapi/v2 API === [2023-01-17T17:46:58.398Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2023-01-17T17:46:58.398Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2023-01-17T17:46:58.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:46:58.398Z] Dload Upload Total Spent Left Speed [2023-01-17T17:46:58.964Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 69 861k --:--:-- --:--:-- --:--:-- 860k 100 469k 100 38 100 469k 69 861k --:--:-- --:--:-- --:--:-- 860k [2023-01-17T17:46:58.964Z] {"code":403,"message":"Access Denied"} [2023-01-17T17:46:58.964Z] [Pipeline] } [2023-01-17T17:46:58.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:46:59.339Z] + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] sh [2023-01-17T17:46:59.624Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:46:59.624Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:46:59.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:46:59.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:46:59.997Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:47:00.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T17:47:00.419Z] $ docker top a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 -eo pid,comm [2023-01-17T17:47:00.456Z] 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). [2023-01-17T17:47:00.456Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:47:00.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:47:00.496Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:47:00.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:47:00.620Z] $ docker exec a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 ssh-agent [2023-01-17T17:47:00.737Z] SSH_AUTH_SOCK=/tmp/ssh-yN680DVjcsss/agent.31 [2023-01-17T17:47:00.737Z] SSH_AGENT_PID=37 [2023-01-17T17:47:00.741Z] Running ssh-add (command line suppressed) [2023-01-17T17:47:00.855Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2371403039848118549.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2371403039848118549.key) [2023-01-17T17:47:00.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:47:01.143Z] + git semver tag [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,332 [run_tag] DEBUG tag force:False [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,332 [check_head_tag] DEBUG check head tag [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,334 [execute] INFO git cat-file --batch-check [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,338 [execute] INFO git cat-file --batch [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,365 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,365 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,366 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:47:01.401Z] 2023-01-17 17:47:01,371 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:01.401Z] 3.0.0-dev.8 [Pipeline] } [2023-01-17T17:47:01.418Z] $ docker exec --env ******** --env ******** a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 ssh-agent -k [2023-01-17T17:47:01.525Z] unset SSH_AUTH_SOCK; [2023-01-17T17:47:01.525Z] unset SSH_AGENT_PID; [2023-01-17T17:47:01.526Z] echo Agent pid 37 killed; [2023-01-17T17:47:01.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:47:01.827Z] + git semver [Pipeline] } [2023-01-17T17:47:02.106Z] $ docker stop --time=1 a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 [2023-01-17T17:47:03.441Z] $ docker rm -f --volumes a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:47:03.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:47:03.822Z] [2023-01-17T17:47:03.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:47:04.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:47:04.125Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T17:47:04.125Z] ab5ef0e58194: Pulling fs layer [2023-01-17T17:47:04.125Z] 9712f1f96733: Pulling fs layer [2023-01-17T17:47:04.125Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T17:47:04.125Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T17:47:04.125Z] e9a5061849ea: Pulling fs layer [2023-01-17T17:47:04.125Z] d747dcd14b5f: Pulling fs layer [2023-01-17T17:47:04.125Z] 2de7ff778b66: Pulling fs layer [2023-01-17T17:47:04.125Z] 0d9ebad4ef96: Waiting [2023-01-17T17:47:04.125Z] e9a5061849ea: Waiting [2023-01-17T17:47:04.125Z] d747dcd14b5f: Waiting [2023-01-17T17:47:04.125Z] 2de7ff778b66: Waiting [2023-01-17T17:47:04.125Z] 9712f1f96733: Verifying Checksum [2023-01-17T17:47:04.709Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T17:47:04.709Z] 63f879dbbcfc: Download complete [2023-01-17T17:47:04.998Z] e9a5061849ea: Verifying Checksum [2023-01-17T17:47:04.998Z] e9a5061849ea: Download complete [2023-01-17T17:47:04.998Z] d747dcd14b5f: Download complete [2023-01-17T17:47:05.265Z] 0d9ebad4ef96: Verifying Checksum [2023-01-17T17:47:05.265Z] 0d9ebad4ef96: Download complete [2023-01-17T17:47:05.265Z] ab5ef0e58194: Download complete [2023-01-17T17:47:05.265Z] 2de7ff778b66: Verifying Checksum [2023-01-17T17:47:05.265Z] 2de7ff778b66: Download complete [2023-01-17T17:47:07.789Z] ab5ef0e58194: Pull complete [2023-01-17T17:47:07.789Z] 9712f1f96733: Pull complete [2023-01-17T17:47:08.354Z] 63f879dbbcfc: Pull complete [2023-01-17T17:47:11.634Z] 0d9ebad4ef96: Pull complete [2023-01-17T17:47:11.893Z] e9a5061849ea: Pull complete [2023-01-17T17:47:11.893Z] d747dcd14b5f: Pull complete [2023-01-17T17:47:12.826Z] 2de7ff778b66: Pull complete [2023-01-17T17:47:12.826Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T17:47:12.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:47:12.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:47:12.899Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:47:12.939Z] $ 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 [2023-01-17T17:47:14.768Z] $ docker top d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:47:14.826Z] provisioning config files... [2023-01-17T17:47:14.831Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7952334270944952572tmp [2023-01-17T17:47:14.839Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17256036762965085994tmp [2023-01-17T17:47:14.848Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5966425962925480307tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:47:14.863Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:15.146Z] ---> sigul-configuration.sh [2023-01-17T17:47:15.146Z] gpg: directory `/root/.gnupg' created [2023-01-17T17:47:15.146Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T17:47:15.146Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T17:47:15.146Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T17:47:15.146Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T17:47:15.146Z] gpg: CAST5 encrypted data [2023-01-17T17:47:15.146Z] gpg: encrypted with 1 passphrase [2023-01-17T17:47:15.146Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T17:47:15.435Z] + mkdir /home/jenkins [2023-01-17T17:47:15.435Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T17:47:15.720Z] + 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 [2023-01-17T17:47:15.729Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:16.013Z] ---> sigul-install.sh [2023-01-17T17:47:16.013Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T17:47:16.298Z] + git tag --list [2023-01-17T17:47:16.298Z] v0.0.0 [2023-01-17T17:47:16.298Z] v0.0.1-dev.1 [2023-01-17T17:47:16.298Z] v0.0.1-dev.10 [2023-01-17T17:47:16.298Z] v0.0.1-dev.11 [2023-01-17T17:47:16.298Z] v0.0.1-dev.12 [2023-01-17T17:47:16.298Z] v0.0.1-dev.13 [2023-01-17T17:47:16.298Z] v0.0.1-dev.14 [2023-01-17T17:47:16.298Z] v0.0.1-dev.15 [2023-01-17T17:47:16.298Z] v0.0.1-dev.16 [2023-01-17T17:47:16.298Z] v0.0.1-dev.17 [2023-01-17T17:47:16.298Z] v0.0.1-dev.18 [2023-01-17T17:47:16.298Z] v0.0.1-dev.19 [2023-01-17T17:47:16.298Z] v0.0.1-dev.2 [2023-01-17T17:47:16.298Z] v0.0.1-dev.20 [2023-01-17T17:47:16.298Z] v0.0.1-dev.21 [2023-01-17T17:47:16.298Z] v0.0.1-dev.22 [2023-01-17T17:47:16.298Z] v0.0.1-dev.23 [2023-01-17T17:47:16.298Z] v0.0.1-dev.24 [2023-01-17T17:47:16.299Z] v0.0.1-dev.25 [2023-01-17T17:47:16.299Z] v0.0.1-dev.26 [2023-01-17T17:47:16.299Z] v0.0.1-dev.27 [2023-01-17T17:47:16.299Z] v0.0.1-dev.28 [2023-01-17T17:47:16.299Z] v0.0.1-dev.3 [2023-01-17T17:47:16.299Z] v0.0.1-dev.4 [2023-01-17T17:47:16.299Z] v0.0.1-dev.5 [2023-01-17T17:47:16.299Z] v0.0.1-dev.6 [2023-01-17T17:47:16.299Z] v0.0.1-dev.7 [2023-01-17T17:47:16.299Z] v0.0.1-dev.8 [2023-01-17T17:47:16.299Z] v0.0.1-dev.9 [2023-01-17T17:47:16.299Z] v2.2.0 [2023-01-17T17:47:16.299Z] v2.2.0-dev.29 [2023-01-17T17:47:16.299Z] v2.2.0-dev.30 [2023-01-17T17:47:16.299Z] v2.2.0-dev.31 [2023-01-17T17:47:16.299Z] v2.2.0-dev.32 [2023-01-17T17:47:16.299Z] v2.2.0-dev.33 [2023-01-17T17:47:16.299Z] v2.2.0-dev.34 [2023-01-17T17:47:16.299Z] v2.2.0-dev.35 [2023-01-17T17:47:16.299Z] v2.3.0 [2023-01-17T17:47:16.299Z] v2.3.0-dev.1 [2023-01-17T17:47:16.299Z] v2.3.0-dev.10 [2023-01-17T17:47:16.299Z] v2.3.0-dev.11 [2023-01-17T17:47:16.299Z] v2.3.0-dev.12 [2023-01-17T17:47:16.299Z] v2.3.0-dev.13 [2023-01-17T17:47:16.299Z] v2.3.0-dev.14 [2023-01-17T17:47:16.299Z] v2.3.0-dev.15 [2023-01-17T17:47:16.299Z] v2.3.0-dev.16 [2023-01-17T17:47:16.299Z] v2.3.0-dev.17 [2023-01-17T17:47:16.299Z] v2.3.0-dev.18 [2023-01-17T17:47:16.299Z] v2.3.0-dev.19 [2023-01-17T17:47:16.299Z] v2.3.0-dev.2 [2023-01-17T17:47:16.299Z] v2.3.0-dev.20 [2023-01-17T17:47:16.299Z] v2.3.0-dev.21 [2023-01-17T17:47:16.299Z] v2.3.0-dev.22 [2023-01-17T17:47:16.299Z] v2.3.0-dev.23 [2023-01-17T17:47:16.299Z] v2.3.0-dev.24 [2023-01-17T17:47:16.299Z] v2.3.0-dev.25 [2023-01-17T17:47:16.299Z] v2.3.0-dev.26 [2023-01-17T17:47:16.299Z] v2.3.0-dev.27 [2023-01-17T17:47:16.299Z] v2.3.0-dev.28 [2023-01-17T17:47:16.299Z] v2.3.0-dev.29 [2023-01-17T17:47:16.299Z] v2.3.0-dev.3 [2023-01-17T17:47:16.299Z] v2.3.0-dev.30 [2023-01-17T17:47:16.299Z] v2.3.0-dev.31 [2023-01-17T17:47:16.299Z] v2.3.0-dev.32 [2023-01-17T17:47:16.299Z] v2.3.0-dev.33 [2023-01-17T17:47:16.299Z] v2.3.0-dev.34 [2023-01-17T17:47:16.299Z] v2.3.0-dev.35 [2023-01-17T17:47:16.299Z] v2.3.0-dev.36 [2023-01-17T17:47:16.299Z] v2.3.0-dev.37 [2023-01-17T17:47:16.299Z] v2.3.0-dev.38 [2023-01-17T17:47:16.299Z] v2.3.0-dev.39 [2023-01-17T17:47:16.299Z] v2.3.0-dev.4 [2023-01-17T17:47:16.299Z] v2.3.0-dev.40 [2023-01-17T17:47:16.299Z] v2.3.0-dev.41 [2023-01-17T17:47:16.299Z] v2.3.0-dev.42 [2023-01-17T17:47:16.299Z] v2.3.0-dev.43 [2023-01-17T17:47:16.299Z] v2.3.0-dev.44 [2023-01-17T17:47:16.299Z] v2.3.0-dev.45 [2023-01-17T17:47:16.299Z] v2.3.0-dev.5 [2023-01-17T17:47:16.299Z] v2.3.0-dev.6 [2023-01-17T17:47:16.299Z] v2.3.0-dev.7 [2023-01-17T17:47:16.299Z] v2.3.0-dev.8 [2023-01-17T17:47:16.299Z] v2.3.0-dev.9 [2023-01-17T17:47:16.299Z] v2.3.1-dev.1 [2023-01-17T17:47:16.299Z] v3.0.0-dev.1 [2023-01-17T17:47:16.299Z] v3.0.0-dev.2 [2023-01-17T17:47:16.299Z] v3.0.0-dev.3 [2023-01-17T17:47:16.299Z] v3.0.0-dev.4 [2023-01-17T17:47:16.299Z] v3.0.0-dev.5 [2023-01-17T17:47:16.299Z] v3.0.0-dev.6 [2023-01-17T17:47:16.299Z] v3.0.0-dev.7 [2023-01-17T17:47:16.299Z] v3.0.0-dev.8 [Pipeline] sh [2023-01-17T17:47:16.583Z] + lftools sign git-tag v3.0.0-dev.8 [2023-01-17T17:47:17.149Z] Signing Git tag with Sigul... [2023-01-17T17:47:17.149Z] Signing v3.0.0-dev.8 [Pipeline] echo [2023-01-17T17:47:17.415Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:17.699Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T17:47:17.705Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T17:47:17.733Z] $ docker stop --time=1 d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c [2023-01-17T17:47:19.065Z] $ docker rm -f --volumes d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T17:47:19.458Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:47:19.458Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:47:19.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:47:19.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:47:19.845Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:47:19.885Z] $ 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 [2023-01-17T17:47:20.266Z] $ docker top 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 -eo pid,comm [2023-01-17T17:47:20.311Z] 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). [2023-01-17T17:47:20.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:47:20.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:47:20.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:47:20.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:47:20.491Z] $ docker exec 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 ssh-agent [2023-01-17T17:47:20.594Z] SSH_AUTH_SOCK=/tmp/ssh-O83Afc2ayQGw/agent.32 [2023-01-17T17:47:20.594Z] SSH_AGENT_PID=38 [2023-01-17T17:47:20.599Z] Running ssh-add (command line suppressed) [2023-01-17T17:47:20.721Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18315286431566414903.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18315286431566414903.key) [2023-01-17T17:47:20.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:47:21.014Z] + git semver bump pre [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [bump_version] DEBUG bumped version:3.0.0-dev.9 [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,219 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,221 [execute] INFO git cat-file --batch-check [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,228 [execute] INFO git cat-file --batch [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:47:21.274Z] 2023-01-17 17:47:21,234 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:21.274Z] 3.0.0-dev.9 [Pipeline] } [2023-01-17T17:47:21.292Z] $ docker exec --env ******** --env ******** 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 ssh-agent -k [2023-01-17T17:47:21.393Z] unset SSH_AUTH_SOCK; [2023-01-17T17:47:21.393Z] unset SSH_AGENT_PID; [2023-01-17T17:47:21.393Z] echo Agent pid 38 killed; [2023-01-17T17:47:21.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:47:21.700Z] + git semver [Pipeline] } [2023-01-17T17:47:21.981Z] $ docker stop --time=1 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 [2023-01-17T17:47:23.278Z] $ docker rm -f --volumes 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:47:23.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:47:23.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:47:23.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:47:23.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:47:23.998Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:47:24.039Z] $ 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 [2023-01-17T17:47:24.419Z] $ docker top 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:47:24.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:47:24.516Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:47:24.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:47:24.644Z] $ docker exec 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 ssh-agent [2023-01-17T17:47:24.749Z] SSH_AUTH_SOCK=/tmp/ssh-a0ON7g7malfS/agent.31 [2023-01-17T17:47:24.749Z] SSH_AGENT_PID=37 [2023-01-17T17:47:24.754Z] Running ssh-add (command line suppressed) [2023-01-17T17:47:24.861Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11725738385252555244.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11725738385252555244.key) [2023-01-17T17:47:24.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:47:25.154Z] + git semver push [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,328 [run_push] DEBUG push [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,329 [execute] INFO git cat-file --batch-check [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,334 [execute] INFO git rev-list 30df2e4eb9dcef3d3f8cc36c4db5287cc458f264 -- [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,334 [execute] DEBUG Popen(['git', 'rev-list', '30df2e4eb9dcef3d3f8cc36c4db5287cc458f264', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,341 [execute] INFO git fetch -v origin [2023-01-17T17:47:25.413Z] 2023-01-17 17:47:25,342 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T17:47:25.982Z] 2023-01-17 17:47:25,873 [run_push] DEBUG no remote changes detected [2023-01-17T17:47:25.982Z] 2023-01-17 17:47:25,874 [execute] INFO git push origin semver [2023-01-17T17:47:25.982Z] 2023-01-17 17:47:25,874 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:47:26.918Z] 2023-01-17 17:47:26,663 [run_push] DEBUG push all version tags [2023-01-17T17:47:26.918Z] 2023-01-17 17:47:26,664 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T17:47:26.918Z] 2023-01-17 17:47:26,664 [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) [2023-01-17T17:47:27.486Z] 2023-01-17 17:47:27,448 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-01-17T17:47:27.486Z] 3.0.0-dev.9 [Pipeline] } [2023-01-17T17:47:27.503Z] $ docker exec --env ******** --env ******** 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 ssh-agent -k [2023-01-17T17:47:27.595Z] unset SSH_AUTH_SOCK; [2023-01-17T17:47:27.595Z] unset SSH_AGENT_PID; [2023-01-17T17:47:27.595Z] echo Agent pid 37 killed; [2023-01-17T17:47:27.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:47:27.891Z] + git semver [Pipeline] } [2023-01-17T17:47:28.199Z] $ docker stop --time=1 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 [2023-01-17T17:47:29.524Z] $ docker rm -f --volumes 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 [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 [2023-01-17T17:47:30.147Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-01-17T17:47:30.147Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-01-17T17:47:30.147Z] total 16 [2023-01-17T17:47:30.147Z] drwxr-xr-x 3 root root 4096 Jan 17 17:36 . [2023-01-17T17:47:30.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:47 .. [2023-01-17T17:47:30.147Z] drwxr-xr-x 2 root root 4096 Jan 17 17:36 cost [2023-01-17T17:47:30.147Z] -rw-r--r-- 1 root root 90 Jan 17 17:36 cost.csv [2023-01-17T17:47:30.147Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-01-17T17:47:30.147Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-01-17T17:47:30.147Z] total 16 [2023-01-17T17:47:30.147Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:36 . [2023-01-17T17:47:30.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:47 .. [2023-01-17T17:47:30.147Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:36 cost [2023-01-17T17:47:30.147Z] -rw-r--r-- 1 jenkins jenkins 90 Jan 17 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:30.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:31.327Z] ---> package-listing.sh [2023-01-17T17:47:31.327Z] ++ facter osfamily [2023-01-17T17:47:31.328Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T17:47:31.586Z] + OS_FAMILY=debian [2023-01-17T17:47:31.586Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-01-17T17:47:31.586Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T17:47:31.586Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T17:47:31.586Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T17:47:31.586Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T17:47:31.586Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-01-17T17:47:31.586Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T17:47:31.586Z] + case "${OS_FAMILY}" in [2023-01-17T17:47:31.586Z] + dpkg -l [2023-01-17T17:47:31.586Z] + grep '^ii' [2023-01-17T17:47:31.586Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T17:47:31.586Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T17:47:31.586Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T17:47:31.586Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-01-17T17:47:31.586Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-01-17T17:47:31.586Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-01-17T17:47:31.599Z] 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 [2023-01-17T17:47:31.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:47:32.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:47:32.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:47:32.498Z] prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container [2023-01-17T17:47:32.536Z] $ 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 [2023-01-17T17:47:32.744Z] $ docker top 1741f8856504a04d8e98517a12dda47dcfb5c7da711313e5e37bce50666c8c48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:47:33.076Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T17:47:33.364Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T17:47:33.652Z] + ls /var/log/sa-host [2023-01-17T17:47:33.652Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:47:33.721Z] provisioning config files... [2023-01-17T17:47:33.730Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2708589953683188810tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:47:33.746Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:34.029Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T17:47:34.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:34.351Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T17:47:34.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:34.642Z] ---> sudo-logs.sh [2023-01-17T17:47:34.642Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T17:47:34.667Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:34.948Z] ---> job-cost.sh [2023-01-17T17:47:34.948Z] lf-activate-venv: SKIPPING [2023-01-17T17:47:34.948Z] DEBUG: total: 0.2199999988079071 [2023-01-17T17:47:34.948Z] INFO: Retrieving Stack Cost... [2023-01-17T17:47:35.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:47:35.774Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T17:47:35.788Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:47:36.072Z] ---> logs-deploy.sh [2023-01-17T17:47:36.072Z] lf-activate-venv: SKIPPING [2023-01-17T17:47:36.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/97 [2023-01-17T17:47:36.072Z] INFO: archiving workspace using pattern(s): [2023-01-17T17:47:37.009Z] Archives upload complete. [2023-01-17T17:47:37.009Z] INFO: archiving logs to Nexus