Pull request #99 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from d74fe86db0648a4b0080907ea92d11b63b25c4f3+cba106416024542bb09af345da5a1638a965ef9b (1c9bec757edd9e658317d19f89668885fc00b1f0) 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-ssh11937561514820864845.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-ssh16483708484119017150.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-99/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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4057311954350641451.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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9388512217311241935.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-ssh12912063350656154138.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-99/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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6633333713758909589.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16628 in /w/workspace/oundry_device-onvif-camera_PR-99 [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-99 # 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cba106416024542bb09af345da5a1638a965ef9b into PR head commit d74fe86db0648a4b0080907ea92d11b63b25c4f3 Merge succeeded, producing d74fe86db0648a4b0080907ea92d11b63b25c4f3 Checking out Revision d74fe86db0648a4b0080907ea92d11b63b25c4f3 (PR-99) > git config core.sparsecheckout # timeout=10 > git checkout -f d74fe86db0648a4b0080907ea92d11b63b25c4f3 # 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 cba106416024542bb09af345da5a1638a965ef9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74fe86db0648a4b0080907ea92d11b63b25c4f3 # timeout=10 Commit message: "fix: set-credentials ALL option" 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-07-01T18:15:44.868Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-01T18:15:45.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-01T18:15:45.116Z] ========================================================= [2022-07-01T18:15:45.117Z] EdgeX Global Pipelines Version Info [2022-07-01T18:15:45.117Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:15:45.921Z] ------------------- [2022-07-01T18:15:45.921Z] stable info: [2022-07-01T18:15:45.921Z] ------------------- [2022-07-01T18:15:45.921Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-01T18:15:45.921Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-01T18:15:45.921Z] Message: update stable to v1.0.234 [2022-07-01T18:15:46.492Z] ------------------- [2022-07-01T18:15:46.492Z] experimental info: [2022-07-01T18:15:46.492Z] ------------------- [2022-07-01T18:15:46.492Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-01T18:15:46.492Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-01T18:15:46.492Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-01T18:15:46.862Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-01T18:15:46.905Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-01T18:15:46.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-01T18:15:46.986Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-01T18:15:47.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-01T18:15:47.064Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-01T18:15:47.101Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-01T18:15:47.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-01T18:15:47.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-01T18:15:47.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-01T18:15:47.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-01T18:15:47.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-01T18:15:47.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-01T18:15:47.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-01T18:15:47.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-01T18:15:47.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-01T18:15:47.501Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T18:15:47.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T18:15:47.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-01T18:15:47.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-01T18:15:47.658Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-01T18:15:47.700Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-01T18:15:47.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-01T18:15:47.786Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-01T18:15:47.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-01T18:15:47.869Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-01T18:15:47.909Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-01T18:15:47.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2022-07-01T18:15:47.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2022-07-01T18:15:48.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2022-07-01T18:15:48.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74fe86db0648a4b0080907ea92d11b63b25c4f3 [Pipeline] echo [2022-07-01T18:15:48.116Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74fe86 [Pipeline] echo [2022-07-01T18:15:48.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T18:15:48.271Z] provisioning config files... [2022-07-01T18:15:48.283Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-99@tmp/config3363683596397597286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:15:48.632Z] ---> docker-login.sh [2022-07-01T18:15:48.633Z] nexus3.edgexfoundry.org:10001 [2022-07-01T18:15:48.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:15:48.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:15:48.896Z] Configure a credential helper to remove this warning. See [2022-07-01T18:15:48.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:15:48.896Z] [2022-07-01T18:15:48.896Z] Login Succeeded [2022-07-01T18:15:48.896Z] nexus3.edgexfoundry.org:10002 [2022-07-01T18:15:49.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:15:49.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:15:49.158Z] Configure a credential helper to remove this warning. See [2022-07-01T18:15:49.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:15:49.158Z] [2022-07-01T18:15:49.158Z] Login Succeeded [2022-07-01T18:15:49.158Z] nexus3.edgexfoundry.org:10003 [2022-07-01T18:15:49.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:15:49.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:15:49.158Z] Configure a credential helper to remove this warning. See [2022-07-01T18:15:49.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:15:49.158Z] [2022-07-01T18:15:49.158Z] Login Succeeded [2022-07-01T18:15:49.158Z] nexus3.edgexfoundry.org:10004 [2022-07-01T18:15:49.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:15:49.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:15:49.421Z] Configure a credential helper to remove this warning. See [2022-07-01T18:15:49.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:15:49.421Z] [2022-07-01T18:15:49.421Z] Login Succeeded [2022-07-01T18:15:49.421Z] docker.io [2022-07-01T18:15:49.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:15:49.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:15:49.996Z] Configure a credential helper to remove this warning. See [2022-07-01T18:15:49.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:15:49.996Z] [2022-07-01T18:15:49.996Z] Login Succeeded [2022-07-01T18:15:49.996Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T18:15:50.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-01T18:15:50.687Z] + git rev-list -1 --merges d74fe86db0648a4b0080907ea92d11b63b25c4f3~1..d74fe86db0648a4b0080907ea92d11b63b25c4f3 [Pipeline] echo [2022-07-01T18:15:50.739Z] -----------> git rev-list -1 --merges d74fe86db0648a4b0080907ea92d11b63b25c4f3~1..d74fe86db0648a4b0080907ea92d11b63b25c4f3 d74fe86db0648a4b0080907ea92d11b63b25c4f3 [false] [Pipeline] sh [2022-07-01T18:15:51.056Z] + git log --format=format:%s -1 d74fe86db0648a4b0080907ea92d11b63b25c4f3 [Pipeline] echo [2022-07-01T18:15:51.096Z] ========================================================= [2022-07-01T18:15:51.096Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-01T18:15:51.096Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T18:15:51.558Z] + git log --format=format:%s -1 d74fe86db0648a4b0080907ea92d11b63b25c4f3 [Pipeline] echo [2022-07-01T18:15:51.593Z] [semverPrep] GIT_COMMIT: d74fe86db0648a4b0080907ea92d11b63b25c4f3, Commit Message: fix: set-credentials ALL option [Pipeline] echo [2022-07-01T18:15:51.624Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-01T18:15:52.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-01T18:15:52.041Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-01T18:15:52.041Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-01T18:15:52.041Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-01T18:15:52.041Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-01T18:15:52.041Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-01T18:15:52.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:15:52.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T18:15:52.485Z] [2022-07-01T18:15:52.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:15:52.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T18:15:52.866Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-01T18:15:52.866Z] 42c077c10790: Pulling fs layer [2022-07-01T18:15:52.866Z] f63e77b7563a: Pulling fs layer [2022-07-01T18:15:52.866Z] bd5fdadae976: Pulling fs layer [2022-07-01T18:15:52.866Z] 205491f53016: Pulling fs layer [2022-07-01T18:15:52.866Z] df18705c85c3: Pulling fs layer [2022-07-01T18:15:52.866Z] bdb3f477010e: Pulling fs layer [2022-07-01T18:15:52.866Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-01T18:15:52.866Z] 2c6e9b1d212d: Pulling fs layer [2022-07-01T18:15:52.866Z] bdb8f0575790: Pulling fs layer [2022-07-01T18:15:52.866Z] 386e3cb2ff24: Pulling fs layer [2022-07-01T18:15:52.866Z] 2343380bae48: Pulling fs layer [2022-07-01T18:15:52.866Z] 205491f53016: Waiting [2022-07-01T18:15:52.866Z] bdb8f0575790: Waiting [2022-07-01T18:15:52.866Z] 386e3cb2ff24: Waiting [2022-07-01T18:15:52.866Z] df18705c85c3: Waiting [2022-07-01T18:15:52.866Z] 2343380bae48: Waiting [2022-07-01T18:15:52.866Z] bdb3f477010e: Waiting [2022-07-01T18:15:52.866Z] 2c6e9b1d212d: Waiting [2022-07-01T18:15:52.866Z] f63e77b7563a: Verifying Checksum [2022-07-01T18:15:52.866Z] f63e77b7563a: Download complete [2022-07-01T18:15:52.866Z] 205491f53016: Verifying Checksum [2022-07-01T18:15:52.866Z] 205491f53016: Download complete [2022-07-01T18:15:53.128Z] bd5fdadae976: Verifying Checksum [2022-07-01T18:15:53.128Z] bd5fdadae976: Download complete [2022-07-01T18:15:53.128Z] df18705c85c3: Verifying Checksum [2022-07-01T18:15:53.128Z] df18705c85c3: Download complete [2022-07-01T18:15:53.128Z] bdb3f477010e: Verifying Checksum [2022-07-01T18:15:53.128Z] bdb3f477010e: Download complete [2022-07-01T18:15:53.128Z] 2c6e9b1d212d: Download complete [2022-07-01T18:15:53.128Z] bdb8f0575790: Download complete [2022-07-01T18:15:53.128Z] 386e3cb2ff24: Verifying Checksum [2022-07-01T18:15:53.128Z] 386e3cb2ff24: Download complete [2022-07-01T18:15:53.128Z] 2343380bae48: Verifying Checksum [2022-07-01T18:15:53.128Z] 2343380bae48: Download complete [2022-07-01T18:15:53.128Z] 42c077c10790: Verifying Checksum [2022-07-01T18:15:53.128Z] 42c077c10790: Download complete [2022-07-01T18:15:53.388Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-01T18:15:53.388Z] c8a8fc8e1c8f: Download complete [2022-07-01T18:15:54.330Z] 42c077c10790: Pull complete [2022-07-01T18:15:54.591Z] f63e77b7563a: Pull complete [2022-07-01T18:15:55.161Z] bd5fdadae976: Pull complete [2022-07-01T18:15:55.161Z] 205491f53016: Pull complete [2022-07-01T18:15:55.425Z] df18705c85c3: Pull complete [2022-07-01T18:15:55.425Z] bdb3f477010e: Pull complete [2022-07-01T18:15:57.360Z] c8a8fc8e1c8f: Pull complete [2022-07-01T18:15:57.360Z] 2c6e9b1d212d: Pull complete [2022-07-01T18:15:57.622Z] bdb8f0575790: Pull complete [2022-07-01T18:15:57.622Z] 386e3cb2ff24: Pull complete [2022-07-01T18:15:57.885Z] 2343380bae48: Pull complete [2022-07-01T18:15:57.885Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-01T18:15:57.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T18:15:57.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:15:58.107Z] prd-ubuntu20.04-docker-8c-8g-16628 does not seem to be running inside a container [2022-07-01T18:15:58.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-99 -v /w/workspace/oundry_device-onvif-camera_PR-99:/w/workspace/oundry_device-onvif-camera_PR-99:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-99@tmp:/w/workspace/oundry_device-onvif-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-01T18:15:59.608Z] $ docker top 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 -eo pid,comm [2022-07-01T18:15:59.677Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-01T18:15:59.677Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-01T18:15:59.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T18:15:59.799Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T18:15:59.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T18:15:59.952Z] $ docker exec 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 ssh-agent [2022-07-01T18:16:00.075Z] SSH_AUTH_SOCK=/tmp/ssh-oLz9Hs49a4IU/agent.35 [2022-07-01T18:16:00.075Z] SSH_AGENT_PID=41 [2022-07-01T18:16:00.082Z] Running ssh-add (command line suppressed) [2022-07-01T18:16:00.209Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-99@tmp/private_key_3991163539950853323.key (/w/workspace/oundry_device-onvif-camera_PR-99@tmp/private_key_3991163539950853323.key) [2022-07-01T18:16:00.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T18:16:00.552Z] + git tag --points-at HEAD [Pipeline] } [2022-07-01T18:16:00.586Z] $ docker exec --env ******** --env ******** 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 ssh-agent -k [2022-07-01T18:16:00.697Z] unset SSH_AUTH_SOCK; [2022-07-01T18:16:00.697Z] unset SSH_AGENT_PID; [2022-07-01T18:16:00.697Z] echo Agent pid 41 killed; [2022-07-01T18:16:00.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-01T18:16:00.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T18:16:00.781Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T18:16:00.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T18:16:00.924Z] $ docker exec 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 ssh-agent [2022-07-01T18:16:01.049Z] SSH_AUTH_SOCK=/tmp/ssh-EnabYNZeeLB9/agent.74 [2022-07-01T18:16:01.049Z] SSH_AGENT_PID=80 [2022-07-01T18:16:01.055Z] Running ssh-add (command line suppressed) [2022-07-01T18:16:01.171Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-99@tmp/private_key_6059738074283696256.key (/w/workspace/oundry_device-onvif-camera_PR-99@tmp/private_key_6059738074283696256.key) [2022-07-01T18:16:01.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T18:16:01.515Z] + git semver init [2022-07-01T18:16:01.777Z] 2022-07-01 18:16:01,725 [run_init] DEBUG init version:0.0.0 force:False [2022-07-01T18:16:01.777Z] 2022-07-01 18:16:01,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-99/.semver [2022-07-01T18:16:01.777Z] 2022-07-01 18:16:01,726 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-99/.semver [2022-07-01T18:16:01.777Z] 2022-07-01 18:16:01,726 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-99/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-99, universal_newlines=False, shell=None, istream=None) [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,445 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-99/.git/info/exclude [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-99/.semver/PR-99 with force:False [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,446 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-99/.semver/PR-99 [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,449 [execute] INFO git cat-file --batch-check [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T18:16:02.720Z] 2022-07-01 18:16:02,456 [execute] INFO git cat-file --batch [2022-07-01T18:16:02.721Z] 2022-07-01 18:16:02,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T18:16:02.721Z] 2022-07-01 18:16:02,463 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-99/.semver/PR-99 [2022-07-01T18:16:02.721Z] 0.0.0 [Pipeline] } [2022-07-01T18:16:02.752Z] $ docker exec --env ******** --env ******** 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 ssh-agent -k [2022-07-01T18:16:02.875Z] unset SSH_AUTH_SOCK; [2022-07-01T18:16:02.875Z] unset SSH_AGENT_PID; [2022-07-01T18:16:02.876Z] echo Agent pid 80 killed; [2022-07-01T18:16:02.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-01T18:16:03.292Z] + git semver [Pipeline] } [2022-07-01T18:16:03.581Z] $ docker stop --time=1 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 [2022-07-01T18:16:04.916Z] $ docker rm -f 23c2d2ca6a0ee2ff3e167da91f71130087f83db13a48aff1dd031c3f5c0dc952 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T18:16:05.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-01T18:16:05.627Z] Stashed 1 file(s) [Pipeline] echo [2022-07-01T18:16:05.643Z] [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] { [2022-07-01T18:16:06.192Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16612 in /w/workspace/oundry_device-onvif-camera_PR-99 [Pipeline] configFileProvider [2022-07-01T18:16:06.222Z] provisioning config files... [2022-07-01T18:16:06.236Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-99@tmp/config2699704691369664618tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-07-01T18:16:06.373Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-01T18:16:06.440Z] Selected Git installation does not exist. Using Default [2022-07-01T18:16:06.440Z] The recommended git tool is: NONE [2022-07-01T18:16:06.597Z] ---> docker-login.sh [2022-07-01T18:16:06.597Z] nexus3.edgexfoundry.org:10001 [2022-07-01T18:16:06.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:06.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:06.597Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:06.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:06.597Z] [2022-07-01T18:16:06.597Z] Login Succeeded [2022-07-01T18:16:06.597Z] nexus3.edgexfoundry.org:10002 [2022-07-01T18:16:06.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:06.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:06.858Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:06.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:06.858Z] [2022-07-01T18:16:06.858Z] Login Succeeded [2022-07-01T18:16:06.858Z] nexus3.edgexfoundry.org:10003 [2022-07-01T18:16:06.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:06.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:06.858Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:06.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:06.858Z] [2022-07-01T18:16:06.858Z] Login Succeeded [2022-07-01T18:16:06.858Z] nexus3.edgexfoundry.org:10004 [2022-07-01T18:16:07.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:07.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:07.128Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:07.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:07.128Z] [2022-07-01T18:16:07.128Z] Login Succeeded [2022-07-01T18:16:07.128Z] docker.io [2022-07-01T18:16:07.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:07.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:07.389Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:07.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:07.389Z] [2022-07-01T18:16:07.389Z] Login Succeeded [2022-07-01T18:16:07.389Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T18:16:07.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-01T18:16:07.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T18:16:07.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T18:16:07.676Z] ========================================================= [2022-07-01T18:16:07.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-01T18:16:07.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:16:08.148Z] + 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-07-01T18:16:08.148Z] Sending build context to Docker daemon 9.344MB [2022-07-01T18:16:08.148Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T18:16:08.148Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-01T18:16:08.148Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-01T18:16:08.148Z] 59bf1c3509f3: Pulling fs layer [2022-07-01T18:16:08.148Z] 666ba61612fd: Pulling fs layer [2022-07-01T18:16:08.148Z] 8ed8ca486205: Pulling fs layer [2022-07-01T18:16:08.148Z] cc1cd167ecdc: Pulling fs layer [2022-07-01T18:16:08.148Z] c516ae0d96e1: Pulling fs layer [2022-07-01T18:16:08.148Z] 684cea983483: Pulling fs layer [2022-07-01T18:16:08.148Z] dd3240ac7de5: Pulling fs layer [2022-07-01T18:16:08.148Z] b1e948a4e11c: Pulling fs layer [2022-07-01T18:16:08.148Z] a8fd76ee1af6: Pulling fs layer [2022-07-01T18:16:08.148Z] 646ad004c059: Pulling fs layer [2022-07-01T18:16:08.148Z] c516ae0d96e1: Waiting [2022-07-01T18:16:08.148Z] cc1cd167ecdc: Waiting [2022-07-01T18:16:08.148Z] dd3240ac7de5: Waiting [2022-07-01T18:16:08.148Z] b1e948a4e11c: Waiting [2022-07-01T18:16:08.148Z] a8fd76ee1af6: Waiting [2022-07-01T18:16:08.148Z] 646ad004c059: Waiting [2022-07-01T18:16:08.411Z] 8ed8ca486205: Verifying Checksum [2022-07-01T18:16:08.411Z] 8ed8ca486205: Download complete [2022-07-01T18:16:08.411Z] 666ba61612fd: Download complete [2022-07-01T18:16:08.411Z] c516ae0d96e1: Verifying Checksum [2022-07-01T18:16:08.411Z] c516ae0d96e1: Download complete [2022-07-01T18:16:08.411Z] 684cea983483: Verifying Checksum [2022-07-01T18:16:08.411Z] 684cea983483: Download complete [2022-07-01T18:16:08.411Z] 59bf1c3509f3: Verifying Checksum [2022-07-01T18:16:08.411Z] 59bf1c3509f3: Download complete [2022-07-01T18:16:08.411Z] dd3240ac7de5: Verifying Checksum [2022-07-01T18:16:08.411Z] dd3240ac7de5: Download complete [2022-07-01T18:16:08.411Z] b1e948a4e11c: Verifying Checksum [2022-07-01T18:16:08.411Z] b1e948a4e11c: Download complete [2022-07-01T18:16:08.411Z] 59bf1c3509f3: Pull complete [2022-07-01T18:16:08.680Z] 666ba61612fd: Pull complete [2022-07-01T18:16:08.680Z] 8ed8ca486205: Pull complete [2022-07-01T18:16:09.266Z] 646ad004c059: Verifying Checksum [2022-07-01T18:16:09.266Z] 646ad004c059: Download complete [2022-07-01T18:16:09.266Z] cc1cd167ecdc: Download complete [2022-07-01T18:16:09.266Z] a8fd76ee1af6: Verifying Checksum [2022-07-01T18:16:09.266Z] a8fd76ee1af6: Download complete [2022-07-01T18:16:11.137Z] using credential edgex-jenkins-ssh [2022-07-01T18:16:11.154Z] Cloning the remote Git repository [2022-07-01T18:16:11.203Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-01T18:16:11.261Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-01T18:16:11.348Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-01T18:16:11.349Z] > git --version # timeout=10 [2022-07-01T18:16:11.372Z] > git --version # 'git version 2.25.1' [2022-07-01T18:16:11.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T18:16:11.423Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T18:16:12.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-01T18:16:12.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T18:16:12.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-01T18:16:12.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-01T18:16:12.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T18:16:12.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-01T18:16:12.796Z] Merging remotes/origin/main commit cba106416024542bb09af345da5a1638a965ef9b into PR head commit d74fe86db0648a4b0080907ea92d11b63b25c4f3 [2022-07-01T18:16:13.050Z] Merge succeeded, producing d74fe86db0648a4b0080907ea92d11b63b25c4f3 [2022-07-01T18:16:13.050Z] Checking out Revision d74fe86db0648a4b0080907ea92d11b63b25c4f3 (PR-99) [2022-07-01T18:16:13.462Z] cc1cd167ecdc: Pull complete [2022-07-01T18:16:13.462Z] c516ae0d96e1: Pull complete [2022-07-01T18:16:13.462Z] 684cea983483: Pull complete [2022-07-01T18:16:13.462Z] dd3240ac7de5: Pull complete [2022-07-01T18:16:13.462Z] b1e948a4e11c: Pull complete [2022-07-01T18:16:12.813Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T18:16:12.831Z] > git checkout -f d74fe86db0648a4b0080907ea92d11b63b25c4f3 # timeout=10 [2022-07-01T18:16:12.961Z] > git remote # timeout=10 [2022-07-01T18:16:12.978Z] > git config --get remote.origin.url # timeout=10 [2022-07-01T18:16:12.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T18:16:13.003Z] > git merge cba106416024542bb09af345da5a1638a965ef9b # timeout=10 [2022-07-01T18:16:13.029Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-01T18:16:13.056Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T18:16:13.069Z] > git checkout -f d74fe86db0648a4b0080907ea92d11b63b25c4f3 # timeout=10 [2022-07-01T18:16:15.368Z] a8fd76ee1af6: Pull complete [2022-07-01T18:16:16.308Z] 646ad004c059: Pull complete [2022-07-01T18:16:16.308Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-01T18:16:16.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-01T18:16:16.308Z] ---> 8f69c11f6b0c [2022-07-01T18:16:16.308Z] Step 3/13 : ARG MAKE="make build" [2022-07-01T18:16:17.627Z] Commit message: "fix: set-credentials ALL option" [2022-07-01T18:16:17.694Z] ---> Running in e636286ed49c [2022-07-01T18:16:17.725Z] > git --version # timeout=10 [2022-07-01T18:16:17.736Z] > git --version # 'git version 2.25.1' [2022-07-01T18:16:17.748Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-01T18:16:17.954Z] Removing intermediate container e636286ed49c [2022-07-01T18:16:17.954Z] ---> d7f0baaff411 [2022-07-01T18:16:17.954Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T18:16:17.954Z] ---> Running in 44f122d695fb [2022-07-01T18:16:17.954Z] Removing intermediate container 44f122d695fb [2022-07-01T18:16:17.954Z] ---> 130aebff3080 [2022-07-01T18:16:17.954Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T18:16:17.954Z] ---> Running in 7076234411ba [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-07-01T18:16:18.214Z] Removing intermediate container 7076234411ba [2022-07-01T18:16:18.214Z] ---> 2a03b95323b9 [2022-07-01T18:16:18.214Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-01T18:16:18.214Z] ---> Running in 57c9b2779cc4 [2022-07-01T18:16:18.214Z] Removing intermediate container 57c9b2779cc4 [2022-07-01T18:16:18.214Z] ---> 17f7633ded7d [2022-07-01T18:16:18.214Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T18:16:18.214Z] ---> Running in a161d1a19c23 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T18:16:18.779Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-01T18:16:18.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T18:16:18.779Z] Dload Upload Total Spent Left Speed [2022-07-01T18:16:18.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 74260 0 --:--:-- --:--:-- --:--:-- 74260 [2022-07-01T18:16:18.782Z] Removing intermediate container a161d1a19c23 [2022-07-01T18:16:18.782Z] ---> e55a4b9eb1c7 [2022-07-01T18:16:18.782Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T18:16:18.782Z] ---> Running in 2cc9287ae587 [2022-07-01T18:16:19.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-07-01T18:16:19.488Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-01T18:16:19.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-01T18:16:19.852Z] + sudo tee /etc/docker/daemon.new [2022-07-01T18:16:19.852Z] { [2022-07-01T18:16:19.852Z] "registry-mirrors": [ [2022-07-01T18:16:19.852Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-01T18:16:19.852Z] ], [2022-07-01T18:16:19.852Z] "bip": "10.250.0.254/24", [2022-07-01T18:16:19.852Z] "hosts": [ [2022-07-01T18:16:19.852Z] "tcp://0.0.0.0:5555", [2022-07-01T18:16:19.852Z] "unix:///var/run/docker.sock" [2022-07-01T18:16:19.852Z] ], [2022-07-01T18:16:19.852Z] "mtu": 1458, [2022-07-01T18:16:19.852Z] "selinux-enabled": true, [2022-07-01T18:16:19.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-01T18:16:19.852Z] } [Pipeline] sh [2022-07-01T18:16:19.986Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T18:16:20.211Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-01T18:16:20.555Z] OK: 221 MiB in 52 packages [2022-07-01T18:16:20.612Z] + sudo service docker restart [2022-07-01T18:16:20.814Z] Removing intermediate container 2cc9287ae587 [2022-07-01T18:16:20.815Z] ---> 65153356fa3a [2022-07-01T18:16:20.815Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-01T18:16:20.815Z] ---> Running in a908ba5a4ca2 [2022-07-01T18:16:20.815Z] Removing intermediate container a908ba5a4ca2 [2022-07-01T18:16:20.815Z] ---> e8cb85b47dce [2022-07-01T18:16:20.815Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-01T18:16:21.075Z] ---> 5737fe0fc46e [2022-07-01T18:16:21.075Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T18:16:21.075Z] ---> Running in a9d9525b44a9 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T18:16:38.994Z] provisioning config files... [2022-07-01T18:16:39.016Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4030080066558280754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:16:39.418Z] ---> docker-login.sh [2022-07-01T18:16:39.418Z] nexus3.edgexfoundry.org:10001 [2022-07-01T18:16:39.449Z] Removing intermediate container a9d9525b44a9 [2022-07-01T18:16:39.449Z] ---> 6e1a3885dd27 [2022-07-01T18:16:39.449Z] Step 12/13 : COPY . . [2022-07-01T18:16:39.449Z] ---> af6e3c89104d [2022-07-01T18:16:39.449Z] Step 13/13 : RUN ${MAKE} [2022-07-01T18:16:39.449Z] ---> Running in 4b6920399220 [2022-07-01T18:16:39.449Z] noop [2022-07-01T18:16:39.449Z] Removing intermediate container 4b6920399220 [2022-07-01T18:16:39.449Z] ---> b6b1bff3a241 [2022-07-01T18:16:39.449Z] Successfully built b6b1bff3a241 [2022-07-01T18:16:39.449Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:16:39.896Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T18:16:39.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:16:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:40.048Z] prd-ubuntu20.04-docker-8c-8g-16628 does not seem to be running inside a container [2022-07-01T18:16:40.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-99 -v /w/workspace/oundry_device-onvif-camera_PR-99:/w/workspace/oundry_device-onvif-camera_PR-99:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-99@tmp:/w/workspace/oundry_device-onvif-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-01T18:16:40.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:40.299Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:40.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:40.299Z] [2022-07-01T18:16:40.299Z] Login Succeeded [2022-07-01T18:16:40.299Z] nexus3.edgexfoundry.org:10002 [2022-07-01T18:16:40.492Z] $ docker top 87e64012250acfd4d624bbb511284e901bbf215d27e5fe4536944eecdd604811 -eo pid,comm [Pipeline] { [2022-07-01T18:16:40.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:40.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:40.572Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:40.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:40.572Z] [2022-07-01T18:16:40.572Z] Login Succeeded [2022-07-01T18:16:40.572Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2022-07-01T18:16:40.954Z] + go version [2022-07-01T18:16:40.954Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-01T18:16:40.990Z] $ docker stop --time=1 87e64012250acfd4d624bbb511284e901bbf215d27e5fe4536944eecdd604811 [2022-07-01T18:16:41.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:41.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:41.169Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:41.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:41.169Z] [2022-07-01T18:16:41.169Z] Login Succeeded [2022-07-01T18:16:41.169Z] nexus3.edgexfoundry.org:10004 [2022-07-01T18:16:41.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:41.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:41.715Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:41.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:41.715Z] [2022-07-01T18:16:41.715Z] Login Succeeded [2022-07-01T18:16:41.715Z] docker.io [2022-07-01T18:16:41.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T18:16:42.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T18:16:42.262Z] Configure a credential helper to remove this warning. See [2022-07-01T18:16:42.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T18:16:42.262Z] [2022-07-01T18:16:42.262Z] Login Succeeded [2022-07-01T18:16:42.262Z] ---> docker-login.sh ends [2022-07-01T18:16:42.282Z] $ docker rm -f 87e64012250acfd4d624bbb511284e901bbf215d27e5fe4536944eecdd604811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-07-01T18:16:42.460Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2022-07-01T18:16:42.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T18:16:42.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T18:16:43.002Z] ========================================================= [2022-07-01T18:16:43.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-01T18:16:43.002Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-07-01T18:16:43.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T18:16:43.152Z] . [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:16:43.413Z] prd-ubuntu20.04-docker-8c-8g-16628 does not seem to be running inside a container [2022-07-01T18:16:43.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-99 -v /w/workspace/oundry_device-onvif-camera_PR-99:/w/workspace/oundry_device-onvif-camera_PR-99:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-99@tmp:/w/workspace/oundry_device-onvif-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-01T18:16:43.525Z] + 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-07-01T18:16:43.803Z] Sending build context to Docker daemon 6.431MB [2022-07-01T18:16:43.842Z] $ docker top 602160a3b9da1f9a65f5891d358be80913a4f68ca7d7b421838536125558e440 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T18:16:44.075Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T18:16:44.075Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-01T18:16:44.075Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-01T18:16:44.075Z] 9b3977197b4f: Pulling fs layer [2022-07-01T18:16:44.075Z] 1a89e8eeedd5: Pulling fs layer [2022-07-01T18:16:44.075Z] 94645a83ff95: Pulling fs layer [2022-07-01T18:16:44.075Z] e6fb740bc735: Pulling fs layer [2022-07-01T18:16:44.075Z] 3a77bd46dcc9: Pulling fs layer [2022-07-01T18:16:44.076Z] 355e64cbe906: Pulling fs layer [2022-07-01T18:16:44.076Z] 63ab81a10011: Pulling fs layer [2022-07-01T18:16:44.076Z] 555d1d1c4555: Pulling fs layer [2022-07-01T18:16:44.076Z] 7d9057610161: Pulling fs layer [2022-07-01T18:16:44.076Z] 3a77bd46dcc9: Waiting [2022-07-01T18:16:44.076Z] 355e64cbe906: Waiting [2022-07-01T18:16:44.076Z] 63ab81a10011: Waiting [2022-07-01T18:16:44.076Z] 555d1d1c4555: Waiting [2022-07-01T18:16:44.076Z] 7d9057610161: Waiting [2022-07-01T18:16:44.076Z] e6fb740bc735: Waiting [2022-07-01T18:16:44.076Z] 94645a83ff95: Verifying Checksum [2022-07-01T18:16:44.076Z] 94645a83ff95: Download complete [2022-07-01T18:16:44.076Z] 1a89e8eeedd5: Download complete [2022-07-01T18:16:44.076Z] 3a77bd46dcc9: Verifying Checksum [2022-07-01T18:16:44.076Z] 3a77bd46dcc9: Download complete [2022-07-01T18:16:44.076Z] 355e64cbe906: Verifying Checksum [2022-07-01T18:16:44.076Z] 355e64cbe906: Download complete [2022-07-01T18:16:44.076Z] 9b3977197b4f: Verifying Checksum [2022-07-01T18:16:44.076Z] 9b3977197b4f: Download complete [2022-07-01T18:16:44.076Z] 63ab81a10011: Download complete [2022-07-01T18:16:44.334Z] + make test [2022-07-01T18:16:44.334Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-01T18:16:44.593Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-01T18:16:45.088Z] 9b3977197b4f: Pull complete [2022-07-01T18:16:45.088Z] 7d9057610161: Verifying Checksum [2022-07-01T18:16:45.088Z] 7d9057610161: Download complete [2022-07-01T18:16:45.694Z] 1a89e8eeedd5: Pull complete [2022-07-01T18:16:45.970Z] 94645a83ff95: Pull complete [2022-07-01T18:16:46.252Z] 555d1d1c4555: Verifying Checksum [2022-07-01T18:16:46.252Z] 555d1d1c4555: Download complete [2022-07-01T18:16:46.853Z] e6fb740bc735: Verifying Checksum [2022-07-01T18:16:46.853Z] e6fb740bc735: Download complete [2022-07-01T18:16:54.577Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-01T18:16:54.577Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-01T18:16:54.577Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-01T18:16:57.873Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.799s coverage: 13.8% of statements [2022-07-01T18:16:59.259Z] e6fb740bc735: Pull complete [2022-07-01T18:16:59.259Z] 3a77bd46dcc9: Pull complete [2022-07-01T18:16:59.259Z] 355e64cbe906: Pull complete [2022-07-01T18:16:59.532Z] 63ab81a10011: Pull complete [2022-07-01T18:17:06.000Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-01T18:17:06.253Z] 555d1d1c4555: Pull complete [2022-07-01T18:17:08.234Z] 7d9057610161: Pull complete [2022-07-01T18:17:08.234Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-01T18:17:08.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-01T18:17:08.234Z] ---> 819e984ddca1 [2022-07-01T18:17:08.234Z] Step 3/13 : ARG MAKE="make build" [2022-07-01T18:17:08.835Z] ---> Running in a2347da42806 [2022-07-01T18:17:09.113Z] Removing intermediate container a2347da42806 [2022-07-01T18:17:09.113Z] ---> ad347bb8f230 [2022-07-01T18:17:09.113Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T18:17:09.113Z] ---> Running in aa24e4b2fc52 [2022-07-01T18:17:09.291Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T18:17:09.291Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T18:17:09.291Z] ./bin/test-attribution-txt.sh [2022-07-01T18:17:09.391Z] Removing intermediate container aa24e4b2fc52 [2022-07-01T18:17:09.391Z] ---> d0988cc5f313 [2022-07-01T18:17:09.391Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T18:17:09.670Z] ---> Running in e0f8f7a6ebae [Pipeline] echo [2022-07-01T18:17:09.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T18:17:09.927Z] $ docker stop --time=1 602160a3b9da1f9a65f5891d358be80913a4f68ca7d7b421838536125558e440 [2022-07-01T18:17:09.945Z] Removing intermediate container e0f8f7a6ebae [2022-07-01T18:17:09.946Z] ---> aed25dd17d6c [2022-07-01T18:17:09.946Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-01T18:17:09.946Z] ---> Running in 4dc4aa0b3aa3 [2022-07-01T18:17:10.225Z] Removing intermediate container 4dc4aa0b3aa3 [2022-07-01T18:17:10.225Z] ---> 9981b744c7eb [2022-07-01T18:17:10.225Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T18:17:10.225Z] ---> Running in d44e5fc046bf [2022-07-01T18:17:11.755Z] $ docker rm -f 602160a3b9da1f9a65f5891d358be80913a4f68ca7d7b421838536125558e440 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T18:17:12.211Z] Removing intermediate container d44e5fc046bf [2022-07-01T18:17:12.212Z] ---> 2a2de48eafd0 [2022-07-01T18:17:12.212Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T18:17:12.212Z] ---> Running in 396da10ccaf9 [2022-07-01T18:17:12.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T18:17:12.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-01T18:17:13.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T18:17:13.198Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T18:17:13.388Z] + ls -al . [2022-07-01T18:17:13.388Z] total 248 [2022-07-01T18:17:13.388Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 18:17 . [2022-07-01T18:17:13.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 18:15 .. [2022-07-01T18:17:13.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 18:16 .git [2022-07-01T18:17:13.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 18:15 .github [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 1 18:15 .gitignore [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 18:15 .golangci.yml [2022-07-01T18:17:13.388Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 18:16 .semver [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 1 18:15 Attribution.txt [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 1 18:15 CHANGELOG.md [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 1 18:15 Dockerfile [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 18:15 GOVERNANCE.md [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 1 18:15 Jenkinsfile [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 1 18:15 LICENSE [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 1 18:15 Makefile [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 1 18:15 OWNERS.md [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 1 18:15 README.md [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 18:16 VERSION [2022-07-01T18:17:13.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 18:15 bin [2022-07-01T18:17:13.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 18:15 cmd [2022-07-01T18:17:13.388Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 1 18:16 coverage.out [2022-07-01T18:17:13.388Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 18:15 doc [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 1 18:15 go.mod [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 1 18:15 go.sum [2022-07-01T18:17:13.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 18:15 internal [2022-07-01T18:17:13.388Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 1 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:17:13.788Z] + 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=d74fe86db0648a4b0080907ea92d11b63b25c4f3 --label arch=amd64 --label version=0.0.0 . [2022-07-01T18:17:13.788Z] Sending build context to Docker daemon 9.415MB [2022-07-01T18:17:13.788Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T18:17:13.788Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-01T18:17:13.788Z] ---> b6b1bff3a241 [2022-07-01T18:17:13.788Z] Step 3/26 : ARG MAKE="make build" [2022-07-01T18:17:13.788Z] ---> Running in e6fcae879be8 [2022-07-01T18:17:14.051Z] Removing intermediate container e6fcae879be8 [2022-07-01T18:17:14.051Z] ---> a6611df40f21 [2022-07-01T18:17:14.051Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T18:17:14.051Z] ---> Running in 874dd138a71b [2022-07-01T18:17:14.051Z] Removing intermediate container 874dd138a71b [2022-07-01T18:17:14.051Z] ---> 5b7f77e2b714 [2022-07-01T18:17:14.051Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T18:17:14.051Z] ---> Running in fd5ec8e7c99e [2022-07-01T18:17:14.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T18:17:14.311Z] Removing intermediate container fd5ec8e7c99e [2022-07-01T18:17:14.311Z] ---> 0cd4d44c688b [2022-07-01T18:17:14.311Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-01T18:17:14.311Z] ---> Running in 343b6f6372c8 [2022-07-01T18:17:14.311Z] Removing intermediate container 343b6f6372c8 [2022-07-01T18:17:14.311Z] ---> b924fd77b4a0 [2022-07-01T18:17:14.311Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T18:17:14.311Z] ---> Running in fc06925aa496 [2022-07-01T18:17:14.771Z] OK: 220 MiB in 52 packages [2022-07-01T18:17:14.880Z] Removing intermediate container fc06925aa496 [2022-07-01T18:17:14.880Z] ---> f2cabd29c181 [2022-07-01T18:17:14.880Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T18:17:15.142Z] ---> Running in 277b89616f73 [2022-07-01T18:17:15.380Z] Removing intermediate container 396da10ccaf9 [2022-07-01T18:17:15.380Z] ---> 7bc23d6e7cd7 [2022-07-01T18:17:15.380Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-01T18:17:15.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T18:17:15.655Z] ---> Running in 19885e09de43 [2022-07-01T18:17:15.930Z] Removing intermediate container 19885e09de43 [2022-07-01T18:17:15.930Z] ---> 29dd32b4f56e [2022-07-01T18:17:15.930Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-01T18:17:16.344Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T18:17:16.534Z] ---> 650a842e039e [2022-07-01T18:17:16.534Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T18:17:16.534Z] ---> Running in afe3d274f038 [2022-07-01T18:17:16.627Z] OK: 221 MiB in 52 packages [2022-07-01T18:17:16.887Z] Removing intermediate container 277b89616f73 [2022-07-01T18:17:16.887Z] ---> 30dcf5e1e808 [2022-07-01T18:17:16.887Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-01T18:17:16.887Z] ---> Running in 824164450f82 [2022-07-01T18:17:16.887Z] Removing intermediate container 824164450f82 [2022-07-01T18:17:16.887Z] ---> fdc0d6441110 [2022-07-01T18:17:16.887Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-01T18:17:17.147Z] ---> fe3d59d6e057 [2022-07-01T18:17:17.147Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T18:17:17.147Z] ---> Running in b3a727d56af2 [2022-07-01T18:17:17.717Z] Removing intermediate container b3a727d56af2 [2022-07-01T18:17:17.717Z] ---> 17ea2b85cae5 [2022-07-01T18:17:17.717Z] Step 12/26 : COPY . . [2022-07-01T18:17:18.287Z] ---> bbfe7f3fd16e [2022-07-01T18:17:18.287Z] Step 13/26 : RUN ${MAKE} [2022-07-01T18:17:18.287Z] ---> Running in db50512c9f43 [2022-07-01T18:17:18.547Z] 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-07-01T18:17:40.499Z] Removing intermediate container db50512c9f43 [2022-07-01T18:17:40.499Z] ---> f65af43a85f9 [2022-07-01T18:17:40.499Z] Step 14/26 : FROM alpine:3.15 [2022-07-01T18:17:40.499Z] 3.15: Pulling from library/alpine [2022-07-01T18:17:40.499Z] df9b9388f04a: Pulling fs layer [2022-07-01T18:17:40.499Z] df9b9388f04a: Verifying Checksum [2022-07-01T18:17:40.499Z] df9b9388f04a: Download complete [2022-07-01T18:17:40.499Z] df9b9388f04a: Pull complete [2022-07-01T18:17:40.499Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-01T18:17:40.499Z] Status: Downloaded newer image for alpine:3.15 [2022-07-01T18:17:40.499Z] ---> 0ac33e5f5afa [2022-07-01T18:17:40.499Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-01T18:17:40.499Z] ---> Running in 7e9b2111fbd8 [2022-07-01T18:17:40.499Z] Removing intermediate container 7e9b2111fbd8 [2022-07-01T18:17:40.499Z] ---> 188b175f69f9 [2022-07-01T18:17:40.499Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-01T18:17:40.499Z] ---> Running in 36b9e0615e76 [2022-07-01T18:17:40.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T18:17:40.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T18:17:40.499Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-01T18:17:40.499Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-01T18:17:40.499Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-01T18:17:40.499Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-01T18:17:40.499Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-01T18:17:40.499Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-01T18:17:40.499Z] Executing busybox-1.34.1-r5.trigger [2022-07-01T18:17:40.499Z] OK: 8 MiB in 20 packages [2022-07-01T18:17:40.499Z] Removing intermediate container 36b9e0615e76 [2022-07-01T18:17:40.499Z] ---> be8cdcc47d68 [2022-07-01T18:17:40.499Z] Step 17/26 : WORKDIR / [2022-07-01T18:17:40.499Z] ---> Running in c920f4ceef44 [2022-07-01T18:17:40.499Z] Removing intermediate container c920f4ceef44 [2022-07-01T18:17:40.499Z] ---> b09eeb72c29c [2022-07-01T18:17:40.499Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-01T18:17:40.499Z] ---> 9163f1c750b8 [2022-07-01T18:17:40.499Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-01T18:17:40.758Z] ---> 68249ccc72ed [2022-07-01T18:17:40.758Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-01T18:17:40.758Z] ---> 3cc10a920f16 [2022-07-01T18:17:40.758Z] Step 21/26 : EXPOSE 59984 [2022-07-01T18:17:41.019Z] ---> Running in f08dbfb4ac4f [2022-07-01T18:17:41.019Z] Removing intermediate container f08dbfb4ac4f [2022-07-01T18:17:41.019Z] ---> 940489f6b490 [2022-07-01T18:17:41.019Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-01T18:17:41.019Z] ---> Running in bea1d8f53854 [2022-07-01T18:17:41.019Z] Removing intermediate container bea1d8f53854 [2022-07-01T18:17:41.019Z] ---> b3828a28955d [2022-07-01T18:17:41.019Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-01T18:17:41.279Z] ---> Running in ca8ee18a276a [2022-07-01T18:17:41.279Z] Removing intermediate container ca8ee18a276a [2022-07-01T18:17:41.279Z] ---> 178029ee25ae [2022-07-01T18:17:41.279Z] Step 24/26 : LABEL arch=amd64 [2022-07-01T18:17:41.279Z] ---> Running in 3ad694dfab60 [2022-07-01T18:17:41.279Z] Removing intermediate container 3ad694dfab60 [2022-07-01T18:17:41.279Z] ---> c337ced09459 [2022-07-01T18:17:41.279Z] Step 25/26 : LABEL git_sha=d74fe86db0648a4b0080907ea92d11b63b25c4f3 [2022-07-01T18:17:41.539Z] ---> Running in c36410f600be [2022-07-01T18:17:41.539Z] Removing intermediate container c36410f600be [2022-07-01T18:17:41.539Z] ---> ba67420365cd [2022-07-01T18:17:41.539Z] Step 26/26 : LABEL version=0.0.0 [2022-07-01T18:17:41.539Z] ---> Running in be57256605b6 [2022-07-01T18:17:41.539Z] Removing intermediate container be57256605b6 [2022-07-01T18:17:41.539Z] ---> da9305a28ae1 [2022-07-01T18:17:41.539Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T18:17:41.539Z] Successfully built da9305a28ae1 [2022-07-01T18:17:41.539Z] 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-07-01T18:17:42.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T18:17:42.411Z] [2022-07-01T18:17:42.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:17:42.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T18:17:42.801Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-01T18:17:42.801Z] 5eb5b503b376: Pulling fs layer [2022-07-01T18:17:42.801Z] 5c69ac0246d0: Pulling fs layer [2022-07-01T18:17:42.801Z] ec43610c2a17: Pulling fs layer [2022-07-01T18:17:42.801Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-01T18:17:42.801Z] 33b1e0a273af: Pulling fs layer [2022-07-01T18:17:42.801Z] 5d3b04190fa2: Pulling fs layer [2022-07-01T18:17:42.801Z] 2f39f015ded8: Pulling fs layer [2022-07-01T18:17:42.801Z] 2f39f015ded8: Waiting [2022-07-01T18:17:42.801Z] 3a2ae6a8a46f: Waiting [2022-07-01T18:17:42.801Z] 33b1e0a273af: Waiting [2022-07-01T18:17:42.801Z] 5d3b04190fa2: Waiting [2022-07-01T18:17:42.801Z] 5c69ac0246d0: Verifying Checksum [2022-07-01T18:17:42.801Z] 5c69ac0246d0: Download complete [2022-07-01T18:17:42.801Z] 3a2ae6a8a46f: Download complete [2022-07-01T18:17:42.801Z] 33b1e0a273af: Verifying Checksum [2022-07-01T18:17:42.801Z] 33b1e0a273af: Download complete [2022-07-01T18:17:42.801Z] 5d3b04190fa2: Download complete [2022-07-01T18:17:42.801Z] ec43610c2a17: Verifying Checksum [2022-07-01T18:17:42.801Z] ec43610c2a17: Download complete [2022-07-01T18:17:43.064Z] 5eb5b503b376: Verifying Checksum [2022-07-01T18:17:43.064Z] 5eb5b503b376: Download complete [2022-07-01T18:17:43.642Z] 2f39f015ded8: Verifying Checksum [2022-07-01T18:17:43.642Z] 2f39f015ded8: Download complete [2022-07-01T18:17:44.209Z] 5eb5b503b376: Pull complete [2022-07-01T18:17:44.469Z] 5c69ac0246d0: Pull complete [2022-07-01T18:17:44.727Z] ec43610c2a17: Pull complete [2022-07-01T18:17:44.727Z] 3a2ae6a8a46f: Pull complete [2022-07-01T18:17:44.987Z] 33b1e0a273af: Pull complete [2022-07-01T18:17:44.987Z] 5d3b04190fa2: Pull complete [2022-07-01T18:17:49.176Z] 2f39f015ded8: Pull complete [2022-07-01T18:17:49.176Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-01T18:17:49.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T18:17:49.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:17:49.423Z] prd-ubuntu20.04-docker-8c-8g-16628 does not seem to be running inside a container [2022-07-01T18:17:49.460Z] $ 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-99 -v /w/workspace/oundry_device-onvif-camera_PR-99:/w/workspace/oundry_device-onvif-camera_PR-99:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-99@tmp:/w/workspace/oundry_device-onvif-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-01T18:17:51.083Z] $ docker top 3aa4b2da68e67aa4bdb42734b35d8ec177ab5fe8655595c50dce922284a4977b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:17:51.539Z] ---> job-cost.sh [2022-07-01T18:17:51.539Z] lf-activate-venv: SKIPPING [2022-07-01T18:17:51.539Z] INFO: No Stack... [2022-07-01T18:17:51.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T18:17:52.375Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T18:17:52.694Z] + cat /w/workspace/oundry_device-onvif-camera_PR-99/archives/cost.csv [2022-07-01T18:17:52.694Z] + cut -d, -f6 [Pipeline] lock [2022-07-01T18:17:52.731Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [2022-07-01T18:17:52.736Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] did not exist. Created. [2022-07-01T18:17:52.736Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T18:17:53.136Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-01T18:17:53.188Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T18:17:53.213Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T18:17:53.293Z] $ docker stop --time=1 3aa4b2da68e67aa4bdb42734b35d8ec177ab5fe8655595c50dce922284a4977b [2022-07-01T18:17:54.447Z] $ docker rm -f 3aa4b2da68e67aa4bdb42734b35d8ec177ab5fe8655595c50dce922284a4977b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-01T18:18:03.526Z] Removing intermediate container afe3d274f038 [2022-07-01T18:18:03.526Z] ---> f1560a75eca0 [2022-07-01T18:18:03.526Z] Step 12/13 : COPY . . [2022-07-01T18:18:03.526Z] ---> 45b85d411eeb [2022-07-01T18:18:03.526Z] Step 13/13 : RUN ${MAKE} [2022-07-01T18:18:03.526Z] ---> Running in e24bcacb5f86 [2022-07-01T18:18:03.526Z] noop [2022-07-01T18:18:04.118Z] Removing intermediate container e24bcacb5f86 [2022-07-01T18:18:04.118Z] ---> c47c7b886cf3 [2022-07-01T18:18:04.118Z] Successfully built c47c7b886cf3 [2022-07-01T18:18:04.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:18:04.616Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T18:18:04.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:18:04.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-16612 does not seem to be running inside a container [2022-07-01T18:18:04.995Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-01T18:18:06.245Z] $ docker top 01ca752679f04dac28622b07abbd9aa6ca9277a05d514c32c0206087be027b4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T18:18:07.217Z] + go version [2022-07-01T18:18:07.217Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-01T18:18:07.255Z] $ docker stop --time=1 01ca752679f04dac28622b07abbd9aa6ca9277a05d514c32c0206087be027b4b [2022-07-01T18:18:08.909Z] $ docker rm -f 01ca752679f04dac28622b07abbd9aa6ca9277a05d514c32c0206087be027b4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:18:09.866Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T18:18:09.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:18:10.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-16612 does not seem to be running inside a container [2022-07-01T18:18:10.293Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-01T18:18:11.578Z] $ docker top e49933e2ca782e7b1409ea6569a95f64175929bd25c10c32273706a402474413 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T18:18:12.604Z] + make test [2022-07-01T18:18:12.604Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-01T18:18:14.592Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-01T18:19:36.434Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-01T18:19:39.087Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.085s coverage: 7.0% of statements [2022-07-01T18:19:39.087Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-01T18:20:01.390Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.021s coverage: 13.8% of statements [2022-07-01T18:20:01.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-01T18:20:01.390Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-01T18:20:28.206Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T18:20:28.206Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T18:20:28.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-01T18:20:30.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T18:20:30.896Z] $ docker stop --time=1 e49933e2ca782e7b1409ea6569a95f64175929bd25c10c32273706a402474413 [2022-07-01T18:20:32.655Z] $ docker rm -f e49933e2ca782e7b1409ea6569a95f64175929bd25c10c32273706a402474413 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T18:20:33.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T18:20:33.726Z] Warning: overwriting stash ‘coverage-report’ [2022-07-01T18:20:34.219Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T18:20:34.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T18:20:35.194Z] + ls -al . [2022-07-01T18:20:35.194Z] total 244 [2022-07-01T18:20:35.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 18:20 . [2022-07-01T18:20:35.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 18:16 .. [2022-07-01T18:20:35.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 18:16 .git [2022-07-01T18:20:35.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 18:16 .github [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 1 18:16 .gitignore [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 18:16 .golangci.yml [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 1 18:16 Attribution.txt [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 1 18:16 CHANGELOG.md [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 1 18:16 Dockerfile [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 18:16 GOVERNANCE.md [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 1 18:16 Jenkinsfile [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 1 18:16 LICENSE [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 1 18:16 Makefile [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 1 18:16 OWNERS.md [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 1 18:16 README.md [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 18:16 VERSION [2022-07-01T18:20:35.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 18:16 bin [2022-07-01T18:20:35.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 18:16 cmd [2022-07-01T18:20:35.194Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 1 18:19 coverage.out [2022-07-01T18:20:35.194Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 18:16 doc [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 1 18:16 go.mod [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 1 18:16 go.sum [2022-07-01T18:20:35.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 18:16 internal [2022-07-01T18:20:35.194Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 1 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:20:35.622Z] + 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=d74fe86db0648a4b0080907ea92d11b63b25c4f3 --label arch=arm64 --label version=0.0.0 . [2022-07-01T18:20:35.897Z] Sending build context to Docker daemon 6.502MB [2022-07-01T18:20:35.897Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T18:20:35.897Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-01T18:20:35.897Z] ---> c47c7b886cf3 [2022-07-01T18:20:35.897Z] Step 3/26 : ARG MAKE="make build" [2022-07-01T18:20:36.169Z] ---> Running in 77bb9fcaa7d4 [2022-07-01T18:20:36.445Z] Removing intermediate container 77bb9fcaa7d4 [2022-07-01T18:20:36.445Z] ---> 1493fa6f118a [2022-07-01T18:20:36.445Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T18:20:36.445Z] ---> Running in f8496ec0d777 [2022-07-01T18:20:36.721Z] Removing intermediate container f8496ec0d777 [2022-07-01T18:20:36.721Z] ---> 311c3a3622c9 [2022-07-01T18:20:36.721Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T18:20:37.001Z] ---> Running in 17584d467a50 [2022-07-01T18:20:37.274Z] Removing intermediate container 17584d467a50 [2022-07-01T18:20:37.274Z] ---> 34d254d5b91a [2022-07-01T18:20:37.274Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-01T18:20:37.274Z] ---> Running in 48453e6e6888 [2022-07-01T18:20:37.556Z] Removing intermediate container 48453e6e6888 [2022-07-01T18:20:37.556Z] ---> 3d49e3c2bafa [2022-07-01T18:20:37.556Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T18:20:37.833Z] ---> Running in 97360cef1d4e [2022-07-01T18:20:39.273Z] Removing intermediate container 97360cef1d4e [2022-07-01T18:20:39.273Z] ---> caeeff4cdf6c [2022-07-01T18:20:39.273Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T18:20:39.273Z] ---> Running in 7225b33c789e [2022-07-01T18:20:40.270Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T18:20:41.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T18:20:42.231Z] OK: 220 MiB in 52 packages [2022-07-01T18:20:42.825Z] Removing intermediate container 7225b33c789e [2022-07-01T18:20:42.825Z] ---> 8147ed6393df [2022-07-01T18:20:42.825Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-01T18:20:42.825Z] ---> Running in 1f3ec7ed356e [2022-07-01T18:20:43.098Z] Removing intermediate container 1f3ec7ed356e [2022-07-01T18:20:43.098Z] ---> 4a9121b87bfd [2022-07-01T18:20:43.098Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-01T18:20:43.689Z] ---> c723d94309f3 [2022-07-01T18:20:43.689Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T18:20:43.689Z] ---> Running in babece6f6ac2 [2022-07-01T18:20:45.672Z] Removing intermediate container babece6f6ac2 [2022-07-01T18:20:45.672Z] ---> b4c73a6cf144 [2022-07-01T18:20:45.672Z] Step 12/26 : COPY . . [2022-07-01T18:20:46.664Z] ---> 1d7472f8ee15 [2022-07-01T18:20:46.664Z] Step 13/26 : RUN ${MAKE} [2022-07-01T18:20:46.664Z] ---> Running in a005b33ca983 [2022-07-01T18:20:47.652Z] 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-07-01T18:22:54.524Z] Removing intermediate container a005b33ca983 [2022-07-01T18:22:54.524Z] ---> 5deac894eb79 [2022-07-01T18:22:54.524Z] Step 14/26 : FROM alpine:3.15 [2022-07-01T18:22:54.524Z] 3.15: Pulling from library/alpine [2022-07-01T18:22:54.524Z] 9981e73032c8: Pulling fs layer [2022-07-01T18:22:54.524Z] 9981e73032c8: Download complete [2022-07-01T18:22:54.524Z] 9981e73032c8: Pull complete [2022-07-01T18:22:54.524Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-01T18:22:54.524Z] Status: Downloaded newer image for alpine:3.15 [2022-07-01T18:22:54.524Z] ---> 3fb3c9af89a9 [2022-07-01T18:22:54.524Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-01T18:22:54.524Z] ---> Running in 467b4a35d854 [2022-07-01T18:22:54.524Z] Removing intermediate container 467b4a35d854 [2022-07-01T18:22:54.524Z] ---> f66008808636 [2022-07-01T18:22:54.524Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-01T18:22:54.524Z] ---> Running in e923b5c31fe1 [2022-07-01T18:22:54.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T18:22:54.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T18:22:54.524Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-01T18:22:54.524Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-01T18:22:54.524Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-01T18:22:54.524Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-01T18:22:54.524Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-01T18:22:54.524Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-01T18:22:54.524Z] Executing busybox-1.34.1-r5.trigger [2022-07-01T18:22:54.524Z] OK: 8 MiB in 20 packages [2022-07-01T18:22:54.524Z] Removing intermediate container e923b5c31fe1 [2022-07-01T18:22:54.524Z] ---> 3f79edd6b166 [2022-07-01T18:22:54.524Z] Step 17/26 : WORKDIR / [2022-07-01T18:22:54.524Z] ---> Running in e6c120d565a4 [2022-07-01T18:22:54.524Z] Removing intermediate container e6c120d565a4 [2022-07-01T18:22:54.524Z] ---> 8acc5040b0eb [2022-07-01T18:22:54.524Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-01T18:22:54.524Z] ---> 94cd69c916be [2022-07-01T18:22:54.524Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-01T18:22:54.524Z] ---> fee979e84bc1 [2022-07-01T18:22:54.524Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-01T18:22:55.121Z] ---> b22babe30efa [2022-07-01T18:22:55.121Z] Step 21/26 : EXPOSE 59984 [2022-07-01T18:22:55.121Z] ---> Running in da89e1729750 [2022-07-01T18:22:55.396Z] Removing intermediate container da89e1729750 [2022-07-01T18:22:55.396Z] ---> b98e89686af1 [2022-07-01T18:22:55.396Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-01T18:22:55.396Z] ---> Running in ccf3f4b17cd6 [2022-07-01T18:22:55.673Z] Removing intermediate container ccf3f4b17cd6 [2022-07-01T18:22:55.673Z] ---> afffcddc63ca [2022-07-01T18:22:55.673Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-01T18:22:55.960Z] ---> Running in 58d165ee77d4 [2022-07-01T18:22:56.234Z] Removing intermediate container 58d165ee77d4 [2022-07-01T18:22:56.234Z] ---> 02b3acd556f8 [2022-07-01T18:22:56.234Z] Step 24/26 : LABEL arch=arm64 [2022-07-01T18:22:56.234Z] ---> Running in 2f42f594ed9e [2022-07-01T18:22:56.508Z] Removing intermediate container 2f42f594ed9e [2022-07-01T18:22:56.508Z] ---> b15739769cb2 [2022-07-01T18:22:56.508Z] Step 25/26 : LABEL git_sha=d74fe86db0648a4b0080907ea92d11b63b25c4f3 [2022-07-01T18:22:56.508Z] ---> Running in ae8cbf1fec1e [2022-07-01T18:22:56.781Z] Removing intermediate container ae8cbf1fec1e [2022-07-01T18:22:56.781Z] ---> 27e3a2948fd0 [2022-07-01T18:22:56.781Z] Step 26/26 : LABEL version=0.0.0 [2022-07-01T18:22:57.059Z] ---> Running in 27533c0ec606 [2022-07-01T18:22:57.331Z] Removing intermediate container 27533c0ec606 [2022-07-01T18:22:57.331Z] ---> 8ee4447c3234 [2022-07-01T18:22:57.331Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T18:22:57.331Z] Successfully built 8ee4447c3234 [2022-07-01T18:22:57.331Z] 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-07-01T18:22:58.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T18:22:58.116Z] [2022-07-01T18:22:58.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:22:58.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T18:22:58.799Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-01T18:22:58.799Z] 8998bd30e6a1: Pulling fs layer [2022-07-01T18:22:58.799Z] 04944245beec: Pulling fs layer [2022-07-01T18:22:58.799Z] 699f458cf7ca: Pulling fs layer [2022-07-01T18:22:58.799Z] 765212b225bb: Pulling fs layer [2022-07-01T18:22:58.799Z] f23df028b6ca: Pulling fs layer [2022-07-01T18:22:58.799Z] d65c8cfc05b1: Pulling fs layer [2022-07-01T18:22:58.799Z] 2437ff75d9bd: Pulling fs layer [2022-07-01T18:22:58.799Z] 765212b225bb: Waiting [2022-07-01T18:22:58.799Z] f23df028b6ca: Waiting [2022-07-01T18:22:58.799Z] d65c8cfc05b1: Waiting [2022-07-01T18:22:58.799Z] 2437ff75d9bd: Waiting [2022-07-01T18:22:58.799Z] 04944245beec: Verifying Checksum [2022-07-01T18:22:58.799Z] 04944245beec: Download complete [2022-07-01T18:22:58.799Z] 765212b225bb: Download complete [2022-07-01T18:22:58.799Z] f23df028b6ca: Download complete [2022-07-01T18:22:58.799Z] d65c8cfc05b1: Verifying Checksum [2022-07-01T18:22:58.799Z] d65c8cfc05b1: Download complete [2022-07-01T18:22:59.073Z] 699f458cf7ca: Verifying Checksum [2022-07-01T18:22:59.073Z] 699f458cf7ca: Download complete [2022-07-01T18:22:59.347Z] 8998bd30e6a1: Verifying Checksum [2022-07-01T18:22:59.347Z] 8998bd30e6a1: Download complete [2022-07-01T18:23:01.969Z] 2437ff75d9bd: Verifying Checksum [2022-07-01T18:23:01.969Z] 2437ff75d9bd: Download complete [2022-07-01T18:23:03.940Z] 8998bd30e6a1: Pull complete [2022-07-01T18:23:04.214Z] 04944245beec: Pull complete [2022-07-01T18:23:05.654Z] 699f458cf7ca: Pull complete [2022-07-01T18:23:05.928Z] 765212b225bb: Pull complete [2022-07-01T18:23:06.526Z] f23df028b6ca: Pull complete [2022-07-01T18:23:06.799Z] d65c8cfc05b1: Pull complete [2022-07-01T18:23:21.916Z] 2437ff75d9bd: Pull complete [2022-07-01T18:23:22.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-01T18:23:22.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T18:23:22.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:23:22.566Z] prd-ubuntu20.04-docker-arm64-4c-16g-16612 does not seem to be running inside a container [2022-07-01T18:23:22.656Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-01T18:23:25.154Z] $ docker top 6133fabaa95e47e4eab7318c4df0177afdef9711e964fe4d07d352763db30430 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:26.122Z] ---> job-cost.sh [2022-07-01T18:23:26.122Z] lf-activate-venv: SKIPPING [2022-07-01T18:23:26.122Z] INFO: No Stack... [2022-07-01T18:23:26.393Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-01T18:23:27.366Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T18:23:28.039Z] + + cutcat -d, -f6 [2022-07-01T18:23:28.039Z] /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-07-01T18:23:28.101Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [2022-07-01T18:23:28.106Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] did not exist. Created. [2022-07-01T18:23:28.106Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T18:23:28.832Z] /w/workspace/device-onvif-camera/1@tmp/durable-90984764/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-01T18:23:29.526Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-01T18:23:29.560Z] Warning: overwriting stash ‘stack-cost’ [2022-07-01T18:23:29.607Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T18:23:29.620Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T18:23:29.703Z] $ docker stop --time=1 6133fabaa95e47e4eab7318c4df0177afdef9711e964fe4d07d352763db30430 [2022-07-01T18:23:31.199Z] $ docker rm -f 6133fabaa95e47e4eab7318c4df0177afdef9711e964fe4d07d352763db30430 [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-07-01T18:23:32.235Z] provisioning config files... [2022-07-01T18:23:32.246Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-99@tmp/config6961231139875260349tmp [Pipeline] { [Pipeline] sh [2022-07-01T18:23:32.633Z] + set +x [2022-07-01T18:23:32.633Z] + curl -s https://codecov.io/bash [2022-07-01T18:23:32.633Z] + bash -s -- [2022-07-01T18:23:32.633Z] [2022-07-01T18:23:32.633Z] _____ _ [2022-07-01T18:23:32.633Z] / ____| | | [2022-07-01T18:23:32.633Z] | | ___ __| | ___ ___ _____ __ [2022-07-01T18:23:32.633Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-01T18:23:32.633Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-01T18:23:32.633Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-01T18:23:32.633Z] Bash-1.0.6 [2022-07-01T18:23:32.633Z] [2022-07-01T18:23:32.633Z] [2022-07-01T18:23:32.633Z] ==> git version 2.25.1 found [2022-07-01T18:23:32.633Z] ==> 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-07-01T18:23:32.633Z] Release-Date: 2020-01-08 [2022-07-01T18:23:32.633Z] 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-07-01T18:23:32.633Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-01T18:23:32.633Z] ==> Jenkins CI detected. [2022-07-01T18:23:32.633Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-99 [2022-07-01T18:23:32.633Z] project root: . [2022-07-01T18:23:32.633Z] --> token set from env [2022-07-01T18:23:32.633Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-01T18:23:32.633Z] ==> Running gcov in . (disable via -X gcov) [2022-07-01T18:23:32.633Z] ==> Python coveragepy not found [2022-07-01T18:23:32.633Z] ==> Searching for coverage reports in: [2022-07-01T18:23:32.633Z] + . [2022-07-01T18:23:32.633Z] -> Found 1 reports [2022-07-01T18:23:32.633Z] ==> Detecting git/mercurial file structure [2022-07-01T18:23:32.633Z] ==> Reading reports [2022-07-01T18:23:32.633Z] + ./coverage.out bytes=70262 [2022-07-01T18:23:32.633Z] ==> Appending adjustments [2022-07-01T18:23:32.633Z] https://docs.codecov.io/docs/fixing-reports [2022-07-01T18:23:32.893Z] + Found adjustments [2022-07-01T18:23:32.893Z] ==> Gzipping contents [2022-07-01T18:23:32.893Z] 12K /tmp/codecov.pBpcjM.gz [2022-07-01T18:23:32.893Z] ==> Uploading reports [2022-07-01T18:23:32.893Z] url: https://codecov.io [2022-07-01T18:23:32.893Z] query: branch=PR-99&commit=d74fe86db0648a4b0080907ea92d11b63b25c4f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=99&job=&cmd_args= [2022-07-01T18:23:32.893Z] -> Pinging Codecov [2022-07-01T18:23:32.893Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-99&commit=d74fe86db0648a4b0080907ea92d11b63b25c4f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=99&job=&cmd_args= [2022-07-01T18:23:33.153Z] -> Uploading to [2022-07-01T18:23:33.153Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-01/F29A59C45E3A92E06B3E522C9905F8EF/d74fe86db0648a4b0080907ea92d11b63b25c4f3/9af431bb-baff-4882-bf54-baac64d6c41c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220701T182333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e567679c3fca2be5c8f74b5b6943507a548e105f93a7fb702c46d676c4b7345a [2022-07-01T18:23:33.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T18:23:33.153Z] Dload Upload Total Spent Left Speed [2022-07-01T18:23:33.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9336 0 0 100 9336 0 34450 --:--:-- --:--:-- --:--:-- 34450 [2022-07-01T18:23:33.413Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d74fe86db0648a4b0080907ea92d11b63b25c4f3 [Pipeline] } [2022-07-01T18:23:33.440Z] 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-07-01T18:23:35.063Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-99/archives ] [2022-07-01T18:23:35.063Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-99/archives [2022-07-01T18:23:35.063Z] total 16 [2022-07-01T18:23:35.063Z] drwxr-xr-x 3 root root 4096 Jul 1 18:17 . [2022-07-01T18:23:35.063Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 18:17 .. [2022-07-01T18:23:35.063Z] drwxr-xr-x 2 root root 4096 Jul 1 18:17 cost [2022-07-01T18:23:35.063Z] -rw-r--r-- 1 root root 89 Jul 1 18:17 cost.csv [2022-07-01T18:23:35.063Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-99/archives [2022-07-01T18:23:35.063Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-99/archives [2022-07-01T18:23:35.063Z] total 16 [2022-07-01T18:23:35.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 18:17 . [2022-07-01T18:23:35.063Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 18:17 .. [2022-07-01T18:23:35.063Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 18:17 cost [2022-07-01T18:23:35.063Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 1 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:35.396Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:36.289Z] ---> package-listing.sh [2022-07-01T18:23:36.290Z] ++ facter osfamily [2022-07-01T18:23:36.290Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-01T18:23:36.552Z] + OS_FAMILY=debian [2022-07-01T18:23:36.552Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-99 [2022-07-01T18:23:36.552Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-01T18:23:36.552Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-01T18:23:36.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-01T18:23:36.552Z] + PACKAGES=/tmp/packages_start.txt [2022-07-01T18:23:36.552Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-99 ']' [2022-07-01T18:23:36.552Z] + PACKAGES=/tmp/packages_end.txt [2022-07-01T18:23:36.552Z] + case "${OS_FAMILY}" in [2022-07-01T18:23:36.552Z] + dpkg -l [2022-07-01T18:23:36.552Z] + grep '^ii' [2022-07-01T18:23:36.552Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-01T18:23:36.552Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-01T18:23:36.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-01T18:23:36.552Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-99 ']' [2022-07-01T18:23:36.552Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-99/archives/ [2022-07-01T18:23:36.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-99/archives/ [Pipeline] echo [2022-07-01T18:23:36.586Z] 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-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-01T18:23:36.882Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T18:23:37.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T18:23:37.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T18:23:37.663Z] prd-ubuntu20.04-docker-8c-8g-16628 does not seem to be running inside a container [2022-07-01T18:23:37.705Z] $ 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-99/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-99 -v /w/workspace/oundry_device-onvif-camera_PR-99:/w/workspace/oundry_device-onvif-camera_PR-99:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-99@tmp:/w/workspace/oundry_device-onvif-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-01T18:23:37.930Z] $ docker top 31e531f38c646b2d4255bb1e7845768866f91456f4504b2a5595436712359169 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T18:23:38.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-01T18:23:38.653Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-01T18:23:38.969Z] + ls /var/log/sa-host [2022-07-01T18:23:38.969Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T18:23:39.110Z] provisioning config files... [2022-07-01T18:23:39.121Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-99@tmp/config1527335458735611553tmp [Pipeline] { [Pipeline] echo [2022-07-01T18:23:39.167Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:39.482Z] ---> create-netrc.sh [Pipeline] } [2022-07-01T18:23:39.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:39.904Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-01T18:23:39.937Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:40.253Z] ---> sudo-logs.sh [2022-07-01T18:23:40.253Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-01T18:23:40.332Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:40.648Z] ---> job-cost.sh [2022-07-01T18:23:40.648Z] lf-activate-venv: SKIPPING [2022-07-01T18:23:40.648Z] DEBUG: total: 0.2199999988079071 [2022-07-01T18:23:40.648Z] INFO: Retrieving Stack Cost... [2022-07-01T18:23:41.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T18:23:41.794Z] INFO: Archiving Costs [Pipeline] echo [2022-07-01T18:23:41.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T18:23:42.141Z] ---> logs-deploy.sh [2022-07-01T18:23:42.141Z] lf-activate-venv: SKIPPING [2022-07-01T18:23:42.141Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-99/1 [2022-07-01T18:23:42.141Z] INFO: archiving workspace using pattern(s): [2022-07-01T18:23:43.084Z] Archives upload complete. [2022-07-01T18:23:43.084Z] INFO: archiving logs to Nexus