Pull request #89 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1ff2ff1478018e97cb2be48fcebf5909bf296dd+0a79c5a718067479237195976121108915350925 (ebec19ddec85c3944d51b178056c2a0eb9a98ead) 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-ssh13302520919459609522.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-ssh7590253243533474598.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3772621736882608046.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14314968901083737322.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11543948531575693056.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-89/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-89/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12296585791818889633.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15402’ Running on prd-ubuntu20.04-docker-8c-8g-15405 in /w/workspace/oundry_device-onvif-camera_PR-89 [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-89 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 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/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit a1ff2ff1478018e97cb2be48fcebf5909bf296dd Merge succeeded, producing a1ff2ff1478018e97cb2be48fcebf5909bf296dd Checking out Revision a1ff2ff1478018e97cb2be48fcebf5909bf296dd (PR-89) > git config core.sparsecheckout # timeout=10 > git checkout -f a1ff2ff1478018e97cb2be48fcebf5909bf296dd # 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 0a79c5a718067479237195976121108915350925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1ff2ff1478018e97cb2be48fcebf5909bf296dd # timeout=10 Commit message: "Revert "build: Upgrade sdk and paho.mqtt lib"" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T04:58:14.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T04:58:14.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T04:58:14.744Z] ========================================================= [2022-06-23T04:58:14.745Z] EdgeX Global Pipelines Version Info [2022-06-23T04:58:14.745Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-23T04:58:15.536Z] ------------------- [2022-06-23T04:58:15.536Z] stable info: [2022-06-23T04:58:15.536Z] ------------------- [2022-06-23T04:58:15.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T04:58:15.536Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T04:58:15.536Z] Message: update stable to v1.0.234 [2022-06-23T04:58:16.110Z] ------------------- [2022-06-23T04:58:16.110Z] experimental info: [2022-06-23T04:58:16.110Z] ------------------- [2022-06-23T04:58:16.110Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T04:58:16.110Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T04:58:16.110Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T04:58:16.497Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-23T04:58:16.531Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-23T04:58:16.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T04:58:16.601Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T04:58:16.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T04:58:16.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T04:58:16.712Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T04:58:16.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T04:58:16.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T04:58:16.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T04:58:16.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T04:58:16.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-23T04:58:16.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T04:58:16.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T04:58:17.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T04:58:17.048Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T04:58:17.084Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T04:58:17.124Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T04:58:17.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T04:58:17.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T04:58:17.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T04:58:17.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T04:58:17.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T04:58:17.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T04:58:17.390Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T04:58:17.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T04:58:17.470Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T04:58:17.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-89 [Pipeline] echo [2022-06-23T04:58:17.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-89 [Pipeline] echo [2022-06-23T04:58:17.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-89 [Pipeline] echo [2022-06-23T04:58:17.632Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1ff2ff1478018e97cb2be48fcebf5909bf296dd [Pipeline] echo [2022-06-23T04:58:17.801Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1ff2ff [Pipeline] echo [2022-06-23T04:58:17.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T04:58:17.959Z] provisioning config files... [2022-06-23T04:58:17.976Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-89@tmp/config8612416667544566880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T04:58:18.324Z] ---> docker-login.sh [2022-06-23T04:58:18.324Z] nexus3.edgexfoundry.org:10001 [2022-06-23T04:58:18.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:18.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:18.586Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:18.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:18.586Z] [2022-06-23T04:58:18.586Z] Login Succeeded [2022-06-23T04:58:18.586Z] nexus3.edgexfoundry.org:10002 [2022-06-23T04:58:18.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:18.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:18.846Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:18.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:18.846Z] [2022-06-23T04:58:18.846Z] Login Succeeded [2022-06-23T04:58:18.846Z] nexus3.edgexfoundry.org:10003 [2022-06-23T04:58:18.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:18.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:18.846Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:18.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:18.846Z] [2022-06-23T04:58:18.846Z] Login Succeeded [2022-06-23T04:58:18.846Z] nexus3.edgexfoundry.org:10004 [2022-06-23T04:58:19.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:19.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:19.108Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:19.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:19.108Z] [2022-06-23T04:58:19.108Z] Login Succeeded [2022-06-23T04:58:19.108Z] docker.io [2022-06-23T04:58:19.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:19.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:19.370Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:19.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:19.370Z] [2022-06-23T04:58:19.370Z] Login Succeeded [2022-06-23T04:58:19.370Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T04:58:19.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T04:58:20.017Z] + git rev-list -1 --merges a1ff2ff1478018e97cb2be48fcebf5909bf296dd~1..a1ff2ff1478018e97cb2be48fcebf5909bf296dd [Pipeline] echo [2022-06-23T04:58:20.065Z] -----------> git rev-list -1 --merges a1ff2ff1478018e97cb2be48fcebf5909bf296dd~1..a1ff2ff1478018e97cb2be48fcebf5909bf296dd a1ff2ff1478018e97cb2be48fcebf5909bf296dd [false] [Pipeline] sh [2022-06-23T04:58:20.381Z] + git log --format=format:%s -1 a1ff2ff1478018e97cb2be48fcebf5909bf296dd [Pipeline] echo [2022-06-23T04:58:20.421Z] ========================================================= [2022-06-23T04:58:20.421Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T04:58:20.421Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T04:58:20.862Z] + git log --format=format:%s -1 a1ff2ff1478018e97cb2be48fcebf5909bf296dd [Pipeline] echo [2022-06-23T04:58:20.896Z] [semverPrep] GIT_COMMIT: a1ff2ff1478018e97cb2be48fcebf5909bf296dd, Commit Message: Revert "build: Upgrade sdk and paho.mqtt lib" [Pipeline] echo [2022-06-23T04:58:20.929Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T04:58:21.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T04:58:21.318Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T04:58:21.318Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T04:58:21.318Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T04:58:21.318Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T04:58:21.318Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T04:58:21.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T04:58:21.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T04:58:21.753Z] [2022-06-23T04:58:21.753Z] 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-23T04:58:22.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T04:58:22.135Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T04:58:22.135Z] 42c077c10790: Pulling fs layer [2022-06-23T04:58:22.135Z] f63e77b7563a: Pulling fs layer [2022-06-23T04:58:22.135Z] bd5fdadae976: Pulling fs layer [2022-06-23T04:58:22.135Z] 205491f53016: Pulling fs layer [2022-06-23T04:58:22.135Z] df18705c85c3: Pulling fs layer [2022-06-23T04:58:22.135Z] bdb3f477010e: Pulling fs layer [2022-06-23T04:58:22.135Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T04:58:22.135Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T04:58:22.135Z] bdb8f0575790: Pulling fs layer [2022-06-23T04:58:22.135Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T04:58:22.135Z] 2343380bae48: Pulling fs layer [2022-06-23T04:58:22.135Z] c8a8fc8e1c8f: Waiting [2022-06-23T04:58:22.135Z] 2c6e9b1d212d: Waiting [2022-06-23T04:58:22.135Z] 2343380bae48: Waiting [2022-06-23T04:58:22.135Z] bdb8f0575790: Waiting [2022-06-23T04:58:22.135Z] 386e3cb2ff24: Waiting [2022-06-23T04:58:22.135Z] 205491f53016: Waiting [2022-06-23T04:58:22.135Z] df18705c85c3: Waiting [2022-06-23T04:58:22.135Z] bdb3f477010e: Waiting [2022-06-23T04:58:22.135Z] f63e77b7563a: Verifying Checksum [2022-06-23T04:58:22.135Z] f63e77b7563a: Download complete [2022-06-23T04:58:22.135Z] 205491f53016: Verifying Checksum [2022-06-23T04:58:22.135Z] 205491f53016: Download complete [2022-06-23T04:58:22.396Z] df18705c85c3: Verifying Checksum [2022-06-23T04:58:22.396Z] df18705c85c3: Download complete [2022-06-23T04:58:22.396Z] bd5fdadae976: Verifying Checksum [2022-06-23T04:58:22.396Z] bd5fdadae976: Download complete [2022-06-23T04:58:22.396Z] bdb3f477010e: Download complete [2022-06-23T04:58:22.396Z] 2c6e9b1d212d: Download complete [2022-06-23T04:58:22.396Z] bdb8f0575790: Verifying Checksum [2022-06-23T04:58:22.396Z] bdb8f0575790: Download complete [2022-06-23T04:58:22.396Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T04:58:22.396Z] 386e3cb2ff24: Download complete [2022-06-23T04:58:22.396Z] 2343380bae48: Download complete [2022-06-23T04:58:22.396Z] 42c077c10790: Verifying Checksum [2022-06-23T04:58:22.396Z] 42c077c10790: Download complete [2022-06-23T04:58:22.657Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-23T04:58:22.657Z] c8a8fc8e1c8f: Download complete [2022-06-23T04:58:23.598Z] 42c077c10790: Pull complete [2022-06-23T04:58:23.857Z] f63e77b7563a: Pull complete [2022-06-23T04:58:24.430Z] bd5fdadae976: Pull complete [2022-06-23T04:58:24.430Z] 205491f53016: Pull complete [2022-06-23T04:58:24.689Z] df18705c85c3: Pull complete [2022-06-23T04:58:24.689Z] bdb3f477010e: Pull complete [2022-06-23T04:58:26.594Z] c8a8fc8e1c8f: Pull complete [2022-06-23T04:58:26.594Z] 2c6e9b1d212d: Pull complete [2022-06-23T04:58:26.594Z] bdb8f0575790: Pull complete [2022-06-23T04:58:26.594Z] 386e3cb2ff24: Pull complete [2022-06-23T04:58:26.860Z] 2343380bae48: Pull complete [2022-06-23T04:58:26.860Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T04:58:26.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T04:58:26.860Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T04:58:27.085Z] prd-ubuntu20.04-docker-8c-8g-15405 does not seem to be running inside a container [2022-06-23T04:58:27.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-89 -v /w/workspace/oundry_device-onvif-camera_PR-89:/w/workspace/oundry_device-onvif-camera_PR-89:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-89@tmp:/w/workspace/oundry_device-onvif-camera_PR-89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T04:58:28.611Z] $ docker top 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T04:58:28.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T04:58:28.809Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T04:58:28.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T04:58:28.927Z] $ docker exec 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 ssh-agent [2022-06-23T04:58:29.045Z] SSH_AUTH_SOCK=/tmp/ssh-2ZanQhkiQfai/agent.34 [2022-06-23T04:58:29.045Z] SSH_AGENT_PID=40 [2022-06-23T04:58:29.050Z] Running ssh-add (command line suppressed) [2022-06-23T04:58:29.181Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-89@tmp/private_key_8699453307989088420.key (/w/workspace/oundry_device-onvif-camera_PR-89@tmp/private_key_8699453307989088420.key) [2022-06-23T04:58:29.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T04:58:29.527Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T04:58:29.550Z] $ docker exec --env ******** --env ******** 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 ssh-agent -k [2022-06-23T04:58:29.664Z] unset SSH_AUTH_SOCK; [2022-06-23T04:58:29.665Z] unset SSH_AGENT_PID; [2022-06-23T04:58:29.665Z] echo Agent pid 40 killed; [2022-06-23T04:58:29.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T04:58:29.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T04:58:29.752Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T04:58:29.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T04:58:29.882Z] $ docker exec 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 ssh-agent [2022-06-23T04:58:29.996Z] SSH_AUTH_SOCK=/tmp/ssh-jcztzWHR0rkA/agent.73 [2022-06-23T04:58:29.996Z] SSH_AGENT_PID=80 [2022-06-23T04:58:30.001Z] Running ssh-add (command line suppressed) [2022-06-23T04:58:30.118Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-89@tmp/private_key_1400415632743120430.key (/w/workspace/oundry_device-onvif-camera_PR-89@tmp/private_key_1400415632743120430.key) [2022-06-23T04:58:30.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T04:58:30.462Z] + git semver init [2022-06-23T04:58:30.723Z] 2022-06-23 04:58:30,647 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T04:58:30.723Z] 2022-06-23 04:58:30,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-89/.semver [2022-06-23T04:58:30.723Z] 2022-06-23 04:58:30,648 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-89/.semver [2022-06-23T04:58:30.723Z] 2022-06-23 04:58:30,649 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-89/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-89, universal_newlines=False, shell=None, istream=None) [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,342 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-89/.git/info/exclude [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,342 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-89/.semver/PR-89 with force:False [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,343 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-89/.semver/PR-89 [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,347 [execute] INFO git cat-file --batch-check [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-89/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,354 [execute] INFO git cat-file --batch [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-89/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T04:58:31.664Z] 2022-06-23 04:58:31,360 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-89/.semver/PR-89 [2022-06-23T04:58:31.664Z] 0.0.0 [Pipeline] } [2022-06-23T04:58:31.690Z] $ docker exec --env ******** --env ******** 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 ssh-agent -k [2022-06-23T04:58:31.799Z] unset SSH_AUTH_SOCK; [2022-06-23T04:58:31.800Z] unset SSH_AGENT_PID; [2022-06-23T04:58:31.800Z] echo Agent pid 80 killed; [2022-06-23T04:58:31.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T04:58:32.243Z] + git semver [Pipeline] } [2022-06-23T04:58:32.525Z] $ docker stop --time=1 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 [2022-06-23T04:58:33.866Z] $ docker rm -f 92c0fe79cb87c40135f1c7088fba9b49db5e0e6cb10dbaf8b02794804093b458 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T04:58:34.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T04:58:34.614Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T04:58:34.634Z] [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-23T04:58:35.209Z] provisioning config files... [2022-06-23T04:58:35.221Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-89@tmp/config1755596010611205761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T04:58:35.565Z] ---> docker-login.sh [2022-06-23T04:58:35.565Z] nexus3.edgexfoundry.org:10001 [2022-06-23T04:58:35.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:35.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:35.565Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:35.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:35.565Z] [2022-06-23T04:58:35.565Z] Login Succeeded [2022-06-23T04:58:35.565Z] nexus3.edgexfoundry.org:10002 [2022-06-23T04:58:35.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:35.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:35.565Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:35.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:35.565Z] [2022-06-23T04:58:35.565Z] Login Succeeded [2022-06-23T04:58:35.565Z] nexus3.edgexfoundry.org:10003 [2022-06-23T04:58:35.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:35.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:35.825Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:35.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:35.825Z] [2022-06-23T04:58:35.825Z] Login Succeeded [2022-06-23T04:58:35.825Z] nexus3.edgexfoundry.org:10004 [2022-06-23T04:58:35.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:36.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:36.087Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:36.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:36.087Z] [2022-06-23T04:58:36.087Z] Login Succeeded [2022-06-23T04:58:36.087Z] docker.io [2022-06-23T04:58:36.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T04:58:36.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T04:58:36.347Z] Configure a credential helper to remove this warning. See [2022-06-23T04:58:36.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T04:58:36.347Z] [2022-06-23T04:58:36.347Z] Login Succeeded [2022-06-23T04:58:36.347Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T04:58:36.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T04:58:36.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T04:58:36.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T04:58:36.626Z] ========================================================= [2022-06-23T04:58:36.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T04:58:36.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T04:58:37.080Z] + 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-23T04:58:37.080Z] Sending build context to Docker daemon 8.757MB [2022-06-23T04:58:37.080Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T04:58:37.080Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T04:58:37.080Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T04:58:37.080Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T04:58:37.080Z] 666ba61612fd: Pulling fs layer [2022-06-23T04:58:37.080Z] 8ed8ca486205: Pulling fs layer [2022-06-23T04:58:37.080Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T04:58:37.080Z] c516ae0d96e1: Pulling fs layer [2022-06-23T04:58:37.080Z] 684cea983483: Pulling fs layer [2022-06-23T04:58:37.080Z] dd3240ac7de5: Pulling fs layer [2022-06-23T04:58:37.080Z] b1e948a4e11c: Pulling fs layer [2022-06-23T04:58:37.080Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T04:58:37.080Z] 646ad004c059: Pulling fs layer [2022-06-23T04:58:37.080Z] dd3240ac7de5: Waiting [2022-06-23T04:58:37.080Z] a8fd76ee1af6: Waiting [2022-06-23T04:58:37.080Z] 646ad004c059: Waiting [2022-06-23T04:58:37.080Z] c516ae0d96e1: Waiting [2022-06-23T04:58:37.080Z] b1e948a4e11c: Waiting [2022-06-23T04:58:37.080Z] cc1cd167ecdc: Waiting [2022-06-23T04:58:37.080Z] 684cea983483: Waiting [2022-06-23T04:58:37.080Z] 8ed8ca486205: Verifying Checksum [2022-06-23T04:58:37.080Z] 8ed8ca486205: Download complete [2022-06-23T04:58:37.080Z] 666ba61612fd: Download complete [2022-06-23T04:58:37.080Z] c516ae0d96e1: Verifying Checksum [2022-06-23T04:58:37.080Z] c516ae0d96e1: Download complete [2022-06-23T04:58:37.343Z] 684cea983483: Verifying Checksum [2022-06-23T04:58:37.343Z] 684cea983483: Download complete [2022-06-23T04:58:37.343Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T04:58:37.343Z] 59bf1c3509f3: Download complete [2022-06-23T04:58:37.343Z] dd3240ac7de5: Verifying Checksum [2022-06-23T04:58:37.343Z] dd3240ac7de5: Download complete [2022-06-23T04:58:37.343Z] b1e948a4e11c: Verifying Checksum [2022-06-23T04:58:37.343Z] b1e948a4e11c: Download complete [2022-06-23T04:58:37.343Z] 59bf1c3509f3: Pull complete [2022-06-23T04:58:37.614Z] 666ba61612fd: Pull complete [2022-06-23T04:58:37.614Z] 8ed8ca486205: Pull complete [2022-06-23T04:58:37.878Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T04:58:37.878Z] a8fd76ee1af6: Download complete [2022-06-23T04:58:37.878Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T04:58:37.878Z] cc1cd167ecdc: Download complete [2022-06-23T04:58:38.136Z] 646ad004c059: Verifying Checksum [2022-06-23T04:58:38.136Z] 646ad004c059: Download complete [2022-06-23T04:58:42.326Z] cc1cd167ecdc: Pull complete [2022-06-23T04:58:42.326Z] c516ae0d96e1: Pull complete [2022-06-23T04:58:42.326Z] 684cea983483: Pull complete [2022-06-23T04:58:42.326Z] dd3240ac7de5: Pull complete [2022-06-23T04:58:42.326Z] b1e948a4e11c: Pull complete [2022-06-23T04:58:44.233Z] a8fd76ee1af6: Pull complete [2022-06-23T04:58:44.802Z] 646ad004c059: Pull complete [2022-06-23T04:58:44.802Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T04:58:44.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T04:58:44.802Z] ---> 8f69c11f6b0c [2022-06-23T04:58:44.802Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T04:58:46.726Z] ---> Running in d5c510d235d4 [2022-06-23T04:58:46.726Z] Removing intermediate container d5c510d235d4 [2022-06-23T04:58:46.726Z] ---> e5d13c32c60d [2022-06-23T04:58:46.726Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T04:58:46.726Z] ---> Running in a5e7de23e1c4 [2022-06-23T04:58:46.726Z] Removing intermediate container a5e7de23e1c4 [2022-06-23T04:58:46.726Z] ---> 02f9fa12c0ef [2022-06-23T04:58:46.726Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T04:58:46.726Z] ---> Running in 2f8861ed855c [2022-06-23T04:58:46.726Z] Removing intermediate container 2f8861ed855c [2022-06-23T04:58:46.726Z] ---> 307036d64566 [2022-06-23T04:58:46.726Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T04:58:46.726Z] ---> Running in 2e2ba078de62 [2022-06-23T04:58:46.726Z] Removing intermediate container 2e2ba078de62 [2022-06-23T04:58:46.726Z] ---> e3e47dbc9757 [2022-06-23T04:58:46.726Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T04:58:46.726Z] ---> Running in d4e71104c74b [2022-06-23T04:58:47.664Z] Removing intermediate container d4e71104c74b [2022-06-23T04:58:47.664Z] ---> ab032ec9e72a [2022-06-23T04:58:47.664Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T04:58:47.664Z] ---> Running in ecc55c8ed6c6 [2022-06-23T04:58:47.664Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T04:58:48.605Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T04:58:48.867Z] OK: 221 MiB in 52 packages [2022-06-23T04:58:49.128Z] Removing intermediate container ecc55c8ed6c6 [2022-06-23T04:58:49.128Z] ---> e13de01d0cf5 [2022-06-23T04:58:49.128Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T04:58:49.393Z] ---> Running in 4ebd05be8935 [2022-06-23T04:58:49.393Z] Removing intermediate container 4ebd05be8935 [2022-06-23T04:58:49.393Z] ---> 1c994abede15 [2022-06-23T04:58:49.393Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T04:58:49.651Z] ---> 437126420897 [2022-06-23T04:58:49.651Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T04:58:49.651Z] ---> Running in 436efca901fe [2022-06-23T04:58:50.030Z] Still waiting to schedule task [2022-06-23T04:58:50.030Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15403’ [2022-06-23T04:59:04.565Z] Removing intermediate container 436efca901fe [2022-06-23T04:59:04.565Z] ---> 6dd2e7684750 [2022-06-23T04:59:04.565Z] Step 12/13 : COPY . . [2022-06-23T04:59:04.565Z] ---> d6831c6601fa [2022-06-23T04:59:04.565Z] Step 13/13 : RUN ${MAKE} [2022-06-23T04:59:04.565Z] ---> Running in 1a0de0d4a8a3 [2022-06-23T04:59:04.565Z] noop [2022-06-23T04:59:04.565Z] Removing intermediate container 1a0de0d4a8a3 [2022-06-23T04:59:04.565Z] ---> 375e095be01a [2022-06-23T04:59:04.565Z] Successfully built 375e095be01a [2022-06-23T04:59:04.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T04:59:05.004Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T04:59:05.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T04:59:05.151Z] prd-ubuntu20.04-docker-8c-8g-15405 does not seem to be running inside a container [2022-06-23T04:59:05.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-89 -v /w/workspace/oundry_device-onvif-camera_PR-89:/w/workspace/oundry_device-onvif-camera_PR-89:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-89@tmp:/w/workspace/oundry_device-onvif-camera_PR-89@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 ******** ci-base-image-x86_64 cat [2022-06-23T04:59:05.677Z] $ docker top 846cf39bef3488a6e7874ed51275bb6f325f971ae70fe33f950aba6e52d93e42 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T04:59:06.176Z] + go version [2022-06-23T04:59:06.176Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T04:59:06.209Z] $ docker stop --time=1 846cf39bef3488a6e7874ed51275bb6f325f971ae70fe33f950aba6e52d93e42 [2022-06-23T04:59:07.533Z] $ docker rm -f 846cf39bef3488a6e7874ed51275bb6f325f971ae70fe33f950aba6e52d93e42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T04:59:08.235Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T04:59:08.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T04:59:08.393Z] prd-ubuntu20.04-docker-8c-8g-15405 does not seem to be running inside a container [2022-06-23T04:59:08.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-89 -v /w/workspace/oundry_device-onvif-camera_PR-89:/w/workspace/oundry_device-onvif-camera_PR-89:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-89@tmp:/w/workspace/oundry_device-onvif-camera_PR-89@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 ******** ci-base-image-x86_64 cat [2022-06-23T04:59:08.825Z] $ docker top 9ddc772bc500e6dd115ce83782683242018bc9bbf72444d139d2270c9f1f2b1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T04:59:09.278Z] + make test [2022-06-23T04:59:09.278Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T04:59:09.539Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T04:59:19.524Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T04:59:19.524Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements [2022-06-23T04:59:23.726Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.040s coverage: 13.8% of statements [2022-06-23T04:59:31.876Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T04:59:35.167Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T04:59:35.167Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T04:59:35.167Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T04:59:35.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T04:59:35.798Z] $ docker stop --time=1 9ddc772bc500e6dd115ce83782683242018bc9bbf72444d139d2270c9f1f2b1c [2022-06-23T04:59:37.658Z] $ docker rm -f 9ddc772bc500e6dd115ce83782683242018bc9bbf72444d139d2270c9f1f2b1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T04:59:38.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T04:59:38.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T04:59:38.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T04:59:39.123Z] + ls -al . [2022-06-23T04:59:39.123Z] total 236 [2022-06-23T04:59:39.123Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 04:59 . [2022-06-23T04:59:39.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:58 .. [2022-06-23T04:59:39.123Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 04:58 .git [2022-06-23T04:59:39.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:58 .github [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 04:58 .gitignore [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 04:58 .golangci.yml [2022-06-23T04:59:39.123Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 04:58 .semver [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 04:58 Attribution.txt [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 04:58 CHANGELOG.md [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 04:58 Dockerfile [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 04:58 GOVERNANCE.md [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 04:58 Jenkinsfile [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 04:58 LICENSE [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 04:58 Makefile [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 04:58 OWNERS.md [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 04:58 README.md [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 04:58 VERSION [2022-06-23T04:59:39.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:58 bin [2022-06-23T04:59:39.123Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 04:58 cmd [2022-06-23T04:59:39.123Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 23 04:59 coverage.out [2022-06-23T04:59:39.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:58 doc [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 04:58 go.mod [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 04:58 go.sum [2022-06-23T04:59:39.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:58 internal [2022-06-23T04:59:39.123Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T04:59:39.525Z] + 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=a1ff2ff1478018e97cb2be48fcebf5909bf296dd --label arch=amd64 --label version=0.0.0 . [2022-06-23T04:59:39.525Z] Sending build context to Docker daemon 8.818MB [2022-06-23T04:59:39.525Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T04:59:39.525Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T04:59:39.525Z] ---> 375e095be01a [2022-06-23T04:59:39.525Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T04:59:39.789Z] ---> Running in c9a4d5502f0a [2022-06-23T04:59:39.789Z] Removing intermediate container c9a4d5502f0a [2022-06-23T04:59:39.789Z] ---> 51eff94ac1ab [2022-06-23T04:59:39.789Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T04:59:39.789Z] ---> Running in bd065f74c849 [2022-06-23T04:59:39.789Z] Removing intermediate container bd065f74c849 [2022-06-23T04:59:39.789Z] ---> 1aee5edd9d00 [2022-06-23T04:59:39.789Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T04:59:39.789Z] ---> Running in ecccf9102505 [2022-06-23T04:59:40.051Z] Removing intermediate container ecccf9102505 [2022-06-23T04:59:40.051Z] ---> e9459354b0b1 [2022-06-23T04:59:40.051Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T04:59:40.051Z] ---> Running in 3f6c4832ef37 [2022-06-23T04:59:40.051Z] Removing intermediate container 3f6c4832ef37 [2022-06-23T04:59:40.051Z] ---> c495335e7b0e [2022-06-23T04:59:40.051Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T04:59:40.311Z] ---> Running in a2529b26c6df [2022-06-23T04:59:40.881Z] Removing intermediate container a2529b26c6df [2022-06-23T04:59:40.881Z] ---> b67908f169ec [2022-06-23T04:59:40.881Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T04:59:40.881Z] ---> Running in 294cf926ec5b [2022-06-23T04:59:41.141Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T04:59:42.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T04:59:42.347Z] OK: 221 MiB in 52 packages [2022-06-23T04:59:42.608Z] Removing intermediate container 294cf926ec5b [2022-06-23T04:59:42.608Z] ---> 6e86284a1390 [2022-06-23T04:59:42.608Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T04:59:42.608Z] ---> Running in 52e96638ba59 [2022-06-23T04:59:42.871Z] Removing intermediate container 52e96638ba59 [2022-06-23T04:59:42.871Z] ---> 3cadf19c48f9 [2022-06-23T04:59:42.871Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T04:59:42.871Z] ---> 2d9071292b26 [2022-06-23T04:59:42.871Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T04:59:42.871Z] ---> Running in 5ca515697ddb [2022-06-23T04:59:43.810Z] Removing intermediate container 5ca515697ddb [2022-06-23T04:59:43.810Z] ---> 2d11f75cefeb [2022-06-23T04:59:43.810Z] Step 12/26 : COPY . . [2022-06-23T04:59:44.071Z] ---> 31c741afc00d [2022-06-23T04:59:44.071Z] Step 13/26 : RUN ${MAKE} [2022-06-23T04:59:44.071Z] ---> Running in 8abc49c5820b [2022-06-23T04:59:44.329Z] 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-23T05:00:06.273Z] Removing intermediate container 8abc49c5820b [2022-06-23T05:00:06.273Z] ---> 72c511751c4d [2022-06-23T05:00:06.273Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T05:00:06.273Z] 3.15: Pulling from library/alpine [2022-06-23T05:00:06.273Z] df9b9388f04a: Pulling fs layer [2022-06-23T05:00:06.273Z] df9b9388f04a: Download complete [2022-06-23T05:00:06.273Z] df9b9388f04a: Pull complete [2022-06-23T05:00:06.273Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T05:00:06.273Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T05:00:06.273Z] ---> 0ac33e5f5afa [2022-06-23T05:00:06.273Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T05:00:06.273Z] ---> Running in bf7d34b04123 [2022-06-23T05:00:06.273Z] Removing intermediate container bf7d34b04123 [2022-06-23T05:00:06.273Z] ---> 768d107c2983 [2022-06-23T05:00:06.273Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T05:00:06.273Z] ---> Running in 4a2ea32a4dfe [2022-06-23T05:00:06.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T05:00:06.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T05:00:06.273Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T05:00:06.273Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T05:00:06.273Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T05:00:06.273Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T05:00:06.273Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T05:00:06.273Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T05:00:06.273Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T05:00:06.273Z] OK: 8 MiB in 20 packages [2022-06-23T05:00:06.273Z] Removing intermediate container 4a2ea32a4dfe [2022-06-23T05:00:06.273Z] ---> d43f26c4b0c3 [2022-06-23T05:00:06.273Z] Step 17/26 : WORKDIR / [2022-06-23T05:00:06.273Z] ---> Running in 6d9ff82fd530 [2022-06-23T05:00:06.273Z] Removing intermediate container 6d9ff82fd530 [2022-06-23T05:00:06.273Z] ---> 2f9b6c82e0f6 [2022-06-23T05:00:06.273Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T05:00:06.843Z] ---> 907939229a5b [2022-06-23T05:00:06.843Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T05:00:06.843Z] ---> dbf0da0e8d2c [2022-06-23T05:00:06.843Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T05:00:07.109Z] ---> 0af664346938 [2022-06-23T05:00:07.109Z] Step 21/26 : EXPOSE 59984 [2022-06-23T05:00:07.109Z] ---> Running in 6bcdc8a335a2 [2022-06-23T05:00:07.109Z] Removing intermediate container 6bcdc8a335a2 [2022-06-23T05:00:07.109Z] ---> edfe31b3f453 [2022-06-23T05:00:07.109Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T05:00:07.369Z] ---> Running in 19ed4d43c419 [2022-06-23T05:00:07.369Z] Removing intermediate container 19ed4d43c419 [2022-06-23T05:00:07.369Z] ---> 3b5e68443e95 [2022-06-23T05:00:07.369Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T05:00:07.369Z] ---> Running in 80e7796fd904 [2022-06-23T05:00:07.634Z] Removing intermediate container 80e7796fd904 [2022-06-23T05:00:07.634Z] ---> 6f0f693ff7b7 [2022-06-23T05:00:07.634Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T05:00:07.634Z] ---> Running in 9fc3c568f7c9 [2022-06-23T05:00:07.634Z] Removing intermediate container 9fc3c568f7c9 [2022-06-23T05:00:07.634Z] ---> 989c92768e90 [2022-06-23T05:00:07.634Z] Step 25/26 : LABEL git_sha=a1ff2ff1478018e97cb2be48fcebf5909bf296dd [2022-06-23T05:00:07.634Z] ---> Running in 9c382de2c2b9 [2022-06-23T05:00:07.895Z] Removing intermediate container 9c382de2c2b9 [2022-06-23T05:00:07.895Z] ---> bae65d1426a0 [2022-06-23T05:00:07.895Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T05:00:07.895Z] ---> Running in ab7d2082581e [2022-06-23T05:00:07.895Z] Removing intermediate container ab7d2082581e [2022-06-23T05:00:07.895Z] ---> b9d345be6df4 [2022-06-23T05:00:07.895Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T05:00:07.895Z] Successfully built b9d345be6df4 [2022-06-23T05:00:07.895Z] 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-23T05:00:08.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:00:08.758Z] [2022-06-23T05:00:08.758Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:00:09.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:00:09.146Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T05:00:09.146Z] 5eb5b503b376: Pulling fs layer [2022-06-23T05:00:09.146Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T05:00:09.146Z] ec43610c2a17: Pulling fs layer [2022-06-23T05:00:09.146Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T05:00:09.146Z] 33b1e0a273af: Pulling fs layer [2022-06-23T05:00:09.146Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T05:00:09.146Z] 2f39f015ded8: Pulling fs layer [2022-06-23T05:00:09.146Z] 33b1e0a273af: Waiting [2022-06-23T05:00:09.146Z] 5d3b04190fa2: Waiting [2022-06-23T05:00:09.146Z] 2f39f015ded8: Waiting [2022-06-23T05:00:09.146Z] 3a2ae6a8a46f: Waiting [2022-06-23T05:00:09.146Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T05:00:09.146Z] 5c69ac0246d0: Download complete [2022-06-23T05:00:09.146Z] 3a2ae6a8a46f: Download complete [2022-06-23T05:00:09.146Z] 33b1e0a273af: Verifying Checksum [2022-06-23T05:00:09.146Z] 33b1e0a273af: Download complete [2022-06-23T05:00:09.146Z] 5d3b04190fa2: Download complete [2022-06-23T05:00:09.404Z] ec43610c2a17: Verifying Checksum [2022-06-23T05:00:09.404Z] ec43610c2a17: Download complete [2022-06-23T05:00:09.404Z] 5eb5b503b376: Verifying Checksum [2022-06-23T05:00:09.404Z] 5eb5b503b376: Download complete [2022-06-23T05:00:09.971Z] 2f39f015ded8: Download complete [2022-06-23T05:00:10.538Z] 5eb5b503b376: Pull complete [2022-06-23T05:00:10.796Z] 5c69ac0246d0: Pull complete [2022-06-23T05:00:11.369Z] ec43610c2a17: Pull complete [2022-06-23T05:00:11.369Z] 3a2ae6a8a46f: Pull complete [2022-06-23T05:00:11.627Z] 33b1e0a273af: Pull complete [2022-06-23T05:00:11.627Z] 5d3b04190fa2: Pull complete [2022-06-23T05:00:16.898Z] 2f39f015ded8: Pull complete [2022-06-23T05:00:16.898Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T05:00:16.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:00:16.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:00:17.121Z] prd-ubuntu20.04-docker-8c-8g-15405 does not seem to be running inside a container [2022-06-23T05:00:17.160Z] $ 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-89 -v /w/workspace/oundry_device-onvif-camera_PR-89:/w/workspace/oundry_device-onvif-camera_PR-89:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-89@tmp:/w/workspace/oundry_device-onvif-camera_PR-89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T05:00:19.079Z] $ docker top c4ed234b11282a99ae9b02d9b15efc19f2935da74cc05e57c67c415d81b076bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:00:19.537Z] ---> job-cost.sh [2022-06-23T05:00:19.537Z] lf-activate-venv: SKIPPING [2022-06-23T05:00:19.537Z] INFO: No Stack... [2022-06-23T05:00:20.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T05:00:20.370Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T05:00:20.685Z] + cat /w/workspace/oundry_device-onvif-camera_PR-89/archives/cost.csv [2022-06-23T05:00:20.685Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T05:00:20.724Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [2022-06-23T05:00:20.729Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] did not exist. Created. [2022-06-23T05:00:20.729Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T05:00:21.120Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T05:00:21.173Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T05:00:21.204Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T05:00:21.280Z] $ docker stop --time=1 c4ed234b11282a99ae9b02d9b15efc19f2935da74cc05e57c67c415d81b076bd [2022-06-23T05:00:22.442Z] $ docker rm -f c4ed234b11282a99ae9b02d9b15efc19f2935da74cc05e57c67c415d81b076bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T05:01:38.915Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15410 in /w/workspace/oundry_device-onvif-camera_PR-89 [Pipeline] { [Pipeline] ws [2022-06-23T05:01:38.948Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-23T05:01:39.034Z] Selected Git installation does not exist. Using Default [2022-06-23T05:01:39.034Z] The recommended git tool is: NONE [2022-06-23T05:01:46.725Z] using credential edgex-jenkins-ssh [2022-06-23T05:01:46.747Z] Cloning the remote Git repository [2022-06-23T05:01:46.823Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T05:01:46.925Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-23T05:01:47.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T05:01:47.071Z] > git --version # timeout=10 [2022-06-23T05:01:47.098Z] > git --version # 'git version 2.25.1' [2022-06-23T05:01:47.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T05:01:47.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T05:01:48.965Z] Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit a1ff2ff1478018e97cb2be48fcebf5909bf296dd [2022-06-23T05:01:49.318Z] Merge succeeded, producing a1ff2ff1478018e97cb2be48fcebf5909bf296dd [2022-06-23T05:01:49.319Z] Checking out Revision a1ff2ff1478018e97cb2be48fcebf5909bf296dd (PR-89) [2022-06-23T05:01:48.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T05:01:48.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T05:01:48.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T05:01:48.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T05:01:48.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T05:01:48.472Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-23T05:01:48.987Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T05:01:49.025Z] > git checkout -f a1ff2ff1478018e97cb2be48fcebf5909bf296dd # timeout=10 [2022-06-23T05:01:49.204Z] > git remote # timeout=10 [2022-06-23T05:01:49.226Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T05:01:49.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T05:01:49.269Z] > git merge 0a79c5a718067479237195976121108915350925 # timeout=10 [2022-06-23T05:01:49.300Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T05:01:49.327Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T05:01:49.343Z] > git checkout -f a1ff2ff1478018e97cb2be48fcebf5909bf296dd # timeout=10 [2022-06-23T05:01:53.980Z] Commit message: "Revert "build: Upgrade sdk and paho.mqtt lib"" [2022-06-23T05:01:54.054Z] > git --version # timeout=10 [2022-06-23T05:01:54.068Z] > git --version # 'git version 2.25.1' [2022-06-23T05:01:54.091Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T05:01:55.195Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T05:01:55.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T05:01:55.195Z] Dload Upload Total Spent Left Speed [2022-06-23T05:01:55.195Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-06-23T05:01:55.913Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T05:01:56.594Z] + sudo tee /etc/docker/daemon.new [2022-06-23T05:01:56.594Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T05:01:56.594Z] { [2022-06-23T05:01:56.594Z] "registry-mirrors": [ [2022-06-23T05:01:56.594Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T05:01:56.594Z] ], [2022-06-23T05:01:56.594Z] "bip": "10.250.0.254/24", [2022-06-23T05:01:56.594Z] "hosts": [ [2022-06-23T05:01:56.594Z] "tcp://0.0.0.0:5555", [2022-06-23T05:01:56.594Z] "unix:///var/run/docker.sock" [2022-06-23T05:01:56.594Z] ], [2022-06-23T05:01:56.594Z] "mtu": 1458, [2022-06-23T05:01:56.594Z] "selinux-enabled": true, [2022-06-23T05:01:56.594Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T05:01:56.594Z] } [Pipeline] sh [2022-06-23T05:01:56.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T05:01:57.344Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:02:15.782Z] provisioning config files... [2022-06-23T05:02:15.813Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5269445105827044475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:02:16.229Z] ---> docker-login.sh [2022-06-23T05:02:16.229Z] nexus3.edgexfoundry.org:10001 [2022-06-23T05:02:16.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:02:17.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:02:17.109Z] Configure a credential helper to remove this warning. See [2022-06-23T05:02:17.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:02:17.109Z] [2022-06-23T05:02:17.109Z] Login Succeeded [2022-06-23T05:02:17.109Z] nexus3.edgexfoundry.org:10002 [2022-06-23T05:02:17.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:02:17.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:02:17.716Z] Configure a credential helper to remove this warning. See [2022-06-23T05:02:17.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:02:17.716Z] [2022-06-23T05:02:17.716Z] Login Succeeded [2022-06-23T05:02:17.716Z] nexus3.edgexfoundry.org:10003 [2022-06-23T05:02:18.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:02:18.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:02:18.596Z] Configure a credential helper to remove this warning. See [2022-06-23T05:02:18.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:02:18.596Z] [2022-06-23T05:02:18.596Z] Login Succeeded [2022-06-23T05:02:18.596Z] nexus3.edgexfoundry.org:10004 [2022-06-23T05:02:18.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:02:19.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:02:19.147Z] Configure a credential helper to remove this warning. See [2022-06-23T05:02:19.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:02:19.147Z] [2022-06-23T05:02:19.147Z] Login Succeeded [2022-06-23T05:02:19.147Z] docker.io [2022-06-23T05:02:19.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T05:02:20.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T05:02:20.023Z] Configure a credential helper to remove this warning. See [2022-06-23T05:02:20.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T05:02:20.023Z] [2022-06-23T05:02:20.023Z] Login Succeeded [2022-06-23T05:02:20.023Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T05:02:20.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T05:02:20.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:02:20.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T05:02:20.576Z] ========================================================= [2022-06-23T05:02:20.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T05:02:20.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:02:21.201Z] + 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-23T05:02:21.504Z] Sending build context to Docker daemon 5.963MB [2022-06-23T05:02:21.504Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:02:21.504Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T05:02:21.788Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T05:02:21.788Z] 9b3977197b4f: Pulling fs layer [2022-06-23T05:02:21.788Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T05:02:21.788Z] 94645a83ff95: Pulling fs layer [2022-06-23T05:02:21.788Z] e6fb740bc735: Pulling fs layer [2022-06-23T05:02:21.788Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T05:02:21.788Z] e6fb740bc735: Waiting [2022-06-23T05:02:21.788Z] 3a77bd46dcc9: Waiting [2022-06-23T05:02:21.788Z] 355e64cbe906: Pulling fs layer [2022-06-23T05:02:21.788Z] 63ab81a10011: Pulling fs layer [2022-06-23T05:02:21.788Z] 355e64cbe906: Waiting [2022-06-23T05:02:21.788Z] 555d1d1c4555: Pulling fs layer [2022-06-23T05:02:21.788Z] 63ab81a10011: Waiting [2022-06-23T05:02:21.788Z] 7d9057610161: Pulling fs layer [2022-06-23T05:02:21.788Z] 555d1d1c4555: Waiting [2022-06-23T05:02:21.788Z] 94645a83ff95: Verifying Checksum [2022-06-23T05:02:21.788Z] 94645a83ff95: Download complete [2022-06-23T05:02:21.788Z] 1a89e8eeedd5: Verifying Checksum [2022-06-23T05:02:21.788Z] 1a89e8eeedd5: Download complete [2022-06-23T05:02:21.788Z] 3a77bd46dcc9: Download complete [2022-06-23T05:02:22.076Z] 355e64cbe906: Verifying Checksum [2022-06-23T05:02:22.077Z] 355e64cbe906: Download complete [2022-06-23T05:02:22.077Z] 9b3977197b4f: Verifying Checksum [2022-06-23T05:02:22.077Z] 9b3977197b4f: Download complete [2022-06-23T05:02:22.689Z] 9b3977197b4f: Pull complete [2022-06-23T05:02:23.295Z] 7d9057610161: Verifying Checksum [2022-06-23T05:02:23.295Z] 7d9057610161: Download complete [2022-06-23T05:02:23.574Z] 1a89e8eeedd5: Pull complete [2022-06-23T05:02:24.181Z] 94645a83ff95: Pull complete [2022-06-23T05:02:24.458Z] 555d1d1c4555: Verifying Checksum [2022-06-23T05:02:24.458Z] 555d1d1c4555: Download complete [2022-06-23T05:02:25.062Z] e6fb740bc735: Verifying Checksum [2022-06-23T05:02:25.062Z] e6fb740bc735: Download complete [2022-06-23T05:02:37.489Z] e6fb740bc735: Pull complete [2022-06-23T05:02:37.489Z] 3a77bd46dcc9: Pull complete [2022-06-23T05:02:37.489Z] 355e64cbe906: Pull complete [2022-06-23T05:02:37.489Z] 63ab81a10011: Pull complete [2022-06-23T05:02:44.258Z] 555d1d1c4555: Pull complete [2022-06-23T05:02:46.262Z] 7d9057610161: Pull complete [2022-06-23T05:02:46.262Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T05:02:46.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T05:02:46.262Z] ---> 819e984ddca1 [2022-06-23T05:02:46.262Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T05:02:48.909Z] ---> Running in 2fed64f78277 [2022-06-23T05:02:48.909Z] Removing intermediate container 2fed64f78277 [2022-06-23T05:02:48.909Z] ---> b93a0323fd65 [2022-06-23T05:02:48.909Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:02:48.909Z] ---> Running in baa14acabbb3 [2022-06-23T05:02:49.189Z] Removing intermediate container baa14acabbb3 [2022-06-23T05:02:49.189Z] ---> 9bcdfdac82c8 [2022-06-23T05:02:49.189Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:02:49.189Z] ---> Running in 25e3db2784b8 [2022-06-23T05:02:49.795Z] Removing intermediate container 25e3db2784b8 [2022-06-23T05:02:49.795Z] ---> bd268ce1b748 [2022-06-23T05:02:49.795Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:02:49.795Z] ---> Running in cbb8b2bb443e [2022-06-23T05:02:50.079Z] Removing intermediate container cbb8b2bb443e [2022-06-23T05:02:50.079Z] ---> 75e4df493fe9 [2022-06-23T05:02:50.079Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:02:50.079Z] ---> Running in 35fcc69a731e [2022-06-23T05:02:52.083Z] Removing intermediate container 35fcc69a731e [2022-06-23T05:02:52.083Z] ---> 8cd94746dbfd [2022-06-23T05:02:52.083Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:02:52.083Z] ---> Running in 3545f6e87251 [2022-06-23T05:02:53.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:02:54.056Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:02:55.049Z] OK: 220 MiB in 52 packages [2022-06-23T05:02:56.040Z] Removing intermediate container 3545f6e87251 [2022-06-23T05:02:56.040Z] ---> b55c2517a154 [2022-06-23T05:02:56.040Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T05:02:56.040Z] ---> Running in fea9d774aa63 [2022-06-23T05:02:56.318Z] Removing intermediate container fea9d774aa63 [2022-06-23T05:02:56.318Z] ---> 303161b31331 [2022-06-23T05:02:56.318Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T05:02:56.944Z] ---> c61110db2644 [2022-06-23T05:02:56.944Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:02:56.944Z] ---> Running in 32a2df991e40 [2022-06-23T05:03:53.554Z] Removing intermediate container 32a2df991e40 [2022-06-23T05:03:53.554Z] ---> 657cb295fbc7 [2022-06-23T05:03:53.554Z] Step 12/13 : COPY . . [2022-06-23T05:03:53.554Z] ---> 6c3cbcd70ed5 [2022-06-23T05:03:53.554Z] Step 13/13 : RUN ${MAKE} [2022-06-23T05:03:53.554Z] ---> Running in 4ebf6a155faa [2022-06-23T05:03:53.554Z] noop [2022-06-23T05:03:53.554Z] Removing intermediate container 4ebf6a155faa [2022-06-23T05:03:53.554Z] ---> 76c25fa666b0 [2022-06-23T05:03:53.554Z] Successfully built 76c25fa666b0 [2022-06-23T05:03:53.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:03:54.046Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T05:03:54.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:03:54.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-15410 does not seem to be running inside a container [2022-06-23T05:03:54.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-06-23T05:03:56.006Z] $ docker top ee839e2b5ac5b4cda6bc96fb6da23ab466cc4a2e7a65bfbb318941e953d71680 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T05:03:57.018Z] + go version [2022-06-23T05:03:57.018Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T05:03:57.052Z] $ docker stop --time=1 ee839e2b5ac5b4cda6bc96fb6da23ab466cc4a2e7a65bfbb318941e953d71680 [2022-06-23T05:03:58.793Z] $ docker rm -f ee839e2b5ac5b4cda6bc96fb6da23ab466cc4a2e7a65bfbb318941e953d71680 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:03:59.764Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T05:03:59.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:04:00.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-15410 does not seem to be running inside a container [2022-06-23T05:04:00.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-06-23T05:04:01.702Z] $ docker top 9da3c3c37dffc254f4385a61fdaa089716d36889915c9c22c4e96ead5020b867 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T05:04:02.765Z] + make test [2022-06-23T05:04:02.765Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T05:04:04.756Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T05:05:41.794Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T05:05:41.794Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.084s coverage: 1.2% of statements [2022-06-23T05:06:14.161Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.189s coverage: 13.8% of statements [2022-06-23T05:06:14.161Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T05:06:14.161Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T05:06:46.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T05:06:46.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T05:06:46.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T05:06:48.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T05:06:48.069Z] $ docker stop --time=1 9da3c3c37dffc254f4385a61fdaa089716d36889915c9c22c4e96ead5020b867 [2022-06-23T05:06:49.877Z] $ docker rm -f 9da3c3c37dffc254f4385a61fdaa089716d36889915c9c22c4e96ead5020b867 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T05:06:50.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T05:06:51.022Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T05:06:51.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T05:06:52.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T05:06:52.580Z] + ls -al . [2022-06-23T05:06:52.580Z] total 232 [2022-06-23T05:06:52.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:06 . [2022-06-23T05:06:52.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:01 .. [2022-06-23T05:06:52.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:01 .git [2022-06-23T05:06:52.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:01 .github [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 05:01 .gitignore [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:01 .golangci.yml [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 05:01 Attribution.txt [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 05:01 CHANGELOG.md [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 05:01 Dockerfile [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 05:01 GOVERNANCE.md [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 05:01 Jenkinsfile [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:01 LICENSE [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 05:01 Makefile [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 05:01 OWNERS.md [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 05:01 README.md [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 04:58 VERSION [2022-06-23T05:06:52.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:01 bin [2022-06-23T05:06:52.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:01 cmd [2022-06-23T05:06:52.580Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 23 05:06 coverage.out [2022-06-23T05:06:52.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:01 doc [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 05:01 go.mod [2022-06-23T05:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 05:01 go.sum [2022-06-23T05:06:52.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:01 internal [2022-06-23T05:06:52.581Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:06:53.027Z] + 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=a1ff2ff1478018e97cb2be48fcebf5909bf296dd --label arch=arm64 --label version=0.0.0 . [2022-06-23T05:06:53.303Z] Sending build context to Docker daemon 6.023MB [2022-06-23T05:06:53.582Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T05:06:53.582Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T05:06:53.582Z] ---> 76c25fa666b0 [2022-06-23T05:06:53.582Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T05:06:53.582Z] ---> Running in a4add5133110 [2022-06-23T05:06:53.863Z] Removing intermediate container a4add5133110 [2022-06-23T05:06:53.863Z] ---> 1f82020e816f [2022-06-23T05:06:53.863Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T05:06:54.139Z] ---> Running in 1bd8cdc65c40 [2022-06-23T05:06:54.419Z] Removing intermediate container 1bd8cdc65c40 [2022-06-23T05:06:54.419Z] ---> b157f725dbad [2022-06-23T05:06:54.419Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T05:06:54.419Z] ---> Running in 18c957644d87 [2022-06-23T05:06:54.695Z] Removing intermediate container 18c957644d87 [2022-06-23T05:06:54.695Z] ---> fa89d0a346c8 [2022-06-23T05:06:54.695Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T05:06:54.972Z] ---> Running in ae716ce2b682 [2022-06-23T05:06:55.253Z] Removing intermediate container ae716ce2b682 [2022-06-23T05:06:55.254Z] ---> b8a6f7517d02 [2022-06-23T05:06:55.254Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T05:06:55.254Z] ---> Running in c8ab2663782b [2022-06-23T05:06:57.270Z] Removing intermediate container c8ab2663782b [2022-06-23T05:06:57.270Z] ---> 8bb43382c480 [2022-06-23T05:06:57.270Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T05:06:57.270Z] ---> Running in f353aa96829f [2022-06-23T05:06:58.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:06:59.248Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:07:00.697Z] OK: 220 MiB in 52 packages [2022-06-23T05:07:01.313Z] Removing intermediate container f353aa96829f [2022-06-23T05:07:01.313Z] ---> 786107565867 [2022-06-23T05:07:01.313Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T05:07:01.313Z] ---> Running in e11f4918bcec [2022-06-23T05:07:01.919Z] Removing intermediate container e11f4918bcec [2022-06-23T05:07:01.919Z] ---> 017fd7f24624 [2022-06-23T05:07:01.919Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T05:07:02.518Z] ---> fc6aaf034c2d [2022-06-23T05:07:02.518Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T05:07:02.518Z] ---> Running in 42ccdf760146 [2022-06-23T05:07:04.522Z] Removing intermediate container 42ccdf760146 [2022-06-23T05:07:04.522Z] ---> fa806ca02c9b [2022-06-23T05:07:04.522Z] Step 12/26 : COPY . . [2022-06-23T05:07:05.523Z] ---> b4f2c2102d12 [2022-06-23T05:07:05.523Z] Step 13/26 : RUN ${MAKE} [2022-06-23T05:07:05.806Z] ---> Running in beb4c1409211 [2022-06-23T05:07:06.796Z] 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-23T05:09:28.749Z] Removing intermediate container beb4c1409211 [2022-06-23T05:09:28.749Z] ---> a23ee7a4c1d4 [2022-06-23T05:09:28.749Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T05:09:29.344Z] 3.15: Pulling from library/alpine [2022-06-23T05:09:29.344Z] 9981e73032c8: Pulling fs layer [2022-06-23T05:09:29.619Z] 9981e73032c8: Verifying Checksum [2022-06-23T05:09:29.619Z] 9981e73032c8: Download complete [2022-06-23T05:09:30.217Z] 9981e73032c8: Pull complete [2022-06-23T05:09:30.217Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T05:09:30.217Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T05:09:30.217Z] ---> 3fb3c9af89a9 [2022-06-23T05:09:30.217Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T05:09:30.493Z] ---> Running in 42b05454f105 [2022-06-23T05:09:30.768Z] Removing intermediate container 42b05454f105 [2022-06-23T05:09:30.768Z] ---> 01922940c5a5 [2022-06-23T05:09:30.768Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T05:09:30.768Z] ---> Running in 25b53c060f7b [2022-06-23T05:09:31.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T05:09:32.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T05:09:33.010Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T05:09:33.010Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T05:09:33.010Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T05:09:33.010Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T05:09:33.010Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T05:09:33.010Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T05:09:33.010Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T05:09:33.010Z] OK: 8 MiB in 20 packages [2022-06-23T05:09:33.993Z] Removing intermediate container 25b53c060f7b [2022-06-23T05:09:33.993Z] ---> 19456cd99fe3 [2022-06-23T05:09:33.993Z] Step 17/26 : WORKDIR / [2022-06-23T05:09:34.279Z] ---> Running in 60abba0a5712 [2022-06-23T05:09:34.559Z] Removing intermediate container 60abba0a5712 [2022-06-23T05:09:34.559Z] ---> 7fb0ef89b5fb [2022-06-23T05:09:34.559Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T05:09:36.551Z] ---> 3460f1cbdd1c [2022-06-23T05:09:36.551Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T05:09:36.827Z] ---> 97a6e7a72b9d [2022-06-23T05:09:36.827Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T05:09:37.424Z] ---> 5a3470d54a71 [2022-06-23T05:09:37.424Z] Step 21/26 : EXPOSE 59984 [2022-06-23T05:09:37.424Z] ---> Running in 7c9584ef3ea6 [2022-06-23T05:09:37.701Z] Removing intermediate container 7c9584ef3ea6 [2022-06-23T05:09:37.701Z] ---> a2bd7695bbca [2022-06-23T05:09:37.701Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T05:09:37.995Z] ---> Running in 19fd3aaae7c2 [2022-06-23T05:09:38.270Z] Removing intermediate container 19fd3aaae7c2 [2022-06-23T05:09:38.270Z] ---> c3ad7c25436e [2022-06-23T05:09:38.270Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T05:09:38.270Z] ---> Running in e9fdd39e1edd [2022-06-23T05:09:38.557Z] Removing intermediate container e9fdd39e1edd [2022-06-23T05:09:38.557Z] ---> 5d491f60b75e [2022-06-23T05:09:38.557Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T05:09:38.840Z] ---> Running in a89087c2f6fb [2022-06-23T05:09:39.117Z] Removing intermediate container a89087c2f6fb [2022-06-23T05:09:39.117Z] ---> cb08105a5a41 [2022-06-23T05:09:39.117Z] Step 25/26 : LABEL git_sha=a1ff2ff1478018e97cb2be48fcebf5909bf296dd [2022-06-23T05:09:39.117Z] ---> Running in 6aa9589dc960 [2022-06-23T05:09:39.716Z] Removing intermediate container 6aa9589dc960 [2022-06-23T05:09:39.716Z] ---> 658a20b1e9ff [2022-06-23T05:09:39.716Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T05:09:39.716Z] ---> Running in cc171faa4053 [2022-06-23T05:09:39.991Z] Removing intermediate container cc171faa4053 [2022-06-23T05:09:39.991Z] ---> 777d1f01bf5b [2022-06-23T05:09:39.991Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T05:09:39.991Z] Successfully built 777d1f01bf5b [2022-06-23T05:09:39.991Z] 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-23T05:09:40.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:09:40.804Z] [2022-06-23T05:09:40.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:09:41.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:09:41.509Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T05:09:41.509Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T05:09:41.509Z] 04944245beec: Pulling fs layer [2022-06-23T05:09:41.509Z] 699f458cf7ca: Pulling fs layer [2022-06-23T05:09:41.509Z] 765212b225bb: Pulling fs layer [2022-06-23T05:09:41.509Z] f23df028b6ca: Pulling fs layer [2022-06-23T05:09:41.509Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T05:09:41.509Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T05:09:41.509Z] 765212b225bb: Waiting [2022-06-23T05:09:41.509Z] f23df028b6ca: Waiting [2022-06-23T05:09:41.509Z] d65c8cfc05b1: Waiting [2022-06-23T05:09:41.509Z] 2437ff75d9bd: Waiting [2022-06-23T05:09:41.509Z] 04944245beec: Verifying Checksum [2022-06-23T05:09:41.509Z] 04944245beec: Download complete [2022-06-23T05:09:41.509Z] 765212b225bb: Verifying Checksum [2022-06-23T05:09:41.509Z] 765212b225bb: Download complete [2022-06-23T05:09:41.785Z] f23df028b6ca: Download complete [2022-06-23T05:09:41.785Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T05:09:41.785Z] d65c8cfc05b1: Download complete [2022-06-23T05:09:41.785Z] 699f458cf7ca: Verifying Checksum [2022-06-23T05:09:41.785Z] 699f458cf7ca: Download complete [2022-06-23T05:09:42.062Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T05:09:42.062Z] 8998bd30e6a1: Download complete [2022-06-23T05:09:44.693Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T05:09:44.693Z] 2437ff75d9bd: Download complete [2022-06-23T05:09:46.685Z] 8998bd30e6a1: Pull complete [2022-06-23T05:09:46.959Z] 04944245beec: Pull complete [2022-06-23T05:09:48.974Z] 699f458cf7ca: Pull complete [2022-06-23T05:09:48.974Z] 765212b225bb: Pull complete [2022-06-23T05:09:49.961Z] f23df028b6ca: Pull complete [2022-06-23T05:09:49.961Z] d65c8cfc05b1: Pull complete [2022-06-23T05:10:08.425Z] 2437ff75d9bd: Pull complete [2022-06-23T05:10:08.425Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T05:10:08.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T05:10:08.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:10:08.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-15410 does not seem to be running inside a container [2022-06-23T05:10:08.918Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-23T05:10:11.815Z] $ docker top 3c19518ffd5d1a137619ab59562c6c03825b4be1d4700ed29d6702c1bac98b8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:12.777Z] ---> job-cost.sh [2022-06-23T05:10:12.777Z] lf-activate-venv: SKIPPING [2022-06-23T05:10:12.777Z] INFO: No Stack... [2022-06-23T05:10:13.368Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T05:10:13.958Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T05:10:14.627Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-23T05:10:14.627Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T05:10:14.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [2022-06-23T05:10:14.685Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] did not exist. Created. [2022-06-23T05:10:14.685Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T05:10:15.429Z] /w/workspace/device-onvif-camera/1@tmp/durable-8da87b75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T05:10:16.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T05:10:16.150Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T05:10:16.197Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T05:10:16.211Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T05:10:16.290Z] $ docker stop --time=1 3c19518ffd5d1a137619ab59562c6c03825b4be1d4700ed29d6702c1bac98b8c [2022-06-23T05:10:17.795Z] $ docker rm -f 3c19518ffd5d1a137619ab59562c6c03825b4be1d4700ed29d6702c1bac98b8c [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-23T05:10:18.824Z] provisioning config files... [2022-06-23T05:10:18.834Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-89@tmp/config8809555473150070455tmp [Pipeline] { [Pipeline] sh [2022-06-23T05:10:19.175Z] + set +x [2022-06-23T05:10:19.175Z] + curl -s https://codecov.io/bash [2022-06-23T05:10:19.175Z] + bash -s -- [2022-06-23T05:10:19.175Z] [2022-06-23T05:10:19.175Z] _____ _ [2022-06-23T05:10:19.175Z] / ____| | | [2022-06-23T05:10:19.175Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T05:10:19.175Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T05:10:19.175Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T05:10:19.175Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T05:10:19.175Z] Bash-1.0.6 [2022-06-23T05:10:19.175Z] [2022-06-23T05:10:19.175Z] [2022-06-23T05:10:19.175Z] ==> git version 2.25.1 found [2022-06-23T05:10:19.175Z] ==> 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-23T05:10:19.175Z] Release-Date: 2020-01-08 [2022-06-23T05:10:19.175Z] 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-23T05:10:19.175Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T05:10:19.175Z] ==> Jenkins CI detected. [2022-06-23T05:10:19.175Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-89 [2022-06-23T05:10:19.175Z] project root: . [2022-06-23T05:10:19.175Z] --> token set from env [2022-06-23T05:10:19.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T05:10:19.175Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T05:10:19.175Z] ==> Python coveragepy not found [2022-06-23T05:10:19.175Z] ==> Searching for coverage reports in: [2022-06-23T05:10:19.175Z] + . [2022-06-23T05:10:19.175Z] -> Found 1 reports [2022-06-23T05:10:19.175Z] ==> Detecting git/mercurial file structure [2022-06-23T05:10:19.175Z] ==> Reading reports [2022-06-23T05:10:19.175Z] + ./coverage.out bytes=59480 [2022-06-23T05:10:19.175Z] ==> Appending adjustments [2022-06-23T05:10:19.175Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T05:10:19.435Z] + Found adjustments [2022-06-23T05:10:19.435Z] ==> Gzipping contents [2022-06-23T05:10:19.435Z] 8.0K /tmp/codecov.jV9WMt.gz [2022-06-23T05:10:19.435Z] ==> Uploading reports [2022-06-23T05:10:19.435Z] url: https://codecov.io [2022-06-23T05:10:19.435Z] query: branch=PR-89&commit=a1ff2ff1478018e97cb2be48fcebf5909bf296dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=89&job=&cmd_args= [2022-06-23T05:10:19.435Z] -> Pinging Codecov [2022-06-23T05:10:19.435Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-89&commit=a1ff2ff1478018e97cb2be48fcebf5909bf296dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=89&job=&cmd_args= [2022-06-23T05:10:19.696Z] -> Uploading to [2022-06-23T05:10:19.696Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/F29A59C45E3A92E06B3E522C9905F8EF/a1ff2ff1478018e97cb2be48fcebf5909bf296dd/a50b53fe-f81b-4fe5-bbc4-17d90c518e92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T051019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dbb2f8f38b4706624893b5e6aabc9bf675658cb07f5a3fbf5780c23abb01b2d [2022-06-23T05:10:19.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T05:10:19.696Z] Dload Upload Total Spent Left Speed [2022-06-23T05:10:19.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7635 0 0 100 7635 0 36531 --:--:-- --:--:-- --:--:-- 36357 [2022-06-23T05:10:19.959Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a1ff2ff1478018e97cb2be48fcebf5909bf296dd [Pipeline] } [2022-06-23T05:10:19.987Z] 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-23T05:10:21.676Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-89/archives ] [2022-06-23T05:10:21.676Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-89/archives [2022-06-23T05:10:21.676Z] total 16 [2022-06-23T05:10:21.676Z] drwxr-xr-x 3 root root 4096 Jun 23 05:00 . [2022-06-23T05:10:21.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:00 .. [2022-06-23T05:10:21.676Z] drwxr-xr-x 2 root root 4096 Jun 23 05:00 cost [2022-06-23T05:10:21.676Z] -rw-r--r-- 1 root root 89 Jun 23 05:00 cost.csv [2022-06-23T05:10:21.676Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-89/archives [2022-06-23T05:10:21.676Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-89/archives [2022-06-23T05:10:21.676Z] total 16 [2022-06-23T05:10:21.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:00 . [2022-06-23T05:10:21.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:00 .. [2022-06-23T05:10:21.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 05:00 cost [2022-06-23T05:10:21.676Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:22.006Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:22.901Z] ---> package-listing.sh [2022-06-23T05:10:22.901Z] ++ facter osfamily [2022-06-23T05:10:22.901Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T05:10:23.160Z] + OS_FAMILY=debian [2022-06-23T05:10:23.160Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-89 [2022-06-23T05:10:23.160Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T05:10:23.160Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T05:10:23.160Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T05:10:23.160Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T05:10:23.160Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-89 ']' [2022-06-23T05:10:23.160Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T05:10:23.160Z] + case "${OS_FAMILY}" in [2022-06-23T05:10:23.160Z] + dpkg -l [2022-06-23T05:10:23.160Z] + grep '^ii' [2022-06-23T05:10:23.160Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T05:10:23.160Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T05:10:23.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T05:10:23.160Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-89 ']' [2022-06-23T05:10:23.160Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-89/archives/ [2022-06-23T05:10:23.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-89/archives/ [Pipeline] echo [2022-06-23T05:10:23.194Z] 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-89/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-23T05:10:23.492Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T05:10:24.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T05:10:24.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T05:10:24.279Z] prd-ubuntu20.04-docker-8c-8g-15405 does not seem to be running inside a container [2022-06-23T05:10:24.320Z] $ 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-89/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-89 -v /w/workspace/oundry_device-onvif-camera_PR-89:/w/workspace/oundry_device-onvif-camera_PR-89:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-89@tmp:/w/workspace/oundry_device-onvif-camera_PR-89@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-lftools-log-publisher:latest cat [2022-06-23T05:10:24.570Z] $ docker top 869ee0be3e10a2c6244b87ea309640893abac9dcb5a4a9b10fc240fcd952ab9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T05:10:24.974Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T05:10:25.282Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T05:10:25.599Z] + ls /var/log/sa-host [2022-06-23T05:10:25.599Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T05:10:25.726Z] provisioning config files... [2022-06-23T05:10:25.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-89@tmp/config672069265128028957tmp [Pipeline] { [Pipeline] echo [2022-06-23T05:10:25.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:26.098Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T05:10:26.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:26.549Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T05:10:26.579Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:26.934Z] ---> sudo-logs.sh [2022-06-23T05:10:26.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T05:10:27.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:27.333Z] ---> job-cost.sh [2022-06-23T05:10:27.333Z] lf-activate-venv: SKIPPING [2022-06-23T05:10:27.333Z] DEBUG: total: 0.2199999988079071 [2022-06-23T05:10:27.333Z] INFO: Retrieving Stack Cost... [2022-06-23T05:10:27.904Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T05:10:28.473Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T05:10:28.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T05:10:28.821Z] ---> logs-deploy.sh [2022-06-23T05:10:28.821Z] lf-activate-venv: SKIPPING [2022-06-23T05:10:28.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-89/1 [2022-06-23T05:10:28.821Z] INFO: archiving workspace using pattern(s): [2022-06-23T05:10:29.762Z] Archives upload complete. [2022-06-23T05:10:29.762Z] INFO: archiving logs to Nexus