Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than 476c907fa318929dd4824259291fcb162877b342 Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh16259261762372668498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4806940012724050160.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18194034434618023429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14177287181096878650.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2937066667251084642.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24005 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-149 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 476c907fa318929dd4824259291fcb162877b342 Merge succeeded, producing 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a Checking out Revision 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 476c907fa318929dd4824259291fcb162877b342 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T22:52:24.162Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 3285ecbc1bffcadd80d4152d650403e048b8cc55 # timeout=10 [2022-08-30T22:52:24.218Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T22:52:24.235Z] ========================================================= [2022-08-30T22:52:24.235Z] EdgeX Global Pipelines Version Info [2022-08-30T22:52:24.235Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:52:24.997Z] ------------------- [2022-08-30T22:52:24.997Z] stable info: [2022-08-30T22:52:24.997Z] ------------------- [2022-08-30T22:52:24.997Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T22:52:24.997Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T22:52:24.997Z] Message: update stable to v1.0.239 [2022-08-30T22:52:25.573Z] ------------------- [2022-08-30T22:52:25.573Z] experimental info: [2022-08-30T22:52:25.573Z] ------------------- [2022-08-30T22:52:25.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T22:52:25.573Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T22:52:25.573Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T22:52:25.832Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T22:52:25.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T22:52:25.855Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T22:52:25.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T22:52:25.880Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T22:52:25.893Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T22:52:25.908Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T22:52:25.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T22:52:25.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T22:52:25.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T22:52:25.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T22:52:25.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T22:52:25.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T22:52:25.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T22:52:26.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T22:52:26.021Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T22:52:26.034Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T22:52:26.048Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T22:52:26.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T22:52:26.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T22:52:26.099Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T22:52:26.118Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T22:52:26.132Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T22:52:26.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T22:52:26.155Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T22:52:26.173Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T22:52:26.189Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T22:52:26.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T22:52:26.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T22:52:26.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T22:52:26.243Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [Pipeline] echo [2022-08-30T22:52:26.257Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b54f1e [Pipeline] echo [2022-08-30T22:52:26.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:52:26.318Z] provisioning config files... [2022-08-30T22:52:26.331Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config2217432181912460473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:52:26.660Z] ---> docker-login.sh [2022-08-30T22:52:26.660Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:52:26.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:26.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:26.923Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:26.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:26.923Z] [2022-08-30T22:52:26.923Z] Login Succeeded [2022-08-30T22:52:26.923Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:52:26.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:27.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:27.184Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:27.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:27.184Z] [2022-08-30T22:52:27.184Z] Login Succeeded [2022-08-30T22:52:27.184Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:52:27.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:27.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:27.184Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:27.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:27.185Z] [2022-08-30T22:52:27.185Z] Login Succeeded [2022-08-30T22:52:27.185Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:52:27.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:27.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:27.446Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:27.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:27.446Z] [2022-08-30T22:52:27.446Z] Login Succeeded [2022-08-30T22:52:27.446Z] docker.io [2022-08-30T22:52:27.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:27.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:27.707Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:27.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:27.707Z] [2022-08-30T22:52:27.707Z] Login Succeeded [2022-08-30T22:52:27.707Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:52:27.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T22:52:28.122Z] + git rev-list -1 --merges 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a~1..0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [Pipeline] echo [2022-08-30T22:52:28.198Z] -----------> git rev-list -1 --merges 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a~1..0b54f1eb4d006f77a3f81b36fa481197a90f9f2a 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [2022-08-30T22:52:28.198Z] 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [false] [Pipeline] sh [2022-08-30T22:52:28.503Z] + git log --format=format:%s -1 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [Pipeline] echo [2022-08-30T22:52:28.521Z] ========================================================= [2022-08-30T22:52:28.521Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T22:52:28.521Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:52:28.866Z] + git log --format=format:%s -1 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [Pipeline] echo [2022-08-30T22:52:28.879Z] [semverPrep] GIT_COMMIT: 0b54f1eb4d006f77a3f81b36fa481197a90f9f2a, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-30T22:52:28.889Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T22:52:29.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T22:52:29.318Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T22:52:29.318Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T22:52:29.318Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T22:52:29.318Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T22:52:29.318Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T22:52:29.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:52:29.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:52:29.702Z] [2022-08-30T22:52:29.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:52:30.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:52:30.017Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T22:52:30.017Z] b85a868b505f: Pulling fs layer [2022-08-30T22:52:30.017Z] e2be974225ed: Pulling fs layer [2022-08-30T22:52:30.017Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T22:52:30.017Z] 988bab9f4d93: Pulling fs layer [2022-08-30T22:52:30.017Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T22:52:30.017Z] eaf3925da568: Pulling fs layer [2022-08-30T22:52:30.017Z] bab4dde63d76: Pulling fs layer [2022-08-30T22:52:30.017Z] bde34c3a00c8: Pulling fs layer [2022-08-30T22:52:30.017Z] b352a97aabf1: Pulling fs layer [2022-08-30T22:52:30.017Z] 4872d77fe225: Pulling fs layer [2022-08-30T22:52:30.017Z] 5851b861e8e6: Pulling fs layer [2022-08-30T22:52:30.017Z] b352a97aabf1: Waiting [2022-08-30T22:52:30.017Z] 4872d77fe225: Waiting [2022-08-30T22:52:30.017Z] 5851b861e8e6: Waiting [2022-08-30T22:52:30.017Z] bab4dde63d76: Waiting [2022-08-30T22:52:30.017Z] 988bab9f4d93: Waiting [2022-08-30T22:52:30.017Z] 1469e6f7b9e6: Waiting [2022-08-30T22:52:30.017Z] eaf3925da568: Waiting [2022-08-30T22:52:30.017Z] bde34c3a00c8: Waiting [2022-08-30T22:52:30.017Z] e2be974225ed: Verifying Checksum [2022-08-30T22:52:30.017Z] e2be974225ed: Download complete [2022-08-30T22:52:30.017Z] 988bab9f4d93: Verifying Checksum [2022-08-30T22:52:30.017Z] 988bab9f4d93: Download complete [2022-08-30T22:52:30.277Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T22:52:30.277Z] 1469e6f7b9e6: Download complete [2022-08-30T22:52:30.277Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T22:52:30.277Z] 339a4e72a1f5: Download complete [2022-08-30T22:52:30.277Z] eaf3925da568: Verifying Checksum [2022-08-30T22:52:30.277Z] eaf3925da568: Download complete [2022-08-30T22:52:30.277Z] bde34c3a00c8: Download complete [2022-08-30T22:52:30.277Z] b352a97aabf1: Verifying Checksum [2022-08-30T22:52:30.277Z] b352a97aabf1: Download complete [2022-08-30T22:52:30.277Z] 4872d77fe225: Verifying Checksum [2022-08-30T22:52:30.277Z] 4872d77fe225: Download complete [2022-08-30T22:52:30.277Z] 5851b861e8e6: Verifying Checksum [2022-08-30T22:52:30.277Z] 5851b861e8e6: Download complete [2022-08-30T22:52:30.277Z] b85a868b505f: Verifying Checksum [2022-08-30T22:52:30.277Z] b85a868b505f: Download complete [2022-08-30T22:52:30.844Z] bab4dde63d76: Verifying Checksum [2022-08-30T22:52:30.844Z] bab4dde63d76: Download complete [2022-08-30T22:52:31.410Z] b85a868b505f: Pull complete [2022-08-30T22:52:31.669Z] e2be974225ed: Pull complete [2022-08-30T22:52:32.240Z] 339a4e72a1f5: Pull complete [2022-08-30T22:52:32.240Z] 988bab9f4d93: Pull complete [2022-08-30T22:52:32.501Z] 1469e6f7b9e6: Pull complete [2022-08-30T22:52:32.501Z] eaf3925da568: Pull complete [2022-08-30T22:52:34.414Z] bab4dde63d76: Pull complete [2022-08-30T22:52:34.414Z] bde34c3a00c8: Pull complete [2022-08-30T22:52:34.414Z] b352a97aabf1: Pull complete [2022-08-30T22:52:34.685Z] 4872d77fe225: Pull complete [2022-08-30T22:52:34.685Z] 5851b861e8e6: Pull complete [2022-08-30T22:52:34.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T22:52:34.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:52:34.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:52:34.781Z] prd-ubuntu20.04-docker-8c-8g-24005 does not seem to be running inside a container [2022-08-30T22:52:34.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T22:52:36.834Z] $ docker top ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 -eo pid,comm [2022-08-30T22:52:36.910Z] 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-08-30T22:52:36.910Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T22:52:36.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T22:52:36.952Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T22:52:37.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T22:52:37.083Z] $ docker exec ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 ssh-agent [2022-08-30T22:52:37.209Z] SSH_AUTH_SOCK=/tmp/ssh-XPPYA9Jpjg7h/agent.33 [2022-08-30T22:52:37.209Z] SSH_AGENT_PID=39 [2022-08-30T22:52:37.215Z] Running ssh-add (command line suppressed) [2022-08-30T22:52:37.328Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5420489813751480557.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5420489813751480557.key) [2022-08-30T22:52:37.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T22:52:37.633Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T22:52:37.659Z] $ docker exec --env ******** --env ******** ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 ssh-agent -k [2022-08-30T22:52:37.772Z] unset SSH_AUTH_SOCK; [2022-08-30T22:52:37.772Z] unset SSH_AGENT_PID; [2022-08-30T22:52:37.772Z] echo Agent pid 39 killed; [2022-08-30T22:52:37.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T22:52:37.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T22:52:37.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T22:52:38.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T22:52:38.022Z] $ docker exec ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 ssh-agent [2022-08-30T22:52:38.128Z] SSH_AUTH_SOCK=/tmp/ssh-QmcV9tulSbvA/agent.72 [2022-08-30T22:52:38.128Z] SSH_AGENT_PID=78 [2022-08-30T22:52:38.134Z] Running ssh-add (command line suppressed) [2022-08-30T22:52:38.239Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4647198933059351438.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4647198933059351438.key) [2022-08-30T22:52:38.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T22:52:38.543Z] + git semver init [2022-08-30T22:52:38.805Z] 2022-08-30 22:52:38,729 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T22:52:38.805Z] 2022-08-30 22:52:38,729 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T22:52:38.805Z] 2022-08-30 22:52:38,730 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T22:52:38.805Z] 2022-08-30 22:52:38,730 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,570 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,570 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,570 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,575 [execute] INFO git cat-file --batch-check [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,580 [execute] INFO git cat-file --batch [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T22:52:39.749Z] 2022-08-30 22:52:39,584 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T22:52:39.749Z] 0.0.0 [Pipeline] } [2022-08-30T22:52:39.765Z] $ docker exec --env ******** --env ******** ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 ssh-agent -k [2022-08-30T22:52:39.876Z] unset SSH_AUTH_SOCK; [2022-08-30T22:52:39.877Z] unset SSH_AGENT_PID; [2022-08-30T22:52:39.877Z] echo Agent pid 78 killed; [2022-08-30T22:52:39.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T22:52:40.202Z] + git semver [Pipeline] } [2022-08-30T22:52:40.482Z] $ docker stop --time=1 ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 [2022-08-30T22:52:41.764Z] $ docker rm -f ba9ccc6c0ff329afa3109b12fd5da9eafa9a5f1a0f0beeb929c21faa7b766883 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:52:42.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T22:52:42.352Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T22:52:42.355Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:52:42.474Z] provisioning config files... [2022-08-30T22:52:42.484Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8616355624298538401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:52:42.787Z] ---> docker-login.sh [2022-08-30T22:52:42.787Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:52:42.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:42.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:42.787Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:42.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:42.787Z] [2022-08-30T22:52:42.787Z] Login Succeeded [2022-08-30T22:52:42.787Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:52:42.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:43.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:43.049Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:43.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:43.049Z] [2022-08-30T22:52:43.049Z] Login Succeeded [2022-08-30T22:52:43.049Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:52:43.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:43.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:43.049Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:43.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:43.049Z] [2022-08-30T22:52:43.049Z] Login Succeeded [2022-08-30T22:52:43.049Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:52:43.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:43.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:43.310Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:43.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:43.310Z] [2022-08-30T22:52:43.310Z] Login Succeeded [2022-08-30T22:52:43.310Z] docker.io [2022-08-30T22:52:43.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:52:43.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:52:43.571Z] Configure a credential helper to remove this warning. See [2022-08-30T22:52:43.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:52:43.571Z] [2022-08-30T22:52:43.571Z] Login Succeeded [2022-08-30T22:52:43.571Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:52:43.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T22:52:43.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:52:43.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:52:43.673Z] ========================================================= [2022-08-30T22:52:43.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T22:52:43.673Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:52:44.002Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T22:52:44.002Z] Sending build context to Docker daemon 20.67MB [2022-08-30T22:52:44.002Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:52:44.002Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T22:52:44.264Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T22:52:44.264Z] 2408cc74d12b: Pulling fs layer [2022-08-30T22:52:44.264Z] ea60b727a1ce: Pulling fs layer [2022-08-30T22:52:44.264Z] 30c4a7721957: Pulling fs layer [2022-08-30T22:52:44.264Z] 370296b7ddb6: Pulling fs layer [2022-08-30T22:52:44.264Z] 7c6cee850709: Pulling fs layer [2022-08-30T22:52:44.264Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T22:52:44.264Z] d94ebbe4e438: Pulling fs layer [2022-08-30T22:52:44.264Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T22:52:44.264Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T22:52:44.264Z] bcfd1f05c69d: Waiting [2022-08-30T22:52:44.264Z] 7c6cee850709: Waiting [2022-08-30T22:52:44.264Z] 59ccb84bbe0f: Waiting [2022-08-30T22:52:44.264Z] 39a5fcdaea64: Waiting [2022-08-30T22:52:44.264Z] 370296b7ddb6: Waiting [2022-08-30T22:52:44.264Z] 30c4a7721957: Verifying Checksum [2022-08-30T22:52:44.264Z] 30c4a7721957: Download complete [2022-08-30T22:52:44.264Z] ea60b727a1ce: Verifying Checksum [2022-08-30T22:52:44.264Z] ea60b727a1ce: Download complete [2022-08-30T22:52:44.264Z] 7c6cee850709: Verifying Checksum [2022-08-30T22:52:44.264Z] 7c6cee850709: Download complete [2022-08-30T22:52:44.264Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T22:52:44.264Z] 39a5fcdaea64: Download complete [2022-08-30T22:52:44.264Z] 2408cc74d12b: Verifying Checksum [2022-08-30T22:52:44.264Z] 2408cc74d12b: Download complete [2022-08-30T22:52:44.264Z] d94ebbe4e438: Download complete [2022-08-30T22:52:44.264Z] 2408cc74d12b: Pull complete [2022-08-30T22:52:44.537Z] ea60b727a1ce: Pull complete [2022-08-30T22:52:44.807Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T22:52:44.807Z] 59ccb84bbe0f: Download complete [2022-08-30T22:52:44.807Z] 30c4a7721957: Pull complete [2022-08-30T22:52:45.070Z] 370296b7ddb6: Verifying Checksum [2022-08-30T22:52:45.070Z] 370296b7ddb6: Download complete [2022-08-30T22:52:45.070Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T22:52:45.070Z] bcfd1f05c69d: Download complete [2022-08-30T22:52:49.266Z] 370296b7ddb6: Pull complete [2022-08-30T22:52:49.266Z] 7c6cee850709: Pull complete [2022-08-30T22:52:49.266Z] 39a5fcdaea64: Pull complete [2022-08-30T22:52:49.266Z] d94ebbe4e438: Pull complete [2022-08-30T22:52:50.648Z] bcfd1f05c69d: Pull complete [2022-08-30T22:52:51.584Z] 59ccb84bbe0f: Pull complete [2022-08-30T22:52:51.584Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T22:52:51.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T22:52:51.584Z] ---> a4fb48ad2a94 [2022-08-30T22:52:51.584Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T22:52:54.884Z] ---> Running in 9582ecdf2e00 [2022-08-30T22:52:54.884Z] Removing intermediate container 9582ecdf2e00 [2022-08-30T22:52:54.884Z] ---> 923e75adce98 [2022-08-30T22:52:54.884Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:52:54.884Z] ---> Running in f3718bcd14b9 [2022-08-30T22:52:54.884Z] Removing intermediate container f3718bcd14b9 [2022-08-30T22:52:54.884Z] ---> 855e48c621a9 [2022-08-30T22:52:54.884Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:52:54.884Z] ---> Running in 8b3adaa9b876 [2022-08-30T22:52:54.884Z] Removing intermediate container 8b3adaa9b876 [2022-08-30T22:52:54.884Z] ---> bc294aa69757 [2022-08-30T22:52:54.884Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:52:54.884Z] ---> Running in 7c3ed847ba0e [2022-08-30T22:52:54.884Z] Removing intermediate container 7c3ed847ba0e [2022-08-30T22:52:54.884Z] ---> f2fb14849246 [2022-08-30T22:52:54.884Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:52:54.884Z] ---> Running in 1352415997bf [2022-08-30T22:52:55.453Z] Removing intermediate container 1352415997bf [2022-08-30T22:52:55.453Z] ---> b6c8eb8e3b82 [2022-08-30T22:52:55.453Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:52:55.453Z] ---> Running in 7699a4591c1a [2022-08-30T22:52:55.714Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:52:56.655Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:52:57.228Z] OK: 211 MiB in 51 packages [2022-08-30T22:52:57.444Z] Still waiting to schedule task [2022-08-30T22:52:57.444Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24004’ [2022-08-30T22:52:57.488Z] Removing intermediate container 7699a4591c1a [2022-08-30T22:52:57.488Z] ---> 4709baa94b62 [2022-08-30T22:52:57.488Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T22:52:57.488Z] ---> Running in 99abac7d87ac [2022-08-30T22:52:57.488Z] Removing intermediate container 99abac7d87ac [2022-08-30T22:52:57.488Z] ---> bd7c93bd4077 [2022-08-30T22:52:57.488Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T22:52:57.749Z] ---> fa9e0d739a1b [2022-08-30T22:52:57.749Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:52:57.749Z] ---> Running in d00d2f3a2bf5 [2022-08-30T22:53:19.714Z] Removing intermediate container d00d2f3a2bf5 [2022-08-30T22:53:19.714Z] ---> 984872b19b53 [2022-08-30T22:53:19.714Z] Step 12/13 : COPY . . [2022-08-30T22:53:19.714Z] ---> 6ed50cab3896 [2022-08-30T22:53:19.714Z] Step 13/13 : RUN ${MAKE} [2022-08-30T22:53:19.714Z] ---> Running in 4a9d4506b182 [2022-08-30T22:53:19.714Z] noop [2022-08-30T22:53:19.974Z] Removing intermediate container 4a9d4506b182 [2022-08-30T22:53:19.974Z] ---> daa2c9be2aeb [2022-08-30T22:53:19.974Z] Successfully built daa2c9be2aeb [2022-08-30T22:53:19.974Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:53:20.289Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T22:53:20.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:53:20.368Z] prd-ubuntu20.04-docker-8c-8g-24005 does not seem to be running inside a container [2022-08-30T22:53:20.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-30T22:53:20.778Z] $ docker top fb4b505760a921fbbe086e4d4b5ba209fd77fc2497daddbbf93207ed3e92c45d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:53:21.136Z] + go version [2022-08-30T22:53:21.136Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T22:53:21.153Z] $ docker stop --time=1 fb4b505760a921fbbe086e4d4b5ba209fd77fc2497daddbbf93207ed3e92c45d [2022-08-30T22:53:22.433Z] $ docker rm -f fb4b505760a921fbbe086e4d4b5ba209fd77fc2497daddbbf93207ed3e92c45d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:53:22.899Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T22:53:22.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:53:22.998Z] prd-ubuntu20.04-docker-8c-8g-24005 does not seem to be running inside a container [2022-08-30T22:53:23.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-30T22:53:23.362Z] $ docker top 248cfa4a7e7e0a57a64aa281a0b5b0e169fdc753bbea7cd2e21d06bac20d599e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:53:23.717Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T22:53:24.020Z] + make test [2022-08-30T22:53:24.020Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T22:53:24.279Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T22:53:34.271Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T22:53:34.271Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 23.4% of statements [2022-08-30T22:53:37.570Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.950s coverage: 13.8% of statements [2022-08-30T22:53:44.145Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T22:53:44.145Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T22:53:47.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T22:53:47.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T22:53:47.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T22:53:47.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T22:53:47.489Z] $ docker stop --time=1 248cfa4a7e7e0a57a64aa281a0b5b0e169fdc753bbea7cd2e21d06bac20d599e [2022-08-30T22:53:49.535Z] $ docker rm -f 248cfa4a7e7e0a57a64aa281a0b5b0e169fdc753bbea7cd2e21d06bac20d599e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:53:49.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T22:53:50.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-30T22:53:50.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T22:53:50.909Z] + ls -al . [2022-08-30T22:53:50.909Z] total 232 [2022-08-30T22:53:50.909Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 22:53 . [2022-08-30T22:53:50.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:52 .. [2022-08-30T22:53:50.909Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:53 .git [2022-08-30T22:53:50.909Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:52 .github [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 22:52 .gitignore [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:52 .golangci.yml [2022-08-30T22:53:50.909Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:52 .semver [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 22:52 Attribution.txt [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 22:52 CHANGELOG.md [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 22:52 Dockerfile [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:52 GOVERNANCE.md [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 22:52 Jenkinsfile [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 22:52 LICENSE [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 22:52 Makefile [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 22:52 OWNERS.md [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 22:52 README.md [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:52 VERSION [2022-08-30T22:53:50.909Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:52 bin [2022-08-30T22:53:50.909Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:52 cmd [2022-08-30T22:53:50.909Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 30 22:53 coverage.out [2022-08-30T22:53:50.909Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:52 doc [2022-08-30T22:53:50.909Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 22:52 go.mod [2022-08-30T22:53:50.910Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 22:52 go.sum [2022-08-30T22:53:50.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:52 internal [2022-08-30T22:53:50.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:52 snap [2022-08-30T22:53:50.910Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 22:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:53:51.221Z] + 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=0b54f1eb4d006f77a3f81b36fa481197a90f9f2a --label arch=amd64 --label version=0.0.0 . [2022-08-30T22:53:51.222Z] Sending build context to Docker daemon 20.75MB [2022-08-30T22:53:51.222Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:53:51.222Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T22:53:51.222Z] ---> daa2c9be2aeb [2022-08-30T22:53:51.222Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T22:53:51.481Z] ---> Running in 5cf7c8ffc6b2 [2022-08-30T22:53:51.481Z] Removing intermediate container 5cf7c8ffc6b2 [2022-08-30T22:53:51.481Z] ---> 64da2e8c5267 [2022-08-30T22:53:51.481Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:53:51.481Z] ---> Running in 418a77eea15c [2022-08-30T22:53:51.481Z] Removing intermediate container 418a77eea15c [2022-08-30T22:53:51.481Z] ---> 9f5782db9353 [2022-08-30T22:53:51.481Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:53:51.481Z] ---> Running in 0950a2106d11 [2022-08-30T22:53:51.742Z] Removing intermediate container 0950a2106d11 [2022-08-30T22:53:51.742Z] ---> cca25189ff72 [2022-08-30T22:53:51.742Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:53:51.742Z] ---> Running in dafadaae81a3 [2022-08-30T22:53:51.742Z] Removing intermediate container dafadaae81a3 [2022-08-30T22:53:51.742Z] ---> 65336f6d84c9 [2022-08-30T22:53:51.742Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:53:51.742Z] ---> Running in 67e74d8881d9 [2022-08-30T22:53:52.313Z] Removing intermediate container 67e74d8881d9 [2022-08-30T22:53:52.313Z] ---> 830001367200 [2022-08-30T22:53:52.313Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:53:52.313Z] ---> Running in b9ff79010025 [2022-08-30T22:53:52.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:53:53.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:53:53.776Z] OK: 211 MiB in 51 packages [2022-08-30T22:53:54.036Z] Removing intermediate container b9ff79010025 [2022-08-30T22:53:54.036Z] ---> 4faff6f65f22 [2022-08-30T22:53:54.036Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T22:53:54.036Z] ---> Running in 1bbdce709701 [2022-08-30T22:53:54.036Z] Removing intermediate container 1bbdce709701 [2022-08-30T22:53:54.036Z] ---> 692e4a00c335 [2022-08-30T22:53:54.036Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T22:53:54.305Z] ---> d39f9e099c85 [2022-08-30T22:53:54.305Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:53:54.305Z] ---> Running in a78ada9006e6 [2022-08-30T22:53:54.875Z] Removing intermediate container a78ada9006e6 [2022-08-30T22:53:54.875Z] ---> cb4e569cee64 [2022-08-30T22:53:54.875Z] Step 12/26 : COPY . . [2022-08-30T22:53:55.442Z] ---> a865db4eff95 [2022-08-30T22:53:55.442Z] Step 13/26 : RUN ${MAKE} [2022-08-30T22:53:55.442Z] ---> Running in c9a502834fba [2022-08-30T22:53:55.701Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T22:54:17.688Z] Removing intermediate container c9a502834fba [2022-08-30T22:54:17.688Z] ---> dd6244a80b04 [2022-08-30T22:54:17.688Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T22:54:17.688Z] 3.16: Pulling from library/alpine [2022-08-30T22:54:17.688Z] 213ec9aee27d: Pulling fs layer [2022-08-30T22:54:17.688Z] 213ec9aee27d: Verifying Checksum [2022-08-30T22:54:17.688Z] 213ec9aee27d: Download complete [2022-08-30T22:54:17.688Z] 213ec9aee27d: Pull complete [2022-08-30T22:54:17.688Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T22:54:17.688Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T22:54:17.688Z] ---> 9c6f07244728 [2022-08-30T22:54:17.688Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T22:54:17.688Z] ---> Running in 0f947471d3f3 [2022-08-30T22:54:17.688Z] Removing intermediate container 0f947471d3f3 [2022-08-30T22:54:17.688Z] ---> cf461031653c [2022-08-30T22:54:17.688Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T22:54:17.688Z] ---> Running in a9ba30930e25 [2022-08-30T22:54:17.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:54:17.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:54:17.688Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T22:54:17.688Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T22:54:17.688Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T22:54:17.688Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T22:54:17.688Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T22:54:17.688Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T22:54:17.688Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T22:54:17.688Z] OK: 8 MiB in 20 packages [2022-08-30T22:54:17.688Z] Removing intermediate container a9ba30930e25 [2022-08-30T22:54:17.688Z] ---> 0676da7b44f1 [2022-08-30T22:54:17.688Z] Step 17/26 : WORKDIR / [2022-08-30T22:54:17.688Z] ---> Running in b109cf9d035e [2022-08-30T22:54:17.688Z] Removing intermediate container b109cf9d035e [2022-08-30T22:54:17.688Z] ---> 8635ae15ec8f [2022-08-30T22:54:17.688Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T22:54:17.948Z] ---> 54870ab15ed6 [2022-08-30T22:54:17.948Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T22:54:17.948Z] ---> e1c17d7c552b [2022-08-30T22:54:17.948Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T22:54:18.209Z] ---> 6e5da7c14a2a [2022-08-30T22:54:18.209Z] Step 21/26 : EXPOSE 59984 [2022-08-30T22:54:18.209Z] ---> Running in cfed81172467 [2022-08-30T22:54:18.209Z] Removing intermediate container cfed81172467 [2022-08-30T22:54:18.209Z] ---> 4773750db88c [2022-08-30T22:54:18.209Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T22:54:18.209Z] ---> Running in 1cffdb0f611e [2022-08-30T22:54:18.209Z] Removing intermediate container 1cffdb0f611e [2022-08-30T22:54:18.209Z] ---> eea06518dcf6 [2022-08-30T22:54:18.209Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T22:54:18.209Z] ---> Running in 81ae1e808536 [2022-08-30T22:54:18.468Z] Removing intermediate container 81ae1e808536 [2022-08-30T22:54:18.468Z] ---> 7a350121ea62 [2022-08-30T22:54:18.468Z] Step 24/26 : LABEL arch=amd64 [2022-08-30T22:54:18.468Z] ---> Running in 9c4d25f15370 [2022-08-30T22:54:18.468Z] Removing intermediate container 9c4d25f15370 [2022-08-30T22:54:18.468Z] ---> cce991c4dd31 [2022-08-30T22:54:18.468Z] Step 25/26 : LABEL git_sha=0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [2022-08-30T22:54:18.468Z] ---> Running in 8cbb2aae9182 [2022-08-30T22:54:18.468Z] Removing intermediate container 8cbb2aae9182 [2022-08-30T22:54:18.468Z] ---> 74c60bb34420 [2022-08-30T22:54:18.468Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T22:54:18.729Z] ---> Running in 37a5c2984570 [2022-08-30T22:54:18.729Z] Removing intermediate container 37a5c2984570 [2022-08-30T22:54:18.729Z] ---> dea5776584b3 [2022-08-30T22:54:18.729Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T22:54:18.729Z] Successfully built dea5776584b3 [2022-08-30T22:54:18.729Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:54:19.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:54:19.170Z] [2022-08-30T22:54:19.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:54:19.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:54:19.470Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T22:54:19.470Z] 5eb5b503b376: Pulling fs layer [2022-08-30T22:54:19.470Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T22:54:19.470Z] ec43610c2a17: Pulling fs layer [2022-08-30T22:54:19.470Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T22:54:19.470Z] 33b1e0a273af: Pulling fs layer [2022-08-30T22:54:19.470Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T22:54:19.470Z] 2f39f015ded8: Pulling fs layer [2022-08-30T22:54:19.470Z] 33b1e0a273af: Waiting [2022-08-30T22:54:19.470Z] 5d3b04190fa2: Waiting [2022-08-30T22:54:19.470Z] 2f39f015ded8: Waiting [2022-08-30T22:54:19.470Z] 3a2ae6a8a46f: Waiting [2022-08-30T22:54:19.470Z] 5c69ac0246d0: Verifying Checksum [2022-08-30T22:54:19.470Z] 5c69ac0246d0: Download complete [2022-08-30T22:54:19.470Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T22:54:19.470Z] 3a2ae6a8a46f: Download complete [2022-08-30T22:54:19.470Z] 33b1e0a273af: Verifying Checksum [2022-08-30T22:54:19.470Z] 33b1e0a273af: Download complete [2022-08-30T22:54:19.470Z] 5d3b04190fa2: Download complete [2022-08-30T22:54:19.729Z] ec43610c2a17: Verifying Checksum [2022-08-30T22:54:19.729Z] ec43610c2a17: Download complete [2022-08-30T22:54:19.729Z] 5eb5b503b376: Download complete [2022-08-30T22:54:20.297Z] 2f39f015ded8: Verifying Checksum [2022-08-30T22:54:20.297Z] 2f39f015ded8: Download complete [2022-08-30T22:54:20.863Z] 5eb5b503b376: Pull complete [2022-08-30T22:54:20.863Z] 5c69ac0246d0: Pull complete [2022-08-30T22:54:21.429Z] ec43610c2a17: Pull complete [2022-08-30T22:54:21.430Z] 3a2ae6a8a46f: Pull complete [2022-08-30T22:54:21.687Z] 33b1e0a273af: Pull complete [2022-08-30T22:54:21.687Z] 5d3b04190fa2: Pull complete [2022-08-30T22:54:25.877Z] 2f39f015ded8: Pull complete [2022-08-30T22:54:25.877Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T22:54:25.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:54:25.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:54:25.965Z] prd-ubuntu20.04-docker-8c-8g-24005 does not seem to be running inside a container [2022-08-30T22:54:26.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T22:54:28.072Z] $ docker top 7ba2d1dca8827b6b3cd9a9466acdc8b3cbd7349b0be667a2e3f174c5ede4736b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:54:28.449Z] ---> job-cost.sh [2022-08-30T22:54:28.449Z] lf-activate-venv: SKIPPING [2022-08-30T22:54:28.449Z] INFO: No Stack... [2022-08-30T22:54:28.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T22:54:29.282Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T22:54:29.575Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T22:54:29.575Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T22:54:29.589Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [2022-08-30T22:54:29.595Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] did not exist. Created. [2022-08-30T22:54:29.595Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T22:54:29.905Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T22:54:29.931Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T22:54:29.939Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T22:54:29.968Z] $ docker stop --time=1 7ba2d1dca8827b6b3cd9a9466acdc8b3cbd7349b0be667a2e3f174c5ede4736b [2022-08-30T22:54:31.107Z] $ docker rm -f 7ba2d1dca8827b6b3cd9a9466acdc8b3cbd7349b0be667a2e3f174c5ede4736b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T22:56:12.284Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24006 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T22:56:12.297Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-08-30T22:56:12.329Z] Selected Git installation does not exist. Using Default [2022-08-30T22:56:12.329Z] The recommended git tool is: NONE [2022-08-30T22:56:19.112Z] using credential edgex-jenkins-ssh [2022-08-30T22:56:19.140Z] Cloning the remote Git repository [2022-08-30T22:56:19.257Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:56:19.360Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-08-30T22:56:19.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:56:19.487Z] > git --version # timeout=10 [2022-08-30T22:56:19.532Z] > git --version # 'git version 2.25.1' [2022-08-30T22:56:19.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:56:19.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T22:56:20.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T22:56:20.830Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T22:56:20.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T22:56:20.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:56:21.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:56:21.063Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T22:56:21.701Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 476c907fa318929dd4824259291fcb162877b342 [2022-08-30T22:56:22.311Z] Merge succeeded, producing 76bbcd3c97408e722d7e07b72e7f928eadb14c68 [2022-08-30T22:56:22.312Z] Checking out Revision 76bbcd3c97408e722d7e07b72e7f928eadb14c68 (PR-149) [2022-08-30T22:56:21.720Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T22:56:21.742Z] > git checkout -f 476c907fa318929dd4824259291fcb162877b342 # timeout=10 [2022-08-30T22:56:21.969Z] > git remote # timeout=10 [2022-08-30T22:56:21.985Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T22:56:22.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:56:22.028Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-30T22:56:22.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T22:56:22.317Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T22:56:22.332Z] > git checkout -f 76bbcd3c97408e722d7e07b72e7f928eadb14c68 # timeout=10 [2022-08-30T22:56:26.490Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-30T22:56:26.515Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:56:27.338Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T22:56:27.338Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T22:56:27.338Z] Dload Upload Total Spent Left Speed [2022-08-30T22:56:27.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 [2022-08-30T22:56:26.496Z] > git rev-list --no-walk 3285ecbc1bffcadd80d4152d650403e048b8cc55 # timeout=10 [Pipeline] sh [2022-08-30T22:56:28.006Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T22:56:28.354Z] + sudo tee /etc/docker/daemon.new [2022-08-30T22:56:28.354Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T22:56:28.354Z] { [2022-08-30T22:56:28.354Z] "registry-mirrors": [ [2022-08-30T22:56:28.354Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T22:56:28.354Z] ], [2022-08-30T22:56:28.354Z] "bip": "10.250.0.254/24", [2022-08-30T22:56:28.354Z] "hosts": [ [2022-08-30T22:56:28.354Z] "tcp://0.0.0.0:5555", [2022-08-30T22:56:28.354Z] "unix:///var/run/docker.sock" [2022-08-30T22:56:28.354Z] ], [2022-08-30T22:56:28.354Z] "mtu": 1458, [2022-08-30T22:56:28.354Z] "selinux-enabled": true, [2022-08-30T22:56:28.354Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T22:56:28.354Z] } [Pipeline] sh [2022-08-30T22:56:28.748Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T22:56:29.084Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:56:47.421Z] provisioning config files... [2022-08-30T22:56:47.444Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config8941149316243733451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:56:47.796Z] ---> docker-login.sh [2022-08-30T22:56:47.796Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:56:48.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:56:48.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:56:48.666Z] Configure a credential helper to remove this warning. See [2022-08-30T22:56:48.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:56:48.666Z] [2022-08-30T22:56:48.666Z] Login Succeeded [2022-08-30T22:56:48.666Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:56:48.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:56:49.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:56:49.212Z] Configure a credential helper to remove this warning. See [2022-08-30T22:56:49.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:56:49.212Z] [2022-08-30T22:56:49.212Z] Login Succeeded [2022-08-30T22:56:49.212Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:56:49.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:56:49.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:56:49.486Z] Configure a credential helper to remove this warning. See [2022-08-30T22:56:49.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:56:49.486Z] [2022-08-30T22:56:49.486Z] Login Succeeded [2022-08-30T22:56:49.486Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:56:50.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:56:50.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:56:50.085Z] Configure a credential helper to remove this warning. See [2022-08-30T22:56:50.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:56:50.085Z] [2022-08-30T22:56:50.085Z] Login Succeeded [2022-08-30T22:56:50.085Z] docker.io [2022-08-30T22:56:50.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:56:50.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:56:50.953Z] Configure a credential helper to remove this warning. See [2022-08-30T22:56:50.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:56:50.953Z] [2022-08-30T22:56:50.953Z] Login Succeeded [2022-08-30T22:56:50.953Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:56:50.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T22:56:51.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:56:51.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:56:51.575Z] ========================================================= [2022-08-30T22:56:51.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T22:56:51.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:56:51.937Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T22:56:52.541Z] Sending build context to Docker daemon 14.18MB [2022-08-30T22:56:52.541Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:56:52.541Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T22:56:52.541Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T22:56:52.541Z] b3c136eddcbf: Pulling fs layer [2022-08-30T22:56:52.541Z] c0a3192eca97: Pulling fs layer [2022-08-30T22:56:52.541Z] a050256f5b6f: Pulling fs layer [2022-08-30T22:56:52.541Z] 656be50a0ddc: Pulling fs layer [2022-08-30T22:56:52.541Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T22:56:52.541Z] 46d945488cbd: Pulling fs layer [2022-08-30T22:56:52.541Z] 8a5474983e97: Pulling fs layer [2022-08-30T22:56:52.541Z] 329c88fbcd65: Pulling fs layer [2022-08-30T22:56:52.541Z] 8a5474983e97: Waiting [2022-08-30T22:56:52.541Z] 656be50a0ddc: Waiting [2022-08-30T22:56:52.541Z] 329c88fbcd65: Waiting [2022-08-30T22:56:52.541Z] 2bbca73fdf42: Waiting [2022-08-30T22:56:52.541Z] 46d945488cbd: Waiting [2022-08-30T22:56:52.541Z] a050256f5b6f: Verifying Checksum [2022-08-30T22:56:52.541Z] a050256f5b6f: Download complete [2022-08-30T22:56:52.821Z] c0a3192eca97: Verifying Checksum [2022-08-30T22:56:52.821Z] c0a3192eca97: Download complete [2022-08-30T22:56:52.821Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T22:56:52.821Z] 2bbca73fdf42: Download complete [2022-08-30T22:56:52.821Z] 46d945488cbd: Verifying Checksum [2022-08-30T22:56:52.821Z] 46d945488cbd: Download complete [2022-08-30T22:56:52.821Z] b3c136eddcbf: Verifying Checksum [2022-08-30T22:56:52.821Z] b3c136eddcbf: Download complete [2022-08-30T22:56:53.819Z] b3c136eddcbf: Pull complete [2022-08-30T22:56:53.819Z] 329c88fbcd65: Verifying Checksum [2022-08-30T22:56:53.819Z] 329c88fbcd65: Download complete [2022-08-30T22:56:54.424Z] c0a3192eca97: Pull complete [2022-08-30T22:56:54.705Z] a050256f5b6f: Pull complete [2022-08-30T22:56:54.988Z] 8a5474983e97: Verifying Checksum [2022-08-30T22:56:54.988Z] 8a5474983e97: Download complete [2022-08-30T22:56:55.592Z] 656be50a0ddc: Verifying Checksum [2022-08-30T22:56:55.592Z] 656be50a0ddc: Download complete [2022-08-30T22:57:10.720Z] 656be50a0ddc: Pull complete [2022-08-30T22:57:10.720Z] 2bbca73fdf42: Pull complete [2022-08-30T22:57:10.720Z] 46d945488cbd: Pull complete [2022-08-30T22:57:15.040Z] 8a5474983e97: Pull complete [2022-08-30T22:57:17.021Z] 329c88fbcd65: Pull complete [2022-08-30T22:57:17.021Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T22:57:17.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T22:57:17.021Z] ---> ff4287adb874 [2022-08-30T22:57:17.021Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T22:57:18.459Z] ---> Running in f7e23c894c61 [2022-08-30T22:57:19.058Z] Removing intermediate container f7e23c894c61 [2022-08-30T22:57:19.058Z] ---> c7af4e6053f3 [2022-08-30T22:57:19.058Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:57:19.058Z] ---> Running in b81b88e85b9d [2022-08-30T22:57:19.331Z] Removing intermediate container b81b88e85b9d [2022-08-30T22:57:19.331Z] ---> dda82c45389b [2022-08-30T22:57:19.331Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:57:19.331Z] ---> Running in d4079946a333 [2022-08-30T22:57:19.606Z] Removing intermediate container d4079946a333 [2022-08-30T22:57:19.606Z] ---> 0b96419609d1 [2022-08-30T22:57:19.606Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:57:19.606Z] ---> Running in 910db8cc10c2 [2022-08-30T22:57:19.878Z] Removing intermediate container 910db8cc10c2 [2022-08-30T22:57:19.878Z] ---> fef117f78da1 [2022-08-30T22:57:19.878Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:57:20.160Z] ---> Running in f88c35078847 [2022-08-30T22:57:22.794Z] Removing intermediate container f88c35078847 [2022-08-30T22:57:22.794Z] ---> 73f7e84e0798 [2022-08-30T22:57:22.794Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:57:22.794Z] ---> Running in 182b1fbad7e6 [2022-08-30T22:57:23.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:57:24.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:57:25.731Z] OK: 221 MiB in 51 packages [2022-08-30T22:57:26.344Z] Removing intermediate container 182b1fbad7e6 [2022-08-30T22:57:26.344Z] ---> 7935eb08f4ee [2022-08-30T22:57:26.344Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T22:57:26.623Z] ---> Running in 3f9c3236cb42 [2022-08-30T22:57:26.896Z] Removing intermediate container 3f9c3236cb42 [2022-08-30T22:57:26.896Z] ---> 252ce2ccd5f1 [2022-08-30T22:57:26.896Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T22:57:27.490Z] ---> c8123b01e39c [2022-08-30T22:57:27.490Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:57:27.490Z] ---> Running in 9e198a60f9e3 [2022-08-30T22:58:24.048Z] Removing intermediate container 9e198a60f9e3 [2022-08-30T22:58:24.048Z] ---> 7fe9fd936256 [2022-08-30T22:58:24.048Z] Step 12/13 : COPY . . [2022-08-30T22:58:24.048Z] ---> c3ec3db2707d [2022-08-30T22:58:24.048Z] Step 13/13 : RUN ${MAKE} [2022-08-30T22:58:24.048Z] ---> Running in e94e472773d9 [2022-08-30T22:58:24.048Z] noop [2022-08-30T22:58:24.048Z] Removing intermediate container e94e472773d9 [2022-08-30T22:58:24.048Z] ---> 0dd507fff380 [2022-08-30T22:58:24.048Z] Successfully built 0dd507fff380 [2022-08-30T22:58:24.048Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:58:24.411Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T22:58:24.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:58:24.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-24006 does not seem to be running inside a container [2022-08-30T22:58:24.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-arm64 cat [2022-08-30T22:58:26.020Z] $ docker top af6ae4241a9d197de076c0536eb84a4e4cfc9c2a08e1ffc341934aabbbc289fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:58:26.949Z] + go version [2022-08-30T22:58:26.949Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T22:58:26.971Z] $ docker stop --time=1 af6ae4241a9d197de076c0536eb84a4e4cfc9c2a08e1ffc341934aabbbc289fc [2022-08-30T22:58:28.625Z] $ docker rm -f af6ae4241a9d197de076c0536eb84a4e4cfc9c2a08e1ffc341934aabbbc289fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:58:29.242Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T22:58:29.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:58:29.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-24006 does not seem to be running inside a container [2022-08-30T22:58:29.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-arm64 cat [2022-08-30T22:58:30.907Z] $ docker top f61d0fdc6d9cbc21048bde25eb4c55994ae5014adfd203078191795acca01592 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:58:31.841Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/14 [Pipeline] fileExists [Pipeline] sh [2022-08-30T22:58:32.511Z] + make test [2022-08-30T22:58:32.511Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T22:58:34.496Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T23:00:11.660Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T23:00:11.937Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 23.4% of statements [2022-08-30T23:00:38.743Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.722s coverage: 13.8% of statements [2022-08-30T23:00:38.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T23:00:38.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T23:00:57.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T23:00:57.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T23:00:57.110Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T23:00:57.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T23:00:57.141Z] $ docker stop --time=1 f61d0fdc6d9cbc21048bde25eb4c55994ae5014adfd203078191795acca01592 [2022-08-30T23:00:58.914Z] $ docker rm -f f61d0fdc6d9cbc21048bde25eb4c55994ae5014adfd203078191795acca01592 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T23:00:59.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T23:00:59.942Z] Warning: overwriting stash ‘coverage-report’ [2022-08-30T23:01:00.471Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T23:01:00.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T23:01:01.215Z] + ls -al . [2022-08-30T23:01:01.215Z] total 228 [2022-08-30T23:01:01.215Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 22:58 . [2022-08-30T23:01:01.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:56 .. [2022-08-30T23:01:01.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:56 .git [2022-08-30T23:01:01.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:56 .github [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 22:56 .gitignore [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:56 .golangci.yml [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 22:56 Attribution.txt [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 22:56 CHANGELOG.md [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 22:56 Dockerfile [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:56 GOVERNANCE.md [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 22:56 Jenkinsfile [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 22:56 LICENSE [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 22:56 Makefile [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 22:56 OWNERS.md [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 22:56 README.md [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:52 VERSION [2022-08-30T23:01:01.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:56 bin [2022-08-30T23:01:01.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:56 cmd [2022-08-30T23:01:01.215Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 30 23:00 coverage.out [2022-08-30T23:01:01.215Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:56 doc [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 22:56 go.mod [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 22:56 go.sum [2022-08-30T23:01:01.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:56 internal [2022-08-30T23:01:01.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:56 snap [2022-08-30T23:01:01.215Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:01:01.573Z] + 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=76bbcd3c97408e722d7e07b72e7f928eadb14c68 --label arch=arm64 --label version=0.0.0 . [2022-08-30T23:01:02.185Z] Sending build context to Docker daemon 14.26MB [2022-08-30T23:01:02.185Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T23:01:02.185Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T23:01:02.185Z] ---> 0dd507fff380 [2022-08-30T23:01:02.185Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T23:01:02.467Z] ---> Running in c7c14bfaf167 [2022-08-30T23:01:02.740Z] Removing intermediate container c7c14bfaf167 [2022-08-30T23:01:02.741Z] ---> d957f400b030 [2022-08-30T23:01:02.741Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T23:01:02.741Z] ---> Running in d4c283b5df4f [2022-08-30T23:01:03.015Z] Removing intermediate container d4c283b5df4f [2022-08-30T23:01:03.015Z] ---> 7b4db581c3f3 [2022-08-30T23:01:03.015Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T23:01:03.015Z] ---> Running in d880d0d5e3ca [2022-08-30T23:01:03.294Z] Removing intermediate container d880d0d5e3ca [2022-08-30T23:01:03.294Z] ---> 85af615dd437 [2022-08-30T23:01:03.294Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T23:01:03.576Z] ---> Running in cac2c57d0f28 [2022-08-30T23:01:03.849Z] Removing intermediate container cac2c57d0f28 [2022-08-30T23:01:03.849Z] ---> 5c14dfae81b1 [2022-08-30T23:01:03.849Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T23:01:03.849Z] ---> Running in 118f6572a502 [2022-08-30T23:01:05.831Z] Removing intermediate container 118f6572a502 [2022-08-30T23:01:05.831Z] ---> 52246bc48ff1 [2022-08-30T23:01:05.831Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T23:01:05.831Z] ---> Running in 20744096cad1 [2022-08-30T23:01:06.432Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T23:01:07.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T23:01:08.392Z] OK: 221 MiB in 51 packages [2022-08-30T23:01:09.380Z] Removing intermediate container 20744096cad1 [2022-08-30T23:01:09.380Z] ---> 3effc32abec2 [2022-08-30T23:01:09.380Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T23:01:09.380Z] ---> Running in 4cefb72ab212 [2022-08-30T23:01:09.655Z] Removing intermediate container 4cefb72ab212 [2022-08-30T23:01:09.655Z] ---> 412cfce242f9 [2022-08-30T23:01:09.655Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T23:01:10.252Z] ---> ce0d6e50ed6d [2022-08-30T23:01:10.252Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T23:01:10.252Z] ---> Running in 7a187b2dbe20 [2022-08-30T23:01:12.246Z] Removing intermediate container 7a187b2dbe20 [2022-08-30T23:01:12.246Z] ---> 1b30d8ac6c5b [2022-08-30T23:01:12.246Z] Step 12/26 : COPY . . [2022-08-30T23:01:13.691Z] ---> 87687ba72279 [2022-08-30T23:01:13.691Z] Step 13/26 : RUN ${MAKE} [2022-08-30T23:01:13.691Z] ---> Running in 5b45f2132f92 [2022-08-30T23:01:14.684Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T23:03:36.617Z] Removing intermediate container 5b45f2132f92 [2022-08-30T23:03:36.617Z] ---> ac708207dfed [2022-08-30T23:03:36.617Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T23:03:36.617Z] 3.16: Pulling from library/alpine [2022-08-30T23:03:36.617Z] 9b18e9b68314: Pulling fs layer [2022-08-30T23:03:36.617Z] 9b18e9b68314: Verifying Checksum [2022-08-30T23:03:36.617Z] 9b18e9b68314: Download complete [2022-08-30T23:03:36.617Z] 9b18e9b68314: Pull complete [2022-08-30T23:03:36.617Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T23:03:36.617Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T23:03:36.617Z] ---> a6215f271958 [2022-08-30T23:03:36.617Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T23:03:36.617Z] ---> Running in 6cfa5d697697 [2022-08-30T23:03:36.617Z] Removing intermediate container 6cfa5d697697 [2022-08-30T23:03:36.617Z] ---> 64fa1dc9d4e4 [2022-08-30T23:03:36.617Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T23:03:36.617Z] ---> Running in 8eeb5119f06b [2022-08-30T23:03:36.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T23:03:36.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T23:03:36.617Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T23:03:36.617Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T23:03:36.617Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T23:03:36.617Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T23:03:36.617Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T23:03:36.617Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T23:03:36.617Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T23:03:36.617Z] OK: 8 MiB in 20 packages [2022-08-30T23:03:36.617Z] Removing intermediate container 8eeb5119f06b [2022-08-30T23:03:36.617Z] ---> ebad7fa29913 [2022-08-30T23:03:36.617Z] Step 17/26 : WORKDIR / [2022-08-30T23:03:36.617Z] ---> Running in f29e478b7463 [2022-08-30T23:03:36.617Z] Removing intermediate container f29e478b7463 [2022-08-30T23:03:36.617Z] ---> 833701615f8e [2022-08-30T23:03:36.617Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T23:03:36.617Z] ---> c0fb9dcb813a [2022-08-30T23:03:36.617Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T23:03:36.617Z] ---> b707fd0734ba [2022-08-30T23:03:36.617Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T23:03:36.617Z] ---> 754903e351bf [2022-08-30T23:03:36.617Z] Step 21/26 : EXPOSE 59984 [2022-08-30T23:03:36.617Z] ---> Running in bd08c02e99f6 [2022-08-30T23:03:36.617Z] Removing intermediate container bd08c02e99f6 [2022-08-30T23:03:36.617Z] ---> 4c3d741ca337 [2022-08-30T23:03:36.617Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T23:03:36.617Z] ---> Running in 664e6695df68 [2022-08-30T23:03:36.617Z] Removing intermediate container 664e6695df68 [2022-08-30T23:03:36.617Z] ---> 7d4b0e2ddc17 [2022-08-30T23:03:36.617Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T23:03:36.617Z] ---> Running in 9dcd4302fef1 [2022-08-30T23:03:36.617Z] Removing intermediate container 9dcd4302fef1 [2022-08-30T23:03:36.617Z] ---> 8a3e1ca408ff [2022-08-30T23:03:36.617Z] Step 24/26 : LABEL arch=arm64 [2022-08-30T23:03:36.617Z] ---> Running in 3167157a52cd [2022-08-30T23:03:36.617Z] Removing intermediate container 3167157a52cd [2022-08-30T23:03:36.617Z] ---> e4c22c3f41f8 [2022-08-30T23:03:36.617Z] Step 25/26 : LABEL git_sha=76bbcd3c97408e722d7e07b72e7f928eadb14c68 [2022-08-30T23:03:36.617Z] ---> Running in 840a4f27917c [2022-08-30T23:03:36.617Z] Removing intermediate container 840a4f27917c [2022-08-30T23:03:36.617Z] ---> 7d74f143128d [2022-08-30T23:03:36.617Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T23:03:36.617Z] ---> Running in 8011eb5d2535 [2022-08-30T23:03:36.617Z] Removing intermediate container 8011eb5d2535 [2022-08-30T23:03:36.617Z] ---> 72f23cd8c1d8 [2022-08-30T23:03:36.617Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T23:03:36.617Z] Successfully built 72f23cd8c1d8 [2022-08-30T23:03:36.617Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:03:37.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:03:37.088Z] [2022-08-30T23:03:37.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:03:37.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:03:37.714Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T23:03:37.714Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T23:03:37.714Z] 04944245beec: Pulling fs layer [2022-08-30T23:03:37.714Z] 699f458cf7ca: Pulling fs layer [2022-08-30T23:03:37.714Z] 765212b225bb: Pulling fs layer [2022-08-30T23:03:37.714Z] f23df028b6ca: Pulling fs layer [2022-08-30T23:03:37.714Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T23:03:37.714Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T23:03:37.714Z] f23df028b6ca: Waiting [2022-08-30T23:03:37.714Z] d65c8cfc05b1: Waiting [2022-08-30T23:03:37.714Z] 2437ff75d9bd: Waiting [2022-08-30T23:03:37.714Z] 04944245beec: Verifying Checksum [2022-08-30T23:03:37.714Z] 04944245beec: Download complete [2022-08-30T23:03:37.714Z] 765212b225bb: Download complete [2022-08-30T23:03:37.714Z] f23df028b6ca: Verifying Checksum [2022-08-30T23:03:37.714Z] f23df028b6ca: Download complete [2022-08-30T23:03:37.714Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T23:03:37.714Z] d65c8cfc05b1: Download complete [2022-08-30T23:03:37.989Z] 699f458cf7ca: Verifying Checksum [2022-08-30T23:03:37.989Z] 699f458cf7ca: Download complete [2022-08-30T23:03:38.262Z] 8998bd30e6a1: Verifying Checksum [2022-08-30T23:03:38.262Z] 8998bd30e6a1: Download complete [2022-08-30T23:03:40.883Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T23:03:40.883Z] 2437ff75d9bd: Download complete [2022-08-30T23:03:42.321Z] 8998bd30e6a1: Pull complete [2022-08-30T23:03:42.920Z] 04944245beec: Pull complete [2022-08-30T23:03:44.357Z] 699f458cf7ca: Pull complete [2022-08-30T23:03:44.631Z] 765212b225bb: Pull complete [2022-08-30T23:03:45.614Z] f23df028b6ca: Pull complete [2022-08-30T23:03:45.614Z] d65c8cfc05b1: Pull complete [2022-08-30T23:04:03.996Z] 2437ff75d9bd: Pull complete [2022-08-30T23:04:03.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T23:04:03.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:04:03.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:04:04.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-24006 does not seem to be running inside a container [2022-08-30T23:04:04.337Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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:arm64 cat [2022-08-30T23:04:06.760Z] $ docker top ef72daa4fb6d7c09b73eb89b236017f9d39f7a1ab8a7ca4361d1dab1b5e3a0f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:07.739Z] ---> job-cost.sh [2022-08-30T23:04:07.739Z] lf-activate-venv: SKIPPING [2022-08-30T23:04:07.739Z] INFO: No Stack... [2022-08-30T23:04:08.011Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T23:04:08.986Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T23:04:09.644Z] + cut -d, -f6 [2022-08-30T23:04:09.644Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [Pipeline] lock [2022-08-30T23:04:09.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [2022-08-30T23:04:09.680Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] did not exist. Created. [2022-08-30T23:04:09.680Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T23:04:10.352Z] /w/workspace/device-onvif-camera/14@tmp/durable-e4968dc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T23:04:11.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T23:04:11.063Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T23:04:11.124Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T23:04:11.131Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T23:04:11.149Z] $ docker stop --time=1 ef72daa4fb6d7c09b73eb89b236017f9d39f7a1ab8a7ca4361d1dab1b5e3a0f0 [2022-08-30T23:04:12.687Z] $ docker rm -f ef72daa4fb6d7c09b73eb89b236017f9d39f7a1ab8a7ca4361d1dab1b5e3a0f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-30T23:04:13.144Z] provisioning config files... [2022-08-30T23:04:13.152Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6581060337900675623tmp [Pipeline] { [Pipeline] sh [2022-08-30T23:04:13.458Z] + set +x [2022-08-30T23:04:13.458Z] + curl -s https://codecov.io/bash [2022-08-30T23:04:13.458Z] + bash -s -- [2022-08-30T23:04:13.458Z] [2022-08-30T23:04:13.458Z] _____ _ [2022-08-30T23:04:13.458Z] / ____| | | [2022-08-30T23:04:13.458Z] | | ___ __| | ___ ___ _____ __ [2022-08-30T23:04:13.458Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-30T23:04:13.458Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-30T23:04:13.458Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-30T23:04:13.458Z] Bash-1.0.6 [2022-08-30T23:04:13.458Z] [2022-08-30T23:04:13.458Z] [2022-08-30T23:04:13.458Z] ==> git version 2.25.1 found [2022-08-30T23:04:13.458Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-30T23:04:13.458Z] Release-Date: 2020-01-08 [2022-08-30T23:04:13.458Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-30T23:04:13.458Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-30T23:04:13.458Z] ==> Jenkins CI detected. [2022-08-30T23:04:13.458Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T23:04:13.458Z] project root: . [2022-08-30T23:04:13.458Z] --> token set from env [2022-08-30T23:04:13.458Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-30T23:04:13.458Z] ==> Running gcov in . (disable via -X gcov) [2022-08-30T23:04:13.458Z] ==> Python coveragepy not found [2022-08-30T23:04:13.458Z] ==> Searching for coverage reports in: [2022-08-30T23:04:13.458Z] + . [2022-08-30T23:04:13.458Z] -> Found 1 reports [2022-08-30T23:04:13.458Z] ==> Detecting git/mercurial file structure [2022-08-30T23:04:13.458Z] ==> Reading reports [2022-08-30T23:04:13.718Z] + ./coverage.out bytes=77457 [2022-08-30T23:04:13.718Z] ==> Appending adjustments [2022-08-30T23:04:13.718Z] https://docs.codecov.io/docs/fixing-reports [2022-08-30T23:04:13.718Z] + Found adjustments [2022-08-30T23:04:13.718Z] ==> Gzipping contents [2022-08-30T23:04:13.718Z] 12K /tmp/codecov.AgdKC6.gz [2022-08-30T23:04:13.718Z] ==> Uploading reports [2022-08-30T23:04:13.718Z] url: https://codecov.io [2022-08-30T23:04:13.718Z] query: branch=PR-149&commit=0b54f1eb4d006f77a3f81b36fa481197a90f9f2a&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T23:04:13.718Z] -> Pinging Codecov [2022-08-30T23:04:13.718Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=0b54f1eb4d006f77a3f81b36fa481197a90f9f2a&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T23:04:13.977Z] -> Uploading to [2022-08-30T23:04:13.977Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-30/F29A59C45E3A92E06B3E522C9905F8EF/0b54f1eb4d006f77a3f81b36fa481197a90f9f2a/1fdff34d-b2b4-4ba0-a939-e5bbec80898c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T230413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=526177c567a6d3514713504a56fc83a0cc35a6b3a58c8b6ebfb78131b85b6d12 [2022-08-30T23:04:13.977Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T23:04:13.977Z] Dload Upload Total Spent Left Speed [2022-08-30T23:04:14.238Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10595 0 0 100 10595 0 44894 --:--:-- --:--:-- --:--:-- 44894 [2022-08-30T23:04:14.238Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0b54f1eb4d006f77a3f81b36fa481197a90f9f2a [Pipeline] } [2022-08-30T23:04:14.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-30T23:04:14.918Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T23:04:14.918Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:04:14.918Z] total 16 [2022-08-30T23:04:14.918Z] drwxr-xr-x 3 root root 4096 Aug 30 22:54 . [2022-08-30T23:04:14.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 22:54 .. [2022-08-30T23:04:14.918Z] drwxr-xr-x 2 root root 4096 Aug 30 22:54 cost [2022-08-30T23:04:14.918Z] -rw-r--r-- 1 root root 92 Aug 30 22:54 cost.csv [2022-08-30T23:04:14.918Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:04:14.918Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:04:14.918Z] total 16 [2022-08-30T23:04:14.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:54 . [2022-08-30T23:04:14.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 22:54 .. [2022-08-30T23:04:14.918Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 22:54 cost [2022-08-30T23:04:14.918Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 30 22:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:15.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:16.085Z] ---> package-listing.sh [2022-08-30T23:04:16.085Z] ++ facter osfamily [2022-08-30T23:04:16.085Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T23:04:16.343Z] + OS_FAMILY=debian [2022-08-30T23:04:16.343Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T23:04:16.343Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T23:04:16.343Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T23:04:16.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T23:04:16.343Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T23:04:16.343Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T23:04:16.343Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T23:04:16.343Z] + case "${OS_FAMILY}" in [2022-08-30T23:04:16.343Z] + dpkg -l [2022-08-30T23:04:16.343Z] + grep '^ii' [2022-08-30T23:04:16.343Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T23:04:16.343Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T23:04:16.343Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T23:04:16.343Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T23:04:16.343Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T23:04:16.343Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T23:04:16.353Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T23:04:16.631Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:04:17.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T23:04:17.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:04:17.274Z] prd-ubuntu20.04-docker-8c-8g-24005 does not seem to be running inside a container [2022-08-30T23:04:17.316Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T23:04:17.513Z] $ docker top 2d9768cbbd4b6c328d854c22f5414be4deacfe9f917d78693efc5368e8414fa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:04:17.861Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T23:04:18.148Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T23:04:18.437Z] + ls /var/log/sa-host [2022-08-30T23:04:18.437Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T23:04:18.510Z] provisioning config files... [2022-08-30T23:04:18.519Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4519039818890368174tmp [Pipeline] { [Pipeline] echo [2022-08-30T23:04:18.534Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:18.818Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T23:04:18.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:19.156Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T23:04:19.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:19.447Z] ---> sudo-logs.sh [2022-08-30T23:04:19.447Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T23:04:19.475Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:19.758Z] ---> job-cost.sh [2022-08-30T23:04:19.758Z] lf-activate-venv: SKIPPING [2022-08-30T23:04:19.758Z] DEBUG: total: 0.2199999988079071 [2022-08-30T23:04:19.758Z] INFO: Retrieving Stack Cost... [2022-08-30T23:04:20.019Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T23:04:20.590Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T23:04:20.604Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:04:20.891Z] ---> logs-deploy.sh [2022-08-30T23:04:20.891Z] lf-activate-venv: SKIPPING [2022-08-30T23:04:20.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/14 [2022-08-30T23:04:20.891Z] INFO: archiving workspace using pattern(s): [2022-08-30T23:04:21.833Z] Archives upload complete. [2022-08-30T23:04:21.833Z] INFO: archiving logs to Nexus