Pull request #126 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 8c17f5294548a6b08ce5c02b53430cb6291fe112 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh3673523242851443895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5399352076003123518.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-126/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/PR-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12911610700410519499.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18315813528379797074.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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/PR-126/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/PR-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11168122701724654359.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22250’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22253 in /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-126 # 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 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 8c17f5294548a6b08ce5c02b53430cb6291fe112 Merge succeeded, producing 8c17f5294548a6b08ce5c02b53430cb6291fe112 Checking out Revision 8c17f5294548a6b08ce5c02b53430cb6291fe112 (PR-126) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c17f5294548a6b08ce5c02b53430cb6291fe112 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c17f5294548a6b08ce5c02b53430cb6291fe112 # timeout=10 Commit message: "docs: small diagram tweaks and use dropdowns in creds" > git rev-list --no-walk 19cab425071b0e95c8afb791830f939e435b3f19 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T20:12:39.705Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T20:12:39.769Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T20:12:39.789Z] ========================================================= [2022-08-09T20:12:39.789Z] EdgeX Global Pipelines Version Info [2022-08-09T20:12:39.789Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:12:40.548Z] ------------------- [2022-08-09T20:12:40.548Z] stable info: [2022-08-09T20:12:40.548Z] ------------------- [2022-08-09T20:12:40.548Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T20:12:40.548Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T20:12:40.548Z] Message: update stable to v1.0.238 [2022-08-09T20:12:41.120Z] ------------------- [2022-08-09T20:12:41.120Z] experimental info: [2022-08-09T20:12:41.120Z] ------------------- [2022-08-09T20:12:41.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T20:12:41.120Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T20:12:41.120Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T20:12:41.308Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-09T20:12:41.329Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-09T20:12:41.347Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T20:12:41.366Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T20:12:41.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T20:12:41.405Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T20:12:41.417Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T20:12:41.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T20:12:41.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T20:12:41.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T20:12:41.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T20:12:41.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-09T20:12:41.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T20:12:41.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T20:12:41.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T20:12:41.537Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T20:12:41.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T20:12:41.561Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T20:12:41.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T20:12:41.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T20:12:41.607Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T20:12:41.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T20:12:41.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T20:12:41.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T20:12:41.655Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T20:12:41.667Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T20:12:41.678Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T20:12:41.691Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo [2022-08-09T20:12:41.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo [2022-08-09T20:12:41.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo [2022-08-09T20:12:41.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c17f5294548a6b08ce5c02b53430cb6291fe112 [Pipeline] echo [2022-08-09T20:12:41.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c17f52 [Pipeline] echo [2022-08-09T20:12:41.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T20:12:41.811Z] provisioning config files... [2022-08-09T20:12:41.824Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config3993823344435411033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:12:42.144Z] ---> docker-login.sh [2022-08-09T20:12:42.144Z] nexus3.edgexfoundry.org:10001 [2022-08-09T20:12:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:42.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:42.673Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:42.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:42.673Z] [2022-08-09T20:12:42.673Z] Login Succeeded [2022-08-09T20:12:42.673Z] nexus3.edgexfoundry.org:10002 [2022-08-09T20:12:42.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:42.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:42.673Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:42.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:42.673Z] [2022-08-09T20:12:42.673Z] Login Succeeded [2022-08-09T20:12:42.673Z] nexus3.edgexfoundry.org:10003 [2022-08-09T20:12:42.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:42.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:42.940Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:42.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:42.940Z] [2022-08-09T20:12:42.940Z] Login Succeeded [2022-08-09T20:12:42.940Z] nexus3.edgexfoundry.org:10004 [2022-08-09T20:12:42.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:43.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:43.205Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:43.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:43.205Z] [2022-08-09T20:12:43.205Z] Login Succeeded [2022-08-09T20:12:43.205Z] docker.io [2022-08-09T20:12:43.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:43.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:43.469Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:43.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:43.469Z] [2022-08-09T20:12:43.469Z] Login Succeeded [2022-08-09T20:12:43.469Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T20:12:43.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T20:12:43.861Z] + git rev-list -1 --merges 8c17f5294548a6b08ce5c02b53430cb6291fe112~1..8c17f5294548a6b08ce5c02b53430cb6291fe112 [Pipeline] echo [2022-08-09T20:12:43.907Z] -----------> git rev-list -1 --merges 8c17f5294548a6b08ce5c02b53430cb6291fe112~1..8c17f5294548a6b08ce5c02b53430cb6291fe112 8c17f5294548a6b08ce5c02b53430cb6291fe112 [false] [Pipeline] sh [2022-08-09T20:12:44.201Z] + git log --format=format:%s -1 8c17f5294548a6b08ce5c02b53430cb6291fe112 [Pipeline] echo [2022-08-09T20:12:44.218Z] ========================================================= [2022-08-09T20:12:44.218Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T20:12:44.218Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T20:12:44.557Z] + git log --format=format:%s -1 8c17f5294548a6b08ce5c02b53430cb6291fe112 [Pipeline] echo [2022-08-09T20:12:44.570Z] [semverPrep] GIT_COMMIT: 8c17f5294548a6b08ce5c02b53430cb6291fe112, Commit Message: docs: small diagram tweaks and use dropdowns in creds [Pipeline] echo [2022-08-09T20:12:44.581Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T20:12:44.933Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T20:12:44.934Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T20:12:44.934Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T20:12:44.934Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T20:12:44.934Z] + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2022-08-09T20:12:44.934Z] [2022-08-09T20:12:44.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:12:45.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T20:12:45.292Z] [2022-08-09T20:12:45.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:12:45.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T20:12:45.600Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T20:12:45.600Z] b85a868b505f: Pulling fs layer [2022-08-09T20:12:45.600Z] e2be974225ed: Pulling fs layer [2022-08-09T20:12:45.600Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T20:12:45.600Z] 988bab9f4d93: Pulling fs layer [2022-08-09T20:12:45.600Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T20:12:45.600Z] eaf3925da568: Pulling fs layer [2022-08-09T20:12:45.600Z] bab4dde63d76: Pulling fs layer [2022-08-09T20:12:45.600Z] bde34c3a00c8: Pulling fs layer [2022-08-09T20:12:45.600Z] b352a97aabf1: Pulling fs layer [2022-08-09T20:12:45.600Z] 4872d77fe225: Pulling fs layer [2022-08-09T20:12:45.600Z] 5851b861e8e6: Pulling fs layer [2022-08-09T20:12:45.600Z] 1469e6f7b9e6: Waiting [2022-08-09T20:12:45.600Z] eaf3925da568: Waiting [2022-08-09T20:12:45.600Z] bab4dde63d76: Waiting [2022-08-09T20:12:45.600Z] 5851b861e8e6: Waiting [2022-08-09T20:12:45.600Z] bde34c3a00c8: Waiting [2022-08-09T20:12:45.600Z] b352a97aabf1: Waiting [2022-08-09T20:12:45.600Z] 4872d77fe225: Waiting [2022-08-09T20:12:45.600Z] 988bab9f4d93: Waiting [2022-08-09T20:12:45.600Z] e2be974225ed: Verifying Checksum [2022-08-09T20:12:45.600Z] e2be974225ed: Download complete [2022-08-09T20:12:45.600Z] 988bab9f4d93: Verifying Checksum [2022-08-09T20:12:45.600Z] 988bab9f4d93: Download complete [2022-08-09T20:12:45.861Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T20:12:45.861Z] 339a4e72a1f5: Download complete [2022-08-09T20:12:45.861Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T20:12:45.861Z] 1469e6f7b9e6: Download complete [2022-08-09T20:12:45.861Z] eaf3925da568: Verifying Checksum [2022-08-09T20:12:45.861Z] eaf3925da568: Download complete [2022-08-09T20:12:45.861Z] bde34c3a00c8: Verifying Checksum [2022-08-09T20:12:45.861Z] bde34c3a00c8: Download complete [2022-08-09T20:12:45.861Z] b352a97aabf1: Download complete [2022-08-09T20:12:45.861Z] 4872d77fe225: Download complete [2022-08-09T20:12:45.861Z] 5851b861e8e6: Verifying Checksum [2022-08-09T20:12:45.861Z] 5851b861e8e6: Download complete [2022-08-09T20:12:45.861Z] b85a868b505f: Verifying Checksum [2022-08-09T20:12:45.861Z] b85a868b505f: Download complete [2022-08-09T20:12:46.121Z] bab4dde63d76: Verifying Checksum [2022-08-09T20:12:46.121Z] bab4dde63d76: Download complete [2022-08-09T20:12:47.504Z] b85a868b505f: Pull complete [2022-08-09T20:12:47.504Z] e2be974225ed: Pull complete [2022-08-09T20:12:48.078Z] 339a4e72a1f5: Pull complete [2022-08-09T20:12:48.079Z] 988bab9f4d93: Pull complete [2022-08-09T20:12:48.340Z] 1469e6f7b9e6: Pull complete [2022-08-09T20:12:48.340Z] eaf3925da568: Pull complete [2022-08-09T20:12:50.257Z] bab4dde63d76: Pull complete [2022-08-09T20:12:50.518Z] bde34c3a00c8: Pull complete [2022-08-09T20:12:50.518Z] b352a97aabf1: Pull complete [2022-08-09T20:12:50.779Z] 4872d77fe225: Pull complete [2022-08-09T20:12:50.779Z] 5851b861e8e6: Pull complete [2022-08-09T20:12:50.779Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T20:12:50.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T20:12:50.779Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:12:50.888Z] prd-ubuntu20.04-docker-8c-8g-22253 does not seem to be running inside a container [2022-08-09T20:12:50.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-09T20:12:52.847Z] $ docker top 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 -eo pid,comm [2022-08-09T20:12:52.913Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-09T20:12:52.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T20:12:52.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T20:12:52.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T20:12:53.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T20:12:53.116Z] $ docker exec 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 ssh-agent [2022-08-09T20:12:53.248Z] SSH_AUTH_SOCK=/tmp/ssh-TclPT2xGlyS7/agent.32 [2022-08-09T20:12:53.248Z] SSH_AGENT_PID=39 [2022-08-09T20:12:53.256Z] Running ssh-add (command line suppressed) [2022-08-09T20:12:53.398Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_3512750190742299604.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_3512750190742299604.key) [2022-08-09T20:12:53.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T20:12:53.701Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T20:12:53.722Z] $ docker exec --env ******** --env ******** 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 ssh-agent -k [2022-08-09T20:12:53.847Z] unset SSH_AUTH_SOCK; [2022-08-09T20:12:53.847Z] unset SSH_AGENT_PID; [2022-08-09T20:12:53.847Z] echo Agent pid 39 killed; [2022-08-09T20:12:53.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T20:12:53.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T20:12:53.879Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T20:12:54.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T20:12:54.039Z] $ docker exec 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 ssh-agent [2022-08-09T20:12:54.169Z] SSH_AUTH_SOCK=/tmp/ssh-BcfRM3G5PueP/agent.71 [2022-08-09T20:12:54.169Z] SSH_AGENT_PID=77 [2022-08-09T20:12:54.177Z] Running ssh-add (command line suppressed) [2022-08-09T20:12:54.310Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_5977718407010841457.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_5977718407010841457.key) [2022-08-09T20:12:54.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T20:12:54.613Z] + git semver init [2022-08-09T20:12:54.881Z] 2022-08-09 20:12:54,854 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T20:12:54.881Z] 2022-08-09 20:12:54,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-09T20:12:54.881Z] 2022-08-09 20:12:54,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-09T20:12:54.881Z] 2022-08-09 20:12:54,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-126/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-126, universal_newlines=False, shell=None, istream=None) [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,696 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-126/.git/info/exclude [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,697 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 with force:False [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,697 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,702 [execute] INFO git cat-file --batch-check [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,711 [execute] INFO git cat-file --batch [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T20:12:55.840Z] 2022-08-09 20:12:55,718 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-09T20:12:55.840Z] 0.0.0 [Pipeline] } [2022-08-09T20:12:55.857Z] $ docker exec --env ******** --env ******** 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 ssh-agent -k [2022-08-09T20:12:55.979Z] unset SSH_AUTH_SOCK; [2022-08-09T20:12:55.980Z] unset SSH_AGENT_PID; [2022-08-09T20:12:55.980Z] echo Agent pid 77 killed; [2022-08-09T20:12:55.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T20:12:56.296Z] + git semver [Pipeline] } [2022-08-09T20:12:56.896Z] $ docker stop --time=1 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 [2022-08-09T20:12:58.324Z] $ docker rm -f 30da5e1ae540f5dbb64dc8ecef027d2ff8ef28493f0b25efbc1c51de3af233b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T20:12:58.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T20:12:58.937Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T20:12:58.941Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T20:12:59.055Z] provisioning config files... [2022-08-09T20:12:59.070Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config5686421073300363615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:12:59.385Z] ---> docker-login.sh [2022-08-09T20:12:59.385Z] nexus3.edgexfoundry.org:10001 [2022-08-09T20:12:59.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:59.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:59.385Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:59.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:59.385Z] [2022-08-09T20:12:59.385Z] Login Succeeded [2022-08-09T20:12:59.385Z] nexus3.edgexfoundry.org:10002 [2022-08-09T20:12:59.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:59.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:59.648Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:59.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:59.648Z] [2022-08-09T20:12:59.648Z] Login Succeeded [2022-08-09T20:12:59.648Z] nexus3.edgexfoundry.org:10003 [2022-08-09T20:12:59.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:59.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:59.648Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:59.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:59.648Z] [2022-08-09T20:12:59.648Z] Login Succeeded [2022-08-09T20:12:59.648Z] nexus3.edgexfoundry.org:10004 [2022-08-09T20:12:59.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:12:59.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:12:59.911Z] Configure a credential helper to remove this warning. See [2022-08-09T20:12:59.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:12:59.911Z] [2022-08-09T20:12:59.911Z] Login Succeeded [2022-08-09T20:12:59.911Z] docker.io [2022-08-09T20:12:59.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:13:00.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:13:00.175Z] Configure a credential helper to remove this warning. See [2022-08-09T20:13:00.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:13:00.175Z] [2022-08-09T20:13:00.175Z] Login Succeeded [2022-08-09T20:13:00.175Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T20:13:00.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T20:13:00.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T20:13:00.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T20:13:00.274Z] ========================================================= [2022-08-09T20:13:00.274Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T20:13:00.274Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:13:00.612Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T20:13:00.612Z] Sending build context to Docker daemon 20.11MB [2022-08-09T20:13:00.612Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T20:13:00.612Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T20:13:00.900Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T20:13:00.900Z] 2408cc74d12b: Pulling fs layer [2022-08-09T20:13:00.900Z] ea60b727a1ce: Pulling fs layer [2022-08-09T20:13:00.900Z] 30c4a7721957: Pulling fs layer [2022-08-09T20:13:00.900Z] 370296b7ddb6: Pulling fs layer [2022-08-09T20:13:00.900Z] 7c6cee850709: Pulling fs layer [2022-08-09T20:13:00.900Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T20:13:00.900Z] d94ebbe4e438: Pulling fs layer [2022-08-09T20:13:00.900Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T20:13:00.900Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T20:13:00.900Z] 39a5fcdaea64: Waiting [2022-08-09T20:13:00.900Z] bcfd1f05c69d: Waiting [2022-08-09T20:13:00.900Z] 59ccb84bbe0f: Waiting [2022-08-09T20:13:00.900Z] d94ebbe4e438: Waiting [2022-08-09T20:13:00.900Z] 370296b7ddb6: Waiting [2022-08-09T20:13:00.900Z] 7c6cee850709: Waiting [2022-08-09T20:13:00.900Z] 30c4a7721957: Download complete [2022-08-09T20:13:00.900Z] ea60b727a1ce: Download complete [2022-08-09T20:13:00.900Z] 7c6cee850709: Verifying Checksum [2022-08-09T20:13:00.900Z] 7c6cee850709: Download complete [2022-08-09T20:13:00.900Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T20:13:00.900Z] 39a5fcdaea64: Download complete [2022-08-09T20:13:00.900Z] 2408cc74d12b: Verifying Checksum [2022-08-09T20:13:00.900Z] d94ebbe4e438: Verifying Checksum [2022-08-09T20:13:00.900Z] d94ebbe4e438: Download complete [2022-08-09T20:13:01.171Z] 2408cc74d12b: Pull complete [2022-08-09T20:13:01.171Z] ea60b727a1ce: Pull complete [2022-08-09T20:13:01.171Z] 30c4a7721957: Pull complete [2022-08-09T20:13:01.433Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T20:13:01.433Z] 59ccb84bbe0f: Download complete [2022-08-09T20:13:01.693Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T20:13:01.693Z] bcfd1f05c69d: Download complete [2022-08-09T20:13:01.693Z] 370296b7ddb6: Download complete [2022-08-09T20:13:05.934Z] 370296b7ddb6: Pull complete [2022-08-09T20:13:05.934Z] 7c6cee850709: Pull complete [2022-08-09T20:13:06.195Z] 39a5fcdaea64: Pull complete [2022-08-09T20:13:06.195Z] d94ebbe4e438: Pull complete [2022-08-09T20:13:08.754Z] bcfd1f05c69d: Pull complete [2022-08-09T20:13:09.325Z] 59ccb84bbe0f: Pull complete [2022-08-09T20:13:09.325Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T20:13:09.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T20:13:09.325Z] ---> a4fb48ad2a94 [2022-08-09T20:13:09.325Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T20:13:13.567Z] ---> Running in a18333fbccf3 [2022-08-09T20:13:13.567Z] Removing intermediate container a18333fbccf3 [2022-08-09T20:13:13.567Z] ---> a30d97c0e06d [2022-08-09T20:13:13.567Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T20:13:13.567Z] ---> Running in 19f5856a11c9 [2022-08-09T20:13:13.567Z] Removing intermediate container 19f5856a11c9 [2022-08-09T20:13:13.567Z] ---> c015e0d2a9ee [2022-08-09T20:13:13.567Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T20:13:13.567Z] ---> Running in d6bdc4e3fc45 [2022-08-09T20:13:13.567Z] Removing intermediate container d6bdc4e3fc45 [2022-08-09T20:13:13.567Z] ---> 91e1b79037c8 [2022-08-09T20:13:13.567Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T20:13:13.567Z] ---> Running in db5c3360ff42 [2022-08-09T20:13:13.567Z] Removing intermediate container db5c3360ff42 [2022-08-09T20:13:13.567Z] ---> 3afeb260c608 [2022-08-09T20:13:13.567Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T20:13:13.567Z] ---> Running in cafa42b4d6a9 [2022-08-09T20:13:13.828Z] Removing intermediate container cafa42b4d6a9 [2022-08-09T20:13:13.828Z] ---> 7f60de2f4c1c [2022-08-09T20:13:13.828Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T20:13:13.828Z] ---> Running in 7cfc13d65803 [2022-08-09T20:13:14.026Z] Still waiting to schedule task [2022-08-09T20:13:14.027Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-09T20:13:14.091Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T20:13:15.054Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T20:13:15.629Z] OK: 211 MiB in 51 packages [2022-08-09T20:13:15.894Z] Removing intermediate container 7cfc13d65803 [2022-08-09T20:13:15.894Z] ---> 26e4a2912fd2 [2022-08-09T20:13:15.894Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T20:13:15.894Z] ---> Running in db538bb38ab7 [2022-08-09T20:13:15.894Z] Removing intermediate container db538bb38ab7 [2022-08-09T20:13:15.894Z] ---> 4f9a26e29fd0 [2022-08-09T20:13:15.894Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T20:13:16.154Z] ---> 5be4071f2a9a [2022-08-09T20:13:16.154Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T20:13:16.154Z] ---> Running in 063676b128f9 [2022-08-09T20:13:54.914Z] Removing intermediate container 063676b128f9 [2022-08-09T20:13:54.914Z] ---> 149f32ca57e5 [2022-08-09T20:13:54.914Z] Step 12/13 : COPY . . [2022-08-09T20:13:55.857Z] ---> 2b204ab768cc [2022-08-09T20:13:55.857Z] Step 13/13 : RUN ${MAKE} [2022-08-09T20:13:55.857Z] ---> Running in c4280560e5ad [2022-08-09T20:13:56.117Z] noop [2022-08-09T20:13:56.379Z] Removing intermediate container c4280560e5ad [2022-08-09T20:13:56.379Z] ---> 190423a7f666 [2022-08-09T20:13:56.379Z] Successfully built 190423a7f666 [2022-08-09T20:13:56.379Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:13:56.696Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T20:13:56.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:13:56.795Z] prd-ubuntu20.04-docker-8c-8g-22253 does not seem to be running inside a container [2022-08-09T20:13:56.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T20:13:57.233Z] $ docker top 4e0366904b891db0f3992bdd80f27379c67b43fca02acb400f34c8ef830319a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T20:13:57.596Z] + go version [2022-08-09T20:13:57.596Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T20:13:57.614Z] $ docker stop --time=1 4e0366904b891db0f3992bdd80f27379c67b43fca02acb400f34c8ef830319a8 [2022-08-09T20:13:58.933Z] $ docker rm -f 4e0366904b891db0f3992bdd80f27379c67b43fca02acb400f34c8ef830319a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:13:59.391Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T20:13:59.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:13:59.495Z] prd-ubuntu20.04-docker-8c-8g-22253 does not seem to be running inside a container [2022-08-09T20:13:59.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T20:13:59.962Z] $ docker top cfe78fa261614f710b28da2e9e1bf50e7d14584454caddbd56309ac867d94719 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T20:14:00.335Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] fileExists [Pipeline] sh [2022-08-09T20:14:00.637Z] + make test [2022-08-09T20:14:00.637Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T20:14:00.896Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T20:14:13.120Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T20:14:13.120Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.022s coverage: 10.6% of statements [2022-08-09T20:14:13.120Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T20:14:16.417Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.884s coverage: 13.8% of statements [2022-08-09T20:14:24.550Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T20:14:27.842Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T20:14:27.842Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T20:14:27.842Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T20:14:28.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T20:14:28.438Z] $ docker stop --time=1 cfe78fa261614f710b28da2e9e1bf50e7d14584454caddbd56309ac867d94719 [2022-08-09T20:14:30.835Z] $ docker rm -f cfe78fa261614f710b28da2e9e1bf50e7d14584454caddbd56309ac867d94719 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T20:14:31.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T20:14:31.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T20:14:31.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T20:14:32.165Z] + ls -al . [2022-08-09T20:14:32.165Z] total 232 [2022-08-09T20:14:32.165Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 20:14 . [2022-08-09T20:14:32.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:12 .. [2022-08-09T20:14:32.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 20:14 .git [2022-08-09T20:14:32.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:12 .github [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 20:12 .gitignore [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 20:12 .golangci.yml [2022-08-09T20:14:32.165Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 20:12 .semver [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 20:12 Attribution.txt [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 20:12 CHANGELOG.md [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 20:12 Dockerfile [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 20:12 GOVERNANCE.md [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 20:12 Jenkinsfile [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 20:12 LICENSE [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 9 20:12 Makefile [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 20:12 OWNERS.md [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 20:12 README.md [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 20:12 VERSION [2022-08-09T20:14:32.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:12 bin [2022-08-09T20:14:32.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:12 cmd [2022-08-09T20:14:32.165Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 20:14 coverage.out [2022-08-09T20:14:32.165Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 20:12 doc [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 20:12 go.mod [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 20:12 go.sum [2022-08-09T20:14:32.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:12 internal [2022-08-09T20:14:32.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:12 snap [2022-08-09T20:14:32.165Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:14:32.483Z] + 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=8c17f5294548a6b08ce5c02b53430cb6291fe112 --label arch=amd64 --label version=0.0.0 . [2022-08-09T20:14:32.483Z] Sending build context to Docker daemon 20.18MB [2022-08-09T20:14:32.483Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T20:14:32.483Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T20:14:32.483Z] ---> 190423a7f666 [2022-08-09T20:14:32.483Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T20:14:32.743Z] ---> Running in c2ef9f237cf9 [2022-08-09T20:14:33.005Z] Removing intermediate container c2ef9f237cf9 [2022-08-09T20:14:33.005Z] ---> dd3edc1ef145 [2022-08-09T20:14:33.005Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T20:14:33.005Z] ---> Running in d215518eda56 [2022-08-09T20:14:33.005Z] Removing intermediate container d215518eda56 [2022-08-09T20:14:33.005Z] ---> cb53ea5be5cc [2022-08-09T20:14:33.005Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T20:14:33.005Z] ---> Running in 55a5b9acc5bc [2022-08-09T20:14:33.005Z] Removing intermediate container 55a5b9acc5bc [2022-08-09T20:14:33.005Z] ---> 90eeabb9b506 [2022-08-09T20:14:33.005Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T20:14:33.005Z] ---> Running in 6e50ca379d75 [2022-08-09T20:14:33.266Z] Removing intermediate container 6e50ca379d75 [2022-08-09T20:14:33.266Z] ---> d6ce89e1f6a9 [2022-08-09T20:14:33.266Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T20:14:33.266Z] ---> Running in 2ea4204fddae [2022-08-09T20:14:33.837Z] Removing intermediate container 2ea4204fddae [2022-08-09T20:14:33.837Z] ---> e356d0ab9dda [2022-08-09T20:14:33.837Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T20:14:33.837Z] ---> Running in ac3e11875fd7 [2022-08-09T20:14:34.099Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T20:14:35.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T20:14:35.305Z] OK: 211 MiB in 51 packages [2022-08-09T20:14:35.565Z] Removing intermediate container ac3e11875fd7 [2022-08-09T20:14:35.565Z] ---> 8c9fa8ea272b [2022-08-09T20:14:35.566Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T20:14:35.566Z] ---> Running in bed429bc4961 [2022-08-09T20:14:35.825Z] Removing intermediate container bed429bc4961 [2022-08-09T20:14:35.825Z] ---> 9cc75d769752 [2022-08-09T20:14:35.825Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T20:14:35.825Z] ---> fa2cbfd7fd42 [2022-08-09T20:14:35.825Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T20:14:35.825Z] ---> Running in bf1714476ef3 [2022-08-09T20:14:36.765Z] Removing intermediate container bf1714476ef3 [2022-08-09T20:14:36.766Z] ---> bf295bdd2c19 [2022-08-09T20:14:36.766Z] Step 12/26 : COPY . . [2022-08-09T20:14:37.337Z] ---> 59a97193a80d [2022-08-09T20:14:37.337Z] Step 13/26 : RUN ${MAKE} [2022-08-09T20:14:37.337Z] ---> Running in 6085a5f88609 [2022-08-09T20:14:37.595Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T20:14:45.520Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22254 in /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] { [Pipeline] ws [2022-08-09T20:14:45.535Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-08-09T20:14:45.578Z] Selected Git installation does not exist. Using Default [2022-08-09T20:14:45.578Z] The recommended git tool is: NONE [2022-08-09T20:14:52.263Z] using credential edgex-jenkins-ssh [2022-08-09T20:14:52.279Z] Cloning the remote Git repository [2022-08-09T20:14:52.326Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T20:14:52.391Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-08-09T20:14:52.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T20:14:52.467Z] > git --version # timeout=10 [2022-08-09T20:14:52.486Z] > git --version # 'git version 2.25.1' [2022-08-09T20:14:52.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T20:14:52.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T20:14:54.520Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 8c17f5294548a6b08ce5c02b53430cb6291fe112 [2022-08-09T20:14:54.844Z] Merge succeeded, producing 8c17f5294548a6b08ce5c02b53430cb6291fe112 [2022-08-09T20:14:54.844Z] Checking out Revision 8c17f5294548a6b08ce5c02b53430cb6291fe112 (PR-126) [2022-08-09T20:14:53.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T20:14:53.932Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T20:14:53.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T20:14:53.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T20:14:54.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T20:14:54.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T20:14:54.540Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T20:14:54.554Z] > git checkout -f 8c17f5294548a6b08ce5c02b53430cb6291fe112 # timeout=10 [2022-08-09T20:14:54.760Z] > git remote # timeout=10 [2022-08-09T20:14:54.777Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T20:14:54.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T20:14:54.802Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-09T20:14:54.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T20:14:54.852Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T20:14:54.871Z] > git checkout -f 8c17f5294548a6b08ce5c02b53430cb6291fe112 # timeout=10 [2022-08-09T20:14:59.175Z] Commit message: "docs: small diagram tweaks and use dropdowns in creds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T20:15:00.281Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T20:15:00.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T20:15:00.281Z] Dload Upload Total Spent Left Speed [2022-08-09T20:15:00.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 75195 0 --:--:-- --:--:-- --:--:-- 75656 [Pipeline] sh [2022-08-09T20:15:01.049Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T20:15:01.397Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T20:15:01.397Z] + sudo tee /etc/docker/daemon.new [2022-08-09T20:15:01.397Z] { [2022-08-09T20:15:01.397Z] "registry-mirrors": [ [2022-08-09T20:15:01.397Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T20:15:01.397Z] ], [2022-08-09T20:15:01.397Z] "bip": "10.250.0.254/24", [2022-08-09T20:15:01.397Z] "hosts": [ [2022-08-09T20:15:01.397Z] "tcp://0.0.0.0:5555", [2022-08-09T20:15:01.397Z] "unix:///var/run/docker.sock" [2022-08-09T20:15:01.397Z] ], [2022-08-09T20:15:01.397Z] "mtu": 1458, [2022-08-09T20:15:01.397Z] "selinux-enabled": true, [2022-08-09T20:15:01.397Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T20:15:01.397Z] } [Pipeline] sh [2022-08-09T20:15:01.752Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T20:15:02.094Z] + sudo service docker restart [2022-08-09T20:15:04.163Z] Removing intermediate container 6085a5f88609 [2022-08-09T20:15:04.163Z] ---> 5f327449c415 [2022-08-09T20:15:04.163Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T20:15:04.163Z] 3.15: Pulling from library/alpine [2022-08-09T20:15:04.163Z] 9621f1afde84: Pulling fs layer [2022-08-09T20:15:04.163Z] 9621f1afde84: Verifying Checksum [2022-08-09T20:15:04.163Z] 9621f1afde84: Download complete [2022-08-09T20:15:04.163Z] 9621f1afde84: Pull complete [2022-08-09T20:15:04.163Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-08-09T20:15:04.163Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T20:15:04.163Z] ---> c4fc93816858 [2022-08-09T20:15:04.163Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T20:15:04.163Z] ---> Running in 3d517acc4334 [2022-08-09T20:15:04.163Z] Removing intermediate container 3d517acc4334 [2022-08-09T20:15:04.163Z] ---> 9ece728ee1bf [2022-08-09T20:15:04.163Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T20:15:04.163Z] ---> Running in 7c6d03fe4754 [2022-08-09T20:15:04.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-09T20:15:04.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-09T20:15:04.163Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T20:15:04.163Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T20:15:04.163Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T20:15:04.163Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T20:15:04.163Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T20:15:04.163Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T20:15:04.163Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T20:15:04.163Z] OK: 8 MiB in 20 packages [2022-08-09T20:15:04.163Z] Removing intermediate container 7c6d03fe4754 [2022-08-09T20:15:04.163Z] ---> 96c360cc260a [2022-08-09T20:15:04.163Z] Step 17/26 : WORKDIR / [2022-08-09T20:15:04.163Z] ---> Running in 26056bcb6ccf [2022-08-09T20:15:04.163Z] Removing intermediate container 26056bcb6ccf [2022-08-09T20:15:04.163Z] ---> 85c3a1f59fe2 [2022-08-09T20:15:04.163Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T20:15:04.163Z] ---> 77e085ffa82c [2022-08-09T20:15:04.163Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T20:15:04.163Z] ---> ab7f54b0f053 [2022-08-09T20:15:04.163Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T20:15:04.163Z] ---> 5d9c9377a731 [2022-08-09T20:15:04.163Z] Step 21/26 : EXPOSE 59984 [2022-08-09T20:15:04.163Z] ---> Running in 8716b6e347ff [2022-08-09T20:15:04.163Z] Removing intermediate container 8716b6e347ff [2022-08-09T20:15:04.163Z] ---> b5c46394518f [2022-08-09T20:15:04.163Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T20:15:04.163Z] ---> Running in fb0c4857ffe7 [2022-08-09T20:15:04.163Z] Removing intermediate container fb0c4857ffe7 [2022-08-09T20:15:04.163Z] ---> 04017c910775 [2022-08-09T20:15:04.163Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T20:15:04.163Z] ---> Running in 3b9ff1b188eb [2022-08-09T20:15:04.163Z] Removing intermediate container 3b9ff1b188eb [2022-08-09T20:15:04.163Z] ---> 3b21ce8dac1e [2022-08-09T20:15:04.163Z] Step 24/26 : LABEL arch=amd64 [2022-08-09T20:15:04.163Z] ---> Running in 9a362d73ac67 [2022-08-09T20:15:04.163Z] Removing intermediate container 9a362d73ac67 [2022-08-09T20:15:04.163Z] ---> c772ebfc108e [2022-08-09T20:15:04.163Z] Step 25/26 : LABEL git_sha=8c17f5294548a6b08ce5c02b53430cb6291fe112 [2022-08-09T20:15:04.163Z] ---> Running in bb4827a3d227 [2022-08-09T20:15:04.163Z] Removing intermediate container bb4827a3d227 [2022-08-09T20:15:04.163Z] ---> 2bc1ad0710a1 [2022-08-09T20:15:04.163Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T20:15:04.163Z] ---> Running in dafc6eb9fed8 [2022-08-09T20:15:04.163Z] Removing intermediate container dafc6eb9fed8 [2022-08-09T20:15:04.163Z] ---> 319141143cac [2022-08-09T20:15:04.163Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T20:15:04.163Z] Successfully built 319141143cac [2022-08-09T20:15:04.163Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:15:04.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T20:15:04.579Z] [2022-08-09T20:15:04.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:15:04.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T20:15:04.886Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T20:15:04.886Z] 5eb5b503b376: Pulling fs layer [2022-08-09T20:15:04.886Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T20:15:04.886Z] ec43610c2a17: Pulling fs layer [2022-08-09T20:15:04.886Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T20:15:04.886Z] 33b1e0a273af: Pulling fs layer [2022-08-09T20:15:04.886Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T20:15:04.886Z] 2f39f015ded8: Pulling fs layer [2022-08-09T20:15:04.886Z] 3a2ae6a8a46f: Waiting [2022-08-09T20:15:04.886Z] 2f39f015ded8: Waiting [2022-08-09T20:15:04.886Z] 33b1e0a273af: Waiting [2022-08-09T20:15:04.886Z] 5d3b04190fa2: Waiting [2022-08-09T20:15:04.886Z] 5c69ac0246d0: Verifying Checksum [2022-08-09T20:15:04.886Z] 5c69ac0246d0: Download complete [2022-08-09T20:15:04.886Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T20:15:04.886Z] 3a2ae6a8a46f: Download complete [2022-08-09T20:15:04.886Z] 33b1e0a273af: Verifying Checksum [2022-08-09T20:15:04.886Z] 33b1e0a273af: Download complete [2022-08-09T20:15:04.886Z] 5d3b04190fa2: Verifying Checksum [2022-08-09T20:15:04.886Z] 5d3b04190fa2: Download complete [2022-08-09T20:15:05.145Z] ec43610c2a17: Verifying Checksum [2022-08-09T20:15:05.145Z] ec43610c2a17: Download complete [2022-08-09T20:15:05.145Z] 5eb5b503b376: Download complete [2022-08-09T20:15:05.718Z] 2f39f015ded8: Download complete [2022-08-09T20:15:06.655Z] 5eb5b503b376: Pull complete [2022-08-09T20:15:06.915Z] 5c69ac0246d0: Pull complete [2022-08-09T20:15:07.487Z] ec43610c2a17: Pull complete [2022-08-09T20:15:07.487Z] 3a2ae6a8a46f: Pull complete [2022-08-09T20:15:07.747Z] 33b1e0a273af: Pull complete [2022-08-09T20:15:07.747Z] 5d3b04190fa2: Pull complete [2022-08-09T20:15:13.030Z] 2f39f015ded8: Pull complete [2022-08-09T20:15:13.030Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T20:15:13.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T20:15:13.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:15:13.134Z] prd-ubuntu20.04-docker-8c-8g-22253 does not seem to be running inside a container [2022-08-09T20:15:13.173Z] $ 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/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T20:15:15.556Z] $ docker top 8a6bbe9a3670ba45f729ae43b4d1140cdf10a48926ae2d90a029ae4af54349e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:15:15.984Z] ---> job-cost.sh [2022-08-09T20:15:15.984Z] lf-activate-venv: SKIPPING [2022-08-09T20:15:15.984Z] INFO: No Stack... [2022-08-09T20:15:16.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T20:15:16.815Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T20:15:17.108Z] + cat /w/workspace/undry_device-onvif-camera_PR-126/archives/cost.csv [2022-08-09T20:15:17.108Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T20:15:17.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [2022-08-09T20:15:17.127Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] did not exist. Created. [2022-08-09T20:15:17.127Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T20:15:17.436Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T20:15:17.463Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T20:15:17.469Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T20:15:17.485Z] $ docker stop --time=1 8a6bbe9a3670ba45f729ae43b4d1140cdf10a48926ae2d90a029ae4af54349e9 [2022-08-09T20:15:18.691Z] $ docker rm -f 8a6bbe9a3670ba45f729ae43b4d1140cdf10a48926ae2d90a029ae4af54349e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T20:15:20.445Z] provisioning config files... [2022-08-09T20:15:20.468Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config4109628603676502985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:15:20.825Z] ---> docker-login.sh [2022-08-09T20:15:20.825Z] nexus3.edgexfoundry.org:10001 [2022-08-09T20:15:21.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:15:21.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:15:21.696Z] Configure a credential helper to remove this warning. See [2022-08-09T20:15:21.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:15:21.696Z] [2022-08-09T20:15:21.696Z] Login Succeeded [2022-08-09T20:15:21.696Z] nexus3.edgexfoundry.org:10002 [2022-08-09T20:15:21.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:15:21.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:15:21.970Z] Configure a credential helper to remove this warning. See [2022-08-09T20:15:21.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:15:21.970Z] [2022-08-09T20:15:21.970Z] Login Succeeded [2022-08-09T20:15:22.244Z] nexus3.edgexfoundry.org:10003 [2022-08-09T20:15:22.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:15:22.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:15:22.516Z] Configure a credential helper to remove this warning. See [2022-08-09T20:15:22.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:15:22.517Z] [2022-08-09T20:15:22.517Z] Login Succeeded [2022-08-09T20:15:22.517Z] nexus3.edgexfoundry.org:10004 [2022-08-09T20:15:23.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:15:23.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:15:23.119Z] Configure a credential helper to remove this warning. See [2022-08-09T20:15:23.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:15:23.119Z] [2022-08-09T20:15:23.119Z] Login Succeeded [2022-08-09T20:15:23.119Z] docker.io [2022-08-09T20:15:23.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T20:15:23.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T20:15:23.665Z] Configure a credential helper to remove this warning. See [2022-08-09T20:15:23.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T20:15:23.665Z] [2022-08-09T20:15:23.665Z] Login Succeeded [2022-08-09T20:15:23.665Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T20:15:23.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T20:15:24.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T20:15:24.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T20:15:24.239Z] ========================================================= [2022-08-09T20:15:24.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T20:15:24.239Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:15:24.630Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T20:15:25.230Z] Sending build context to Docker daemon 13.73MB [2022-08-09T20:15:25.230Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T20:15:25.230Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T20:15:25.506Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T20:15:25.506Z] b3c136eddcbf: Pulling fs layer [2022-08-09T20:15:25.506Z] c0a3192eca97: Pulling fs layer [2022-08-09T20:15:25.506Z] a050256f5b6f: Pulling fs layer [2022-08-09T20:15:25.506Z] 656be50a0ddc: Pulling fs layer [2022-08-09T20:15:25.506Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T20:15:25.506Z] 46d945488cbd: Pulling fs layer [2022-08-09T20:15:25.506Z] 8a5474983e97: Pulling fs layer [2022-08-09T20:15:25.506Z] 329c88fbcd65: Pulling fs layer [2022-08-09T20:15:25.506Z] 656be50a0ddc: Waiting [2022-08-09T20:15:25.506Z] 2bbca73fdf42: Waiting [2022-08-09T20:15:25.506Z] 46d945488cbd: Waiting [2022-08-09T20:15:25.506Z] 8a5474983e97: Waiting [2022-08-09T20:15:25.506Z] 329c88fbcd65: Waiting [2022-08-09T20:15:25.506Z] a050256f5b6f: Verifying Checksum [2022-08-09T20:15:25.506Z] a050256f5b6f: Download complete [2022-08-09T20:15:25.506Z] c0a3192eca97: Verifying Checksum [2022-08-09T20:15:25.506Z] c0a3192eca97: Download complete [2022-08-09T20:15:25.506Z] 2bbca73fdf42: Download complete [2022-08-09T20:15:25.506Z] 46d945488cbd: Download complete [2022-08-09T20:15:25.506Z] b3c136eddcbf: Verifying Checksum [2022-08-09T20:15:25.506Z] b3c136eddcbf: Download complete [2022-08-09T20:15:26.502Z] b3c136eddcbf: Pull complete [2022-08-09T20:15:26.502Z] 329c88fbcd65: Verifying Checksum [2022-08-09T20:15:26.502Z] 329c88fbcd65: Download complete [2022-08-09T20:15:27.117Z] c0a3192eca97: Pull complete [2022-08-09T20:15:27.394Z] a050256f5b6f: Pull complete [2022-08-09T20:15:27.670Z] 8a5474983e97: Verifying Checksum [2022-08-09T20:15:27.670Z] 8a5474983e97: Download complete [2022-08-09T20:15:28.274Z] 656be50a0ddc: Verifying Checksum [2022-08-09T20:15:28.274Z] 656be50a0ddc: Download complete [2022-08-09T20:15:40.694Z] 656be50a0ddc: Pull complete [2022-08-09T20:15:40.968Z] 2bbca73fdf42: Pull complete [2022-08-09T20:15:41.242Z] 46d945488cbd: Pull complete [2022-08-09T20:15:47.967Z] 8a5474983e97: Pull complete [2022-08-09T20:15:49.412Z] 329c88fbcd65: Pull complete [2022-08-09T20:15:49.686Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T20:15:49.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T20:15:49.686Z] ---> ff4287adb874 [2022-08-09T20:15:49.686Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T20:15:51.658Z] ---> Running in 439420e367b4 [2022-08-09T20:15:51.658Z] Removing intermediate container 439420e367b4 [2022-08-09T20:15:51.658Z] ---> a216b8037920 [2022-08-09T20:15:51.658Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T20:15:51.658Z] ---> Running in 788ef33acd39 [2022-08-09T20:15:51.929Z] Removing intermediate container 788ef33acd39 [2022-08-09T20:15:51.929Z] ---> 67fc3f08af22 [2022-08-09T20:15:51.929Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T20:15:52.208Z] ---> Running in f487097f4198 [2022-08-09T20:15:52.481Z] Removing intermediate container f487097f4198 [2022-08-09T20:15:52.481Z] ---> 4a0a93752a89 [2022-08-09T20:15:52.481Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T20:15:52.481Z] ---> Running in c71b31a27893 [2022-08-09T20:15:52.764Z] Removing intermediate container c71b31a27893 [2022-08-09T20:15:52.764Z] ---> 45d4b6e5ec7f [2022-08-09T20:15:52.764Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T20:15:52.764Z] ---> Running in 8085d95d125e [2022-08-09T20:15:56.160Z] Removing intermediate container 8085d95d125e [2022-08-09T20:15:56.160Z] ---> 987f250bcd49 [2022-08-09T20:15:56.160Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T20:15:56.160Z] ---> Running in 581f827cd513 [2022-08-09T20:15:56.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T20:15:57.725Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T20:15:58.703Z] OK: 221 MiB in 51 packages [2022-08-09T20:15:59.300Z] Removing intermediate container 581f827cd513 [2022-08-09T20:15:59.300Z] ---> b06fe0ca74f8 [2022-08-09T20:15:59.300Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T20:15:59.300Z] ---> Running in aebec3518f2b [2022-08-09T20:15:59.902Z] Removing intermediate container aebec3518f2b [2022-08-09T20:15:59.902Z] ---> fcc9290268e6 [2022-08-09T20:15:59.902Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T20:16:00.178Z] ---> 44f0b5993d02 [2022-08-09T20:16:00.178Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T20:16:00.456Z] ---> Running in c4c97610dcc6 [2022-08-09T20:16:47.447Z] Removing intermediate container c4c97610dcc6 [2022-08-09T20:16:47.447Z] ---> a5515967c9d8 [2022-08-09T20:16:47.447Z] Step 12/13 : COPY . . [2022-08-09T20:16:47.447Z] ---> 19f0e566604b [2022-08-09T20:16:47.447Z] Step 13/13 : RUN ${MAKE} [2022-08-09T20:16:47.447Z] ---> Running in e1db298637da [2022-08-09T20:16:47.447Z] noop [2022-08-09T20:16:47.720Z] Removing intermediate container e1db298637da [2022-08-09T20:16:47.720Z] ---> aa788b5d257f [2022-08-09T20:16:47.720Z] Successfully built aa788b5d257f [2022-08-09T20:16:47.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:16:48.089Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T20:16:48.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:16:48.342Z] prd-ubuntu20.04-docker-arm64-4c-16g-22254 does not seem to be running inside a container [2022-08-09T20:16:48.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T20:16:49.709Z] $ docker top 8fb07fff265c5db9bb1400a850c0780ca0b60c6882dca8681e9bc26864622783 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T20:16:50.622Z] + go version [2022-08-09T20:16:50.623Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T20:16:50.652Z] $ docker stop --time=1 8fb07fff265c5db9bb1400a850c0780ca0b60c6882dca8681e9bc26864622783 [2022-08-09T20:16:52.264Z] $ docker rm -f 8fb07fff265c5db9bb1400a850c0780ca0b60c6882dca8681e9bc26864622783 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:16:52.872Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T20:16:52.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:16:53.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-22254 does not seem to be running inside a container [2022-08-09T20:16:53.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T20:16:54.483Z] $ docker top 73c9285649492c2b75297c476d0aca1176bdbbfa3ebdfe3bcdbfbb350719deea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T20:16:55.376Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-08-09T20:16:56.053Z] + make test [2022-08-09T20:16:56.053Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T20:16:58.043Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T20:18:19.913Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T20:18:24.252Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.137s coverage: 10.6% of statements [2022-08-09T20:18:24.252Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T20:18:51.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.382s coverage: 13.8% of statements [2022-08-09T20:18:51.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T20:18:51.105Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T20:19:09.442Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T20:19:09.442Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T20:19:09.442Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T20:19:12.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T20:19:12.869Z] $ docker stop --time=1 73c9285649492c2b75297c476d0aca1176bdbbfa3ebdfe3bcdbfbb350719deea [2022-08-09T20:19:14.615Z] $ docker rm -f 73c9285649492c2b75297c476d0aca1176bdbbfa3ebdfe3bcdbfbb350719deea [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T20:19:15.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T20:19:15.619Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T20:19:16.147Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T20:19:16.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T20:19:16.875Z] + ls -al . [2022-08-09T20:19:16.876Z] total 228 [2022-08-09T20:19:16.876Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 20:19 . [2022-08-09T20:19:16.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:14 .. [2022-08-09T20:19:16.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 20:14 .git [2022-08-09T20:19:16.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:14 .github [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 20:14 .gitignore [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 20:14 .golangci.yml [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 20:14 Attribution.txt [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 20:14 CHANGELOG.md [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 20:14 Dockerfile [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 20:14 GOVERNANCE.md [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 20:14 Jenkinsfile [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 20:14 LICENSE [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 9 20:14 Makefile [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 20:14 OWNERS.md [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 20:14 README.md [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 20:12 VERSION [2022-08-09T20:19:16.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:14 bin [2022-08-09T20:19:16.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:14 cmd [2022-08-09T20:19:16.876Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 20:18 coverage.out [2022-08-09T20:19:16.876Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 20:14 doc [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 20:14 go.mod [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 20:14 go.sum [2022-08-09T20:19:16.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:14 internal [2022-08-09T20:19:16.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:14 snap [2022-08-09T20:19:16.876Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:19:17.237Z] + 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=8c17f5294548a6b08ce5c02b53430cb6291fe112 --label arch=arm64 --label version=0.0.0 . [2022-08-09T20:19:17.830Z] Sending build context to Docker daemon 13.81MB [2022-08-09T20:19:17.830Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T20:19:17.830Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T20:19:17.830Z] ---> aa788b5d257f [2022-08-09T20:19:17.830Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T20:19:17.830Z] ---> Running in 5bd0abb2f106 [2022-08-09T20:19:18.437Z] Removing intermediate container 5bd0abb2f106 [2022-08-09T20:19:18.437Z] ---> 192543438a6b [2022-08-09T20:19:18.437Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T20:19:18.437Z] ---> Running in 07d14adcfba3 [2022-08-09T20:19:18.712Z] Removing intermediate container 07d14adcfba3 [2022-08-09T20:19:18.712Z] ---> 086704594468 [2022-08-09T20:19:18.712Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T20:19:18.712Z] ---> Running in f9168c64d3e4 [2022-08-09T20:19:18.983Z] Removing intermediate container f9168c64d3e4 [2022-08-09T20:19:18.983Z] ---> 5924d3801426 [2022-08-09T20:19:18.983Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T20:19:18.983Z] ---> Running in b81780c6e761 [2022-08-09T20:19:19.255Z] Removing intermediate container b81780c6e761 [2022-08-09T20:19:19.255Z] ---> 4689ed28fe15 [2022-08-09T20:19:19.255Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T20:19:19.528Z] ---> Running in c61adb462836 [2022-08-09T20:19:21.522Z] Removing intermediate container c61adb462836 [2022-08-09T20:19:21.522Z] ---> 0a53b1632c5c [2022-08-09T20:19:21.522Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T20:19:21.522Z] ---> Running in bb3d8ab84d07 [2022-08-09T20:19:22.118Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T20:19:23.096Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T20:19:24.076Z] OK: 221 MiB in 51 packages [2022-08-09T20:19:25.070Z] Removing intermediate container bb3d8ab84d07 [2022-08-09T20:19:25.071Z] ---> 6ed56b3baead [2022-08-09T20:19:25.071Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T20:19:25.071Z] ---> Running in cf000bf9840f [2022-08-09T20:19:25.345Z] Removing intermediate container cf000bf9840f [2022-08-09T20:19:25.345Z] ---> 2da46fb97984 [2022-08-09T20:19:25.345Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T20:19:25.945Z] ---> 8d6ef0ffe84c [2022-08-09T20:19:25.945Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T20:19:25.945Z] ---> Running in 8d5459a3ac2f [2022-08-09T20:19:27.930Z] Removing intermediate container 8d5459a3ac2f [2022-08-09T20:19:27.930Z] ---> aad52ebb453e [2022-08-09T20:19:27.930Z] Step 12/26 : COPY . . [2022-08-09T20:19:29.369Z] ---> 41aa89cbe61b [2022-08-09T20:19:29.369Z] Step 13/26 : RUN ${MAKE} [2022-08-09T20:19:29.369Z] ---> Running in dd6bd006b80e [2022-08-09T20:19:30.357Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T20:21:37.282Z] Removing intermediate container dd6bd006b80e [2022-08-09T20:21:37.282Z] ---> fcdfc662b49a [2022-08-09T20:21:37.282Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T20:21:37.282Z] 3.15: Pulling from library/alpine [2022-08-09T20:21:37.282Z] 47517142f6ba: Pulling fs layer [2022-08-09T20:21:37.282Z] 47517142f6ba: Verifying Checksum [2022-08-09T20:21:37.282Z] 47517142f6ba: Download complete [2022-08-09T20:21:37.282Z] 47517142f6ba: Pull complete [2022-08-09T20:21:37.282Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-08-09T20:21:37.282Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T20:21:37.282Z] ---> 02e0d6fdf486 [2022-08-09T20:21:37.282Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T20:21:37.282Z] ---> Running in e07f1728b023 [2022-08-09T20:21:37.282Z] Removing intermediate container e07f1728b023 [2022-08-09T20:21:37.282Z] ---> 336d0022d718 [2022-08-09T20:21:37.282Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T20:21:37.282Z] ---> Running in f6476e0730b1 [2022-08-09T20:21:37.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-09T20:21:38.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-09T20:21:39.148Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T20:21:39.148Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T20:21:39.148Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T20:21:39.148Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T20:21:39.148Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T20:21:39.148Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T20:21:39.148Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T20:21:39.148Z] OK: 8 MiB in 20 packages [2022-08-09T20:21:40.139Z] Removing intermediate container f6476e0730b1 [2022-08-09T20:21:40.139Z] ---> 5381e05b410b [2022-08-09T20:21:40.139Z] Step 17/26 : WORKDIR / [2022-08-09T20:21:40.139Z] ---> Running in b7c0462e0728 [2022-08-09T20:21:40.414Z] Removing intermediate container b7c0462e0728 [2022-08-09T20:21:40.414Z] ---> 2dfae73a2f42 [2022-08-09T20:21:40.414Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T20:21:41.855Z] ---> e4eb85be293e [2022-08-09T20:21:41.855Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T20:21:42.454Z] ---> 8cf8175a698f [2022-08-09T20:21:42.454Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T20:21:43.056Z] ---> e69259b6ab69 [2022-08-09T20:21:43.056Z] Step 21/26 : EXPOSE 59984 [2022-08-09T20:21:43.056Z] ---> Running in dc425e9abfdd [2022-08-09T20:21:43.331Z] Removing intermediate container dc425e9abfdd [2022-08-09T20:21:43.331Z] ---> dad662982278 [2022-08-09T20:21:43.331Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T20:21:43.331Z] ---> Running in 9d8119eeefc4 [2022-08-09T20:21:43.609Z] Removing intermediate container 9d8119eeefc4 [2022-08-09T20:21:43.609Z] ---> dd6a6a338fc5 [2022-08-09T20:21:43.609Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T20:21:43.886Z] ---> Running in 4f441cb46cee [2022-08-09T20:21:44.162Z] Removing intermediate container 4f441cb46cee [2022-08-09T20:21:44.162Z] ---> 141074c7db24 [2022-08-09T20:21:44.162Z] Step 24/26 : LABEL arch=arm64 [2022-08-09T20:21:44.162Z] ---> Running in 03ce4ecb37d9 [2022-08-09T20:21:44.437Z] Removing intermediate container 03ce4ecb37d9 [2022-08-09T20:21:44.437Z] ---> ab704a1ef1ec [2022-08-09T20:21:44.437Z] Step 25/26 : LABEL git_sha=8c17f5294548a6b08ce5c02b53430cb6291fe112 [2022-08-09T20:21:44.437Z] ---> Running in b678349a2ea9 [2022-08-09T20:21:44.718Z] Removing intermediate container b678349a2ea9 [2022-08-09T20:21:44.718Z] ---> cc40f4d42383 [2022-08-09T20:21:44.718Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T20:21:44.993Z] ---> Running in ea59f2dda160 [2022-08-09T20:21:45.264Z] Removing intermediate container ea59f2dda160 [2022-08-09T20:21:45.264Z] ---> 9e40898999f4 [2022-08-09T20:21:45.264Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T20:21:45.264Z] Successfully built 9e40898999f4 [2022-08-09T20:21:45.264Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:21:45.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T20:21:45.727Z] [2022-08-09T20:21:45.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:21:46.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T20:21:46.145Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T20:21:46.145Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T20:21:46.145Z] 04944245beec: Pulling fs layer [2022-08-09T20:21:46.145Z] 699f458cf7ca: Pulling fs layer [2022-08-09T20:21:46.145Z] 765212b225bb: Pulling fs layer [2022-08-09T20:21:46.145Z] f23df028b6ca: Pulling fs layer [2022-08-09T20:21:46.145Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T20:21:46.145Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T20:21:46.145Z] 765212b225bb: Waiting [2022-08-09T20:21:46.145Z] f23df028b6ca: Waiting [2022-08-09T20:21:46.145Z] d65c8cfc05b1: Waiting [2022-08-09T20:21:46.145Z] 2437ff75d9bd: Waiting [2022-08-09T20:21:46.421Z] 04944245beec: Verifying Checksum [2022-08-09T20:21:46.421Z] 04944245beec: Download complete [2022-08-09T20:21:46.421Z] 765212b225bb: Verifying Checksum [2022-08-09T20:21:46.421Z] 765212b225bb: Download complete [2022-08-09T20:21:46.422Z] f23df028b6ca: Verifying Checksum [2022-08-09T20:21:46.422Z] f23df028b6ca: Download complete [2022-08-09T20:21:46.422Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T20:21:46.422Z] d65c8cfc05b1: Download complete [2022-08-09T20:21:46.422Z] 699f458cf7ca: Verifying Checksum [2022-08-09T20:21:46.422Z] 699f458cf7ca: Download complete [2022-08-09T20:21:47.027Z] 8998bd30e6a1: Verifying Checksum [2022-08-09T20:21:47.027Z] 8998bd30e6a1: Download complete [2022-08-09T20:21:49.010Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T20:21:49.010Z] 2437ff75d9bd: Download complete [2022-08-09T20:21:51.647Z] 8998bd30e6a1: Pull complete [2022-08-09T20:21:51.648Z] 04944245beec: Pull complete [2022-08-09T20:21:53.087Z] 699f458cf7ca: Pull complete [2022-08-09T20:21:53.361Z] 765212b225bb: Pull complete [2022-08-09T20:21:54.344Z] f23df028b6ca: Pull complete [2022-08-09T20:21:54.619Z] d65c8cfc05b1: Pull complete [2022-08-09T20:22:09.728Z] 2437ff75d9bd: Pull complete [2022-08-09T20:22:09.729Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T20:22:09.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T20:22:09.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:22:09.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-22254 does not seem to be running inside a container [2022-08-09T20:22:10.082Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T20:22:12.593Z] $ docker top f586c22ce862be2c0b45447f529b9ac4c15e7aa57a2673572d401bf498bfe210 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:13.503Z] ---> job-cost.sh [2022-08-09T20:22:13.503Z] lf-activate-venv: SKIPPING [2022-08-09T20:22:13.503Z] INFO: No Stack... [2022-08-09T20:22:14.097Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T20:22:15.073Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T20:22:15.740Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-08-09T20:22:15.740Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T20:22:15.803Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [2022-08-09T20:22:15.808Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] did not exist. Created. [2022-08-09T20:22:15.808Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T20:22:16.487Z] /w/workspace/device-onvif-camera/6@tmp/durable-f06f6417/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T20:22:17.169Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T20:22:17.198Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T20:22:17.262Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T20:22:17.267Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T20:22:17.295Z] $ docker stop --time=1 f586c22ce862be2c0b45447f529b9ac4c15e7aa57a2673572d401bf498bfe210 [2022-08-09T20:22:18.764Z] $ docker rm -f f586c22ce862be2c0b45447f529b9ac4c15e7aa57a2673572d401bf498bfe210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-09T20:22:19.185Z] provisioning config files... [2022-08-09T20:22:19.205Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config2711905066896524788tmp [Pipeline] { [Pipeline] sh [2022-08-09T20:22:19.552Z] + set +x [2022-08-09T20:22:19.552Z] + curl -s https://codecov.io/bash [2022-08-09T20:22:19.552Z] + bash -s -- [2022-08-09T20:22:19.552Z] [2022-08-09T20:22:19.552Z] _____ _ [2022-08-09T20:22:19.552Z] / ____| | | [2022-08-09T20:22:19.552Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T20:22:19.552Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T20:22:19.552Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T20:22:19.552Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T20:22:19.552Z] Bash-1.0.6 [2022-08-09T20:22:19.552Z] [2022-08-09T20:22:19.552Z] [2022-08-09T20:22:19.552Z] ==> git version 2.25.1 found [2022-08-09T20:22:19.552Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-09T20:22:19.552Z] Release-Date: 2020-01-08 [2022-08-09T20:22:19.552Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-09T20:22:19.552Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T20:22:19.552Z] ==> Jenkins CI detected. [2022-08-09T20:22:19.552Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-126 [2022-08-09T20:22:19.552Z] project root: . [2022-08-09T20:22:19.552Z] --> token set from env [2022-08-09T20:22:19.552Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T20:22:19.552Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T20:22:19.552Z] ==> Python coveragepy not found [2022-08-09T20:22:19.552Z] ==> Searching for coverage reports in: [2022-08-09T20:22:19.552Z] + . [2022-08-09T20:22:19.552Z] -> Found 1 reports [2022-08-09T20:22:19.811Z] ==> Detecting git/mercurial file structure [2022-08-09T20:22:19.811Z] ==> Reading reports [2022-08-09T20:22:19.811Z] + ./coverage.out bytes=76856 [2022-08-09T20:22:19.811Z] ==> Appending adjustments [2022-08-09T20:22:19.811Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T20:22:19.811Z] + Found adjustments [2022-08-09T20:22:19.811Z] ==> Gzipping contents [2022-08-09T20:22:19.811Z] 12K /tmp/codecov.I3VnN2.gz [2022-08-09T20:22:19.811Z] ==> Uploading reports [2022-08-09T20:22:19.811Z] url: https://codecov.io [2022-08-09T20:22:19.811Z] query: branch=PR-126&commit=8c17f5294548a6b08ce5c02b53430cb6291fe112&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-09T20:22:19.811Z] -> Pinging Codecov [2022-08-09T20:22:19.811Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-126&commit=8c17f5294548a6b08ce5c02b53430cb6291fe112&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-09T20:22:20.381Z] -> Uploading to [2022-08-09T20:22:20.381Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/F29A59C45E3A92E06B3E522C9905F8EF/8c17f5294548a6b08ce5c02b53430cb6291fe112/5aec8a89-2f84-40c4-bc5d-6f6260048756.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T202220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=416a4888ef492ae6342b76f5601f9809c8638fd17e3118b7e4e3b8bf0cc92862 [2022-08-09T20:22:20.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T20:22:20.381Z] Dload Upload Total Spent Left Speed [2022-08-09T20:22:20.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10382 0 0 100 10382 0 46977 --:--:-- --:--:-- --:--:-- 46765 100 10382 0 0 100 10382 0 37890 --:--:-- --:--:-- --:--:-- 37752 [2022-08-09T20:22:20.642Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/8c17f5294548a6b08ce5c02b53430cb6291fe112 [Pipeline] } [2022-08-09T20:22:20.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-09T20:22:21.305Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-126/archives ] [2022-08-09T20:22:21.305Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-09T20:22:21.305Z] total 16 [2022-08-09T20:22:21.305Z] drwxr-xr-x 3 root root 4096 Aug 9 20:15 . [2022-08-09T20:22:21.305Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 20:15 .. [2022-08-09T20:22:21.305Z] drwxr-xr-x 2 root root 4096 Aug 9 20:15 cost [2022-08-09T20:22:21.305Z] -rw-r--r-- 1 root root 91 Aug 9 20:15 cost.csv [2022-08-09T20:22:21.305Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-09T20:22:21.305Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-09T20:22:21.305Z] total 16 [2022-08-09T20:22:21.305Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 20:15 . [2022-08-09T20:22:21.305Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 20:15 .. [2022-08-09T20:22:21.305Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 20:15 cost [2022-08-09T20:22:21.305Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 9 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:21.597Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:22.461Z] ---> package-listing.sh [2022-08-09T20:22:22.461Z] ++ facter osfamily [2022-08-09T20:22:22.461Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T20:22:22.721Z] + OS_FAMILY=debian [2022-08-09T20:22:22.721Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-126 [2022-08-09T20:22:22.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T20:22:22.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T20:22:22.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T20:22:22.721Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T20:22:22.721Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-09T20:22:22.721Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T20:22:22.721Z] + case "${OS_FAMILY}" in [2022-08-09T20:22:22.721Z] + dpkg -l [2022-08-09T20:22:22.721Z] + grep '^ii' [2022-08-09T20:22:22.721Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T20:22:22.721Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T20:22:22.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T20:22:22.721Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-09T20:22:22.721Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-126/archives/ [2022-08-09T20:22:22.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-126/archives/ [Pipeline] echo [2022-08-09T20:22:22.733Z] 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/undry_device-onvif-camera_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T20:22:23.011Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T20:22:23.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T20:22:23.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T20:22:23.666Z] prd-ubuntu20.04-docker-8c-8g-22253 does not seem to be running inside a container [2022-08-09T20:22:23.701Z] $ 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/undry_device-onvif-camera_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T20:22:23.906Z] $ docker top cd03d9d7842d82730e7e82a299d1e4f42845c1ee88fa2e146e0277d5b13c9e94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T20:22:24.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T20:22:24.554Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T20:22:24.847Z] + ls /var/log/sa-host [2022-08-09T20:22:24.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T20:22:24.921Z] provisioning config files... [2022-08-09T20:22:24.935Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config6318705029774161516tmp [Pipeline] { [Pipeline] echo [2022-08-09T20:22:24.954Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:25.238Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T20:22:25.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:25.579Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T20:22:25.588Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:25.874Z] ---> sudo-logs.sh [2022-08-09T20:22:25.874Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T20:22:25.906Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:26.194Z] ---> job-cost.sh [2022-08-09T20:22:26.194Z] lf-activate-venv: SKIPPING [2022-08-09T20:22:26.194Z] DEBUG: total: 0.2199999988079071 [2022-08-09T20:22:26.194Z] INFO: Retrieving Stack Cost... [2022-08-09T20:22:26.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T20:22:27.026Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T20:22:27.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T20:22:27.325Z] ---> logs-deploy.sh [2022-08-09T20:22:27.325Z] lf-activate-venv: SKIPPING [2022-08-09T20:22:27.325Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-126/6 [2022-08-09T20:22:27.325Z] INFO: archiving workspace using pattern(s): [2022-08-09T20:22:28.265Z] Archives upload complete. [2022-08-09T20:22:28.526Z] INFO: archiving logs to Nexus