Pull request #112 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 MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 58a46bebf81eee9640e76b602e43d09af82d89e1 rather than 70608a78efd62deeb21aeb18a1c82b91b1766251 Obtained Jenkinsfile from 58a46bebf81eee9640e76b602e43d09af82d89e1 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-ssh13332888170589478249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh778598413641657984.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh 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-112/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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14113148540999879838.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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3260583109307533392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh43234396821529413.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-112/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-112/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7720938388149711212.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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20378 in /w/workspace/undry_device-onvif-camera_PR-112 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-112 # 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/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 70608a78efd62deeb21aeb18a1c82b91b1766251 Merge succeeded, producing 70608a78efd62deeb21aeb18a1c82b91b1766251 Checking out Revision 70608a78efd62deeb21aeb18a1c82b91b1766251 (PR-112) > git config core.sparsecheckout # timeout=10 > git checkout -f 70608a78efd62deeb21aeb18a1c82b91b1766251 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70608a78efd62deeb21aeb18a1c82b91b1766251 # timeout=10 Commit message: "docs(snap): Update links" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T07:28:18.161Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T07:28:18.338Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T07:28:18.442Z] ========================================================= [2022-07-18T07:28:18.442Z] EdgeX Global Pipelines Version Info [2022-07-18T07:28:18.442Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:28:19.243Z] ------------------- [2022-07-18T07:28:19.243Z] stable info: [2022-07-18T07:28:19.243Z] ------------------- [2022-07-18T07:28:19.243Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T07:28:19.243Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T07:28:19.243Z] Message: update stable to v1.0.238 [2022-07-18T07:28:19.818Z] ------------------- [2022-07-18T07:28:19.818Z] experimental info: [2022-07-18T07:28:19.818Z] ------------------- [2022-07-18T07:28:19.818Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T07:28:19.818Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T07:28:19.818Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T07:28:20.170Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-18T07:28:20.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-18T07:28:20.242Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T07:28:20.282Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T07:28:20.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T07:28:20.356Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T07:28:20.392Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T07:28:20.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T07:28:20.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T07:28:20.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T07:28:20.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T07:28:20.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-18T07:28:20.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T07:28:20.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T07:28:20.697Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T07:28:20.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T07:28:20.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T07:28:20.814Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T07:28:20.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T07:28:20.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T07:28:20.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T07:28:20.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T07:28:21.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T07:28:21.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T07:28:21.095Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T07:28:21.132Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T07:28:21.172Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T07:28:21.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-112 [Pipeline] echo [2022-07-18T07:28:21.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-112 [Pipeline] echo [2022-07-18T07:28:21.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-112 [Pipeline] echo [2022-07-18T07:28:21.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70608a78efd62deeb21aeb18a1c82b91b1766251 [Pipeline] echo [2022-07-18T07:28:21.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70608a7 [Pipeline] echo [2022-07-18T07:28:21.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T07:28:21.510Z] provisioning config files... [2022-07-18T07:28:21.524Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-112@tmp/config1238048310035037862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:28:21.875Z] ---> docker-login.sh [2022-07-18T07:28:21.875Z] nexus3.edgexfoundry.org:10001 [2022-07-18T07:28:22.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:22.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:22.400Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:22.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:22.400Z] [2022-07-18T07:28:22.400Z] Login Succeeded [2022-07-18T07:28:22.400Z] nexus3.edgexfoundry.org:10002 [2022-07-18T07:28:22.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:22.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:22.400Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:22.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:22.400Z] [2022-07-18T07:28:22.400Z] Login Succeeded [2022-07-18T07:28:22.400Z] nexus3.edgexfoundry.org:10003 [2022-07-18T07:28:22.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:22.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:22.662Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:22.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:22.662Z] [2022-07-18T07:28:22.662Z] Login Succeeded [2022-07-18T07:28:22.662Z] nexus3.edgexfoundry.org:10004 [2022-07-18T07:28:22.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:22.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:22.663Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:22.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:22.663Z] [2022-07-18T07:28:22.663Z] Login Succeeded [2022-07-18T07:28:22.663Z] docker.io [2022-07-18T07:28:22.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:23.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:23.186Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:23.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:23.186Z] [2022-07-18T07:28:23.186Z] Login Succeeded [2022-07-18T07:28:23.186Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T07:28:23.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T07:28:23.880Z] + git rev-list -1 --merges 70608a78efd62deeb21aeb18a1c82b91b1766251~1..70608a78efd62deeb21aeb18a1c82b91b1766251 [Pipeline] echo [2022-07-18T07:28:23.935Z] -----------> git rev-list -1 --merges 70608a78efd62deeb21aeb18a1c82b91b1766251~1..70608a78efd62deeb21aeb18a1c82b91b1766251 70608a78efd62deeb21aeb18a1c82b91b1766251 [false] [Pipeline] sh [2022-07-18T07:28:24.258Z] + git log --format=format:%s -1 70608a78efd62deeb21aeb18a1c82b91b1766251 [Pipeline] echo [2022-07-18T07:28:24.294Z] ========================================================= [2022-07-18T07:28:24.295Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T07:28:24.295Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T07:28:24.732Z] + git log --format=format:%s -1 70608a78efd62deeb21aeb18a1c82b91b1766251 [Pipeline] echo [2022-07-18T07:28:24.764Z] [semverPrep] GIT_COMMIT: 70608a78efd62deeb21aeb18a1c82b91b1766251, Commit Message: docs(snap): Update links [Pipeline] echo [2022-07-18T07:28:24.793Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T07:28:25.205Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T07:28:25.205Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T07:28:25.205Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T07:28:25.205Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T07:28:25.205Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T07:28:25.205Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T07:28:25.205Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:28:25.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T07:28:25.722Z] [2022-07-18T07:28:25.722Z] 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-18T07:28:26.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T07:28:26.106Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T07:28:26.106Z] b85a868b505f: Pulling fs layer [2022-07-18T07:28:26.106Z] e2be974225ed: Pulling fs layer [2022-07-18T07:28:26.106Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T07:28:26.106Z] 988bab9f4d93: Pulling fs layer [2022-07-18T07:28:26.106Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T07:28:26.106Z] eaf3925da568: Pulling fs layer [2022-07-18T07:28:26.106Z] bab4dde63d76: Pulling fs layer [2022-07-18T07:28:26.106Z] bde34c3a00c8: Pulling fs layer [2022-07-18T07:28:26.106Z] b352a97aabf1: Pulling fs layer [2022-07-18T07:28:26.106Z] 4872d77fe225: Pulling fs layer [2022-07-18T07:28:26.106Z] 5851b861e8e6: Pulling fs layer [2022-07-18T07:28:26.106Z] 988bab9f4d93: Waiting [2022-07-18T07:28:26.106Z] eaf3925da568: Waiting [2022-07-18T07:28:26.106Z] 1469e6f7b9e6: Waiting [2022-07-18T07:28:26.106Z] bde34c3a00c8: Waiting [2022-07-18T07:28:26.106Z] 4872d77fe225: Waiting [2022-07-18T07:28:26.106Z] b352a97aabf1: Waiting [2022-07-18T07:28:26.106Z] 5851b861e8e6: Waiting [2022-07-18T07:28:26.106Z] e2be974225ed: Download complete [2022-07-18T07:28:26.106Z] 988bab9f4d93: Verifying Checksum [2022-07-18T07:28:26.106Z] 988bab9f4d93: Download complete [2022-07-18T07:28:26.375Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T07:28:26.375Z] 1469e6f7b9e6: Download complete [2022-07-18T07:28:26.375Z] eaf3925da568: Download complete [2022-07-18T07:28:26.375Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T07:28:26.375Z] 339a4e72a1f5: Download complete [2022-07-18T07:28:26.375Z] bde34c3a00c8: Verifying Checksum [2022-07-18T07:28:26.375Z] bde34c3a00c8: Download complete [2022-07-18T07:28:26.375Z] b352a97aabf1: Download complete [2022-07-18T07:28:26.375Z] 4872d77fe225: Verifying Checksum [2022-07-18T07:28:26.375Z] 4872d77fe225: Download complete [2022-07-18T07:28:26.375Z] 5851b861e8e6: Download complete [2022-07-18T07:28:26.375Z] b85a868b505f: Verifying Checksum [2022-07-18T07:28:26.375Z] b85a868b505f: Download complete [2022-07-18T07:28:26.641Z] bab4dde63d76: Verifying Checksum [2022-07-18T07:28:26.641Z] bab4dde63d76: Download complete [2022-07-18T07:28:28.025Z] b85a868b505f: Pull complete [2022-07-18T07:28:28.025Z] e2be974225ed: Pull complete [2022-07-18T07:28:28.287Z] 339a4e72a1f5: Pull complete [2022-07-18T07:28:28.549Z] 988bab9f4d93: Pull complete [2022-07-18T07:28:28.807Z] 1469e6f7b9e6: Pull complete [2022-07-18T07:28:28.807Z] eaf3925da568: Pull complete [2022-07-18T07:28:30.720Z] bab4dde63d76: Pull complete [2022-07-18T07:28:30.720Z] bde34c3a00c8: Pull complete [2022-07-18T07:28:30.720Z] b352a97aabf1: Pull complete [2022-07-18T07:28:30.982Z] 4872d77fe225: Pull complete [2022-07-18T07:28:30.982Z] 5851b861e8e6: Pull complete [2022-07-18T07:28:30.982Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T07:28:30.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T07:28:30.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:28:31.290Z] prd-ubuntu20.04-docker-8c-8g-20378 does not seem to be running inside a container [2022-07-18T07:28:31.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-112 -v /w/workspace/undry_device-onvif-camera_PR-112:/w/workspace/undry_device-onvif-camera_PR-112:rw,z -v /w/workspace/undry_device-onvif-camera_PR-112@tmp:/w/workspace/undry_device-onvif-camera_PR-112@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-18T07:28:32.630Z] $ docker top ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 -eo pid,comm [2022-07-18T07:28:32.695Z] 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-18T07:28:32.695Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T07:28:32.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T07:28:32.815Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T07:28:32.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T07:28:32.968Z] $ docker exec ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 ssh-agent [2022-07-18T07:28:33.115Z] SSH_AUTH_SOCK=/tmp/ssh-D5YCVfAkWcGq/agent.33 [2022-07-18T07:28:33.115Z] SSH_AGENT_PID=39 [2022-07-18T07:28:33.122Z] Running ssh-add (command line suppressed) [2022-07-18T07:28:33.251Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-112@tmp/private_key_7280549915033554105.key (/w/workspace/undry_device-onvif-camera_PR-112@tmp/private_key_7280549915033554105.key) [2022-07-18T07:28:33.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T07:28:33.598Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T07:28:33.631Z] $ docker exec --env ******** --env ******** ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 ssh-agent -k [2022-07-18T07:28:33.750Z] unset SSH_AUTH_SOCK; [2022-07-18T07:28:33.750Z] unset SSH_AGENT_PID; [2022-07-18T07:28:33.751Z] echo Agent pid 39 killed; [2022-07-18T07:28:33.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T07:28:33.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T07:28:33.838Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T07:28:33.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T07:28:33.977Z] $ docker exec ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 ssh-agent [2022-07-18T07:28:34.123Z] SSH_AUTH_SOCK=/tmp/ssh-YMtcCE6rrwjz/agent.71 [2022-07-18T07:28:34.123Z] SSH_AGENT_PID=77 [2022-07-18T07:28:34.129Z] Running ssh-add (command line suppressed) [2022-07-18T07:28:34.257Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-112@tmp/private_key_8165383406085785479.key (/w/workspace/undry_device-onvif-camera_PR-112@tmp/private_key_8165383406085785479.key) [2022-07-18T07:28:34.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T07:28:34.609Z] + git semver init [2022-07-18T07:28:34.870Z] 2022-07-18 07:28:34,821 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T07:28:34.870Z] 2022-07-18 07:28:34,822 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-112/.semver [2022-07-18T07:28:34.870Z] 2022-07-18 07:28:34,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-112/.semver [2022-07-18T07:28:34.870Z] 2022-07-18 07:28:34,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-112/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-112, universal_newlines=False, shell=None, istream=None) [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,533 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-112/.git/info/exclude [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-112/.semver/PR-112 with force:False [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,534 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-112/.semver/PR-112 [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,539 [execute] INFO git cat-file --batch-check [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-112/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,546 [execute] INFO git cat-file --batch [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-112/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T07:28:35.814Z] 2022-07-18 07:28:35,553 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-112/.semver/PR-112 [2022-07-18T07:28:35.814Z] 0.0.0 [Pipeline] } [2022-07-18T07:28:35.842Z] $ docker exec --env ******** --env ******** ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 ssh-agent -k [2022-07-18T07:28:35.970Z] unset SSH_AUTH_SOCK; [2022-07-18T07:28:35.970Z] unset SSH_AGENT_PID; [2022-07-18T07:28:35.971Z] echo Agent pid 77 killed; [2022-07-18T07:28:35.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T07:28:36.392Z] + git semver [Pipeline] } [2022-07-18T07:28:36.685Z] $ docker stop --time=1 ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 [2022-07-18T07:28:38.004Z] $ docker rm -f ac1016a5931e272e2799f1a5905b4e0e702afb7dec8b06bcfabdccd284e734d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T07:28:38.442Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T07:28:38.784Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T07:28:38.800Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T07:28:39.377Z] provisioning config files... [2022-07-18T07:28:39.390Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-112@tmp/config7040891258589348839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:28:39.732Z] ---> docker-login.sh [2022-07-18T07:28:39.732Z] nexus3.edgexfoundry.org:10001 [2022-07-18T07:28:39.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:39.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:39.732Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:39.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:39.732Z] [2022-07-18T07:28:39.732Z] Login Succeeded [2022-07-18T07:28:39.732Z] nexus3.edgexfoundry.org:10002 [2022-07-18T07:28:39.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:39.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:39.994Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:39.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:39.994Z] [2022-07-18T07:28:39.994Z] Login Succeeded [2022-07-18T07:28:39.994Z] nexus3.edgexfoundry.org:10003 [2022-07-18T07:28:39.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:39.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:39.994Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:39.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:39.994Z] [2022-07-18T07:28:39.994Z] Login Succeeded [2022-07-18T07:28:39.994Z] nexus3.edgexfoundry.org:10004 [2022-07-18T07:28:40.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:40.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:40.256Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:40.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:40.256Z] [2022-07-18T07:28:40.256Z] Login Succeeded [2022-07-18T07:28:40.256Z] docker.io [2022-07-18T07:28:40.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:28:40.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:28:40.518Z] Configure a credential helper to remove this warning. See [2022-07-18T07:28:40.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:28:40.518Z] [2022-07-18T07:28:40.518Z] Login Succeeded [2022-07-18T07:28:40.518Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T07:28:40.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T07:28:40.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T07:28:40.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T07:28:40.802Z] ========================================================= [2022-07-18T07:28:40.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T07:28:40.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:28:41.281Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T07:28:41.281Z] Sending build context to Docker daemon 9.34MB [2022-07-18T07:28:41.282Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T07:28:41.282Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T07:28:41.282Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T07:28:41.282Z] 2408cc74d12b: Pulling fs layer [2022-07-18T07:28:41.282Z] ea60b727a1ce: Pulling fs layer [2022-07-18T07:28:41.282Z] 30c4a7721957: Pulling fs layer [2022-07-18T07:28:41.282Z] 370296b7ddb6: Pulling fs layer [2022-07-18T07:28:41.282Z] 7c6cee850709: Pulling fs layer [2022-07-18T07:28:41.282Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T07:28:41.282Z] d94ebbe4e438: Pulling fs layer [2022-07-18T07:28:41.282Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T07:28:41.282Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T07:28:41.282Z] 370296b7ddb6: Waiting [2022-07-18T07:28:41.282Z] 7c6cee850709: Waiting [2022-07-18T07:28:41.282Z] 39a5fcdaea64: Waiting [2022-07-18T07:28:41.282Z] d94ebbe4e438: Waiting [2022-07-18T07:28:41.282Z] bcfd1f05c69d: Waiting [2022-07-18T07:28:41.282Z] 59ccb84bbe0f: Waiting [2022-07-18T07:28:41.282Z] 30c4a7721957: Verifying Checksum [2022-07-18T07:28:41.282Z] 30c4a7721957: Download complete [2022-07-18T07:28:41.547Z] ea60b727a1ce: Verifying Checksum [2022-07-18T07:28:41.547Z] ea60b727a1ce: Download complete [2022-07-18T07:28:41.547Z] 7c6cee850709: Verifying Checksum [2022-07-18T07:28:41.547Z] 7c6cee850709: Download complete [2022-07-18T07:28:41.547Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T07:28:41.547Z] 39a5fcdaea64: Download complete [2022-07-18T07:28:41.547Z] 2408cc74d12b: Verifying Checksum [2022-07-18T07:28:41.547Z] 2408cc74d12b: Download complete [2022-07-18T07:28:41.547Z] d94ebbe4e438: Verifying Checksum [2022-07-18T07:28:41.547Z] d94ebbe4e438: Download complete [2022-07-18T07:28:41.547Z] 2408cc74d12b: Pull complete [2022-07-18T07:28:41.825Z] ea60b727a1ce: Pull complete [2022-07-18T07:28:41.825Z] 30c4a7721957: Pull complete [2022-07-18T07:28:42.450Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T07:28:42.450Z] 59ccb84bbe0f: Download complete [2022-07-18T07:28:42.720Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T07:28:42.720Z] bcfd1f05c69d: Download complete [2022-07-18T07:28:42.981Z] 370296b7ddb6: Verifying Checksum [2022-07-18T07:28:42.981Z] 370296b7ddb6: Download complete [2022-07-18T07:28:47.187Z] 370296b7ddb6: Pull complete [2022-07-18T07:28:47.187Z] 7c6cee850709: Pull complete [2022-07-18T07:28:47.447Z] 39a5fcdaea64: Pull complete [2022-07-18T07:28:47.447Z] d94ebbe4e438: Pull complete [2022-07-18T07:28:49.358Z] bcfd1f05c69d: Pull complete [2022-07-18T07:28:50.300Z] 59ccb84bbe0f: Pull complete [2022-07-18T07:28:50.300Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T07:28:50.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T07:28:50.300Z] ---> a4fb48ad2a94 [2022-07-18T07:28:50.300Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T07:28:51.684Z] ---> Running in 9427b219b1cb [2022-07-18T07:28:51.684Z] Removing intermediate container 9427b219b1cb [2022-07-18T07:28:51.684Z] ---> 419f74a0a3b6 [2022-07-18T07:28:51.684Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T07:28:51.948Z] ---> Running in 873a2eef2cfa [2022-07-18T07:28:51.948Z] Removing intermediate container 873a2eef2cfa [2022-07-18T07:28:51.948Z] ---> 1a6132857f2b [2022-07-18T07:28:51.948Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T07:28:51.948Z] ---> Running in 07e1707ec328 [2022-07-18T07:28:51.948Z] Removing intermediate container 07e1707ec328 [2022-07-18T07:28:51.948Z] ---> de3f77fbf42c [2022-07-18T07:28:51.948Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T07:28:52.211Z] ---> Running in 5edaeb683365 [2022-07-18T07:28:52.211Z] Removing intermediate container 5edaeb683365 [2022-07-18T07:28:52.211Z] ---> ea8d1c3019df [2022-07-18T07:28:52.211Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T07:28:52.211Z] ---> Running in ba3e426243fc [2022-07-18T07:28:52.780Z] Removing intermediate container ba3e426243fc [2022-07-18T07:28:52.780Z] ---> 81076819e8de [2022-07-18T07:28:52.780Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T07:28:52.780Z] ---> Running in ab2f593bd610 [2022-07-18T07:28:53.041Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T07:28:53.981Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T07:28:54.207Z] Still waiting to schedule task [2022-07-18T07:28:54.208Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T07:28:54.241Z] OK: 211 MiB in 51 packages [2022-07-18T07:28:54.814Z] Removing intermediate container ab2f593bd610 [2022-07-18T07:28:54.814Z] ---> 2acb7d620f96 [2022-07-18T07:28:54.814Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T07:28:54.814Z] ---> Running in a4b2a4c6e05c [2022-07-18T07:28:54.814Z] Removing intermediate container a4b2a4c6e05c [2022-07-18T07:28:54.814Z] ---> 59629b96036e [2022-07-18T07:28:54.814Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T07:28:55.075Z] ---> 87b5a269a60b [2022-07-18T07:28:55.075Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T07:28:55.075Z] ---> Running in e21b9882880e [2022-07-18T07:29:13.415Z] Removing intermediate container e21b9882880e [2022-07-18T07:29:13.415Z] ---> 6612db22aa02 [2022-07-18T07:29:13.415Z] Step 12/13 : COPY . . [2022-07-18T07:29:13.415Z] ---> 9b694662573d [2022-07-18T07:29:13.415Z] Step 13/13 : RUN ${MAKE} [2022-07-18T07:29:13.415Z] ---> Running in 519bf986d2aa [2022-07-18T07:29:13.415Z] noop [2022-07-18T07:29:13.415Z] Removing intermediate container 519bf986d2aa [2022-07-18T07:29:13.415Z] ---> 3bc3c68a4266 [2022-07-18T07:29:13.415Z] Successfully built 3bc3c68a4266 [2022-07-18T07:29:13.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:29:13.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T07:29:13.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:29:14.013Z] prd-ubuntu20.04-docker-8c-8g-20378 does not seem to be running inside a container [2022-07-18T07:29:14.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-112 -v /w/workspace/undry_device-onvif-camera_PR-112:/w/workspace/undry_device-onvif-camera_PR-112:rw,z -v /w/workspace/undry_device-onvif-camera_PR-112@tmp:/w/workspace/undry_device-onvif-camera_PR-112@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-18T07:29:14.424Z] $ docker top 198c182c5bc168899cb84d8c5c913660ff8f89b8da84410ca06edd2164bdd997 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T07:29:14.887Z] + go version [2022-07-18T07:29:14.887Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T07:29:14.927Z] $ docker stop --time=1 198c182c5bc168899cb84d8c5c913660ff8f89b8da84410ca06edd2164bdd997 [2022-07-18T07:29:16.190Z] $ docker rm -f 198c182c5bc168899cb84d8c5c913660ff8f89b8da84410ca06edd2164bdd997 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:29:16.893Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T07:29:16.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:29:17.056Z] prd-ubuntu20.04-docker-8c-8g-20378 does not seem to be running inside a container [2022-07-18T07:29:17.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-112 -v /w/workspace/undry_device-onvif-camera_PR-112:/w/workspace/undry_device-onvif-camera_PR-112:rw,z -v /w/workspace/undry_device-onvif-camera_PR-112@tmp:/w/workspace/undry_device-onvif-camera_PR-112@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-18T07:29:17.486Z] $ docker top d9aec4fc15378a84d1f958acc1cf79b8b5bd41d8f64204b778a96070bc53e378 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T07:29:17.903Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-112 [Pipeline] fileExists [Pipeline] sh [2022-07-18T07:29:18.266Z] + make test [2022-07-18T07:29:18.266Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T07:29:18.834Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T07:29:28.821Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T07:29:28.821Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-07-18T07:29:28.821Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T07:29:33.029Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.609s coverage: 13.8% of statements [2022-07-18T07:29:41.156Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T07:29:43.697Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T07:29:43.697Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T07:29:43.697Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T07:29:44.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T07:29:44.333Z] $ docker stop --time=1 d9aec4fc15378a84d1f958acc1cf79b8b5bd41d8f64204b778a96070bc53e378 [2022-07-18T07:29:46.175Z] $ docker rm -f d9aec4fc15378a84d1f958acc1cf79b8b5bd41d8f64204b778a96070bc53e378 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T07:29:46.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T07:29:46.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T07:29:47.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T07:29:47.800Z] + ls -al . [2022-07-18T07:29:47.800Z] total 252 [2022-07-18T07:29:47.800Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 07:29 . [2022-07-18T07:29:47.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:28 .. [2022-07-18T07:29:47.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 07:29 .git [2022-07-18T07:29:47.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 07:28 .github [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 07:28 .gitignore [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 07:28 .golangci.yml [2022-07-18T07:29:47.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 07:28 .semver [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 07:28 Attribution.txt [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 07:28 CHANGELOG.md [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 07:28 Dockerfile [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 07:28 GOVERNANCE.md [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 07:28 Jenkinsfile [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 07:28 LICENSE [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 07:28 Makefile [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 07:28 OWNERS.md [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 07:28 README.md [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 07:28 VERSION [2022-07-18T07:29:47.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 07:28 bin [2022-07-18T07:29:47.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 07:28 cmd [2022-07-18T07:29:47.800Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 07:29 coverage.out [2022-07-18T07:29:47.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:28 doc [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 07:28 go.mod [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 07:28 go.sum [2022-07-18T07:29:47.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:28 internal [2022-07-18T07:29:47.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:28 snap [2022-07-18T07:29:47.800Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 07:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:29:48.192Z] + 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=70608a78efd62deeb21aeb18a1c82b91b1766251 --label arch=amd64 --label version=0.0.0 . [2022-07-18T07:29:48.192Z] Sending build context to Docker daemon 9.412MB [2022-07-18T07:29:48.192Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T07:29:48.192Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T07:29:48.192Z] ---> 3bc3c68a4266 [2022-07-18T07:29:48.192Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T07:29:48.453Z] ---> Running in 1a5ae083bc66 [2022-07-18T07:29:48.453Z] Removing intermediate container 1a5ae083bc66 [2022-07-18T07:29:48.453Z] ---> 74cef2a51385 [2022-07-18T07:29:48.453Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T07:29:48.453Z] ---> Running in 3d321ef79463 [2022-07-18T07:29:48.453Z] Removing intermediate container 3d321ef79463 [2022-07-18T07:29:48.453Z] ---> 4519c617e56e [2022-07-18T07:29:48.453Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T07:29:48.453Z] ---> Running in 3386b5a04409 [2022-07-18T07:29:48.720Z] Removing intermediate container 3386b5a04409 [2022-07-18T07:29:48.720Z] ---> bd4cab558563 [2022-07-18T07:29:48.720Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T07:29:48.720Z] ---> Running in b1a0904e69b5 [2022-07-18T07:29:48.720Z] Removing intermediate container b1a0904e69b5 [2022-07-18T07:29:48.720Z] ---> 946ae1bf6faf [2022-07-18T07:29:48.720Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T07:29:48.720Z] ---> Running in b95ca061bab6 [2022-07-18T07:29:49.299Z] Removing intermediate container b95ca061bab6 [2022-07-18T07:29:49.299Z] ---> 8b0ae4813983 [2022-07-18T07:29:49.299Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T07:29:49.561Z] ---> Running in 581d4ffa830d [2022-07-18T07:29:49.822Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T07:29:50.766Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T07:29:51.027Z] OK: 211 MiB in 51 packages [2022-07-18T07:29:51.288Z] Removing intermediate container 581d4ffa830d [2022-07-18T07:29:51.288Z] ---> 27dc3db92dca [2022-07-18T07:29:51.288Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T07:29:51.288Z] ---> Running in 382599caa4fb [2022-07-18T07:29:51.288Z] Removing intermediate container 382599caa4fb [2022-07-18T07:29:51.288Z] ---> 64cdadae3664 [2022-07-18T07:29:51.288Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T07:29:51.549Z] ---> 379366099ce3 [2022-07-18T07:29:51.549Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T07:29:51.549Z] ---> Running in 41e5de48f07f [2022-07-18T07:29:52.120Z] Removing intermediate container 41e5de48f07f [2022-07-18T07:29:52.120Z] ---> bffc3fb6bcd5 [2022-07-18T07:29:52.120Z] Step 12/26 : COPY . . [2022-07-18T07:29:52.694Z] ---> b3937c5267b2 [2022-07-18T07:29:52.694Z] Step 13/26 : RUN ${MAKE} [2022-07-18T07:29:52.694Z] ---> Running in 7a1e69096cc8 [2022-07-18T07:29:52.955Z] 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-18T07:30:14.911Z] Removing intermediate container 7a1e69096cc8 [2022-07-18T07:30:14.911Z] ---> a92443e398ef [2022-07-18T07:30:14.911Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T07:30:14.911Z] 3.15: Pulling from library/alpine [2022-07-18T07:30:14.911Z] df9b9388f04a: Pulling fs layer [2022-07-18T07:30:14.911Z] df9b9388f04a: Verifying Checksum [2022-07-18T07:30:14.911Z] df9b9388f04a: Download complete [2022-07-18T07:30:14.911Z] df9b9388f04a: Pull complete [2022-07-18T07:30:14.911Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T07:30:14.911Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T07:30:14.911Z] ---> 0ac33e5f5afa [2022-07-18T07:30:14.911Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T07:30:14.911Z] ---> Running in 4171f96a2b74 [2022-07-18T07:30:14.911Z] Removing intermediate container 4171f96a2b74 [2022-07-18T07:30:14.911Z] ---> 153b4ff5d1f6 [2022-07-18T07:30:14.911Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T07:30:14.911Z] ---> Running in 07add657908f [2022-07-18T07:30:15.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T07:30:15.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T07:30:15.440Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T07:30:15.440Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T07:30:15.440Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T07:30:15.440Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T07:30:15.440Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T07:30:15.440Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T07:30:15.440Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T07:30:15.440Z] OK: 8 MiB in 20 packages [2022-07-18T07:30:16.012Z] Removing intermediate container 07add657908f [2022-07-18T07:30:16.012Z] ---> dd142f78d6be [2022-07-18T07:30:16.012Z] Step 17/26 : WORKDIR / [2022-07-18T07:30:16.012Z] ---> Running in e57dfe527ea9 [2022-07-18T07:30:16.012Z] Removing intermediate container e57dfe527ea9 [2022-07-18T07:30:16.012Z] ---> 752d558000f3 [2022-07-18T07:30:16.012Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T07:30:16.584Z] ---> bbacc0f8460e [2022-07-18T07:30:16.584Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T07:30:16.845Z] ---> e0f3cb94f352 [2022-07-18T07:30:16.845Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T07:30:16.845Z] ---> 0291703e530d [2022-07-18T07:30:16.845Z] Step 21/26 : EXPOSE 59984 [2022-07-18T07:30:17.107Z] ---> Running in aae7a0453a2a [2022-07-18T07:30:17.107Z] Removing intermediate container aae7a0453a2a [2022-07-18T07:30:17.107Z] ---> 70f3dd253e97 [2022-07-18T07:30:17.107Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T07:30:17.107Z] ---> Running in 0495dafcddc2 [2022-07-18T07:30:17.107Z] Removing intermediate container 0495dafcddc2 [2022-07-18T07:30:17.107Z] ---> 15e99e15a521 [2022-07-18T07:30:17.107Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T07:30:17.107Z] ---> Running in 7ea1368bde86 [2022-07-18T07:30:17.369Z] Removing intermediate container 7ea1368bde86 [2022-07-18T07:30:17.369Z] ---> 63541369a284 [2022-07-18T07:30:17.369Z] Step 24/26 : LABEL arch=amd64 [2022-07-18T07:30:17.369Z] ---> Running in 04ff77a6cbd5 [2022-07-18T07:30:17.369Z] Removing intermediate container 04ff77a6cbd5 [2022-07-18T07:30:17.369Z] ---> 39b48a2d727a [2022-07-18T07:30:17.369Z] Step 25/26 : LABEL git_sha=70608a78efd62deeb21aeb18a1c82b91b1766251 [2022-07-18T07:30:17.369Z] ---> Running in 3dc41986e06a [2022-07-18T07:30:17.632Z] Removing intermediate container 3dc41986e06a [2022-07-18T07:30:17.632Z] ---> ab4fbda51d83 [2022-07-18T07:30:17.632Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T07:30:17.632Z] ---> Running in be3b394a92f6 [2022-07-18T07:30:17.632Z] Removing intermediate container be3b394a92f6 [2022-07-18T07:30:17.632Z] ---> 506d14d5dceb [2022-07-18T07:30:17.632Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T07:30:17.632Z] Successfully built 506d14d5dceb [2022-07-18T07:30:17.632Z] 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-18T07:30:18.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T07:30:18.463Z] [2022-07-18T07:30:18.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:30:18.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T07:30:18.847Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T07:30:18.847Z] 5eb5b503b376: Pulling fs layer [2022-07-18T07:30:18.847Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T07:30:18.847Z] ec43610c2a17: Pulling fs layer [2022-07-18T07:30:18.847Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T07:30:18.847Z] 33b1e0a273af: Pulling fs layer [2022-07-18T07:30:18.847Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T07:30:18.847Z] 2f39f015ded8: Pulling fs layer [2022-07-18T07:30:18.847Z] 33b1e0a273af: Waiting [2022-07-18T07:30:18.847Z] 5d3b04190fa2: Waiting [2022-07-18T07:30:18.847Z] 3a2ae6a8a46f: Waiting [2022-07-18T07:30:18.847Z] 2f39f015ded8: Waiting [2022-07-18T07:30:18.847Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T07:30:18.847Z] 5c69ac0246d0: Download complete [2022-07-18T07:30:18.847Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T07:30:18.847Z] 3a2ae6a8a46f: Download complete [2022-07-18T07:30:19.109Z] 33b1e0a273af: Verifying Checksum [2022-07-18T07:30:19.109Z] 33b1e0a273af: Download complete [2022-07-18T07:30:19.109Z] 5d3b04190fa2: Download complete [2022-07-18T07:30:19.109Z] ec43610c2a17: Verifying Checksum [2022-07-18T07:30:19.109Z] ec43610c2a17: Download complete [2022-07-18T07:30:19.109Z] 5eb5b503b376: Verifying Checksum [2022-07-18T07:30:19.109Z] 5eb5b503b376: Download complete [2022-07-18T07:30:20.052Z] 2f39f015ded8: Verifying Checksum [2022-07-18T07:30:20.052Z] 2f39f015ded8: Download complete [2022-07-18T07:30:20.623Z] 5eb5b503b376: Pull complete [2022-07-18T07:30:20.624Z] 5c69ac0246d0: Pull complete [2022-07-18T07:30:21.191Z] ec43610c2a17: Pull complete [2022-07-18T07:30:21.191Z] 3a2ae6a8a46f: Pull complete [2022-07-18T07:30:21.451Z] 33b1e0a273af: Pull complete [2022-07-18T07:30:21.451Z] 5d3b04190fa2: Pull complete [2022-07-18T07:30:26.722Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20379 in /w/workspace/undry_device-onvif-camera_PR-112 [Pipeline] { [2022-07-18T07:30:26.729Z] 2f39f015ded8: Pull complete [2022-07-18T07:30:26.729Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T07:30:26.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T07:30:26.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] ws [2022-07-18T07:30:26.828Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:30:26.969Z] prd-ubuntu20.04-docker-8c-8g-20378 does not seem to be running inside a container [2022-07-18T07:30:27.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-112 -v /w/workspace/undry_device-onvif-camera_PR-112:/w/workspace/undry_device-onvif-camera_PR-112:rw,z -v /w/workspace/undry_device-onvif-camera_PR-112@tmp:/w/workspace/undry_device-onvif-camera_PR-112@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-18T07:30:28.795Z] $ docker top abd6d6d08d91ac3cdc3170e066ee42565bbaae649c881b068b7b80c6f0c66f51 -eo pid,comm [Pipeline] { [Pipeline] checkout [2022-07-18T07:30:28.919Z] Selected Git installation does not exist. Using Default [2022-07-18T07:30:28.919Z] The recommended git tool is: NONE [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:30:29.344Z] ---> job-cost.sh [2022-07-18T07:30:29.344Z] lf-activate-venv: SKIPPING [2022-07-18T07:30:29.344Z] INFO: No Stack... [2022-07-18T07:30:29.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T07:30:30.174Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T07:30:30.487Z] + cat /w/workspace/undry_device-onvif-camera_PR-112/archives/cost.csv [2022-07-18T07:30:30.487Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T07:30:30.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [2022-07-18T07:30:30.528Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] did not exist. Created. [2022-07-18T07:30:30.528Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T07:30:30.907Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T07:30:30.951Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T07:30:30.976Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T07:30:31.050Z] $ docker stop --time=1 abd6d6d08d91ac3cdc3170e066ee42565bbaae649c881b068b7b80c6f0c66f51 [2022-07-18T07:30:32.214Z] $ docker rm -f abd6d6d08d91ac3cdc3170e066ee42565bbaae649c881b068b7b80c6f0c66f51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T07:30:34.736Z] using credential edgex-jenkins-ssh [2022-07-18T07:30:34.752Z] Cloning the remote Git repository [2022-07-18T07:30:34.814Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T07:30:34.883Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-18T07:30:34.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T07:30:34.948Z] > git --version # timeout=10 [2022-07-18T07:30:34.964Z] > git --version # 'git version 2.25.1' [2022-07-18T07:30:34.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T07:30:35.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T07:30:36.420Z] Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 70608a78efd62deeb21aeb18a1c82b91b1766251 [2022-07-18T07:30:35.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T07:30:35.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T07:30:35.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T07:30:35.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T07:30:35.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T07:30:35.939Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T07:30:36.441Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T07:30:36.464Z] > git checkout -f 70608a78efd62deeb21aeb18a1c82b91b1766251 # timeout=10 [2022-07-18T07:30:36.789Z] Merge succeeded, producing 70608a78efd62deeb21aeb18a1c82b91b1766251 [2022-07-18T07:30:36.789Z] Checking out Revision 70608a78efd62deeb21aeb18a1c82b91b1766251 (PR-112) [2022-07-18T07:30:36.697Z] > git remote # timeout=10 [2022-07-18T07:30:36.717Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T07:30:36.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T07:30:36.749Z] > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-18T07:30:36.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T07:30:36.798Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T07:30:36.818Z] > git checkout -f 70608a78efd62deeb21aeb18a1c82b91b1766251 # timeout=10 [2022-07-18T07:30:41.108Z] Commit message: "docs(snap): Update links" [2022-07-18T07:30:41.168Z] > git --version # timeout=10 [2022-07-18T07:30:41.182Z] > git --version # 'git version 2.25.1' [2022-07-18T07:30:41.192Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T07:30:42.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T07:30:42.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T07:30:42.372Z] Dload Upload Total Spent Left Speed [2022-07-18T07:30:42.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99451 0 --:--:-- --:--:-- --:--:-- 99451 [Pipeline] sh [2022-07-18T07:30:43.285Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T07:30:43.654Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T07:30:43.654Z] sudo tee /etc/docker/daemon.new [2022-07-18T07:30:43.654Z] { [2022-07-18T07:30:43.654Z] "registry-mirrors": [ [2022-07-18T07:30:43.654Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T07:30:43.654Z] ], [2022-07-18T07:30:43.654Z] "bip": "10.250.0.254/24", [2022-07-18T07:30:43.654Z] "hosts": [ [2022-07-18T07:30:43.654Z] "tcp://0.0.0.0:5555", [2022-07-18T07:30:43.654Z] "unix:///var/run/docker.sock" [2022-07-18T07:30:43.654Z] ], [2022-07-18T07:30:43.654Z] "mtu": 1458, [2022-07-18T07:30:43.654Z] "selinux-enabled": true, [2022-07-18T07:30:43.654Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T07:30:43.654Z] } [Pipeline] sh [2022-07-18T07:30:44.024Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T07:30:44.387Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T07:31:02.810Z] provisioning config files... [2022-07-18T07:31:02.838Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5921766126329424800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:31:03.256Z] ---> docker-login.sh [2022-07-18T07:31:03.256Z] nexus3.edgexfoundry.org:10001 [2022-07-18T07:31:03.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:31:04.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:31:04.129Z] Configure a credential helper to remove this warning. See [2022-07-18T07:31:04.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:31:04.129Z] [2022-07-18T07:31:04.129Z] Login Succeeded [2022-07-18T07:31:04.129Z] nexus3.edgexfoundry.org:10002 [2022-07-18T07:31:04.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:31:04.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:31:04.679Z] Configure a credential helper to remove this warning. See [2022-07-18T07:31:04.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:31:04.679Z] [2022-07-18T07:31:04.679Z] Login Succeeded [2022-07-18T07:31:04.679Z] nexus3.edgexfoundry.org:10003 [2022-07-18T07:31:04.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:31:04.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:31:04.959Z] Configure a credential helper to remove this warning. See [2022-07-18T07:31:04.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:31:04.959Z] [2022-07-18T07:31:04.959Z] Login Succeeded [2022-07-18T07:31:04.959Z] nexus3.edgexfoundry.org:10004 [2022-07-18T07:31:05.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:31:05.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:31:05.559Z] Configure a credential helper to remove this warning. See [2022-07-18T07:31:05.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:31:05.559Z] [2022-07-18T07:31:05.559Z] Login Succeeded [2022-07-18T07:31:05.559Z] docker.io [2022-07-18T07:31:05.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T07:31:06.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T07:31:06.429Z] Configure a credential helper to remove this warning. See [2022-07-18T07:31:06.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T07:31:06.429Z] [2022-07-18T07:31:06.429Z] Login Succeeded [2022-07-18T07:31:06.429Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T07:31:06.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T07:31:06.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T07:31:06.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T07:31:06.931Z] ========================================================= [2022-07-18T07:31:06.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T07:31:06.931Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:31:07.467Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T07:31:07.744Z] Sending build context to Docker daemon 6.43MB [2022-07-18T07:31:08.024Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T07:31:08.024Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T07:31:08.024Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T07:31:08.024Z] b3c136eddcbf: Pulling fs layer [2022-07-18T07:31:08.024Z] c0a3192eca97: Pulling fs layer [2022-07-18T07:31:08.024Z] a050256f5b6f: Pulling fs layer [2022-07-18T07:31:08.024Z] 656be50a0ddc: Pulling fs layer [2022-07-18T07:31:08.024Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T07:31:08.024Z] 46d945488cbd: Pulling fs layer [2022-07-18T07:31:08.024Z] 8a5474983e97: Pulling fs layer [2022-07-18T07:31:08.024Z] 329c88fbcd65: Pulling fs layer [2022-07-18T07:31:08.024Z] 46d945488cbd: Waiting [2022-07-18T07:31:08.024Z] 8a5474983e97: Waiting [2022-07-18T07:31:08.024Z] 656be50a0ddc: Waiting [2022-07-18T07:31:08.024Z] 329c88fbcd65: Waiting [2022-07-18T07:31:08.024Z] 2bbca73fdf42: Waiting [2022-07-18T07:31:08.024Z] a050256f5b6f: Verifying Checksum [2022-07-18T07:31:08.024Z] a050256f5b6f: Download complete [2022-07-18T07:31:08.024Z] c0a3192eca97: Verifying Checksum [2022-07-18T07:31:08.024Z] c0a3192eca97: Download complete [2022-07-18T07:31:08.024Z] 2bbca73fdf42: Download complete [2022-07-18T07:31:08.024Z] 46d945488cbd: Verifying Checksum [2022-07-18T07:31:08.024Z] 46d945488cbd: Download complete [2022-07-18T07:31:08.306Z] b3c136eddcbf: Verifying Checksum [2022-07-18T07:31:09.298Z] b3c136eddcbf: Pull complete [2022-07-18T07:31:09.298Z] 329c88fbcd65: Verifying Checksum [2022-07-18T07:31:09.298Z] 329c88fbcd65: Download complete [2022-07-18T07:31:09.900Z] c0a3192eca97: Pull complete [2022-07-18T07:31:10.176Z] a050256f5b6f: Pull complete [2022-07-18T07:31:10.451Z] 8a5474983e97: Verifying Checksum [2022-07-18T07:31:10.451Z] 8a5474983e97: Download complete [2022-07-18T07:31:11.061Z] 656be50a0ddc: Verifying Checksum [2022-07-18T07:31:11.061Z] 656be50a0ddc: Download complete [2022-07-18T07:31:26.176Z] 656be50a0ddc: Pull complete [2022-07-18T07:31:26.176Z] 2bbca73fdf42: Pull complete [2022-07-18T07:31:26.176Z] 46d945488cbd: Pull complete [2022-07-18T07:31:30.506Z] 8a5474983e97: Pull complete [2022-07-18T07:31:32.503Z] 329c88fbcd65: Pull complete [2022-07-18T07:31:32.503Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T07:31:32.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T07:31:32.503Z] ---> ff4287adb874 [2022-07-18T07:31:32.503Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T07:31:34.488Z] ---> Running in 5e213cbc5d49 [2022-07-18T07:31:34.488Z] Removing intermediate container 5e213cbc5d49 [2022-07-18T07:31:34.488Z] ---> 5f655c158ccc [2022-07-18T07:31:34.488Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T07:31:34.488Z] ---> Running in 099851a46551 [2022-07-18T07:31:34.764Z] Removing intermediate container 099851a46551 [2022-07-18T07:31:34.764Z] ---> a8cb599bd0dc [2022-07-18T07:31:34.764Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T07:31:35.037Z] ---> Running in 898561c7dad5 [2022-07-18T07:31:35.310Z] Removing intermediate container 898561c7dad5 [2022-07-18T07:31:35.310Z] ---> 0960db613025 [2022-07-18T07:31:35.310Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T07:31:35.310Z] ---> Running in 85a92e4048bc [2022-07-18T07:31:35.590Z] Removing intermediate container 85a92e4048bc [2022-07-18T07:31:35.590Z] ---> 371df9a6454c [2022-07-18T07:31:35.590Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T07:31:35.867Z] ---> Running in a94060d3a086 [2022-07-18T07:31:38.510Z] Removing intermediate container a94060d3a086 [2022-07-18T07:31:38.510Z] ---> d02978cc9fc6 [2022-07-18T07:31:38.510Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T07:31:38.510Z] ---> Running in 256cd120992b [2022-07-18T07:31:39.109Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T07:31:40.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T07:31:41.065Z] OK: 221 MiB in 51 packages [2022-07-18T07:31:42.067Z] Removing intermediate container 256cd120992b [2022-07-18T07:31:42.067Z] ---> b46df3fc5e34 [2022-07-18T07:31:42.067Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T07:31:42.067Z] ---> Running in 75e73436fdb0 [2022-07-18T07:31:42.341Z] Removing intermediate container 75e73436fdb0 [2022-07-18T07:31:42.341Z] ---> 6188a1753d55 [2022-07-18T07:31:42.341Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T07:31:42.951Z] ---> 7f8931bfe0d7 [2022-07-18T07:31:42.951Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T07:31:42.951Z] ---> Running in e38650999922 [2022-07-18T07:32:29.983Z] Removing intermediate container e38650999922 [2022-07-18T07:32:29.983Z] ---> 20bdc33cb504 [2022-07-18T07:32:29.983Z] Step 12/13 : COPY . . [2022-07-18T07:32:29.983Z] ---> edcab5228758 [2022-07-18T07:32:29.983Z] Step 13/13 : RUN ${MAKE} [2022-07-18T07:32:29.983Z] ---> Running in 86dcefba4cd5 [2022-07-18T07:32:29.983Z] noop [2022-07-18T07:32:29.983Z] Removing intermediate container 86dcefba4cd5 [2022-07-18T07:32:29.983Z] ---> d7463b1af052 [2022-07-18T07:32:29.983Z] Successfully built d7463b1af052 [2022-07-18T07:32:29.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:32:30.469Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T07:32:30.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:32:30.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-20379 does not seem to be running inside a container [2022-07-18T07:32:30.879Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-18T07:32:32.132Z] $ docker top c4ca2aa8f95b56da2ef9c9b55da61e254056b0d23a368524bfc28f40a1d94e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T07:32:33.081Z] + go version [2022-07-18T07:32:33.081Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T07:32:33.119Z] $ docker stop --time=1 c4ca2aa8f95b56da2ef9c9b55da61e254056b0d23a368524bfc28f40a1d94e03 [2022-07-18T07:32:34.763Z] $ docker rm -f c4ca2aa8f95b56da2ef9c9b55da61e254056b0d23a368524bfc28f40a1d94e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:32:35.661Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T07:32:35.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:32:35.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-20379 does not seem to be running inside a container [2022-07-18T07:32:36.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-arm64 cat [2022-07-18T07:32:37.263Z] $ docker top 4b16ee9be2cb38950da42ce7c9823840a01c6e62ca3e9ff39ddeb9fef7746321 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T07:32:38.198Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-18T07:32:38.920Z] + make test [2022-07-18T07:32:38.920Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T07:32:40.364Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T07:34:02.235Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T07:34:06.567Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements [2022-07-18T07:34:06.567Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T07:34:33.385Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.711s coverage: 13.8% of statements [2022-07-18T07:34:33.385Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T07:34:33.385Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T07:34:55.591Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T07:34:55.591Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T07:34:55.591Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T07:34:55.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T07:34:55.664Z] $ docker stop --time=1 4b16ee9be2cb38950da42ce7c9823840a01c6e62ca3e9ff39ddeb9fef7746321 [2022-07-18T07:34:57.421Z] $ docker rm -f 4b16ee9be2cb38950da42ce7c9823840a01c6e62ca3e9ff39ddeb9fef7746321 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T07:34:58.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T07:34:58.532Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T07:34:59.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T07:34:59.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T07:35:00.028Z] + ls -al . [2022-07-18T07:35:00.028Z] total 248 [2022-07-18T07:35:00.028Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 07:34 . [2022-07-18T07:35:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:30 .. [2022-07-18T07:35:00.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 07:30 .git [2022-07-18T07:35:00.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 07:30 .github [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 07:30 .gitignore [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 07:30 .golangci.yml [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 07:30 Attribution.txt [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 07:30 CHANGELOG.md [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 07:30 Dockerfile [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 07:30 GOVERNANCE.md [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 07:30 Jenkinsfile [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 07:30 LICENSE [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 07:30 Makefile [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 07:30 OWNERS.md [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 07:30 README.md [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 07:28 VERSION [2022-07-18T07:35:00.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 07:30 bin [2022-07-18T07:35:00.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 07:30 cmd [2022-07-18T07:35:00.028Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 07:34 coverage.out [2022-07-18T07:35:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:30 doc [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 07:30 go.mod [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 07:30 go.sum [2022-07-18T07:35:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:30 internal [2022-07-18T07:35:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 07:30 snap [2022-07-18T07:35:00.028Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 07:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:35:00.462Z] + 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=70608a78efd62deeb21aeb18a1c82b91b1766251 --label arch=arm64 --label version=0.0.0 . [2022-07-18T07:35:00.738Z] Sending build context to Docker daemon 6.501MB [2022-07-18T07:35:01.016Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T07:35:01.016Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T07:35:01.016Z] ---> d7463b1af052 [2022-07-18T07:35:01.016Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T07:35:01.016Z] ---> Running in 29612b8f0208 [2022-07-18T07:35:01.291Z] Removing intermediate container 29612b8f0208 [2022-07-18T07:35:01.291Z] ---> 93e8f74db5e6 [2022-07-18T07:35:01.291Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T07:35:01.291Z] ---> Running in c6d775695535 [2022-07-18T07:35:01.565Z] Removing intermediate container c6d775695535 [2022-07-18T07:35:01.565Z] ---> 26219a60fa88 [2022-07-18T07:35:01.565Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T07:35:01.840Z] ---> Running in ebd0dda6f20b [2022-07-18T07:35:02.116Z] Removing intermediate container ebd0dda6f20b [2022-07-18T07:35:02.116Z] ---> 6c4dd86efe6d [2022-07-18T07:35:02.116Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T07:35:02.116Z] ---> Running in f05b5874f2f2 [2022-07-18T07:35:02.400Z] Removing intermediate container f05b5874f2f2 [2022-07-18T07:35:02.400Z] ---> 015364c383be [2022-07-18T07:35:02.400Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T07:35:02.400Z] ---> Running in 5d0455bd7bc9 [2022-07-18T07:35:04.387Z] Removing intermediate container 5d0455bd7bc9 [2022-07-18T07:35:04.387Z] ---> 9aebd81c3f3a [2022-07-18T07:35:04.387Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T07:35:04.387Z] ---> Running in 353cbc96f42c [2022-07-18T07:35:05.368Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T07:35:05.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T07:35:06.943Z] OK: 221 MiB in 51 packages [2022-07-18T07:35:07.546Z] Removing intermediate container 353cbc96f42c [2022-07-18T07:35:07.546Z] ---> 0f90497dde1b [2022-07-18T07:35:07.546Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T07:35:07.825Z] ---> Running in 538fa74689f0 [2022-07-18T07:35:08.101Z] Removing intermediate container 538fa74689f0 [2022-07-18T07:35:08.101Z] ---> ea62751c5397 [2022-07-18T07:35:08.101Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T07:35:08.699Z] ---> c37d3503b397 [2022-07-18T07:35:08.699Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T07:35:08.699Z] ---> Running in ace4ae7c4828 [2022-07-18T07:35:10.713Z] Removing intermediate container ace4ae7c4828 [2022-07-18T07:35:10.713Z] ---> 99e9ca6c522b [2022-07-18T07:35:10.713Z] Step 12/26 : COPY . . [2022-07-18T07:35:11.708Z] ---> 403350c57319 [2022-07-18T07:35:11.708Z] Step 13/26 : RUN ${MAKE} [2022-07-18T07:35:11.981Z] ---> Running in 1dfad6eb20b9 [2022-07-18T07:35:12.965Z] 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-18T07:37:19.863Z] Removing intermediate container 1dfad6eb20b9 [2022-07-18T07:37:19.863Z] ---> 09e429bfa159 [2022-07-18T07:37:19.863Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T07:37:19.863Z] 3.15: Pulling from library/alpine [2022-07-18T07:37:19.863Z] 9981e73032c8: Pulling fs layer [2022-07-18T07:37:19.863Z] 9981e73032c8: Verifying Checksum [2022-07-18T07:37:19.863Z] 9981e73032c8: Download complete [2022-07-18T07:37:19.863Z] 9981e73032c8: Pull complete [2022-07-18T07:37:19.863Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T07:37:19.863Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T07:37:19.863Z] ---> 3fb3c9af89a9 [2022-07-18T07:37:19.863Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T07:37:19.863Z] ---> Running in 6c61b707f063 [2022-07-18T07:37:19.863Z] Removing intermediate container 6c61b707f063 [2022-07-18T07:37:19.863Z] ---> f26f88b88f0b [2022-07-18T07:37:19.863Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T07:37:19.863Z] ---> Running in 7624d1236c6d [2022-07-18T07:37:20.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T07:37:21.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T07:37:22.095Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T07:37:22.095Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T07:37:22.095Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T07:37:22.095Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T07:37:22.095Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T07:37:22.095Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T07:37:22.095Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T07:37:22.095Z] OK: 8 MiB in 20 packages [2022-07-18T07:37:23.089Z] Removing intermediate container 7624d1236c6d [2022-07-18T07:37:23.089Z] ---> ade0fe244855 [2022-07-18T07:37:23.089Z] Step 17/26 : WORKDIR / [2022-07-18T07:37:23.089Z] ---> Running in 57917443ffee [2022-07-18T07:37:23.364Z] Removing intermediate container 57917443ffee [2022-07-18T07:37:23.364Z] ---> e81707cc9037 [2022-07-18T07:37:23.364Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T07:37:24.798Z] ---> 9bc88653da6a [2022-07-18T07:37:24.798Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T07:37:25.398Z] ---> 91c15bcf2741 [2022-07-18T07:37:25.398Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T07:37:25.997Z] ---> 435d2158fa82 [2022-07-18T07:37:25.997Z] Step 21/26 : EXPOSE 59984 [2022-07-18T07:37:25.997Z] ---> Running in 85f8ab9a17c6 [2022-07-18T07:37:26.273Z] Removing intermediate container 85f8ab9a17c6 [2022-07-18T07:37:26.273Z] ---> d625a3172e05 [2022-07-18T07:37:26.273Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T07:37:26.549Z] ---> Running in ee5099589075 [2022-07-18T07:37:26.831Z] Removing intermediate container ee5099589075 [2022-07-18T07:37:26.831Z] ---> 210f190a5e98 [2022-07-18T07:37:26.831Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T07:37:26.831Z] ---> Running in c3878fa50b5b [2022-07-18T07:37:27.106Z] Removing intermediate container c3878fa50b5b [2022-07-18T07:37:27.106Z] ---> 290fd6c3956d [2022-07-18T07:37:27.106Z] Step 24/26 : LABEL arch=arm64 [2022-07-18T07:37:27.106Z] ---> Running in 19499c463fd5 [2022-07-18T07:37:27.385Z] Removing intermediate container 19499c463fd5 [2022-07-18T07:37:27.385Z] ---> 50926a8409a8 [2022-07-18T07:37:27.385Z] Step 25/26 : LABEL git_sha=70608a78efd62deeb21aeb18a1c82b91b1766251 [2022-07-18T07:37:27.659Z] ---> Running in 13fcf0b96334 [2022-07-18T07:37:27.931Z] Removing intermediate container 13fcf0b96334 [2022-07-18T07:37:27.931Z] ---> 563baeafd762 [2022-07-18T07:37:27.931Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T07:37:27.931Z] ---> Running in d364dececb32 [2022-07-18T07:37:28.205Z] Removing intermediate container d364dececb32 [2022-07-18T07:37:28.205Z] ---> 83a74ffe86b7 [2022-07-18T07:37:28.205Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T07:37:28.205Z] Successfully built 83a74ffe86b7 [2022-07-18T07:37:28.205Z] 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-18T07:37:29.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T07:37:29.045Z] [2022-07-18T07:37:29.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:37:29.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T07:37:29.465Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T07:37:29.465Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T07:37:29.465Z] 04944245beec: Pulling fs layer [2022-07-18T07:37:29.465Z] 699f458cf7ca: Pulling fs layer [2022-07-18T07:37:29.465Z] 765212b225bb: Pulling fs layer [2022-07-18T07:37:29.465Z] f23df028b6ca: Pulling fs layer [2022-07-18T07:37:29.465Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T07:37:29.749Z] 765212b225bb: Waiting [2022-07-18T07:37:29.749Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T07:37:29.749Z] f23df028b6ca: Waiting [2022-07-18T07:37:29.749Z] d65c8cfc05b1: Waiting [2022-07-18T07:37:29.749Z] 2437ff75d9bd: Waiting [2022-07-18T07:37:29.749Z] 04944245beec: Verifying Checksum [2022-07-18T07:37:29.749Z] 04944245beec: Download complete [2022-07-18T07:37:29.749Z] 765212b225bb: Verifying Checksum [2022-07-18T07:37:29.749Z] 765212b225bb: Download complete [2022-07-18T07:37:29.749Z] f23df028b6ca: Verifying Checksum [2022-07-18T07:37:29.749Z] f23df028b6ca: Download complete [2022-07-18T07:37:29.749Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T07:37:29.749Z] d65c8cfc05b1: Download complete [2022-07-18T07:37:30.023Z] 699f458cf7ca: Verifying Checksum [2022-07-18T07:37:30.024Z] 699f458cf7ca: Download complete [2022-07-18T07:37:30.301Z] 8998bd30e6a1: Download complete [2022-07-18T07:37:32.936Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T07:37:32.936Z] 2437ff75d9bd: Download complete [2022-07-18T07:37:34.920Z] 8998bd30e6a1: Pull complete [2022-07-18T07:37:35.195Z] 04944245beec: Pull complete [2022-07-18T07:37:36.642Z] 699f458cf7ca: Pull complete [2022-07-18T07:37:36.919Z] 765212b225bb: Pull complete [2022-07-18T07:37:37.515Z] f23df028b6ca: Pull complete [2022-07-18T07:37:37.790Z] d65c8cfc05b1: Pull complete [2022-07-18T07:37:52.896Z] 2437ff75d9bd: Pull complete [2022-07-18T07:37:52.896Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T07:37:52.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T07:37:52.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:37:53.293Z] prd-ubuntu20.04-docker-arm64-4c-16g-20379 does not seem to be running inside a container [2022-07-18T07:37:53.384Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T07:37:55.890Z] $ docker top ac0e28e8b0cede7db0474e08d73f3c7ff5de2ada9deb8c1585a3f06bfd43332b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:37:56.868Z] ---> job-cost.sh [2022-07-18T07:37:56.868Z] lf-activate-venv: SKIPPING [2022-07-18T07:37:56.868Z] INFO: No Stack... [2022-07-18T07:37:57.465Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T07:37:58.444Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T07:37:59.124Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-18T07:37:59.124Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T07:37:59.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [2022-07-18T07:37:59.207Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] did not exist. Created. [2022-07-18T07:37:59.207Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T07:37:59.960Z] /w/workspace/device-onvif-camera/1@tmp/durable-6e0f6863/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T07:38:00.661Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T07:38:00.697Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T07:38:00.755Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T07:38:00.772Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T07:38:00.856Z] $ docker stop --time=1 ac0e28e8b0cede7db0474e08d73f3c7ff5de2ada9deb8c1585a3f06bfd43332b [2022-07-18T07:38:02.363Z] $ docker rm -f ac0e28e8b0cede7db0474e08d73f3c7ff5de2ada9deb8c1585a3f06bfd43332b [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-18T07:38:03.399Z] provisioning config files... [2022-07-18T07:38:03.408Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-112@tmp/config6890111565687747498tmp [Pipeline] { [Pipeline] sh [2022-07-18T07:38:03.745Z] + set +x [2022-07-18T07:38:03.745Z] + curl -s https://codecov.io/bash [2022-07-18T07:38:03.745Z] + bash -s -- [2022-07-18T07:38:03.745Z] [2022-07-18T07:38:03.745Z] _____ _ [2022-07-18T07:38:03.745Z] / ____| | | [2022-07-18T07:38:03.745Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T07:38:03.745Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T07:38:03.745Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T07:38:03.745Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T07:38:03.745Z] Bash-1.0.6 [2022-07-18T07:38:03.745Z] [2022-07-18T07:38:03.745Z] [2022-07-18T07:38:03.745Z] ==> git version 2.25.1 found [2022-07-18T07:38:03.745Z] ==> 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-18T07:38:03.745Z] Release-Date: 2020-01-08 [2022-07-18T07:38:03.745Z] 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-18T07:38:03.745Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T07:38:03.745Z] ==> Jenkins CI detected. [2022-07-18T07:38:03.745Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-112 [2022-07-18T07:38:03.745Z] project root: . [2022-07-18T07:38:03.745Z] --> token set from env [2022-07-18T07:38:03.745Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T07:38:03.745Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T07:38:03.745Z] ==> Python coveragepy not found [2022-07-18T07:38:03.745Z] ==> Searching for coverage reports in: [2022-07-18T07:38:03.745Z] + . [2022-07-18T07:38:03.745Z] -> Found 1 reports [2022-07-18T07:38:03.745Z] ==> Detecting git/mercurial file structure [2022-07-18T07:38:03.745Z] ==> Reading reports [2022-07-18T07:38:03.745Z] + ./coverage.out bytes=70262 [2022-07-18T07:38:03.745Z] ==> Appending adjustments [2022-07-18T07:38:03.745Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T07:38:04.005Z] + Found adjustments [2022-07-18T07:38:04.005Z] ==> Gzipping contents [2022-07-18T07:38:04.005Z] 12K /tmp/codecov.UbtcwS.gz [2022-07-18T07:38:04.005Z] ==> Uploading reports [2022-07-18T07:38:04.005Z] url: https://codecov.io [2022-07-18T07:38:04.005Z] query: branch=PR-112&commit=70608a78efd62deeb21aeb18a1c82b91b1766251&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=112&job=&cmd_args= [2022-07-18T07:38:04.005Z] -> Pinging Codecov [2022-07-18T07:38:04.005Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-112&commit=70608a78efd62deeb21aeb18a1c82b91b1766251&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=112&job=&cmd_args= [2022-07-18T07:38:04.266Z] -> Uploading to [2022-07-18T07:38:04.266Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/F29A59C45E3A92E06B3E522C9905F8EF/70608a78efd62deeb21aeb18a1c82b91b1766251/8a8f41da-995e-4192-9871-4c03db1b0b00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T073804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a329d93556079c3fb3267b9d7823a822d1055096a9c862f3f897ac9d26e36d84 [2022-07-18T07:38:04.266Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T07:38:04.266Z] Dload Upload Total Spent Left Speed [2022-07-18T07:38:04.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9527 0 0 100 9527 0 34770 --:--:-- --:--:-- --:--:-- 34643 [2022-07-18T07:38:04.526Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/70608a78efd62deeb21aeb18a1c82b91b1766251 [Pipeline] } [2022-07-18T07:38:04.555Z] 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-18T07:38:06.266Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-112/archives ] [2022-07-18T07:38:06.266Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-112/archives [2022-07-18T07:38:06.266Z] total 16 [2022-07-18T07:38:06.266Z] drwxr-xr-x 3 root root 4096 Jul 18 07:30 . [2022-07-18T07:38:06.266Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 07:30 .. [2022-07-18T07:38:06.266Z] drwxr-xr-x 2 root root 4096 Jul 18 07:30 cost [2022-07-18T07:38:06.266Z] -rw-r--r-- 1 root root 90 Jul 18 07:30 cost.csv [2022-07-18T07:38:06.266Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-112/archives [2022-07-18T07:38:06.266Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-112/archives [2022-07-18T07:38:06.266Z] total 16 [2022-07-18T07:38:06.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 07:30 . [2022-07-18T07:38:06.266Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 07:30 .. [2022-07-18T07:38:06.266Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 07:30 cost [2022-07-18T07:38:06.266Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 18 07:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:06.611Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:07.508Z] ---> package-listing.sh [2022-07-18T07:38:07.508Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T07:38:07.508Z] ++ facter osfamily [2022-07-18T07:38:07.769Z] + OS_FAMILY=debian [2022-07-18T07:38:07.769Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-112 [2022-07-18T07:38:07.769Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T07:38:07.769Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T07:38:07.769Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T07:38:07.769Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T07:38:07.769Z] + '[' /w/workspace/undry_device-onvif-camera_PR-112 ']' [2022-07-18T07:38:07.769Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T07:38:07.769Z] + case "${OS_FAMILY}" in [2022-07-18T07:38:07.769Z] + dpkg -l [2022-07-18T07:38:07.769Z] + grep '^ii' [2022-07-18T07:38:07.769Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T07:38:07.769Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T07:38:07.769Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T07:38:07.769Z] + '[' /w/workspace/undry_device-onvif-camera_PR-112 ']' [2022-07-18T07:38:07.769Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-112/archives/ [2022-07-18T07:38:07.769Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-112/archives/ [Pipeline] echo [2022-07-18T07:38:07.801Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-112/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T07:38:08.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T07:38:08.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T07:38:08.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T07:38:08.877Z] prd-ubuntu20.04-docker-8c-8g-20378 does not seem to be running inside a container [2022-07-18T07:38:08.912Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-112/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-112 -v /w/workspace/undry_device-onvif-camera_PR-112:/w/workspace/undry_device-onvif-camera_PR-112:rw,z -v /w/workspace/undry_device-onvif-camera_PR-112@tmp:/w/workspace/undry_device-onvif-camera_PR-112@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-18T07:38:09.114Z] $ docker top f18a031787e8774e9e2120208b7e7adf94e31ddfeb786cc846e5ed116071ef60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T07:38:09.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T07:38:09.830Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T07:38:10.146Z] + ls /var/log/sa-host [2022-07-18T07:38:10.146Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T07:38:10.350Z] provisioning config files... [2022-07-18T07:38:10.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-112@tmp/config2487591297049033831tmp [Pipeline] { [Pipeline] echo [2022-07-18T07:38:10.418Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:10.733Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T07:38:10.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:11.165Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T07:38:11.199Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:11.517Z] ---> sudo-logs.sh [2022-07-18T07:38:11.517Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T07:38:11.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:11.938Z] ---> job-cost.sh [2022-07-18T07:38:11.938Z] lf-activate-venv: SKIPPING [2022-07-18T07:38:11.938Z] DEBUG: total: 0.2199999988079071 [2022-07-18T07:38:11.938Z] INFO: Retrieving Stack Cost... [2022-07-18T07:38:12.201Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T07:38:12.773Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T07:38:12.811Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T07:38:13.129Z] ---> logs-deploy.sh [2022-07-18T07:38:13.129Z] lf-activate-venv: SKIPPING [2022-07-18T07:38:13.129Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-112/1 [2022-07-18T07:38:13.129Z] INFO: archiving workspace using pattern(s): [2022-07-18T07:38:14.072Z] Archives upload complete. [2022-07-18T07:38:14.072Z] INFO: archiving logs to Nexus