Pull request #81 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 ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 24145fbef97b1fa0849e90c42711cf4bdce583e6 rather than 0a6ea66ed8171eab6038510dd3ee042540d445da Obtained Jenkinsfile from 24145fbef97b1fa0849e90c42711cf4bdce583e6 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-ssh12380981523295523277.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17634606187087790883.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9239316382782163521.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15915856306301572267.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5713378048075612761.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2357 in /w/workspace/oundry_device-onvif-camera_PR-81 [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/oundry_device-onvif-camera_PR-81 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit 24145fbef97b1fa0849e90c42711cf4bdce583e6 into PR head commit 0a6ea66ed8171eab6038510dd3ee042540d445da Merge succeeded, producing 0edbb3bd8129b81ed75df96f6458e1533768f664 Checking out Revision 0edbb3bd8129b81ed75df96f6458e1533768f664 (PR-81) 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/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a6ea66ed8171eab6038510dd3ee042540d445da # 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 24145fbef97b1fa0849e90c42711cf4bdce583e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0edbb3bd8129b81ed75df96f6458e1533768f664 # timeout=10 Commit message: "Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-13T22:32:55.209Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T22:32:55.277Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T22:32:55.288Z] ========================================================= [2022-06-13T22:32:55.288Z] EdgeX Global Pipelines Version Info [2022-06-13T22:32:55.288Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 36ff3325d0ba8cef3a69710e6565968dab2a0533 # timeout=10 [2022-06-13T22:32:56.045Z] ------------------- [2022-06-13T22:32:56.045Z] stable info: [2022-06-13T22:32:56.045Z] ------------------- [2022-06-13T22:32:56.045Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T22:32:56.045Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T22:32:56.045Z] Message: update stable to v1.0.234 [2022-06-13T22:32:56.617Z] ------------------- [2022-06-13T22:32:56.617Z] experimental info: [2022-06-13T22:32:56.617Z] ------------------- [2022-06-13T22:32:56.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T22:32:56.617Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T22:32:56.617Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T22:32:56.812Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-13T22:32:56.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-13T22:32:56.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T22:32:56.849Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T22:32:56.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T22:32:56.880Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T22:32:56.897Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T22:32:56.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T22:32:56.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T22:32:56.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T22:32:56.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T22:32:56.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-13T22:32:56.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T22:32:56.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T22:32:56.998Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T22:32:57.006Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T22:32:57.015Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T22:32:57.031Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T22:32:57.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T22:32:57.063Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T22:32:57.077Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T22:32:57.092Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T22:32:57.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T22:32:57.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T22:32:57.137Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T22:32:57.148Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T22:32:57.160Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T22:32:57.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-13T22:32:57.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-13T22:32:57.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-13T22:32:57.208Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0edbb3bd8129b81ed75df96f6458e1533768f664 [Pipeline] echo [2022-06-13T22:32:57.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0edbb3b [Pipeline] echo [2022-06-13T22:32:57.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T22:32:57.283Z] provisioning config files... [2022-06-13T22:32:57.298Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4284085108363098074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:32:57.599Z] ---> docker-login.sh [2022-06-13T22:32:57.599Z] nexus3.edgexfoundry.org:10001 [2022-06-13T22:32:57.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:32:57.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:32:57.861Z] Configure a credential helper to remove this warning. See [2022-06-13T22:32:57.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:32:57.861Z] [2022-06-13T22:32:57.861Z] Login Succeeded [2022-06-13T22:32:57.861Z] nexus3.edgexfoundry.org:10002 [2022-06-13T22:32:58.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:32:58.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:32:58.122Z] Configure a credential helper to remove this warning. See [2022-06-13T22:32:58.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:32:58.122Z] [2022-06-13T22:32:58.122Z] Login Succeeded [2022-06-13T22:32:58.122Z] nexus3.edgexfoundry.org:10003 [2022-06-13T22:32:58.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:32:58.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:32:58.384Z] Configure a credential helper to remove this warning. See [2022-06-13T22:32:58.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:32:58.384Z] [2022-06-13T22:32:58.384Z] Login Succeeded [2022-06-13T22:32:58.384Z] nexus3.edgexfoundry.org:10004 [2022-06-13T22:32:58.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:32:58.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:32:58.384Z] Configure a credential helper to remove this warning. See [2022-06-13T22:32:58.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:32:58.384Z] [2022-06-13T22:32:58.384Z] Login Succeeded [2022-06-13T22:32:58.384Z] docker.io [2022-06-13T22:32:58.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:32:58.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:32:58.956Z] Configure a credential helper to remove this warning. See [2022-06-13T22:32:58.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:32:58.956Z] [2022-06-13T22:32:58.956Z] Login Succeeded [2022-06-13T22:32:58.956Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T22:32:58.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T22:32:59.342Z] + git rev-list -1 --merges 0edbb3bd8129b81ed75df96f6458e1533768f664~1..0edbb3bd8129b81ed75df96f6458e1533768f664 [Pipeline] echo [2022-06-13T22:32:59.372Z] -----------> git rev-list -1 --merges 0edbb3bd8129b81ed75df96f6458e1533768f664~1..0edbb3bd8129b81ed75df96f6458e1533768f664 0edbb3bd8129b81ed75df96f6458e1533768f664 [2022-06-13T22:32:59.372Z] 0edbb3bd8129b81ed75df96f6458e1533768f664 [false] [Pipeline] sh [2022-06-13T22:32:59.665Z] + git log --format=format:%s -1 0edbb3bd8129b81ed75df96f6458e1533768f664 [Pipeline] echo [2022-06-13T22:32:59.680Z] ========================================================= [2022-06-13T22:32:59.680Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T22:32:59.680Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T22:33:00.018Z] + git log --format=format:%s -1 0edbb3bd8129b81ed75df96f6458e1533768f664 [Pipeline] echo [2022-06-13T22:33:00.033Z] [semverPrep] GIT_COMMIT: 0edbb3bd8129b81ed75df96f6458e1533768f664, Commit Message: Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD [Pipeline] echo [2022-06-13T22:33:00.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T22:33:00.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T22:33:00.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T22:33:00.403Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T22:33:00.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T22:33:00.403Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-13T22:33:00.403Z] -a /etc/ssh/ssh_known_hosts [2022-06-13T22:33:00.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:33:00.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T22:33:00.818Z] [2022-06-13T22:33:00.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:33:01.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T22:33:01.133Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T22:33:01.133Z] 42c077c10790: Pulling fs layer [2022-06-13T22:33:01.133Z] f63e77b7563a: Pulling fs layer [2022-06-13T22:33:01.133Z] bd5fdadae976: Pulling fs layer [2022-06-13T22:33:01.133Z] 205491f53016: Pulling fs layer [2022-06-13T22:33:01.133Z] df18705c85c3: Pulling fs layer [2022-06-13T22:33:01.133Z] bdb3f477010e: Pulling fs layer [2022-06-13T22:33:01.133Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T22:33:01.133Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T22:33:01.133Z] bdb8f0575790: Pulling fs layer [2022-06-13T22:33:01.133Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T22:33:01.133Z] 2343380bae48: Pulling fs layer [2022-06-13T22:33:01.133Z] 205491f53016: Waiting [2022-06-13T22:33:01.133Z] df18705c85c3: Waiting [2022-06-13T22:33:01.133Z] bdb3f477010e: Waiting [2022-06-13T22:33:01.133Z] c8a8fc8e1c8f: Waiting [2022-06-13T22:33:01.133Z] 2c6e9b1d212d: Waiting [2022-06-13T22:33:01.133Z] bdb8f0575790: Waiting [2022-06-13T22:33:01.133Z] 386e3cb2ff24: Waiting [2022-06-13T22:33:01.133Z] 2343380bae48: Waiting [2022-06-13T22:33:01.133Z] f63e77b7563a: Download complete [2022-06-13T22:33:01.133Z] 205491f53016: Download complete [2022-06-13T22:33:01.133Z] df18705c85c3: Verifying Checksum [2022-06-13T22:33:01.133Z] df18705c85c3: Download complete [2022-06-13T22:33:01.133Z] bdb3f477010e: Verifying Checksum [2022-06-13T22:33:01.133Z] bdb3f477010e: Download complete [2022-06-13T22:33:01.395Z] bd5fdadae976: Verifying Checksum [2022-06-13T22:33:01.395Z] bd5fdadae976: Download complete [2022-06-13T22:33:01.395Z] 2c6e9b1d212d: Verifying Checksum [2022-06-13T22:33:01.395Z] 2c6e9b1d212d: Download complete [2022-06-13T22:33:01.395Z] bdb8f0575790: Download complete [2022-06-13T22:33:01.395Z] 386e3cb2ff24: Download complete [2022-06-13T22:33:01.395Z] 2343380bae48: Verifying Checksum [2022-06-13T22:33:01.395Z] 2343380bae48: Download complete [2022-06-13T22:33:01.395Z] 42c077c10790: Verifying Checksum [2022-06-13T22:33:01.395Z] 42c077c10790: Download complete [2022-06-13T22:33:01.658Z] c8a8fc8e1c8f: Download complete [2022-06-13T22:33:03.048Z] 42c077c10790: Pull complete [2022-06-13T22:33:03.048Z] f63e77b7563a: Pull complete [2022-06-13T22:33:03.632Z] bd5fdadae976: Pull complete [2022-06-13T22:33:03.632Z] 205491f53016: Pull complete [2022-06-13T22:33:03.892Z] df18705c85c3: Pull complete [2022-06-13T22:33:03.892Z] bdb3f477010e: Pull complete [2022-06-13T22:33:06.442Z] c8a8fc8e1c8f: Pull complete [2022-06-13T22:33:06.442Z] 2c6e9b1d212d: Pull complete [2022-06-13T22:33:06.442Z] bdb8f0575790: Pull complete [2022-06-13T22:33:06.442Z] 386e3cb2ff24: Pull complete [2022-06-13T22:33:06.442Z] 2343380bae48: Pull complete [2022-06-13T22:33:06.442Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T22:33:06.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T22:33:06.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:33:06.548Z] prd-ubuntu20.04-docker-8c-8g-2357 does not seem to be running inside a container [2022-06-13T22:33:06.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T22:33:08.099Z] $ docker top a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 -eo pid,comm [2022-06-13T22:33:08.168Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-13T22:33:08.168Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T22:33:08.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T22:33:08.206Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T22:33:08.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T22:33:08.338Z] $ docker exec a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 ssh-agent [2022-06-13T22:33:08.462Z] SSH_AUTH_SOCK=/tmp/ssh-DT7fNY8dTyn6/agent.33 [2022-06-13T22:33:08.462Z] SSH_AGENT_PID=39 [2022-06-13T22:33:08.469Z] Running ssh-add (command line suppressed) [2022-06-13T22:33:08.603Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_3239897776320113208.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_3239897776320113208.key) [2022-06-13T22:33:08.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T22:33:08.902Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T22:33:08.929Z] $ docker exec --env ******** --env ******** a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 ssh-agent -k [2022-06-13T22:33:09.043Z] unset SSH_AUTH_SOCK; [2022-06-13T22:33:09.043Z] unset SSH_AGENT_PID; [2022-06-13T22:33:09.043Z] echo Agent pid 39 killed; [2022-06-13T22:33:09.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T22:33:09.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T22:33:09.072Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T22:33:09.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T22:33:09.211Z] $ docker exec a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 ssh-agent [2022-06-13T22:33:09.345Z] SSH_AUTH_SOCK=/tmp/ssh-8hpAAMptVraZ/agent.75 [2022-06-13T22:33:09.345Z] SSH_AGENT_PID=82 [2022-06-13T22:33:09.351Z] Running ssh-add (command line suppressed) [2022-06-13T22:33:09.470Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_225005508356417840.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_225005508356417840.key) [2022-06-13T22:33:09.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T22:33:09.770Z] + git semver init [2022-06-13T22:33:10.035Z] 2022-06-13 22:33:10,021 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T22:33:10.035Z] 2022-06-13 22:33:10,022 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-13T22:33:10.035Z] 2022-06-13 22:33:10,022 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-13T22:33:10.035Z] 2022-06-13 22:33:10,022 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,691 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,691 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,697 [execute] INFO git cat-file --batch-check [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T22:33:10.978Z] 2022-06-13 22:33:10,703 [execute] INFO git cat-file --batch [2022-06-13T22:33:10.979Z] 2022-06-13 22:33:10,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T22:33:10.979Z] 2022-06-13 22:33:10,708 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-13T22:33:10.979Z] 0.0.0 [Pipeline] } [2022-06-13T22:33:10.996Z] $ docker exec --env ******** --env ******** a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 ssh-agent -k [2022-06-13T22:33:11.113Z] unset SSH_AUTH_SOCK; [2022-06-13T22:33:11.113Z] unset SSH_AGENT_PID; [2022-06-13T22:33:11.113Z] echo Agent pid 82 killed; [2022-06-13T22:33:11.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T22:33:11.423Z] + git semver [Pipeline] } [2022-06-13T22:33:11.705Z] $ docker stop --time=1 a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 [2022-06-13T22:33:13.054Z] $ docker rm -f a6df2e9238aca184350941597f2c7a7f8e8ffc2848ea0ac1c848cd826ece7c55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T22:33:13.406Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T22:33:13.661Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T22:33:13.664Z] [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-06-13T22:33:13.795Z] provisioning config files... [2022-06-13T22:33:13.805Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6863954632533810747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:33:14.104Z] ---> docker-login.sh [2022-06-13T22:33:14.104Z] nexus3.edgexfoundry.org:10001 [2022-06-13T22:33:14.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:33:14.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:33:14.104Z] Configure a credential helper to remove this warning. See [2022-06-13T22:33:14.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:33:14.104Z] [2022-06-13T22:33:14.104Z] Login Succeeded [2022-06-13T22:33:14.104Z] nexus3.edgexfoundry.org:10002 [2022-06-13T22:33:14.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:33:14.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:33:14.366Z] Configure a credential helper to remove this warning. See [2022-06-13T22:33:14.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:33:14.366Z] [2022-06-13T22:33:14.366Z] Login Succeeded [2022-06-13T22:33:14.366Z] nexus3.edgexfoundry.org:10003 [2022-06-13T22:33:14.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:33:14.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:33:14.366Z] Configure a credential helper to remove this warning. See [2022-06-13T22:33:14.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:33:14.366Z] [2022-06-13T22:33:14.366Z] Login Succeeded [2022-06-13T22:33:14.366Z] nexus3.edgexfoundry.org:10004 [2022-06-13T22:33:14.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:33:14.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:33:14.626Z] Configure a credential helper to remove this warning. See [2022-06-13T22:33:14.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:33:14.626Z] [2022-06-13T22:33:14.626Z] Login Succeeded [2022-06-13T22:33:14.626Z] docker.io [2022-06-13T22:33:14.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:33:14.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:33:14.887Z] Configure a credential helper to remove this warning. See [2022-06-13T22:33:14.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:33:14.887Z] [2022-06-13T22:33:14.887Z] Login Succeeded [2022-06-13T22:33:14.887Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T22:33:14.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T22:33:14.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T22:33:14.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T22:33:14.976Z] ========================================================= [2022-06-13T22:33:14.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T22:33:14.976Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:33:15.301Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-13T22:33:15.301Z] Sending build context to Docker daemon 8.795MB [2022-06-13T22:33:15.301Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T22:33:15.301Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-13T22:33:15.301Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T22:33:15.301Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T22:33:15.301Z] 666ba61612fd: Pulling fs layer [2022-06-13T22:33:15.301Z] 8ed8ca486205: Pulling fs layer [2022-06-13T22:33:15.301Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T22:33:15.301Z] c516ae0d96e1: Pulling fs layer [2022-06-13T22:33:15.301Z] 684cea983483: Pulling fs layer [2022-06-13T22:33:15.301Z] dd3240ac7de5: Pulling fs layer [2022-06-13T22:33:15.301Z] b1e948a4e11c: Pulling fs layer [2022-06-13T22:33:15.301Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T22:33:15.301Z] 646ad004c059: Pulling fs layer [2022-06-13T22:33:15.301Z] cc1cd167ecdc: Waiting [2022-06-13T22:33:15.301Z] c516ae0d96e1: Waiting [2022-06-13T22:33:15.301Z] a8fd76ee1af6: Waiting [2022-06-13T22:33:15.301Z] 646ad004c059: Waiting [2022-06-13T22:33:15.301Z] 684cea983483: Waiting [2022-06-13T22:33:15.301Z] dd3240ac7de5: Waiting [2022-06-13T22:33:15.301Z] b1e948a4e11c: Waiting [2022-06-13T22:33:15.301Z] 8ed8ca486205: Verifying Checksum [2022-06-13T22:33:15.301Z] 8ed8ca486205: Download complete [2022-06-13T22:33:15.301Z] 666ba61612fd: Download complete [2022-06-13T22:33:15.301Z] c516ae0d96e1: Verifying Checksum [2022-06-13T22:33:15.301Z] c516ae0d96e1: Download complete [2022-06-13T22:33:15.563Z] 684cea983483: Verifying Checksum [2022-06-13T22:33:15.564Z] 684cea983483: Download complete [2022-06-13T22:33:15.564Z] dd3240ac7de5: Download complete [2022-06-13T22:33:15.564Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T22:33:15.564Z] 59bf1c3509f3: Download complete [2022-06-13T22:33:15.564Z] b1e948a4e11c: Verifying Checksum [2022-06-13T22:33:15.564Z] b1e948a4e11c: Download complete [2022-06-13T22:33:15.564Z] 59bf1c3509f3: Pull complete [2022-06-13T22:33:15.826Z] 666ba61612fd: Pull complete [2022-06-13T22:33:15.826Z] 8ed8ca486205: Pull complete [2022-06-13T22:33:16.086Z] 646ad004c059: Verifying Checksum [2022-06-13T22:33:16.086Z] 646ad004c059: Download complete [2022-06-13T22:33:16.086Z] a8fd76ee1af6: Verifying Checksum [2022-06-13T22:33:16.086Z] a8fd76ee1af6: Download complete [2022-06-13T22:33:16.086Z] cc1cd167ecdc: Verifying Checksum [2022-06-13T22:33:16.086Z] cc1cd167ecdc: Download complete [2022-06-13T22:33:20.286Z] cc1cd167ecdc: Pull complete [2022-06-13T22:33:20.286Z] c516ae0d96e1: Pull complete [2022-06-13T22:33:20.286Z] 684cea983483: Pull complete [2022-06-13T22:33:20.546Z] dd3240ac7de5: Pull complete [2022-06-13T22:33:20.546Z] b1e948a4e11c: Pull complete [2022-06-13T22:33:23.084Z] a8fd76ee1af6: Pull complete [2022-06-13T22:33:23.655Z] 646ad004c059: Pull complete [2022-06-13T22:33:23.655Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T22:33:23.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T22:33:23.655Z] ---> 8f69c11f6b0c [2022-06-13T22:33:23.655Z] Step 3/13 : ARG MAKE="make build" [2022-06-13T22:33:25.569Z] ---> Running in b346c777616a [2022-06-13T22:33:25.569Z] Removing intermediate container b346c777616a [2022-06-13T22:33:25.569Z] ---> 5b30fcced5e2 [2022-06-13T22:33:25.569Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T22:33:25.569Z] ---> Running in 32b08a9f7ee8 [2022-06-13T22:33:25.569Z] Removing intermediate container 32b08a9f7ee8 [2022-06-13T22:33:25.569Z] ---> a888a7d11c00 [2022-06-13T22:33:25.569Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T22:33:25.569Z] ---> Running in 7c280bce317b [2022-06-13T22:33:25.569Z] Removing intermediate container 7c280bce317b [2022-06-13T22:33:25.569Z] ---> fd7fbd3786ec [2022-06-13T22:33:25.569Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-13T22:33:25.569Z] ---> Running in 45d0df54d239 [2022-06-13T22:33:25.829Z] Removing intermediate container 45d0df54d239 [2022-06-13T22:33:25.829Z] ---> 5623d3ede718 [2022-06-13T22:33:25.829Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T22:33:25.829Z] ---> Running in d229498fb323 [2022-06-13T22:33:26.399Z] Removing intermediate container d229498fb323 [2022-06-13T22:33:26.400Z] ---> 2f1bcea13fb1 [2022-06-13T22:33:26.400Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T22:33:26.400Z] ---> Running in a904fdd13c11 [2022-06-13T22:33:26.659Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T22:33:27.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T22:33:28.166Z] OK: 221 MiB in 52 packages [2022-06-13T22:33:28.425Z] Removing intermediate container a904fdd13c11 [2022-06-13T22:33:28.425Z] ---> 26f0c94bd725 [2022-06-13T22:33:28.425Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-13T22:33:28.425Z] ---> Running in 196fa80c8482 [2022-06-13T22:33:28.425Z] Removing intermediate container 196fa80c8482 [2022-06-13T22:33:28.425Z] ---> 7262e37a4cc5 [2022-06-13T22:33:28.425Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-13T22:33:28.689Z] ---> a823623de380 [2022-06-13T22:33:28.689Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T22:33:28.689Z] ---> Running in 5244de920299 [2022-06-13T22:33:28.769Z] Still waiting to schedule task [2022-06-13T22:33:28.769Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-13T22:33:46.812Z] Removing intermediate container 5244de920299 [2022-06-13T22:33:46.812Z] ---> a7b25e3b9a6d [2022-06-13T22:33:46.812Z] Step 12/13 : COPY . . [2022-06-13T22:33:46.812Z] ---> 775e26255307 [2022-06-13T22:33:46.812Z] Step 13/13 : RUN ${MAKE} [2022-06-13T22:33:46.812Z] ---> Running in ceb3678761a3 [2022-06-13T22:33:46.812Z] noop [2022-06-13T22:33:46.812Z] Removing intermediate container ceb3678761a3 [2022-06-13T22:33:46.812Z] ---> 8e8050a01e7e [2022-06-13T22:33:46.812Z] Successfully built 8e8050a01e7e [2022-06-13T22:33:46.812Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:33:47.134Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T22:33:47.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:33:47.221Z] prd-ubuntu20.04-docker-8c-8g-2357 does not seem to be running inside a container [2022-06-13T22:33:47.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat [2022-06-13T22:33:47.666Z] $ docker top bcf4558e6930dddd0ce68ff5776531a900ad4b8fc24ba40906033551ef06a8f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T22:33:48.032Z] + go version [2022-06-13T22:33:48.032Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T22:33:48.049Z] $ docker stop --time=1 bcf4558e6930dddd0ce68ff5776531a900ad4b8fc24ba40906033551ef06a8f8 [2022-06-13T22:33:49.339Z] $ docker rm -f bcf4558e6930dddd0ce68ff5776531a900ad4b8fc24ba40906033551ef06a8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:33:49.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T22:33:49.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:33:49.831Z] prd-ubuntu20.04-docker-8c-8g-2357 does not seem to be running inside a container [2022-06-13T22:33:49.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat [2022-06-13T22:33:50.258Z] $ docker top 8d9e76f37613aff9f8420fd620944d0fcc2fe5e05287b8c2b8a5d4c4f5e0c0fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T22:33:50.621Z] + make test [2022-06-13T22:33:50.621Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T22:33:50.881Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-13T22:34:00.879Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-13T22:34:00.879Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.013s coverage: 1.2% of statements [2022-06-13T22:34:05.082Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.645s coverage: 13.8% of statements [2022-06-13T22:34:11.669Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T22:34:15.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T22:34:15.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T22:34:15.865Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T22:34:16.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T22:34:16.468Z] $ docker stop --time=1 8d9e76f37613aff9f8420fd620944d0fcc2fe5e05287b8c2b8a5d4c4f5e0c0fb [2022-06-13T22:34:18.186Z] $ docker rm -f 8d9e76f37613aff9f8420fd620944d0fcc2fe5e05287b8c2b8a5d4c4f5e0c0fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T22:34:18.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T22:34:18.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-13T22:34:19.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T22:34:19.493Z] + ls -al . [2022-06-13T22:34:19.493Z] total 236 [2022-06-13T22:34:19.493Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 22:34 . [2022-06-13T22:34:19.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:32 .. [2022-06-13T22:34:19.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 22:33 .git [2022-06-13T22:34:19.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 22:32 .github [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 13 22:32 .gitignore [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 13 22:32 .golangci.yml [2022-06-13T22:34:19.493Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 22:33 .semver [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 13 22:32 Attribution.txt [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 13 22:32 CHANGELOG.md [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 13 22:32 Dockerfile [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 22:32 GOVERNANCE.md [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 13 22:32 Jenkinsfile [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 13 22:32 LICENSE [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 13 22:32 Makefile [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 13 22:32 OWNERS.md [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 13 22:32 README.md [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 22:33 VERSION [2022-06-13T22:34:19.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 22:32 bin [2022-06-13T22:34:19.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 22:32 cmd [2022-06-13T22:34:19.493Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 13 22:34 coverage.out [2022-06-13T22:34:19.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:32 doc [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 13 22:32 go.mod [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 13 22:32 go.sum [2022-06-13T22:34:19.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:32 internal [2022-06-13T22:34:19.493Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 13 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:34:19.794Z] + 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=0edbb3bd8129b81ed75df96f6458e1533768f664 --label arch=amd64 --label version=0.0.0 . [2022-06-13T22:34:19.794Z] Sending build context to Docker daemon 8.856MB [2022-06-13T22:34:19.794Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T22:34:19.794Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-13T22:34:19.794Z] ---> 8e8050a01e7e [2022-06-13T22:34:19.794Z] Step 3/26 : ARG MAKE="make build" [2022-06-13T22:34:19.794Z] ---> Running in 18a3a3f7afd9 [2022-06-13T22:34:20.054Z] Removing intermediate container 18a3a3f7afd9 [2022-06-13T22:34:20.054Z] ---> 523a84220659 [2022-06-13T22:34:20.054Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T22:34:20.054Z] ---> Running in 02cb744e8a04 [2022-06-13T22:34:20.054Z] Removing intermediate container 02cb744e8a04 [2022-06-13T22:34:20.054Z] ---> f99a50aafa33 [2022-06-13T22:34:20.054Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T22:34:20.054Z] ---> Running in 5b0abdf327c8 [2022-06-13T22:34:20.054Z] Removing intermediate container 5b0abdf327c8 [2022-06-13T22:34:20.054Z] ---> a04fc9286437 [2022-06-13T22:34:20.054Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-13T22:34:20.314Z] ---> Running in d9dab507f2f3 [2022-06-13T22:34:20.314Z] Removing intermediate container d9dab507f2f3 [2022-06-13T22:34:20.314Z] ---> aea4dbf1bc12 [2022-06-13T22:34:20.314Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T22:34:20.314Z] ---> Running in 2c8d195d3db7 [2022-06-13T22:34:20.885Z] Removing intermediate container 2c8d195d3db7 [2022-06-13T22:34:20.885Z] ---> 99f0d92874e2 [2022-06-13T22:34:20.885Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T22:34:20.885Z] ---> Running in 7e3fad2c7764 [2022-06-13T22:34:21.146Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T22:34:22.087Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T22:34:22.347Z] OK: 221 MiB in 52 packages [2022-06-13T22:34:22.607Z] Removing intermediate container 7e3fad2c7764 [2022-06-13T22:34:22.607Z] ---> 97b9611dab3c [2022-06-13T22:34:22.607Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-13T22:34:22.607Z] ---> Running in 5a9fdec0076d [2022-06-13T22:34:22.607Z] Removing intermediate container 5a9fdec0076d [2022-06-13T22:34:22.607Z] ---> 3459bf85d53c [2022-06-13T22:34:22.607Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-13T22:34:22.866Z] ---> a2eeb46b5681 [2022-06-13T22:34:22.866Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T22:34:22.866Z] ---> Running in 78064954ed62 [2022-06-13T22:34:23.433Z] Removing intermediate container 78064954ed62 [2022-06-13T22:34:23.433Z] ---> 7839fdf0adcf [2022-06-13T22:34:23.433Z] Step 12/26 : COPY . . [2022-06-13T22:34:23.695Z] ---> 2b461924833a [2022-06-13T22:34:23.695Z] Step 13/26 : RUN ${MAKE} [2022-06-13T22:34:23.956Z] ---> Running in 0a94574cfe13 [2022-06-13T22:34:24.218Z] 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-06-13T22:34:46.171Z] Removing intermediate container 0a94574cfe13 [2022-06-13T22:34:46.171Z] ---> c9caadba2401 [2022-06-13T22:34:46.171Z] Step 14/26 : FROM alpine:3.15 [2022-06-13T22:34:46.171Z] 3.15: Pulling from library/alpine [2022-06-13T22:34:46.171Z] df9b9388f04a: Pulling fs layer [2022-06-13T22:34:46.171Z] df9b9388f04a: Verifying Checksum [2022-06-13T22:34:46.171Z] df9b9388f04a: Download complete [2022-06-13T22:34:46.171Z] df9b9388f04a: Pull complete [2022-06-13T22:34:46.171Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-13T22:34:46.171Z] Status: Downloaded newer image for alpine:3.15 [2022-06-13T22:34:46.171Z] ---> 0ac33e5f5afa [2022-06-13T22:34:46.171Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-13T22:34:46.171Z] ---> Running in db4903202a1b [2022-06-13T22:34:46.171Z] Removing intermediate container db4903202a1b [2022-06-13T22:34:46.171Z] ---> 70615fc8b267 [2022-06-13T22:34:46.171Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T22:34:46.171Z] ---> Running in bba89822c704 [2022-06-13T22:34:46.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T22:34:46.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T22:34:46.171Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T22:34:46.171Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-13T22:34:46.171Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T22:34:46.171Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-13T22:34:46.171Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T22:34:46.171Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T22:34:46.171Z] Executing busybox-1.34.1-r5.trigger [2022-06-13T22:34:46.171Z] OK: 8 MiB in 20 packages [2022-06-13T22:34:46.171Z] Removing intermediate container bba89822c704 [2022-06-13T22:34:46.171Z] ---> 486ed43c446a [2022-06-13T22:34:46.171Z] Step 17/26 : WORKDIR / [2022-06-13T22:34:46.171Z] ---> Running in 82d0a2ecf187 [2022-06-13T22:34:46.171Z] Removing intermediate container 82d0a2ecf187 [2022-06-13T22:34:46.171Z] ---> 540e7b197244 [2022-06-13T22:34:46.171Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-13T22:34:46.431Z] ---> eff55214dd5d [2022-06-13T22:34:46.431Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-13T22:34:46.431Z] ---> 81a620c85788 [2022-06-13T22:34:46.431Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-13T22:34:46.695Z] ---> 3d85c8a99130 [2022-06-13T22:34:46.695Z] Step 21/26 : EXPOSE 59984 [2022-06-13T22:34:46.695Z] ---> Running in c4cc0c4dbdb4 [2022-06-13T22:34:46.695Z] Removing intermediate container c4cc0c4dbdb4 [2022-06-13T22:34:46.695Z] ---> 4db6eab293a7 [2022-06-13T22:34:46.695Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-13T22:34:46.955Z] ---> Running in 18ad16dc139f [2022-06-13T22:34:46.955Z] Removing intermediate container 18ad16dc139f [2022-06-13T22:34:46.955Z] ---> d550ea74d868 [2022-06-13T22:34:46.955Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T22:34:46.955Z] ---> Running in 7b931e48e1c6 [2022-06-13T22:34:46.955Z] Removing intermediate container 7b931e48e1c6 [2022-06-13T22:34:46.955Z] ---> 14e2c3b8f22e [2022-06-13T22:34:46.955Z] Step 24/26 : LABEL arch=amd64 [2022-06-13T22:34:46.955Z] ---> Running in 60e2af9daf76 [2022-06-13T22:34:47.214Z] Removing intermediate container 60e2af9daf76 [2022-06-13T22:34:47.214Z] ---> 48bb41a5c83a [2022-06-13T22:34:47.214Z] Step 25/26 : LABEL git_sha=0edbb3bd8129b81ed75df96f6458e1533768f664 [2022-06-13T22:34:47.214Z] ---> Running in 5ee0fa7b50e9 [2022-06-13T22:34:47.214Z] Removing intermediate container 5ee0fa7b50e9 [2022-06-13T22:34:47.214Z] ---> d1bea8502384 [2022-06-13T22:34:47.214Z] Step 26/26 : LABEL version=0.0.0 [2022-06-13T22:34:47.214Z] ---> Running in 87a79e80b8b0 [2022-06-13T22:34:47.475Z] Removing intermediate container 87a79e80b8b0 [2022-06-13T22:34:47.476Z] ---> 303900717138 [2022-06-13T22:34:47.476Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T22:34:47.476Z] Successfully built 303900717138 [2022-06-13T22:34:47.476Z] 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-06-13T22:34:47.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T22:34:47.917Z] [2022-06-13T22:34:47.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:34:48.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T22:34:48.219Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T22:34:48.219Z] 5eb5b503b376: Pulling fs layer [2022-06-13T22:34:48.219Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T22:34:48.219Z] ec43610c2a17: Pulling fs layer [2022-06-13T22:34:48.219Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T22:34:48.219Z] 33b1e0a273af: Pulling fs layer [2022-06-13T22:34:48.219Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T22:34:48.219Z] 2f39f015ded8: Pulling fs layer [2022-06-13T22:34:48.219Z] 3a2ae6a8a46f: Waiting [2022-06-13T22:34:48.219Z] 33b1e0a273af: Waiting [2022-06-13T22:34:48.219Z] 5d3b04190fa2: Waiting [2022-06-13T22:34:48.219Z] 2f39f015ded8: Waiting [2022-06-13T22:34:48.219Z] 5c69ac0246d0: Download complete [2022-06-13T22:34:48.219Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-13T22:34:48.219Z] 3a2ae6a8a46f: Download complete [2022-06-13T22:34:48.219Z] 33b1e0a273af: Verifying Checksum [2022-06-13T22:34:48.219Z] 33b1e0a273af: Download complete [2022-06-13T22:34:48.219Z] ec43610c2a17: Verifying Checksum [2022-06-13T22:34:48.219Z] ec43610c2a17: Download complete [2022-06-13T22:34:48.219Z] 5d3b04190fa2: Download complete [2022-06-13T22:34:48.479Z] 5eb5b503b376: Verifying Checksum [2022-06-13T22:34:48.479Z] 5eb5b503b376: Download complete [2022-06-13T22:34:49.047Z] 2f39f015ded8: Verifying Checksum [2022-06-13T22:34:49.047Z] 2f39f015ded8: Download complete [2022-06-13T22:34:49.615Z] 5eb5b503b376: Pull complete [2022-06-13T22:34:49.875Z] 5c69ac0246d0: Pull complete [2022-06-13T22:34:50.442Z] ec43610c2a17: Pull complete [2022-06-13T22:34:50.442Z] 3a2ae6a8a46f: Pull complete [2022-06-13T22:34:50.701Z] 33b1e0a273af: Pull complete [2022-06-13T22:34:50.701Z] 5d3b04190fa2: Pull complete [2022-06-13T22:34:54.888Z] 2f39f015ded8: Pull complete [2022-06-13T22:34:54.888Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T22:34:54.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T22:34:54.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:34:54.980Z] prd-ubuntu20.04-docker-8c-8g-2357 does not seem to be running inside a container [2022-06-13T22:34:55.015Z] $ 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/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-06-13T22:34:56.463Z] $ docker top 253cd124d3004eaa23398f3acab69d085b68779a2eac0100f838690a8992cc51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:34:56.863Z] ---> job-cost.sh [2022-06-13T22:34:56.863Z] lf-activate-venv: SKIPPING [2022-06-13T22:34:56.863Z] INFO: No Stack... [2022-06-13T22:34:57.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T22:34:57.694Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T22:34:57.983Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-13T22:34:57.983Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T22:34:57.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [2022-06-13T22:34:58.046Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] did not exist. Created. [2022-06-13T22:34:58.046Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T22:34:58.352Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T22:34:58.378Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T22:34:58.396Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T22:34:58.411Z] $ docker stop --time=1 253cd124d3004eaa23398f3acab69d085b68779a2eac0100f838690a8992cc51 [2022-06-13T22:34:59.579Z] $ docker rm -f 253cd124d3004eaa23398f3acab69d085b68779a2eac0100f838690a8992cc51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T22:35:14.519Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2358 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-13T22:35:14.533Z] Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout [2022-06-13T22:35:14.563Z] Selected Git installation does not exist. Using Default [2022-06-13T22:35:14.564Z] The recommended git tool is: NONE [2022-06-13T22:35:19.324Z] using credential edgex-jenkins-ssh [2022-06-13T22:35:19.342Z] Cloning the remote Git repository [2022-06-13T22:35:19.398Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T22:35:19.470Z] > git init /w/workspace/device-onvif-camera/20 # timeout=10 [2022-06-13T22:35:19.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T22:35:19.553Z] > git --version # timeout=10 [2022-06-13T22:35:19.580Z] > git --version # 'git version 2.25.1' [2022-06-13T22:35:19.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T22:35:19.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T22:35:20.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-13T22:35:20.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T22:35:20.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-13T22:35:20.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T22:35:20.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T22:35:20.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-13T22:35:21.242Z] Merging remotes/origin/main commit 24145fbef97b1fa0849e90c42711cf4bdce583e6 into PR head commit 0a6ea66ed8171eab6038510dd3ee042540d445da [2022-06-13T22:35:21.688Z] Merge succeeded, producing dff4a64e743589c1b9faa687edf142f6b853a31b [2022-06-13T22:35:21.688Z] Checking out Revision dff4a64e743589c1b9faa687edf142f6b853a31b (PR-81) [2022-06-13T22:35:21.262Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T22:35:21.300Z] > git checkout -f 0a6ea66ed8171eab6038510dd3ee042540d445da # timeout=10 [2022-06-13T22:35:21.434Z] > git remote # timeout=10 [2022-06-13T22:35:21.453Z] > git config --get remote.origin.url # timeout=10 [2022-06-13T22:35:21.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T22:35:21.479Z] > git merge 24145fbef97b1fa0849e90c42711cf4bdce583e6 # timeout=10 [2022-06-13T22:35:21.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-13T22:35:21.699Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T22:35:21.719Z] > git checkout -f dff4a64e743589c1b9faa687edf142f6b853a31b # timeout=10 [2022-06-13T22:35:26.003Z] Commit message: "Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD" [2022-06-13T22:35:26.032Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T22:35:26.016Z] > git rev-list --no-walk 36ff3325d0ba8cef3a69710e6565968dab2a0533 # timeout=10 [2022-06-13T22:35:26.911Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T22:35:26.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T22:35:26.911Z] Dload Upload Total Spent Left Speed [2022-06-13T22:35:26.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 77550 0 --:--:-- --:--:-- --:--:-- 78044 [Pipeline] sh [2022-06-13T22:35:27.578Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T22:35:27.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T22:35:27.986Z] + sudo tee /etc/docker/daemon.new [2022-06-13T22:35:27.986Z] { [2022-06-13T22:35:27.986Z] "registry-mirrors": [ [2022-06-13T22:35:27.986Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T22:35:27.986Z] ], [2022-06-13T22:35:27.986Z] "bip": "10.250.0.254/24", [2022-06-13T22:35:27.986Z] "hosts": [ [2022-06-13T22:35:27.986Z] "tcp://0.0.0.0:5555", [2022-06-13T22:35:27.986Z] "unix:///var/run/docker.sock" [2022-06-13T22:35:27.986Z] ], [2022-06-13T22:35:27.986Z] "mtu": 1458, [2022-06-13T22:35:27.986Z] "selinux-enabled": true, [2022-06-13T22:35:27.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T22:35:27.986Z] } [Pipeline] sh [2022-06-13T22:35:28.335Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T22:35:28.672Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T22:35:47.016Z] provisioning config files... [2022-06-13T22:35:47.039Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config8066205841199733159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:35:47.388Z] ---> docker-login.sh [2022-06-13T22:35:47.388Z] nexus3.edgexfoundry.org:10001 [2022-06-13T22:35:47.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:35:48.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:35:48.258Z] Configure a credential helper to remove this warning. See [2022-06-13T22:35:48.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:35:48.258Z] [2022-06-13T22:35:48.258Z] Login Succeeded [2022-06-13T22:35:48.258Z] nexus3.edgexfoundry.org:10002 [2022-06-13T22:35:48.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:35:48.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:35:48.804Z] Configure a credential helper to remove this warning. See [2022-06-13T22:35:48.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:35:48.805Z] [2022-06-13T22:35:48.805Z] Login Succeeded [2022-06-13T22:35:48.805Z] nexus3.edgexfoundry.org:10003 [2022-06-13T22:35:49.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:35:49.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:35:49.077Z] Configure a credential helper to remove this warning. See [2022-06-13T22:35:49.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:35:49.077Z] [2022-06-13T22:35:49.077Z] Login Succeeded [2022-06-13T22:35:49.077Z] nexus3.edgexfoundry.org:10004 [2022-06-13T22:35:49.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:35:49.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:35:49.626Z] Configure a credential helper to remove this warning. See [2022-06-13T22:35:49.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:35:49.626Z] [2022-06-13T22:35:49.626Z] Login Succeeded [2022-06-13T22:35:49.626Z] docker.io [2022-06-13T22:35:49.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T22:35:50.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T22:35:50.489Z] Configure a credential helper to remove this warning. See [2022-06-13T22:35:50.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T22:35:50.489Z] [2022-06-13T22:35:50.489Z] Login Succeeded [2022-06-13T22:35:50.489Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T22:35:50.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T22:35:50.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T22:35:51.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T22:35:51.017Z] ========================================================= [2022-06-13T22:35:51.017Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T22:35:51.017Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:35:51.379Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-13T22:35:51.656Z] Sending build context to Docker daemon 6.019MB [2022-06-13T22:35:51.656Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T22:35:51.656Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-13T22:35:51.931Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T22:35:51.931Z] 9b3977197b4f: Pulling fs layer [2022-06-13T22:35:51.931Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T22:35:51.931Z] 94645a83ff95: Pulling fs layer [2022-06-13T22:35:51.931Z] e6fb740bc735: Pulling fs layer [2022-06-13T22:35:51.931Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T22:35:51.931Z] 355e64cbe906: Pulling fs layer [2022-06-13T22:35:51.931Z] 63ab81a10011: Pulling fs layer [2022-06-13T22:35:51.931Z] 555d1d1c4555: Pulling fs layer [2022-06-13T22:35:51.931Z] 7d9057610161: Pulling fs layer [2022-06-13T22:35:51.931Z] 355e64cbe906: Waiting [2022-06-13T22:35:51.931Z] 63ab81a10011: Waiting [2022-06-13T22:35:51.931Z] 555d1d1c4555: Waiting [2022-06-13T22:35:51.931Z] 7d9057610161: Waiting [2022-06-13T22:35:51.931Z] e6fb740bc735: Waiting [2022-06-13T22:35:51.931Z] 3a77bd46dcc9: Waiting [2022-06-13T22:35:51.931Z] 94645a83ff95: Verifying Checksum [2022-06-13T22:35:51.931Z] 94645a83ff95: Download complete [2022-06-13T22:35:51.931Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T22:35:51.931Z] 1a89e8eeedd5: Download complete [2022-06-13T22:35:51.931Z] 3a77bd46dcc9: Verifying Checksum [2022-06-13T22:35:51.931Z] 3a77bd46dcc9: Download complete [2022-06-13T22:35:51.931Z] 355e64cbe906: Verifying Checksum [2022-06-13T22:35:51.931Z] 355e64cbe906: Download complete [2022-06-13T22:35:51.931Z] 9b3977197b4f: Verifying Checksum [2022-06-13T22:35:51.931Z] 9b3977197b4f: Download complete [2022-06-13T22:35:51.931Z] 63ab81a10011: Verifying Checksum [2022-06-13T22:35:51.931Z] 63ab81a10011: Download complete [2022-06-13T22:35:52.937Z] 9b3977197b4f: Pull complete [2022-06-13T22:35:52.937Z] 7d9057610161: Verifying Checksum [2022-06-13T22:35:52.937Z] 7d9057610161: Download complete [2022-06-13T22:35:53.543Z] 1a89e8eeedd5: Pull complete [2022-06-13T22:35:53.818Z] 94645a83ff95: Pull complete [2022-06-13T22:35:54.091Z] 555d1d1c4555: Verifying Checksum [2022-06-13T22:35:54.091Z] 555d1d1c4555: Download complete [2022-06-13T22:35:54.694Z] e6fb740bc735: Verifying Checksum [2022-06-13T22:35:54.694Z] e6fb740bc735: Download complete [2022-06-13T22:36:07.123Z] e6fb740bc735: Pull complete [2022-06-13T22:36:07.123Z] 3a77bd46dcc9: Pull complete [2022-06-13T22:36:07.123Z] 355e64cbe906: Pull complete [2022-06-13T22:36:07.397Z] 63ab81a10011: Pull complete [2022-06-13T22:36:14.136Z] 555d1d1c4555: Pull complete [2022-06-13T22:36:16.117Z] 7d9057610161: Pull complete [2022-06-13T22:36:16.117Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T22:36:16.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T22:36:16.117Z] ---> 819e984ddca1 [2022-06-13T22:36:16.117Z] Step 3/13 : ARG MAKE="make build" [2022-06-13T22:36:16.729Z] ---> Running in be7d9383528c [2022-06-13T22:36:17.004Z] Removing intermediate container be7d9383528c [2022-06-13T22:36:17.004Z] ---> e6434cece88f [2022-06-13T22:36:17.004Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T22:36:17.280Z] ---> Running in 61e167f60035 [2022-06-13T22:36:17.563Z] Removing intermediate container 61e167f60035 [2022-06-13T22:36:17.563Z] ---> 7506f7d469d9 [2022-06-13T22:36:17.563Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T22:36:17.563Z] ---> Running in 409706b9130f [2022-06-13T22:36:19.004Z] Removing intermediate container 409706b9130f [2022-06-13T22:36:19.005Z] ---> 28587c98e40c [2022-06-13T22:36:19.005Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-13T22:36:19.005Z] ---> Running in a7eafeb820d6 [2022-06-13T22:36:19.276Z] Removing intermediate container a7eafeb820d6 [2022-06-13T22:36:19.276Z] ---> 481f47fdeef5 [2022-06-13T22:36:19.276Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T22:36:19.276Z] ---> Running in daa55ef40247 [2022-06-13T22:36:21.293Z] Removing intermediate container daa55ef40247 [2022-06-13T22:36:21.293Z] ---> ad5f9c96f15a [2022-06-13T22:36:21.293Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T22:36:21.293Z] ---> Running in de8c62bae525 [2022-06-13T22:36:22.275Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T22:36:22.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T22:36:23.850Z] OK: 220 MiB in 52 packages [2022-06-13T22:36:24.453Z] Removing intermediate container de8c62bae525 [2022-06-13T22:36:24.453Z] ---> 1df84d4e8612 [2022-06-13T22:36:24.453Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-13T22:36:24.728Z] ---> Running in 7775e0a27c6b [2022-06-13T22:36:25.002Z] Removing intermediate container 7775e0a27c6b [2022-06-13T22:36:25.002Z] ---> d75d6f46743c [2022-06-13T22:36:25.002Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-13T22:36:25.609Z] ---> 90d2baaa0426 [2022-06-13T22:36:25.609Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T22:36:25.609Z] ---> Running in 3bf35f198a94 [2022-06-13T22:37:12.604Z] Removing intermediate container 3bf35f198a94 [2022-06-13T22:37:12.604Z] ---> 949395ae611f [2022-06-13T22:37:12.604Z] Step 12/13 : COPY . . [2022-06-13T22:37:12.604Z] ---> f88a39a022d1 [2022-06-13T22:37:12.604Z] Step 13/13 : RUN ${MAKE} [2022-06-13T22:37:12.604Z] ---> Running in 7166fa36c175 [2022-06-13T22:37:13.200Z] noop [2022-06-13T22:37:13.796Z] Removing intermediate container 7166fa36c175 [2022-06-13T22:37:13.796Z] ---> 513972347c4f [2022-06-13T22:37:13.796Z] Successfully built 513972347c4f [2022-06-13T22:37:13.796Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:37:14.155Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T22:37:14.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:37:14.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-2358 does not seem to be running inside a container [2022-06-13T22:37:14.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-13T22:37:15.813Z] $ docker top f39349c7ff78a7eb60e89ab3882d991274c146d2ad7e07ee11cd1d96e6972237 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T22:37:16.740Z] + go version [2022-06-13T22:37:16.740Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T22:37:16.774Z] $ docker stop --time=1 f39349c7ff78a7eb60e89ab3882d991274c146d2ad7e07ee11cd1d96e6972237 [2022-06-13T22:37:18.431Z] $ docker rm -f f39349c7ff78a7eb60e89ab3882d991274c146d2ad7e07ee11cd1d96e6972237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:37:19.037Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T22:37:19.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:37:19.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-2358 does not seem to be running inside a container [2022-06-13T22:37:19.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-13T22:37:20.586Z] $ docker top cf39572d5b46a5793f147804f5518e5b4ce79ca3b258ef0d85318364856dab12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T22:37:21.515Z] + make test [2022-06-13T22:37:21.515Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T22:37:23.500Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-13T22:38:45.347Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-13T22:38:45.621Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.081s coverage: 1.2% of statements [2022-06-13T22:39:07.812Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.807s coverage: 13.8% of statements [2022-06-13T22:39:08.407Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T22:39:08.407Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T22:39:35.223Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T22:39:35.223Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T22:39:35.223Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T22:39:37.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T22:39:37.891Z] $ docker stop --time=1 cf39572d5b46a5793f147804f5518e5b4ce79ca3b258ef0d85318364856dab12 [2022-06-13T22:39:39.621Z] $ docker rm -f cf39572d5b46a5793f147804f5518e5b4ce79ca3b258ef0d85318364856dab12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T22:39:40.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T22:39:40.614Z] Warning: overwriting stash ‘coverage-report’ [2022-06-13T22:39:41.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T22:39:41.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T22:39:42.019Z] + ls -al . [2022-06-13T22:39:42.019Z] total 232 [2022-06-13T22:39:42.019Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 22:39 . [2022-06-13T22:39:42.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:35 .. [2022-06-13T22:39:42.019Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 22:35 .git [2022-06-13T22:39:42.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 22:35 .github [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 13 22:35 .gitignore [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 13 22:35 .golangci.yml [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 13 22:35 Attribution.txt [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 13 22:35 CHANGELOG.md [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 13 22:35 Dockerfile [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 22:35 GOVERNANCE.md [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 13 22:35 Jenkinsfile [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 13 22:35 LICENSE [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 13 22:35 Makefile [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 13 22:35 OWNERS.md [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 13 22:35 README.md [2022-06-13T22:39:42.019Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 22:33 VERSION [2022-06-13T22:39:42.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 22:35 bin [2022-06-13T22:39:42.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 22:35 cmd [2022-06-13T22:39:42.020Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 13 22:39 coverage.out [2022-06-13T22:39:42.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:35 doc [2022-06-13T22:39:42.020Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 13 22:35 go.mod [2022-06-13T22:39:42.020Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 13 22:35 go.sum [2022-06-13T22:39:42.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 22:35 internal [2022-06-13T22:39:42.020Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 13 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:39:42.519Z] + 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=dff4a64e743589c1b9faa687edf142f6b853a31b --label arch=arm64 --label version=0.0.0 . [2022-06-13T22:39:43.131Z] Sending build context to Docker daemon 6.079MB [2022-06-13T22:39:43.131Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T22:39:43.131Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-13T22:39:43.131Z] ---> 513972347c4f [2022-06-13T22:39:43.131Z] Step 3/26 : ARG MAKE="make build" [2022-06-13T22:39:43.131Z] ---> Running in 050a0378526c [2022-06-13T22:39:43.411Z] Removing intermediate container 050a0378526c [2022-06-13T22:39:43.411Z] ---> 2ede3d7b890b [2022-06-13T22:39:43.411Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T22:39:43.411Z] ---> Running in ae82778a9a15 [2022-06-13T22:39:44.017Z] Removing intermediate container ae82778a9a15 [2022-06-13T22:39:44.017Z] ---> 7f3c0e833576 [2022-06-13T22:39:44.017Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T22:39:44.017Z] ---> Running in 43b495bffecc [2022-06-13T22:39:44.298Z] Removing intermediate container 43b495bffecc [2022-06-13T22:39:44.298Z] ---> db0a7bdea323 [2022-06-13T22:39:44.298Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-13T22:39:44.298Z] ---> Running in 05b861046924 [2022-06-13T22:39:44.594Z] Removing intermediate container 05b861046924 [2022-06-13T22:39:44.595Z] ---> 802f341164bc [2022-06-13T22:39:44.595Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T22:39:44.595Z] ---> Running in 74c806937815 [2022-06-13T22:39:46.574Z] Removing intermediate container 74c806937815 [2022-06-13T22:39:46.574Z] ---> bcff51b9e0a2 [2022-06-13T22:39:46.574Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T22:39:46.574Z] ---> Running in 29451fa39b05 [2022-06-13T22:39:47.175Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T22:39:48.151Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T22:39:49.121Z] OK: 220 MiB in 52 packages [2022-06-13T22:39:49.722Z] Removing intermediate container 29451fa39b05 [2022-06-13T22:39:49.722Z] ---> 0bae1f5c7caf [2022-06-13T22:39:49.722Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-13T22:39:49.722Z] ---> Running in d42a27f5d103 [2022-06-13T22:39:50.319Z] Removing intermediate container d42a27f5d103 [2022-06-13T22:39:50.319Z] ---> afbe733a2264 [2022-06-13T22:39:50.319Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-13T22:39:50.593Z] ---> 2b4ce3e52c25 [2022-06-13T22:39:50.593Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T22:39:50.593Z] ---> Running in 64821486e4a7 [2022-06-13T22:39:52.565Z] Removing intermediate container 64821486e4a7 [2022-06-13T22:39:52.565Z] ---> 0a80accf646e [2022-06-13T22:39:52.565Z] Step 12/26 : COPY . . [2022-06-13T22:39:53.542Z] ---> 5a1c83a5139e [2022-06-13T22:39:53.542Z] Step 13/26 : RUN ${MAKE} [2022-06-13T22:39:53.542Z] ---> Running in 05f6d53adb44 [2022-06-13T22:39:54.519Z] 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-06-13T22:42:01.396Z] Removing intermediate container 05f6d53adb44 [2022-06-13T22:42:01.396Z] ---> dfe859cf77fd [2022-06-13T22:42:01.396Z] Step 14/26 : FROM alpine:3.15 [2022-06-13T22:42:01.396Z] 3.15: Pulling from library/alpine [2022-06-13T22:42:01.396Z] 9981e73032c8: Pulling fs layer [2022-06-13T22:42:01.396Z] 9981e73032c8: Download complete [2022-06-13T22:42:01.396Z] 9981e73032c8: Pull complete [2022-06-13T22:42:01.396Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-13T22:42:01.396Z] Status: Downloaded newer image for alpine:3.15 [2022-06-13T22:42:01.396Z] ---> 3fb3c9af89a9 [2022-06-13T22:42:01.396Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-13T22:42:01.396Z] ---> Running in c59f420ba863 [2022-06-13T22:42:01.396Z] Removing intermediate container c59f420ba863 [2022-06-13T22:42:01.396Z] ---> 161f7780c49e [2022-06-13T22:42:01.396Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T22:42:01.396Z] ---> Running in 72b831de0266 [2022-06-13T22:42:01.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T22:42:01.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T22:42:01.396Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T22:42:01.396Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-13T22:42:01.396Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T22:42:01.396Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-13T22:42:01.396Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T22:42:01.396Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T22:42:01.396Z] Executing busybox-1.34.1-r5.trigger [2022-06-13T22:42:01.396Z] OK: 8 MiB in 20 packages [2022-06-13T22:42:01.396Z] Removing intermediate container 72b831de0266 [2022-06-13T22:42:01.396Z] ---> d0b8aec75009 [2022-06-13T22:42:01.396Z] Step 17/26 : WORKDIR / [2022-06-13T22:42:01.396Z] ---> Running in 185d49f6eec8 [2022-06-13T22:42:01.396Z] Removing intermediate container 185d49f6eec8 [2022-06-13T22:42:01.396Z] ---> b8042236ed14 [2022-06-13T22:42:01.396Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-13T22:42:01.396Z] ---> 2b293308d3c3 [2022-06-13T22:42:01.396Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-13T22:42:01.396Z] ---> bb528e2f7bda [2022-06-13T22:42:01.396Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-13T22:42:01.671Z] ---> 216bccd6ed58 [2022-06-13T22:42:01.671Z] Step 21/26 : EXPOSE 59984 [2022-06-13T22:42:01.946Z] ---> Running in 0e275e635c1d [2022-06-13T22:42:02.219Z] Removing intermediate container 0e275e635c1d [2022-06-13T22:42:02.219Z] ---> 29d30947baff [2022-06-13T22:42:02.219Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-13T22:42:02.219Z] ---> Running in 8fb8b1fad782 [2022-06-13T22:42:02.494Z] Removing intermediate container 8fb8b1fad782 [2022-06-13T22:42:02.494Z] ---> 988f15c7e001 [2022-06-13T22:42:02.494Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T22:42:02.775Z] ---> Running in 9b878afab2e1 [2022-06-13T22:42:03.049Z] Removing intermediate container 9b878afab2e1 [2022-06-13T22:42:03.049Z] ---> e4d5699d4f7c [2022-06-13T22:42:03.049Z] Step 24/26 : LABEL arch=arm64 [2022-06-13T22:42:03.049Z] ---> Running in 512193f92ba8 [2022-06-13T22:42:03.323Z] Removing intermediate container 512193f92ba8 [2022-06-13T22:42:03.323Z] ---> 5e31245c942b [2022-06-13T22:42:03.323Z] Step 25/26 : LABEL git_sha=dff4a64e743589c1b9faa687edf142f6b853a31b [2022-06-13T22:42:03.323Z] ---> Running in 5bca7faf87a4 [2022-06-13T22:42:03.600Z] Removing intermediate container 5bca7faf87a4 [2022-06-13T22:42:03.600Z] ---> 202c707e0a45 [2022-06-13T22:42:03.600Z] Step 26/26 : LABEL version=0.0.0 [2022-06-13T22:42:03.874Z] ---> Running in fa2ffed041fc [2022-06-13T22:42:04.145Z] Removing intermediate container fa2ffed041fc [2022-06-13T22:42:04.146Z] ---> 5597f2446155 [2022-06-13T22:42:04.146Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T22:42:04.146Z] Successfully built 5597f2446155 [2022-06-13T22:42:04.146Z] 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-06-13T22:42:04.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T22:42:04.597Z] [2022-06-13T22:42:04.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:42:04.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T22:42:05.222Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T22:42:05.223Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T22:42:05.223Z] 04944245beec: Pulling fs layer [2022-06-13T22:42:05.223Z] 699f458cf7ca: Pulling fs layer [2022-06-13T22:42:05.223Z] 765212b225bb: Pulling fs layer [2022-06-13T22:42:05.223Z] f23df028b6ca: Pulling fs layer [2022-06-13T22:42:05.223Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T22:42:05.223Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T22:42:05.223Z] f23df028b6ca: Waiting [2022-06-13T22:42:05.223Z] 765212b225bb: Waiting [2022-06-13T22:42:05.223Z] d65c8cfc05b1: Waiting [2022-06-13T22:42:05.223Z] 2437ff75d9bd: Waiting [2022-06-13T22:42:05.223Z] 04944245beec: Verifying Checksum [2022-06-13T22:42:05.223Z] 04944245beec: Download complete [2022-06-13T22:42:05.223Z] 765212b225bb: Verifying Checksum [2022-06-13T22:42:05.223Z] 765212b225bb: Download complete [2022-06-13T22:42:05.223Z] f23df028b6ca: Verifying Checksum [2022-06-13T22:42:05.223Z] f23df028b6ca: Download complete [2022-06-13T22:42:05.223Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T22:42:05.223Z] d65c8cfc05b1: Download complete [2022-06-13T22:42:05.496Z] 699f458cf7ca: Verifying Checksum [2022-06-13T22:42:05.496Z] 699f458cf7ca: Download complete [2022-06-13T22:42:05.771Z] 8998bd30e6a1: Verifying Checksum [2022-06-13T22:42:05.771Z] 8998bd30e6a1: Download complete [2022-06-13T22:42:08.406Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T22:42:08.406Z] 2437ff75d9bd: Download complete [2022-06-13T22:42:10.388Z] 8998bd30e6a1: Pull complete [2022-06-13T22:42:10.388Z] 04944245beec: Pull complete [2022-06-13T22:42:12.366Z] 699f458cf7ca: Pull complete [2022-06-13T22:42:12.366Z] 765212b225bb: Pull complete [2022-06-13T22:42:12.964Z] f23df028b6ca: Pull complete [2022-06-13T22:42:13.239Z] d65c8cfc05b1: Pull complete [2022-06-13T22:42:28.343Z] 2437ff75d9bd: Pull complete [2022-06-13T22:42:28.343Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T22:42:28.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T22:42:28.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:42:28.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-2358 does not seem to be running inside a container [2022-06-13T22:42:28.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-13T22:42:31.151Z] $ docker top 827ba59c331c87b1c54bba5ebe2f49acfeeab0f4e89884bae6731d5d34badcae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:32.031Z] ---> job-cost.sh [2022-06-13T22:42:32.031Z] lf-activate-venv: SKIPPING [2022-06-13T22:42:32.031Z] INFO: No Stack... [2022-06-13T22:42:32.625Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T22:42:33.218Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T22:42:33.881Z] + cat+ /w/workspace/device-onvif-camera/20/archives/cost.csv [2022-06-13T22:42:33.881Z] cut -d, -f6 [Pipeline] lock [2022-06-13T22:42:33.941Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [2022-06-13T22:42:33.947Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] did not exist. Created. [2022-06-13T22:42:33.947Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T22:42:34.625Z] /w/workspace/device-onvif-camera/20@tmp/durable-d7cdf0b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T22:42:35.295Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T22:42:35.315Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T22:42:35.362Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T22:42:35.369Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T22:42:35.407Z] $ docker stop --time=1 827ba59c331c87b1c54bba5ebe2f49acfeeab0f4e89884bae6731d5d34badcae [2022-06-13T22:42:36.880Z] $ docker rm -f 827ba59c331c87b1c54bba5ebe2f49acfeeab0f4e89884bae6731d5d34badcae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-13T22:42:37.357Z] provisioning config files... [2022-06-13T22:42:37.365Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1857433109195509176tmp [Pipeline] { [Pipeline] sh [2022-06-13T22:42:37.664Z] + set +x [2022-06-13T22:42:37.664Z] + + curl -s https://codecov.io/bash [2022-06-13T22:42:37.664Z] bash -s -- [2022-06-13T22:42:37.664Z] [2022-06-13T22:42:37.664Z] _____ _ [2022-06-13T22:42:37.664Z] / ____| | | [2022-06-13T22:42:37.664Z] | | ___ __| | ___ ___ _____ __ [2022-06-13T22:42:37.664Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-13T22:42:37.664Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-13T22:42:37.664Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-13T22:42:37.664Z] Bash-1.0.6 [2022-06-13T22:42:37.664Z] [2022-06-13T22:42:37.664Z] [2022-06-13T22:42:37.664Z] ==> git version 2.25.1 found [2022-06-13T22:42:37.664Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-13T22:42:37.664Z] Release-Date: 2020-01-08 [2022-06-13T22:42:37.664Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-13T22:42:37.664Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-13T22:42:37.664Z] ==> Jenkins CI detected. [2022-06-13T22:42:37.664Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-13T22:42:37.664Z] project root: . [2022-06-13T22:42:37.664Z] --> token set from env [2022-06-13T22:42:37.664Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-13T22:42:37.664Z] ==> Running gcov in . (disable via -X gcov) [2022-06-13T22:42:37.664Z] ==> Python coveragepy not found [2022-06-13T22:42:37.664Z] ==> Searching for coverage reports in: [2022-06-13T22:42:37.664Z] + . [2022-06-13T22:42:37.664Z] -> Found 1 reports [2022-06-13T22:42:37.664Z] ==> Detecting git/mercurial file structure [2022-06-13T22:42:37.664Z] ==> Reading reports [2022-06-13T22:42:37.664Z] + ./coverage.out bytes=59480 [2022-06-13T22:42:37.927Z] ==> Appending adjustments [2022-06-13T22:42:37.927Z] https://docs.codecov.io/docs/fixing-reports [2022-06-13T22:42:37.927Z] + Found adjustments [2022-06-13T22:42:37.927Z] ==> Gzipping contents [2022-06-13T22:42:37.927Z] 8.0K /tmp/codecov.7meqcS.gz [2022-06-13T22:42:37.927Z] ==> Uploading reports [2022-06-13T22:42:37.927Z] url: https://codecov.io [2022-06-13T22:42:37.927Z] query: branch=PR-81&commit=0edbb3bd8129b81ed75df96f6458e1533768f664&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-13T22:42:37.927Z] -> Pinging Codecov [2022-06-13T22:42:37.927Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-81&commit=0edbb3bd8129b81ed75df96f6458e1533768f664&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-13T22:42:38.189Z] -> Uploading to [2022-06-13T22:42:38.189Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-13/F29A59C45E3A92E06B3E522C9905F8EF/0edbb3bd8129b81ed75df96f6458e1533768f664/b679d7cc-cd7b-42ca-a315-42077ef342be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T224238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63455ceeead638d87b7bac94089d36945f473df85ddf604b85f27113464f3feb [2022-06-13T22:42:38.189Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T22:42:38.189Z] Dload Upload Total Spent Left Speed [2022-06-13T22:42:38.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7643 0 0 100 7643 0 25392 --:--:-- --:--:-- --:--:-- 25307 100 7643 0 0 100 7643 0 25307 --:--:-- --:--:-- --:--:-- 25224 [2022-06-13T22:42:38.451Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0edbb3bd8129b81ed75df96f6458e1533768f664 [Pipeline] } [2022-06-13T22:42:38.459Z] 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-06-13T22:42:39.120Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-13T22:42:39.120Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-13T22:42:39.120Z] total 16 [2022-06-13T22:42:39.120Z] drwxr-xr-x 3 root root 4096 Jun 13 22:34 . [2022-06-13T22:42:39.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 22:34 .. [2022-06-13T22:42:39.120Z] drwxr-xr-x 2 root root 4096 Jun 13 22:34 cost [2022-06-13T22:42:39.120Z] -rw-r--r-- 1 root root 90 Jun 13 22:34 cost.csv [2022-06-13T22:42:39.120Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-13T22:42:39.120Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-13T22:42:39.120Z] total 16 [2022-06-13T22:42:39.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 22:34 . [2022-06-13T22:42:39.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 22:34 .. [2022-06-13T22:42:39.120Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 22:34 cost [2022-06-13T22:42:39.120Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 13 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:39.416Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:40.281Z] ---> package-listing.sh [2022-06-13T22:42:40.282Z] ++ facter osfamily [2022-06-13T22:42:40.282Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T22:42:40.542Z] + OS_FAMILY=debian [2022-06-13T22:42:40.542Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-13T22:42:40.542Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T22:42:40.542Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T22:42:40.542Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T22:42:40.542Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T22:42:40.542Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-13T22:42:40.542Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T22:42:40.542Z] + case "${OS_FAMILY}" in [2022-06-13T22:42:40.542Z] + dpkg -l [2022-06-13T22:42:40.542Z] + grep '^ii' [2022-06-13T22:42:40.542Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T22:42:40.542Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T22:42:40.542Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T22:42:40.542Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-13T22:42:40.542Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-13T22:42:40.542Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-13T22:42:40.554Z] 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-13T22:42:40.834Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T22:42:41.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T22:42:41.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T22:42:41.483Z] prd-ubuntu20.04-docker-8c-8g-2357 does not seem to be running inside a container [2022-06-13T22:42:41.537Z] $ 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T22:42:41.875Z] $ docker top 7cdb3259f2665e1c37f7a10ddf3330477536608d69a0af7c408e82ff2413d2f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T22:42:42.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T22:42:42.556Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T22:42:42.875Z] + ls /var/log/sa-host [2022-06-13T22:42:42.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T22:42:43.023Z] provisioning config files... [2022-06-13T22:42:43.145Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config5343921491709383445tmp [Pipeline] { [Pipeline] echo [2022-06-13T22:42:43.168Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:43.477Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T22:42:43.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:43.813Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T22:42:43.822Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:44.105Z] ---> sudo-logs.sh [2022-06-13T22:42:44.106Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T22:42:44.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:44.417Z] ---> job-cost.sh [2022-06-13T22:42:44.417Z] lf-activate-venv: SKIPPING [2022-06-13T22:42:44.417Z] DEBUG: total: 0.2199999988079071 [2022-06-13T22:42:44.417Z] INFO: Retrieving Stack Cost... [2022-06-13T22:42:44.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T22:42:45.249Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T22:42:45.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T22:42:45.545Z] ---> logs-deploy.sh [2022-06-13T22:42:45.545Z] lf-activate-venv: SKIPPING [2022-06-13T22:42:45.545Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/20 [2022-06-13T22:42:45.545Z] INFO: archiving workspace using pattern(s): [2022-06-13T22:42:46.482Z] Archives upload complete. [2022-06-13T22:42:46.482Z] INFO: archiving logs to Nexus