Pull request #116 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf+88753853dd15dc813abf6fe949f278b33fe89c26 (9fe2dc9cd4c76948ff2db07bb62bd274b0c001fe) 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-ssh4624305232806330512.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-ssh14595750866329283716.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-116/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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9851272117349457921.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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8877360754457209469.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-ssh669539506797551812.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-116/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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14637584684140801935.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-20705 in /w/workspace/undry_device-onvif-camera_PR-116 [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-116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf Merge succeeded, producing 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf Checking out Revision 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf (PR-116) > 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/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf # 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 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf # timeout=10 Commit message: "fix: retry adding provision watchers if failed" 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-21T21:49:22.406Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T21:49:22.581Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T21:49:22.677Z] ========================================================= [2022-07-21T21:49:22.677Z] EdgeX Global Pipelines Version Info [2022-07-21T21:49:22.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:49:23.446Z] ------------------- [2022-07-21T21:49:23.446Z] stable info: [2022-07-21T21:49:23.446Z] ------------------- [2022-07-21T21:49:23.446Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T21:49:23.446Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T21:49:23.446Z] Message: update stable to v1.0.238 [2022-07-21T21:49:24.021Z] ------------------- [2022-07-21T21:49:24.021Z] experimental info: [2022-07-21T21:49:24.021Z] ------------------- [2022-07-21T21:49:24.021Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T21:49:24.021Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T21:49:24.021Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T21:49:24.457Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-21T21:49:24.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-21T21:49:24.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T21:49:24.596Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T21:49:24.639Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T21:49:24.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T21:49:24.734Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T21:49:24.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T21:49:24.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T21:49:24.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T21:49:24.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T21:49:24.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-21T21:49:24.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T21:49:25.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T21:49:25.060Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T21:49:25.103Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T21:49:25.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T21:49:25.190Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T21:49:25.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T21:49:25.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T21:49:25.317Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T21:49:25.360Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T21:49:25.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T21:49:25.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T21:49:25.483Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T21:49:25.526Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T21:49:25.564Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T21:49:25.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2022-07-21T21:49:25.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2022-07-21T21:49:25.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2022-07-21T21:49:25.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [Pipeline] echo [2022-07-21T21:49:25.765Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f6183b [Pipeline] echo [2022-07-21T21:49:25.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T21:49:25.925Z] provisioning config files... [2022-07-21T21:49:25.940Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-116@tmp/config6526202271100156358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:49:26.294Z] ---> docker-login.sh [2022-07-21T21:49:26.294Z] nexus3.edgexfoundry.org:10001 [2022-07-21T21:49:26.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:26.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:26.821Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:26.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:26.821Z] [2022-07-21T21:49:26.821Z] Login Succeeded [2022-07-21T21:49:26.821Z] nexus3.edgexfoundry.org:10002 [2022-07-21T21:49:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:27.082Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:27.082Z] [2022-07-21T21:49:27.082Z] Login Succeeded [2022-07-21T21:49:27.082Z] nexus3.edgexfoundry.org:10003 [2022-07-21T21:49:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:27.082Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:27.082Z] [2022-07-21T21:49:27.082Z] Login Succeeded [2022-07-21T21:49:27.082Z] nexus3.edgexfoundry.org:10004 [2022-07-21T21:49:27.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:27.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:27.345Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:27.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:27.345Z] [2022-07-21T21:49:27.345Z] Login Succeeded [2022-07-21T21:49:27.345Z] docker.io [2022-07-21T21:49:27.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:27.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:27.612Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:27.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:27.612Z] [2022-07-21T21:49:27.612Z] Login Succeeded [2022-07-21T21:49:27.612Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T21:49:27.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T21:49:28.316Z] + git rev-list -1 --merges 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf~1..1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [Pipeline] echo [2022-07-21T21:49:28.370Z] -----------> git rev-list -1 --merges 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf~1..1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [false] [Pipeline] sh [2022-07-21T21:49:28.686Z] + git log --format=format:%s -1 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [Pipeline] echo [2022-07-21T21:49:28.729Z] ========================================================= [2022-07-21T21:49:28.729Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T21:49:28.729Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T21:49:29.165Z] + git log --format=format:%s -1 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [Pipeline] echo [2022-07-21T21:49:29.198Z] [semverPrep] GIT_COMMIT: 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf, Commit Message: fix: retry adding provision watchers if failed [Pipeline] echo [2022-07-21T21:49:29.230Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T21:49:29.633Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T21:49:29.633Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T21:49:29.633Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T21:49:29.633Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T21:49:29.633Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T21:49:29.633Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T21:49:29.633Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:49:30.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T21:49:30.136Z] [2022-07-21T21:49:30.136Z] 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-21T21:49:30.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T21:49:30.519Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T21:49:30.519Z] b85a868b505f: Pulling fs layer [2022-07-21T21:49:30.519Z] e2be974225ed: Pulling fs layer [2022-07-21T21:49:30.519Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T21:49:30.519Z] 988bab9f4d93: Pulling fs layer [2022-07-21T21:49:30.519Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T21:49:30.519Z] eaf3925da568: Pulling fs layer [2022-07-21T21:49:30.519Z] bab4dde63d76: Pulling fs layer [2022-07-21T21:49:30.519Z] bde34c3a00c8: Pulling fs layer [2022-07-21T21:49:30.519Z] b352a97aabf1: Pulling fs layer [2022-07-21T21:49:30.519Z] 4872d77fe225: Pulling fs layer [2022-07-21T21:49:30.519Z] 5851b861e8e6: Pulling fs layer [2022-07-21T21:49:30.519Z] 988bab9f4d93: Waiting [2022-07-21T21:49:30.519Z] 1469e6f7b9e6: Waiting [2022-07-21T21:49:30.519Z] b352a97aabf1: Waiting [2022-07-21T21:49:30.519Z] eaf3925da568: Waiting [2022-07-21T21:49:30.519Z] bab4dde63d76: Waiting [2022-07-21T21:49:30.519Z] bde34c3a00c8: Waiting [2022-07-21T21:49:30.519Z] 4872d77fe225: Waiting [2022-07-21T21:49:30.519Z] 5851b861e8e6: Waiting [2022-07-21T21:49:30.519Z] e2be974225ed: Verifying Checksum [2022-07-21T21:49:30.519Z] e2be974225ed: Download complete [2022-07-21T21:49:30.519Z] 988bab9f4d93: Verifying Checksum [2022-07-21T21:49:30.519Z] 988bab9f4d93: Download complete [2022-07-21T21:49:30.781Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T21:49:30.781Z] 1469e6f7b9e6: Download complete [2022-07-21T21:49:30.781Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T21:49:30.781Z] 339a4e72a1f5: Download complete [2022-07-21T21:49:30.781Z] eaf3925da568: Verifying Checksum [2022-07-21T21:49:30.781Z] eaf3925da568: Download complete [2022-07-21T21:49:30.781Z] bde34c3a00c8: Download complete [2022-07-21T21:49:30.781Z] b352a97aabf1: Verifying Checksum [2022-07-21T21:49:30.781Z] b352a97aabf1: Download complete [2022-07-21T21:49:30.781Z] 4872d77fe225: Download complete [2022-07-21T21:49:30.781Z] 5851b861e8e6: Verifying Checksum [2022-07-21T21:49:30.781Z] 5851b861e8e6: Download complete [2022-07-21T21:49:30.781Z] b85a868b505f: Verifying Checksum [2022-07-21T21:49:30.781Z] b85a868b505f: Download complete [2022-07-21T21:49:31.042Z] bab4dde63d76: Verifying Checksum [2022-07-21T21:49:31.043Z] bab4dde63d76: Download complete [2022-07-21T21:49:32.425Z] b85a868b505f: Pull complete [2022-07-21T21:49:32.425Z] e2be974225ed: Pull complete [2022-07-21T21:49:32.997Z] 339a4e72a1f5: Pull complete [2022-07-21T21:49:32.997Z] 988bab9f4d93: Pull complete [2022-07-21T21:49:33.258Z] 1469e6f7b9e6: Pull complete [2022-07-21T21:49:33.258Z] eaf3925da568: Pull complete [2022-07-21T21:49:35.166Z] bab4dde63d76: Pull complete [2022-07-21T21:49:35.166Z] bde34c3a00c8: Pull complete [2022-07-21T21:49:35.430Z] b352a97aabf1: Pull complete [2022-07-21T21:49:35.430Z] 4872d77fe225: Pull complete [2022-07-21T21:49:35.430Z] 5851b861e8e6: Pull complete [2022-07-21T21:49:35.430Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T21:49:35.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T21:49:35.693Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:49:35.936Z] prd-ubuntu20.04-docker-8c-8g-20705 does not seem to be running inside a container [2022-07-21T21:49:35.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-116 -v /w/workspace/undry_device-onvif-camera_PR-116:/w/workspace/undry_device-onvif-camera_PR-116:rw,z -v /w/workspace/undry_device-onvif-camera_PR-116@tmp:/w/workspace/undry_device-onvif-camera_PR-116@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-21T21:49:37.605Z] $ docker top 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 -eo pid,comm [2022-07-21T21:49:37.683Z] 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-21T21:49:37.683Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T21:49:37.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T21:49:37.818Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T21:49:37.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T21:49:37.960Z] $ docker exec 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 ssh-agent [2022-07-21T21:49:38.078Z] SSH_AUTH_SOCK=/tmp/ssh-RNEBTB1MgvNI/agent.36 [2022-07-21T21:49:38.078Z] SSH_AGENT_PID=42 [2022-07-21T21:49:38.085Z] Running ssh-add (command line suppressed) [2022-07-21T21:49:38.196Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-116@tmp/private_key_5685040099990006033.key (/w/workspace/undry_device-onvif-camera_PR-116@tmp/private_key_5685040099990006033.key) [2022-07-21T21:49:38.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T21:49:38.546Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T21:49:38.582Z] $ docker exec --env ******** --env ******** 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 ssh-agent -k [2022-07-21T21:49:38.693Z] unset SSH_AUTH_SOCK; [2022-07-21T21:49:38.693Z] unset SSH_AGENT_PID; [2022-07-21T21:49:38.693Z] echo Agent pid 42 killed; [2022-07-21T21:49:38.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T21:49:38.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T21:49:38.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T21:49:38.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T21:49:38.920Z] $ docker exec 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 ssh-agent [2022-07-21T21:49:39.044Z] SSH_AUTH_SOCK=/tmp/ssh-THYDww1D2Ybm/agent.76 [2022-07-21T21:49:39.044Z] SSH_AGENT_PID=82 [2022-07-21T21:49:39.050Z] Running ssh-add (command line suppressed) [2022-07-21T21:49:39.171Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-116@tmp/private_key_9130309365502038135.key (/w/workspace/undry_device-onvif-camera_PR-116@tmp/private_key_9130309365502038135.key) [2022-07-21T21:49:39.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T21:49:39.520Z] + git semver init [2022-07-21T21:49:39.782Z] 2022-07-21 21:49:39,719 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T21:49:39.782Z] 2022-07-21 21:49:39,720 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-116/.semver [2022-07-21T21:49:39.782Z] 2022-07-21 21:49:39,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-116/.semver [2022-07-21T21:49:39.782Z] 2022-07-21 21:49:39,721 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-116/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-116, universal_newlines=False, shell=None, istream=None) [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,477 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-116/.git/info/exclude [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,478 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-116/.semver/PR-116 with force:False [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,478 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-116/.semver/PR-116 [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,482 [execute] INFO git cat-file --batch-check [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-116/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,488 [execute] INFO git cat-file --batch [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-116/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T21:49:40.725Z] 2022-07-21 21:49:40,493 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-116/.semver/PR-116 [2022-07-21T21:49:40.725Z] 0.0.0 [Pipeline] } [2022-07-21T21:49:40.753Z] $ docker exec --env ******** --env ******** 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 ssh-agent -k [2022-07-21T21:49:40.877Z] unset SSH_AUTH_SOCK; [2022-07-21T21:49:40.877Z] unset SSH_AGENT_PID; [2022-07-21T21:49:40.877Z] echo Agent pid 82 killed; [2022-07-21T21:49:40.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T21:49:41.332Z] + git semver [Pipeline] } [2022-07-21T21:49:41.620Z] $ docker stop --time=1 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 [2022-07-21T21:49:42.951Z] $ docker rm -f 47f545d2bbb59b7b114b5365b45217311bd0e120709a0e755e750ce3b7ea25a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T21:49:43.359Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T21:49:43.665Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T21:49:43.682Z] [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-21T21:49:44.219Z] provisioning config files... [2022-07-21T21:49:44.231Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-116@tmp/config1854757711259223929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:49:44.578Z] ---> docker-login.sh [2022-07-21T21:49:44.578Z] nexus3.edgexfoundry.org:10001 [2022-07-21T21:49:44.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:44.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:44.578Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:44.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:44.578Z] [2022-07-21T21:49:44.578Z] Login Succeeded [2022-07-21T21:49:44.578Z] nexus3.edgexfoundry.org:10002 [2022-07-21T21:49:44.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:44.840Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:44.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:44.840Z] [2022-07-21T21:49:44.840Z] Login Succeeded [2022-07-21T21:49:44.840Z] nexus3.edgexfoundry.org:10003 [2022-07-21T21:49:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:44.840Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:44.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:44.840Z] [2022-07-21T21:49:44.840Z] Login Succeeded [2022-07-21T21:49:44.840Z] nexus3.edgexfoundry.org:10004 [2022-07-21T21:49:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:45.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:45.101Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:45.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:45.101Z] [2022-07-21T21:49:45.101Z] Login Succeeded [2022-07-21T21:49:45.101Z] docker.io [2022-07-21T21:49:45.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:49:45.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:49:45.362Z] Configure a credential helper to remove this warning. See [2022-07-21T21:49:45.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:49:45.362Z] [2022-07-21T21:49:45.362Z] Login Succeeded [2022-07-21T21:49:45.362Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T21:49:45.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T21:49:45.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T21:49:45.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T21:49:45.659Z] ========================================================= [2022-07-21T21:49:45.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T21:49:45.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:49:46.133Z] + 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-21T21:49:46.133Z] Sending build context to Docker daemon 19.96MB [2022-07-21T21:49:46.133Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T21:49:46.133Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T21:49:46.400Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T21:49:46.400Z] 2408cc74d12b: Pulling fs layer [2022-07-21T21:49:46.400Z] ea60b727a1ce: Pulling fs layer [2022-07-21T21:49:46.400Z] 30c4a7721957: Pulling fs layer [2022-07-21T21:49:46.400Z] 370296b7ddb6: Pulling fs layer [2022-07-21T21:49:46.400Z] 7c6cee850709: Pulling fs layer [2022-07-21T21:49:46.400Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T21:49:46.400Z] d94ebbe4e438: Pulling fs layer [2022-07-21T21:49:46.400Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T21:49:46.400Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T21:49:46.400Z] 370296b7ddb6: Waiting [2022-07-21T21:49:46.401Z] 7c6cee850709: Waiting [2022-07-21T21:49:46.401Z] 39a5fcdaea64: Waiting [2022-07-21T21:49:46.401Z] d94ebbe4e438: Waiting [2022-07-21T21:49:46.401Z] bcfd1f05c69d: Waiting [2022-07-21T21:49:46.401Z] 59ccb84bbe0f: Waiting [2022-07-21T21:49:46.401Z] 30c4a7721957: Download complete [2022-07-21T21:49:46.401Z] ea60b727a1ce: Verifying Checksum [2022-07-21T21:49:46.401Z] ea60b727a1ce: Download complete [2022-07-21T21:49:46.401Z] 7c6cee850709: Download complete [2022-07-21T21:49:46.401Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T21:49:46.401Z] 39a5fcdaea64: Download complete [2022-07-21T21:49:46.401Z] 2408cc74d12b: Verifying Checksum [2022-07-21T21:49:46.401Z] 2408cc74d12b: Download complete [2022-07-21T21:49:46.401Z] d94ebbe4e438: Verifying Checksum [2022-07-21T21:49:46.401Z] d94ebbe4e438: Download complete [2022-07-21T21:49:46.401Z] 2408cc74d12b: Pull complete [2022-07-21T21:49:46.662Z] ea60b727a1ce: Pull complete [2022-07-21T21:49:46.662Z] 30c4a7721957: Pull complete [2022-07-21T21:49:46.925Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T21:49:46.925Z] 59ccb84bbe0f: Download complete [2022-07-21T21:49:46.925Z] bcfd1f05c69d: Download complete [2022-07-21T21:49:47.185Z] 370296b7ddb6: Verifying Checksum [2022-07-21T21:49:47.185Z] 370296b7ddb6: Download complete [2022-07-21T21:49:51.382Z] 370296b7ddb6: Pull complete [2022-07-21T21:49:51.382Z] 7c6cee850709: Pull complete [2022-07-21T21:49:51.382Z] 39a5fcdaea64: Pull complete [2022-07-21T21:49:51.382Z] d94ebbe4e438: Pull complete [2022-07-21T21:49:52.765Z] bcfd1f05c69d: Pull complete [2022-07-21T21:49:53.702Z] 59ccb84bbe0f: Pull complete [2022-07-21T21:49:53.702Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T21:49:53.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T21:49:53.702Z] ---> a4fb48ad2a94 [2022-07-21T21:49:53.702Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T21:49:55.616Z] ---> Running in ffc8bb802c2b [2022-07-21T21:49:55.616Z] Removing intermediate container ffc8bb802c2b [2022-07-21T21:49:55.616Z] ---> 103b2384cc34 [2022-07-21T21:49:55.616Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T21:49:55.616Z] ---> Running in 7371638eba2d [2022-07-21T21:49:55.616Z] Removing intermediate container 7371638eba2d [2022-07-21T21:49:55.616Z] ---> 033946079154 [2022-07-21T21:49:55.616Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T21:49:55.616Z] ---> Running in 2438de2b50cc [2022-07-21T21:49:55.616Z] Removing intermediate container 2438de2b50cc [2022-07-21T21:49:55.616Z] ---> 6e3b2d658955 [2022-07-21T21:49:55.616Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T21:49:55.616Z] ---> Running in 434bc75490ca [2022-07-21T21:49:55.875Z] Removing intermediate container 434bc75490ca [2022-07-21T21:49:55.875Z] ---> d433b8031c27 [2022-07-21T21:49:55.875Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T21:49:55.875Z] ---> Running in 313cee9ba50d [2022-07-21T21:49:56.445Z] Removing intermediate container 313cee9ba50d [2022-07-21T21:49:56.445Z] ---> 68178239d724 [2022-07-21T21:49:56.445Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T21:49:56.445Z] ---> Running in 7b03620e5ade [2022-07-21T21:49:56.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T21:49:57.650Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T21:49:57.910Z] OK: 211 MiB in 51 packages [2022-07-21T21:49:58.170Z] Removing intermediate container 7b03620e5ade [2022-07-21T21:49:58.170Z] ---> c1610aab56d5 [2022-07-21T21:49:58.170Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T21:49:58.170Z] ---> Running in 853ed95c748c [2022-07-21T21:49:58.431Z] Removing intermediate container 853ed95c748c [2022-07-21T21:49:58.431Z] ---> 47c957e6a000 [2022-07-21T21:49:58.431Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T21:49:58.431Z] ---> 3cb826312749 [2022-07-21T21:49:58.431Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T21:49:58.431Z] ---> Running in 73055d271ef3 [2022-07-21T21:49:59.059Z] Still waiting to schedule task [2022-07-21T21:49:59.059Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T21:50:20.389Z] Removing intermediate container 73055d271ef3 [2022-07-21T21:50:20.389Z] ---> a5ae7271fab7 [2022-07-21T21:50:20.389Z] Step 12/13 : COPY . . [2022-07-21T21:50:20.389Z] ---> 725df4e42103 [2022-07-21T21:50:20.389Z] Step 13/13 : RUN ${MAKE} [2022-07-21T21:50:20.389Z] ---> Running in f7da86b66cf5 [2022-07-21T21:50:20.389Z] noop [2022-07-21T21:50:20.389Z] Removing intermediate container f7da86b66cf5 [2022-07-21T21:50:20.389Z] ---> bf9689190d57 [2022-07-21T21:50:20.389Z] Successfully built bf9689190d57 [2022-07-21T21:50:20.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:50:20.853Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T21:50:20.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:50:21.017Z] prd-ubuntu20.04-docker-8c-8g-20705 does not seem to be running inside a container [2022-07-21T21:50:21.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-116 -v /w/workspace/undry_device-onvif-camera_PR-116:/w/workspace/undry_device-onvif-camera_PR-116:rw,z -v /w/workspace/undry_device-onvif-camera_PR-116@tmp:/w/workspace/undry_device-onvif-camera_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T21:50:21.449Z] $ docker top 7c119d2ade033a2f8a15a4099ecfced4e2ee3a9e4c77f3cc42210904bf98d9df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T21:50:21.853Z] + go version [2022-07-21T21:50:21.853Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T21:50:21.886Z] $ docker stop --time=1 7c119d2ade033a2f8a15a4099ecfced4e2ee3a9e4c77f3cc42210904bf98d9df [2022-07-21T21:50:23.150Z] $ docker rm -f 7c119d2ade033a2f8a15a4099ecfced4e2ee3a9e4c77f3cc42210904bf98d9df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:50:23.873Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T21:50:23.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:50:24.033Z] prd-ubuntu20.04-docker-8c-8g-20705 does not seem to be running inside a container [2022-07-21T21:50:24.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-116 -v /w/workspace/undry_device-onvif-camera_PR-116:/w/workspace/undry_device-onvif-camera_PR-116:rw,z -v /w/workspace/undry_device-onvif-camera_PR-116@tmp:/w/workspace/undry_device-onvif-camera_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T21:50:24.463Z] $ docker top c0585f522dd9a25159bbf37deef8da211d96edba83e5fee47da223d427fc9434 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T21:50:24.945Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-116 [Pipeline] fileExists [Pipeline] sh [2022-07-21T21:50:25.312Z] + make test [2022-07-21T21:50:25.312Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T21:50:25.572Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T21:50:35.556Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T21:50:35.556Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.022s coverage: 10.9% of statements [2022-07-21T21:50:35.556Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T21:50:38.849Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.866s coverage: 13.8% of statements [2022-07-21T21:50:45.419Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T21:50:47.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T21:50:47.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T21:50:47.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T21:50:48.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T21:50:48.273Z] $ docker stop --time=1 c0585f522dd9a25159bbf37deef8da211d96edba83e5fee47da223d427fc9434 [2022-07-21T21:50:50.166Z] $ docker rm -f c0585f522dd9a25159bbf37deef8da211d96edba83e5fee47da223d427fc9434 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T21:50:50.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T21:50:50.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T21:50:51.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T21:50:51.727Z] + ls -al . [2022-07-21T21:50:51.728Z] total 236 [2022-07-21T21:50:51.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 21:50 . [2022-07-21T21:50:51.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:49 .. [2022-07-21T21:50:51.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 21:50 .git [2022-07-21T21:50:51.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 21:49 .github [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 21:49 .gitignore [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 21:49 .golangci.yml [2022-07-21T21:50:51.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 21:49 .semver [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 21:49 Attribution.txt [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 21:49 CHANGELOG.md [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 21:49 Dockerfile [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 21:49 GOVERNANCE.md [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 21:49 Jenkinsfile [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 21:49 LICENSE [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 21:49 Makefile [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 21:49 OWNERS.md [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 21:49 README.md [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 21:49 VERSION [2022-07-21T21:50:51.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 21:49 bin [2022-07-21T21:50:51.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 21:49 cmd [2022-07-21T21:50:51.728Z] -rw-r--r-- 1 jenkins jenkins 78811 Jul 21 21:50 coverage.out [2022-07-21T21:50:51.728Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 21:49 doc [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 21:49 go.mod [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 21:49 go.sum [2022-07-21T21:50:51.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:49 internal [2022-07-21T21:50:51.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:49 snap [2022-07-21T21:50:51.728Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:50:52.134Z] + 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=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf --label arch=amd64 --label version=0.0.0 . [2022-07-21T21:50:52.134Z] Sending build context to Docker daemon 20.04MB [2022-07-21T21:50:52.134Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T21:50:52.134Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T21:50:52.134Z] ---> bf9689190d57 [2022-07-21T21:50:52.134Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T21:50:52.399Z] ---> Running in 178a53f7dff5 [2022-07-21T21:50:52.399Z] Removing intermediate container 178a53f7dff5 [2022-07-21T21:50:52.399Z] ---> 8bcbfa63b597 [2022-07-21T21:50:52.399Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T21:50:52.399Z] ---> Running in d18448eb856c [2022-07-21T21:50:52.399Z] Removing intermediate container d18448eb856c [2022-07-21T21:50:52.399Z] ---> 15d94601e492 [2022-07-21T21:50:52.399Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T21:50:52.659Z] ---> Running in f5ddc751d08d [2022-07-21T21:50:52.659Z] Removing intermediate container f5ddc751d08d [2022-07-21T21:50:52.659Z] ---> e820c3923884 [2022-07-21T21:50:52.659Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T21:50:52.659Z] ---> Running in fcf96e6cb40f [2022-07-21T21:50:52.659Z] Removing intermediate container fcf96e6cb40f [2022-07-21T21:50:52.659Z] ---> 60aeba9c5877 [2022-07-21T21:50:52.659Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T21:50:52.917Z] ---> Running in fa4aab18b661 [2022-07-21T21:50:53.490Z] Removing intermediate container fa4aab18b661 [2022-07-21T21:50:53.490Z] ---> 72b52cc3e574 [2022-07-21T21:50:53.490Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T21:50:53.490Z] ---> Running in 45125097ec59 [2022-07-21T21:50:53.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T21:50:54.694Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T21:50:54.694Z] OK: 211 MiB in 51 packages [2022-07-21T21:50:55.269Z] Removing intermediate container 45125097ec59 [2022-07-21T21:50:55.269Z] ---> 73a15a82dcda [2022-07-21T21:50:55.269Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T21:50:55.269Z] ---> Running in f5b0ba6eb48b [2022-07-21T21:50:55.269Z] Removing intermediate container f5b0ba6eb48b [2022-07-21T21:50:55.269Z] ---> 157e37259221 [2022-07-21T21:50:55.269Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T21:50:55.269Z] ---> 1a73c3b557d1 [2022-07-21T21:50:55.269Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T21:50:55.530Z] ---> Running in 172dfb7d03bb [2022-07-21T21:50:56.099Z] Removing intermediate container 172dfb7d03bb [2022-07-21T21:50:56.099Z] ---> 21a94fad4c6b [2022-07-21T21:50:56.099Z] Step 12/26 : COPY . . [2022-07-21T21:50:56.668Z] ---> 679f8df5cfef [2022-07-21T21:50:56.668Z] Step 13/26 : RUN ${MAKE} [2022-07-21T21:50:56.669Z] ---> Running in 7f57d3a72e05 [2022-07-21T21:50:56.928Z] 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-21T21:51:18.877Z] Removing intermediate container 7f57d3a72e05 [2022-07-21T21:51:18.877Z] ---> 1cb74ecca901 [2022-07-21T21:51:18.877Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T21:51:18.877Z] 3.15: Pulling from library/alpine [2022-07-21T21:51:18.877Z] ab6db1bc80d0: Pulling fs layer [2022-07-21T21:51:18.877Z] ab6db1bc80d0: Download complete [2022-07-21T21:51:18.877Z] ab6db1bc80d0: Pull complete [2022-07-21T21:51:18.877Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T21:51:18.877Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T21:51:18.877Z] ---> 2720e26172a0 [2022-07-21T21:51:18.877Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T21:51:18.877Z] ---> Running in 39f6a77c0a06 [2022-07-21T21:51:18.877Z] Removing intermediate container 39f6a77c0a06 [2022-07-21T21:51:18.877Z] ---> a212abed306a [2022-07-21T21:51:18.877Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T21:51:18.877Z] ---> Running in 866b7ead1b41 [2022-07-21T21:51:18.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T21:51:18.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T21:51:18.877Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T21:51:18.877Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T21:51:18.877Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T21:51:18.877Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T21:51:18.877Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T21:51:18.877Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T21:51:18.877Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T21:51:18.877Z] OK: 8 MiB in 20 packages [2022-07-21T21:51:18.877Z] Removing intermediate container 866b7ead1b41 [2022-07-21T21:51:18.877Z] ---> 609d57811d74 [2022-07-21T21:51:18.877Z] Step 17/26 : WORKDIR / [2022-07-21T21:51:18.877Z] ---> Running in 83915296136c [2022-07-21T21:51:18.877Z] Removing intermediate container 83915296136c [2022-07-21T21:51:18.877Z] ---> c3324c82618b [2022-07-21T21:51:18.877Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T21:51:18.877Z] ---> 7265d8613f87 [2022-07-21T21:51:18.877Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T21:51:18.877Z] ---> 9c051e03cf8c [2022-07-21T21:51:18.877Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T21:51:18.877Z] ---> d3b53acc78ef [2022-07-21T21:51:18.877Z] Step 21/26 : EXPOSE 59984 [2022-07-21T21:51:18.877Z] ---> Running in 1fee5ab43649 [2022-07-21T21:51:18.877Z] Removing intermediate container 1fee5ab43649 [2022-07-21T21:51:18.877Z] ---> 3d8d548f9133 [2022-07-21T21:51:18.877Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T21:51:18.877Z] ---> Running in d689dc8289b8 [2022-07-21T21:51:19.137Z] Removing intermediate container d689dc8289b8 [2022-07-21T21:51:19.137Z] ---> 68aa96d6d270 [2022-07-21T21:51:19.137Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T21:51:19.137Z] ---> Running in 658d58b9bb2c [2022-07-21T21:51:19.137Z] Removing intermediate container 658d58b9bb2c [2022-07-21T21:51:19.137Z] ---> 7fb70d102bc3 [2022-07-21T21:51:19.137Z] Step 24/26 : LABEL arch=amd64 [2022-07-21T21:51:19.137Z] ---> Running in bc2a2abe7ac7 [2022-07-21T21:51:19.137Z] Removing intermediate container bc2a2abe7ac7 [2022-07-21T21:51:19.137Z] ---> e0543e95bf1e [2022-07-21T21:51:19.137Z] Step 25/26 : LABEL git_sha=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [2022-07-21T21:51:19.397Z] ---> Running in 9b25ae0a26de [2022-07-21T21:51:19.397Z] Removing intermediate container 9b25ae0a26de [2022-07-21T21:51:19.397Z] ---> 849c6f0ba1a7 [2022-07-21T21:51:19.397Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T21:51:19.397Z] ---> Running in 4a2ea5b03232 [2022-07-21T21:51:19.397Z] Removing intermediate container 4a2ea5b03232 [2022-07-21T21:51:19.397Z] ---> acc7704d5a11 [2022-07-21T21:51:19.397Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T21:51:19.397Z] Successfully built acc7704d5a11 [2022-07-21T21:51:19.397Z] 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-21T21:51:20.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T21:51:20.216Z] [2022-07-21T21:51:20.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:51:20.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T21:51:20.594Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T21:51:20.594Z] 5eb5b503b376: Pulling fs layer [2022-07-21T21:51:20.594Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T21:51:20.594Z] ec43610c2a17: Pulling fs layer [2022-07-21T21:51:20.594Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T21:51:20.594Z] 33b1e0a273af: Pulling fs layer [2022-07-21T21:51:20.594Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T21:51:20.594Z] 2f39f015ded8: Pulling fs layer [2022-07-21T21:51:20.594Z] 33b1e0a273af: Waiting [2022-07-21T21:51:20.594Z] 5d3b04190fa2: Waiting [2022-07-21T21:51:20.594Z] 3a2ae6a8a46f: Waiting [2022-07-21T21:51:20.594Z] 2f39f015ded8: Waiting [2022-07-21T21:51:20.594Z] 5c69ac0246d0: Verifying Checksum [2022-07-21T21:51:20.594Z] 5c69ac0246d0: Download complete [2022-07-21T21:51:20.594Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-21T21:51:20.594Z] 3a2ae6a8a46f: Download complete [2022-07-21T21:51:20.594Z] 33b1e0a273af: Verifying Checksum [2022-07-21T21:51:20.594Z] 33b1e0a273af: Download complete [2022-07-21T21:51:20.594Z] ec43610c2a17: Verifying Checksum [2022-07-21T21:51:20.594Z] ec43610c2a17: Download complete [2022-07-21T21:51:20.854Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T21:51:20.854Z] 5d3b04190fa2: Download complete [2022-07-21T21:51:20.854Z] 5eb5b503b376: Download complete [2022-07-21T21:51:21.420Z] 2f39f015ded8: Download complete [2022-07-21T21:51:21.990Z] 5eb5b503b376: Pull complete [2022-07-21T21:51:21.990Z] 5c69ac0246d0: Pull complete [2022-07-21T21:51:22.558Z] ec43610c2a17: Pull complete [2022-07-21T21:51:22.558Z] 3a2ae6a8a46f: Pull complete [2022-07-21T21:51:22.820Z] 33b1e0a273af: Pull complete [2022-07-21T21:51:22.820Z] 5d3b04190fa2: Pull complete [2022-07-21T21:51:27.022Z] 2f39f015ded8: Pull complete [2022-07-21T21:51:27.022Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T21:51:27.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T21:51:27.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:51:27.251Z] prd-ubuntu20.04-docker-8c-8g-20705 does not seem to be running inside a container [2022-07-21T21:51:27.292Z] $ 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-116 -v /w/workspace/undry_device-onvif-camera_PR-116:/w/workspace/undry_device-onvif-camera_PR-116:rw,z -v /w/workspace/undry_device-onvif-camera_PR-116@tmp:/w/workspace/undry_device-onvif-camera_PR-116@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-21T21:51:29.076Z] $ docker top df80dc79d243ab38f4dc060ea3b37a9763daa1ce0ac014488908bfdd97cf517f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:51:29.542Z] ---> job-cost.sh [2022-07-21T21:51:29.542Z] lf-activate-venv: SKIPPING [2022-07-21T21:51:29.542Z] INFO: No Stack... [2022-07-21T21:51:29.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T21:51:30.380Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T21:51:30.693Z] + + cat /w/workspace/undry_device-onvif-camera_PR-116/archives/cost.csv [2022-07-21T21:51:30.693Z] cut -d, -f6 [Pipeline] lock [2022-07-21T21:51:30.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [2022-07-21T21:51:30.737Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] did not exist. Created. [2022-07-21T21:51:30.737Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T21:51:31.128Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T21:51:31.179Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T21:51:31.207Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T21:51:31.290Z] $ docker stop --time=1 df80dc79d243ab38f4dc060ea3b37a9763daa1ce0ac014488908bfdd97cf517f [2022-07-21T21:51:32.468Z] $ docker rm -f df80dc79d243ab38f4dc060ea3b37a9763daa1ce0ac014488908bfdd97cf517f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T21:51:37.162Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20706 in /w/workspace/undry_device-onvif-camera_PR-116 [Pipeline] { [Pipeline] ws [2022-07-21T21:51:37.204Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-21T21:51:37.290Z] Selected Git installation does not exist. Using Default [2022-07-21T21:51:37.290Z] The recommended git tool is: NONE [2022-07-21T21:51:45.050Z] using credential edgex-jenkins-ssh [2022-07-21T21:51:45.069Z] Cloning the remote Git repository [2022-07-21T21:51:45.184Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T21:51:45.376Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-21T21:51:45.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T21:51:45.631Z] > git --version # timeout=10 [2022-07-21T21:51:45.672Z] > git --version # 'git version 2.25.1' [2022-07-21T21:51:45.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T21:51:45.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T21:51:47.558Z] Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [2022-07-21T21:51:46.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T21:51:46.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T21:51:46.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T21:51:47.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T21:51:47.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T21:51:47.048Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T21:51:47.582Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T21:51:47.618Z] > git checkout -f 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf # timeout=10 [2022-07-21T21:51:47.955Z] Merge succeeded, producing 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [2022-07-21T21:51:47.955Z] Checking out Revision 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf (PR-116) [2022-07-21T21:51:47.861Z] > git remote # timeout=10 [2022-07-21T21:51:47.879Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T21:51:47.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T21:51:47.916Z] > git merge 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 [2022-07-21T21:51:47.940Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T21:51:47.965Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T21:51:47.982Z] > git checkout -f 1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf # timeout=10 [2022-07-21T21:51:52.300Z] Commit message: "fix: retry adding provision watchers if failed" [2022-07-21T21:51:52.361Z] > git --version # timeout=10 [2022-07-21T21:51:52.371Z] > git --version # 'git version 2.25.1' [2022-07-21T21:51:52.387Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T21:51:53.567Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T21:51:53.567Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T21:51:53.567Z] Dload Upload Total Spent Left Speed [2022-07-21T21:51:53.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 [Pipeline] sh [2022-07-21T21:51:54.344Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T21:51:54.703Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T21:51:54.703Z] + sudo tee /etc/docker/daemon.new [2022-07-21T21:51:54.703Z] { [2022-07-21T21:51:54.703Z] "registry-mirrors": [ [2022-07-21T21:51:54.703Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T21:51:54.703Z] ], [2022-07-21T21:51:54.703Z] "bip": "10.250.0.254/24", [2022-07-21T21:51:54.703Z] "hosts": [ [2022-07-21T21:51:54.703Z] "tcp://0.0.0.0:5555", [2022-07-21T21:51:54.703Z] "unix:///var/run/docker.sock" [2022-07-21T21:51:54.703Z] ], [2022-07-21T21:51:54.703Z] "mtu": 1458, [2022-07-21T21:51:54.703Z] "selinux-enabled": true, [2022-07-21T21:51:54.703Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T21:51:54.703Z] } [Pipeline] sh [2022-07-21T21:51:55.056Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T21:51:55.410Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T21:52:13.981Z] provisioning config files... [2022-07-21T21:52:14.010Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config90722733606712887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:52:14.422Z] ---> docker-login.sh [2022-07-21T21:52:14.422Z] nexus3.edgexfoundry.org:10001 [2022-07-21T21:52:15.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:52:15.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:52:15.294Z] Configure a credential helper to remove this warning. See [2022-07-21T21:52:15.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:52:15.294Z] [2022-07-21T21:52:15.294Z] Login Succeeded [2022-07-21T21:52:15.294Z] nexus3.edgexfoundry.org:10002 [2022-07-21T21:52:15.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:52:15.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:52:15.844Z] Configure a credential helper to remove this warning. See [2022-07-21T21:52:15.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:52:15.844Z] [2022-07-21T21:52:15.844Z] Login Succeeded [2022-07-21T21:52:15.844Z] nexus3.edgexfoundry.org:10003 [2022-07-21T21:52:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:52:16.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:52:16.122Z] Configure a credential helper to remove this warning. See [2022-07-21T21:52:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:52:16.122Z] [2022-07-21T21:52:16.122Z] Login Succeeded [2022-07-21T21:52:16.122Z] nexus3.edgexfoundry.org:10004 [2022-07-21T21:52:16.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:52:16.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:52:16.721Z] Configure a credential helper to remove this warning. See [2022-07-21T21:52:16.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:52:16.721Z] [2022-07-21T21:52:16.721Z] Login Succeeded [2022-07-21T21:52:16.721Z] docker.io [2022-07-21T21:52:16.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T21:52:17.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T21:52:17.587Z] Configure a credential helper to remove this warning. See [2022-07-21T21:52:17.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T21:52:17.587Z] [2022-07-21T21:52:17.587Z] Login Succeeded [2022-07-21T21:52:17.587Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T21:52:17.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T21:52:17.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T21:52:18.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T21:52:18.044Z] ========================================================= [2022-07-21T21:52:18.044Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T21:52:18.044Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:52:18.548Z] + 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-21T21:52:19.174Z] Sending build context to Docker daemon 13.61MB [2022-07-21T21:52:19.174Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T21:52:19.174Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T21:52:19.174Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T21:52:19.174Z] b3c136eddcbf: Pulling fs layer [2022-07-21T21:52:19.174Z] c0a3192eca97: Pulling fs layer [2022-07-21T21:52:19.174Z] a050256f5b6f: Pulling fs layer [2022-07-21T21:52:19.174Z] 656be50a0ddc: Pulling fs layer [2022-07-21T21:52:19.174Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T21:52:19.174Z] 46d945488cbd: Pulling fs layer [2022-07-21T21:52:19.174Z] 8a5474983e97: Pulling fs layer [2022-07-21T21:52:19.174Z] 329c88fbcd65: Pulling fs layer [2022-07-21T21:52:19.174Z] 46d945488cbd: Waiting [2022-07-21T21:52:19.174Z] 8a5474983e97: Waiting [2022-07-21T21:52:19.174Z] 2bbca73fdf42: Waiting [2022-07-21T21:52:19.174Z] 656be50a0ddc: Waiting [2022-07-21T21:52:19.174Z] 329c88fbcd65: Waiting [2022-07-21T21:52:19.174Z] a050256f5b6f: Verifying Checksum [2022-07-21T21:52:19.174Z] a050256f5b6f: Download complete [2022-07-21T21:52:19.174Z] c0a3192eca97: Download complete [2022-07-21T21:52:19.451Z] 2bbca73fdf42: Verifying Checksum [2022-07-21T21:52:19.451Z] 2bbca73fdf42: Download complete [2022-07-21T21:52:19.451Z] b3c136eddcbf: Download complete [2022-07-21T21:52:19.451Z] 46d945488cbd: Verifying Checksum [2022-07-21T21:52:19.451Z] 46d945488cbd: Download complete [2022-07-21T21:52:20.446Z] b3c136eddcbf: Pull complete [2022-07-21T21:52:20.446Z] 329c88fbcd65: Verifying Checksum [2022-07-21T21:52:20.446Z] 329c88fbcd65: Download complete [2022-07-21T21:52:21.049Z] c0a3192eca97: Pull complete [2022-07-21T21:52:21.049Z] a050256f5b6f: Pull complete [2022-07-21T21:52:21.651Z] 8a5474983e97: Verifying Checksum [2022-07-21T21:52:21.651Z] 8a5474983e97: Download complete [2022-07-21T21:52:22.256Z] 656be50a0ddc: Verifying Checksum [2022-07-21T21:52:22.256Z] 656be50a0ddc: Download complete [2022-07-21T21:52:34.776Z] 656be50a0ddc: Pull complete [2022-07-21T21:52:35.052Z] 2bbca73fdf42: Pull complete [2022-07-21T21:52:35.326Z] 46d945488cbd: Pull complete [2022-07-21T21:52:42.060Z] 8a5474983e97: Pull complete [2022-07-21T21:52:44.042Z] 329c88fbcd65: Pull complete [2022-07-21T21:52:44.042Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T21:52:44.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T21:52:44.042Z] ---> ff4287adb874 [2022-07-21T21:52:44.042Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T21:52:45.023Z] ---> Running in 2b294544c132 [2022-07-21T21:52:45.023Z] Removing intermediate container 2b294544c132 [2022-07-21T21:52:45.023Z] ---> 823248c5fc6d [2022-07-21T21:52:45.023Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T21:52:45.299Z] ---> Running in 36da2c47b184 [2022-07-21T21:52:45.573Z] Removing intermediate container 36da2c47b184 [2022-07-21T21:52:45.573Z] ---> be28c33069d5 [2022-07-21T21:52:45.573Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T21:52:45.573Z] ---> Running in f7bf79c3121a [2022-07-21T21:52:45.846Z] Removing intermediate container f7bf79c3121a [2022-07-21T21:52:45.846Z] ---> 194b39c478de [2022-07-21T21:52:45.846Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T21:52:45.846Z] ---> Running in a940ad36f346 [2022-07-21T21:52:46.121Z] Removing intermediate container a940ad36f346 [2022-07-21T21:52:46.121Z] ---> a02b9fb2e78c [2022-07-21T21:52:46.121Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T21:52:46.121Z] ---> Running in 489b44a4d200 [2022-07-21T21:52:48.110Z] Removing intermediate container 489b44a4d200 [2022-07-21T21:52:48.110Z] ---> a1f13e8146b2 [2022-07-21T21:52:48.110Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T21:52:48.110Z] ---> Running in c582c8b08e50 [2022-07-21T21:52:50.749Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T21:52:51.346Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T21:52:51.941Z] OK: 221 MiB in 51 packages [2022-07-21T21:52:52.937Z] Removing intermediate container c582c8b08e50 [2022-07-21T21:52:52.937Z] ---> aa28e857839b [2022-07-21T21:52:52.937Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T21:52:52.937Z] ---> Running in ec25778b78d0 [2022-07-21T21:52:53.213Z] Removing intermediate container ec25778b78d0 [2022-07-21T21:52:53.213Z] ---> ebcf8a84a564 [2022-07-21T21:52:53.213Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T21:52:53.812Z] ---> c83800b0e8f1 [2022-07-21T21:52:53.812Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T21:52:53.812Z] ---> Running in ff1f87414795 [2022-07-21T21:53:40.831Z] Removing intermediate container ff1f87414795 [2022-07-21T21:53:40.831Z] ---> 4fda56b37305 [2022-07-21T21:53:40.831Z] Step 12/13 : COPY . . [2022-07-21T21:53:40.831Z] ---> d505289b41fa [2022-07-21T21:53:40.831Z] Step 13/13 : RUN ${MAKE} [2022-07-21T21:53:40.831Z] ---> Running in 4e4994cb695c [2022-07-21T21:53:40.831Z] noop [2022-07-21T21:53:40.831Z] Removing intermediate container 4e4994cb695c [2022-07-21T21:53:40.831Z] ---> e0d2ad6b6154 [2022-07-21T21:53:40.831Z] Successfully built e0d2ad6b6154 [2022-07-21T21:53:40.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:53:41.329Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T21:53:41.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:53:41.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-20706 does not seem to be running inside a container [2022-07-21T21:53:41.753Z] $ 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-21T21:53:42.998Z] $ docker top f937b9f8fcdfc6a41e7d23730e33c215caae750446c87b1075da4d282494e84c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T21:53:43.942Z] + go version [2022-07-21T21:53:43.942Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T21:53:43.987Z] $ docker stop --time=1 f937b9f8fcdfc6a41e7d23730e33c215caae750446c87b1075da4d282494e84c [2022-07-21T21:53:45.663Z] $ docker rm -f f937b9f8fcdfc6a41e7d23730e33c215caae750446c87b1075da4d282494e84c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:53:46.571Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T21:53:46.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:53:46.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-20706 does not seem to be running inside a container [2022-07-21T21:53:46.970Z] $ 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-21T21:53:48.259Z] $ docker top c883c30600ecd2c1af9403da6090b9a93098bc85709896c80d715bf29e550ba8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T21:53:49.212Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-21T21:53:49.933Z] + make test [2022-07-21T21:53:49.933Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T21:53:51.370Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T21:55:13.219Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T21:55:17.566Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.101s coverage: 10.9% of statements [2022-07-21T21:55:17.566Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T21:55:44.406Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.437s coverage: 13.8% of statements [2022-07-21T21:55:44.406Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T21:55:44.406Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T21:56:02.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T21:56:02.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T21:56:02.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T21:56:04.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T21:56:04.509Z] $ docker stop --time=1 c883c30600ecd2c1af9403da6090b9a93098bc85709896c80d715bf29e550ba8 [2022-07-21T21:56:06.301Z] $ docker rm -f c883c30600ecd2c1af9403da6090b9a93098bc85709896c80d715bf29e550ba8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T21:56:07.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T21:56:07.385Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T21:56:07.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T21:56:08.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T21:56:08.907Z] + ls -al . [2022-07-21T21:56:08.907Z] total 232 [2022-07-21T21:56:08.907Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 21:56 . [2022-07-21T21:56:08.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:51 .. [2022-07-21T21:56:08.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 21:51 .git [2022-07-21T21:56:08.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 21:51 .github [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 21:51 .gitignore [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 21:51 .golangci.yml [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 21:51 Attribution.txt [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 21:51 CHANGELOG.md [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 21:51 Dockerfile [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 21:51 GOVERNANCE.md [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 21:51 Jenkinsfile [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 21:51 LICENSE [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 21:51 Makefile [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 21:51 OWNERS.md [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 21:51 README.md [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 21:49 VERSION [2022-07-21T21:56:08.907Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 21:51 bin [2022-07-21T21:56:08.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 21:51 cmd [2022-07-21T21:56:08.907Z] -rw-r--r-- 1 jenkins jenkins 78811 Jul 21 21:55 coverage.out [2022-07-21T21:56:08.907Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 21:51 doc [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 21:51 go.mod [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 21:51 go.sum [2022-07-21T21:56:08.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:51 internal [2022-07-21T21:56:08.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 21:51 snap [2022-07-21T21:56:08.907Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:56:09.341Z] + 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=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf --label arch=arm64 --label version=0.0.0 . [2022-07-21T21:56:09.941Z] Sending build context to Docker daemon 13.69MB [2022-07-21T21:56:09.941Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T21:56:09.941Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T21:56:09.941Z] ---> e0d2ad6b6154 [2022-07-21T21:56:09.941Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T21:56:09.941Z] ---> Running in 39e34b666730 [2022-07-21T21:56:10.220Z] Removing intermediate container 39e34b666730 [2022-07-21T21:56:10.220Z] ---> 5bd197d21d01 [2022-07-21T21:56:10.220Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T21:56:10.497Z] ---> Running in 28f0df3169d3 [2022-07-21T21:56:10.771Z] Removing intermediate container 28f0df3169d3 [2022-07-21T21:56:10.771Z] ---> b60ec2f994fe [2022-07-21T21:56:10.771Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T21:56:10.771Z] ---> Running in 12dde3e9d903 [2022-07-21T21:56:11.055Z] Removing intermediate container 12dde3e9d903 [2022-07-21T21:56:11.055Z] ---> 5cfbde646b6b [2022-07-21T21:56:11.055Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T21:56:11.055Z] ---> Running in 3ddcafe9284b [2022-07-21T21:56:11.353Z] Removing intermediate container 3ddcafe9284b [2022-07-21T21:56:11.353Z] ---> f0b6faf2cb66 [2022-07-21T21:56:11.353Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T21:56:11.645Z] ---> Running in 78a880312581 [2022-07-21T21:56:13.095Z] Removing intermediate container 78a880312581 [2022-07-21T21:56:13.095Z] ---> 677ac0cdef88 [2022-07-21T21:56:13.095Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T21:56:13.095Z] ---> Running in 03496320a748 [2022-07-21T21:56:14.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T21:56:15.061Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T21:56:16.043Z] OK: 221 MiB in 51 packages [2022-07-21T21:56:16.641Z] Removing intermediate container 03496320a748 [2022-07-21T21:56:16.641Z] ---> 97d664a8f28e [2022-07-21T21:56:16.641Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T21:56:16.641Z] ---> Running in 4d23ebcb5881 [2022-07-21T21:56:16.932Z] Removing intermediate container 4d23ebcb5881 [2022-07-21T21:56:16.932Z] ---> e5339b4610e1 [2022-07-21T21:56:16.932Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T21:56:17.530Z] ---> 788206d17460 [2022-07-21T21:56:17.530Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T21:56:17.530Z] ---> Running in b50af84573cc [2022-07-21T21:56:19.513Z] Removing intermediate container b50af84573cc [2022-07-21T21:56:19.513Z] ---> 280a7cf6ae99 [2022-07-21T21:56:19.513Z] Step 12/26 : COPY . . [2022-07-21T21:56:20.960Z] ---> c968e8ce6783 [2022-07-21T21:56:20.960Z] Step 13/26 : RUN ${MAKE} [2022-07-21T21:56:20.960Z] ---> Running in c7eb97c7c0d6 [2022-07-21T21:56:21.946Z] 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-21T21:58:28.892Z] Removing intermediate container c7eb97c7c0d6 [2022-07-21T21:58:28.892Z] ---> d0b1df97d02a [2022-07-21T21:58:28.892Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T21:58:28.892Z] 3.15: Pulling from library/alpine [2022-07-21T21:58:28.892Z] e0295fd11fe2: Pulling fs layer [2022-07-21T21:58:28.892Z] e0295fd11fe2: Verifying Checksum [2022-07-21T21:58:28.892Z] e0295fd11fe2: Download complete [2022-07-21T21:58:28.892Z] e0295fd11fe2: Pull complete [2022-07-21T21:58:28.892Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T21:58:28.892Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T21:58:28.892Z] ---> 60f2846fe774 [2022-07-21T21:58:28.892Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T21:58:28.892Z] ---> Running in 4e3465abf837 [2022-07-21T21:58:28.892Z] Removing intermediate container 4e3465abf837 [2022-07-21T21:58:28.892Z] ---> 3a0390c7efd5 [2022-07-21T21:58:28.892Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T21:58:28.892Z] ---> Running in 36e77485c67d [2022-07-21T21:58:28.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T21:58:28.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T21:58:29.486Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T21:58:29.486Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T21:58:29.486Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T21:58:29.486Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T21:58:29.486Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T21:58:29.486Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T21:58:29.486Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T21:58:29.486Z] OK: 8 MiB in 20 packages [2022-07-21T21:58:30.474Z] Removing intermediate container 36e77485c67d [2022-07-21T21:58:30.474Z] ---> dc1903cdfa70 [2022-07-21T21:58:30.474Z] Step 17/26 : WORKDIR / [2022-07-21T21:58:30.474Z] ---> Running in 4e82b3c8dfee [2022-07-21T21:58:30.749Z] Removing intermediate container 4e82b3c8dfee [2022-07-21T21:58:30.749Z] ---> 1938611c8ff6 [2022-07-21T21:58:30.749Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T21:58:32.180Z] ---> 8eab7082bd55 [2022-07-21T21:58:32.180Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T21:58:32.781Z] ---> 85382e7168b4 [2022-07-21T21:58:32.781Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T21:58:33.382Z] ---> 30cf9744e848 [2022-07-21T21:58:33.382Z] Step 21/26 : EXPOSE 59984 [2022-07-21T21:58:33.382Z] ---> Running in 2c4176e2ec86 [2022-07-21T21:58:33.660Z] Removing intermediate container 2c4176e2ec86 [2022-07-21T21:58:33.660Z] ---> 22a21b168514 [2022-07-21T21:58:33.660Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T21:58:33.660Z] ---> Running in 928e5ec0cb1b [2022-07-21T21:58:33.939Z] Removing intermediate container 928e5ec0cb1b [2022-07-21T21:58:33.939Z] ---> a6c735a0a8f0 [2022-07-21T21:58:33.939Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T21:58:34.213Z] ---> Running in 761ba152994f [2022-07-21T21:58:34.487Z] Removing intermediate container 761ba152994f [2022-07-21T21:58:34.487Z] ---> b5e3e1eb566c [2022-07-21T21:58:34.487Z] Step 24/26 : LABEL arch=arm64 [2022-07-21T21:58:34.487Z] ---> Running in d86ca9aefcb8 [2022-07-21T21:58:34.762Z] Removing intermediate container d86ca9aefcb8 [2022-07-21T21:58:34.762Z] ---> 179034a4438b [2022-07-21T21:58:34.762Z] Step 25/26 : LABEL git_sha=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [2022-07-21T21:58:34.762Z] ---> Running in 5e9bce045553 [2022-07-21T21:58:35.038Z] Removing intermediate container 5e9bce045553 [2022-07-21T21:58:35.038Z] ---> ce874cf8069a [2022-07-21T21:58:35.038Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T21:58:35.321Z] ---> Running in ca011143635c [2022-07-21T21:58:35.594Z] Removing intermediate container ca011143635c [2022-07-21T21:58:35.594Z] ---> 5e0fbabfcc77 [2022-07-21T21:58:35.594Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T21:58:35.594Z] Successfully built 5e0fbabfcc77 [2022-07-21T21:58:35.594Z] 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-21T21:58:36.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T21:58:36.421Z] [2022-07-21T21:58:36.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:58:36.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T21:58:37.125Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T21:58:37.125Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T21:58:37.125Z] 04944245beec: Pulling fs layer [2022-07-21T21:58:37.125Z] 699f458cf7ca: Pulling fs layer [2022-07-21T21:58:37.125Z] 765212b225bb: Pulling fs layer [2022-07-21T21:58:37.125Z] f23df028b6ca: Pulling fs layer [2022-07-21T21:58:37.125Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T21:58:37.125Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T21:58:37.125Z] f23df028b6ca: Waiting [2022-07-21T21:58:37.125Z] d65c8cfc05b1: Waiting [2022-07-21T21:58:37.125Z] 2437ff75d9bd: Waiting [2022-07-21T21:58:37.125Z] 765212b225bb: Waiting [2022-07-21T21:58:37.125Z] 04944245beec: Verifying Checksum [2022-07-21T21:58:37.125Z] 04944245beec: Download complete [2022-07-21T21:58:37.125Z] 765212b225bb: Verifying Checksum [2022-07-21T21:58:37.125Z] 765212b225bb: Download complete [2022-07-21T21:58:37.125Z] f23df028b6ca: Download complete [2022-07-21T21:58:37.125Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T21:58:37.125Z] d65c8cfc05b1: Download complete [2022-07-21T21:58:37.403Z] 699f458cf7ca: Verifying Checksum [2022-07-21T21:58:37.403Z] 699f458cf7ca: Download complete [2022-07-21T21:58:37.678Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T21:58:37.678Z] 8998bd30e6a1: Download complete [2022-07-21T21:58:40.321Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T21:58:40.321Z] 2437ff75d9bd: Download complete [2022-07-21T21:58:42.307Z] 8998bd30e6a1: Pull complete [2022-07-21T21:58:42.583Z] 04944245beec: Pull complete [2022-07-21T21:58:44.028Z] 699f458cf7ca: Pull complete [2022-07-21T21:58:44.028Z] 765212b225bb: Pull complete [2022-07-21T21:58:45.015Z] f23df028b6ca: Pull complete [2022-07-21T21:58:45.289Z] d65c8cfc05b1: Pull complete [2022-07-21T21:59:00.399Z] 2437ff75d9bd: Pull complete [2022-07-21T21:59:00.399Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T21:59:00.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T21:59:00.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:59:00.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-20706 does not seem to be running inside a container [2022-07-21T21:59:00.903Z] $ 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-21T21:59:03.558Z] $ docker top 3f9a6a2a3ff00e1701692afed3a63b5da6c9be3e7b08d5e10610b0ea87bfc86a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:04.572Z] ---> job-cost.sh [2022-07-21T21:59:04.572Z] lf-activate-venv: SKIPPING [2022-07-21T21:59:04.572Z] INFO: No Stack... [2022-07-21T21:59:05.166Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T21:59:05.763Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T21:59:06.449Z] + cut -d, -f6 [2022-07-21T21:59:06.449Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-07-21T21:59:06.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [2022-07-21T21:59:06.537Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] did not exist. Created. [2022-07-21T21:59:06.537Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T21:59:07.283Z] /w/workspace/device-onvif-camera/1@tmp/durable-2f40500d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T21:59:07.983Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T21:59:08.020Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T21:59:08.078Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T21:59:08.093Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T21:59:08.185Z] $ docker stop --time=1 3f9a6a2a3ff00e1701692afed3a63b5da6c9be3e7b08d5e10610b0ea87bfc86a [2022-07-21T21:59:09.696Z] $ docker rm -f 3f9a6a2a3ff00e1701692afed3a63b5da6c9be3e7b08d5e10610b0ea87bfc86a [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-21T21:59:10.738Z] provisioning config files... [2022-07-21T21:59:10.754Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-116@tmp/config401880254264799744tmp [Pipeline] { [Pipeline] sh [2022-07-21T21:59:11.112Z] + set +x [2022-07-21T21:59:11.112Z] + curl -s https://codecov.io/bash [2022-07-21T21:59:11.112Z] + bash -s -- [2022-07-21T21:59:11.112Z] [2022-07-21T21:59:11.112Z] _____ _ [2022-07-21T21:59:11.112Z] / ____| | | [2022-07-21T21:59:11.112Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T21:59:11.112Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T21:59:11.112Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T21:59:11.112Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T21:59:11.112Z] Bash-1.0.6 [2022-07-21T21:59:11.112Z] [2022-07-21T21:59:11.112Z] [2022-07-21T21:59:11.112Z] ==> git version 2.25.1 found [2022-07-21T21:59:11.112Z] ==> 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-21T21:59:11.112Z] Release-Date: 2020-01-08 [2022-07-21T21:59:11.112Z] 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-21T21:59:11.112Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T21:59:11.112Z] ==> Jenkins CI detected. [2022-07-21T21:59:11.112Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-116 [2022-07-21T21:59:11.112Z] project root: . [2022-07-21T21:59:11.112Z] --> token set from env [2022-07-21T21:59:11.112Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T21:59:11.112Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T21:59:11.112Z] ==> Python coveragepy not found [2022-07-21T21:59:11.112Z] ==> Searching for coverage reports in: [2022-07-21T21:59:11.112Z] + . [2022-07-21T21:59:11.112Z] -> Found 1 reports [2022-07-21T21:59:11.112Z] ==> Detecting git/mercurial file structure [2022-07-21T21:59:11.372Z] ==> Reading reports [2022-07-21T21:59:11.372Z] + ./coverage.out bytes=78811 [2022-07-21T21:59:11.372Z] ==> Appending adjustments [2022-07-21T21:59:11.372Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T21:59:11.372Z] + Found adjustments [2022-07-21T21:59:11.372Z] ==> Gzipping contents [2022-07-21T21:59:11.372Z] 12K /tmp/codecov.J1kBzE.gz [2022-07-21T21:59:11.372Z] ==> Uploading reports [2022-07-21T21:59:11.372Z] url: https://codecov.io [2022-07-21T21:59:11.372Z] query: branch=PR-116&commit=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=116&job=&cmd_args= [2022-07-21T21:59:11.372Z] -> Pinging Codecov [2022-07-21T21:59:11.372Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-116&commit=1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=116&job=&cmd_args= [2022-07-21T21:59:11.632Z] -> Uploading to [2022-07-21T21:59:11.632Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/F29A59C45E3A92E06B3E522C9905F8EF/1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf/5b30379e-9e24-4f43-a843-d574f3a58a14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T215911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7583f849fecf0b0c10576ec4a433825c5199e80b7725c113ffdfea2a706de109 [2022-07-21T21:59:11.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T21:59:11.632Z] Dload Upload Total Spent Left Speed [2022-07-21T21:59:11.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10564 0 0 100 10564 0 44762 --:--:-- --:--:-- --:--:-- 44762 [2022-07-21T21:59:11.894Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/1f6183bb00e863d0049a3ed55a1b7c8d3bbc0eaf [Pipeline] } [2022-07-21T21:59:11.924Z] 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-21T21:59:13.711Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-116/archives ] [2022-07-21T21:59:13.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-116/archives [2022-07-21T21:59:13.711Z] total 16 [2022-07-21T21:59:13.711Z] drwxr-xr-x 3 root root 4096 Jul 21 21:51 . [2022-07-21T21:59:13.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 21:51 .. [2022-07-21T21:59:13.711Z] drwxr-xr-x 2 root root 4096 Jul 21 21:51 cost [2022-07-21T21:59:13.711Z] -rw-r--r-- 1 root root 90 Jul 21 21:51 cost.csv [2022-07-21T21:59:13.711Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-116/archives [2022-07-21T21:59:13.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-116/archives [2022-07-21T21:59:13.711Z] total 16 [2022-07-21T21:59:13.711Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 21:51 . [2022-07-21T21:59:13.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 21:51 .. [2022-07-21T21:59:13.711Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 21:51 cost [2022-07-21T21:59:13.711Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 21 21:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:14.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:14.943Z] ---> package-listing.sh [2022-07-21T21:59:14.943Z] ++ facter osfamily [2022-07-21T21:59:14.943Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T21:59:15.203Z] + OS_FAMILY=debian [2022-07-21T21:59:15.203Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-116 [2022-07-21T21:59:15.203Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T21:59:15.203Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T21:59:15.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T21:59:15.203Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T21:59:15.203Z] + '[' /w/workspace/undry_device-onvif-camera_PR-116 ']' [2022-07-21T21:59:15.203Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T21:59:15.203Z] + case "${OS_FAMILY}" in [2022-07-21T21:59:15.203Z] + dpkg -l [2022-07-21T21:59:15.203Z] + grep '^ii' [2022-07-21T21:59:15.203Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T21:59:15.203Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T21:59:15.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T21:59:15.203Z] + '[' /w/workspace/undry_device-onvif-camera_PR-116 ']' [2022-07-21T21:59:15.203Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-116/archives/ [2022-07-21T21:59:15.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-116/archives/ [Pipeline] echo [2022-07-21T21:59:15.235Z] 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T21:59:15.530Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T21:59:16.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T21:59:16.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T21:59:16.318Z] prd-ubuntu20.04-docker-8c-8g-20705 does not seem to be running inside a container [2022-07-21T21:59:16.358Z] $ 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-116/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-116 -v /w/workspace/undry_device-onvif-camera_PR-116:/w/workspace/undry_device-onvif-camera_PR-116:rw,z -v /w/workspace/undry_device-onvif-camera_PR-116@tmp:/w/workspace/undry_device-onvif-camera_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T21:59:16.676Z] $ docker top 9837f821ceea0f5746abf65510f647dd21f4659930df9dbc5e1df5cad2bf6c7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T21:59:17.090Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T21:59:17.400Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T21:59:17.710Z] + ls /var/log/sa-host [2022-07-21T21:59:17.710Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T21:59:17.902Z] provisioning config files... [2022-07-21T21:59:17.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-116@tmp/config7765591109873905985tmp [Pipeline] { [Pipeline] echo [2022-07-21T21:59:17.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:18.274Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T21:59:18.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:18.702Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T21:59:18.735Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:19.050Z] ---> sudo-logs.sh [2022-07-21T21:59:19.050Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T21:59:19.126Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:19.436Z] ---> job-cost.sh [2022-07-21T21:59:19.436Z] lf-activate-venv: SKIPPING [2022-07-21T21:59:19.436Z] DEBUG: total: 0.2199999988079071 [2022-07-21T21:59:19.436Z] INFO: Retrieving Stack Cost... [2022-07-21T21:59:20.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T21:59:20.269Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T21:59:20.306Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T21:59:20.626Z] ---> logs-deploy.sh [2022-07-21T21:59:20.626Z] lf-activate-venv: SKIPPING [2022-07-21T21:59:20.626Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-116/1 [2022-07-21T21:59:20.626Z] INFO: archiving workspace using pattern(s): [2022-07-21T21:59:21.567Z] Archives upload complete. [2022-07-21T21:59:21.830Z] INFO: archiving logs to Nexus