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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than 81ce04306d24c066da4583ab5de1de6b226450ed Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh4454015786620826742.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-ssh10824314876460610277.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-ssh859042747190377736.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-ssh9707042850338055422.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-ssh8308075665718975573.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-2147 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 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 81ce04306d24c066da4583ab5de1de6b226450ed Merge succeeded, producing d836c09d020d51636e4ba85255c0758138f7a0dd Checking out Revision d836c09d020d51636e4ba85255c0758138f7a0dd (PR-81) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/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 81ce04306d24c066da4583ab5de1de6b226450ed # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d836c09d020d51636e4ba85255c0758138f7a0dd # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-09T15:35:12.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-09T15:35:12.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-09T15:35:12.192Z] ========================================================= [2022-06-09T15:35:12.192Z] EdgeX Global Pipelines Version Info [2022-06-09T15:35:12.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1434c0ec74ad09ec5583c9380cea1c22b8bee82e # timeout=10 [2022-06-09T15:35:12.953Z] ------------------- [2022-06-09T15:35:12.953Z] stable info: [2022-06-09T15:35:12.953Z] ------------------- [2022-06-09T15:35:12.953Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-09T15:35:12.953Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-09T15:35:12.953Z] Message: update stable to v1.0.234 [2022-06-09T15:35:13.527Z] ------------------- [2022-06-09T15:35:13.528Z] experimental info: [2022-06-09T15:35:13.528Z] ------------------- [2022-06-09T15:35:13.528Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-09T15:35:13.528Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-09T15:35:13.528Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-09T15:35:13.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-09T15:35:13.723Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-09T15:35:13.734Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-09T15:35:13.747Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-09T15:35:13.761Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-09T15:35:13.770Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-09T15:35:13.781Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-09T15:35:13.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-09T15:35:13.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-09T15:35:13.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-09T15:35:13.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-09T15:35:13.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-09T15:35:13.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-09T15:35:13.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-09T15:35:13.883Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-09T15:35:13.895Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-09T15:35:13.908Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-09T15:35:13.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-09T15:35:13.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-09T15:35:13.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-09T15:35:13.958Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-09T15:35:13.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-09T15:35:13.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-09T15:35:13.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-09T15:35:13.998Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-09T15:35:14.006Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-09T15:35:14.015Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-09T15:35:14.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-09T15:35:14.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-09T15:35:14.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-09T15:35:14.071Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d836c09d020d51636e4ba85255c0758138f7a0dd [Pipeline] echo [2022-06-09T15:35:14.087Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d836c09 [Pipeline] echo [2022-06-09T15:35:14.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-09T15:35:14.141Z] provisioning config files... [2022-06-09T15:35:14.155Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config8141651105649898820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:35:14.466Z] ---> docker-login.sh [2022-06-09T15:35:14.466Z] nexus3.edgexfoundry.org:10001 [2022-06-09T15:35:14.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:14.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:14.728Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:14.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:14.728Z] [2022-06-09T15:35:14.728Z] Login Succeeded [2022-06-09T15:35:14.728Z] nexus3.edgexfoundry.org:10002 [2022-06-09T15:35:14.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:14.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:14.992Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:14.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:14.992Z] [2022-06-09T15:35:14.992Z] Login Succeeded [2022-06-09T15:35:14.992Z] nexus3.edgexfoundry.org:10003 [2022-06-09T15:35:14.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:15.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:15.254Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:15.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:15.254Z] [2022-06-09T15:35:15.254Z] Login Succeeded [2022-06-09T15:35:15.254Z] nexus3.edgexfoundry.org:10004 [2022-06-09T15:35:15.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:15.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:15.254Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:15.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:15.254Z] [2022-06-09T15:35:15.254Z] Login Succeeded [2022-06-09T15:35:15.254Z] docker.io [2022-06-09T15:35:15.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:15.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:15.779Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:15.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:15.779Z] [2022-06-09T15:35:15.779Z] Login Succeeded [2022-06-09T15:35:15.779Z] ---> docker-login.sh ends [Pipeline] } [2022-06-09T15:35:15.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-09T15:35:16.150Z] + git rev-list -1 --merges d836c09d020d51636e4ba85255c0758138f7a0dd~1..d836c09d020d51636e4ba85255c0758138f7a0dd [Pipeline] echo [2022-06-09T15:35:16.269Z] -----------> git rev-list -1 --merges d836c09d020d51636e4ba85255c0758138f7a0dd~1..d836c09d020d51636e4ba85255c0758138f7a0dd d836c09d020d51636e4ba85255c0758138f7a0dd [2022-06-09T15:35:16.269Z] d836c09d020d51636e4ba85255c0758138f7a0dd [false] [Pipeline] sh [2022-06-09T15:35:16.562Z] + git log --format=format:%s -1 d836c09d020d51636e4ba85255c0758138f7a0dd [Pipeline] echo [2022-06-09T15:35:16.577Z] ========================================================= [2022-06-09T15:35:16.577Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-09T15:35:16.577Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-09T15:35:16.917Z] + git log --format=format:%s -1 d836c09d020d51636e4ba85255c0758138f7a0dd [Pipeline] echo [2022-06-09T15:35:16.932Z] [semverPrep] GIT_COMMIT: d836c09d020d51636e4ba85255c0758138f7a0dd, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-09T15:35:16.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-09T15:35:17.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-09T15:35:17.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-09T15:35:17.295Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-09T15:35:17.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-09T15:35:17.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-09T15:35:17.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-09T15:35:17.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:35:17.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-09T15:35:17.712Z] [2022-06-09T15:35:17.712Z] 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-09T15:35:18.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-09T15:35:18.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-09T15:35:18.023Z] 42c077c10790: Pulling fs layer [2022-06-09T15:35:18.023Z] f63e77b7563a: Pulling fs layer [2022-06-09T15:35:18.023Z] bd5fdadae976: Pulling fs layer [2022-06-09T15:35:18.023Z] 205491f53016: Pulling fs layer [2022-06-09T15:35:18.023Z] df18705c85c3: Pulling fs layer [2022-06-09T15:35:18.023Z] bdb3f477010e: Pulling fs layer [2022-06-09T15:35:18.023Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-09T15:35:18.023Z] 2c6e9b1d212d: Pulling fs layer [2022-06-09T15:35:18.023Z] bdb8f0575790: Pulling fs layer [2022-06-09T15:35:18.023Z] 386e3cb2ff24: Pulling fs layer [2022-06-09T15:35:18.023Z] 2343380bae48: Pulling fs layer [2022-06-09T15:35:18.023Z] 205491f53016: Waiting [2022-06-09T15:35:18.023Z] bdb3f477010e: Waiting [2022-06-09T15:35:18.023Z] c8a8fc8e1c8f: Waiting [2022-06-09T15:35:18.023Z] bdb8f0575790: Waiting [2022-06-09T15:35:18.023Z] 2c6e9b1d212d: Waiting [2022-06-09T15:35:18.023Z] df18705c85c3: Waiting [2022-06-09T15:35:18.023Z] 2343380bae48: Waiting [2022-06-09T15:35:18.023Z] 386e3cb2ff24: Waiting [2022-06-09T15:35:18.023Z] f63e77b7563a: Download complete [2022-06-09T15:35:18.023Z] 205491f53016: Download complete [2022-06-09T15:35:18.285Z] bd5fdadae976: Verifying Checksum [2022-06-09T15:35:18.285Z] bd5fdadae976: Download complete [2022-06-09T15:35:18.285Z] df18705c85c3: Verifying Checksum [2022-06-09T15:35:18.285Z] df18705c85c3: Download complete [2022-06-09T15:35:18.285Z] bdb3f477010e: Verifying Checksum [2022-06-09T15:35:18.285Z] bdb3f477010e: Download complete [2022-06-09T15:35:18.285Z] 2c6e9b1d212d: Download complete [2022-06-09T15:35:18.285Z] bdb8f0575790: Verifying Checksum [2022-06-09T15:35:18.285Z] bdb8f0575790: Download complete [2022-06-09T15:35:18.285Z] 386e3cb2ff24: Verifying Checksum [2022-06-09T15:35:18.285Z] 386e3cb2ff24: Download complete [2022-06-09T15:35:18.285Z] 2343380bae48: Verifying Checksum [2022-06-09T15:35:18.285Z] 2343380bae48: Download complete [2022-06-09T15:35:18.285Z] 42c077c10790: Verifying Checksum [2022-06-09T15:35:18.285Z] 42c077c10790: Download complete [2022-06-09T15:35:18.545Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-09T15:35:18.545Z] c8a8fc8e1c8f: Download complete [2022-06-09T15:35:19.931Z] 42c077c10790: Pull complete [2022-06-09T15:35:19.931Z] f63e77b7563a: Pull complete [2022-06-09T15:35:20.504Z] bd5fdadae976: Pull complete [2022-06-09T15:35:20.504Z] 205491f53016: Pull complete [2022-06-09T15:35:20.765Z] df18705c85c3: Pull complete [2022-06-09T15:35:20.765Z] bdb3f477010e: Pull complete [2022-06-09T15:35:22.679Z] c8a8fc8e1c8f: Pull complete [2022-06-09T15:35:22.940Z] 2c6e9b1d212d: Pull complete [2022-06-09T15:35:22.940Z] bdb8f0575790: Pull complete [2022-06-09T15:35:23.203Z] 386e3cb2ff24: Pull complete [2022-06-09T15:35:23.203Z] 2343380bae48: Pull complete [2022-06-09T15:35:23.203Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-09T15:35:23.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-09T15:35:23.203Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:35:23.312Z] prd-ubuntu20.04-docker-8c-8g-2147 does not seem to be running inside a container [2022-06-09T15:35:23.344Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-09T15:35:24.755Z] $ docker top c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 -eo pid,comm [2022-06-09T15:35:24.829Z] 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-09T15:35:24.829Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-09T15:35:24.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-09T15:35:24.865Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-09T15:35:25.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-09T15:35:25.002Z] $ docker exec c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 ssh-agent [2022-06-09T15:35:25.150Z] SSH_AUTH_SOCK=/tmp/ssh-GjAQVXvbOMWE/agent.34 [2022-06-09T15:35:25.150Z] SSH_AGENT_PID=41 [2022-06-09T15:35:25.157Z] Running ssh-add (command line suppressed) [2022-06-09T15:35:25.260Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5785403743469210371.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5785403743469210371.key) [2022-06-09T15:35:25.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-09T15:35:25.574Z] + git tag --points-at HEAD [Pipeline] } [2022-06-09T15:35:25.590Z] $ docker exec --env ******** --env ******** c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 ssh-agent -k [2022-06-09T15:35:25.708Z] unset SSH_AUTH_SOCK; [2022-06-09T15:35:25.709Z] unset SSH_AGENT_PID; [2022-06-09T15:35:25.709Z] echo Agent pid 41 killed; [2022-06-09T15:35:25.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-09T15:35:25.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-09T15:35:25.749Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-09T15:35:25.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-09T15:35:25.880Z] $ docker exec c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 ssh-agent [2022-06-09T15:35:26.011Z] SSH_AUTH_SOCK=/tmp/ssh-XHPgBQyyTWoK/agent.75 [2022-06-09T15:35:26.011Z] SSH_AGENT_PID=82 [2022-06-09T15:35:26.017Z] Running ssh-add (command line suppressed) [2022-06-09T15:35:26.145Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_9039754962131810159.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_9039754962131810159.key) [2022-06-09T15:35:26.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-09T15:35:26.460Z] + git semver init [2022-06-09T15:35:26.721Z] 2022-06-09 15:35:26,667 [run_init] DEBUG init version:0.0.0 force:False [2022-06-09T15:35:26.721Z] 2022-06-09 15:35:26,668 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-09T15:35:26.721Z] 2022-06-09 15:35:26,669 [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-09T15:35:26.721Z] 2022-06-09 15:35:26,669 [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-09T15:35:27.665Z] 2022-06-09 15:35:27,352 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-09T15:35:27.665Z] 2022-06-09 15:35:27,353 [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-09T15:35:27.665Z] 2022-06-09 15:35:27,353 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-09T15:35:27.665Z] 2022-06-09 15:35:27,358 [execute] INFO git cat-file --batch-check [2022-06-09T15:35:27.665Z] 2022-06-09 15:35:27,358 [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-09T15:35:27.665Z] 2022-06-09 15:35:27,364 [execute] INFO git cat-file --batch [2022-06-09T15:35:27.665Z] 2022-06-09 15:35:27,364 [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-09T15:35:27.665Z] 2022-06-09 15:35:27,369 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-09T15:35:27.665Z] 0.0.0 [Pipeline] } [2022-06-09T15:35:27.674Z] $ docker exec --env ******** --env ******** c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 ssh-agent -k [2022-06-09T15:35:27.787Z] unset SSH_AUTH_SOCK; [2022-06-09T15:35:27.787Z] unset SSH_AGENT_PID; [2022-06-09T15:35:27.787Z] echo Agent pid 82 killed; [2022-06-09T15:35:27.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-09T15:35:28.116Z] + git semver [Pipeline] } [2022-06-09T15:35:28.389Z] $ docker stop --time=1 c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 [2022-06-09T15:35:29.728Z] $ docker rm -f c440cf3f708f9ee5690c03f699f4f79c13ec420d150c19308f566f2b4a382a61 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-09T15:35:30.093Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-09T15:35:30.347Z] Stashed 1 file(s) [Pipeline] echo [2022-06-09T15:35:30.350Z] [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-09T15:35:30.499Z] provisioning config files... [2022-06-09T15:35:30.509Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1851169654687856020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:35:30.808Z] ---> docker-login.sh [2022-06-09T15:35:30.808Z] nexus3.edgexfoundry.org:10001 [2022-06-09T15:35:30.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:30.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:30.808Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:30.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:30.808Z] [2022-06-09T15:35:30.808Z] Login Succeeded [2022-06-09T15:35:30.808Z] nexus3.edgexfoundry.org:10002 [2022-06-09T15:35:30.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:31.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:31.069Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:31.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:31.069Z] [2022-06-09T15:35:31.069Z] Login Succeeded [2022-06-09T15:35:31.069Z] nexus3.edgexfoundry.org:10003 [2022-06-09T15:35:31.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:31.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:31.069Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:31.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:31.069Z] [2022-06-09T15:35:31.069Z] Login Succeeded [2022-06-09T15:35:31.069Z] nexus3.edgexfoundry.org:10004 [2022-06-09T15:35:31.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:31.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:31.330Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:31.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:31.330Z] [2022-06-09T15:35:31.330Z] Login Succeeded [2022-06-09T15:35:31.330Z] docker.io [2022-06-09T15:35:31.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:35:31.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:35:31.593Z] Configure a credential helper to remove this warning. See [2022-06-09T15:35:31.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:35:31.593Z] [2022-06-09T15:35:31.593Z] Login Succeeded [2022-06-09T15:35:31.856Z] ---> docker-login.sh ends [Pipeline] } [2022-06-09T15:35:31.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-09T15:35:31.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-09T15:35:31.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-09T15:35:31.958Z] ========================================================= [2022-06-09T15:35:31.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-09T15:35:31.958Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:35:32.272Z] + 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-09T15:35:32.273Z] Sending build context to Docker daemon 8.754MB [2022-06-09T15:35:32.273Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-09T15:35:32.273Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-09T15:35:32.273Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-09T15:35:32.273Z] 59bf1c3509f3: Pulling fs layer [2022-06-09T15:35:32.273Z] 666ba61612fd: Pulling fs layer [2022-06-09T15:35:32.273Z] 8ed8ca486205: Pulling fs layer [2022-06-09T15:35:32.273Z] cc1cd167ecdc: Pulling fs layer [2022-06-09T15:35:32.273Z] c516ae0d96e1: Pulling fs layer [2022-06-09T15:35:32.273Z] 684cea983483: Pulling fs layer [2022-06-09T15:35:32.273Z] dd3240ac7de5: Pulling fs layer [2022-06-09T15:35:32.273Z] b1e948a4e11c: Pulling fs layer [2022-06-09T15:35:32.273Z] a8fd76ee1af6: Pulling fs layer [2022-06-09T15:35:32.273Z] 646ad004c059: Pulling fs layer [2022-06-09T15:35:32.273Z] b1e948a4e11c: Waiting [2022-06-09T15:35:32.273Z] cc1cd167ecdc: Waiting [2022-06-09T15:35:32.273Z] 684cea983483: Waiting [2022-06-09T15:35:32.273Z] c516ae0d96e1: Waiting [2022-06-09T15:35:32.273Z] a8fd76ee1af6: Waiting [2022-06-09T15:35:32.273Z] 646ad004c059: Waiting [2022-06-09T15:35:32.273Z] dd3240ac7de5: Waiting [2022-06-09T15:35:32.533Z] 8ed8ca486205: Verifying Checksum [2022-06-09T15:35:32.533Z] 8ed8ca486205: Download complete [2022-06-09T15:35:32.533Z] 666ba61612fd: Download complete [2022-06-09T15:35:32.533Z] c516ae0d96e1: Verifying Checksum [2022-06-09T15:35:32.533Z] c516ae0d96e1: Download complete [2022-06-09T15:35:32.533Z] 684cea983483: Verifying Checksum [2022-06-09T15:35:32.533Z] 684cea983483: Download complete [2022-06-09T15:35:32.533Z] 59bf1c3509f3: Verifying Checksum [2022-06-09T15:35:32.533Z] 59bf1c3509f3: Download complete [2022-06-09T15:35:32.533Z] dd3240ac7de5: Verifying Checksum [2022-06-09T15:35:32.533Z] dd3240ac7de5: Download complete [2022-06-09T15:35:32.533Z] b1e948a4e11c: Verifying Checksum [2022-06-09T15:35:32.533Z] b1e948a4e11c: Download complete [2022-06-09T15:35:32.533Z] 59bf1c3509f3: Pull complete [2022-06-09T15:35:32.794Z] 666ba61612fd: Pull complete [2022-06-09T15:35:32.794Z] 8ed8ca486205: Pull complete [2022-06-09T15:35:33.365Z] cc1cd167ecdc: Verifying Checksum [2022-06-09T15:35:33.365Z] cc1cd167ecdc: Download complete [2022-06-09T15:35:33.365Z] 646ad004c059: Verifying Checksum [2022-06-09T15:35:33.365Z] 646ad004c059: Download complete [2022-06-09T15:35:33.365Z] a8fd76ee1af6: Verifying Checksum [2022-06-09T15:35:33.365Z] a8fd76ee1af6: Download complete [2022-06-09T15:35:37.569Z] cc1cd167ecdc: Pull complete [2022-06-09T15:35:37.569Z] c516ae0d96e1: Pull complete [2022-06-09T15:35:37.569Z] 684cea983483: Pull complete [2022-06-09T15:35:37.569Z] dd3240ac7de5: Pull complete [2022-06-09T15:35:37.569Z] b1e948a4e11c: Pull complete [2022-06-09T15:35:40.110Z] a8fd76ee1af6: Pull complete [2022-06-09T15:35:40.680Z] 646ad004c059: Pull complete [2022-06-09T15:35:40.680Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-09T15:35:40.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-09T15:35:40.680Z] ---> 8f69c11f6b0c [2022-06-09T15:35:40.680Z] Step 3/13 : ARG MAKE="make build" [2022-06-09T15:35:42.598Z] ---> Running in 1a683b5aa0f9 [2022-06-09T15:35:42.598Z] Removing intermediate container 1a683b5aa0f9 [2022-06-09T15:35:42.598Z] ---> 06a7fb3b212f [2022-06-09T15:35:42.598Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-09T15:35:42.598Z] ---> Running in bc7f3e854233 [2022-06-09T15:35:42.598Z] Removing intermediate container bc7f3e854233 [2022-06-09T15:35:42.598Z] ---> b351171071a4 [2022-06-09T15:35:42.598Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-09T15:35:42.598Z] ---> Running in 1390e62be0f3 [2022-06-09T15:35:42.862Z] Removing intermediate container 1390e62be0f3 [2022-06-09T15:35:42.862Z] ---> 5416bbbc4cd1 [2022-06-09T15:35:42.862Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-09T15:35:42.862Z] ---> Running in 5c99a5d360ba [2022-06-09T15:35:42.862Z] Removing intermediate container 5c99a5d360ba [2022-06-09T15:35:42.862Z] ---> 29ba9844d5e4 [2022-06-09T15:35:42.862Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-09T15:35:43.124Z] ---> Running in 6b9b980a3bcd [2022-06-09T15:35:43.693Z] Removing intermediate container 6b9b980a3bcd [2022-06-09T15:35:43.693Z] ---> 75dfdca04eeb [2022-06-09T15:35:43.693Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-09T15:35:43.693Z] ---> Running in 14dae5906009 [2022-06-09T15:35:43.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-09T15:35:44.897Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-09T15:35:45.161Z] OK: 221 MiB in 52 packages [2022-06-09T15:35:45.433Z] Removing intermediate container 14dae5906009 [2022-06-09T15:35:45.433Z] ---> 82a6727b4178 [2022-06-09T15:35:45.433Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-09T15:35:45.433Z] ---> Running in 2dfcb49bd885 [2022-06-09T15:35:45.453Z] Still waiting to schedule task [2022-06-09T15:35:45.453Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-09T15:35:45.697Z] Removing intermediate container 2dfcb49bd885 [2022-06-09T15:35:45.698Z] ---> bacf0fc602a3 [2022-06-09T15:35:45.698Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-09T15:35:45.698Z] ---> 3117f9c6591a [2022-06-09T15:35:45.698Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-09T15:35:45.698Z] ---> Running in 0453e5caf724 [2022-06-09T15:36:00.603Z] Removing intermediate container 0453e5caf724 [2022-06-09T15:36:00.603Z] ---> 5c5f9d8c23ac [2022-06-09T15:36:00.603Z] Step 12/13 : COPY . . [2022-06-09T15:36:00.603Z] ---> cdf4f618f403 [2022-06-09T15:36:00.603Z] Step 13/13 : RUN ${MAKE} [2022-06-09T15:36:00.603Z] ---> Running in cd504c8a9da5 [2022-06-09T15:36:00.603Z] noop [2022-06-09T15:36:00.603Z] Removing intermediate container cd504c8a9da5 [2022-06-09T15:36:00.603Z] ---> d7bfc261356b [2022-06-09T15:36:00.603Z] Successfully built d7bfc261356b [2022-06-09T15:36:00.603Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:36:00.914Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-09T15:36:00.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:36:01.000Z] prd-ubuntu20.04-docker-8c-8g-2147 does not seem to be running inside a container [2022-06-09T15:36:01.045Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-09T15:36:01.444Z] $ docker top 7473291c3ef28a1d8e63c7702d11649abb7f343f47a49093af76d53b447a5219 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-09T15:36:01.794Z] + go version [2022-06-09T15:36:01.794Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-09T15:36:01.815Z] $ docker stop --time=1 7473291c3ef28a1d8e63c7702d11649abb7f343f47a49093af76d53b447a5219 [2022-06-09T15:36:03.128Z] $ docker rm -f 7473291c3ef28a1d8e63c7702d11649abb7f343f47a49093af76d53b447a5219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:36:03.538Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-09T15:36:03.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:36:03.616Z] prd-ubuntu20.04-docker-8c-8g-2147 does not seem to be running inside a container [2022-06-09T15:36:03.665Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-09T15:36:04.083Z] $ docker top cdcc446ef1df25dda63cca3162bbb62918ada54f10a6cd7c825727a2e6d45b17 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-09T15:36:04.421Z] + make test [2022-06-09T15:36:04.421Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-09T15:36:04.680Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-09T15:36:14.813Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-09T15:36:14.813Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-09T15:36:19.023Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.992s coverage: 13.8% of statements [2022-06-09T15:36:25.600Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-09T15:36:28.895Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-09T15:36:28.895Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-09T15:36:28.895Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-09T15:36:29.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-09T15:36:29.505Z] $ docker stop --time=1 cdcc446ef1df25dda63cca3162bbb62918ada54f10a6cd7c825727a2e6d45b17 [2022-06-09T15:36:31.270Z] $ docker rm -f cdcc446ef1df25dda63cca3162bbb62918ada54f10a6cd7c825727a2e6d45b17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-09T15:36:31.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-09T15:36:31.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-09T15:36:32.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-09T15:36:32.521Z] + ls -al . [2022-06-09T15:36:32.522Z] total 236 [2022-06-09T15:36:32.522Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 9 15:36 . [2022-06-09T15:36:32.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:35 .. [2022-06-09T15:36:32.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 15:35 .git [2022-06-09T15:36:32.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 15:35 .github [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 9 15:35 .gitignore [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 9 15:35 .golangci.yml [2022-06-09T15:36:32.522Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 15:35 .semver [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 9 15:35 Attribution.txt [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 9 15:35 CHANGELOG.md [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 9 15:35 Dockerfile [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 15:35 GOVERNANCE.md [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 9 15:35 Jenkinsfile [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 9 15:35 LICENSE [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 9 15:35 Makefile [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 9 15:35 OWNERS.md [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 9 15:35 README.md [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 15:35 VERSION [2022-06-09T15:36:32.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 15:35 bin [2022-06-09T15:36:32.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 15:35 cmd [2022-06-09T15:36:32.522Z] -rw-r--r-- 1 jenkins jenkins 59292 Jun 9 15:36 coverage.out [2022-06-09T15:36:32.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:35 doc [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 9 15:35 go.mod [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 9 15:35 go.sum [2022-06-09T15:36:32.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:35 internal [2022-06-09T15:36:32.522Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 9 15:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:36:32.836Z] + 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=d836c09d020d51636e4ba85255c0758138f7a0dd --label arch=amd64 --label version=0.0.0 . [2022-06-09T15:36:32.836Z] Sending build context to Docker daemon 8.814MB [2022-06-09T15:36:32.836Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-09T15:36:32.836Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-09T15:36:32.836Z] ---> d7bfc261356b [2022-06-09T15:36:32.836Z] Step 3/26 : ARG MAKE="make build" [2022-06-09T15:36:32.836Z] ---> Running in 497fa32669b5 [2022-06-09T15:36:33.096Z] Removing intermediate container 497fa32669b5 [2022-06-09T15:36:33.096Z] ---> 9a9f1b67490f [2022-06-09T15:36:33.096Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-09T15:36:33.096Z] ---> Running in 5469c06b16af [2022-06-09T15:36:33.096Z] Removing intermediate container 5469c06b16af [2022-06-09T15:36:33.096Z] ---> e39abbd11402 [2022-06-09T15:36:33.096Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-09T15:36:33.096Z] ---> Running in cd89f4f28659 [2022-06-09T15:36:33.356Z] Removing intermediate container cd89f4f28659 [2022-06-09T15:36:33.356Z] ---> ad9fe4889d9e [2022-06-09T15:36:33.356Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-09T15:36:33.356Z] ---> Running in 1e0c3946000a [2022-06-09T15:36:33.356Z] Removing intermediate container 1e0c3946000a [2022-06-09T15:36:33.356Z] ---> 578bcd647c68 [2022-06-09T15:36:33.356Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-09T15:36:33.356Z] ---> Running in 1cf27b5e5f46 [2022-06-09T15:36:33.928Z] Removing intermediate container 1cf27b5e5f46 [2022-06-09T15:36:33.928Z] ---> 9dbb0708465c [2022-06-09T15:36:33.928Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-09T15:36:34.188Z] ---> Running in fd6aa75d2f74 [2022-06-09T15:36:34.449Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-09T15:36:35.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-09T15:36:35.390Z] OK: 221 MiB in 52 packages [2022-06-09T15:36:35.960Z] Removing intermediate container fd6aa75d2f74 [2022-06-09T15:36:35.960Z] ---> 25000f77a441 [2022-06-09T15:36:35.960Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-09T15:36:35.960Z] ---> Running in 4f4a5db0e488 [2022-06-09T15:36:35.960Z] Removing intermediate container 4f4a5db0e488 [2022-06-09T15:36:35.960Z] ---> 2ae83482e6c2 [2022-06-09T15:36:35.960Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-09T15:36:36.223Z] ---> 40a999f05c58 [2022-06-09T15:36:36.223Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-09T15:36:36.223Z] ---> Running in 181aa9c405d5 [2022-06-09T15:36:36.795Z] Removing intermediate container 181aa9c405d5 [2022-06-09T15:36:36.795Z] ---> 88ab86b6e22c [2022-06-09T15:36:36.795Z] Step 12/26 : COPY . . [2022-06-09T15:36:37.056Z] ---> 83a35ec739b0 [2022-06-09T15:36:37.056Z] Step 13/26 : RUN ${MAKE} [2022-06-09T15:36:37.315Z] ---> Running in 0545a92ed5c7 [2022-06-09T15:36:37.315Z] 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-09T15:36:59.272Z] Removing intermediate container 0545a92ed5c7 [2022-06-09T15:36:59.272Z] ---> d11a239b7318 [2022-06-09T15:36:59.272Z] Step 14/26 : FROM alpine:3.15 [2022-06-09T15:36:59.272Z] 3.15: Pulling from library/alpine [2022-06-09T15:36:59.272Z] df9b9388f04a: Pulling fs layer [2022-06-09T15:36:59.272Z] df9b9388f04a: Verifying Checksum [2022-06-09T15:36:59.272Z] df9b9388f04a: Download complete [2022-06-09T15:36:59.272Z] df9b9388f04a: Pull complete [2022-06-09T15:36:59.272Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-09T15:36:59.272Z] Status: Downloaded newer image for alpine:3.15 [2022-06-09T15:36:59.272Z] ---> 0ac33e5f5afa [2022-06-09T15:36:59.272Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-09T15:36:59.272Z] ---> Running in 6f70e71bcd36 [2022-06-09T15:36:59.272Z] Removing intermediate container 6f70e71bcd36 [2022-06-09T15:36:59.272Z] ---> cfb22050350d [2022-06-09T15:36:59.272Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-09T15:36:59.272Z] ---> Running in 2c5f8f238338 [2022-06-09T15:36:59.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-09T15:36:59.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-09T15:36:59.272Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-09T15:36:59.272Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-09T15:36:59.272Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-09T15:36:59.272Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-09T15:36:59.272Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-09T15:36:59.272Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-09T15:36:59.272Z] Executing busybox-1.34.1-r5.trigger [2022-06-09T15:36:59.272Z] OK: 8 MiB in 20 packages [2022-06-09T15:36:59.272Z] Removing intermediate container 2c5f8f238338 [2022-06-09T15:36:59.272Z] ---> 14ac56b7324c [2022-06-09T15:36:59.272Z] Step 17/26 : WORKDIR / [2022-06-09T15:36:59.272Z] ---> Running in ee5d93f4e374 [2022-06-09T15:36:59.272Z] Removing intermediate container ee5d93f4e374 [2022-06-09T15:36:59.272Z] ---> 4718def13a41 [2022-06-09T15:36:59.272Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-09T15:36:59.534Z] ---> 3ff47e82b049 [2022-06-09T15:36:59.534Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-09T15:36:59.795Z] ---> 03e4154ad2fe [2022-06-09T15:36:59.795Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-09T15:36:59.795Z] ---> 9d0095251ea9 [2022-06-09T15:36:59.795Z] Step 21/26 : EXPOSE 59984 [2022-06-09T15:37:00.055Z] ---> Running in 7d8443e806a7 [2022-06-09T15:37:00.055Z] Removing intermediate container 7d8443e806a7 [2022-06-09T15:37:00.055Z] ---> 7ec892d7f089 [2022-06-09T15:37:00.055Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-09T15:37:00.055Z] ---> Running in 2cda743fc269 [2022-06-09T15:37:00.055Z] Removing intermediate container 2cda743fc269 [2022-06-09T15:37:00.055Z] ---> e054d7e68e7b [2022-06-09T15:37:00.055Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-09T15:37:00.335Z] ---> Running in 8d6a540bddd8 [2022-06-09T15:37:00.335Z] Removing intermediate container 8d6a540bddd8 [2022-06-09T15:37:00.335Z] ---> 2789165b4fc9 [2022-06-09T15:37:00.335Z] Step 24/26 : LABEL arch=amd64 [2022-06-09T15:37:00.335Z] ---> Running in ab292b3bf1d7 [2022-06-09T15:37:00.335Z] Removing intermediate container ab292b3bf1d7 [2022-06-09T15:37:00.335Z] ---> b237f696b47d [2022-06-09T15:37:00.335Z] Step 25/26 : LABEL git_sha=d836c09d020d51636e4ba85255c0758138f7a0dd [2022-06-09T15:37:00.335Z] ---> Running in 18af5784c6a8 [2022-06-09T15:37:00.596Z] Removing intermediate container 18af5784c6a8 [2022-06-09T15:37:00.596Z] ---> b46c2098657e [2022-06-09T15:37:00.596Z] Step 26/26 : LABEL version=0.0.0 [2022-06-09T15:37:00.596Z] ---> Running in ca125775beee [2022-06-09T15:37:00.596Z] Removing intermediate container ca125775beee [2022-06-09T15:37:00.596Z] ---> a748bcf10d64 [2022-06-09T15:37:00.596Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-09T15:37:00.596Z] Successfully built a748bcf10d64 [2022-06-09T15:37:00.596Z] 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-09T15:37:01.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-09T15:37:01.123Z] [2022-06-09T15:37:01.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:37:01.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-09T15:37:01.434Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-09T15:37:01.434Z] 5eb5b503b376: Pulling fs layer [2022-06-09T15:37:01.434Z] 5c69ac0246d0: Pulling fs layer [2022-06-09T15:37:01.434Z] ec43610c2a17: Pulling fs layer [2022-06-09T15:37:01.434Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-09T15:37:01.434Z] 33b1e0a273af: Pulling fs layer [2022-06-09T15:37:01.434Z] 5d3b04190fa2: Pulling fs layer [2022-06-09T15:37:01.434Z] 2f39f015ded8: Pulling fs layer [2022-06-09T15:37:01.434Z] 33b1e0a273af: Waiting [2022-06-09T15:37:01.434Z] 2f39f015ded8: Waiting [2022-06-09T15:37:01.434Z] 3a2ae6a8a46f: Waiting [2022-06-09T15:37:01.434Z] 5d3b04190fa2: Waiting [2022-06-09T15:37:01.434Z] 5c69ac0246d0: Download complete [2022-06-09T15:37:01.434Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-09T15:37:01.434Z] 3a2ae6a8a46f: Download complete [2022-06-09T15:37:01.434Z] 33b1e0a273af: Verifying Checksum [2022-06-09T15:37:01.434Z] 33b1e0a273af: Download complete [2022-06-09T15:37:01.434Z] 5d3b04190fa2: Verifying Checksum [2022-06-09T15:37:01.434Z] 5d3b04190fa2: Download complete [2022-06-09T15:37:01.696Z] ec43610c2a17: Download complete [2022-06-09T15:37:01.696Z] 5eb5b503b376: Verifying Checksum [2022-06-09T15:37:01.696Z] 5eb5b503b376: Download complete [2022-06-09T15:37:02.266Z] 2f39f015ded8: Download complete [2022-06-09T15:37:02.833Z] 5eb5b503b376: Pull complete [2022-06-09T15:37:02.833Z] 5c69ac0246d0: Pull complete [2022-06-09T15:37:03.401Z] ec43610c2a17: Pull complete [2022-06-09T15:37:03.401Z] 3a2ae6a8a46f: Pull complete [2022-06-09T15:37:03.661Z] 33b1e0a273af: Pull complete [2022-06-09T15:37:03.661Z] 5d3b04190fa2: Pull complete [2022-06-09T15:37:08.944Z] 2f39f015ded8: Pull complete [2022-06-09T15:37:08.944Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-09T15:37:08.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-09T15:37:08.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:37:09.035Z] prd-ubuntu20.04-docker-8c-8g-2147 does not seem to be running inside a container [2022-06-09T15:37:09.081Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-09T15:37:10.755Z] $ docker top 02ed48659ff189543932ca968d951d03fc88f1cea0ceb08887a9261f426d1fce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:37:11.153Z] ---> job-cost.sh [2022-06-09T15:37:11.153Z] lf-activate-venv: SKIPPING [2022-06-09T15:37:11.153Z] INFO: No Stack... [2022-06-09T15:37:11.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-09T15:37:11.986Z] INFO: Archiving Costs [Pipeline] sh [2022-06-09T15:37:12.278Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-09T15:37:12.278Z] + cut -d, -f6 [Pipeline] lock [2022-06-09T15:37:12.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [2022-06-09T15:37:12.303Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] did not exist. Created. [2022-06-09T15:37:12.303Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-09T15:37:12.616Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-09T15:37:12.643Z] Stashed 1 file(s) [Pipeline] } [2022-06-09T15:37:12.648Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-09T15:37:12.680Z] $ docker stop --time=1 02ed48659ff189543932ca968d951d03fc88f1cea0ceb08887a9261f426d1fce [2022-06-09T15:37:13.840Z] $ docker rm -f 02ed48659ff189543932ca968d951d03fc88f1cea0ceb08887a9261f426d1fce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-09T15:37:16.067Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2148 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-09T15:37:16.075Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-06-09T15:37:16.163Z] Selected Git installation does not exist. Using Default [2022-06-09T15:37:16.163Z] The recommended git tool is: NONE [2022-06-09T15:37:22.932Z] using credential edgex-jenkins-ssh [2022-06-09T15:37:22.958Z] Cloning the remote Git repository [2022-06-09T15:37:23.022Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-09T15:37:23.140Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-06-09T15:37:23.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-09T15:37:23.205Z] > git --version # timeout=10 [2022-06-09T15:37:23.298Z] > git --version # 'git version 2.25.1' [2022-06-09T15:37:23.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-09T15:37:23.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-09T15:37:24.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-09T15:37:24.351Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-09T15:37:24.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-09T15:37:24.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-09T15:37:24.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-09T15:37:24.451Z] > 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-09T15:37:24.969Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 81ce04306d24c066da4583ab5de1de6b226450ed [2022-06-09T15:37:25.448Z] Merge succeeded, producing 457776a0794915940fce0d4f64486138820d6c57 [2022-06-09T15:37:25.449Z] Checking out Revision 457776a0794915940fce0d4f64486138820d6c57 (PR-81) [2022-06-09T15:37:24.992Z] > git config core.sparsecheckout # timeout=10 [2022-06-09T15:37:25.015Z] > git checkout -f 81ce04306d24c066da4583ab5de1de6b226450ed # timeout=10 [2022-06-09T15:37:25.176Z] > git remote # timeout=10 [2022-06-09T15:37:25.201Z] > git config --get remote.origin.url # timeout=10 [2022-06-09T15:37:25.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-09T15:37:25.234Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-09T15:37:25.422Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-09T15:37:25.461Z] > git config core.sparsecheckout # timeout=10 [2022-06-09T15:37:25.477Z] > git checkout -f 457776a0794915940fce0d4f64486138820d6c57 # timeout=10 [2022-06-09T15:37:29.730Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-09T15:37:29.754Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-09T15:37:29.742Z] > git rev-list --no-walk 1434c0ec74ad09ec5583c9380cea1c22b8bee82e # timeout=10 [2022-06-09T15:37:30.673Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-09T15:37:30.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-09T15:37:30.673Z] Dload Upload Total Spent Left Speed [2022-06-09T15:37:30.673Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2022-06-09T15:37:31.394Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-09T15:37:31.735Z] + sudo tee /etc/docker/daemon.new [2022-06-09T15:37:31.735Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-09T15:37:31.735Z] { [2022-06-09T15:37:31.735Z] "registry-mirrors": [ [2022-06-09T15:37:31.735Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-09T15:37:31.735Z] ], [2022-06-09T15:37:31.735Z] "bip": "10.250.0.254/24", [2022-06-09T15:37:31.735Z] "hosts": [ [2022-06-09T15:37:31.735Z] "tcp://0.0.0.0:5555", [2022-06-09T15:37:31.735Z] "unix:///var/run/docker.sock" [2022-06-09T15:37:31.735Z] ], [2022-06-09T15:37:31.735Z] "mtu": 1458, [2022-06-09T15:37:31.735Z] "selinux-enabled": true, [2022-06-09T15:37:31.735Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-09T15:37:31.735Z] } [Pipeline] sh [2022-06-09T15:37:32.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-09T15:37:32.419Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-09T15:37:50.754Z] provisioning config files... [2022-06-09T15:37:50.776Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config285360081433221758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:37:51.134Z] ---> docker-login.sh [2022-06-09T15:37:51.135Z] nexus3.edgexfoundry.org:10001 [2022-06-09T15:37:51.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:37:52.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:37:52.008Z] Configure a credential helper to remove this warning. See [2022-06-09T15:37:52.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:37:52.008Z] [2022-06-09T15:37:52.008Z] Login Succeeded [2022-06-09T15:37:52.008Z] nexus3.edgexfoundry.org:10002 [2022-06-09T15:37:52.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:37:52.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:37:52.287Z] Configure a credential helper to remove this warning. See [2022-06-09T15:37:52.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:37:52.287Z] [2022-06-09T15:37:52.287Z] Login Succeeded [2022-06-09T15:37:52.287Z] nexus3.edgexfoundry.org:10003 [2022-06-09T15:37:52.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:37:52.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:37:52.835Z] Configure a credential helper to remove this warning. See [2022-06-09T15:37:52.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:37:52.835Z] [2022-06-09T15:37:52.835Z] Login Succeeded [2022-06-09T15:37:52.835Z] nexus3.edgexfoundry.org:10004 [2022-06-09T15:37:53.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:37:53.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:37:53.108Z] Configure a credential helper to remove this warning. See [2022-06-09T15:37:53.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:37:53.108Z] [2022-06-09T15:37:53.383Z] Login Succeeded [2022-06-09T15:37:53.383Z] docker.io [2022-06-09T15:37:53.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-09T15:37:53.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-09T15:37:53.924Z] Configure a credential helper to remove this warning. See [2022-06-09T15:37:53.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-09T15:37:53.924Z] [2022-06-09T15:37:53.924Z] Login Succeeded [2022-06-09T15:37:53.924Z] ---> docker-login.sh ends [Pipeline] } [2022-06-09T15:37:53.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-09T15:37:54.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-09T15:37:54.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-09T15:37:54.497Z] ========================================================= [2022-06-09T15:37:54.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-09T15:37:54.497Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:37:54.870Z] + 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-09T15:37:55.142Z] Sending build context to Docker daemon 5.996MB [2022-06-09T15:37:55.142Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-09T15:37:55.142Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-09T15:37:55.422Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-09T15:37:55.422Z] 9b3977197b4f: Pulling fs layer [2022-06-09T15:37:55.422Z] 1a89e8eeedd5: Pulling fs layer [2022-06-09T15:37:55.422Z] 94645a83ff95: Pulling fs layer [2022-06-09T15:37:55.422Z] e6fb740bc735: Pulling fs layer [2022-06-09T15:37:55.422Z] 3a77bd46dcc9: Pulling fs layer [2022-06-09T15:37:55.422Z] 355e64cbe906: Pulling fs layer [2022-06-09T15:37:55.422Z] 63ab81a10011: Pulling fs layer [2022-06-09T15:37:55.422Z] 555d1d1c4555: Pulling fs layer [2022-06-09T15:37:55.422Z] 7d9057610161: Pulling fs layer [2022-06-09T15:37:55.422Z] e6fb740bc735: Waiting [2022-06-09T15:37:55.422Z] 3a77bd46dcc9: Waiting [2022-06-09T15:37:55.422Z] 355e64cbe906: Waiting [2022-06-09T15:37:55.422Z] 63ab81a10011: Waiting [2022-06-09T15:37:55.422Z] 555d1d1c4555: Waiting [2022-06-09T15:37:55.422Z] 7d9057610161: Waiting [2022-06-09T15:37:55.422Z] 94645a83ff95: Download complete [2022-06-09T15:37:55.422Z] 1a89e8eeedd5: Download complete [2022-06-09T15:37:55.422Z] 3a77bd46dcc9: Verifying Checksum [2022-06-09T15:37:55.422Z] 3a77bd46dcc9: Download complete [2022-06-09T15:37:55.422Z] 355e64cbe906: Download complete [2022-06-09T15:37:55.422Z] 9b3977197b4f: Download complete [2022-06-09T15:37:55.422Z] 63ab81a10011: Verifying Checksum [2022-06-09T15:37:55.422Z] 63ab81a10011: Download complete [2022-06-09T15:37:56.422Z] 9b3977197b4f: Pull complete [2022-06-09T15:37:56.422Z] 7d9057610161: Verifying Checksum [2022-06-09T15:37:56.422Z] 7d9057610161: Download complete [2022-06-09T15:37:57.022Z] 1a89e8eeedd5: Pull complete [2022-06-09T15:37:57.301Z] 94645a83ff95: Pull complete [2022-06-09T15:37:57.574Z] 555d1d1c4555: Verifying Checksum [2022-06-09T15:37:57.574Z] 555d1d1c4555: Download complete [2022-06-09T15:37:58.168Z] e6fb740bc735: Download complete [2022-06-09T15:38:10.594Z] e6fb740bc735: Pull complete [2022-06-09T15:38:10.594Z] 3a77bd46dcc9: Pull complete [2022-06-09T15:38:10.594Z] 355e64cbe906: Pull complete [2022-06-09T15:38:10.595Z] 63ab81a10011: Pull complete [2022-06-09T15:38:17.317Z] 555d1d1c4555: Pull complete [2022-06-09T15:38:19.306Z] 7d9057610161: Pull complete [2022-06-09T15:38:19.306Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-09T15:38:19.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-09T15:38:19.306Z] ---> 819e984ddca1 [2022-06-09T15:38:19.306Z] Step 3/13 : ARG MAKE="make build" [2022-06-09T15:38:20.741Z] ---> Running in 58d77c34a81d [2022-06-09T15:38:21.016Z] Removing intermediate container 58d77c34a81d [2022-06-09T15:38:21.016Z] ---> c16da0af3b96 [2022-06-09T15:38:21.016Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-09T15:38:21.294Z] ---> Running in dd8e0f99d871 [2022-06-09T15:38:21.574Z] Removing intermediate container dd8e0f99d871 [2022-06-09T15:38:21.574Z] ---> 2e8e58761bec [2022-06-09T15:38:21.574Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-09T15:38:21.574Z] ---> Running in f6db563b5686 [2022-06-09T15:38:21.849Z] Removing intermediate container f6db563b5686 [2022-06-09T15:38:21.849Z] ---> be84c9912612 [2022-06-09T15:38:21.849Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-09T15:38:21.849Z] ---> Running in daf3e1c4b078 [2022-06-09T15:38:22.132Z] Removing intermediate container daf3e1c4b078 [2022-06-09T15:38:22.132Z] ---> 80cbd54c3f45 [2022-06-09T15:38:22.132Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-09T15:38:22.132Z] ---> Running in 4f0956523a4a [2022-06-09T15:38:24.116Z] Removing intermediate container 4f0956523a4a [2022-06-09T15:38:24.116Z] ---> bf553151eaf4 [2022-06-09T15:38:24.116Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-09T15:38:24.116Z] ---> Running in bd468f942795 [2022-06-09T15:38:25.107Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-09T15:38:25.703Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-09T15:38:26.686Z] OK: 220 MiB in 52 packages [2022-06-09T15:38:28.128Z] Removing intermediate container bd468f942795 [2022-06-09T15:38:28.128Z] ---> 7ce4edb0bf8f [2022-06-09T15:38:28.128Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-09T15:38:28.128Z] ---> Running in 9f5f918f48b5 [2022-06-09T15:38:28.406Z] Removing intermediate container 9f5f918f48b5 [2022-06-09T15:38:28.406Z] ---> 4fb6d624efff [2022-06-09T15:38:28.406Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-09T15:38:29.005Z] ---> 7cdde73a2583 [2022-06-09T15:38:29.005Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-09T15:38:29.005Z] ---> Running in 51eb0a54c012 [2022-06-09T15:39:16.002Z] Removing intermediate container 51eb0a54c012 [2022-06-09T15:39:16.002Z] ---> 9c8ed7963ede [2022-06-09T15:39:16.002Z] Step 12/13 : COPY . . [2022-06-09T15:39:16.002Z] ---> 0f5c47e25940 [2022-06-09T15:39:16.002Z] Step 13/13 : RUN ${MAKE} [2022-06-09T15:39:16.002Z] ---> Running in b9db8e9bcfe4 [2022-06-09T15:39:16.002Z] noop [2022-06-09T15:39:16.607Z] Removing intermediate container b9db8e9bcfe4 [2022-06-09T15:39:16.607Z] ---> d2d434e255ba [2022-06-09T15:39:16.880Z] Successfully built d2d434e255ba [2022-06-09T15:39:16.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:39:17.256Z] + docker inspect -f . ci-base-image-arm64 [2022-06-09T15:39:17.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:39:17.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-2148 does not seem to be running inside a container [2022-06-09T15:39:17.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-09T15:39:18.893Z] $ docker top dc4ec04a6c3410a222021f0889c10f10da9b869efdc90281fb4f4afba6a07c8e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-09T15:39:19.774Z] + go version [2022-06-09T15:39:19.774Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-09T15:39:19.803Z] $ docker stop --time=1 dc4ec04a6c3410a222021f0889c10f10da9b869efdc90281fb4f4afba6a07c8e [2022-06-09T15:39:21.447Z] $ docker rm -f dc4ec04a6c3410a222021f0889c10f10da9b869efdc90281fb4f4afba6a07c8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:39:22.063Z] + docker inspect -f . ci-base-image-arm64 [2022-06-09T15:39:22.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:39:22.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-2148 does not seem to be running inside a container [2022-06-09T15:39:22.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-09T15:39:23.705Z] $ docker top 34cd63b71424d5ff175ec683bf8062714fba9f3ebce06800f93f4a5b8943bd7a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-09T15:39:24.608Z] + make test [2022-06-09T15:39:24.608Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-09T15:39:26.593Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-09T15:41:03.451Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-09T15:41:03.451Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.077s coverage: 1.2% of statements [2022-06-09T15:41:15.840Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.943s coverage: 13.8% of statements [2022-06-09T15:41:15.840Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-09T15:41:15.840Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-09T15:41:42.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-09T15:41:42.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-09T15:41:42.677Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-09T15:41:44.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-09T15:41:44.691Z] $ docker stop --time=1 34cd63b71424d5ff175ec683bf8062714fba9f3ebce06800f93f4a5b8943bd7a [2022-06-09T15:41:46.499Z] $ docker rm -f 34cd63b71424d5ff175ec683bf8062714fba9f3ebce06800f93f4a5b8943bd7a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-09T15:41:47.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-09T15:41:47.498Z] Warning: overwriting stash ‘coverage-report’ [2022-06-09T15:41:47.987Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-09T15:41:48.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-09T15:41:48.707Z] + ls -al . [2022-06-09T15:41:48.708Z] total 232 [2022-06-09T15:41:48.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 15:41 . [2022-06-09T15:41:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:37 .. [2022-06-09T15:41:48.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 15:37 .git [2022-06-09T15:41:48.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 15:37 .github [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 9 15:37 .gitignore [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 9 15:37 .golangci.yml [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 9 15:37 Attribution.txt [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 9 15:37 CHANGELOG.md [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 9 15:37 Dockerfile [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 15:37 GOVERNANCE.md [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 9 15:37 Jenkinsfile [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 9 15:37 LICENSE [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 9 15:37 Makefile [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 9 15:37 OWNERS.md [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 9 15:37 README.md [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 15:35 VERSION [2022-06-09T15:41:48.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 15:37 bin [2022-06-09T15:41:48.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 15:37 cmd [2022-06-09T15:41:48.708Z] -rw-r--r-- 1 jenkins jenkins 59292 Jun 9 15:41 coverage.out [2022-06-09T15:41:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:37 doc [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 9 15:37 go.mod [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 9 15:37 go.sum [2022-06-09T15:41:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 15:37 internal [2022-06-09T15:41:48.708Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 9 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:41:49.062Z] + 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=457776a0794915940fce0d4f64486138820d6c57 --label arch=arm64 --label version=0.0.0 . [2022-06-09T15:41:49.334Z] Sending build context to Docker daemon 6.055MB [2022-06-09T15:41:49.606Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-09T15:41:49.606Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-09T15:41:49.606Z] ---> d2d434e255ba [2022-06-09T15:41:49.606Z] Step 3/26 : ARG MAKE="make build" [2022-06-09T15:41:49.606Z] ---> Running in 1c4f1675b9c9 [2022-06-09T15:41:49.881Z] Removing intermediate container 1c4f1675b9c9 [2022-06-09T15:41:49.881Z] ---> 305f07e0db5e [2022-06-09T15:41:49.881Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-09T15:41:49.881Z] ---> Running in 38320cc4d5ba [2022-06-09T15:41:50.475Z] Removing intermediate container 38320cc4d5ba [2022-06-09T15:41:50.475Z] ---> a70f1ffdf63f [2022-06-09T15:41:50.475Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-09T15:41:50.475Z] ---> Running in 923ea5b886be [2022-06-09T15:41:50.751Z] Removing intermediate container 923ea5b886be [2022-06-09T15:41:50.751Z] ---> 9ccbc4583369 [2022-06-09T15:41:50.751Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-09T15:41:50.751Z] ---> Running in bbcf03ccf04c [2022-06-09T15:41:51.034Z] Removing intermediate container bbcf03ccf04c [2022-06-09T15:41:51.034Z] ---> adec2f888845 [2022-06-09T15:41:51.034Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-09T15:41:51.034Z] ---> Running in a9c160174a0c [2022-06-09T15:41:53.014Z] Removing intermediate container a9c160174a0c [2022-06-09T15:41:53.015Z] ---> 183e992b18ea [2022-06-09T15:41:53.015Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-09T15:41:53.015Z] ---> Running in c276678f52bd [2022-06-09T15:41:54.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-09T15:41:54.601Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-09T15:41:55.580Z] OK: 220 MiB in 52 packages [2022-06-09T15:41:56.180Z] Removing intermediate container c276678f52bd [2022-06-09T15:41:56.180Z] ---> 6af4baca8bab [2022-06-09T15:41:56.180Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-09T15:41:56.180Z] ---> Running in f4a5d2c591d5 [2022-06-09T15:41:56.455Z] Removing intermediate container f4a5d2c591d5 [2022-06-09T15:41:56.455Z] ---> b9af426bdb47 [2022-06-09T15:41:56.455Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-09T15:41:57.052Z] ---> c516fa0e767e [2022-06-09T15:41:57.052Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-09T15:41:57.052Z] ---> Running in c806d808d9db [2022-06-09T15:41:59.040Z] Removing intermediate container c806d808d9db [2022-06-09T15:41:59.040Z] ---> 2e06d35a70c6 [2022-06-09T15:41:59.040Z] Step 12/26 : COPY . . [2022-06-09T15:42:00.024Z] ---> db0deaf19899 [2022-06-09T15:42:00.024Z] Step 13/26 : RUN ${MAKE} [2022-06-09T15:42:00.024Z] ---> Running in 93360c84d806 [2022-06-09T15:42:01.010Z] 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-09T15:44:07.904Z] Removing intermediate container 93360c84d806 [2022-06-09T15:44:07.904Z] ---> 87f6abd7ab25 [2022-06-09T15:44:07.904Z] Step 14/26 : FROM alpine:3.15 [2022-06-09T15:44:07.904Z] 3.15: Pulling from library/alpine [2022-06-09T15:44:07.904Z] 9981e73032c8: Pulling fs layer [2022-06-09T15:44:07.904Z] 9981e73032c8: Download complete [2022-06-09T15:44:07.904Z] 9981e73032c8: Pull complete [2022-06-09T15:44:07.905Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-09T15:44:07.905Z] Status: Downloaded newer image for alpine:3.15 [2022-06-09T15:44:07.905Z] ---> 3fb3c9af89a9 [2022-06-09T15:44:07.905Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-09T15:44:07.905Z] ---> Running in 1c9c5d03d8c9 [2022-06-09T15:44:07.905Z] Removing intermediate container 1c9c5d03d8c9 [2022-06-09T15:44:07.905Z] ---> 663ed20ab6ba [2022-06-09T15:44:07.905Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-09T15:44:07.905Z] ---> Running in 7055c16121a7 [2022-06-09T15:44:07.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-09T15:44:07.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-09T15:44:07.905Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-09T15:44:07.905Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-09T15:44:07.905Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-09T15:44:07.905Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-09T15:44:07.905Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-09T15:44:07.905Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-09T15:44:07.905Z] Executing busybox-1.34.1-r5.trigger [2022-06-09T15:44:07.905Z] OK: 8 MiB in 20 packages [2022-06-09T15:44:07.905Z] Removing intermediate container 7055c16121a7 [2022-06-09T15:44:07.905Z] ---> 6a1c37838392 [2022-06-09T15:44:07.905Z] Step 17/26 : WORKDIR / [2022-06-09T15:44:07.905Z] ---> Running in 66f7384ba3b8 [2022-06-09T15:44:07.905Z] Removing intermediate container 66f7384ba3b8 [2022-06-09T15:44:07.905Z] ---> 358856821f1a [2022-06-09T15:44:07.905Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-09T15:44:07.905Z] ---> 59f0775a45ef [2022-06-09T15:44:07.905Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-09T15:44:07.905Z] ---> daa92981b56b [2022-06-09T15:44:07.905Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-09T15:44:07.905Z] ---> 95ad79abd9e9 [2022-06-09T15:44:07.905Z] Step 21/26 : EXPOSE 59984 [2022-06-09T15:44:07.905Z] ---> Running in 74cdfc385732 [2022-06-09T15:44:07.905Z] Removing intermediate container 74cdfc385732 [2022-06-09T15:44:07.905Z] ---> e63513e8f0da [2022-06-09T15:44:07.905Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-09T15:44:07.905Z] ---> Running in e95823d65098 [2022-06-09T15:44:08.178Z] Removing intermediate container e95823d65098 [2022-06-09T15:44:08.178Z] ---> 4873f495d857 [2022-06-09T15:44:08.179Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-09T15:44:08.179Z] ---> Running in 2c0b3c387a10 [2022-06-09T15:44:08.800Z] Removing intermediate container 2c0b3c387a10 [2022-06-09T15:44:08.800Z] ---> c91c0fbe7dda [2022-06-09T15:44:08.800Z] Step 24/26 : LABEL arch=arm64 [2022-06-09T15:44:08.800Z] ---> Running in 8c724053beda [2022-06-09T15:44:09.074Z] Removing intermediate container 8c724053beda [2022-06-09T15:44:09.074Z] ---> aff93776bad0 [2022-06-09T15:44:09.074Z] Step 25/26 : LABEL git_sha=457776a0794915940fce0d4f64486138820d6c57 [2022-06-09T15:44:09.074Z] ---> Running in 3758c5fc604d [2022-06-09T15:44:09.350Z] Removing intermediate container 3758c5fc604d [2022-06-09T15:44:09.350Z] ---> 911f3fcda32a [2022-06-09T15:44:09.350Z] Step 26/26 : LABEL version=0.0.0 [2022-06-09T15:44:09.350Z] ---> Running in 58f3d7a668fc [2022-06-09T15:44:09.949Z] Removing intermediate container 58f3d7a668fc [2022-06-09T15:44:09.949Z] ---> 43eb67d2bf69 [2022-06-09T15:44:09.949Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-09T15:44:09.949Z] Successfully built 43eb67d2bf69 [2022-06-09T15:44:09.949Z] 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-09T15:44:10.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-09T15:44:10.415Z] [2022-06-09T15:44:10.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:44:10.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-09T15:44:11.042Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-09T15:44:11.042Z] 8998bd30e6a1: Pulling fs layer [2022-06-09T15:44:11.042Z] 04944245beec: Pulling fs layer [2022-06-09T15:44:11.042Z] 699f458cf7ca: Pulling fs layer [2022-06-09T15:44:11.042Z] 765212b225bb: Pulling fs layer [2022-06-09T15:44:11.042Z] f23df028b6ca: Pulling fs layer [2022-06-09T15:44:11.042Z] d65c8cfc05b1: Pulling fs layer [2022-06-09T15:44:11.042Z] 2437ff75d9bd: Pulling fs layer [2022-06-09T15:44:11.042Z] f23df028b6ca: Waiting [2022-06-09T15:44:11.042Z] d65c8cfc05b1: Waiting [2022-06-09T15:44:11.042Z] 2437ff75d9bd: Waiting [2022-06-09T15:44:11.042Z] 765212b225bb: Waiting [2022-06-09T15:44:11.042Z] 04944245beec: Verifying Checksum [2022-06-09T15:44:11.042Z] 04944245beec: Download complete [2022-06-09T15:44:11.042Z] 765212b225bb: Download complete [2022-06-09T15:44:11.042Z] f23df028b6ca: Verifying Checksum [2022-06-09T15:44:11.042Z] f23df028b6ca: Download complete [2022-06-09T15:44:11.042Z] d65c8cfc05b1: Verifying Checksum [2022-06-09T15:44:11.042Z] d65c8cfc05b1: Download complete [2022-06-09T15:44:11.318Z] 699f458cf7ca: Verifying Checksum [2022-06-09T15:44:11.318Z] 699f458cf7ca: Download complete [2022-06-09T15:44:11.595Z] 8998bd30e6a1: Verifying Checksum [2022-06-09T15:44:11.595Z] 8998bd30e6a1: Download complete [2022-06-09T15:44:14.218Z] 2437ff75d9bd: Verifying Checksum [2022-06-09T15:44:14.218Z] 2437ff75d9bd: Download complete [2022-06-09T15:44:16.197Z] 8998bd30e6a1: Pull complete [2022-06-09T15:44:16.198Z] 04944245beec: Pull complete [2022-06-09T15:44:17.640Z] 699f458cf7ca: Pull complete [2022-06-09T15:44:17.914Z] 765212b225bb: Pull complete [2022-06-09T15:44:18.895Z] f23df028b6ca: Pull complete [2022-06-09T15:44:19.170Z] d65c8cfc05b1: Pull complete [2022-06-09T15:44:34.257Z] 2437ff75d9bd: Pull complete [2022-06-09T15:44:34.257Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-09T15:44:34.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-09T15:44:34.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:44:34.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-2148 does not seem to be running inside a container [2022-06-09T15:44:34.602Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-09T15:44:37.248Z] $ docker top c1f2af8637483aaa1a6ec6a1a50600636b1ae87a4f50e53f80e1a9802313f90b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:38.187Z] ---> job-cost.sh [2022-06-09T15:44:38.187Z] lf-activate-venv: SKIPPING [2022-06-09T15:44:38.187Z] INFO: No Stack... [2022-06-09T15:44:38.460Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-09T15:44:39.435Z] INFO: Archiving Costs [Pipeline] sh [2022-06-09T15:44:40.099Z] + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [2022-06-09T15:44:40.099Z] + cut -d, -f6 [Pipeline] lock [2022-06-09T15:44:40.164Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [2022-06-09T15:44:40.170Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] did not exist. Created. [2022-06-09T15:44:40.170Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-09T15:44:40.855Z] /w/workspace/device-onvif-camera/16@tmp/durable-063c64a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-09T15:44:41.536Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-09T15:44:41.558Z] Warning: overwriting stash ‘stack-cost’ [2022-06-09T15:44:41.606Z] Stashed 1 file(s) [Pipeline] } [2022-06-09T15:44:41.615Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-09T15:44:41.639Z] $ docker stop --time=1 c1f2af8637483aaa1a6ec6a1a50600636b1ae87a4f50e53f80e1a9802313f90b [2022-06-09T15:44:43.154Z] $ docker rm -f c1f2af8637483aaa1a6ec6a1a50600636b1ae87a4f50e53f80e1a9802313f90b [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-09T15:44:43.639Z] provisioning config files... [2022-06-09T15:44:43.677Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config9053189154727906930tmp [Pipeline] { [Pipeline] sh [2022-06-09T15:44:43.970Z] + set +x [2022-06-09T15:44:43.970Z] + curl -s https://codecov.io/bash [2022-06-09T15:44:43.970Z] + bash -s -- [2022-06-09T15:44:43.970Z] [2022-06-09T15:44:43.970Z] _____ _ [2022-06-09T15:44:43.970Z] / ____| | | [2022-06-09T15:44:43.970Z] | | ___ __| | ___ ___ _____ __ [2022-06-09T15:44:43.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-09T15:44:43.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-09T15:44:43.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-09T15:44:43.970Z] Bash-1.0.6 [2022-06-09T15:44:43.970Z] [2022-06-09T15:44:43.970Z] [2022-06-09T15:44:43.970Z] ==> git version 2.25.1 found [2022-06-09T15:44:43.970Z] ==> 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-09T15:44:43.970Z] Release-Date: 2020-01-08 [2022-06-09T15:44:43.970Z] 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-09T15:44:43.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-09T15:44:43.970Z] ==> Jenkins CI detected. [2022-06-09T15:44:43.970Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-09T15:44:43.970Z] project root: . [2022-06-09T15:44:43.970Z] --> token set from env [2022-06-09T15:44:43.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-09T15:44:43.970Z] ==> Running gcov in . (disable via -X gcov) [2022-06-09T15:44:43.970Z] ==> Python coveragepy not found [2022-06-09T15:44:43.970Z] ==> Searching for coverage reports in: [2022-06-09T15:44:43.970Z] + . [2022-06-09T15:44:43.970Z] -> Found 1 reports [2022-06-09T15:44:43.970Z] ==> Detecting git/mercurial file structure [2022-06-09T15:44:43.970Z] ==> Reading reports [2022-06-09T15:44:43.970Z] + ./coverage.out bytes=59292 [2022-06-09T15:44:43.970Z] ==> Appending adjustments [2022-06-09T15:44:43.970Z] https://docs.codecov.io/docs/fixing-reports [2022-06-09T15:44:44.229Z] + Found adjustments [2022-06-09T15:44:44.229Z] ==> Gzipping contents [2022-06-09T15:44:44.229Z] 8.0K /tmp/codecov.a2T2IF.gz [2022-06-09T15:44:44.229Z] ==> Uploading reports [2022-06-09T15:44:44.229Z] url: https://codecov.io [2022-06-09T15:44:44.229Z] query: branch=PR-81&commit=d836c09d020d51636e4ba85255c0758138f7a0dd&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-09T15:44:44.229Z] -> Pinging Codecov [2022-06-09T15:44:44.230Z] 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=d836c09d020d51636e4ba85255c0758138f7a0dd&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-09T15:44:44.490Z] -> Uploading to [2022-06-09T15:44:44.490Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-09/F29A59C45E3A92E06B3E522C9905F8EF/d836c09d020d51636e4ba85255c0758138f7a0dd/586f82e8-fda8-480c-b79d-3b020575cb39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220609T154444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae18ac64a3c0198286a54e22efde6b22cb56ae3cbb342de0d1ec16491557b717 [2022-06-09T15:44:44.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-09T15:44:44.490Z] Dload Upload Total Spent Left Speed [2022-06-09T15:44:44.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7550 0 0 100 7550 0 37009 --:--:-- --:--:-- --:--:-- 36829 100 7550 0 0 100 7550 0 34162 --:--:-- --:--:-- --:--:-- 34009 [2022-06-09T15:44:44.750Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d836c09d020d51636e4ba85255c0758138f7a0dd [Pipeline] } [2022-06-09T15:44:44.758Z] 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-09T15:44:45.408Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-09T15:44:45.408Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-09T15:44:45.408Z] total 16 [2022-06-09T15:44:45.408Z] drwxr-xr-x 3 root root 4096 Jun 9 15:37 . [2022-06-09T15:44:45.408Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 15:37 .. [2022-06-09T15:44:45.408Z] drwxr-xr-x 2 root root 4096 Jun 9 15:37 cost [2022-06-09T15:44:45.408Z] -rw-r--r-- 1 root root 90 Jun 9 15:37 cost.csv [2022-06-09T15:44:45.408Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-09T15:44:45.408Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-09T15:44:45.408Z] total 16 [2022-06-09T15:44:45.408Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 15:37 . [2022-06-09T15:44:45.408Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 15:37 .. [2022-06-09T15:44:45.408Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 9 15:37 cost [2022-06-09T15:44:45.408Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 9 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:45.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:46.571Z] ---> package-listing.sh [2022-06-09T15:44:46.571Z] ++ facter osfamily [2022-06-09T15:44:46.571Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-09T15:44:46.832Z] + OS_FAMILY=debian [2022-06-09T15:44:46.832Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-09T15:44:46.832Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-09T15:44:46.832Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-09T15:44:46.832Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-09T15:44:46.832Z] + PACKAGES=/tmp/packages_start.txt [2022-06-09T15:44:46.832Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-09T15:44:46.832Z] + PACKAGES=/tmp/packages_end.txt [2022-06-09T15:44:46.832Z] + case "${OS_FAMILY}" in [2022-06-09T15:44:46.832Z] + dpkg -l [2022-06-09T15:44:46.832Z] + grep '^ii' [2022-06-09T15:44:46.832Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-09T15:44:46.832Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-09T15:44:46.832Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-09T15:44:46.832Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-09T15:44:46.832Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-09T15:44:46.832Z] + 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-09T15:44:46.843Z] 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-09T15:44:47.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-09T15:44:47.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-09T15:44:47.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-09T15:44:47.771Z] prd-ubuntu20.04-docker-8c-8g-2147 does not seem to be running inside a container [2022-06-09T15:44:47.820Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-09T15:44:48.062Z] $ docker top 24869bcdc8ea5e3ff2c78cb74c83bcc2629db585816e66626c6be028e5cf838a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-09T15:44:48.414Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-09T15:44:48.702Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-09T15:44:48.993Z] + ls /var/log/sa-host [2022-06-09T15:44:48.993Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-09T15:44:49.134Z] provisioning config files... [2022-06-09T15:44:49.144Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config291223769304187996tmp [Pipeline] { [Pipeline] echo [2022-06-09T15:44:49.162Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:49.447Z] ---> create-netrc.sh [Pipeline] } [2022-06-09T15:44:49.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:49.777Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-09T15:44:49.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:50.072Z] ---> sudo-logs.sh [2022-06-09T15:44:50.072Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-09T15:44:50.104Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:50.390Z] ---> job-cost.sh [2022-06-09T15:44:50.391Z] lf-activate-venv: SKIPPING [2022-06-09T15:44:50.391Z] DEBUG: total: 0.2199999988079071 [2022-06-09T15:44:50.391Z] INFO: Retrieving Stack Cost... [2022-06-09T15:44:50.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-09T15:44:51.227Z] INFO: Archiving Costs [Pipeline] echo [2022-06-09T15:44:51.240Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-09T15:44:51.527Z] ---> logs-deploy.sh [2022-06-09T15:44:51.527Z] lf-activate-venv: SKIPPING [2022-06-09T15:44:51.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/16 [2022-06-09T15:44:51.527Z] INFO: archiving workspace using pattern(s): [2022-06-09T15:44:52.469Z] Archives upload complete. [2022-06-09T15:44:52.469Z] INFO: archiving logs to Nexus