Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 276b854d0043017d2cd132a5df48fee36b7a1e4c rather than f92c7211e63df553c60284b71f5b9253c4ebb8b3 Obtained Jenkinsfile from 276b854d0043017d2cd132a5df48fee36b7a1e4c 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-ssh12163964196755835591.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8368995912453512959.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-65/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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8908632910629044872.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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8507134171403255224.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh15707563263264966659.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-65/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-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17936536988025010380.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-122 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # 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 276b854d0043017d2cd132a5df48fee36b7a1e4c into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 Merge succeeded, producing 16c10b8b6338fde71f23404f4356a039771b1a1b Checking out Revision 16c10b8b6338fde71f23404f4356a039771b1a1b (PR-65) > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # 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 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c10b8b6338fde71f23404f4356a039771b1a1b # timeout=10 Commit message: "Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD" > git rev-list --no-walk f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-26T10:11:16.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-26T10:11:16.960Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-26T10:11:16.976Z] ========================================================= [2022-05-26T10:11:16.976Z] EdgeX Global Pipelines Version Info [2022-05-26T10:11:16.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:11:17.752Z] ------------------- [2022-05-26T10:11:17.752Z] stable info: [2022-05-26T10:11:17.752Z] ------------------- [2022-05-26T10:11:17.752Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-26T10:11:17.752Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-26T10:11:17.752Z] Message: update stable to v1.0.230 [2022-05-26T10:11:18.322Z] ------------------- [2022-05-26T10:11:18.322Z] experimental info: [2022-05-26T10:11:18.322Z] ------------------- [2022-05-26T10:11:18.322Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-26T10:11:18.322Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-26T10:11:18.322Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-26T10:11:18.508Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-05-26T10:11:18.519Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-05-26T10:11:18.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-26T10:11:18.541Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-26T10:11:18.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-26T10:11:18.565Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-26T10:11:18.575Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-26T10:11:18.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-26T10:11:18.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-26T10:11:18.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-26T10:11:18.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-26T10:11:18.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-05-26T10:11:18.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-26T10:11:18.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-26T10:11:18.665Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-26T10:11:18.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-26T10:11:18.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-26T10:11:18.689Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-26T10:11:18.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-26T10:11:18.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-26T10:11:18.724Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-26T10:11:18.733Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-26T10:11:18.741Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-26T10:11:18.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-26T10:11:18.758Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-26T10:11:18.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-26T10:11:18.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo [2022-05-26T10:11:18.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo [2022-05-26T10:11:18.791Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo [2022-05-26T10:11:18.807Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo [2022-05-26T10:11:18.819Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16c10b8 [Pipeline] echo [2022-05-26T10:11:18.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T10:11:18.858Z] provisioning config files... [2022-05-26T10:11:18.872Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config1273271166505649198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:11:19.275Z] ---> docker-login.sh [2022-05-26T10:11:19.275Z] nexus3.edgexfoundry.org:10001 [2022-05-26T10:11:19.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:19.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:19.549Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:19.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:19.549Z] [2022-05-26T10:11:19.549Z] Login Succeeded [2022-05-26T10:11:19.549Z] nexus3.edgexfoundry.org:10002 [2022-05-26T10:11:19.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:19.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:19.815Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:19.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:19.815Z] [2022-05-26T10:11:19.815Z] Login Succeeded [2022-05-26T10:11:19.815Z] nexus3.edgexfoundry.org:10003 [2022-05-26T10:11:19.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:19.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:19.815Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:19.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:19.815Z] [2022-05-26T10:11:19.815Z] Login Succeeded [2022-05-26T10:11:19.815Z] nexus3.edgexfoundry.org:10004 [2022-05-26T10:11:19.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:20.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:20.075Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:20.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:20.075Z] [2022-05-26T10:11:20.075Z] Login Succeeded [2022-05-26T10:11:20.075Z] docker.io [2022-05-26T10:11:20.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:20.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:20.337Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:20.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:20.337Z] [2022-05-26T10:11:20.337Z] Login Succeeded [2022-05-26T10:11:20.337Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T10:11:20.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-26T10:11:20.727Z] + git rev-list -1 --merges 16c10b8b6338fde71f23404f4356a039771b1a1b~1..16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo [2022-05-26T10:11:20.758Z] -----------> git rev-list -1 --merges 16c10b8b6338fde71f23404f4356a039771b1a1b~1..16c10b8b6338fde71f23404f4356a039771b1a1b 16c10b8b6338fde71f23404f4356a039771b1a1b [2022-05-26T10:11:20.758Z] 16c10b8b6338fde71f23404f4356a039771b1a1b [false] [Pipeline] sh [2022-05-26T10:11:21.047Z] + git log --format=format:%s -1 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo [2022-05-26T10:11:21.063Z] ========================================================= [2022-05-26T10:11:21.063Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-26T10:11:21.063Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T10:11:21.391Z] + git log --format=format:%s -1 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo [2022-05-26T10:11:21.406Z] [semverPrep] GIT_COMMIT: 16c10b8b6338fde71f23404f4356a039771b1a1b, Commit Message: Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD [Pipeline] echo [2022-05-26T10:11:21.417Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-26T10:11:21.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-26T10:11:21.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-26T10:11:21.762Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-26T10:11:21.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-26T10:11:21.762Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-26T10:11:21.762Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-26T10:11:21.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:11:22.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T10:11:22.108Z] [2022-05-26T10:11:22.108Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:11:22.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T10:11:22.412Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-26T10:11:22.412Z] 1fe172e4850f: Pulling fs layer [2022-05-26T10:11:22.412Z] caf521ccaac6: Pulling fs layer [2022-05-26T10:11:22.412Z] 3ead6fa29328: Pulling fs layer [2022-05-26T10:11:22.412Z] 5c2a1cbceb83: Pulling fs layer [2022-05-26T10:11:22.412Z] a8d5f1318db7: Pulling fs layer [2022-05-26T10:11:22.412Z] 5c2a1cbceb83: Waiting [2022-05-26T10:11:22.412Z] c427282e49a2: Pulling fs layer [2022-05-26T10:11:22.412Z] a8d5f1318db7: Waiting [2022-05-26T10:11:22.412Z] 1827001aaf11: Pulling fs layer [2022-05-26T10:11:22.412Z] 0714d37db230: Pulling fs layer [2022-05-26T10:11:22.412Z] c427282e49a2: Waiting [2022-05-26T10:11:22.412Z] ac28cf19c067: Pulling fs layer [2022-05-26T10:11:22.412Z] 1827001aaf11: Waiting [2022-05-26T10:11:22.412Z] 0714d37db230: Waiting [2022-05-26T10:11:22.412Z] ac28cf19c067: Waiting [2022-05-26T10:11:22.412Z] ca983d60f3e2: Pulling fs layer [2022-05-26T10:11:22.412Z] ca983d60f3e2: Waiting [2022-05-26T10:11:22.412Z] 9f894cec8388: Pulling fs layer [2022-05-26T10:11:22.412Z] 9f894cec8388: Waiting [2022-05-26T10:11:22.412Z] caf521ccaac6: Verifying Checksum [2022-05-26T10:11:22.412Z] caf521ccaac6: Download complete [2022-05-26T10:11:22.412Z] 5c2a1cbceb83: Download complete [2022-05-26T10:11:22.674Z] a8d5f1318db7: Verifying Checksum [2022-05-26T10:11:22.674Z] a8d5f1318db7: Download complete [2022-05-26T10:11:22.674Z] 3ead6fa29328: Verifying Checksum [2022-05-26T10:11:22.674Z] 3ead6fa29328: Download complete [2022-05-26T10:11:22.674Z] c427282e49a2: Verifying Checksum [2022-05-26T10:11:22.674Z] c427282e49a2: Download complete [2022-05-26T10:11:22.674Z] 0714d37db230: Verifying Checksum [2022-05-26T10:11:22.674Z] 0714d37db230: Download complete [2022-05-26T10:11:22.674Z] ac28cf19c067: Verifying Checksum [2022-05-26T10:11:22.674Z] ac28cf19c067: Download complete [2022-05-26T10:11:22.674Z] ca983d60f3e2: Verifying Checksum [2022-05-26T10:11:22.674Z] ca983d60f3e2: Download complete [2022-05-26T10:11:22.674Z] 9f894cec8388: Verifying Checksum [2022-05-26T10:11:22.674Z] 9f894cec8388: Download complete [2022-05-26T10:11:22.674Z] 1fe172e4850f: Verifying Checksum [2022-05-26T10:11:22.674Z] 1fe172e4850f: Download complete [2022-05-26T10:11:22.934Z] 1827001aaf11: Verifying Checksum [2022-05-26T10:11:22.934Z] 1827001aaf11: Download complete [2022-05-26T10:11:24.318Z] 1fe172e4850f: Pull complete [2022-05-26T10:11:24.318Z] caf521ccaac6: Pull complete [2022-05-26T10:11:24.579Z] 3ead6fa29328: Pull complete [2022-05-26T10:11:24.839Z] 5c2a1cbceb83: Pull complete [2022-05-26T10:11:25.098Z] a8d5f1318db7: Pull complete [2022-05-26T10:11:25.098Z] c427282e49a2: Pull complete [2022-05-26T10:11:27.012Z] 1827001aaf11: Pull complete [2022-05-26T10:11:27.012Z] 0714d37db230: Pull complete [2022-05-26T10:11:27.012Z] ac28cf19c067: Pull complete [2022-05-26T10:11:27.273Z] ca983d60f3e2: Pull complete [2022-05-26T10:11:27.273Z] 9f894cec8388: Pull complete [2022-05-26T10:11:27.273Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-26T10:11:27.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T10:11:27.273Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:11:27.369Z] prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container [2022-05-26T10:11:27.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-26T10:11:28.570Z] $ docker top 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a -eo pid,comm [2022-05-26T10:11:28.647Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-26T10:11:28.647Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-26T10:11:28.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-26T10:11:28.684Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-26T10:11:28.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-26T10:11:28.814Z] $ docker exec 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent [2022-05-26T10:11:28.945Z] SSH_AUTH_SOCK=/tmp/ssh-0v0YCkTQc2sc/agent.34 [2022-05-26T10:11:28.945Z] SSH_AGENT_PID=40 [2022-05-26T10:11:28.952Z] Running ssh-add (command line suppressed) [2022-05-26T10:11:29.057Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2162943895119297540.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2162943895119297540.key) [2022-05-26T10:11:29.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-26T10:11:29.376Z] + git tag --points-at HEAD [Pipeline] } [2022-05-26T10:11:29.389Z] $ docker exec --env ******** --env ******** 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent -k [2022-05-26T10:11:29.497Z] unset SSH_AUTH_SOCK; [2022-05-26T10:11:29.497Z] unset SSH_AGENT_PID; [2022-05-26T10:11:29.497Z] echo Agent pid 40 killed; [2022-05-26T10:11:29.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-26T10:11:29.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-26T10:11:29.540Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-26T10:11:29.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-26T10:11:29.676Z] $ docker exec 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent [2022-05-26T10:11:29.829Z] SSH_AUTH_SOCK=/tmp/ssh-H5Qz4pTlN3kD/agent.72 [2022-05-26T10:11:29.829Z] SSH_AGENT_PID=78 [2022-05-26T10:11:29.836Z] Running ssh-add (command line suppressed) [2022-05-26T10:11:29.943Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_527999684713018566.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_527999684713018566.key) [2022-05-26T10:11:29.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-26T10:11:30.262Z] + git semver init [2022-05-26T10:11:30.523Z] 2022-05-26 10:11:30,446 [run_init] DEBUG init version:0.0.0 force:False [2022-05-26T10:11:30.523Z] 2022-05-26 10:11:30,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-05-26T10:11:30.523Z] 2022-05-26 10:11:30,447 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-05-26T10:11:30.523Z] 2022-05-26 10:11:30,448 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) [2022-05-26T10:11:31.467Z] 2022-05-26 10:11:31,111 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude [2022-05-26T10:11:31.467Z] 2022-05-26 10:11:31,111 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False [2022-05-26T10:11:31.467Z] 2022-05-26 10:11:31,111 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-05-26T10:11:31.467Z] 2022-05-26 10:11:31,112 [write_version] DEBUG version is same as current version 0.0.0 [2022-05-26T10:11:31.467Z] 2022-05-26 10:11:31,112 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-05-26T10:11:31.467Z] 0.0.0 [Pipeline] } [2022-05-26T10:11:31.473Z] $ docker exec --env ******** --env ******** 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent -k [2022-05-26T10:11:31.570Z] unset SSH_AUTH_SOCK; [2022-05-26T10:11:31.571Z] unset SSH_AGENT_PID; [2022-05-26T10:11:31.571Z] echo Agent pid 78 killed; [2022-05-26T10:11:31.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-26T10:11:31.889Z] + git semver [Pipeline] } [2022-05-26T10:11:32.161Z] $ docker stop --time=1 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a [2022-05-26T10:11:33.458Z] $ docker rm -f 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T10:11:33.824Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-26T10:11:34.086Z] Stashed 1 file(s) [Pipeline] echo [2022-05-26T10:11:34.088Z] [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-05-26T10:11:34.262Z] provisioning config files... [2022-05-26T10:11:34.269Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2556273866693909567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:11:34.587Z] ---> docker-login.sh [2022-05-26T10:11:34.587Z] nexus3.edgexfoundry.org:10001 [2022-05-26T10:11:34.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:34.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:34.587Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:34.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:34.587Z] [2022-05-26T10:11:34.587Z] Login Succeeded [2022-05-26T10:11:34.587Z] nexus3.edgexfoundry.org:10002 [2022-05-26T10:11:34.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:34.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:34.848Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:34.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:34.848Z] [2022-05-26T10:11:34.848Z] Login Succeeded [2022-05-26T10:11:34.848Z] nexus3.edgexfoundry.org:10003 [2022-05-26T10:11:34.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:34.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:34.848Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:34.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:34.848Z] [2022-05-26T10:11:34.848Z] Login Succeeded [2022-05-26T10:11:34.848Z] nexus3.edgexfoundry.org:10004 [2022-05-26T10:11:35.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:35.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:35.108Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:35.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:35.108Z] [2022-05-26T10:11:35.108Z] Login Succeeded [2022-05-26T10:11:35.108Z] docker.io [2022-05-26T10:11:35.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:11:35.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:11:35.369Z] Configure a credential helper to remove this warning. See [2022-05-26T10:11:35.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:11:35.369Z] [2022-05-26T10:11:35.369Z] Login Succeeded [2022-05-26T10:11:35.369Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T10:11:35.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-26T10:11:35.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-26T10:11:35.450Z] ========================================================= [2022-05-26T10:11:35.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-26T10:11:35.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:11:35.769Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-26T10:11:35.769Z] Sending build context to Docker daemon 8.774MB [2022-05-26T10:11:35.769Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T10:11:35.769Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-26T10:11:35.769Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-26T10:11:35.769Z] 59bf1c3509f3: Pulling fs layer [2022-05-26T10:11:35.769Z] 666ba61612fd: Pulling fs layer [2022-05-26T10:11:35.769Z] 8ed8ca486205: Pulling fs layer [2022-05-26T10:11:35.769Z] 4fe6c5a15a65: Pulling fs layer [2022-05-26T10:11:35.769Z] 22a0e8bec74d: Pulling fs layer [2022-05-26T10:11:35.769Z] ca2b28591e48: Pulling fs layer [2022-05-26T10:11:35.769Z] a51346096db8: Pulling fs layer [2022-05-26T10:11:35.769Z] daebc70d1ce1: Pulling fs layer [2022-05-26T10:11:35.769Z] 0e18a0eac166: Pulling fs layer [2022-05-26T10:11:35.769Z] 22a0e8bec74d: Waiting [2022-05-26T10:11:35.769Z] 4fe6c5a15a65: Waiting [2022-05-26T10:11:35.769Z] a51346096db8: Waiting [2022-05-26T10:11:35.769Z] 0e18a0eac166: Waiting [2022-05-26T10:11:35.769Z] ca2b28591e48: Waiting [2022-05-26T10:11:35.769Z] 8ed8ca486205: Verifying Checksum [2022-05-26T10:11:35.769Z] 8ed8ca486205: Download complete [2022-05-26T10:11:35.769Z] 666ba61612fd: Download complete [2022-05-26T10:11:35.769Z] 22a0e8bec74d: Verifying Checksum [2022-05-26T10:11:35.769Z] 22a0e8bec74d: Download complete [2022-05-26T10:11:35.769Z] ca2b28591e48: Download complete [2022-05-26T10:11:36.033Z] a51346096db8: Verifying Checksum [2022-05-26T10:11:36.033Z] a51346096db8: Download complete [2022-05-26T10:11:36.033Z] 59bf1c3509f3: Verifying Checksum [2022-05-26T10:11:36.033Z] 59bf1c3509f3: Download complete [2022-05-26T10:11:36.033Z] daebc70d1ce1: Verifying Checksum [2022-05-26T10:11:36.033Z] daebc70d1ce1: Download complete [2022-05-26T10:11:36.033Z] 59bf1c3509f3: Pull complete [2022-05-26T10:11:36.300Z] 666ba61612fd: Pull complete [2022-05-26T10:11:36.300Z] 8ed8ca486205: Pull complete [2022-05-26T10:11:36.563Z] 0e18a0eac166: Verifying Checksum [2022-05-26T10:11:36.563Z] 0e18a0eac166: Download complete [2022-05-26T10:11:36.822Z] 4fe6c5a15a65: Verifying Checksum [2022-05-26T10:11:36.822Z] 4fe6c5a15a65: Download complete [2022-05-26T10:11:41.024Z] 4fe6c5a15a65: Pull complete [2022-05-26T10:11:41.024Z] 22a0e8bec74d: Pull complete [2022-05-26T10:11:41.024Z] ca2b28591e48: Pull complete [2022-05-26T10:11:41.024Z] a51346096db8: Pull complete [2022-05-26T10:11:41.024Z] daebc70d1ce1: Pull complete [2022-05-26T10:11:42.933Z] 0e18a0eac166: Pull complete [2022-05-26T10:11:42.933Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-26T10:11:42.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-26T10:11:42.933Z] ---> f018257e8ee9 [2022-05-26T10:11:42.933Z] Step 3/13 : ARG MAKE="make build" [2022-05-26T10:11:44.314Z] ---> Running in d2494783b1cc [2022-05-26T10:11:44.314Z] Removing intermediate container d2494783b1cc [2022-05-26T10:11:44.314Z] ---> 51c721fac8d3 [2022-05-26T10:11:44.314Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-26T10:11:44.314Z] ---> Running in 1b2518fd9972 [2022-05-26T10:11:44.314Z] Removing intermediate container 1b2518fd9972 [2022-05-26T10:11:44.314Z] ---> b8b5442405a5 [2022-05-26T10:11:44.314Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-26T10:11:44.314Z] ---> Running in 910410c3000f [2022-05-26T10:11:44.314Z] Removing intermediate container 910410c3000f [2022-05-26T10:11:44.314Z] ---> 7d6efc866e89 [2022-05-26T10:11:44.314Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-26T10:11:44.574Z] ---> Running in 66ab306614c0 [2022-05-26T10:11:44.574Z] Removing intermediate container 66ab306614c0 [2022-05-26T10:11:44.574Z] ---> 7b7d19a13740 [2022-05-26T10:11:44.574Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T10:11:44.574Z] ---> Running in 335313f2289a [2022-05-26T10:11:45.146Z] Removing intermediate container 335313f2289a [2022-05-26T10:11:45.146Z] ---> 6354ac0888e2 [2022-05-26T10:11:45.146Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-26T10:11:45.146Z] ---> Running in 77d956c7d160 [2022-05-26T10:11:45.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-26T10:11:46.346Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-26T10:11:46.605Z] OK: 221 MiB in 52 packages [2022-05-26T10:11:46.865Z] Removing intermediate container 77d956c7d160 [2022-05-26T10:11:46.865Z] ---> 06100fb20558 [2022-05-26T10:11:46.865Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-26T10:11:46.865Z] ---> Running in b832778a1f6c [2022-05-26T10:11:46.865Z] Removing intermediate container b832778a1f6c [2022-05-26T10:11:46.865Z] ---> 352f49c06202 [2022-05-26T10:11:46.865Z] Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-26T10:11:47.125Z] ---> de059de10296 [2022-05-26T10:11:47.125Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T10:11:47.125Z] ---> Running in ecf1b5e886a1 [2022-05-26T10:11:48.073Z] Removing intermediate container ecf1b5e886a1 [2022-05-26T10:11:48.073Z] ---> 1096e66c2066 [2022-05-26T10:11:48.073Z] Step 12/13 : COPY . . [2022-05-26T10:11:48.334Z] ---> 2604b7ac87e6 [2022-05-26T10:11:48.334Z] Step 13/13 : RUN ${MAKE} [2022-05-26T10:11:48.334Z] ---> Running in 86a54652041a [2022-05-26T10:11:48.595Z] noop [2022-05-26T10:11:48.856Z] Removing intermediate container 86a54652041a [2022-05-26T10:11:48.856Z] ---> 0a078b4a4fd8 [2022-05-26T10:11:48.856Z] Successfully built 0a078b4a4fd8 [2022-05-26T10:11:48.856Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:11:49.174Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-26T10:11:49.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:11:49.228Z] Still waiting to schedule task [2022-05-26T10:11:49.229Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-123’ is offline [2022-05-26T10:11:49.257Z] prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container [2022-05-26T10:11:49.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** ci-base-image-x86_64 cat [2022-05-26T10:11:49.674Z] $ docker top c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T10:11:50.036Z] + go version [2022-05-26T10:11:50.036Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-26T10:11:50.052Z] $ docker stop --time=1 c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 [2022-05-26T10:11:51.352Z] $ docker rm -f c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:11:51.742Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-26T10:11:51.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:11:51.843Z] prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container [2022-05-26T10:11:51.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** ci-base-image-x86_64 cat [2022-05-26T10:11:52.270Z] $ docker top 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-26T10:11:52.620Z] + make test [2022-05-26T10:11:52.620Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-26T10:11:52.620Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-26T10:11:52.620Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-26T10:11:53.190Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-26T10:11:53.190Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-26T10:11:53.190Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-26T10:11:53.190Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-26T10:11:53.190Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-26T10:11:53.190Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-26T10:11:53.190Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-26T10:11:53.190Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-26T10:11:53.448Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-26T10:11:53.448Z] go: downloading golang.org/x/text v0.3.7 [2022-05-26T10:11:53.448Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-26T10:11:53.448Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-26T10:11:53.448Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-26T10:11:53.448Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-26T10:11:53.448Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-26T10:11:53.448Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-26T10:11:53.448Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-26T10:11:53.448Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-26T10:11:53.448Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-26T10:11:53.448Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-26T10:11:53.448Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-26T10:11:53.448Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-26T10:11:53.448Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-26T10:11:53.448Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-26T10:11:53.448Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-26T10:11:53.714Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-26T10:11:53.714Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-26T10:11:53.714Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-26T10:11:53.714Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-26T10:11:53.714Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-26T10:11:53.714Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-26T10:11:53.714Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-26T10:11:53.714Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-26T10:11:53.714Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-26T10:11:53.714Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-26T10:11:53.714Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-26T10:11:53.714Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-26T10:11:53.714Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-26T10:11:55.624Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-26T10:12:05.609Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-26T10:12:05.869Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 0.9% of statements [2022-05-26T10:12:13.993Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-26T10:12:18.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-26T10:12:18.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-26T10:12:18.197Z] ./bin/test-attribution-txt.sh [2022-05-26T10:12:18.197Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-05-26T10:12:18.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-26T10:12:18.493Z] $ docker stop --time=1 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b [2022-05-26T10:12:20.808Z] $ docker rm -f 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T10:12:21.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-26T10:12:21.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-26T10:12:21.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-26T10:12:22.179Z] + ls -al . [2022-05-26T10:12:22.179Z] total 224 [2022-05-26T10:12:22.179Z] drwxrwxr-x 10 jenkins jenkins 4096 May 26 10:12 . [2022-05-26T10:12:22.179Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:11 .. [2022-05-26T10:12:22.179Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 10:11 .git [2022-05-26T10:12:22.179Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:11 .github [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 352 May 26 10:11 .gitignore [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 42 May 26 10:11 .golangci.yml [2022-05-26T10:12:22.179Z] drwxr-xr-x 3 jenkins jenkins 4096 May 26 10:11 .semver [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 9415 May 26 10:11 Attribution.txt [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 189 May 26 10:11 CHANGELOG.md [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 1686 May 26 10:11 Dockerfile [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 677 May 26 10:11 GOVERNANCE.md [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 660 May 26 10:11 Jenkinsfile [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 26 10:11 LICENSE [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 26 10:11 Makefile [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 625 May 26 10:11 OWNERS.md [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 26 10:11 README.md [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 10:11 VERSION [2022-05-26T10:12:22.179Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:11 bin [2022-05-26T10:12:22.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 cmd [2022-05-26T10:12:22.179Z] -rw-r--r-- 1 jenkins jenkins 42596 May 26 10:12 coverage.out [2022-05-26T10:12:22.179Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:11 doc [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 3716 May 26 10:11 go.mod [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 26 10:11 go.sum [2022-05-26T10:12:22.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 internal [2022-05-26T10:12:22.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 pkg [2022-05-26T10:12:22.179Z] -rw-rw-r-- 1 jenkins jenkins 236 May 26 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:12:22.496Z] + 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=16c10b8b6338fde71f23404f4356a039771b1a1b --label arch=amd64 --label version=0.0.0 . [2022-05-26T10:12:22.496Z] Sending build context to Docker daemon 8.817MB [2022-05-26T10:12:22.496Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T10:12:22.496Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-26T10:12:22.496Z] ---> 0a078b4a4fd8 [2022-05-26T10:12:22.496Z] Step 3/26 : ARG MAKE="make build" [2022-05-26T10:12:22.496Z] ---> Running in 057f96a5464a [2022-05-26T10:12:22.762Z] Removing intermediate container 057f96a5464a [2022-05-26T10:12:22.763Z] ---> c16bdae46142 [2022-05-26T10:12:22.763Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-26T10:12:22.763Z] ---> Running in a442fe4c85ec [2022-05-26T10:12:22.763Z] Removing intermediate container a442fe4c85ec [2022-05-26T10:12:22.763Z] ---> 1f55d161cda0 [2022-05-26T10:12:22.763Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-26T10:12:22.763Z] ---> Running in 18d5aaa7cadc [2022-05-26T10:12:23.024Z] Removing intermediate container 18d5aaa7cadc [2022-05-26T10:12:23.024Z] ---> 8d0a23d1fdfc [2022-05-26T10:12:23.024Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-26T10:12:23.024Z] ---> Running in 3e844ccb504e [2022-05-26T10:12:23.024Z] Removing intermediate container 3e844ccb504e [2022-05-26T10:12:23.024Z] ---> f5c4112b1515 [2022-05-26T10:12:23.024Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T10:12:23.024Z] ---> Running in 855ef799fcca [2022-05-26T10:12:23.592Z] Removing intermediate container 855ef799fcca [2022-05-26T10:12:23.592Z] ---> 95c6d4caa750 [2022-05-26T10:12:23.592Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-26T10:12:23.592Z] ---> Running in ead5d6ab44b9 [2022-05-26T10:12:23.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-26T10:12:24.794Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-26T10:12:25.054Z] OK: 221 MiB in 52 packages [2022-05-26T10:12:25.315Z] Removing intermediate container ead5d6ab44b9 [2022-05-26T10:12:25.315Z] ---> fa6fa9a03da7 [2022-05-26T10:12:25.315Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-26T10:12:25.315Z] ---> Running in dae0e8f3d9c2 [2022-05-26T10:12:25.315Z] Removing intermediate container dae0e8f3d9c2 [2022-05-26T10:12:25.315Z] ---> f403c2afcfda [2022-05-26T10:12:25.315Z] Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-26T10:12:25.574Z] ---> a99e5afb6617 [2022-05-26T10:12:25.574Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T10:12:25.574Z] ---> Running in 89e587dca4a4 [2022-05-26T10:12:26.142Z] Removing intermediate container 89e587dca4a4 [2022-05-26T10:12:26.142Z] ---> 78ad58df603f [2022-05-26T10:12:26.142Z] Step 12/26 : COPY . . [2022-05-26T10:12:26.400Z] ---> f509e00eadcb [2022-05-26T10:12:26.400Z] Step 13/26 : RUN ${MAKE} [2022-05-26T10:12:26.661Z] ---> Running in 3f48a787f36d [2022-05-26T10:12:26.921Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-05-26T10:12:26.921Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-26T10:12:26.921Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-26T10:12:26.921Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-26T10:12:26.921Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-26T10:12:26.921Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-26T10:12:27.180Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-26T10:12:27.180Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-26T10:12:27.180Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-26T10:12:27.180Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-26T10:12:27.180Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-26T10:12:27.180Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-26T10:12:27.180Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-26T10:12:27.180Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-26T10:12:27.180Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-26T10:12:27.180Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-26T10:12:27.181Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-26T10:12:27.181Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-26T10:12:27.181Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-26T10:12:27.181Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-26T10:12:27.181Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-26T10:12:27.181Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-26T10:12:27.181Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-26T10:12:27.181Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-26T10:12:27.181Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-26T10:12:27.181Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-26T10:12:27.181Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-26T10:12:27.181Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-26T10:12:27.181Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-26T10:12:27.181Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-26T10:12:27.181Z] go: downloading golang.org/x/text v0.3.7 [2022-05-26T10:12:27.181Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-26T10:12:27.181Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-26T10:12:27.440Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-26T10:12:27.440Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-26T10:12:27.440Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-26T10:12:27.440Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-26T10:12:27.440Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-26T10:12:27.440Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-26T10:12:27.440Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-26T10:12:27.440Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-26T10:12:27.440Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-26T10:12:27.440Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-26T10:12:27.699Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-26T10:12:27.699Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-26T10:12:27.699Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-26T10:12:27.699Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-26T10:12:27.699Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-26T10:12:27.699Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-26T10:12:27.699Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-26T10:12:27.699Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-26T10:12:27.699Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-26T10:12:27.699Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-26T10:12:27.699Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-26T10:12:59.792Z] Removing intermediate container 3f48a787f36d [2022-05-26T10:12:59.792Z] ---> f8745f371b2b [2022-05-26T10:12:59.792Z] Step 14/26 : FROM alpine:3.15 [2022-05-26T10:12:59.792Z] 3.15: Pulling from library/alpine [2022-05-26T10:12:59.792Z] df9b9388f04a: Pulling fs layer [2022-05-26T10:12:59.792Z] df9b9388f04a: Verifying Checksum [2022-05-26T10:12:59.792Z] df9b9388f04a: Download complete [2022-05-26T10:12:59.792Z] df9b9388f04a: Pull complete [2022-05-26T10:12:59.792Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-26T10:12:59.792Z] Status: Downloaded newer image for alpine:3.15 [2022-05-26T10:12:59.792Z] ---> 0ac33e5f5afa [2022-05-26T10:12:59.792Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-26T10:12:59.792Z] ---> Running in c722d3d463c4 [2022-05-26T10:12:59.792Z] Removing intermediate container c722d3d463c4 [2022-05-26T10:12:59.792Z] ---> e6d954c77b4b [2022-05-26T10:12:59.792Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-26T10:12:59.792Z] ---> Running in 2be5bf703494 [2022-05-26T10:12:59.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-26T10:12:59.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-26T10:12:59.792Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-26T10:12:59.792Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-26T10:12:59.792Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-26T10:12:59.792Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-26T10:12:59.792Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-26T10:12:59.792Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-26T10:12:59.792Z] Executing busybox-1.34.1-r5.trigger [2022-05-26T10:12:59.792Z] OK: 8 MiB in 20 packages [2022-05-26T10:12:59.792Z] Removing intermediate container 2be5bf703494 [2022-05-26T10:12:59.792Z] ---> a3c4730be673 [2022-05-26T10:12:59.792Z] Step 17/26 : WORKDIR / [2022-05-26T10:12:59.792Z] ---> Running in f28b7ddb9dcb [2022-05-26T10:12:59.792Z] Removing intermediate container f28b7ddb9dcb [2022-05-26T10:12:59.792Z] ---> ccc59bfca6ac [2022-05-26T10:12:59.792Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-26T10:12:59.792Z] ---> 5e52579016e5 [2022-05-26T10:12:59.792Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-26T10:12:59.792Z] ---> 1bfc40d63aca [2022-05-26T10:12:59.792Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-26T10:12:59.792Z] ---> 9e071174d758 [2022-05-26T10:12:59.792Z] Step 21/26 : EXPOSE 59984 [2022-05-26T10:12:59.792Z] ---> Running in 3d5f7d5d4626 [2022-05-26T10:12:59.792Z] Removing intermediate container 3d5f7d5d4626 [2022-05-26T10:12:59.792Z] ---> 877d8aaa97be [2022-05-26T10:12:59.792Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-26T10:12:59.792Z] ---> Running in b518aa318e85 [2022-05-26T10:12:59.792Z] Removing intermediate container b518aa318e85 [2022-05-26T10:12:59.792Z] ---> 0e7c6376074d [2022-05-26T10:12:59.792Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-26T10:12:59.792Z] ---> Running in 7070d209b3e8 [2022-05-26T10:12:59.792Z] Removing intermediate container 7070d209b3e8 [2022-05-26T10:12:59.792Z] ---> 987eca103c86 [2022-05-26T10:12:59.792Z] Step 24/26 : LABEL arch=amd64 [2022-05-26T10:12:59.792Z] ---> Running in 614cb8a7e519 [2022-05-26T10:12:59.792Z] Removing intermediate container 614cb8a7e519 [2022-05-26T10:12:59.792Z] ---> e8c2036291f0 [2022-05-26T10:12:59.792Z] Step 25/26 : LABEL git_sha=16c10b8b6338fde71f23404f4356a039771b1a1b [2022-05-26T10:12:59.792Z] ---> Running in 18cdd58faa55 [2022-05-26T10:12:59.792Z] Removing intermediate container 18cdd58faa55 [2022-05-26T10:12:59.792Z] ---> 1cf489db2e43 [2022-05-26T10:12:59.792Z] Step 26/26 : LABEL version=0.0.0 [2022-05-26T10:12:59.792Z] ---> Running in ffe67ec459e5 [2022-05-26T10:12:59.792Z] Removing intermediate container ffe67ec459e5 [2022-05-26T10:12:59.792Z] ---> 7c5f2e345a4c [2022-05-26T10:12:59.792Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-26T10:12:59.792Z] Successfully built 7c5f2e345a4c [2022-05-26T10:12:59.792Z] 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-05-26T10:13:00.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T10:13:00.200Z] [2022-05-26T10:13:00.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:13:00.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T10:13:00.502Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-26T10:13:00.502Z] 5eb5b503b376: Pulling fs layer [2022-05-26T10:13:00.502Z] 5c69ac0246d0: Pulling fs layer [2022-05-26T10:13:00.502Z] ec43610c2a17: Pulling fs layer [2022-05-26T10:13:00.502Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-26T10:13:00.502Z] 33b1e0a273af: Pulling fs layer [2022-05-26T10:13:00.502Z] 5d3b04190fa2: Pulling fs layer [2022-05-26T10:13:00.502Z] 2f39f015ded8: Pulling fs layer [2022-05-26T10:13:00.502Z] 33b1e0a273af: Waiting [2022-05-26T10:13:00.502Z] 5d3b04190fa2: Waiting [2022-05-26T10:13:00.502Z] 2f39f015ded8: Waiting [2022-05-26T10:13:00.502Z] 3a2ae6a8a46f: Waiting [2022-05-26T10:13:00.502Z] 5c69ac0246d0: Download complete [2022-05-26T10:13:00.502Z] 3a2ae6a8a46f: Download complete [2022-05-26T10:13:00.502Z] 33b1e0a273af: Verifying Checksum [2022-05-26T10:13:00.502Z] 33b1e0a273af: Download complete [2022-05-26T10:13:00.502Z] 5d3b04190fa2: Download complete [2022-05-26T10:13:00.762Z] ec43610c2a17: Download complete [2022-05-26T10:13:00.762Z] 5eb5b503b376: Verifying Checksum [2022-05-26T10:13:00.762Z] 5eb5b503b376: Download complete [2022-05-26T10:13:01.329Z] 2f39f015ded8: Download complete [2022-05-26T10:13:01.896Z] 5eb5b503b376: Pull complete [2022-05-26T10:13:02.156Z] 5c69ac0246d0: Pull complete [2022-05-26T10:13:02.418Z] ec43610c2a17: Pull complete [2022-05-26T10:13:02.677Z] 3a2ae6a8a46f: Pull complete [2022-05-26T10:13:02.677Z] 33b1e0a273af: Pull complete [2022-05-26T10:13:02.937Z] 5d3b04190fa2: Pull complete [2022-05-26T10:13:07.128Z] 2f39f015ded8: Pull complete [2022-05-26T10:13:07.128Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-26T10:13:07.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T10:13:07.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:13:07.218Z] prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container [2022-05-26T10:13:07.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-26T10:13:08.984Z] $ docker top c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:13:09.357Z] ---> job-cost.sh [2022-05-26T10:13:09.357Z] lf-activate-venv: SKIPPING [2022-05-26T10:13:09.357Z] INFO: No Stack... [2022-05-26T10:13:09.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-26T10:13:10.501Z] INFO: Archiving Costs [Pipeline] sh [2022-05-26T10:13:10.798Z] + + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv [2022-05-26T10:13:10.798Z] cut -d, -f6 [Pipeline] lock [2022-05-26T10:13:10.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [2022-05-26T10:13:10.819Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] did not exist. Created. [2022-05-26T10:13:10.819Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-26T10:13:11.125Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-26T10:13:11.158Z] Stashed 1 file(s) [Pipeline] } [2022-05-26T10:13:11.165Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-26T10:13:11.192Z] $ docker stop --time=1 c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 [2022-05-26T10:13:12.357Z] $ docker rm -f c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-26T10:14:22.714Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-124 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws [2022-05-26T10:14:22.725Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-05-26T10:14:22.776Z] Selected Git installation does not exist. Using Default [2022-05-26T10:14:22.776Z] The recommended git tool is: NONE [2022-05-26T10:14:29.590Z] using credential edgex-jenkins-ssh [2022-05-26T10:14:29.608Z] Cloning the remote Git repository [2022-05-26T10:14:29.664Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-26T10:14:29.744Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-05-26T10:14:29.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-26T10:14:29.843Z] > git --version # timeout=10 [2022-05-26T10:14:29.863Z] > git --version # 'git version 2.25.1' [2022-05-26T10:14:29.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T10:14:29.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-26T10:14:31.368Z] Merging remotes/origin/main commit 276b854d0043017d2cd132a5df48fee36b7a1e4c into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 [2022-05-26T10:14:30.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-26T10:14:30.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-26T10:14:30.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-26T10:14:30.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-26T10:14:30.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T10:14:30.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-26T10:14:31.392Z] > git config core.sparsecheckout # timeout=10 [2022-05-26T10:14:31.406Z] > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [2022-05-26T10:14:31.539Z] > git remote # timeout=10 [2022-05-26T10:14:31.570Z] > git config --get remote.origin.url # timeout=10 [2022-05-26T10:14:31.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T10:14:31.596Z] > git merge 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 [2022-05-26T10:14:31.783Z] Merge succeeded, producing 807ec9d7b7af48af72e33211e43297a64da5e492 [2022-05-26T10:14:31.783Z] Checking out Revision 807ec9d7b7af48af72e33211e43297a64da5e492 (PR-65) [2022-05-26T10:14:31.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-26T10:14:31.795Z] > git config core.sparsecheckout # timeout=10 [2022-05-26T10:14:31.806Z] > git checkout -f 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 [2022-05-26T10:14:36.042Z] Commit message: "Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD" [2022-05-26T10:14:36.056Z] > git rev-list --no-walk f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T10:14:36.924Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-26T10:14:36.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-26T10:14:36.924Z] Dload Upload Total Spent Left Speed [2022-05-26T10:14:36.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2022-05-26T10:14:37.663Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-26T10:14:38.004Z] + sudo tee /etc/docker/daemon.new [2022-05-26T10:14:38.004Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-26T10:14:38.004Z] { [2022-05-26T10:14:38.004Z] "registry-mirrors": [ [2022-05-26T10:14:38.004Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-26T10:14:38.004Z] ], [2022-05-26T10:14:38.004Z] "bip": "10.250.0.254/24", [2022-05-26T10:14:38.004Z] "hosts": [ [2022-05-26T10:14:38.004Z] "tcp://0.0.0.0:5555", [2022-05-26T10:14:38.004Z] "unix:///var/run/docker.sock" [2022-05-26T10:14:38.004Z] ], [2022-05-26T10:14:38.004Z] "mtu": 1458, [2022-05-26T10:14:38.004Z] "selinux-enabled": true, [2022-05-26T10:14:38.004Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-26T10:14:38.004Z] } [Pipeline] sh [2022-05-26T10:14:38.357Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-26T10:14:38.699Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T10:14:57.236Z] provisioning config files... [2022-05-26T10:14:57.262Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config1225108309192960360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:14:57.631Z] ---> docker-login.sh [2022-05-26T10:14:57.631Z] nexus3.edgexfoundry.org:10001 [2022-05-26T10:14:58.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:14:58.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:14:58.506Z] Configure a credential helper to remove this warning. See [2022-05-26T10:14:58.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:14:58.506Z] [2022-05-26T10:14:58.506Z] Login Succeeded [2022-05-26T10:14:58.506Z] nexus3.edgexfoundry.org:10002 [2022-05-26T10:14:58.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:14:59.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:14:59.064Z] Configure a credential helper to remove this warning. See [2022-05-26T10:14:59.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:14:59.064Z] [2022-05-26T10:14:59.064Z] Login Succeeded [2022-05-26T10:14:59.064Z] nexus3.edgexfoundry.org:10003 [2022-05-26T10:14:59.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:14:59.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:14:59.622Z] Configure a credential helper to remove this warning. See [2022-05-26T10:14:59.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:14:59.622Z] [2022-05-26T10:14:59.622Z] Login Succeeded [2022-05-26T10:14:59.622Z] nexus3.edgexfoundry.org:10004 [2022-05-26T10:14:59.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:14:59.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:14:59.896Z] Configure a credential helper to remove this warning. See [2022-05-26T10:14:59.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:14:59.896Z] [2022-05-26T10:14:59.896Z] Login Succeeded [2022-05-26T10:15:00.171Z] docker.io [2022-05-26T10:15:00.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T10:15:00.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T10:15:00.719Z] Configure a credential helper to remove this warning. See [2022-05-26T10:15:00.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T10:15:00.719Z] [2022-05-26T10:15:00.719Z] Login Succeeded [2022-05-26T10:15:00.719Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T10:15:00.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-26T10:15:01.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-26T10:15:01.036Z] ========================================================= [2022-05-26T10:15:01.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-26T10:15:01.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:15:01.398Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-26T10:15:01.682Z] Sending build context to Docker daemon 6.057MB [2022-05-26T10:15:01.967Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T10:15:01.967Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-26T10:15:01.967Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-26T10:15:01.967Z] 9b3977197b4f: Pulling fs layer [2022-05-26T10:15:01.967Z] 1a89e8eeedd5: Pulling fs layer [2022-05-26T10:15:01.967Z] 94645a83ff95: Pulling fs layer [2022-05-26T10:15:01.967Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-26T10:15:01.967Z] 0c92f367c5e7: Pulling fs layer [2022-05-26T10:15:01.967Z] 3096ccb668a1: Pulling fs layer [2022-05-26T10:15:01.967Z] e8cf19c19ddd: Pulling fs layer [2022-05-26T10:15:01.967Z] 3f3a8bcf1eab: Waiting [2022-05-26T10:15:01.967Z] 0c92f367c5e7: Waiting [2022-05-26T10:15:01.967Z] 3096ccb668a1: Waiting [2022-05-26T10:15:01.967Z] a4caa8a26152: Pulling fs layer [2022-05-26T10:15:01.967Z] e8cf19c19ddd: Waiting [2022-05-26T10:15:01.967Z] a4caa8a26152: Waiting [2022-05-26T10:15:01.967Z] 94645a83ff95: Verifying Checksum [2022-05-26T10:15:01.967Z] 94645a83ff95: Download complete [2022-05-26T10:15:01.967Z] 1a89e8eeedd5: Verifying Checksum [2022-05-26T10:15:01.967Z] 1a89e8eeedd5: Download complete [2022-05-26T10:15:01.967Z] 0c92f367c5e7: Download complete [2022-05-26T10:15:01.967Z] 3096ccb668a1: Verifying Checksum [2022-05-26T10:15:01.967Z] 3096ccb668a1: Download complete [2022-05-26T10:15:01.967Z] 9b3977197b4f: Download complete [2022-05-26T10:15:02.249Z] e8cf19c19ddd: Verifying Checksum [2022-05-26T10:15:02.249Z] e8cf19c19ddd: Download complete [2022-05-26T10:15:02.854Z] 9b3977197b4f: Pull complete [2022-05-26T10:15:03.460Z] 1a89e8eeedd5: Pull complete [2022-05-26T10:15:03.736Z] 94645a83ff95: Pull complete [2022-05-26T10:15:04.334Z] a4caa8a26152: Verifying Checksum [2022-05-26T10:15:04.334Z] a4caa8a26152: Download complete [2022-05-26T10:15:04.931Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-26T10:15:17.361Z] 3f3a8bcf1eab: Pull complete [2022-05-26T10:15:17.361Z] 0c92f367c5e7: Pull complete [2022-05-26T10:15:17.361Z] 3096ccb668a1: Pull complete [2022-05-26T10:15:17.361Z] e8cf19c19ddd: Pull complete [2022-05-26T10:15:24.085Z] a4caa8a26152: Pull complete [2022-05-26T10:15:24.085Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-26T10:15:24.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-26T10:15:24.085Z] ---> 725f1c02e7f9 [2022-05-26T10:15:24.085Z] Step 3/13 : ARG MAKE="make build" [2022-05-26T10:15:25.076Z] ---> Running in 1b8c8bcbcad3 [2022-05-26T10:15:25.349Z] Removing intermediate container 1b8c8bcbcad3 [2022-05-26T10:15:25.349Z] ---> 67f01ec86d57 [2022-05-26T10:15:25.349Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-26T10:15:25.349Z] ---> Running in 7801b7398051 [2022-05-26T10:15:25.623Z] Removing intermediate container 7801b7398051 [2022-05-26T10:15:25.623Z] ---> 2cbf63ff93ad [2022-05-26T10:15:25.623Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-26T10:15:25.896Z] ---> Running in 67900cb2fb6d [2022-05-26T10:15:26.171Z] Removing intermediate container 67900cb2fb6d [2022-05-26T10:15:26.171Z] ---> 970580552922 [2022-05-26T10:15:26.172Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-26T10:15:26.172Z] ---> Running in c8cbee8d4e2c [2022-05-26T10:15:26.451Z] Removing intermediate container c8cbee8d4e2c [2022-05-26T10:15:26.451Z] ---> 4882e4c0bf0e [2022-05-26T10:15:26.451Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T10:15:26.451Z] ---> Running in c302b9f56ec9 [2022-05-26T10:15:28.434Z] Removing intermediate container c302b9f56ec9 [2022-05-26T10:15:28.434Z] ---> 2b2b84f8deda [2022-05-26T10:15:28.434Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-26T10:15:28.434Z] ---> Running in 06f81b0a6c05 [2022-05-26T10:15:29.418Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-26T10:15:30.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-26T10:15:31.407Z] OK: 220 MiB in 52 packages [2022-05-26T10:15:32.029Z] Removing intermediate container 06f81b0a6c05 [2022-05-26T10:15:32.029Z] ---> c3399077fef8 [2022-05-26T10:15:32.029Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-26T10:15:32.307Z] ---> Running in 9b9ec219e8f5 [2022-05-26T10:15:32.583Z] Removing intermediate container 9b9ec219e8f5 [2022-05-26T10:15:32.583Z] ---> 5bee9ed31806 [2022-05-26T10:15:32.583Z] Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-26T10:15:33.569Z] ---> 2fc33ed1e2d0 [2022-05-26T10:15:33.569Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T10:15:33.569Z] ---> Running in 0cd515992d1a [2022-05-26T10:15:35.561Z] Removing intermediate container 0cd515992d1a [2022-05-26T10:15:35.561Z] ---> 6b05539f416b [2022-05-26T10:15:35.561Z] Step 12/13 : COPY . . [2022-05-26T10:15:36.549Z] ---> edab27975f7b [2022-05-26T10:15:36.549Z] Step 13/13 : RUN ${MAKE} [2022-05-26T10:15:36.549Z] ---> Running in 386d355354e8 [2022-05-26T10:15:37.543Z] noop [2022-05-26T10:15:38.165Z] Removing intermediate container 386d355354e8 [2022-05-26T10:15:38.165Z] ---> 82e4867c4987 [2022-05-26T10:15:38.165Z] Successfully built 82e4867c4987 [2022-05-26T10:15:38.165Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:15:38.544Z] + docker inspect -f . ci-base-image-arm64 [2022-05-26T10:15:38.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:15:38.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2022-05-26T10:15:38.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-26T10:15:40.191Z] $ docker top c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T10:15:41.098Z] + go version [2022-05-26T10:15:41.099Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-26T10:15:41.135Z] $ docker stop --time=1 c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b [2022-05-26T10:15:42.762Z] $ docker rm -f c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:15:43.395Z] + docker inspect -f . ci-base-image-arm64 [2022-05-26T10:15:43.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:15:43.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2022-05-26T10:15:43.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-26T10:15:45.060Z] $ docker top ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-26T10:15:46.000Z] + make test [2022-05-26T10:15:46.000Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-26T10:15:46.000Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-26T10:15:46.000Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-26T10:15:46.599Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-26T10:15:46.599Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-26T10:15:46.872Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-26T10:15:46.872Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-26T10:15:46.872Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-26T10:15:46.872Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-26T10:15:46.872Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-26T10:15:46.872Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-26T10:15:46.873Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-26T10:15:46.873Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-26T10:15:47.146Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-26T10:15:47.146Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-26T10:15:47.146Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-26T10:15:47.146Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-26T10:15:47.146Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-26T10:15:47.422Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-26T10:15:47.422Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-26T10:15:47.422Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-26T10:15:47.422Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-26T10:15:47.422Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-26T10:15:47.422Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-26T10:15:47.422Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-26T10:15:47.698Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-26T10:15:47.698Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-26T10:15:47.698Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-26T10:15:47.973Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-26T10:15:47.973Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-26T10:15:47.973Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-26T10:15:47.973Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-26T10:15:47.973Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-26T10:15:47.973Z] go: downloading golang.org/x/text v0.3.7 [2022-05-26T10:15:48.250Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-26T10:15:48.250Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-26T10:15:48.250Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-26T10:15:48.250Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-26T10:15:48.250Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-26T10:15:49.686Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-26T10:15:49.686Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-26T10:15:49.687Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-26T10:15:49.687Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-26T10:15:49.687Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-26T10:15:49.961Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-26T10:15:49.961Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-26T10:15:50.237Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-26T10:15:51.228Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-26T10:15:51.228Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-26T10:15:51.228Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-26T10:15:51.228Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-26T10:15:51.228Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-26T10:15:51.508Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-26T10:15:51.785Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-26T10:15:52.061Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-26T10:15:52.061Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-26T10:15:52.061Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-26T10:15:52.061Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-26T10:15:52.061Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-26T10:15:52.061Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-26T10:15:52.338Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-26T10:15:52.338Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-26T10:15:52.338Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-26T10:15:52.338Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-26T10:15:59.058Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-26T10:17:35.926Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-26T10:17:35.926Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 0.9% of statements [2022-05-26T10:17:35.926Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-26T10:17:35.926Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-26T10:17:58.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-26T10:17:58.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-26T10:17:58.142Z] ./bin/test-attribution-txt.sh [2022-05-26T10:17:58.142Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-05-26T10:17:59.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-26T10:17:59.623Z] $ docker stop --time=1 ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 [2022-05-26T10:18:01.467Z] $ docker rm -f ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T10:18:04.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-26T10:18:04.260Z] Warning: overwriting stash ‘coverage-report’ [2022-05-26T10:18:04.763Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T10:18:05.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-26T10:18:05.476Z] + ls -al . [2022-05-26T10:18:05.477Z] total 220 [2022-05-26T10:18:05.477Z] drwxrwxr-x 9 jenkins jenkins 4096 May 26 10:17 . [2022-05-26T10:18:05.477Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:14 .. [2022-05-26T10:18:05.477Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 10:14 .git [2022-05-26T10:18:05.477Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:14 .github [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 352 May 26 10:14 .gitignore [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 42 May 26 10:14 .golangci.yml [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 9415 May 26 10:14 Attribution.txt [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 189 May 26 10:14 CHANGELOG.md [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 1686 May 26 10:14 Dockerfile [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 677 May 26 10:14 GOVERNANCE.md [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 660 May 26 10:14 Jenkinsfile [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 26 10:14 LICENSE [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 26 10:14 Makefile [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 625 May 26 10:14 OWNERS.md [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 26 10:14 README.md [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 10:11 VERSION [2022-05-26T10:18:05.477Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:14 bin [2022-05-26T10:18:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 cmd [2022-05-26T10:18:05.477Z] -rw-r--r-- 1 jenkins jenkins 42596 May 26 10:17 coverage.out [2022-05-26T10:18:05.477Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:14 doc [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 3716 May 26 10:14 go.mod [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 26 10:14 go.sum [2022-05-26T10:18:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 internal [2022-05-26T10:18:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 pkg [2022-05-26T10:18:05.477Z] -rw-rw-r-- 1 jenkins jenkins 236 May 26 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:18:05.834Z] + 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=807ec9d7b7af48af72e33211e43297a64da5e492 --label arch=arm64 --label version=0.0.0 . [2022-05-26T10:18:06.105Z] Sending build context to Docker daemon 6.101MB [2022-05-26T10:18:06.105Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T10:18:06.105Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-26T10:18:06.105Z] ---> 82e4867c4987 [2022-05-26T10:18:06.105Z] Step 3/26 : ARG MAKE="make build" [2022-05-26T10:18:06.377Z] ---> Running in 1eaa9fbf3d53 [2022-05-26T10:18:06.651Z] Removing intermediate container 1eaa9fbf3d53 [2022-05-26T10:18:06.651Z] ---> c646d9037e7d [2022-05-26T10:18:06.651Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-26T10:18:06.651Z] ---> Running in 65dd36cf69b9 [2022-05-26T10:18:06.927Z] Removing intermediate container 65dd36cf69b9 [2022-05-26T10:18:06.927Z] ---> a7f9896c2e67 [2022-05-26T10:18:06.927Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-26T10:18:07.199Z] ---> Running in 800b2e75d560 [2022-05-26T10:18:07.472Z] Removing intermediate container 800b2e75d560 [2022-05-26T10:18:07.472Z] ---> 8fb15a7245c6 [2022-05-26T10:18:07.472Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-26T10:18:07.472Z] ---> Running in 343d13eef19f [2022-05-26T10:18:07.747Z] Removing intermediate container 343d13eef19f [2022-05-26T10:18:07.747Z] ---> f9566ab7e3e0 [2022-05-26T10:18:07.747Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T10:18:07.747Z] ---> Running in 692550061a21 [2022-05-26T10:18:09.726Z] Removing intermediate container 692550061a21 [2022-05-26T10:18:09.726Z] ---> 9d4d9aeb3871 [2022-05-26T10:18:09.726Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-26T10:18:09.726Z] ---> Running in d45c89edc220 [2022-05-26T10:18:10.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-26T10:18:11.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-26T10:18:12.282Z] OK: 220 MiB in 52 packages [2022-05-26T10:18:13.260Z] Removing intermediate container d45c89edc220 [2022-05-26T10:18:13.260Z] ---> e0b95a6b5a79 [2022-05-26T10:18:13.260Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-26T10:18:13.260Z] ---> Running in 3b233949fc23 [2022-05-26T10:18:13.533Z] Removing intermediate container 3b233949fc23 [2022-05-26T10:18:13.533Z] ---> d13f81a95c04 [2022-05-26T10:18:13.533Z] Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-26T10:18:14.517Z] ---> fbb201e85d56 [2022-05-26T10:18:14.517Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T10:18:14.517Z] ---> Running in b6160993cfce [2022-05-26T10:18:15.956Z] Removing intermediate container b6160993cfce [2022-05-26T10:18:15.956Z] ---> 4d44a8bfbf5a [2022-05-26T10:18:15.956Z] Step 12/26 : COPY . . [2022-05-26T10:18:16.946Z] ---> 4cf6451b6c57 [2022-05-26T10:18:16.946Z] Step 13/26 : RUN ${MAKE} [2022-05-26T10:18:16.946Z] ---> Running in 3bae3f9d716a [2022-05-26T10:18:17.931Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-05-26T10:18:18.206Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-26T10:18:18.206Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-26T10:18:19.195Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-26T10:18:19.195Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-26T10:18:19.473Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-26T10:18:19.473Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-26T10:18:19.473Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-26T10:18:19.473Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-26T10:18:19.473Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-26T10:18:19.473Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-26T10:18:19.748Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-26T10:18:19.748Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-26T10:18:19.748Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-26T10:18:20.024Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-26T10:18:20.024Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-26T10:18:20.024Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-26T10:18:20.301Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-26T10:18:20.301Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-26T10:18:20.301Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-26T10:18:20.301Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-26T10:18:20.301Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-26T10:18:20.573Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-26T10:18:20.573Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-26T10:18:20.573Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-26T10:18:20.853Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-26T10:18:20.853Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-26T10:18:20.853Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-26T10:18:20.853Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-26T10:18:20.853Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-26T10:18:20.853Z] go: downloading golang.org/x/text v0.3.7 [2022-05-26T10:18:21.134Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-26T10:18:21.414Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-26T10:18:21.414Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-26T10:18:21.689Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-26T10:18:21.689Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-26T10:18:21.689Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-26T10:18:23.132Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-26T10:18:23.133Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-26T10:18:23.133Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-26T10:18:23.133Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-26T10:18:23.133Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-26T10:18:23.133Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-26T10:18:23.133Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-26T10:18:23.408Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-26T10:18:23.408Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-26T10:18:23.408Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-26T10:18:23.408Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-26T10:18:23.690Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-26T10:18:24.679Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-26T10:18:24.679Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-26T10:18:24.679Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-26T10:18:24.679Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-26T10:18:24.679Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-26T10:18:24.962Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-26T10:18:24.962Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-26T10:18:24.962Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-26T10:18:25.238Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-26T10:18:25.238Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-26T10:18:25.238Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-26T10:18:25.238Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-26T10:21:02.170Z] Removing intermediate container 3bae3f9d716a [2022-05-26T10:21:02.170Z] ---> a092c350961d [2022-05-26T10:21:02.170Z] Step 14/26 : FROM alpine:3.15 [2022-05-26T10:21:02.170Z] 3.15: Pulling from library/alpine [2022-05-26T10:21:02.170Z] 9981e73032c8: Pulling fs layer [2022-05-26T10:21:02.170Z] 9981e73032c8: Verifying Checksum [2022-05-26T10:21:02.170Z] 9981e73032c8: Download complete [2022-05-26T10:21:02.170Z] 9981e73032c8: Pull complete [2022-05-26T10:21:02.170Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-26T10:21:02.170Z] Status: Downloaded newer image for alpine:3.15 [2022-05-26T10:21:02.170Z] ---> 3fb3c9af89a9 [2022-05-26T10:21:02.170Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-26T10:21:02.170Z] ---> Running in 87820e649487 [2022-05-26T10:21:02.170Z] Removing intermediate container 87820e649487 [2022-05-26T10:21:02.170Z] ---> 1940a54d6edc [2022-05-26T10:21:02.170Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-26T10:21:02.170Z] ---> Running in bf21a361362b [2022-05-26T10:21:02.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-26T10:21:02.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-26T10:21:02.170Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-26T10:21:02.170Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-26T10:21:02.170Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-26T10:21:02.170Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-26T10:21:02.170Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-26T10:21:02.170Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-26T10:21:02.170Z] Executing busybox-1.34.1-r5.trigger [2022-05-26T10:21:02.170Z] OK: 8 MiB in 20 packages [2022-05-26T10:21:02.170Z] Removing intermediate container bf21a361362b [2022-05-26T10:21:02.170Z] ---> 0d073007a438 [2022-05-26T10:21:02.170Z] Step 17/26 : WORKDIR / [2022-05-26T10:21:02.170Z] ---> Running in 526c11aac789 [2022-05-26T10:21:02.170Z] Removing intermediate container 526c11aac789 [2022-05-26T10:21:02.170Z] ---> e06a49dbefe7 [2022-05-26T10:21:02.170Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-26T10:21:02.170Z] ---> 4a63ae1c8f2d [2022-05-26T10:21:02.170Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-26T10:21:02.170Z] ---> d59b892a6981 [2022-05-26T10:21:02.170Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-26T10:21:02.171Z] ---> dc608d204bbf [2022-05-26T10:21:02.171Z] Step 21/26 : EXPOSE 59984 [2022-05-26T10:21:02.171Z] ---> Running in 9a1d2da72c73 [2022-05-26T10:21:02.171Z] Removing intermediate container 9a1d2da72c73 [2022-05-26T10:21:02.171Z] ---> ff3aa849ed2d [2022-05-26T10:21:02.171Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-26T10:21:02.171Z] ---> Running in 096f530717d8 [2022-05-26T10:21:02.171Z] Removing intermediate container 096f530717d8 [2022-05-26T10:21:02.171Z] ---> 8058643b6b14 [2022-05-26T10:21:02.171Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-26T10:21:02.171Z] ---> Running in 163c33b2df09 [2022-05-26T10:21:02.171Z] Removing intermediate container 163c33b2df09 [2022-05-26T10:21:02.171Z] ---> ea300866e390 [2022-05-26T10:21:02.171Z] Step 24/26 : LABEL arch=arm64 [2022-05-26T10:21:02.171Z] ---> Running in 292319086aeb [2022-05-26T10:21:02.171Z] Removing intermediate container 292319086aeb [2022-05-26T10:21:02.171Z] ---> e2a934ebb26b [2022-05-26T10:21:02.171Z] Step 25/26 : LABEL git_sha=807ec9d7b7af48af72e33211e43297a64da5e492 [2022-05-26T10:21:02.171Z] ---> Running in 264f0d9226d9 [2022-05-26T10:21:02.171Z] Removing intermediate container 264f0d9226d9 [2022-05-26T10:21:02.171Z] ---> e6d328b2fbaa [2022-05-26T10:21:02.171Z] Step 26/26 : LABEL version=0.0.0 [2022-05-26T10:21:02.171Z] ---> Running in cc11f494242d [2022-05-26T10:21:02.171Z] Removing intermediate container cc11f494242d [2022-05-26T10:21:02.171Z] ---> c0ca3ac5d2a2 [2022-05-26T10:21:02.171Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-26T10:21:02.171Z] Successfully built c0ca3ac5d2a2 [2022-05-26T10:21:02.171Z] 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-05-26T10:21:02.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T10:21:02.612Z] [2022-05-26T10:21:02.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:21:02.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T10:21:02.963Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-26T10:21:02.964Z] 8998bd30e6a1: Pulling fs layer [2022-05-26T10:21:02.964Z] 04944245beec: Pulling fs layer [2022-05-26T10:21:02.964Z] 699f458cf7ca: Pulling fs layer [2022-05-26T10:21:02.964Z] 765212b225bb: Pulling fs layer [2022-05-26T10:21:02.964Z] f23df028b6ca: Pulling fs layer [2022-05-26T10:21:02.964Z] d65c8cfc05b1: Pulling fs layer [2022-05-26T10:21:02.964Z] 2437ff75d9bd: Pulling fs layer [2022-05-26T10:21:02.964Z] 765212b225bb: Waiting [2022-05-26T10:21:02.964Z] f23df028b6ca: Waiting [2022-05-26T10:21:02.964Z] d65c8cfc05b1: Waiting [2022-05-26T10:21:02.964Z] 2437ff75d9bd: Waiting [2022-05-26T10:21:03.242Z] 04944245beec: Verifying Checksum [2022-05-26T10:21:03.242Z] 04944245beec: Download complete [2022-05-26T10:21:03.242Z] 765212b225bb: Download complete [2022-05-26T10:21:03.242Z] f23df028b6ca: Verifying Checksum [2022-05-26T10:21:03.242Z] f23df028b6ca: Download complete [2022-05-26T10:21:03.242Z] d65c8cfc05b1: Verifying Checksum [2022-05-26T10:21:03.242Z] d65c8cfc05b1: Download complete [2022-05-26T10:21:03.242Z] 699f458cf7ca: Verifying Checksum [2022-05-26T10:21:03.242Z] 699f458cf7ca: Download complete [2022-05-26T10:21:03.842Z] 8998bd30e6a1: Verifying Checksum [2022-05-26T10:21:03.842Z] 8998bd30e6a1: Download complete [2022-05-26T10:21:05.823Z] 2437ff75d9bd: Verifying Checksum [2022-05-26T10:21:05.823Z] 2437ff75d9bd: Download complete [2022-05-26T10:21:08.451Z] 8998bd30e6a1: Pull complete [2022-05-26T10:21:08.451Z] 04944245beec: Pull complete [2022-05-26T10:21:09.898Z] 699f458cf7ca: Pull complete [2022-05-26T10:21:10.172Z] 765212b225bb: Pull complete [2022-05-26T10:21:11.157Z] f23df028b6ca: Pull complete [2022-05-26T10:21:11.157Z] d65c8cfc05b1: Pull complete [2022-05-26T10:21:26.271Z] 2437ff75d9bd: Pull complete [2022-05-26T10:21:26.271Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-26T10:21:26.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T10:21:26.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:21:26.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2022-05-26T10:21:26.630Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-26T10:21:29.138Z] $ docker top add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:30.067Z] ---> job-cost.sh [2022-05-26T10:21:30.067Z] lf-activate-venv: SKIPPING [2022-05-26T10:21:30.067Z] INFO: No Stack... [2022-05-26T10:21:30.663Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-26T10:21:31.635Z] INFO: Archiving Costs [Pipeline] sh [2022-05-26T10:21:32.304Z] + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2022-05-26T10:21:32.304Z] + cut -d, -f6 [Pipeline] lock [2022-05-26T10:21:32.363Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [2022-05-26T10:21:32.371Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] did not exist. Created. [2022-05-26T10:21:32.371Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-26T10:21:33.048Z] /w/workspace/device-onvif-camera/12@tmp/durable-d6bb38ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-26T10:21:33.724Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-26T10:21:33.753Z] Warning: overwriting stash ‘stack-cost’ [2022-05-26T10:21:33.799Z] Stashed 1 file(s) [Pipeline] } [2022-05-26T10:21:33.806Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-26T10:21:33.830Z] $ docker stop --time=1 add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 [2022-05-26T10:21:35.269Z] $ docker rm -f add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 [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-05-26T10:21:35.664Z] provisioning config files... [2022-05-26T10:21:35.671Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8449153499472476069tmp [Pipeline] { [Pipeline] sh [2022-05-26T10:21:35.983Z] + set +x [2022-05-26T10:21:35.983Z] + curl -s https://codecov.io/bash [2022-05-26T10:21:35.983Z] + bash -s -- [2022-05-26T10:21:35.983Z] [2022-05-26T10:21:35.983Z] _____ _ [2022-05-26T10:21:35.983Z] / ____| | | [2022-05-26T10:21:35.983Z] | | ___ __| | ___ ___ _____ __ [2022-05-26T10:21:35.983Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-26T10:21:35.983Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-26T10:21:35.983Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-26T10:21:35.983Z] Bash-1.0.6 [2022-05-26T10:21:35.983Z] [2022-05-26T10:21:35.983Z] [2022-05-26T10:21:35.983Z] ==> git version 2.25.1 found [2022-05-26T10:21:35.983Z] ==> 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-05-26T10:21:35.983Z] Release-Date: 2020-01-08 [2022-05-26T10:21:35.983Z] 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-05-26T10:21:35.983Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-26T10:21:35.983Z] ==> Jenkins CI detected. [2022-05-26T10:21:35.983Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 [2022-05-26T10:21:35.983Z] project root: . [2022-05-26T10:21:35.983Z] --> token set from env [2022-05-26T10:21:35.983Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-26T10:21:35.983Z] ==> Running gcov in . (disable via -X gcov) [2022-05-26T10:21:35.983Z] ==> Python coveragepy not found [2022-05-26T10:21:35.983Z] ==> Searching for coverage reports in: [2022-05-26T10:21:35.983Z] + . [2022-05-26T10:21:35.983Z] -> Found 1 reports [2022-05-26T10:21:35.983Z] ==> Detecting git/mercurial file structure [2022-05-26T10:21:35.983Z] ==> Reading reports [2022-05-26T10:21:35.983Z] + ./coverage.out bytes=42596 [2022-05-26T10:21:35.983Z] ==> Appending adjustments [2022-05-26T10:21:35.983Z] https://docs.codecov.io/docs/fixing-reports [2022-05-26T10:21:36.272Z] + Found adjustments [2022-05-26T10:21:36.272Z] ==> Gzipping contents [2022-05-26T10:21:36.272Z] 8.0K /tmp/codecov.LQsXbG.gz [2022-05-26T10:21:36.272Z] ==> Uploading reports [2022-05-26T10:21:36.272Z] url: https://codecov.io [2022-05-26T10:21:36.272Z] query: branch=PR-65&commit=16c10b8b6338fde71f23404f4356a039771b1a1b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-05-26T10:21:36.272Z] -> Pinging Codecov [2022-05-26T10:21:36.273Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=16c10b8b6338fde71f23404f4356a039771b1a1b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-05-26T10:21:36.273Z] -> Uploading to [2022-05-26T10:21:36.273Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-26/F29A59C45E3A92E06B3E522C9905F8EF/16c10b8b6338fde71f23404f4356a039771b1a1b/2ec22af3-b356-41af-ba43-83f0a9afdc3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T102136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76338f5cb949ecb8c3662b5203e7f2a527936abf589287fb1840aad13bf3e745 [2022-05-26T10:21:36.273Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-26T10:21:36.273Z] Dload Upload Total Spent Left Speed [2022-05-26T10:21:36.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5624 0 0 100 5624 0 24775 --:--:-- --:--:-- --:--:-- 24775 [2022-05-26T10:21:36.544Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] } [2022-05-26T10:21:36.566Z] 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-05-26T10:21:37.165Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] [2022-05-26T10:21:37.165Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-26T10:21:37.165Z] total 16 [2022-05-26T10:21:37.165Z] drwxr-xr-x 3 root root 4096 May 26 10:13 . [2022-05-26T10:21:37.165Z] drwxrwxr-x 11 jenkins jenkins 4096 May 26 10:13 .. [2022-05-26T10:21:37.165Z] drwxr-xr-x 2 root root 4096 May 26 10:13 cost [2022-05-26T10:21:37.165Z] -rw-r--r-- 1 root root 90 May 26 10:13 cost.csv [2022-05-26T10:21:37.165Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-26T10:21:37.165Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-26T10:21:37.165Z] total 16 [2022-05-26T10:21:37.165Z] drwxr-xr-x 3 jenkins jenkins 4096 May 26 10:13 . [2022-05-26T10:21:37.165Z] drwxrwxr-x 11 jenkins jenkins 4096 May 26 10:13 .. [2022-05-26T10:21:37.165Z] drwxr-xr-x 2 jenkins jenkins 4096 May 26 10:13 cost [2022-05-26T10:21:37.165Z] -rw-r--r-- 1 jenkins jenkins 90 May 26 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:37.460Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:38.330Z] ---> package-listing.sh [2022-05-26T10:21:38.330Z] ++ facter osfamily [2022-05-26T10:21:38.330Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-26T10:21:38.591Z] + OS_FAMILY=debian [2022-05-26T10:21:38.591Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 [2022-05-26T10:21:38.591Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-26T10:21:38.591Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-26T10:21:38.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-26T10:21:38.591Z] + PACKAGES=/tmp/packages_start.txt [2022-05-26T10:21:38.591Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-05-26T10:21:38.591Z] + PACKAGES=/tmp/packages_end.txt [2022-05-26T10:21:38.591Z] + case "${OS_FAMILY}" in [2022-05-26T10:21:38.591Z] + dpkg -l [2022-05-26T10:21:38.591Z] + grep '^ii' [2022-05-26T10:21:38.591Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-26T10:21:38.591Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-26T10:21:38.591Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-26T10:21:38.591Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-05-26T10:21:38.591Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [2022-05-26T10:21:38.591Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo [2022-05-26T10:21:38.601Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-26T10:21:38.883Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T10:21:39.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T10:21:39.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T10:21:39.540Z] prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container [2022-05-26T10:21:39.590Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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-05-26T10:21:39.825Z] $ docker top be8fe32e5edb2f7ce733428b459bc0f530e4e4176ab3bb7561bff665827a4d14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T10:21:40.169Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-26T10:21:40.461Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-26T10:21:40.748Z] + ls /var/log/sa-host [2022-05-26T10:21:40.748Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T10:21:40.811Z] provisioning config files... [2022-05-26T10:21:40.820Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4651957233731682617tmp [Pipeline] { [Pipeline] echo [2022-05-26T10:21:40.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:41.114Z] ---> create-netrc.sh [Pipeline] } [2022-05-26T10:21:41.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:41.452Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-26T10:21:41.460Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:41.748Z] ---> sudo-logs.sh [2022-05-26T10:21:41.748Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-26T10:21:41.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:42.072Z] ---> job-cost.sh [2022-05-26T10:21:42.072Z] lf-activate-venv: SKIPPING [2022-05-26T10:21:42.072Z] DEBUG: total: 0.2199999988079071 [2022-05-26T10:21:42.072Z] INFO: Retrieving Stack Cost... [2022-05-26T10:21:43.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-26T10:21:43.278Z] INFO: Archiving Costs [Pipeline] echo [2022-05-26T10:21:43.290Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T10:21:43.579Z] ---> logs-deploy.sh [2022-05-26T10:21:43.579Z] lf-activate-venv: SKIPPING [2022-05-26T10:21:43.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/12 [2022-05-26T10:21:43.579Z] INFO: archiving workspace using pattern(s): [2022-05-26T10:21:44.519Z] Archives upload complete. [2022-05-26T10:21:44.519Z] INFO: archiving logs to Nexus