Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ec509adb15beeff9c635c67ee84ed92878cfab+88753853dd15dc813abf6fe949f278b33fe89c26 (d88a0da81e0fb05b2a2cc6f63707e7aa62d75a9c) 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-ssh8737241898218834724.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2920309846527880228.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/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-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11177727058615108532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10397707147803217907.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/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-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9987602512786058905.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20668 in /w/workspace/undry_device-onvif-camera_PR-100 [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-100 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab Merge succeeded, producing d2bce2b466cbb8642c4e025620d66efdc779a784 Checking out Revision d2bce2b466cbb8642c4e025620d66efdc779a784 (PR-100) > 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/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bce2b466cbb8642c4e025620d66efdc779a784 # timeout=10 Commit message: "Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-21T10:11:19.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T10:11:19.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T10:11:19.869Z] ========================================================= [2022-07-21T10:11:19.869Z] EdgeX Global Pipelines Version Info [2022-07-21T10:11:19.869Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 # timeout=10 [2022-07-21T10:11:20.626Z] ------------------- [2022-07-21T10:11:20.626Z] stable info: [2022-07-21T10:11:20.626Z] ------------------- [2022-07-21T10:11:20.626Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T10:11:20.626Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T10:11:20.626Z] Message: update stable to v1.0.238 [2022-07-21T10:11:21.199Z] ------------------- [2022-07-21T10:11:21.199Z] experimental info: [2022-07-21T10:11:21.199Z] ------------------- [2022-07-21T10:11:21.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T10:11:21.199Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T10:11:21.199Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T10:11:21.397Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-21T10:11:21.411Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-21T10:11:21.422Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T10:11:21.434Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T10:11:21.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T10:11:21.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T10:11:21.468Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T10:11:21.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T10:11:21.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T10:11:21.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T10:11:21.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T10:11:21.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-21T10:11:21.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T10:11:21.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T10:11:21.554Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T10:11:21.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T10:11:21.570Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T10:11:21.578Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T10:11:21.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T10:11:21.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T10:11:21.615Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T10:11:21.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T10:11:21.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T10:11:21.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T10:11:21.724Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T10:11:21.739Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T10:11:21.754Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T10:11:21.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-07-21T10:11:21.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-07-21T10:11:21.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-07-21T10:11:21.816Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2bce2b466cbb8642c4e025620d66efdc779a784 [Pipeline] echo [2022-07-21T10:11:21.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2bce2b [Pipeline] echo [2022-07-21T10:11:21.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:11:21.886Z] provisioning config files... [2022-07-21T10:11:21.900Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config8013910698166968026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:11:22.206Z] ---> docker-login.sh [2022-07-21T10:11:22.206Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:11:22.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:22.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:22.468Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:22.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:22.468Z] [2022-07-21T10:11:22.468Z] Login Succeeded [2022-07-21T10:11:22.468Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:11:22.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:22.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:22.729Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:22.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:22.729Z] [2022-07-21T10:11:22.729Z] Login Succeeded [2022-07-21T10:11:22.729Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:11:22.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:22.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:22.729Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:22.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:22.729Z] [2022-07-21T10:11:22.729Z] Login Succeeded [2022-07-21T10:11:22.729Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:11:22.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:22.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:22.991Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:22.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:22.991Z] [2022-07-21T10:11:22.991Z] Login Succeeded [2022-07-21T10:11:22.991Z] docker.io [2022-07-21T10:11:22.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:23.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:23.254Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:23.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:23.254Z] [2022-07-21T10:11:23.254Z] Login Succeeded [2022-07-21T10:11:23.517Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:11:23.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T10:11:23.906Z] + git rev-list -1 --merges d2bce2b466cbb8642c4e025620d66efdc779a784~1..d2bce2b466cbb8642c4e025620d66efdc779a784 [Pipeline] echo [2022-07-21T10:11:24.018Z] -----------> git rev-list -1 --merges d2bce2b466cbb8642c4e025620d66efdc779a784~1..d2bce2b466cbb8642c4e025620d66efdc779a784 d2bce2b466cbb8642c4e025620d66efdc779a784 [2022-07-21T10:11:24.018Z] d2bce2b466cbb8642c4e025620d66efdc779a784 [false] [Pipeline] sh [2022-07-21T10:11:24.303Z] + git log --format=format:%s -1 d2bce2b466cbb8642c4e025620d66efdc779a784 [Pipeline] echo [2022-07-21T10:11:24.319Z] ========================================================= [2022-07-21T10:11:24.319Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T10:11:24.319Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:11:24.653Z] + git log --format=format:%s -1 d2bce2b466cbb8642c4e025620d66efdc779a784 [Pipeline] echo [2022-07-21T10:11:24.666Z] [semverPrep] GIT_COMMIT: d2bce2b466cbb8642c4e025620d66efdc779a784, Commit Message: Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD [Pipeline] echo [2022-07-21T10:11:24.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T10:11:25.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T10:11:25.031Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T10:11:25.031Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T10:11:25.031Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T10:11:25.031Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T10:11:25.031Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T10:11:25.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:25.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:11:25.403Z] [2022-07-21T10:11:25.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:25.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:11:25.712Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T10:11:25.712Z] b85a868b505f: Pulling fs layer [2022-07-21T10:11:25.712Z] e2be974225ed: Pulling fs layer [2022-07-21T10:11:25.712Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T10:11:25.712Z] 988bab9f4d93: Pulling fs layer [2022-07-21T10:11:25.712Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T10:11:25.712Z] eaf3925da568: Pulling fs layer [2022-07-21T10:11:25.712Z] bab4dde63d76: Pulling fs layer [2022-07-21T10:11:25.712Z] bde34c3a00c8: Pulling fs layer [2022-07-21T10:11:25.712Z] b352a97aabf1: Pulling fs layer [2022-07-21T10:11:25.712Z] 4872d77fe225: Pulling fs layer [2022-07-21T10:11:25.712Z] 5851b861e8e6: Pulling fs layer [2022-07-21T10:11:25.712Z] 1469e6f7b9e6: Waiting [2022-07-21T10:11:25.712Z] bab4dde63d76: Waiting [2022-07-21T10:11:25.712Z] 988bab9f4d93: Waiting [2022-07-21T10:11:25.712Z] bde34c3a00c8: Waiting [2022-07-21T10:11:25.712Z] b352a97aabf1: Waiting [2022-07-21T10:11:25.712Z] 5851b861e8e6: Waiting [2022-07-21T10:11:25.712Z] 4872d77fe225: Waiting [2022-07-21T10:11:25.712Z] e2be974225ed: Verifying Checksum [2022-07-21T10:11:25.712Z] e2be974225ed: Download complete [2022-07-21T10:11:25.712Z] 988bab9f4d93: Verifying Checksum [2022-07-21T10:11:25.712Z] 988bab9f4d93: Download complete [2022-07-21T10:11:25.978Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T10:11:25.978Z] 1469e6f7b9e6: Download complete [2022-07-21T10:11:25.978Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T10:11:25.978Z] 339a4e72a1f5: Download complete [2022-07-21T10:11:25.978Z] eaf3925da568: Download complete [2022-07-21T10:11:25.978Z] bde34c3a00c8: Verifying Checksum [2022-07-21T10:11:25.978Z] bde34c3a00c8: Download complete [2022-07-21T10:11:25.978Z] b352a97aabf1: Download complete [2022-07-21T10:11:25.978Z] 4872d77fe225: Verifying Checksum [2022-07-21T10:11:25.978Z] 4872d77fe225: Download complete [2022-07-21T10:11:25.978Z] 5851b861e8e6: Verifying Checksum [2022-07-21T10:11:25.978Z] 5851b861e8e6: Download complete [2022-07-21T10:11:26.242Z] b85a868b505f: Verifying Checksum [2022-07-21T10:11:26.242Z] b85a868b505f: Download complete [2022-07-21T10:11:26.242Z] bab4dde63d76: Verifying Checksum [2022-07-21T10:11:26.242Z] bab4dde63d76: Download complete [2022-07-21T10:11:27.629Z] b85a868b505f: Pull complete [2022-07-21T10:11:27.629Z] e2be974225ed: Pull complete [2022-07-21T10:11:27.890Z] 339a4e72a1f5: Pull complete [2022-07-21T10:11:28.152Z] 988bab9f4d93: Pull complete [2022-07-21T10:11:28.414Z] 1469e6f7b9e6: Pull complete [2022-07-21T10:11:28.414Z] eaf3925da568: Pull complete [2022-07-21T10:11:30.328Z] bab4dde63d76: Pull complete [2022-07-21T10:11:30.328Z] bde34c3a00c8: Pull complete [2022-07-21T10:11:30.328Z] b352a97aabf1: Pull complete [2022-07-21T10:11:30.589Z] 4872d77fe225: Pull complete [2022-07-21T10:11:30.589Z] 5851b861e8e6: Pull complete [2022-07-21T10:11:30.589Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T10:11:30.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:11:30.589Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:11:30.689Z] prd-ubuntu20.04-docker-8c-8g-20668 does not seem to be running inside a container [2022-07-21T10:11:30.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-21T10:11:32.335Z] $ docker top fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 -eo pid,comm [2022-07-21T10:11:32.403Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-21T10:11:32.403Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T10:11:32.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T10:11:32.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T10:11:32.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T10:11:32.566Z] $ docker exec fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 ssh-agent [2022-07-21T10:11:32.684Z] SSH_AUTH_SOCK=/tmp/ssh-UPsj7s8NS6GT/agent.33 [2022-07-21T10:11:32.684Z] SSH_AGENT_PID=39 [2022-07-21T10:11:32.691Z] Running ssh-add (command line suppressed) [2022-07-21T10:11:32.822Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_3392055201126318654.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_3392055201126318654.key) [2022-07-21T10:11:32.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T10:11:33.127Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T10:11:33.149Z] $ docker exec --env ******** --env ******** fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 ssh-agent -k [2022-07-21T10:11:33.269Z] unset SSH_AUTH_SOCK; [2022-07-21T10:11:33.269Z] unset SSH_AGENT_PID; [2022-07-21T10:11:33.269Z] echo Agent pid 39 killed; [2022-07-21T10:11:33.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T10:11:33.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T10:11:33.304Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T10:11:33.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T10:11:33.454Z] $ docker exec fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 ssh-agent [2022-07-21T10:11:33.593Z] SSH_AUTH_SOCK=/tmp/ssh-vooZwfleWlZK/agent.73 [2022-07-21T10:11:33.593Z] SSH_AGENT_PID=79 [2022-07-21T10:11:33.600Z] Running ssh-add (command line suppressed) [2022-07-21T10:11:33.719Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_3301914999848587132.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_3301914999848587132.key) [2022-07-21T10:11:33.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T10:11:34.019Z] + git semver init [2022-07-21T10:11:34.280Z] 2022-07-21 10:11:34,213 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T10:11:34.280Z] 2022-07-21 10:11:34,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-21T10:11:34.280Z] 2022-07-21 10:11:34,214 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-21T10:11:34.280Z] 2022-07-21 10:11:34,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,985 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,986 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,990 [execute] INFO git cat-file --batch-check [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,995 [execute] INFO git cat-file --batch [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:34,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T10:11:35.221Z] 2022-07-21 10:11:35,001 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-21T10:11:35.221Z] 0.0.0 [Pipeline] } [2022-07-21T10:11:35.234Z] $ docker exec --env ******** --env ******** fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 ssh-agent -k [2022-07-21T10:11:35.333Z] unset SSH_AUTH_SOCK; [2022-07-21T10:11:35.334Z] unset SSH_AGENT_PID; [2022-07-21T10:11:35.334Z] echo Agent pid 79 killed; [2022-07-21T10:11:35.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T10:11:35.658Z] + git semver [Pipeline] } [2022-07-21T10:11:35.938Z] $ docker stop --time=1 fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 [2022-07-21T10:11:37.240Z] $ docker rm -f fe2c1924de190c26968a98eca31524265ceff1407660f2c0eecf749c5a7d3037 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:11:37.597Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T10:11:37.863Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T10:11:37.866Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:11:38.001Z] provisioning config files... [2022-07-21T10:11:38.013Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config9218601652934027474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:11:38.314Z] ---> docker-login.sh [2022-07-21T10:11:38.314Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:11:38.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:38.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:38.314Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:38.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:38.314Z] [2022-07-21T10:11:38.314Z] Login Succeeded [2022-07-21T10:11:38.314Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:11:38.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:38.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:38.576Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:38.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:38.576Z] [2022-07-21T10:11:38.576Z] Login Succeeded [2022-07-21T10:11:38.576Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:11:38.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:38.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:38.577Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:38.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:38.577Z] [2022-07-21T10:11:38.577Z] Login Succeeded [2022-07-21T10:11:38.577Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:11:38.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:38.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:38.849Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:38.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:38.849Z] [2022-07-21T10:11:38.849Z] Login Succeeded [2022-07-21T10:11:38.849Z] docker.io [2022-07-21T10:11:38.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:11:39.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:11:39.109Z] Configure a credential helper to remove this warning. See [2022-07-21T10:11:39.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:11:39.109Z] [2022-07-21T10:11:39.109Z] Login Succeeded [2022-07-21T10:11:39.109Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:11:39.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T10:11:39.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:11:39.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:11:39.207Z] ========================================================= [2022-07-21T10:11:39.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T10:11:39.207Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:39.539Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-21T10:11:39.539Z] Sending build context to Docker daemon 19.96MB [2022-07-21T10:11:39.539Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:11:39.539Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T10:11:39.800Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T10:11:39.800Z] 2408cc74d12b: Pulling fs layer [2022-07-21T10:11:39.800Z] ea60b727a1ce: Pulling fs layer [2022-07-21T10:11:39.800Z] 30c4a7721957: Pulling fs layer [2022-07-21T10:11:39.800Z] 370296b7ddb6: Pulling fs layer [2022-07-21T10:11:39.800Z] 7c6cee850709: Pulling fs layer [2022-07-21T10:11:39.800Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T10:11:39.800Z] d94ebbe4e438: Pulling fs layer [2022-07-21T10:11:39.800Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T10:11:39.800Z] 39a5fcdaea64: Waiting [2022-07-21T10:11:39.800Z] d94ebbe4e438: Waiting [2022-07-21T10:11:39.800Z] 370296b7ddb6: Waiting [2022-07-21T10:11:39.800Z] 7c6cee850709: Waiting [2022-07-21T10:11:39.800Z] bcfd1f05c69d: Waiting [2022-07-21T10:11:39.800Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T10:11:39.800Z] 59ccb84bbe0f: Waiting [2022-07-21T10:11:39.800Z] 30c4a7721957: Verifying Checksum [2022-07-21T10:11:39.800Z] 30c4a7721957: Download complete [2022-07-21T10:11:39.800Z] ea60b727a1ce: Verifying Checksum [2022-07-21T10:11:39.800Z] ea60b727a1ce: Download complete [2022-07-21T10:11:39.800Z] 7c6cee850709: Verifying Checksum [2022-07-21T10:11:39.800Z] 7c6cee850709: Download complete [2022-07-21T10:11:39.800Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T10:11:39.800Z] 39a5fcdaea64: Download complete [2022-07-21T10:11:39.800Z] 2408cc74d12b: Verifying Checksum [2022-07-21T10:11:39.800Z] 2408cc74d12b: Download complete [2022-07-21T10:11:39.800Z] d94ebbe4e438: Download complete [2022-07-21T10:11:39.800Z] 2408cc74d12b: Pull complete [2022-07-21T10:11:40.067Z] ea60b727a1ce: Pull complete [2022-07-21T10:11:40.067Z] 30c4a7721957: Pull complete [2022-07-21T10:11:40.335Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T10:11:40.335Z] 59ccb84bbe0f: Download complete [2022-07-21T10:11:40.335Z] bcfd1f05c69d: Verifying Checksum [2022-07-21T10:11:40.335Z] bcfd1f05c69d: Download complete [2022-07-21T10:11:40.595Z] 370296b7ddb6: Verifying Checksum [2022-07-21T10:11:40.595Z] 370296b7ddb6: Download complete [2022-07-21T10:11:44.793Z] 370296b7ddb6: Pull complete [2022-07-21T10:11:44.793Z] 7c6cee850709: Pull complete [2022-07-21T10:11:44.793Z] 39a5fcdaea64: Pull complete [2022-07-21T10:11:44.793Z] d94ebbe4e438: Pull complete [2022-07-21T10:11:46.698Z] bcfd1f05c69d: Pull complete [2022-07-21T10:11:47.267Z] 59ccb84bbe0f: Pull complete [2022-07-21T10:11:47.267Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T10:11:47.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T10:11:47.267Z] ---> a4fb48ad2a94 [2022-07-21T10:11:47.267Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T10:11:49.178Z] ---> Running in 92d1b75005e7 [2022-07-21T10:11:49.178Z] Removing intermediate container 92d1b75005e7 [2022-07-21T10:11:49.178Z] ---> 2596ea0fd851 [2022-07-21T10:11:49.178Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:11:49.178Z] ---> Running in 2677d085b5c0 [2022-07-21T10:11:49.440Z] Removing intermediate container 2677d085b5c0 [2022-07-21T10:11:49.440Z] ---> d410d0b85f36 [2022-07-21T10:11:49.440Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:11:49.440Z] ---> Running in c3c5461f8c7b [2022-07-21T10:11:49.440Z] Removing intermediate container c3c5461f8c7b [2022-07-21T10:11:49.440Z] ---> 896824b8aa5b [2022-07-21T10:11:49.440Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:11:49.440Z] ---> Running in 8c52cf9fe50b [2022-07-21T10:11:49.700Z] Removing intermediate container 8c52cf9fe50b [2022-07-21T10:11:49.700Z] ---> d0c599933e3e [2022-07-21T10:11:49.700Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:11:49.700Z] ---> Running in ff655aa71e29 [2022-07-21T10:11:50.271Z] Removing intermediate container ff655aa71e29 [2022-07-21T10:11:50.271Z] ---> aa126d98f4e3 [2022-07-21T10:11:50.271Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:11:50.271Z] ---> Running in 6b45516cf543 [2022-07-21T10:11:50.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:11:51.472Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:11:51.731Z] OK: 211 MiB in 51 packages [2022-07-21T10:11:51.991Z] Removing intermediate container 6b45516cf543 [2022-07-21T10:11:51.991Z] ---> 54c95dc1f95b [2022-07-21T10:11:51.991Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T10:11:52.253Z] ---> Running in 0a98eccf5349 [2022-07-21T10:11:52.253Z] Removing intermediate container 0a98eccf5349 [2022-07-21T10:11:52.253Z] ---> 49ba9b35e62e [2022-07-21T10:11:52.253Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T10:11:52.515Z] ---> 1780945929c4 [2022-07-21T10:11:52.515Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:11:52.515Z] ---> Running in e802f68dd04d [2022-07-21T10:11:52.957Z] Still waiting to schedule task [2022-07-21T10:11:52.957Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20669’ is offline [2022-07-21T10:12:07.422Z] Removing intermediate container e802f68dd04d [2022-07-21T10:12:07.422Z] ---> d4f9810f0321 [2022-07-21T10:12:07.422Z] Step 12/13 : COPY . . [2022-07-21T10:12:07.422Z] ---> 5dcd859e3e64 [2022-07-21T10:12:07.422Z] Step 13/13 : RUN ${MAKE} [2022-07-21T10:12:07.422Z] ---> Running in dca5e388cd67 [2022-07-21T10:12:07.422Z] noop [2022-07-21T10:12:07.422Z] Removing intermediate container dca5e388cd67 [2022-07-21T10:12:07.422Z] ---> 39e2f9a99980 [2022-07-21T10:12:07.422Z] Successfully built 39e2f9a99980 [2022-07-21T10:12:07.422Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:12:07.743Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T10:12:07.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:12:07.823Z] prd-ubuntu20.04-docker-8c-8g-20668 does not seem to be running inside a container [2022-07-21T10:12:07.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T10:12:08.246Z] $ docker top 0dc244212220dfb8e3cf8135b8ffe02a29632872b7251ac334ca3cd3ee87b91a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:12:08.603Z] + go version [2022-07-21T10:12:08.603Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T10:12:08.619Z] $ docker stop --time=1 0dc244212220dfb8e3cf8135b8ffe02a29632872b7251ac334ca3cd3ee87b91a [2022-07-21T10:12:09.891Z] $ docker rm -f 0dc244212220dfb8e3cf8135b8ffe02a29632872b7251ac334ca3cd3ee87b91a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:12:10.316Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T10:12:10.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:12:10.407Z] prd-ubuntu20.04-docker-8c-8g-20668 does not seem to be running inside a container [2022-07-21T10:12:10.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T10:12:10.832Z] $ docker top 460c6b6d088815ca9c0dea11e205c73f32723385e045651910d479f2a0da8c13 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:12:11.269Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-07-21T10:12:11.584Z] + make test [2022-07-21T10:12:11.584Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T10:12:11.842Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T10:12:21.832Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T10:12:22.092Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 10.9% of statements [2022-07-21T10:12:22.092Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T10:12:26.285Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.414s coverage: 13.8% of statements [2022-07-21T10:12:32.852Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T10:12:36.140Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T10:12:36.140Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T10:12:36.140Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T10:12:36.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T10:12:36.741Z] $ docker stop --time=1 460c6b6d088815ca9c0dea11e205c73f32723385e045651910d479f2a0da8c13 [2022-07-21T10:12:38.707Z] $ docker rm -f 460c6b6d088815ca9c0dea11e205c73f32723385e045651910d479f2a0da8c13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:12:39.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T10:12:39.237Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T10:12:39.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T10:12:39.954Z] + ls -al . [2022-07-21T10:12:39.955Z] total 236 [2022-07-21T10:12:39.955Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 10:12 . [2022-07-21T10:12:39.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:11 .. [2022-07-21T10:12:39.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 10:12 .git [2022-07-21T10:12:39.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:11 .github [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 10:11 .gitignore [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 10:11 .golangci.yml [2022-07-21T10:12:39.955Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 10:11 .semver [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 10:11 Attribution.txt [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 10:11 CHANGELOG.md [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 10:11 Dockerfile [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 10:11 GOVERNANCE.md [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 10:11 Jenkinsfile [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 10:11 LICENSE [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 10:11 Makefile [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 10:11 OWNERS.md [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 10:11 README.md [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 10:11 VERSION [2022-07-21T10:12:39.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 10:11 bin [2022-07-21T10:12:39.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:11 cmd [2022-07-21T10:12:39.955Z] -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 10:12 coverage.out [2022-07-21T10:12:39.955Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 10:11 doc [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 10:11 go.mod [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 10:11 go.sum [2022-07-21T10:12:39.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:11 internal [2022-07-21T10:12:39.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:11 snap [2022-07-21T10:12:39.955Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:12:40.263Z] + 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=d2bce2b466cbb8642c4e025620d66efdc779a784 --label arch=amd64 --label version=0.0.0 . [2022-07-21T10:12:40.263Z] Sending build context to Docker daemon 20.04MB [2022-07-21T10:12:40.263Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:12:40.263Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T10:12:40.263Z] ---> 39e2f9a99980 [2022-07-21T10:12:40.263Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T10:12:40.523Z] ---> Running in 38de0b172b40 [2022-07-21T10:12:40.523Z] Removing intermediate container 38de0b172b40 [2022-07-21T10:12:40.523Z] ---> 83b40bb5c8bd [2022-07-21T10:12:40.523Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:12:40.523Z] ---> Running in a3b908164f59 [2022-07-21T10:12:40.783Z] Removing intermediate container a3b908164f59 [2022-07-21T10:12:40.783Z] ---> 87b8e4fa3f2a [2022-07-21T10:12:40.783Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:12:40.783Z] ---> Running in 70b2fe785f52 [2022-07-21T10:12:40.783Z] Removing intermediate container 70b2fe785f52 [2022-07-21T10:12:40.783Z] ---> 061dec806853 [2022-07-21T10:12:40.783Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:12:40.783Z] ---> Running in 770e0731c252 [2022-07-21T10:12:41.042Z] Removing intermediate container 770e0731c252 [2022-07-21T10:12:41.042Z] ---> 0816b32a6592 [2022-07-21T10:12:41.042Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:12:41.042Z] ---> Running in a94b3fec7022 [2022-07-21T10:12:41.611Z] Removing intermediate container a94b3fec7022 [2022-07-21T10:12:41.611Z] ---> c6348017cd1d [2022-07-21T10:12:41.611Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:12:41.611Z] ---> Running in d0bb97bf9903 [2022-07-21T10:12:41.872Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:12:42.816Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:12:43.076Z] OK: 211 MiB in 51 packages [2022-07-21T10:12:43.338Z] Removing intermediate container d0bb97bf9903 [2022-07-21T10:12:43.338Z] ---> d676484b698d [2022-07-21T10:12:43.338Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T10:12:43.338Z] ---> Running in 7e53533db41f [2022-07-21T10:12:43.607Z] Removing intermediate container 7e53533db41f [2022-07-21T10:12:43.607Z] ---> 3e8ca9d0c46f [2022-07-21T10:12:43.607Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T10:12:43.607Z] ---> 428a80fa9442 [2022-07-21T10:12:43.607Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:12:43.867Z] ---> Running in 9f8ad84e9afe [2022-07-21T10:12:44.438Z] Removing intermediate container 9f8ad84e9afe [2022-07-21T10:12:44.438Z] ---> f6af3ad33079 [2022-07-21T10:12:44.438Z] Step 12/26 : COPY . . [2022-07-21T10:12:45.008Z] ---> ac8ab35cbf59 [2022-07-21T10:12:45.008Z] Step 13/26 : RUN ${MAKE} [2022-07-21T10:12:45.008Z] ---> Running in b4ac69052787 [2022-07-21T10:12:45.267Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-21T10:13:07.214Z] Removing intermediate container b4ac69052787 [2022-07-21T10:13:07.214Z] ---> b310cb841eb3 [2022-07-21T10:13:07.214Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T10:13:07.214Z] 3.15: Pulling from library/alpine [2022-07-21T10:13:07.214Z] ab6db1bc80d0: Pulling fs layer [2022-07-21T10:13:07.214Z] ab6db1bc80d0: Verifying Checksum [2022-07-21T10:13:07.214Z] ab6db1bc80d0: Download complete [2022-07-21T10:13:07.474Z] ab6db1bc80d0: Pull complete [2022-07-21T10:13:07.474Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T10:13:07.474Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T10:13:07.474Z] ---> 2720e26172a0 [2022-07-21T10:13:07.474Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T10:13:07.474Z] ---> Running in 9c7426f719fb [2022-07-21T10:13:07.734Z] Removing intermediate container 9c7426f719fb [2022-07-21T10:13:07.734Z] ---> 0f81499e3a74 [2022-07-21T10:13:07.734Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T10:13:07.734Z] ---> Running in 428973f4dba1 [2022-07-21T10:13:07.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:13:07.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:13:08.254Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T10:13:08.255Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T10:13:08.255Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T10:13:08.255Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T10:13:08.255Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T10:13:08.255Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T10:13:08.255Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T10:13:08.255Z] OK: 8 MiB in 20 packages [2022-07-21T10:13:08.824Z] Removing intermediate container 428973f4dba1 [2022-07-21T10:13:08.824Z] ---> 461245d1d6e9 [2022-07-21T10:13:08.824Z] Step 17/26 : WORKDIR / [2022-07-21T10:13:08.824Z] ---> Running in b4557303e164 [2022-07-21T10:13:08.824Z] Removing intermediate container b4557303e164 [2022-07-21T10:13:08.824Z] ---> 363abd08151a [2022-07-21T10:13:08.824Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T10:13:09.395Z] ---> 4629758759fd [2022-07-21T10:13:09.395Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T10:13:09.656Z] ---> e5fa0fd0bac5 [2022-07-21T10:13:09.657Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T10:13:09.657Z] ---> 37dbdd74cdd6 [2022-07-21T10:13:09.657Z] Step 21/26 : EXPOSE 59984 [2022-07-21T10:13:09.917Z] ---> Running in 79885dd24231 [2022-07-21T10:13:09.917Z] Removing intermediate container 79885dd24231 [2022-07-21T10:13:09.917Z] ---> baa3c2bed83b [2022-07-21T10:13:09.917Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T10:13:09.917Z] ---> Running in 551be1d35b65 [2022-07-21T10:13:09.917Z] Removing intermediate container 551be1d35b65 [2022-07-21T10:13:09.917Z] ---> c6119e052a6a [2022-07-21T10:13:09.917Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T10:13:10.179Z] ---> Running in 9330f0ab1bde [2022-07-21T10:13:10.179Z] Removing intermediate container 9330f0ab1bde [2022-07-21T10:13:10.179Z] ---> 5f60893dc572 [2022-07-21T10:13:10.179Z] Step 24/26 : LABEL arch=amd64 [2022-07-21T10:13:10.179Z] ---> Running in ca9a1a9b44a7 [2022-07-21T10:13:10.179Z] Removing intermediate container ca9a1a9b44a7 [2022-07-21T10:13:10.179Z] ---> 5d4781718ff2 [2022-07-21T10:13:10.179Z] Step 25/26 : LABEL git_sha=d2bce2b466cbb8642c4e025620d66efdc779a784 [2022-07-21T10:13:10.439Z] ---> Running in 6fa03586e253 [2022-07-21T10:13:10.439Z] Removing intermediate container 6fa03586e253 [2022-07-21T10:13:10.439Z] ---> 751cedec1e7a [2022-07-21T10:13:10.439Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T10:13:10.439Z] ---> Running in 47dbf0226d6d [2022-07-21T10:13:10.439Z] Removing intermediate container 47dbf0226d6d [2022-07-21T10:13:10.439Z] ---> a424fcf5c9e6 [2022-07-21T10:13:10.439Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T10:13:10.439Z] Successfully built a424fcf5c9e6 [2022-07-21T10:13:10.439Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:13:10.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:13:10.884Z] [2022-07-21T10:13:10.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:13:11.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:13:11.187Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T10:13:11.187Z] 5eb5b503b376: Pulling fs layer [2022-07-21T10:13:11.187Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T10:13:11.187Z] ec43610c2a17: Pulling fs layer [2022-07-21T10:13:11.187Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T10:13:11.187Z] 33b1e0a273af: Pulling fs layer [2022-07-21T10:13:11.187Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T10:13:11.187Z] 2f39f015ded8: Pulling fs layer [2022-07-21T10:13:11.187Z] 5d3b04190fa2: Waiting [2022-07-21T10:13:11.187Z] 3a2ae6a8a46f: Waiting [2022-07-21T10:13:11.187Z] 33b1e0a273af: Waiting [2022-07-21T10:13:11.187Z] 2f39f015ded8: Waiting [2022-07-21T10:13:11.187Z] 5c69ac0246d0: Download complete [2022-07-21T10:13:11.187Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-21T10:13:11.187Z] 3a2ae6a8a46f: Download complete [2022-07-21T10:13:11.187Z] 33b1e0a273af: Verifying Checksum [2022-07-21T10:13:11.187Z] 33b1e0a273af: Download complete [2022-07-21T10:13:11.187Z] ec43610c2a17: Verifying Checksum [2022-07-21T10:13:11.187Z] ec43610c2a17: Download complete [2022-07-21T10:13:11.187Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T10:13:11.187Z] 5d3b04190fa2: Download complete [2022-07-21T10:13:11.449Z] 5eb5b503b376: Download complete [2022-07-21T10:13:12.018Z] 2f39f015ded8: Download complete [2022-07-21T10:13:12.590Z] 5eb5b503b376: Pull complete [2022-07-21T10:13:12.851Z] 5c69ac0246d0: Pull complete [2022-07-21T10:13:13.419Z] ec43610c2a17: Pull complete [2022-07-21T10:13:13.419Z] 3a2ae6a8a46f: Pull complete [2022-07-21T10:13:13.679Z] 33b1e0a273af: Pull complete [2022-07-21T10:13:13.679Z] 5d3b04190fa2: Pull complete [2022-07-21T10:13:18.958Z] 2f39f015ded8: Pull complete [2022-07-21T10:13:18.958Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T10:13:18.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:13:18.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:13:19.065Z] prd-ubuntu20.04-docker-8c-8g-20668 does not seem to be running inside a container [2022-07-21T10:13:19.112Z] $ 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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T10:13:20.758Z] $ docker top 7d47287ca1a4d12a54637f12dae3b55224ccfdd3f7519a0eecf244e81fbf9ea4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:13:21.153Z] ---> job-cost.sh [2022-07-21T10:13:21.153Z] lf-activate-venv: SKIPPING [2022-07-21T10:13:21.153Z] INFO: No Stack... [2022-07-21T10:13:21.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T10:13:21.987Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T10:13:22.285Z] + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv [2022-07-21T10:13:22.285Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T10:13:22.302Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [2022-07-21T10:13:22.311Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] did not exist. Created. [2022-07-21T10:13:22.311Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T10:13:22.620Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T10:13:22.645Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T10:13:22.651Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T10:13:22.676Z] $ docker stop --time=1 7d47287ca1a4d12a54637f12dae3b55224ccfdd3f7519a0eecf244e81fbf9ea4 [2022-07-21T10:13:23.837Z] $ docker rm -f 7d47287ca1a4d12a54637f12dae3b55224ccfdd3f7519a0eecf244e81fbf9ea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T10:15:16.290Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20672 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-07-21T10:15:16.303Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-07-21T10:15:16.350Z] Selected Git installation does not exist. Using Default [2022-07-21T10:15:16.350Z] The recommended git tool is: NONE [2022-07-21T10:15:24.128Z] using credential edgex-jenkins-ssh [2022-07-21T10:15:24.160Z] Cloning the remote Git repository [2022-07-21T10:15:24.323Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:15:24.537Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-07-21T10:15:24.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:15:24.725Z] > git --version # timeout=10 [2022-07-21T10:15:24.758Z] > git --version # 'git version 2.25.1' [2022-07-21T10:15:24.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:15:24.881Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T10:15:26.684Z] Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab [2022-07-21T10:15:26.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T10:15:26.122Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T10:15:26.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T10:15:26.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:15:26.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:15:26.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T10:15:26.710Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T10:15:26.743Z] > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 [2022-07-21T10:15:27.353Z] Merge succeeded, producing 4274e43918e5ce8c82e02e2becd2b77da7a4547c [2022-07-21T10:15:27.353Z] Checking out Revision 4274e43918e5ce8c82e02e2becd2b77da7a4547c (PR-100) [2022-07-21T10:15:26.929Z] > git remote # timeout=10 [2022-07-21T10:15:26.947Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T10:15:26.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:15:26.985Z] > git merge 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 [2022-07-21T10:15:27.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T10:15:27.364Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T10:15:27.390Z] > git checkout -f 4274e43918e5ce8c82e02e2becd2b77da7a4547c # timeout=10 [2022-07-21T10:15:31.901Z] Commit message: "Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD" [2022-07-21T10:15:31.931Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:15:32.817Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T10:15:32.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T10:15:32.818Z] Dload Upload Total Spent Left Speed [2022-07-21T10:15:32.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [2022-07-21T10:15:31.915Z] > git rev-list --no-walk 9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 # timeout=10 [Pipeline] sh [2022-07-21T10:15:33.690Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T10:15:34.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-07-21T10:15:34.044Z] sudo tee /etc/docker/daemon.new [2022-07-21T10:15:34.044Z] { [2022-07-21T10:15:34.044Z] "registry-mirrors": [ [2022-07-21T10:15:34.044Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T10:15:34.044Z] ], [2022-07-21T10:15:34.044Z] "bip": "10.250.0.254/24", [2022-07-21T10:15:34.044Z] "hosts": [ [2022-07-21T10:15:34.044Z] "tcp://0.0.0.0:5555", [2022-07-21T10:15:34.044Z] "unix:///var/run/docker.sock" [2022-07-21T10:15:34.044Z] ], [2022-07-21T10:15:34.044Z] "mtu": 1458, [2022-07-21T10:15:34.044Z] "selinux-enabled": true, [2022-07-21T10:15:34.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T10:15:34.044Z] } [Pipeline] sh [2022-07-21T10:15:34.409Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T10:15:34.753Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:15:53.125Z] provisioning config files... [2022-07-21T10:15:53.152Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config2171496577046711252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:15:53.519Z] ---> docker-login.sh [2022-07-21T10:15:53.519Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:15:54.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:15:54.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:15:54.731Z] Configure a credential helper to remove this warning. See [2022-07-21T10:15:54.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:15:54.731Z] [2022-07-21T10:15:54.731Z] Login Succeeded [2022-07-21T10:15:54.731Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:15:55.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:15:55.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:15:55.009Z] Configure a credential helper to remove this warning. See [2022-07-21T10:15:55.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:15:55.009Z] [2022-07-21T10:15:55.009Z] Login Succeeded [2022-07-21T10:15:55.009Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:15:55.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:15:55.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:15:55.616Z] Configure a credential helper to remove this warning. See [2022-07-21T10:15:55.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:15:55.616Z] [2022-07-21T10:15:55.616Z] Login Succeeded [2022-07-21T10:15:55.616Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:15:55.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:15:56.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:15:56.168Z] Configure a credential helper to remove this warning. See [2022-07-21T10:15:56.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:15:56.168Z] [2022-07-21T10:15:56.168Z] Login Succeeded [2022-07-21T10:15:56.168Z] docker.io [2022-07-21T10:15:56.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:15:57.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:15:57.044Z] Configure a credential helper to remove this warning. See [2022-07-21T10:15:57.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:15:57.044Z] [2022-07-21T10:15:57.044Z] Login Succeeded [2022-07-21T10:15:57.044Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:15:57.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T10:15:57.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:15:57.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:15:57.713Z] ========================================================= [2022-07-21T10:15:57.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T10:15:57.713Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:15:58.108Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-21T10:15:58.721Z] Sending build context to Docker daemon 13.62MB [2022-07-21T10:15:58.721Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:15:58.721Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T10:15:59.001Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T10:15:59.001Z] b3c136eddcbf: Pulling fs layer [2022-07-21T10:15:59.001Z] c0a3192eca97: Pulling fs layer [2022-07-21T10:15:59.001Z] a050256f5b6f: Pulling fs layer [2022-07-21T10:15:59.001Z] 656be50a0ddc: Pulling fs layer [2022-07-21T10:15:59.001Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T10:15:59.001Z] 46d945488cbd: Pulling fs layer [2022-07-21T10:15:59.001Z] 8a5474983e97: Pulling fs layer [2022-07-21T10:15:59.001Z] 329c88fbcd65: Pulling fs layer [2022-07-21T10:15:59.001Z] 46d945488cbd: Waiting [2022-07-21T10:15:59.001Z] 8a5474983e97: Waiting [2022-07-21T10:15:59.001Z] 329c88fbcd65: Waiting [2022-07-21T10:15:59.001Z] 656be50a0ddc: Waiting [2022-07-21T10:15:59.001Z] 2bbca73fdf42: Waiting [2022-07-21T10:15:59.001Z] a050256f5b6f: Verifying Checksum [2022-07-21T10:15:59.001Z] a050256f5b6f: Download complete [2022-07-21T10:15:59.001Z] c0a3192eca97: Verifying Checksum [2022-07-21T10:15:59.001Z] c0a3192eca97: Download complete [2022-07-21T10:15:59.001Z] 2bbca73fdf42: Verifying Checksum [2022-07-21T10:15:59.001Z] 2bbca73fdf42: Download complete [2022-07-21T10:15:59.001Z] 46d945488cbd: Verifying Checksum [2022-07-21T10:15:59.001Z] 46d945488cbd: Download complete [2022-07-21T10:15:59.001Z] b3c136eddcbf: Verifying Checksum [2022-07-21T10:15:59.001Z] b3c136eddcbf: Download complete [2022-07-21T10:16:00.009Z] b3c136eddcbf: Pull complete [2022-07-21T10:16:00.289Z] 329c88fbcd65: Verifying Checksum [2022-07-21T10:16:00.289Z] 329c88fbcd65: Download complete [2022-07-21T10:16:00.574Z] c0a3192eca97: Pull complete [2022-07-21T10:16:01.186Z] a050256f5b6f: Pull complete [2022-07-21T10:16:01.461Z] 8a5474983e97: Verifying Checksum [2022-07-21T10:16:01.461Z] 8a5474983e97: Download complete [2022-07-21T10:16:02.447Z] 656be50a0ddc: Verifying Checksum [2022-07-21T10:16:02.447Z] 656be50a0ddc: Download complete [2022-07-21T10:16:17.568Z] 656be50a0ddc: Pull complete [2022-07-21T10:16:17.568Z] 2bbca73fdf42: Pull complete [2022-07-21T10:16:17.568Z] 46d945488cbd: Pull complete [2022-07-21T10:16:21.909Z] 8a5474983e97: Pull complete [2022-07-21T10:16:24.555Z] 329c88fbcd65: Pull complete [2022-07-21T10:16:24.555Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T10:16:24.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T10:16:24.555Z] ---> ff4287adb874 [2022-07-21T10:16:24.555Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T10:16:26.551Z] ---> Running in e9791f2d7d36 [2022-07-21T10:16:27.541Z] Removing intermediate container e9791f2d7d36 [2022-07-21T10:16:27.541Z] ---> 143cef7a73e5 [2022-07-21T10:16:27.541Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:16:27.820Z] ---> Running in 1e7cbf253540 [2022-07-21T10:16:28.097Z] Removing intermediate container 1e7cbf253540 [2022-07-21T10:16:28.097Z] ---> 66c98abe7286 [2022-07-21T10:16:28.097Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:16:28.097Z] ---> Running in dfa741da1ab5 [2022-07-21T10:16:28.373Z] Removing intermediate container dfa741da1ab5 [2022-07-21T10:16:28.373Z] ---> fcf5e2987b94 [2022-07-21T10:16:28.373Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:16:28.647Z] ---> Running in a89df156fc71 [2022-07-21T10:16:28.921Z] Removing intermediate container a89df156fc71 [2022-07-21T10:16:28.921Z] ---> 3606d49a5036 [2022-07-21T10:16:28.921Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:16:28.921Z] ---> Running in a738ae794ecf [2022-07-21T10:16:30.911Z] Removing intermediate container a738ae794ecf [2022-07-21T10:16:30.911Z] ---> 42672e447b1e [2022-07-21T10:16:30.911Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:16:30.911Z] ---> Running in a82e361a7d1e [2022-07-21T10:16:31.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:16:32.884Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:16:33.863Z] OK: 221 MiB in 51 packages [2022-07-21T10:16:34.843Z] Removing intermediate container a82e361a7d1e [2022-07-21T10:16:34.843Z] ---> fca7b34d9250 [2022-07-21T10:16:34.843Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T10:16:34.843Z] ---> Running in 5c393b2e68d9 [2022-07-21T10:16:35.129Z] Removing intermediate container 5c393b2e68d9 [2022-07-21T10:16:35.129Z] ---> 919646a04cee [2022-07-21T10:16:35.129Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T10:16:35.403Z] ---> 3d8e25420520 [2022-07-21T10:16:35.403Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:16:35.694Z] ---> Running in 54a8935c0aef [2022-07-21T10:17:22.673Z] Removing intermediate container 54a8935c0aef [2022-07-21T10:17:22.673Z] ---> 832a2f265291 [2022-07-21T10:17:22.673Z] Step 12/13 : COPY . . [2022-07-21T10:17:22.673Z] ---> 45d0c643b1c7 [2022-07-21T10:17:22.673Z] Step 13/13 : RUN ${MAKE} [2022-07-21T10:17:22.673Z] ---> Running in 80c63c0c9ea2 [2022-07-21T10:17:22.673Z] noop [2022-07-21T10:17:22.944Z] Removing intermediate container 80c63c0c9ea2 [2022-07-21T10:17:22.944Z] ---> acab1094ebe9 [2022-07-21T10:17:22.944Z] Successfully built acab1094ebe9 [2022-07-21T10:17:22.944Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:17:23.311Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T10:17:23.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:17:23.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-20672 does not seem to be running inside a container [2022-07-21T10:17:23.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-21T10:17:24.929Z] $ docker top 4ed38130d41b409c27db7967fd9d39fb0b826cbbf50e53b46069f03ba03acac0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:17:25.844Z] + go version [2022-07-21T10:17:25.845Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T10:17:25.877Z] $ docker stop --time=1 4ed38130d41b409c27db7967fd9d39fb0b826cbbf50e53b46069f03ba03acac0 [2022-07-21T10:17:27.541Z] $ docker rm -f 4ed38130d41b409c27db7967fd9d39fb0b826cbbf50e53b46069f03ba03acac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:17:28.141Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T10:17:28.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:17:28.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-20672 does not seem to be running inside a container [2022-07-21T10:17:28.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-21T10:17:29.754Z] $ docker top 5db26d3953287c9feeb281153b2667ba92be2fc5776668d3b9414f4940fa6803 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:17:30.669Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2022-07-21T10:17:31.356Z] + make test [2022-07-21T10:17:31.356Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T10:17:33.336Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T10:19:10.217Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T10:19:10.218Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.113s coverage: 10.9% of statements [2022-07-21T10:19:10.218Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T10:19:28.526Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.180s coverage: 13.8% of statements [2022-07-21T10:19:28.527Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T10:19:28.527Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T10:19:50.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T10:19:50.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T10:19:50.748Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T10:19:54.156Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T10:19:54.180Z] $ docker stop --time=1 5db26d3953287c9feeb281153b2667ba92be2fc5776668d3b9414f4940fa6803 [2022-07-21T10:19:55.978Z] $ docker rm -f 5db26d3953287c9feeb281153b2667ba92be2fc5776668d3b9414f4940fa6803 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:19:57.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T10:19:57.027Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T10:19:57.606Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:19:57.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T10:19:58.334Z] + ls -al . [2022-07-21T10:19:58.334Z] total 232 [2022-07-21T10:19:58.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 10:19 . [2022-07-21T10:19:58.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:15 .. [2022-07-21T10:19:58.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 10:15 .git [2022-07-21T10:19:58.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:15 .github [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 10:15 .gitignore [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 10:15 .golangci.yml [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 10:15 Attribution.txt [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 10:15 CHANGELOG.md [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 10:15 Dockerfile [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 10:15 GOVERNANCE.md [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 10:15 Jenkinsfile [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 10:15 LICENSE [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 10:15 Makefile [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 10:15 OWNERS.md [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 10:15 README.md [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 10:11 VERSION [2022-07-21T10:19:58.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 10:15 bin [2022-07-21T10:19:58.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:15 cmd [2022-07-21T10:19:58.334Z] -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 10:19 coverage.out [2022-07-21T10:19:58.334Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 10:15 doc [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 10:15 go.mod [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 10:15 go.sum [2022-07-21T10:19:58.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:15 internal [2022-07-21T10:19:58.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:15 snap [2022-07-21T10:19:58.334Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 10:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:19:58.690Z] + 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=4274e43918e5ce8c82e02e2becd2b77da7a4547c --label arch=arm64 --label version=0.0.0 . [2022-07-21T10:19:59.288Z] Sending build context to Docker daemon 13.7MB [2022-07-21T10:19:59.288Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:19:59.288Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T10:19:59.288Z] ---> acab1094ebe9 [2022-07-21T10:19:59.288Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T10:19:59.288Z] ---> Running in 23788bc0412b [2022-07-21T10:19:59.884Z] Removing intermediate container 23788bc0412b [2022-07-21T10:19:59.884Z] ---> 956e9534dc80 [2022-07-21T10:19:59.884Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:19:59.884Z] ---> Running in 704acc887040 [2022-07-21T10:20:00.157Z] Removing intermediate container 704acc887040 [2022-07-21T10:20:00.157Z] ---> f3179ed19ade [2022-07-21T10:20:00.157Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:20:00.157Z] ---> Running in 4ecef1e7d3c2 [2022-07-21T10:20:00.444Z] Removing intermediate container 4ecef1e7d3c2 [2022-07-21T10:20:00.444Z] ---> 73577b94d315 [2022-07-21T10:20:00.444Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:20:00.444Z] ---> Running in c41d277817ed [2022-07-21T10:20:01.055Z] Removing intermediate container c41d277817ed [2022-07-21T10:20:01.055Z] ---> 4e8479a17a48 [2022-07-21T10:20:01.055Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:20:01.055Z] ---> Running in bce96d1bb939 [2022-07-21T10:20:03.062Z] Removing intermediate container bce96d1bb939 [2022-07-21T10:20:03.062Z] ---> a89b34f73e51 [2022-07-21T10:20:03.062Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:20:03.062Z] ---> Running in 8be5d541f5c1 [2022-07-21T10:20:03.663Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:20:04.644Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:20:05.626Z] OK: 221 MiB in 51 packages [2022-07-21T10:20:06.624Z] Removing intermediate container 8be5d541f5c1 [2022-07-21T10:20:06.624Z] ---> 4c107eb30471 [2022-07-21T10:20:06.624Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T10:20:06.624Z] ---> Running in bf473ea23449 [2022-07-21T10:20:07.232Z] Removing intermediate container bf473ea23449 [2022-07-21T10:20:07.232Z] ---> 8cd8e30a44c9 [2022-07-21T10:20:07.232Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T10:20:07.836Z] ---> 2d50bb4bcfa7 [2022-07-21T10:20:07.836Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:20:07.836Z] ---> Running in cc3038ac1eab [2022-07-21T10:20:09.837Z] Removing intermediate container cc3038ac1eab [2022-07-21T10:20:09.837Z] ---> 78856ef51bc3 [2022-07-21T10:20:09.837Z] Step 12/26 : COPY . . [2022-07-21T10:20:11.823Z] ---> fbf008c68ea1 [2022-07-21T10:20:11.823Z] Step 13/26 : RUN ${MAKE} [2022-07-21T10:20:11.823Z] ---> Running in 7904319c1e66 [2022-07-21T10:20:12.815Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-21T10:22:34.746Z] Removing intermediate container 7904319c1e66 [2022-07-21T10:22:34.746Z] ---> b6b72e9ed309 [2022-07-21T10:22:34.746Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T10:22:34.746Z] 3.15: Pulling from library/alpine [2022-07-21T10:22:34.746Z] e0295fd11fe2: Pulling fs layer [2022-07-21T10:22:34.746Z] e0295fd11fe2: Verifying Checksum [2022-07-21T10:22:34.746Z] e0295fd11fe2: Download complete [2022-07-21T10:22:34.746Z] e0295fd11fe2: Pull complete [2022-07-21T10:22:34.746Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T10:22:34.746Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T10:22:34.746Z] ---> 60f2846fe774 [2022-07-21T10:22:34.746Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T10:22:34.746Z] ---> Running in 438d29d34cc2 [2022-07-21T10:22:34.746Z] Removing intermediate container 438d29d34cc2 [2022-07-21T10:22:34.746Z] ---> 06d244899e8b [2022-07-21T10:22:34.746Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T10:22:34.746Z] ---> Running in 6b1b4aa2776c [2022-07-21T10:22:34.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:22:34.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:22:34.746Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T10:22:34.746Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T10:22:34.746Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T10:22:34.746Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T10:22:34.746Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T10:22:34.746Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T10:22:34.746Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T10:22:34.746Z] OK: 8 MiB in 20 packages [2022-07-21T10:22:34.746Z] Removing intermediate container 6b1b4aa2776c [2022-07-21T10:22:34.746Z] ---> 6254654b3a8f [2022-07-21T10:22:34.746Z] Step 17/26 : WORKDIR / [2022-07-21T10:22:34.746Z] ---> Running in 7ee30efd3f92 [2022-07-21T10:22:34.746Z] Removing intermediate container 7ee30efd3f92 [2022-07-21T10:22:34.746Z] ---> bbad3659c943 [2022-07-21T10:22:34.746Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T10:22:34.746Z] ---> 895fe643c5b3 [2022-07-21T10:22:34.746Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T10:22:34.746Z] ---> 3a4f28ce4481 [2022-07-21T10:22:34.746Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T10:22:34.746Z] ---> 9a0ab57cfed1 [2022-07-21T10:22:34.746Z] Step 21/26 : EXPOSE 59984 [2022-07-21T10:22:34.746Z] ---> Running in bdb2ee5e7281 [2022-07-21T10:22:34.746Z] Removing intermediate container bdb2ee5e7281 [2022-07-21T10:22:34.746Z] ---> e0fc8b0aa123 [2022-07-21T10:22:34.746Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T10:22:34.746Z] ---> Running in 4c212695ff66 [2022-07-21T10:22:34.746Z] Removing intermediate container 4c212695ff66 [2022-07-21T10:22:34.746Z] ---> 4ad1e32bae66 [2022-07-21T10:22:34.746Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T10:22:34.746Z] ---> Running in 82b9f37f1062 [2022-07-21T10:22:34.746Z] Removing intermediate container 82b9f37f1062 [2022-07-21T10:22:34.746Z] ---> e34ba7340ef1 [2022-07-21T10:22:34.746Z] Step 24/26 : LABEL arch=arm64 [2022-07-21T10:22:35.020Z] ---> Running in e024f47f8399 [2022-07-21T10:22:35.294Z] Removing intermediate container e024f47f8399 [2022-07-21T10:22:35.295Z] ---> 52f51441c07a [2022-07-21T10:22:35.295Z] Step 25/26 : LABEL git_sha=4274e43918e5ce8c82e02e2becd2b77da7a4547c [2022-07-21T10:22:35.295Z] ---> Running in 7f99a3e350be [2022-07-21T10:22:35.568Z] Removing intermediate container 7f99a3e350be [2022-07-21T10:22:35.568Z] ---> f40939c57f71 [2022-07-21T10:22:35.568Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T10:22:35.568Z] ---> Running in 5ab3f7db1125 [2022-07-21T10:22:35.841Z] Removing intermediate container 5ab3f7db1125 [2022-07-21T10:22:35.841Z] ---> 85ba51877482 [2022-07-21T10:22:35.841Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T10:22:36.114Z] Successfully built 85ba51877482 [2022-07-21T10:22:36.114Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:22:36.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:22:36.579Z] [2022-07-21T10:22:36.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:22:36.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:22:37.215Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T10:22:37.215Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T10:22:37.215Z] 04944245beec: Pulling fs layer [2022-07-21T10:22:37.215Z] 699f458cf7ca: Pulling fs layer [2022-07-21T10:22:37.215Z] 765212b225bb: Pulling fs layer [2022-07-21T10:22:37.215Z] f23df028b6ca: Pulling fs layer [2022-07-21T10:22:37.215Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T10:22:37.215Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T10:22:37.215Z] 765212b225bb: Waiting [2022-07-21T10:22:37.215Z] f23df028b6ca: Waiting [2022-07-21T10:22:37.215Z] d65c8cfc05b1: Waiting [2022-07-21T10:22:37.215Z] 2437ff75d9bd: Waiting [2022-07-21T10:22:37.215Z] 04944245beec: Verifying Checksum [2022-07-21T10:22:37.215Z] 04944245beec: Download complete [2022-07-21T10:22:37.215Z] 765212b225bb: Verifying Checksum [2022-07-21T10:22:37.215Z] 765212b225bb: Download complete [2022-07-21T10:22:37.215Z] f23df028b6ca: Verifying Checksum [2022-07-21T10:22:37.215Z] f23df028b6ca: Download complete [2022-07-21T10:22:37.215Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T10:22:37.215Z] d65c8cfc05b1: Download complete [2022-07-21T10:22:37.494Z] 699f458cf7ca: Verifying Checksum [2022-07-21T10:22:37.494Z] 699f458cf7ca: Download complete [2022-07-21T10:22:37.770Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T10:22:37.770Z] 8998bd30e6a1: Download complete [2022-07-21T10:22:40.404Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T10:22:40.404Z] 2437ff75d9bd: Download complete [2022-07-21T10:22:41.848Z] 8998bd30e6a1: Pull complete [2022-07-21T10:22:42.443Z] 04944245beec: Pull complete [2022-07-21T10:22:43.879Z] 699f458cf7ca: Pull complete [2022-07-21T10:22:44.155Z] 765212b225bb: Pull complete [2022-07-21T10:22:45.137Z] f23df028b6ca: Pull complete [2022-07-21T10:22:45.137Z] d65c8cfc05b1: Pull complete [2022-07-21T10:23:00.234Z] 2437ff75d9bd: Pull complete [2022-07-21T10:23:00.234Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T10:23:00.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:23:00.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:23:00.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-20672 does not seem to be running inside a container [2022-07-21T10:23:00.591Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-21T10:23:03.105Z] $ docker top 3d401a75726522faa4c2b14185e5422c6a3519b039fe6d21442a118c8961f194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:04.030Z] ---> job-cost.sh [2022-07-21T10:23:04.030Z] lf-activate-venv: SKIPPING [2022-07-21T10:23:04.030Z] INFO: No Stack... [2022-07-21T10:23:04.303Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T10:23:05.281Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T10:23:05.946Z] + cut -d, -f6 [2022-07-21T10:23:05.946Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [Pipeline] lock [2022-07-21T10:23:06.006Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [2022-07-21T10:23:06.015Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] did not exist. Created. [2022-07-21T10:23:06.015Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T10:23:06.681Z] /w/workspace/device-onvif-camera/9@tmp/durable-6e13b03d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T10:23:07.355Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T10:23:07.383Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T10:23:07.439Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T10:23:07.446Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T10:23:07.478Z] $ docker stop --time=1 3d401a75726522faa4c2b14185e5422c6a3519b039fe6d21442a118c8961f194 [2022-07-21T10:23:08.980Z] $ docker rm -f 3d401a75726522faa4c2b14185e5422c6a3519b039fe6d21442a118c8961f194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-21T10:23:09.386Z] provisioning config files... [2022-07-21T10:23:09.393Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config6804775309896008539tmp [Pipeline] { [Pipeline] sh [2022-07-21T10:23:09.690Z] + set +x [2022-07-21T10:23:09.690Z] + bash -s -- [2022-07-21T10:23:09.690Z] + curl -s https://codecov.io/bash [2022-07-21T10:23:09.690Z] [2022-07-21T10:23:09.690Z] _____ _ [2022-07-21T10:23:09.690Z] / ____| | | [2022-07-21T10:23:09.690Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T10:23:09.690Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T10:23:09.690Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T10:23:09.690Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T10:23:09.690Z] Bash-1.0.6 [2022-07-21T10:23:09.690Z] [2022-07-21T10:23:09.690Z] [2022-07-21T10:23:09.690Z] ==> git version 2.25.1 found [2022-07-21T10:23:09.690Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-21T10:23:09.690Z] Release-Date: 2020-01-08 [2022-07-21T10:23:09.690Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-21T10:23:09.690Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T10:23:09.690Z] ==> Jenkins CI detected. [2022-07-21T10:23:09.690Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-100 [2022-07-21T10:23:09.690Z] project root: . [2022-07-21T10:23:09.690Z] --> token set from env [2022-07-21T10:23:09.690Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T10:23:09.690Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T10:23:09.690Z] ==> Python coveragepy not found [2022-07-21T10:23:09.690Z] ==> Searching for coverage reports in: [2022-07-21T10:23:09.690Z] + . [2022-07-21T10:23:09.690Z] -> Found 1 reports [2022-07-21T10:23:09.690Z] ==> Detecting git/mercurial file structure [2022-07-21T10:23:09.690Z] ==> Reading reports [2022-07-21T10:23:09.690Z] + ./coverage.out bytes=78637 [2022-07-21T10:23:09.690Z] ==> Appending adjustments [2022-07-21T10:23:09.690Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T10:23:09.950Z] + Found adjustments [2022-07-21T10:23:09.950Z] ==> Gzipping contents [2022-07-21T10:23:09.950Z] 12K /tmp/codecov.i6OhXU.gz [2022-07-21T10:23:09.950Z] ==> Uploading reports [2022-07-21T10:23:09.950Z] url: https://codecov.io [2022-07-21T10:23:09.950Z] query: branch=PR-100&commit=d2bce2b466cbb8642c4e025620d66efdc779a784&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-21T10:23:09.950Z] -> Pinging Codecov [2022-07-21T10:23:09.950Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=d2bce2b466cbb8642c4e025620d66efdc779a784&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-21T10:23:10.212Z] -> Uploading to [2022-07-21T10:23:10.212Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/F29A59C45E3A92E06B3E522C9905F8EF/d2bce2b466cbb8642c4e025620d66efdc779a784/ef4af05a-1491-4291-8d18-1e2040c88579.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T102310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff7a17626354557d1bd27e0ee991647d8bea9e071491b1e5752ca1f147b0791c [2022-07-21T10:23:10.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T10:23:10.212Z] Dload Upload Total Spent Left Speed [2022-07-21T10:23:10.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10535 0 0 100 10535 0 51896 --:--:-- --:--:-- --:--:-- 51642 100 10535 0 0 100 10535 0 47669 --:--:-- --:--:-- --:--:-- 47454 [2022-07-21T10:23:10.473Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d2bce2b466cbb8642c4e025620d66efdc779a784 [Pipeline] } [2022-07-21T10:23:10.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-21T10:23:11.160Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] [2022-07-21T10:23:11.160Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-21T10:23:11.160Z] total 16 [2022-07-21T10:23:11.160Z] drwxr-xr-x 3 root root 4096 Jul 21 10:13 . [2022-07-21T10:23:11.160Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 10:13 .. [2022-07-21T10:23:11.160Z] drwxr-xr-x 2 root root 4096 Jul 21 10:13 cost [2022-07-21T10:23:11.160Z] -rw-r--r-- 1 root root 90 Jul 21 10:13 cost.csv [2022-07-21T10:23:11.160Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-21T10:23:11.160Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-21T10:23:11.160Z] total 16 [2022-07-21T10:23:11.160Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 10:13 . [2022-07-21T10:23:11.160Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 10:13 .. [2022-07-21T10:23:11.160Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 10:13 cost [2022-07-21T10:23:11.160Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 21 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:11.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:12.326Z] ---> package-listing.sh [2022-07-21T10:23:12.326Z] ++ facter osfamily [2022-07-21T10:23:12.326Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T10:23:12.587Z] + OS_FAMILY=debian [2022-07-21T10:23:12.587Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-100 [2022-07-21T10:23:12.587Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T10:23:12.587Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T10:23:12.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T10:23:12.587Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T10:23:12.587Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-21T10:23:12.587Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T10:23:12.587Z] + case "${OS_FAMILY}" in [2022-07-21T10:23:12.587Z] + dpkg -l [2022-07-21T10:23:12.587Z] + grep '^ii' [2022-07-21T10:23:12.587Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T10:23:12.587Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T10:23:12.587Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T10:23:12.587Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-21T10:23:12.587Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ [2022-07-21T10:23:12.587Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo [2022-07-21T10:23:12.611Z] 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-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T10:23:12.890Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:23:13.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:23:13.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:23:13.540Z] prd-ubuntu20.04-docker-8c-8g-20668 does not seem to be running inside a container [2022-07-21T10:23:13.576Z] $ 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-100/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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T10:23:13.861Z] $ docker top cf0354e77b624770ce6b9ef7f1fba991e5ad3343785c7fc31267588f93cd9299 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:23:14.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T10:23:14.511Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T10:23:14.799Z] + ls /var/log/sa-host [2022-07-21T10:23:14.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:23:14.859Z] provisioning config files... [2022-07-21T10:23:14.867Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config8732305090743638304tmp [Pipeline] { [Pipeline] echo [2022-07-21T10:23:14.882Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:15.165Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T10:23:15.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:15.498Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T10:23:15.508Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:15.793Z] ---> sudo-logs.sh [2022-07-21T10:23:15.793Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T10:23:15.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:16.116Z] ---> job-cost.sh [2022-07-21T10:23:16.116Z] lf-activate-venv: SKIPPING [2022-07-21T10:23:16.116Z] DEBUG: total: 0.2199999988079071 [2022-07-21T10:23:16.116Z] INFO: Retrieving Stack Cost... [2022-07-21T10:23:16.686Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T10:23:16.946Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T10:23:16.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:23:17.246Z] ---> logs-deploy.sh [2022-07-21T10:23:17.246Z] lf-activate-venv: SKIPPING [2022-07-21T10:23:17.246Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/9 [2022-07-21T10:23:17.246Z] INFO: archiving workspace using pattern(s): [2022-07-21T10:23:18.187Z] Archives upload complete. [2022-07-21T10:23:18.187Z] INFO: archiving logs to Nexus