Pull request #136 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7dcacfabcedd8c9812e04fc6911462b912c63165 rather than 3421989dcb0f93148dedb0d06acba05ebe96c9b6 Obtained Jenkinsfile from 7dcacfabcedd8c9812e04fc6911462b912c63165 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-ssh13618744448254939605.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-ssh11411208887519111338.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-136/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-136/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16839547272833201199.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-136/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh729359891830650751.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-ssh1774272724491439728.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-136/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-136/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh951725717278288033.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22910 in /w/workspace/undry_device-onvif-camera_PR-136 [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-136 # 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 7dcacfabcedd8c9812e04fc6911462b912c63165 into PR head commit 3421989dcb0f93148dedb0d06acba05ebe96c9b6 Merge succeeded, producing 3421989dcb0f93148dedb0d06acba05ebe96c9b6 Checking out Revision 3421989dcb0f93148dedb0d06acba05ebe96c9b6 (PR-136) > 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/136/head:refs/remotes/origin/PR-136 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3421989dcb0f93148dedb0d06acba05ebe96c9b6 # 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 7dcacfabcedd8c9812e04fc6911462b912c63165 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3421989dcb0f93148dedb0d06acba05ebe96c9b6 # timeout=10 Commit message: "fix: netscan search only for NetworkVideoTransmitter" 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-08-16T17:41:37.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-16T17:41:37.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-16T17:41:37.842Z] ========================================================= [2022-08-16T17:41:37.842Z] EdgeX Global Pipelines Version Info [2022-08-16T17:41:37.842Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:41:38.630Z] ------------------- [2022-08-16T17:41:38.630Z] stable info: [2022-08-16T17:41:38.630Z] ------------------- [2022-08-16T17:41:38.630Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-16T17:41:38.630Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-16T17:41:38.630Z] Message: update stable to v1.0.238 [2022-08-16T17:41:39.204Z] ------------------- [2022-08-16T17:41:39.204Z] experimental info: [2022-08-16T17:41:39.204Z] ------------------- [2022-08-16T17:41:39.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-16T17:41:39.204Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-16T17:41:39.204Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-16T17:41:39.547Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-16T17:41:39.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-16T17:41:39.630Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-16T17:41:39.674Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-16T17:41:39.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-16T17:41:39.762Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-16T17:41:39.806Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-16T17:41:39.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-16T17:41:39.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-16T17:41:39.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-16T17:41:39.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-16T17:41:40.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-16T17:41:40.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-16T17:41:40.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-16T17:41:40.156Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-16T17:41:40.195Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-16T17:41:40.240Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-16T17:41:40.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-16T17:41:40.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-16T17:41:40.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-16T17:41:40.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-16T17:41:40.456Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-16T17:41:40.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-16T17:41:40.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-16T17:41:40.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-16T17:41:40.617Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-16T17:41:40.660Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-16T17:41:40.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo [2022-08-16T17:41:40.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo [2022-08-16T17:41:40.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo [2022-08-16T17:41:40.831Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [Pipeline] echo [2022-08-16T17:41:40.869Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3421989 [Pipeline] echo [2022-08-16T17:41:40.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T17:41:41.030Z] provisioning config files... [2022-08-16T17:41:41.046Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-136@tmp/config8300367497165392743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:41:41.419Z] ---> docker-login.sh [2022-08-16T17:41:41.419Z] nexus3.edgexfoundry.org:10001 [2022-08-16T17:41:41.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:41:42.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:41:42.252Z] Configure a credential helper to remove this warning. See [2022-08-16T17:41:42.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:41:42.252Z] [2022-08-16T17:41:42.252Z] Login Succeeded [2022-08-16T17:41:42.252Z] nexus3.edgexfoundry.org:10002 [2022-08-16T17:41:42.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:41:42.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:41:42.252Z] Configure a credential helper to remove this warning. See [2022-08-16T17:41:42.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:41:42.252Z] [2022-08-16T17:41:42.252Z] Login Succeeded [2022-08-16T17:41:42.252Z] nexus3.edgexfoundry.org:10003 [2022-08-16T17:41:42.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:41:42.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:41:42.514Z] Configure a credential helper to remove this warning. See [2022-08-16T17:41:42.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:41:42.514Z] [2022-08-16T17:41:42.514Z] Login Succeeded [2022-08-16T17:41:42.514Z] nexus3.edgexfoundry.org:10004 [2022-08-16T17:41:42.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:41:42.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:41:42.514Z] Configure a credential helper to remove this warning. See [2022-08-16T17:41:42.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:41:42.514Z] [2022-08-16T17:41:42.514Z] Login Succeeded [2022-08-16T17:41:42.514Z] docker.io [2022-08-16T17:41:42.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:41:43.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:41:43.036Z] Configure a credential helper to remove this warning. See [2022-08-16T17:41:43.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:41:43.036Z] [2022-08-16T17:41:43.036Z] Login Succeeded [2022-08-16T17:41:43.036Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T17:41:43.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-16T17:41:43.696Z] + git rev-list -1 --merges 3421989dcb0f93148dedb0d06acba05ebe96c9b6~1..3421989dcb0f93148dedb0d06acba05ebe96c9b6 [Pipeline] echo [2022-08-16T17:41:43.746Z] -----------> git rev-list -1 --merges 3421989dcb0f93148dedb0d06acba05ebe96c9b6~1..3421989dcb0f93148dedb0d06acba05ebe96c9b6 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [false] [Pipeline] sh [2022-08-16T17:41:44.055Z] + git log --format=format:%s -1 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [Pipeline] echo [2022-08-16T17:41:44.091Z] ========================================================= [2022-08-16T17:41:44.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-16T17:41:44.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T17:41:44.534Z] + git log --format=format:%s -1 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [Pipeline] echo [2022-08-16T17:41:44.569Z] [semverPrep] GIT_COMMIT: 3421989dcb0f93148dedb0d06acba05ebe96c9b6, Commit Message: fix: netscan search only for NetworkVideoTransmitter [Pipeline] echo [2022-08-16T17:41:44.602Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-16T17:41:45.003Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-16T17:41:45.003Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-16T17:41:45.003Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-16T17:41:45.003Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-16T17:41:45.003Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-16T17:41:45.003Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-16T17:41:45.003Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:41:45.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T17:41:45.538Z] [2022-08-16T17:41:45.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:41:45.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T17:41:45.917Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-16T17:41:45.917Z] b85a868b505f: Pulling fs layer [2022-08-16T17:41:45.917Z] e2be974225ed: Pulling fs layer [2022-08-16T17:41:45.917Z] 339a4e72a1f5: Pulling fs layer [2022-08-16T17:41:45.917Z] 988bab9f4d93: Pulling fs layer [2022-08-16T17:41:45.917Z] 1469e6f7b9e6: Pulling fs layer [2022-08-16T17:41:45.917Z] eaf3925da568: Pulling fs layer [2022-08-16T17:41:45.917Z] bab4dde63d76: Pulling fs layer [2022-08-16T17:41:45.917Z] bde34c3a00c8: Pulling fs layer [2022-08-16T17:41:45.917Z] b352a97aabf1: Pulling fs layer [2022-08-16T17:41:45.917Z] 4872d77fe225: Pulling fs layer [2022-08-16T17:41:45.917Z] 5851b861e8e6: Pulling fs layer [2022-08-16T17:41:45.917Z] bab4dde63d76: Waiting [2022-08-16T17:41:45.917Z] bde34c3a00c8: Waiting [2022-08-16T17:41:45.917Z] 4872d77fe225: Waiting [2022-08-16T17:41:45.917Z] 5851b861e8e6: Waiting [2022-08-16T17:41:45.917Z] eaf3925da568: Waiting [2022-08-16T17:41:45.917Z] 988bab9f4d93: Waiting [2022-08-16T17:41:45.917Z] 1469e6f7b9e6: Waiting [2022-08-16T17:41:45.917Z] b352a97aabf1: Waiting [2022-08-16T17:41:45.917Z] e2be974225ed: Verifying Checksum [2022-08-16T17:41:45.917Z] e2be974225ed: Download complete [2022-08-16T17:41:45.917Z] 988bab9f4d93: Verifying Checksum [2022-08-16T17:41:45.917Z] 988bab9f4d93: Download complete [2022-08-16T17:41:46.177Z] 1469e6f7b9e6: Verifying Checksum [2022-08-16T17:41:46.177Z] 1469e6f7b9e6: Download complete [2022-08-16T17:41:46.177Z] eaf3925da568: Verifying Checksum [2022-08-16T17:41:46.177Z] eaf3925da568: Download complete [2022-08-16T17:41:46.177Z] 339a4e72a1f5: Verifying Checksum [2022-08-16T17:41:46.177Z] 339a4e72a1f5: Download complete [2022-08-16T17:41:46.177Z] bde34c3a00c8: Verifying Checksum [2022-08-16T17:41:46.177Z] bde34c3a00c8: Download complete [2022-08-16T17:41:46.177Z] b352a97aabf1: Verifying Checksum [2022-08-16T17:41:46.177Z] b352a97aabf1: Download complete [2022-08-16T17:41:46.177Z] 4872d77fe225: Verifying Checksum [2022-08-16T17:41:46.177Z] 4872d77fe225: Download complete [2022-08-16T17:41:46.177Z] 5851b861e8e6: Verifying Checksum [2022-08-16T17:41:46.177Z] 5851b861e8e6: Download complete [2022-08-16T17:41:46.177Z] b85a868b505f: Verifying Checksum [2022-08-16T17:41:46.177Z] b85a868b505f: Download complete [2022-08-16T17:41:46.437Z] bab4dde63d76: Verifying Checksum [2022-08-16T17:41:46.437Z] bab4dde63d76: Download complete [2022-08-16T17:41:47.833Z] b85a868b505f: Pull complete [2022-08-16T17:41:47.833Z] e2be974225ed: Pull complete [2022-08-16T17:41:48.408Z] 339a4e72a1f5: Pull complete [2022-08-16T17:41:48.408Z] 988bab9f4d93: Pull complete [2022-08-16T17:41:48.671Z] 1469e6f7b9e6: Pull complete [2022-08-16T17:41:48.671Z] eaf3925da568: Pull complete [2022-08-16T17:41:50.579Z] bab4dde63d76: Pull complete [2022-08-16T17:41:50.579Z] bde34c3a00c8: Pull complete [2022-08-16T17:41:50.840Z] b352a97aabf1: Pull complete [2022-08-16T17:41:50.840Z] 4872d77fe225: Pull complete [2022-08-16T17:41:51.101Z] 5851b861e8e6: Pull complete [2022-08-16T17:41:51.101Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-16T17:41:51.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T17:41:51.101Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:41:51.346Z] prd-ubuntu20.04-docker-8c-8g-22910 does not seem to be running inside a container [2022-08-16T17:41:51.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-136 -v /w/workspace/undry_device-onvif-camera_PR-136:/w/workspace/undry_device-onvif-camera_PR-136:rw,z -v /w/workspace/undry_device-onvif-camera_PR-136@tmp:/w/workspace/undry_device-onvif-camera_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-16T17:41:53.684Z] $ docker top 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-16T17:41:53.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-16T17:41:53.891Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-16T17:41:54.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-16T17:41:54.031Z] $ docker exec 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 ssh-agent [2022-08-16T17:41:54.182Z] SSH_AUTH_SOCK=/tmp/ssh-N3dU7D3SJFID/agent.33 [2022-08-16T17:41:54.182Z] SSH_AGENT_PID=39 [2022-08-16T17:41:54.189Z] Running ssh-add (command line suppressed) [2022-08-16T17:41:54.303Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-136@tmp/private_key_2203223292858798552.key (/w/workspace/undry_device-onvif-camera_PR-136@tmp/private_key_2203223292858798552.key) [2022-08-16T17:41:54.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-16T17:41:54.654Z] + git tag --points-at HEAD [Pipeline] } [2022-08-16T17:41:54.680Z] $ docker exec --env ******** --env ******** 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 ssh-agent -k [2022-08-16T17:41:54.789Z] unset SSH_AUTH_SOCK; [2022-08-16T17:41:54.790Z] unset SSH_AGENT_PID; [2022-08-16T17:41:54.790Z] echo Agent pid 39 killed; [2022-08-16T17:41:54.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-16T17:41:54.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-16T17:41:54.881Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-16T17:41:55.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-16T17:41:55.018Z] $ docker exec 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 ssh-agent [2022-08-16T17:41:55.131Z] SSH_AUTH_SOCK=/tmp/ssh-7CkFfsnFeT0S/agent.72 [2022-08-16T17:41:55.131Z] SSH_AGENT_PID=78 [2022-08-16T17:41:55.137Z] Running ssh-add (command line suppressed) [2022-08-16T17:41:55.257Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-136@tmp/private_key_5077498742254939872.key (/w/workspace/undry_device-onvif-camera_PR-136@tmp/private_key_5077498742254939872.key) [2022-08-16T17:41:55.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-16T17:41:55.614Z] + git semver init [2022-08-16T17:41:55.875Z] 2022-08-16 17:41:55,789 [run_init] DEBUG init version:0.0.0 force:False [2022-08-16T17:41:55.875Z] 2022-08-16 17:41:55,789 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-136/.semver [2022-08-16T17:41:55.875Z] 2022-08-16 17:41:55,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-136/.semver [2022-08-16T17:41:55.875Z] 2022-08-16 17:41:55,790 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-136/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-136, universal_newlines=False, shell=None, istream=None) [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,602 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-136/.git/info/exclude [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,603 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-136/.semver/PR-136 with force:False [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,603 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-136/.semver/PR-136 [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,607 [execute] INFO git cat-file --batch-check [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-136/.semver, universal_newlines=False, shell=None, istream=) [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,614 [execute] INFO git cat-file --batch [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-136/.semver, universal_newlines=False, shell=None, istream=) [2022-08-16T17:41:56.818Z] 2022-08-16 17:41:56,620 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-136/.semver/PR-136 [2022-08-16T17:41:56.818Z] 0.0.0 [Pipeline] } [2022-08-16T17:41:56.844Z] $ docker exec --env ******** --env ******** 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 ssh-agent -k [2022-08-16T17:41:56.963Z] unset SSH_AUTH_SOCK; [2022-08-16T17:41:56.963Z] unset SSH_AGENT_PID; [2022-08-16T17:41:56.964Z] echo Agent pid 78 killed; [2022-08-16T17:41:56.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-16T17:41:57.413Z] + git semver [Pipeline] } [2022-08-16T17:41:57.701Z] $ docker stop --time=1 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 [2022-08-16T17:41:58.980Z] $ docker rm -f 87ec7bba0718af0831a5d458b90676ee33cc6d3a049c14a1e276f2748f23d877 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T17:41:59.405Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-16T17:41:59.754Z] Stashed 1 file(s) [Pipeline] echo [2022-08-16T17:41:59.771Z] [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-08-16T17:42:00.337Z] provisioning config files... [2022-08-16T17:42:00.349Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-136@tmp/config2725974931235205167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:42:00.696Z] ---> docker-login.sh [2022-08-16T17:42:00.696Z] nexus3.edgexfoundry.org:10001 [2022-08-16T17:42:00.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:42:00.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:42:00.696Z] Configure a credential helper to remove this warning. See [2022-08-16T17:42:00.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:42:00.696Z] [2022-08-16T17:42:00.696Z] Login Succeeded [2022-08-16T17:42:00.696Z] nexus3.edgexfoundry.org:10002 [2022-08-16T17:42:00.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:42:00.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:42:00.957Z] Configure a credential helper to remove this warning. See [2022-08-16T17:42:00.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:42:00.957Z] [2022-08-16T17:42:00.957Z] Login Succeeded [2022-08-16T17:42:00.957Z] nexus3.edgexfoundry.org:10003 [2022-08-16T17:42:00.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:42:00.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:42:00.957Z] Configure a credential helper to remove this warning. See [2022-08-16T17:42:00.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:42:00.957Z] [2022-08-16T17:42:00.957Z] Login Succeeded [2022-08-16T17:42:00.957Z] nexus3.edgexfoundry.org:10004 [2022-08-16T17:42:01.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:42:01.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:42:01.218Z] Configure a credential helper to remove this warning. See [2022-08-16T17:42:01.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:42:01.218Z] [2022-08-16T17:42:01.218Z] Login Succeeded [2022-08-16T17:42:01.218Z] docker.io [2022-08-16T17:42:01.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:42:01.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:42:01.481Z] Configure a credential helper to remove this warning. See [2022-08-16T17:42:01.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:42:01.481Z] [2022-08-16T17:42:01.481Z] Login Succeeded [2022-08-16T17:42:01.481Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T17:42:01.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-16T17:42:01.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T17:42:01.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T17:42:01.770Z] ========================================================= [2022-08-16T17:42:01.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-16T17:42:01.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:42:02.238Z] + 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-08-16T17:42:02.238Z] Sending build context to Docker daemon 20.58MB [2022-08-16T17:42:02.238Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T17:42:02.238Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-16T17:42:02.512Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-16T17:42:02.512Z] 2408cc74d12b: Pulling fs layer [2022-08-16T17:42:02.512Z] ea60b727a1ce: Pulling fs layer [2022-08-16T17:42:02.512Z] 30c4a7721957: Pulling fs layer [2022-08-16T17:42:02.512Z] 370296b7ddb6: Pulling fs layer [2022-08-16T17:42:02.512Z] 7c6cee850709: Pulling fs layer [2022-08-16T17:42:02.512Z] 39a5fcdaea64: Pulling fs layer [2022-08-16T17:42:02.512Z] d94ebbe4e438: Pulling fs layer [2022-08-16T17:42:02.512Z] 370296b7ddb6: Waiting [2022-08-16T17:42:02.512Z] 7c6cee850709: Waiting [2022-08-16T17:42:02.512Z] 39a5fcdaea64: Waiting [2022-08-16T17:42:02.512Z] bcfd1f05c69d: Pulling fs layer [2022-08-16T17:42:02.512Z] d94ebbe4e438: Waiting [2022-08-16T17:42:02.512Z] 59ccb84bbe0f: Pulling fs layer [2022-08-16T17:42:02.512Z] bcfd1f05c69d: Waiting [2022-08-16T17:42:02.512Z] 59ccb84bbe0f: Waiting [2022-08-16T17:42:02.512Z] 30c4a7721957: Verifying Checksum [2022-08-16T17:42:02.512Z] 30c4a7721957: Download complete [2022-08-16T17:42:02.512Z] ea60b727a1ce: Verifying Checksum [2022-08-16T17:42:02.512Z] ea60b727a1ce: Download complete [2022-08-16T17:42:02.512Z] 7c6cee850709: Verifying Checksum [2022-08-16T17:42:02.512Z] 7c6cee850709: Download complete [2022-08-16T17:42:02.512Z] 39a5fcdaea64: Verifying Checksum [2022-08-16T17:42:02.512Z] 39a5fcdaea64: Download complete [2022-08-16T17:42:02.512Z] 2408cc74d12b: Verifying Checksum [2022-08-16T17:42:02.512Z] 2408cc74d12b: Download complete [2022-08-16T17:42:02.512Z] d94ebbe4e438: Verifying Checksum [2022-08-16T17:42:02.512Z] d94ebbe4e438: Download complete [2022-08-16T17:42:02.785Z] 2408cc74d12b: Pull complete [2022-08-16T17:42:02.785Z] ea60b727a1ce: Pull complete [2022-08-16T17:42:02.785Z] 30c4a7721957: Pull complete [2022-08-16T17:42:03.054Z] 59ccb84bbe0f: Verifying Checksum [2022-08-16T17:42:03.054Z] 59ccb84bbe0f: Download complete [2022-08-16T17:42:03.316Z] bcfd1f05c69d: Verifying Checksum [2022-08-16T17:42:03.316Z] bcfd1f05c69d: Download complete [2022-08-16T17:42:03.316Z] 370296b7ddb6: Verifying Checksum [2022-08-16T17:42:03.316Z] 370296b7ddb6: Download complete [2022-08-16T17:42:08.597Z] 370296b7ddb6: Pull complete [2022-08-16T17:42:08.597Z] 7c6cee850709: Pull complete [2022-08-16T17:42:08.597Z] 39a5fcdaea64: Pull complete [2022-08-16T17:42:08.597Z] d94ebbe4e438: Pull complete [2022-08-16T17:42:10.505Z] bcfd1f05c69d: Pull complete [2022-08-16T17:42:11.076Z] 59ccb84bbe0f: Pull complete [2022-08-16T17:42:11.076Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-16T17:42:11.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-16T17:42:11.076Z] ---> a4fb48ad2a94 [2022-08-16T17:42:11.076Z] Step 3/13 : ARG MAKE="make build" [2022-08-16T17:42:12.992Z] ---> Running in 856b2dc05027 [2022-08-16T17:42:12.992Z] Removing intermediate container 856b2dc05027 [2022-08-16T17:42:12.992Z] ---> e98c4a180dca [2022-08-16T17:42:12.992Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T17:42:12.992Z] ---> Running in 67ec06545634 [2022-08-16T17:42:12.992Z] Removing intermediate container 67ec06545634 [2022-08-16T17:42:12.992Z] ---> 501b6e93dabf [2022-08-16T17:42:12.992Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T17:42:12.992Z] ---> Running in 0c37ea599c4a [2022-08-16T17:42:12.992Z] Removing intermediate container 0c37ea599c4a [2022-08-16T17:42:12.992Z] ---> 85ff786f9cd9 [2022-08-16T17:42:12.992Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-16T17:42:12.992Z] ---> Running in 6c3b370d126e [2022-08-16T17:42:12.992Z] Removing intermediate container 6c3b370d126e [2022-08-16T17:42:12.992Z] ---> ae8acac38988 [2022-08-16T17:42:12.992Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T17:42:12.992Z] ---> Running in eb4b821404b3 [2022-08-16T17:42:13.563Z] Removing intermediate container eb4b821404b3 [2022-08-16T17:42:13.563Z] ---> 96e72c53c188 [2022-08-16T17:42:13.563Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T17:42:13.563Z] ---> Running in f719782b1de1 [2022-08-16T17:42:13.824Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T17:42:14.763Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T17:42:15.157Z] Still waiting to schedule task [2022-08-16T17:42:15.158Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-16T17:42:15.336Z] OK: 211 MiB in 51 packages [2022-08-16T17:42:15.596Z] Removing intermediate container f719782b1de1 [2022-08-16T17:42:15.596Z] ---> dab723c3dd53 [2022-08-16T17:42:15.596Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-16T17:42:15.859Z] ---> Running in 6666afa86066 [2022-08-16T17:42:15.859Z] Removing intermediate container 6666afa86066 [2022-08-16T17:42:15.859Z] ---> c64c9d3de17b [2022-08-16T17:42:15.859Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-16T17:42:16.122Z] ---> 423753de4fa0 [2022-08-16T17:42:16.122Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T17:42:16.122Z] ---> Running in a52022ff4336 [2022-08-16T17:42:34.281Z] Removing intermediate container a52022ff4336 [2022-08-16T17:42:34.281Z] ---> 6c9f3329029d [2022-08-16T17:42:34.281Z] Step 12/13 : COPY . . [2022-08-16T17:42:34.857Z] ---> ffc730a1cb2e [2022-08-16T17:42:34.857Z] Step 13/13 : RUN ${MAKE} [2022-08-16T17:42:34.857Z] ---> Running in a8f4350894a1 [2022-08-16T17:42:35.119Z] noop [2022-08-16T17:42:35.380Z] Removing intermediate container a8f4350894a1 [2022-08-16T17:42:35.380Z] ---> 3f044d951ca7 [2022-08-16T17:42:35.380Z] Successfully built 3f044d951ca7 [2022-08-16T17:42:35.380Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:42:35.853Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-16T17:42:35.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:42:36.030Z] prd-ubuntu20.04-docker-8c-8g-22910 does not seem to be running inside a container [2022-08-16T17:42:36.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-136 -v /w/workspace/undry_device-onvif-camera_PR-136:/w/workspace/undry_device-onvif-camera_PR-136:rw,z -v /w/workspace/undry_device-onvif-camera_PR-136@tmp:/w/workspace/undry_device-onvif-camera_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-16T17:42:36.485Z] $ docker top f3386569db93fc7260f67f1c8fc0dd2e38c5e3c3679db2d606c792c366b24e00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T17:42:36.903Z] + go version [2022-08-16T17:42:36.903Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-16T17:42:36.934Z] $ docker stop --time=1 f3386569db93fc7260f67f1c8fc0dd2e38c5e3c3679db2d606c792c366b24e00 [2022-08-16T17:42:38.198Z] $ docker rm -f f3386569db93fc7260f67f1c8fc0dd2e38c5e3c3679db2d606c792c366b24e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:42:38.898Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-16T17:42:38.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:42:39.065Z] prd-ubuntu20.04-docker-8c-8g-22910 does not seem to be running inside a container [2022-08-16T17:42:39.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-136 -v /w/workspace/undry_device-onvif-camera_PR-136:/w/workspace/undry_device-onvif-camera_PR-136:rw,z -v /w/workspace/undry_device-onvif-camera_PR-136@tmp:/w/workspace/undry_device-onvif-camera_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-16T17:42:39.481Z] $ docker top 557b4d55e5447afcf4e997f4bdd62ec643b90c9d75c460f97c2cbd8fbb5107b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T17:42:39.902Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-136 [Pipeline] fileExists [Pipeline] sh [2022-08-16T17:42:40.265Z] + make test [2022-08-16T17:42:40.265Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-16T17:42:40.525Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-16T17:42:52.742Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-16T17:42:53.002Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 10.6% of statements [2022-08-16T17:42:53.002Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-16T17:42:56.307Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.119s coverage: 13.8% of statements [2022-08-16T17:43:04.446Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-16T17:43:04.446Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-16T17:43:08.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-16T17:43:08.653Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-16T17:43:08.653Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-16T17:43:08.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-16T17:43:08.732Z] $ docker stop --time=1 557b4d55e5447afcf4e997f4bdd62ec643b90c9d75c460f97c2cbd8fbb5107b4 [2022-08-16T17:43:11.328Z] $ docker rm -f 557b4d55e5447afcf4e997f4bdd62ec643b90c9d75c460f97c2cbd8fbb5107b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T17:43:11.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-16T17:43:11.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-16T17:43:12.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-16T17:43:12.922Z] + ls -al . [2022-08-16T17:43:12.922Z] total 232 [2022-08-16T17:43:12.922Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 17:42 . [2022-08-16T17:43:12.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:41 .. [2022-08-16T17:43:12.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 17:42 .git [2022-08-16T17:43:12.922Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 17:41 .github [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 16 17:41 .gitignore [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 17:41 .golangci.yml [2022-08-16T17:43:12.922Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 17:41 .semver [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 16 17:41 Attribution.txt [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 16 17:41 CHANGELOG.md [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 16 17:41 Dockerfile [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 17:41 GOVERNANCE.md [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 16 17:41 Jenkinsfile [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 17:41 LICENSE [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 16 17:41 Makefile [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 16 17:41 OWNERS.md [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 16 17:41 README.md [2022-08-16T17:43:12.922Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 17:41 VERSION [2022-08-16T17:43:12.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 17:41 bin [2022-08-16T17:43:12.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 17:41 cmd [2022-08-16T17:43:12.923Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 16 17:42 coverage.out [2022-08-16T17:43:12.923Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 17:41 doc [2022-08-16T17:43:12.923Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 16 17:41 go.mod [2022-08-16T17:43:12.923Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 16 17:41 go.sum [2022-08-16T17:43:12.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:41 internal [2022-08-16T17:43:12.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:41 snap [2022-08-16T17:43:12.923Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 16 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:43:13.319Z] + 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=3421989dcb0f93148dedb0d06acba05ebe96c9b6 --label arch=amd64 --label version=0.0.0 . [2022-08-16T17:43:13.319Z] Sending build context to Docker daemon 20.66MB [2022-08-16T17:43:13.319Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T17:43:13.319Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-16T17:43:13.319Z] ---> 3f044d951ca7 [2022-08-16T17:43:13.319Z] Step 3/26 : ARG MAKE="make build" [2022-08-16T17:43:13.581Z] ---> Running in 58d75c3c6443 [2022-08-16T17:43:13.581Z] Removing intermediate container 58d75c3c6443 [2022-08-16T17:43:13.581Z] ---> 58b12a0bfd8b [2022-08-16T17:43:13.581Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T17:43:13.581Z] ---> Running in 40df5f0977a9 [2022-08-16T17:43:13.841Z] Removing intermediate container 40df5f0977a9 [2022-08-16T17:43:13.841Z] ---> 1864ac7f9633 [2022-08-16T17:43:13.841Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T17:43:13.841Z] ---> Running in 04d0bd7443cc [2022-08-16T17:43:13.841Z] Removing intermediate container 04d0bd7443cc [2022-08-16T17:43:13.841Z] ---> d00124f55259 [2022-08-16T17:43:13.841Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-16T17:43:13.841Z] ---> Running in c71f8a6fd84d [2022-08-16T17:43:13.841Z] Removing intermediate container c71f8a6fd84d [2022-08-16T17:43:13.841Z] ---> b44452076a1d [2022-08-16T17:43:13.841Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T17:43:14.101Z] ---> Running in 1b75947862ec [2022-08-16T17:43:14.674Z] Removing intermediate container 1b75947862ec [2022-08-16T17:43:14.674Z] ---> 43f637735453 [2022-08-16T17:43:14.674Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T17:43:14.674Z] ---> Running in e7398bf56d16 [2022-08-16T17:43:15.245Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T17:43:15.819Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T17:43:16.394Z] OK: 211 MiB in 51 packages [2022-08-16T17:43:16.968Z] Removing intermediate container e7398bf56d16 [2022-08-16T17:43:16.968Z] ---> 75a712bb984a [2022-08-16T17:43:16.968Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-16T17:43:16.968Z] ---> Running in 6468516abfd5 [2022-08-16T17:43:17.553Z] Removing intermediate container 6468516abfd5 [2022-08-16T17:43:17.553Z] ---> 9f0f1c83eb7b [2022-08-16T17:43:17.553Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-16T17:43:17.553Z] ---> d9af2eadd43e [2022-08-16T17:43:17.553Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T17:43:17.814Z] ---> Running in 70f96bcaea77 [2022-08-16T17:43:19.196Z] Removing intermediate container 70f96bcaea77 [2022-08-16T17:43:19.196Z] ---> 7ca1e05d9805 [2022-08-16T17:43:19.196Z] Step 12/26 : COPY . . [2022-08-16T17:43:20.146Z] ---> 7bfd6119cc92 [2022-08-16T17:43:20.146Z] Step 13/26 : RUN ${MAKE} [2022-08-16T17:43:20.146Z] ---> Running in 24a2cc94df04 [2022-08-16T17:43:20.715Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-16T17:43:45.743Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22911 in /w/workspace/undry_device-onvif-camera_PR-136 [Pipeline] { [Pipeline] ws [2022-08-16T17:43:45.785Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-16T17:43:45.875Z] Selected Git installation does not exist. Using Default [2022-08-16T17:43:45.875Z] The recommended git tool is: NONE [2022-08-16T17:43:47.288Z] Removing intermediate container 24a2cc94df04 [2022-08-16T17:43:47.288Z] ---> cd4271a5133c [2022-08-16T17:43:47.288Z] Step 14/26 : FROM alpine:3.16 [2022-08-16T17:43:47.288Z] 3.16: Pulling from library/alpine [2022-08-16T17:43:47.288Z] 213ec9aee27d: Pulling fs layer [2022-08-16T17:43:47.288Z] 213ec9aee27d: Download complete [2022-08-16T17:43:47.288Z] 213ec9aee27d: Pull complete [2022-08-16T17:43:47.288Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-16T17:43:47.288Z] Status: Downloaded newer image for alpine:3.16 [2022-08-16T17:43:47.288Z] ---> 9c6f07244728 [2022-08-16T17:43:47.288Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-16T17:43:47.288Z] ---> Running in 0eb36a569d50 [2022-08-16T17:43:47.288Z] Removing intermediate container 0eb36a569d50 [2022-08-16T17:43:47.288Z] ---> aa39cbc77168 [2022-08-16T17:43:47.288Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-16T17:43:47.288Z] ---> Running in 0f3ebc6eca39 [2022-08-16T17:43:47.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T17:43:47.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T17:43:47.288Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-16T17:43:47.547Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-16T17:43:47.547Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-16T17:43:47.547Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-16T17:43:47.547Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-16T17:43:47.547Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-16T17:43:47.547Z] Executing busybox-1.35.0-r17.trigger [2022-08-16T17:43:47.547Z] OK: 8 MiB in 20 packages [2022-08-16T17:43:48.118Z] Removing intermediate container 0f3ebc6eca39 [2022-08-16T17:43:48.118Z] ---> f7df55e10b52 [2022-08-16T17:43:48.118Z] Step 17/26 : WORKDIR / [2022-08-16T17:43:48.118Z] ---> Running in 0d9e298f5ad4 [2022-08-16T17:43:48.118Z] Removing intermediate container 0d9e298f5ad4 [2022-08-16T17:43:48.118Z] ---> e9c0a9eb9043 [2022-08-16T17:43:48.118Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-16T17:43:49.059Z] ---> 8d8cf8cd47dc [2022-08-16T17:43:49.059Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-16T17:43:49.059Z] ---> 342481681234 [2022-08-16T17:43:49.059Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-16T17:43:49.326Z] ---> 2014cb5156c6 [2022-08-16T17:43:49.326Z] Step 21/26 : EXPOSE 59984 [2022-08-16T17:43:49.326Z] ---> Running in 14c1333e8d04 [2022-08-16T17:43:49.326Z] Removing intermediate container 14c1333e8d04 [2022-08-16T17:43:49.326Z] ---> 493955cc3067 [2022-08-16T17:43:49.326Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-16T17:43:49.588Z] ---> Running in b9701d4f02b0 [2022-08-16T17:43:49.588Z] Removing intermediate container b9701d4f02b0 [2022-08-16T17:43:49.588Z] ---> a7a32ba65750 [2022-08-16T17:43:49.588Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-16T17:43:49.588Z] ---> Running in 75afa5ff4c7e [2022-08-16T17:43:49.588Z] Removing intermediate container 75afa5ff4c7e [2022-08-16T17:43:49.588Z] ---> 07d4300ebfea [2022-08-16T17:43:49.588Z] Step 24/26 : LABEL arch=amd64 [2022-08-16T17:43:49.588Z] ---> Running in 405236d2b8f7 [2022-08-16T17:43:49.852Z] Removing intermediate container 405236d2b8f7 [2022-08-16T17:43:49.852Z] ---> 6e6b3c64ef88 [2022-08-16T17:43:49.852Z] Step 25/26 : LABEL git_sha=3421989dcb0f93148dedb0d06acba05ebe96c9b6 [2022-08-16T17:43:49.852Z] ---> Running in 9287951b7dd5 [2022-08-16T17:43:49.852Z] Removing intermediate container 9287951b7dd5 [2022-08-16T17:43:49.852Z] ---> 3c9fc4741d14 [2022-08-16T17:43:49.852Z] Step 26/26 : LABEL version=0.0.0 [2022-08-16T17:43:49.852Z] ---> Running in 44e8cd8d996d [2022-08-16T17:43:50.112Z] Removing intermediate container 44e8cd8d996d [2022-08-16T17:43:50.112Z] ---> e62c83fa865e [2022-08-16T17:43:50.112Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-16T17:43:50.112Z] Successfully built e62c83fa865e [2022-08-16T17:43:50.112Z] 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-08-16T17:43:50.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T17:43:50.981Z] [2022-08-16T17:43:50.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:43:51.359Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T17:43:51.359Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-16T17:43:51.359Z] 5eb5b503b376: Pulling fs layer [2022-08-16T17:43:51.359Z] 5c69ac0246d0: Pulling fs layer [2022-08-16T17:43:51.359Z] ec43610c2a17: Pulling fs layer [2022-08-16T17:43:51.359Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-16T17:43:51.359Z] 33b1e0a273af: Pulling fs layer [2022-08-16T17:43:51.359Z] 5d3b04190fa2: Pulling fs layer [2022-08-16T17:43:51.359Z] 2f39f015ded8: Pulling fs layer [2022-08-16T17:43:51.359Z] 33b1e0a273af: Waiting [2022-08-16T17:43:51.359Z] 5d3b04190fa2: Waiting [2022-08-16T17:43:51.359Z] 2f39f015ded8: Waiting [2022-08-16T17:43:51.359Z] 3a2ae6a8a46f: Waiting [2022-08-16T17:43:51.359Z] 5c69ac0246d0: Download complete [2022-08-16T17:43:51.359Z] 3a2ae6a8a46f: Download complete [2022-08-16T17:43:51.359Z] ec43610c2a17: Verifying Checksum [2022-08-16T17:43:51.359Z] ec43610c2a17: Download complete [2022-08-16T17:43:51.359Z] 33b1e0a273af: Verifying Checksum [2022-08-16T17:43:51.359Z] 33b1e0a273af: Download complete [2022-08-16T17:43:51.619Z] 5d3b04190fa2: Download complete [2022-08-16T17:43:51.619Z] 5eb5b503b376: Verifying Checksum [2022-08-16T17:43:51.619Z] 5eb5b503b376: Download complete [2022-08-16T17:43:52.188Z] 2f39f015ded8: Download complete [2022-08-16T17:43:52.735Z] using credential edgex-jenkins-ssh [2022-08-16T17:43:52.751Z] Cloning the remote Git repository [2022-08-16T17:43:53.188Z] 5eb5b503b376: Pull complete [2022-08-16T17:43:53.188Z] 5c69ac0246d0: Pull complete [2022-08-16T17:43:52.805Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T17:43:52.893Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-16T17:43:52.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T17:43:52.968Z] > git --version # timeout=10 [2022-08-16T17:43:52.987Z] > git --version # 'git version 2.25.1' [2022-08-16T17:43:52.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T17:43:53.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-16T17:43:53.819Z] ec43610c2a17: Pull complete [2022-08-16T17:43:54.078Z] 3a2ae6a8a46f: Pull complete [2022-08-16T17:43:54.339Z] 33b1e0a273af: Pull complete [2022-08-16T17:43:54.339Z] 5d3b04190fa2: Pull complete [2022-08-16T17:43:54.743Z] Merging remotes/origin/main commit 7dcacfabcedd8c9812e04fc6911462b912c63165 into PR head commit 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [2022-08-16T17:43:54.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-16T17:43:54.173Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-16T17:43:54.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-16T17:43:54.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T17:43:54.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T17:43:54.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-16T17:43:54.761Z] > git config core.sparsecheckout # timeout=10 [2022-08-16T17:43:54.831Z] > git checkout -f 3421989dcb0f93148dedb0d06acba05ebe96c9b6 # timeout=10 [2022-08-16T17:43:55.148Z] Merge succeeded, producing 3421989dcb0f93148dedb0d06acba05ebe96c9b6 [2022-08-16T17:43:55.148Z] Checking out Revision 3421989dcb0f93148dedb0d06acba05ebe96c9b6 (PR-136) [2022-08-16T17:43:55.073Z] > git remote # timeout=10 [2022-08-16T17:43:55.087Z] > git config --get remote.origin.url # timeout=10 [2022-08-16T17:43:55.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T17:43:55.111Z] > git merge 7dcacfabcedd8c9812e04fc6911462b912c63165 # timeout=10 [2022-08-16T17:43:55.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-16T17:43:55.154Z] > git config core.sparsecheckout # timeout=10 [2022-08-16T17:43:55.168Z] > git checkout -f 3421989dcb0f93148dedb0d06acba05ebe96c9b6 # timeout=10 [2022-08-16T17:43:59.322Z] Commit message: "fix: netscan search only for NetworkVideoTransmitter" [2022-08-16T17:43:59.381Z] > git --version # timeout=10 [2022-08-16T17:43:59.392Z] > git --version # 'git version 2.25.1' [2022-08-16T17:43:59.404Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-16T17:43:59.634Z] 2f39f015ded8: Pull complete [2022-08-16T17:43:59.634Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-16T17:43:59.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T17:43:59.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-08-16T17:43:59.760Z] [2022-08-16T17:43:59.760Z] GitHub has been notified of this commit’s build result [2022-08-16T17:43:59.760Z] [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:43:59.878Z] prd-ubuntu20.04-docker-8c-8g-22910 does not seem to be running inside a container [2022-08-16T17:43:59.915Z] $ 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-136 -v /w/workspace/undry_device-onvif-camera_PR-136:/w/workspace/undry_device-onvif-camera_PR-136:rw,z -v /w/workspace/undry_device-onvif-camera_PR-136@tmp:/w/workspace/undry_device-onvif-camera_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-16T17:44:04.822Z] $ docker top d6bd93c52a4606e2c14c99f7d1221d3aa18a9afc34f668ad9862d03a9ab23f58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T17:44:05.282Z] ---> job-cost.sh [2022-08-16T17:44:05.282Z] lf-activate-venv: SKIPPING [2022-08-16T17:44:05.282Z] INFO: No Stack... [2022-08-16T17:44:05.744Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-16T17:44:05.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-16T17:44:05.744Z] Dload Upload Total Spent Left Speed [2022-08-16T17:44:05.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 [2022-08-16T17:44:05.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-08-16T17:44:06.113Z] INFO: Archiving Costs [Pipeline] sh [2022-08-16T17:44:06.457Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-16T17:44:06.552Z] + cat /w/workspace/undry_device-onvif-camera_PR-136/archives/cost.csv [2022-08-16T17:44:06.552Z] + cut -d, -f6 [Pipeline] lock [2022-08-16T17:44:06.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [2022-08-16T17:44:06.643Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] did not exist. Created. [2022-08-16T17:44:06.643Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-16T17:44:06.825Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-16T17:44:06.825Z] + sudo tee /etc/docker/daemon.new [2022-08-16T17:44:06.825Z] { [2022-08-16T17:44:06.825Z] "registry-mirrors": [ [2022-08-16T17:44:06.825Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-16T17:44:06.825Z] ], [2022-08-16T17:44:06.825Z] "bip": "10.250.0.254/24", [2022-08-16T17:44:06.825Z] "hosts": [ [2022-08-16T17:44:06.825Z] "tcp://0.0.0.0:5555", [2022-08-16T17:44:06.825Z] "unix:///var/run/docker.sock" [2022-08-16T17:44:06.825Z] ], [2022-08-16T17:44:06.825Z] "mtu": 1458, [2022-08-16T17:44:06.825Z] "selinux-enabled": true, [2022-08-16T17:44:06.825Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-16T17:44:06.825Z] } [Pipeline] sh [2022-08-16T17:44:07.050Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-16T17:44:07.095Z] Stashed 1 file(s) [Pipeline] } [2022-08-16T17:44:07.127Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [Pipeline] // lock [2022-08-16T17:44:07.189Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } [2022-08-16T17:44:07.206Z] $ docker stop --time=1 d6bd93c52a4606e2c14c99f7d1221d3aa18a9afc34f668ad9862d03a9ab23f58 [2022-08-16T17:44:08.619Z] $ docker rm -f d6bd93c52a4606e2c14c99f7d1221d3aa18a9afc34f668ad9862d03a9ab23f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-16T17:44:09.106Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T17:44:27.636Z] provisioning config files... [2022-08-16T17:44:27.661Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5768229344413355224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:44:28.123Z] ---> docker-login.sh [2022-08-16T17:44:28.123Z] nexus3.edgexfoundry.org:10001 [2022-08-16T17:44:28.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:44:28.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:44:28.791Z] Configure a credential helper to remove this warning. See [2022-08-16T17:44:28.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:44:28.791Z] [2022-08-16T17:44:28.791Z] Login Succeeded [2022-08-16T17:44:28.791Z] nexus3.edgexfoundry.org:10002 [2022-08-16T17:44:29.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:44:29.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:44:29.387Z] Configure a credential helper to remove this warning. See [2022-08-16T17:44:29.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:44:29.387Z] [2022-08-16T17:44:29.387Z] Login Succeeded [2022-08-16T17:44:29.387Z] nexus3.edgexfoundry.org:10003 [2022-08-16T17:44:29.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:44:29.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:44:29.660Z] Configure a credential helper to remove this warning. See [2022-08-16T17:44:29.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:44:29.660Z] [2022-08-16T17:44:29.660Z] Login Succeeded [2022-08-16T17:44:29.660Z] nexus3.edgexfoundry.org:10004 [2022-08-16T17:44:30.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:44:30.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:44:30.263Z] Configure a credential helper to remove this warning. See [2022-08-16T17:44:30.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:44:30.263Z] [2022-08-16T17:44:30.263Z] Login Succeeded [2022-08-16T17:44:30.263Z] docker.io [2022-08-16T17:44:30.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T17:44:31.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T17:44:31.506Z] Configure a credential helper to remove this warning. See [2022-08-16T17:44:31.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T17:44:31.506Z] [2022-08-16T17:44:31.506Z] Login Succeeded [2022-08-16T17:44:31.507Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T17:44:31.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-16T17:44:31.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T17:44:31.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T17:44:31.987Z] ========================================================= [2022-08-16T17:44:31.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-16T17:44:31.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:44:32.507Z] + 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-08-16T17:44:33.111Z] Sending build context to Docker daemon 14.09MB [2022-08-16T17:44:33.111Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T17:44:33.111Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-16T17:44:33.111Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-16T17:44:33.111Z] b3c136eddcbf: Pulling fs layer [2022-08-16T17:44:33.111Z] c0a3192eca97: Pulling fs layer [2022-08-16T17:44:33.111Z] a050256f5b6f: Pulling fs layer [2022-08-16T17:44:33.111Z] 656be50a0ddc: Pulling fs layer [2022-08-16T17:44:33.111Z] 2bbca73fdf42: Pulling fs layer [2022-08-16T17:44:33.111Z] 46d945488cbd: Pulling fs layer [2022-08-16T17:44:33.111Z] 8a5474983e97: Pulling fs layer [2022-08-16T17:44:33.111Z] 329c88fbcd65: Pulling fs layer [2022-08-16T17:44:33.111Z] 2bbca73fdf42: Waiting [2022-08-16T17:44:33.111Z] 46d945488cbd: Waiting [2022-08-16T17:44:33.111Z] 8a5474983e97: Waiting [2022-08-16T17:44:33.111Z] 329c88fbcd65: Waiting [2022-08-16T17:44:33.111Z] 656be50a0ddc: Waiting [2022-08-16T17:44:33.111Z] a050256f5b6f: Download complete [2022-08-16T17:44:33.111Z] c0a3192eca97: Verifying Checksum [2022-08-16T17:44:33.111Z] c0a3192eca97: Download complete [2022-08-16T17:44:33.111Z] 2bbca73fdf42: Verifying Checksum [2022-08-16T17:44:33.111Z] 2bbca73fdf42: Download complete [2022-08-16T17:44:33.111Z] 46d945488cbd: Verifying Checksum [2022-08-16T17:44:33.111Z] 46d945488cbd: Download complete [2022-08-16T17:44:33.391Z] b3c136eddcbf: Download complete [2022-08-16T17:44:34.007Z] b3c136eddcbf: Pull complete [2022-08-16T17:44:34.284Z] 329c88fbcd65: Verifying Checksum [2022-08-16T17:44:34.284Z] 329c88fbcd65: Download complete [2022-08-16T17:44:34.885Z] c0a3192eca97: Pull complete [2022-08-16T17:44:35.161Z] a050256f5b6f: Pull complete [2022-08-16T17:44:35.435Z] 8a5474983e97: Verifying Checksum [2022-08-16T17:44:35.435Z] 8a5474983e97: Download complete [2022-08-16T17:44:36.034Z] 656be50a0ddc: Verifying Checksum [2022-08-16T17:44:36.034Z] 656be50a0ddc: Download complete [2022-08-16T17:44:51.145Z] 656be50a0ddc: Pull complete [2022-08-16T17:44:51.145Z] 2bbca73fdf42: Pull complete [2022-08-16T17:44:51.145Z] 46d945488cbd: Pull complete [2022-08-16T17:44:56.609Z] 8a5474983e97: Pull complete [2022-08-16T17:44:58.048Z] 329c88fbcd65: Pull complete [2022-08-16T17:44:58.323Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-16T17:44:58.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-16T17:44:58.323Z] ---> ff4287adb874 [2022-08-16T17:44:58.323Z] Step 3/13 : ARG MAKE="make build" [2022-08-16T17:45:00.303Z] ---> Running in 56ee26621255 [2022-08-16T17:45:00.303Z] Removing intermediate container 56ee26621255 [2022-08-16T17:45:00.303Z] ---> 92d16870b8e6 [2022-08-16T17:45:00.303Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T17:45:00.303Z] ---> Running in fd02366abc17 [2022-08-16T17:45:00.579Z] Removing intermediate container fd02366abc17 [2022-08-16T17:45:00.579Z] ---> eaa40f48aa36 [2022-08-16T17:45:00.579Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T17:45:00.579Z] ---> Running in 2d7954adbe15 [2022-08-16T17:45:00.860Z] Removing intermediate container 2d7954adbe15 [2022-08-16T17:45:00.860Z] ---> 2c737c1b4d6a [2022-08-16T17:45:00.860Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-16T17:45:01.139Z] ---> Running in 92583f118947 [2022-08-16T17:45:01.415Z] Removing intermediate container 92583f118947 [2022-08-16T17:45:01.415Z] ---> b242784f6d87 [2022-08-16T17:45:01.415Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T17:45:01.415Z] ---> Running in aa050e1a19df [2022-08-16T17:45:03.414Z] Removing intermediate container aa050e1a19df [2022-08-16T17:45:03.414Z] ---> e1c8a6027fdc [2022-08-16T17:45:03.414Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T17:45:03.414Z] ---> Running in ca690f276a2f [2022-08-16T17:45:04.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T17:45:04.988Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T17:45:05.965Z] OK: 221 MiB in 51 packages [2022-08-16T17:45:06.954Z] Removing intermediate container ca690f276a2f [2022-08-16T17:45:06.954Z] ---> a5ebd3fc8c9f [2022-08-16T17:45:06.954Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-16T17:45:06.954Z] ---> Running in f0846d65fc3e [2022-08-16T17:45:07.228Z] Removing intermediate container f0846d65fc3e [2022-08-16T17:45:07.228Z] ---> aa07d2a04ac7 [2022-08-16T17:45:07.228Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-16T17:45:07.838Z] ---> 83a8f6a07f89 [2022-08-16T17:45:07.838Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T17:45:07.838Z] ---> Running in ffbf273c4dd4 [2022-08-16T17:46:32.281Z] Removing intermediate container ffbf273c4dd4 [2022-08-16T17:46:32.281Z] ---> e10cd864642f [2022-08-16T17:46:32.281Z] Step 12/13 : COPY . . [2022-08-16T17:46:32.281Z] ---> 36d766a232f3 [2022-08-16T17:46:32.281Z] Step 13/13 : RUN ${MAKE} [2022-08-16T17:46:32.281Z] ---> Running in 5517a90d74a7 [2022-08-16T17:46:32.281Z] noop [2022-08-16T17:46:32.281Z] Removing intermediate container 5517a90d74a7 [2022-08-16T17:46:32.281Z] ---> aa6771aaa528 [2022-08-16T17:46:32.281Z] Successfully built aa6771aaa528 [2022-08-16T17:46:32.281Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:46:32.791Z] + docker inspect -f . ci-base-image-arm64 [2022-08-16T17:46:32.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:46:33.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-22911 does not seem to be running inside a container [2022-08-16T17:46:33.172Z] $ 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-08-16T17:46:34.351Z] $ docker top 01d2fc0ae51aa844dea4f1400e016d4bdcac4f27b69b400528a7df90e756ba69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T17:46:35.292Z] + go version [2022-08-16T17:46:35.292Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-16T17:46:35.315Z] $ docker stop --time=1 01d2fc0ae51aa844dea4f1400e016d4bdcac4f27b69b400528a7df90e756ba69 [2022-08-16T17:46:36.910Z] $ docker rm -f 01d2fc0ae51aa844dea4f1400e016d4bdcac4f27b69b400528a7df90e756ba69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:46:37.794Z] + docker inspect -f . ci-base-image-arm64 [2022-08-16T17:46:37.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:46:38.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-22911 does not seem to be running inside a container [2022-08-16T17:46:38.164Z] $ 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-08-16T17:46:39.333Z] $ docker top 059f2fdd2c9cc1c8a6e80fe9a0a37cd2804fd5671002e98b0fd741e30e0cc2bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T17:46:40.271Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-16T17:46:40.984Z] + make test [2022-08-16T17:46:40.984Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-16T17:46:42.419Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-16T17:48:04.641Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-16T17:48:11.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements [2022-08-16T17:48:11.422Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-16T17:48:33.634Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.470s coverage: 13.8% of statements [2022-08-16T17:48:34.235Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-16T17:48:34.235Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-16T17:48:56.467Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-16T17:48:56.467Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-16T17:48:56.467Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-16T17:48:56.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-16T17:48:56.550Z] $ docker stop --time=1 059f2fdd2c9cc1c8a6e80fe9a0a37cd2804fd5671002e98b0fd741e30e0cc2bb [2022-08-16T17:48:58.298Z] $ docker rm -f 059f2fdd2c9cc1c8a6e80fe9a0a37cd2804fd5671002e98b0fd741e30e0cc2bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T17:48:59.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-16T17:48:59.442Z] Warning: overwriting stash ‘coverage-report’ [2022-08-16T17:49:00.077Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T17:49:00.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-16T17:49:01.081Z] + ls -al . [2022-08-16T17:49:01.081Z] total 228 [2022-08-16T17:49:01.081Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 17:46 . [2022-08-16T17:49:01.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:43 .. [2022-08-16T17:49:01.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 17:43 .git [2022-08-16T17:49:01.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 17:43 .github [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 16 17:43 .gitignore [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 17:43 .golangci.yml [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 16 17:43 Attribution.txt [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 16 17:43 CHANGELOG.md [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 16 17:43 Dockerfile [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 17:43 GOVERNANCE.md [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 16 17:43 Jenkinsfile [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 17:43 LICENSE [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 16 17:43 Makefile [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 16 17:43 OWNERS.md [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 16 17:43 README.md [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 17:41 VERSION [2022-08-16T17:49:01.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 17:43 bin [2022-08-16T17:49:01.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 17:43 cmd [2022-08-16T17:49:01.081Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 16 17:48 coverage.out [2022-08-16T17:49:01.081Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 17:43 doc [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 16 17:43 go.mod [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 16 17:43 go.sum [2022-08-16T17:49:01.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:43 internal [2022-08-16T17:49:01.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 17:43 snap [2022-08-16T17:49:01.081Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 16 17:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:49:01.583Z] + 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=3421989dcb0f93148dedb0d06acba05ebe96c9b6 --label arch=arm64 --label version=0.0.0 . [2022-08-16T17:49:02.188Z] Sending build context to Docker daemon 14.17MB [2022-08-16T17:49:02.188Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T17:49:02.188Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-16T17:49:02.188Z] ---> aa6771aaa528 [2022-08-16T17:49:02.188Z] Step 3/26 : ARG MAKE="make build" [2022-08-16T17:49:02.463Z] ---> Running in f8372b928215 [2022-08-16T17:49:02.739Z] Removing intermediate container f8372b928215 [2022-08-16T17:49:02.739Z] ---> 1837dcb72606 [2022-08-16T17:49:02.739Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T17:49:02.739Z] ---> Running in 608c75eef061 [2022-08-16T17:49:03.016Z] Removing intermediate container 608c75eef061 [2022-08-16T17:49:03.016Z] ---> dd37de58c774 [2022-08-16T17:49:03.016Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T17:49:03.289Z] ---> Running in a8ffeb5fc18e [2022-08-16T17:49:03.569Z] Removing intermediate container a8ffeb5fc18e [2022-08-16T17:49:03.569Z] ---> fd58425bb156 [2022-08-16T17:49:03.569Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-16T17:49:03.569Z] ---> Running in 1c7d099df235 [2022-08-16T17:49:03.843Z] Removing intermediate container 1c7d099df235 [2022-08-16T17:49:03.843Z] ---> c97a9b4dc400 [2022-08-16T17:49:03.843Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T17:49:03.843Z] ---> Running in d7d18dd58605 [2022-08-16T17:49:05.820Z] Removing intermediate container d7d18dd58605 [2022-08-16T17:49:05.820Z] ---> e6b08dd1e607 [2022-08-16T17:49:05.820Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T17:49:05.820Z] ---> Running in cd572c809dae [2022-08-16T17:49:06.417Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T17:49:07.392Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T17:49:08.373Z] OK: 221 MiB in 51 packages [2022-08-16T17:49:08.972Z] Removing intermediate container cd572c809dae [2022-08-16T17:49:08.972Z] ---> aba7ad985b93 [2022-08-16T17:49:08.972Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-16T17:49:09.248Z] ---> Running in 822d784f4ca1 [2022-08-16T17:49:09.522Z] Removing intermediate container 822d784f4ca1 [2022-08-16T17:49:09.522Z] ---> 0af3018ef6c9 [2022-08-16T17:49:09.522Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-16T17:49:10.119Z] ---> 9ebaddb7e8cf [2022-08-16T17:49:10.119Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T17:49:10.119Z] ---> Running in c3da65bbbcb9 [2022-08-16T17:49:12.364Z] Removing intermediate container c3da65bbbcb9 [2022-08-16T17:49:12.364Z] ---> 119b6be9c63c [2022-08-16T17:49:12.364Z] Step 12/26 : COPY . . [2022-08-16T17:49:13.803Z] ---> 4a06ca6e1ee5 [2022-08-16T17:49:13.803Z] Step 13/26 : RUN ${MAKE} [2022-08-16T17:49:13.803Z] ---> Running in 67a9da722577 [2022-08-16T17:49:14.785Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-16T17:51:21.685Z] Removing intermediate container 67a9da722577 [2022-08-16T17:51:21.685Z] ---> f9e85e373ab1 [2022-08-16T17:51:21.685Z] Step 14/26 : FROM alpine:3.16 [2022-08-16T17:51:21.685Z] 3.16: Pulling from library/alpine [2022-08-16T17:51:21.685Z] 9b18e9b68314: Pulling fs layer [2022-08-16T17:51:21.685Z] 9b18e9b68314: Verifying Checksum [2022-08-16T17:51:21.685Z] 9b18e9b68314: Download complete [2022-08-16T17:51:21.960Z] 9b18e9b68314: Pull complete [2022-08-16T17:51:21.960Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-16T17:51:21.960Z] Status: Downloaded newer image for alpine:3.16 [2022-08-16T17:51:21.960Z] ---> a6215f271958 [2022-08-16T17:51:21.960Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-16T17:51:21.960Z] ---> Running in b2a98ab1d66c [2022-08-16T17:51:22.233Z] Removing intermediate container b2a98ab1d66c [2022-08-16T17:51:22.233Z] ---> a7b17de59aeb [2022-08-16T17:51:22.233Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-16T17:51:22.506Z] ---> Running in 760e1648e61c [2022-08-16T17:51:23.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T17:51:23.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T17:51:24.729Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-16T17:51:24.729Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-16T17:51:24.729Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-16T17:51:24.729Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-16T17:51:24.729Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-16T17:51:24.729Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-16T17:51:24.729Z] Executing busybox-1.35.0-r17.trigger [2022-08-16T17:51:24.729Z] OK: 8 MiB in 20 packages [2022-08-16T17:51:25.709Z] Removing intermediate container 760e1648e61c [2022-08-16T17:51:25.709Z] ---> c001b88abd3c [2022-08-16T17:51:25.709Z] Step 17/26 : WORKDIR / [2022-08-16T17:51:25.709Z] ---> Running in 795812106f44 [2022-08-16T17:51:25.982Z] Removing intermediate container 795812106f44 [2022-08-16T17:51:25.982Z] ---> ca64ecaeaf58 [2022-08-16T17:51:25.982Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-16T17:51:27.415Z] ---> 55320d83a394 [2022-08-16T17:51:27.415Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-16T17:51:28.011Z] ---> e3bd8b72a288 [2022-08-16T17:51:28.011Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-16T17:51:28.616Z] ---> b27993011732 [2022-08-16T17:51:28.616Z] Step 21/26 : EXPOSE 59984 [2022-08-16T17:51:28.616Z] ---> Running in 753e1122fc30 [2022-08-16T17:51:28.891Z] Removing intermediate container 753e1122fc30 [2022-08-16T17:51:28.891Z] ---> 28a46a2563dc [2022-08-16T17:51:28.891Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-16T17:51:28.891Z] ---> Running in f89cbdd4c5e4 [2022-08-16T17:51:29.164Z] Removing intermediate container f89cbdd4c5e4 [2022-08-16T17:51:29.164Z] ---> 704ced5f83e4 [2022-08-16T17:51:29.164Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-16T17:51:29.164Z] ---> Running in 1ee332b773d2 [2022-08-16T17:51:29.440Z] Removing intermediate container 1ee332b773d2 [2022-08-16T17:51:29.440Z] ---> bd50c5aff410 [2022-08-16T17:51:29.440Z] Step 24/26 : LABEL arch=arm64 [2022-08-16T17:51:29.713Z] ---> Running in d51a3ca38c30 [2022-08-16T17:51:29.986Z] Removing intermediate container d51a3ca38c30 [2022-08-16T17:51:29.986Z] ---> 27f226a6385f [2022-08-16T17:51:29.986Z] Step 25/26 : LABEL git_sha=3421989dcb0f93148dedb0d06acba05ebe96c9b6 [2022-08-16T17:51:29.986Z] ---> Running in 500a7c035c21 [2022-08-16T17:51:30.262Z] Removing intermediate container 500a7c035c21 [2022-08-16T17:51:30.262Z] ---> ab7a526942eb [2022-08-16T17:51:30.262Z] Step 26/26 : LABEL version=0.0.0 [2022-08-16T17:51:30.262Z] ---> Running in 4ef887d335df [2022-08-16T17:51:30.532Z] Removing intermediate container 4ef887d335df [2022-08-16T17:51:30.532Z] ---> 25e77adf3181 [2022-08-16T17:51:30.532Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-16T17:51:30.804Z] Successfully built 25e77adf3181 [2022-08-16T17:51:30.804Z] 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-08-16T17:51:31.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T17:51:31.638Z] [2022-08-16T17:51:31.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:51:32.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T17:51:32.336Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-16T17:51:32.336Z] 8998bd30e6a1: Pulling fs layer [2022-08-16T17:51:32.336Z] 04944245beec: Pulling fs layer [2022-08-16T17:51:32.336Z] 699f458cf7ca: Pulling fs layer [2022-08-16T17:51:32.336Z] 765212b225bb: Pulling fs layer [2022-08-16T17:51:32.336Z] f23df028b6ca: Pulling fs layer [2022-08-16T17:51:32.336Z] d65c8cfc05b1: Pulling fs layer [2022-08-16T17:51:32.336Z] 2437ff75d9bd: Pulling fs layer [2022-08-16T17:51:32.336Z] 765212b225bb: Waiting [2022-08-16T17:51:32.336Z] f23df028b6ca: Waiting [2022-08-16T17:51:32.336Z] d65c8cfc05b1: Waiting [2022-08-16T17:51:32.336Z] 2437ff75d9bd: Waiting [2022-08-16T17:51:32.336Z] 04944245beec: Verifying Checksum [2022-08-16T17:51:32.336Z] 04944245beec: Download complete [2022-08-16T17:51:32.336Z] 765212b225bb: Verifying Checksum [2022-08-16T17:51:32.336Z] 765212b225bb: Download complete [2022-08-16T17:51:32.336Z] f23df028b6ca: Verifying Checksum [2022-08-16T17:51:32.336Z] f23df028b6ca: Download complete [2022-08-16T17:51:32.336Z] d65c8cfc05b1: Verifying Checksum [2022-08-16T17:51:32.336Z] d65c8cfc05b1: Download complete [2022-08-16T17:51:32.611Z] 699f458cf7ca: Verifying Checksum [2022-08-16T17:51:32.611Z] 699f458cf7ca: Download complete [2022-08-16T17:51:32.890Z] 8998bd30e6a1: Verifying Checksum [2022-08-16T17:51:32.890Z] 8998bd30e6a1: Download complete [2022-08-16T17:51:35.511Z] 2437ff75d9bd: Verifying Checksum [2022-08-16T17:51:35.511Z] 2437ff75d9bd: Download complete [2022-08-16T17:51:37.485Z] 8998bd30e6a1: Pull complete [2022-08-16T17:51:37.760Z] 04944245beec: Pull complete [2022-08-16T17:51:39.191Z] 699f458cf7ca: Pull complete [2022-08-16T17:51:39.465Z] 765212b225bb: Pull complete [2022-08-16T17:51:40.444Z] f23df028b6ca: Pull complete [2022-08-16T17:51:40.444Z] d65c8cfc05b1: Pull complete [2022-08-16T17:51:55.523Z] 2437ff75d9bd: Pull complete [2022-08-16T17:51:55.523Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-16T17:51:55.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T17:51:55.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:51:55.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-22911 does not seem to be running inside a container [2022-08-16T17:51:56.092Z] $ 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-08-16T17:51:58.648Z] $ docker top a58375bda6d4ec631b2a49e65139f6da57ab963d0a3d8a8838b716b1364e84e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:51:59.694Z] ---> job-cost.sh [2022-08-16T17:51:59.694Z] lf-activate-venv: SKIPPING [2022-08-16T17:51:59.694Z] INFO: No Stack... [2022-08-16T17:51:59.966Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-16T17:52:00.943Z] INFO: Archiving Costs [Pipeline] sh [2022-08-16T17:52:01.617Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-16T17:52:01.617Z] + cut -d, -f6 [Pipeline] lock [2022-08-16T17:52:01.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [2022-08-16T17:52:01.705Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] did not exist. Created. [2022-08-16T17:52:01.705Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-16T17:52:02.454Z] /w/workspace/device-onvif-camera/1@tmp/durable-7be9211d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-16T17:52:03.146Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-16T17:52:03.181Z] Warning: overwriting stash ‘stack-cost’ [2022-08-16T17:52:03.232Z] Stashed 1 file(s) [Pipeline] } [2022-08-16T17:52:03.249Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-136-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-16T17:52:03.334Z] $ docker stop --time=1 a58375bda6d4ec631b2a49e65139f6da57ab963d0a3d8a8838b716b1364e84e4 [2022-08-16T17:52:04.810Z] $ docker rm -f a58375bda6d4ec631b2a49e65139f6da57ab963d0a3d8a8838b716b1364e84e4 [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-08-16T17:52:05.772Z] provisioning config files... [2022-08-16T17:52:05.780Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-136@tmp/config1078662159816833579tmp [Pipeline] { [Pipeline] sh [2022-08-16T17:52:06.112Z] + set +x [2022-08-16T17:52:06.112Z] + curl -s https://codecov.io/bash [2022-08-16T17:52:06.112Z] + bash -s -- [2022-08-16T17:52:06.112Z] [2022-08-16T17:52:06.112Z] _____ _ [2022-08-16T17:52:06.112Z] / ____| | | [2022-08-16T17:52:06.112Z] | | ___ __| | ___ ___ _____ __ [2022-08-16T17:52:06.112Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-16T17:52:06.112Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-16T17:52:06.112Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-16T17:52:06.112Z] Bash-1.0.6 [2022-08-16T17:52:06.112Z] [2022-08-16T17:52:06.112Z] [2022-08-16T17:52:06.112Z] ==> git version 2.25.1 found [2022-08-16T17:52:06.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-08-16T17:52:06.112Z] Release-Date: 2020-01-08 [2022-08-16T17:52:06.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-08-16T17:52:06.112Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-16T17:52:06.112Z] ==> Jenkins CI detected. [2022-08-16T17:52:06.112Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-136 [2022-08-16T17:52:06.112Z] project root: . [2022-08-16T17:52:06.112Z] --> token set from env [2022-08-16T17:52:06.112Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-16T17:52:06.112Z] ==> Running gcov in . (disable via -X gcov) [2022-08-16T17:52:06.112Z] ==> Python coveragepy not found [2022-08-16T17:52:06.112Z] ==> Searching for coverage reports in: [2022-08-16T17:52:06.112Z] + . [2022-08-16T17:52:06.112Z] -> Found 1 reports [2022-08-16T17:52:06.112Z] ==> Detecting git/mercurial file structure [2022-08-16T17:52:06.112Z] ==> Reading reports [2022-08-16T17:52:06.372Z] + ./coverage.out bytes=76854 [2022-08-16T17:52:06.372Z] ==> Appending adjustments [2022-08-16T17:52:06.372Z] https://docs.codecov.io/docs/fixing-reports [2022-08-16T17:52:06.372Z] + Found adjustments [2022-08-16T17:52:06.372Z] ==> Gzipping contents [2022-08-16T17:52:06.372Z] 12K /tmp/codecov.fla08H.gz [2022-08-16T17:52:06.372Z] ==> Uploading reports [2022-08-16T17:52:06.372Z] url: https://codecov.io [2022-08-16T17:52:06.372Z] query: branch=PR-136&commit=3421989dcb0f93148dedb0d06acba05ebe96c9b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=136&job=&cmd_args= [2022-08-16T17:52:06.372Z] -> Pinging Codecov [2022-08-16T17:52:06.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-136&commit=3421989dcb0f93148dedb0d06acba05ebe96c9b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=136&job=&cmd_args= [2022-08-16T17:52:06.943Z] -> Uploading to [2022-08-16T17:52:06.943Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-16/F29A59C45E3A92E06B3E522C9905F8EF/3421989dcb0f93148dedb0d06acba05ebe96c9b6/4c63a2ca-6f3d-4857-ab9e-8e3aaa624072.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220816T175206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81e4557a6db07896a4c2ff2110d61ea70b88bca21d38e3ee7200b7ae993cc687 [2022-08-16T17:52:06.943Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-16T17:52:06.943Z] Dload Upload Total Spent Left Speed [2022-08-16T17:52:06.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10342 0 0 100 10342 0 46585 --:--:-- --:--:-- --:--:-- 46376 100 10342 0 0 100 10342 0 42912 --:--:-- --:--:-- --:--:-- 42735 [2022-08-16T17:52:06.943Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/3421989dcb0f93148dedb0d06acba05ebe96c9b6 [Pipeline] } [2022-08-16T17:52:06.974Z] 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-08-16T17:52:08.765Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-136/archives ] [2022-08-16T17:52:08.765Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-136/archives [2022-08-16T17:52:08.765Z] total 16 [2022-08-16T17:52:08.765Z] drwxr-xr-x 3 root root 4096 Aug 16 17:44 . [2022-08-16T17:52:08.765Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 17:44 .. [2022-08-16T17:52:08.765Z] drwxr-xr-x 2 root root 4096 Aug 16 17:44 cost [2022-08-16T17:52:08.765Z] -rw-r--r-- 1 root root 91 Aug 16 17:44 cost.csv [2022-08-16T17:52:08.765Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-136/archives [2022-08-16T17:52:08.765Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-136/archives [2022-08-16T17:52:08.765Z] total 16 [2022-08-16T17:52:08.765Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 17:44 . [2022-08-16T17:52:08.765Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 17:44 .. [2022-08-16T17:52:08.765Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 17:44 cost [2022-08-16T17:52:08.765Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 16 17:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:09.090Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:09.986Z] ---> package-listing.sh [2022-08-16T17:52:09.986Z] ++ facter osfamily [2022-08-16T17:52:09.986Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-16T17:52:10.246Z] + OS_FAMILY=debian [2022-08-16T17:52:10.246Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-136 [2022-08-16T17:52:10.246Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-16T17:52:10.246Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-16T17:52:10.246Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-16T17:52:10.246Z] + PACKAGES=/tmp/packages_start.txt [2022-08-16T17:52:10.246Z] + '[' /w/workspace/undry_device-onvif-camera_PR-136 ']' [2022-08-16T17:52:10.246Z] + PACKAGES=/tmp/packages_end.txt [2022-08-16T17:52:10.246Z] + case "${OS_FAMILY}" in [2022-08-16T17:52:10.246Z] + dpkg -l [2022-08-16T17:52:10.246Z] + grep '^ii' [2022-08-16T17:52:10.246Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-16T17:52:10.246Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-16T17:52:10.246Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-16T17:52:10.246Z] + '[' /w/workspace/undry_device-onvif-camera_PR-136 ']' [2022-08-16T17:52:10.246Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-136/archives/ [2022-08-16T17:52:10.246Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-136/archives/ [Pipeline] echo [2022-08-16T17:52:10.280Z] 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-136/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-16T17:52:10.574Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T17:52:11.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T17:52:11.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T17:52:11.351Z] prd-ubuntu20.04-docker-8c-8g-22910 does not seem to be running inside a container [2022-08-16T17:52:11.386Z] $ 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-136/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-136 -v /w/workspace/undry_device-onvif-camera_PR-136:/w/workspace/undry_device-onvif-camera_PR-136:rw,z -v /w/workspace/undry_device-onvif-camera_PR-136@tmp:/w/workspace/undry_device-onvif-camera_PR-136@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-08-16T17:52:11.589Z] $ docker top 9f1d0ab07e03e5c3f9c235483d52d766e13c1e3fa7be10c0f115ae2a45c17379 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T17:52:12.012Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-16T17:52:12.325Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-16T17:52:12.634Z] + ls /var/log/sa-host [2022-08-16T17:52:12.634Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T17:52:12.843Z] provisioning config files... [2022-08-16T17:52:12.852Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-136@tmp/config5032159128293838315tmp [Pipeline] { [Pipeline] echo [2022-08-16T17:52:12.913Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:13.224Z] ---> create-netrc.sh [Pipeline] } [2022-08-16T17:52:13.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:13.657Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-16T17:52:13.690Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:14.001Z] ---> sudo-logs.sh [2022-08-16T17:52:14.001Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-16T17:52:14.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:14.398Z] ---> job-cost.sh [2022-08-16T17:52:14.398Z] lf-activate-venv: SKIPPING [2022-08-16T17:52:14.398Z] DEBUG: total: 0.2199999988079071 [2022-08-16T17:52:14.398Z] INFO: Retrieving Stack Cost... [2022-08-16T17:52:14.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-16T17:52:15.230Z] INFO: Archiving Costs [Pipeline] echo [2022-08-16T17:52:15.266Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T17:52:15.579Z] ---> logs-deploy.sh [2022-08-16T17:52:15.579Z] lf-activate-venv: SKIPPING [2022-08-16T17:52:15.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-136/1 [2022-08-16T17:52:15.579Z] INFO: archiving workspace using pattern(s): [2022-08-16T17:52:16.522Z] Archives upload complete. [2022-08-16T17:52:16.784Z] INFO: archiving logs to Nexus