Pull request #115 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from befa8a8e3c49f4cd3ef8534fdfe60a474f9429b9+61db847f3a653629f088db74e60b4b80a5f1cdc2 (c667feadc0bce4766ca905e58cc0b360efd3c5a6) 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-ssh13848423193663319533.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-ssh9619440072173254973.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-115/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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1771689743746216466.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-ssh10167120984772832590.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-115/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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2622144115602672943.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20732’ Running on prd-ubuntu20.04-docker-8c-8g-20744 in /w/workspace/undry_device-onvif-camera_PR-115 [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-115 # 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 61db847f3a653629f088db74e60b4b80a5f1cdc2 into PR head commit befa8a8e3c49f4cd3ef8534fdfe60a474f9429b9 Merge succeeded, producing 6cf2af8447cf6c8f28dee12591539b562ce6c974 Checking out Revision 6cf2af8447cf6c8f28dee12591539b562ce6c974 (PR-115) > 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f befa8a8e3c49f4cd3ef8534fdfe60a474f9429b9 # 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 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cf2af8447cf6c8f28dee12591539b562ce6c974 # timeout=10 Commit message: "Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-22T01:17:00.737Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 8a70e82783519e9ed28501b2f01ff7d5bf3115b9 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-22T01:17:00.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-22T01:17:00.822Z] ========================================================= [2022-07-22T01:17:00.822Z] EdgeX Global Pipelines Version Info [2022-07-22T01:17:00.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:17:01.616Z] ------------------- [2022-07-22T01:17:01.616Z] stable info: [2022-07-22T01:17:01.616Z] ------------------- [2022-07-22T01:17:01.616Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T01:17:01.616Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T01:17:01.616Z] Message: update stable to v1.0.238 [2022-07-22T01:17:02.191Z] ------------------- [2022-07-22T01:17:02.191Z] experimental info: [2022-07-22T01:17:02.191Z] ------------------- [2022-07-22T01:17:02.191Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T01:17:02.191Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T01:17:02.191Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-22T01:17:02.397Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-22T01:17:02.410Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-22T01:17:02.420Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-22T01:17:02.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-22T01:17:02.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-22T01:17:02.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-22T01:17:02.464Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-22T01:17:02.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-22T01:17:02.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-22T01:17:02.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-22T01:17:02.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-22T01:17:02.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-22T01:17:02.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-22T01:17:02.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-22T01:17:02.538Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T01:17:02.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T01:17:02.566Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T01:17:02.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T01:17:02.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-22T01:17:02.604Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-22T01:17:02.617Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-22T01:17:02.633Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-22T01:17:02.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-22T01:17:02.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-22T01:17:02.673Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-22T01:17:02.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-22T01:17:02.697Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-22T01:17:02.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-07-22T01:17:02.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-07-22T01:17:02.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-07-22T01:17:02.742Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cf2af8447cf6c8f28dee12591539b562ce6c974 [Pipeline] echo [2022-07-22T01:17:02.754Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cf2af8 [Pipeline] echo [2022-07-22T01:17:02.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:17:02.804Z] provisioning config files... [2022-07-22T01:17:02.818Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config8613852559436787547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:17:03.130Z] ---> docker-login.sh [2022-07-22T01:17:03.130Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:17:03.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:03.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:03.657Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:03.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:03.657Z] [2022-07-22T01:17:03.657Z] Login Succeeded [2022-07-22T01:17:03.657Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:17:03.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:03.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:03.928Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:03.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:03.928Z] [2022-07-22T01:17:03.928Z] Login Succeeded [2022-07-22T01:17:03.928Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:17:03.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:03.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:03.928Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:03.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:03.928Z] [2022-07-22T01:17:03.928Z] Login Succeeded [2022-07-22T01:17:03.928Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:17:04.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:04.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:04.189Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:04.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:04.189Z] [2022-07-22T01:17:04.189Z] Login Succeeded [2022-07-22T01:17:04.189Z] docker.io [2022-07-22T01:17:04.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:04.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:04.761Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:04.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:04.761Z] [2022-07-22T01:17:04.761Z] Login Succeeded [2022-07-22T01:17:04.761Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:17:04.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-22T01:17:05.136Z] + git rev-list -1 --merges 6cf2af8447cf6c8f28dee12591539b562ce6c974~1..6cf2af8447cf6c8f28dee12591539b562ce6c974 [Pipeline] echo [2022-07-22T01:17:05.165Z] -----------> git rev-list -1 --merges 6cf2af8447cf6c8f28dee12591539b562ce6c974~1..6cf2af8447cf6c8f28dee12591539b562ce6c974 6cf2af8447cf6c8f28dee12591539b562ce6c974 [2022-07-22T01:17:05.165Z] 6cf2af8447cf6c8f28dee12591539b562ce6c974 [false] [Pipeline] sh [2022-07-22T01:17:05.461Z] + git log --format=format:%s -1 6cf2af8447cf6c8f28dee12591539b562ce6c974 [Pipeline] echo [2022-07-22T01:17:05.477Z] ========================================================= [2022-07-22T01:17:05.477Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-22T01:17:05.477Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:17:05.815Z] + git log --format=format:%s -1 6cf2af8447cf6c8f28dee12591539b562ce6c974 [Pipeline] echo [2022-07-22T01:17:05.827Z] [semverPrep] GIT_COMMIT: 6cf2af8447cf6c8f28dee12591539b562ce6c974, Commit Message: Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD [Pipeline] echo [2022-07-22T01:17:05.839Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-22T01:17:06.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T01:17:06.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-22T01:17:06.210Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-22T01:17:06.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-22T01:17:06.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-22T01:17:06.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-22T01:17:06.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:17:06.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:17:06.648Z] [2022-07-22T01:17:06.648Z] 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-22T01:17:06.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:17:06.960Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-22T01:17:06.960Z] b85a868b505f: Pulling fs layer [2022-07-22T01:17:06.960Z] e2be974225ed: Pulling fs layer [2022-07-22T01:17:06.960Z] 339a4e72a1f5: Pulling fs layer [2022-07-22T01:17:06.960Z] 988bab9f4d93: Pulling fs layer [2022-07-22T01:17:06.960Z] 1469e6f7b9e6: Pulling fs layer [2022-07-22T01:17:06.960Z] eaf3925da568: Pulling fs layer [2022-07-22T01:17:06.960Z] bab4dde63d76: Pulling fs layer [2022-07-22T01:17:06.960Z] bde34c3a00c8: Pulling fs layer [2022-07-22T01:17:06.960Z] b352a97aabf1: Pulling fs layer [2022-07-22T01:17:06.960Z] 4872d77fe225: Pulling fs layer [2022-07-22T01:17:06.960Z] 5851b861e8e6: Pulling fs layer [2022-07-22T01:17:06.960Z] 988bab9f4d93: Waiting [2022-07-22T01:17:06.960Z] 1469e6f7b9e6: Waiting [2022-07-22T01:17:06.960Z] eaf3925da568: Waiting [2022-07-22T01:17:06.960Z] bab4dde63d76: Waiting [2022-07-22T01:17:06.960Z] b352a97aabf1: Waiting [2022-07-22T01:17:06.960Z] 4872d77fe225: Waiting [2022-07-22T01:17:06.960Z] bde34c3a00c8: Waiting [2022-07-22T01:17:06.960Z] 5851b861e8e6: Waiting [2022-07-22T01:17:06.960Z] e2be974225ed: Download complete [2022-07-22T01:17:06.960Z] 988bab9f4d93: Verifying Checksum [2022-07-22T01:17:06.960Z] 988bab9f4d93: Download complete [2022-07-22T01:17:07.221Z] 1469e6f7b9e6: Verifying Checksum [2022-07-22T01:17:07.221Z] 1469e6f7b9e6: Download complete [2022-07-22T01:17:07.221Z] eaf3925da568: Verifying Checksum [2022-07-22T01:17:07.221Z] eaf3925da568: Download complete [2022-07-22T01:17:07.221Z] 339a4e72a1f5: Verifying Checksum [2022-07-22T01:17:07.221Z] 339a4e72a1f5: Download complete [2022-07-22T01:17:07.221Z] bde34c3a00c8: Download complete [2022-07-22T01:17:07.221Z] b352a97aabf1: Download complete [2022-07-22T01:17:07.221Z] 4872d77fe225: Download complete [2022-07-22T01:17:07.221Z] 5851b861e8e6: Verifying Checksum [2022-07-22T01:17:07.221Z] 5851b861e8e6: Download complete [2022-07-22T01:17:07.221Z] b85a868b505f: Verifying Checksum [2022-07-22T01:17:07.221Z] b85a868b505f: Download complete [2022-07-22T01:17:07.483Z] bab4dde63d76: Verifying Checksum [2022-07-22T01:17:07.483Z] bab4dde63d76: Download complete [2022-07-22T01:17:08.872Z] b85a868b505f: Pull complete [2022-07-22T01:17:08.872Z] e2be974225ed: Pull complete [2022-07-22T01:17:09.444Z] 339a4e72a1f5: Pull complete [2022-07-22T01:17:09.444Z] 988bab9f4d93: Pull complete [2022-07-22T01:17:09.705Z] 1469e6f7b9e6: Pull complete [2022-07-22T01:17:09.705Z] eaf3925da568: Pull complete [2022-07-22T01:17:11.617Z] bab4dde63d76: Pull complete [2022-07-22T01:17:11.883Z] bde34c3a00c8: Pull complete [2022-07-22T01:17:11.883Z] b352a97aabf1: Pull complete [2022-07-22T01:17:12.145Z] 4872d77fe225: Pull complete [2022-07-22T01:17:12.145Z] 5851b861e8e6: Pull complete [2022-07-22T01:17:12.145Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-22T01:17:12.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T01:17:12.145Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:17:12.251Z] prd-ubuntu20.04-docker-8c-8g-20744 does not seem to be running inside a container [2022-07-22T01:17:12.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-devops/py-git-semver:0.1.4 cat [2022-07-22T01:17:13.700Z] $ docker top 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 -eo pid,comm [2022-07-22T01:17:13.769Z] 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-22T01:17:13.769Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T01:17:13.804Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:17:13.804Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:17:13.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:17:13.944Z] $ docker exec 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 ssh-agent [2022-07-22T01:17:14.074Z] SSH_AUTH_SOCK=/tmp/ssh-eUXDDbQEdgWw/agent.33 [2022-07-22T01:17:14.074Z] SSH_AGENT_PID=40 [2022-07-22T01:17:14.081Z] Running ssh-add (command line suppressed) [2022-07-22T01:17:14.202Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_935938406013939310.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_935938406013939310.key) [2022-07-22T01:17:14.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:17:14.513Z] + git tag --points-at HEAD [Pipeline] } [2022-07-22T01:17:14.535Z] $ docker exec --env ******** --env ******** 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 ssh-agent -k [2022-07-22T01:17:14.659Z] unset SSH_AUTH_SOCK; [2022-07-22T01:17:14.660Z] unset SSH_AGENT_PID; [2022-07-22T01:17:14.660Z] echo Agent pid 40 killed; [2022-07-22T01:17:14.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-22T01:17:14.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T01:17:14.699Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T01:17:14.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T01:17:14.836Z] $ docker exec 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 ssh-agent [2022-07-22T01:17:14.961Z] SSH_AUTH_SOCK=/tmp/ssh-kuaN7LTU8RFz/agent.75 [2022-07-22T01:17:14.961Z] SSH_AGENT_PID=82 [2022-07-22T01:17:14.968Z] Running ssh-add (command line suppressed) [2022-07-22T01:17:15.092Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_4743510609121616209.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_4743510609121616209.key) [2022-07-22T01:17:15.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T01:17:15.403Z] + git semver init [2022-07-22T01:17:15.665Z] 2022-07-22 01:17:15,635 [run_init] DEBUG init version:0.0.0 force:False [2022-07-22T01:17:15.665Z] 2022-07-22 01:17:15,636 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-22T01:17:15.665Z] 2022-07-22 01:17:15,637 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-22T01:17:15.665Z] 2022-07-22 01:17:15,637 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-115/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-115, universal_newlines=False, shell=None, istream=None) [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,363 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-115/.git/info/exclude [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,363 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 with force:False [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,364 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,368 [execute] INFO git cat-file --batch-check [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,375 [execute] INFO git cat-file --batch [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T01:17:16.608Z] 2022-07-22 01:17:16,380 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-22T01:17:16.608Z] 0.0.0 [Pipeline] } [2022-07-22T01:17:16.620Z] $ docker exec --env ******** --env ******** 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 ssh-agent -k [2022-07-22T01:17:16.733Z] unset SSH_AUTH_SOCK; [2022-07-22T01:17:16.733Z] unset SSH_AGENT_PID; [2022-07-22T01:17:16.733Z] echo Agent pid 82 killed; [2022-07-22T01:17:16.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T01:17:17.065Z] + git semver [Pipeline] } [2022-07-22T01:17:17.342Z] $ docker stop --time=1 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 [2022-07-22T01:17:18.665Z] $ docker rm -f 0e3b5fea916fa6bcb4e56c5e9879db173ccfc73f909eed624e210f52a27828b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:17:19.029Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-22T01:17:19.369Z] Stashed 1 file(s) [Pipeline] echo [2022-07-22T01:17:19.372Z] [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-22T01:17:19.501Z] provisioning config files... [2022-07-22T01:17:19.511Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config7555005463931383723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:17:19.812Z] ---> docker-login.sh [2022-07-22T01:17:19.812Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:17:19.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:19.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:19.812Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:19.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:19.812Z] [2022-07-22T01:17:19.812Z] Login Succeeded [2022-07-22T01:17:19.812Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:17:19.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:20.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:20.076Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:20.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:20.076Z] [2022-07-22T01:17:20.076Z] Login Succeeded [2022-07-22T01:17:20.076Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:17:20.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:20.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:20.076Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:20.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:20.076Z] [2022-07-22T01:17:20.076Z] Login Succeeded [2022-07-22T01:17:20.076Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:17:20.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:20.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:20.337Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:20.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:20.337Z] [2022-07-22T01:17:20.337Z] Login Succeeded [2022-07-22T01:17:20.337Z] docker.io [2022-07-22T01:17:20.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:17:20.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:17:20.597Z] Configure a credential helper to remove this warning. See [2022-07-22T01:17:20.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:17:20.597Z] [2022-07-22T01:17:20.597Z] Login Succeeded [2022-07-22T01:17:20.597Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:17:20.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T01:17:20.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:17:20.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:17:20.685Z] ========================================================= [2022-07-22T01:17:20.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-22T01:17:20.685Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:17:20.999Z] + 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-22T01:17:21.000Z] Sending build context to Docker daemon 20.05MB [2022-07-22T01:17:21.000Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:17:21.000Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T01:17:21.260Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-22T01:17:21.260Z] 2408cc74d12b: Pulling fs layer [2022-07-22T01:17:21.260Z] ea60b727a1ce: Pulling fs layer [2022-07-22T01:17:21.260Z] 30c4a7721957: Pulling fs layer [2022-07-22T01:17:21.260Z] 370296b7ddb6: Pulling fs layer [2022-07-22T01:17:21.260Z] 7c6cee850709: Pulling fs layer [2022-07-22T01:17:21.260Z] 39a5fcdaea64: Pulling fs layer [2022-07-22T01:17:21.260Z] d94ebbe4e438: Pulling fs layer [2022-07-22T01:17:21.260Z] bcfd1f05c69d: Pulling fs layer [2022-07-22T01:17:21.260Z] 59ccb84bbe0f: Pulling fs layer [2022-07-22T01:17:21.260Z] 39a5fcdaea64: Waiting [2022-07-22T01:17:21.260Z] bcfd1f05c69d: Waiting [2022-07-22T01:17:21.260Z] d94ebbe4e438: Waiting [2022-07-22T01:17:21.260Z] 370296b7ddb6: Waiting [2022-07-22T01:17:21.260Z] 7c6cee850709: Waiting [2022-07-22T01:17:21.260Z] 30c4a7721957: Verifying Checksum [2022-07-22T01:17:21.260Z] 30c4a7721957: Download complete [2022-07-22T01:17:21.260Z] ea60b727a1ce: Verifying Checksum [2022-07-22T01:17:21.260Z] ea60b727a1ce: Download complete [2022-07-22T01:17:21.260Z] 7c6cee850709: Verifying Checksum [2022-07-22T01:17:21.260Z] 7c6cee850709: Download complete [2022-07-22T01:17:21.260Z] 39a5fcdaea64: Download complete [2022-07-22T01:17:21.260Z] 2408cc74d12b: Verifying Checksum [2022-07-22T01:17:21.260Z] 2408cc74d12b: Download complete [2022-07-22T01:17:21.260Z] d94ebbe4e438: Download complete [2022-07-22T01:17:21.521Z] 2408cc74d12b: Pull complete [2022-07-22T01:17:21.522Z] ea60b727a1ce: Pull complete [2022-07-22T01:17:21.522Z] 30c4a7721957: Pull complete [2022-07-22T01:17:21.783Z] 59ccb84bbe0f: Verifying Checksum [2022-07-22T01:17:21.783Z] 59ccb84bbe0f: Download complete [2022-07-22T01:17:22.043Z] bcfd1f05c69d: Verifying Checksum [2022-07-22T01:17:22.043Z] bcfd1f05c69d: Download complete [2022-07-22T01:17:22.043Z] 370296b7ddb6: Verifying Checksum [2022-07-22T01:17:22.043Z] 370296b7ddb6: Download complete [2022-07-22T01:17:26.250Z] 370296b7ddb6: Pull complete [2022-07-22T01:17:26.250Z] 7c6cee850709: Pull complete [2022-07-22T01:17:26.250Z] 39a5fcdaea64: Pull complete [2022-07-22T01:17:26.250Z] d94ebbe4e438: Pull complete [2022-07-22T01:17:28.790Z] bcfd1f05c69d: Pull complete [2022-07-22T01:17:29.361Z] 59ccb84bbe0f: Pull complete [2022-07-22T01:17:29.361Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-22T01:17:29.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-22T01:17:29.361Z] ---> a4fb48ad2a94 [2022-07-22T01:17:29.361Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T01:17:31.276Z] ---> Running in 6903a735cdbb [2022-07-22T01:17:31.276Z] Removing intermediate container 6903a735cdbb [2022-07-22T01:17:31.276Z] ---> e6affbc02e3d [2022-07-22T01:17:31.276Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:17:31.276Z] ---> Running in c31a41c0d4a6 [2022-07-22T01:17:31.536Z] Removing intermediate container c31a41c0d4a6 [2022-07-22T01:17:31.536Z] ---> 512a08fbd818 [2022-07-22T01:17:31.536Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:17:31.536Z] ---> Running in 9c8bbe22aca1 [2022-07-22T01:17:31.536Z] Removing intermediate container 9c8bbe22aca1 [2022-07-22T01:17:31.537Z] ---> 8af61cb32893 [2022-07-22T01:17:31.537Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:17:31.537Z] ---> Running in 0c31bfc1929a [2022-07-22T01:17:31.797Z] Removing intermediate container 0c31bfc1929a [2022-07-22T01:17:31.797Z] ---> ccd9958f1742 [2022-07-22T01:17:31.797Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:17:31.797Z] ---> Running in 0f15328437f0 [2022-07-22T01:17:32.368Z] Removing intermediate container 0f15328437f0 [2022-07-22T01:17:32.368Z] ---> 7b8d073e7865 [2022-07-22T01:17:32.368Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:17:32.368Z] ---> Running in 77aeac45e0ad [2022-07-22T01:17:32.629Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:17:33.571Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:17:34.142Z] OK: 211 MiB in 51 packages [2022-07-22T01:17:34.402Z] Removing intermediate container 77aeac45e0ad [2022-07-22T01:17:34.402Z] ---> 9ba6576e08bb [2022-07-22T01:17:34.402Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T01:17:34.402Z] ---> Running in 58c5919c5df0 [2022-07-22T01:17:34.402Z] Removing intermediate container 58c5919c5df0 [2022-07-22T01:17:34.402Z] ---> 2cfceb8ca15c [2022-07-22T01:17:34.402Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T01:17:34.474Z] Still waiting to schedule task [2022-07-22T01:17:34.474Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20742’ [2022-07-22T01:17:34.662Z] ---> b26ff1aa9652 [2022-07-22T01:17:34.662Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:17:34.662Z] ---> Running in 48cf08f8204d [2022-07-22T01:17:52.795Z] Removing intermediate container 48cf08f8204d [2022-07-22T01:17:52.795Z] ---> 6336502c9257 [2022-07-22T01:17:52.795Z] Step 12/13 : COPY . . [2022-07-22T01:17:53.056Z] ---> 8d8480f8554f [2022-07-22T01:17:53.056Z] Step 13/13 : RUN ${MAKE} [2022-07-22T01:17:53.317Z] ---> Running in a15fe6d8f55b [2022-07-22T01:17:53.578Z] noop [2022-07-22T01:17:53.839Z] Removing intermediate container a15fe6d8f55b [2022-07-22T01:17:53.839Z] ---> a83ffc06bbc9 [2022-07-22T01:17:53.839Z] Successfully built a83ffc06bbc9 [2022-07-22T01:17:53.839Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:17:54.159Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T01:17:54.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:17:54.239Z] prd-ubuntu20.04-docker-8c-8g-20744 does not seem to be running inside a container [2022-07-22T01:17:54.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T01:17:54.711Z] $ docker top e169bd1f47bb3e2a14fc63d6412fc0c5f8d836909822093035f16ab824a898e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:17:55.099Z] + go version [2022-07-22T01:17:55.099Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-22T01:17:55.117Z] $ docker stop --time=1 e169bd1f47bb3e2a14fc63d6412fc0c5f8d836909822093035f16ab824a898e1 [2022-07-22T01:17:56.414Z] $ docker rm -f e169bd1f47bb3e2a14fc63d6412fc0c5f8d836909822093035f16ab824a898e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:17:56.837Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T01:17:56.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:17:56.919Z] prd-ubuntu20.04-docker-8c-8g-20744 does not seem to be running inside a container [2022-07-22T01:17:56.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T01:17:57.344Z] $ docker top 84e7d81d6790fca951c068f5ef695c8012200315b5acdb2712a51fe43ccbfb89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:17:57.694Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-07-22T01:17:57.994Z] + make test [2022-07-22T01:17:57.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T01:17:58.254Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T01:18:10.466Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T01:18:10.466Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 10.7% of statements [2022-07-22T01:18:10.466Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T01:18:13.771Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.843s coverage: 13.8% of statements [2022-07-22T01:18:21.892Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T01:18:24.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T01:18:24.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T01:18:24.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T01:18:25.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T01:18:25.406Z] $ docker stop --time=1 84e7d81d6790fca951c068f5ef695c8012200315b5acdb2712a51fe43ccbfb89 [2022-07-22T01:18:27.246Z] $ docker rm -f 84e7d81d6790fca951c068f5ef695c8012200315b5acdb2712a51fe43ccbfb89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:18:27.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T01:18:27.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-22T01:18:28.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T01:18:28.551Z] + ls -al . [2022-07-22T01:18:28.551Z] total 232 [2022-07-22T01:18:28.551Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:18 . [2022-07-22T01:18:28.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:16 .. [2022-07-22T01:18:28.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:18 .git [2022-07-22T01:18:28.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:16 .github [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:16 .gitignore [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:16 .golangci.yml [2022-07-22T01:18:28.551Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:17 .semver [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:16 Attribution.txt [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:16 CHANGELOG.md [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:16 Dockerfile [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:16 GOVERNANCE.md [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:16 Jenkinsfile [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:16 LICENSE [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:16 Makefile [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:16 OWNERS.md [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:16 README.md [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:17 VERSION [2022-07-22T01:18:28.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:16 bin [2022-07-22T01:18:28.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:16 cmd [2022-07-22T01:18:28.551Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:18 coverage.out [2022-07-22T01:18:28.551Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:16 doc [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:16 go.mod [2022-07-22T01:18:28.551Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:16 go.sum [2022-07-22T01:18:28.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:16 internal [2022-07-22T01:18:28.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:16 snap [2022-07-22T01:18:28.552Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:18:28.897Z] + 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=6cf2af8447cf6c8f28dee12591539b562ce6c974 --label arch=amd64 --label version=0.0.0 . [2022-07-22T01:18:28.897Z] Sending build context to Docker daemon 20.13MB [2022-07-22T01:18:28.897Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:18:28.897Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T01:18:28.897Z] ---> a83ffc06bbc9 [2022-07-22T01:18:28.897Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T01:18:29.157Z] ---> Running in 14ce8d86e7bc [2022-07-22T01:18:29.157Z] Removing intermediate container 14ce8d86e7bc [2022-07-22T01:18:29.157Z] ---> f7ee42703e2e [2022-07-22T01:18:29.157Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:18:29.157Z] ---> Running in 016e4aa07f07 [2022-07-22T01:18:29.427Z] Removing intermediate container 016e4aa07f07 [2022-07-22T01:18:29.427Z] ---> a9b57e635980 [2022-07-22T01:18:29.427Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:18:29.427Z] ---> Running in f383932866b8 [2022-07-22T01:18:29.427Z] Removing intermediate container f383932866b8 [2022-07-22T01:18:29.427Z] ---> 03a11414b074 [2022-07-22T01:18:29.427Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:18:29.427Z] ---> Running in adf0367740e3 [2022-07-22T01:18:29.687Z] Removing intermediate container adf0367740e3 [2022-07-22T01:18:29.687Z] ---> c2ad652342cd [2022-07-22T01:18:29.687Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:18:29.687Z] ---> Running in d8aa11893b2d [2022-07-22T01:18:30.258Z] Removing intermediate container d8aa11893b2d [2022-07-22T01:18:30.258Z] ---> 60a739e76239 [2022-07-22T01:18:30.258Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:18:30.258Z] ---> Running in 209055ea5dd4 [2022-07-22T01:18:30.518Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:18:31.473Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:18:31.733Z] OK: 211 MiB in 51 packages [2022-07-22T01:18:31.992Z] Removing intermediate container 209055ea5dd4 [2022-07-22T01:18:31.992Z] ---> b96f95df024a [2022-07-22T01:18:31.992Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T01:18:31.992Z] ---> Running in 9af7516f3476 [2022-07-22T01:18:32.253Z] Removing intermediate container 9af7516f3476 [2022-07-22T01:18:32.253Z] ---> 365571a41bf9 [2022-07-22T01:18:32.253Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T01:18:32.253Z] ---> aa17ef0229e8 [2022-07-22T01:18:32.253Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:18:32.514Z] ---> Running in 78935a540fd0 [2022-07-22T01:18:33.084Z] Removing intermediate container 78935a540fd0 [2022-07-22T01:18:33.085Z] ---> 23b2b72248b4 [2022-07-22T01:18:33.085Z] Step 12/26 : COPY . . [2022-07-22T01:18:33.656Z] ---> 0589c6c801b5 [2022-07-22T01:18:33.656Z] Step 13/26 : RUN ${MAKE} [2022-07-22T01:18:33.656Z] ---> Running in 005db96f0e3d [2022-07-22T01:18:33.916Z] 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-22T01:18:55.861Z] Removing intermediate container 005db96f0e3d [2022-07-22T01:18:55.861Z] ---> e134cc3750fc [2022-07-22T01:18:55.861Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T01:18:55.861Z] 3.15: Pulling from library/alpine [2022-07-22T01:18:55.861Z] ab6db1bc80d0: Pulling fs layer [2022-07-22T01:18:55.861Z] ab6db1bc80d0: Verifying Checksum [2022-07-22T01:18:55.861Z] ab6db1bc80d0: Download complete [2022-07-22T01:18:55.861Z] ab6db1bc80d0: Pull complete [2022-07-22T01:18:55.861Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T01:18:55.861Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T01:18:55.861Z] ---> 2720e26172a0 [2022-07-22T01:18:55.861Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T01:18:55.861Z] ---> Running in b742317c855e [2022-07-22T01:18:55.861Z] Removing intermediate container b742317c855e [2022-07-22T01:18:55.861Z] ---> b9591d20c148 [2022-07-22T01:18:55.861Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T01:18:55.861Z] ---> Running in d1d20af0e751 [2022-07-22T01:18:55.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-22T01:18:56.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-22T01:18:56.122Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T01:18:56.122Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T01:18:56.122Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T01:18:56.122Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T01:18:56.122Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T01:18:56.122Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T01:18:56.122Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T01:18:56.122Z] OK: 8 MiB in 20 packages [2022-07-22T01:18:56.697Z] Removing intermediate container d1d20af0e751 [2022-07-22T01:18:56.697Z] ---> 2cfb591581ae [2022-07-22T01:18:56.697Z] Step 17/26 : WORKDIR / [2022-07-22T01:18:56.697Z] ---> Running in 872634dcb5de [2022-07-22T01:18:56.697Z] Removing intermediate container 872634dcb5de [2022-07-22T01:18:56.697Z] ---> 36cffea0f091 [2022-07-22T01:18:56.697Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T01:18:57.265Z] ---> b1d8f832c6db [2022-07-22T01:18:57.265Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T01:18:57.524Z] ---> 4a2fa32ac144 [2022-07-22T01:18:57.524Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T01:18:57.524Z] ---> 6e470419c29d [2022-07-22T01:18:57.524Z] Step 21/26 : EXPOSE 59984 [2022-07-22T01:18:57.524Z] ---> Running in 305c3c25cfc1 [2022-07-22T01:18:57.784Z] Removing intermediate container 305c3c25cfc1 [2022-07-22T01:18:57.784Z] ---> 830a0ee60631 [2022-07-22T01:18:57.784Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T01:18:57.784Z] ---> Running in 4dc0a25b024f [2022-07-22T01:18:57.784Z] Removing intermediate container 4dc0a25b024f [2022-07-22T01:18:57.784Z] ---> 975f5e3aeebf [2022-07-22T01:18:57.784Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T01:18:57.784Z] ---> Running in 901cefc10883 [2022-07-22T01:18:58.044Z] Removing intermediate container 901cefc10883 [2022-07-22T01:18:58.044Z] ---> ad39cd74eab0 [2022-07-22T01:18:58.044Z] Step 24/26 : LABEL arch=amd64 [2022-07-22T01:18:58.044Z] ---> Running in cac2ace09db4 [2022-07-22T01:18:58.044Z] Removing intermediate container cac2ace09db4 [2022-07-22T01:18:58.044Z] ---> ab78422f2cad [2022-07-22T01:18:58.044Z] Step 25/26 : LABEL git_sha=6cf2af8447cf6c8f28dee12591539b562ce6c974 [2022-07-22T01:18:58.044Z] ---> Running in 79eb1ec53eef [2022-07-22T01:18:58.305Z] Removing intermediate container 79eb1ec53eef [2022-07-22T01:18:58.305Z] ---> ab6288be2480 [2022-07-22T01:18:58.305Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T01:18:58.305Z] ---> Running in 40d6e9376a49 [2022-07-22T01:18:58.305Z] Removing intermediate container 40d6e9376a49 [2022-07-22T01:18:58.305Z] ---> 4e556b3a3082 [2022-07-22T01:18:58.305Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T01:18:58.305Z] Successfully built 4e556b3a3082 [2022-07-22T01:18:58.305Z] 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-22T01:18:58.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:18:58.744Z] [2022-07-22T01:18:58.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:18:59.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:18:59.055Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-22T01:18:59.055Z] 5eb5b503b376: Pulling fs layer [2022-07-22T01:18:59.055Z] 5c69ac0246d0: Pulling fs layer [2022-07-22T01:18:59.055Z] ec43610c2a17: Pulling fs layer [2022-07-22T01:18:59.055Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-22T01:18:59.055Z] 33b1e0a273af: Pulling fs layer [2022-07-22T01:18:59.055Z] 5d3b04190fa2: Pulling fs layer [2022-07-22T01:18:59.055Z] 2f39f015ded8: Pulling fs layer [2022-07-22T01:18:59.055Z] 3a2ae6a8a46f: Waiting [2022-07-22T01:18:59.055Z] 33b1e0a273af: Waiting [2022-07-22T01:18:59.055Z] 5d3b04190fa2: Waiting [2022-07-22T01:18:59.055Z] 2f39f015ded8: Waiting [2022-07-22T01:18:59.055Z] 5c69ac0246d0: Verifying Checksum [2022-07-22T01:18:59.055Z] 5c69ac0246d0: Download complete [2022-07-22T01:18:59.055Z] 3a2ae6a8a46f: Download complete [2022-07-22T01:18:59.055Z] ec43610c2a17: Verifying Checksum [2022-07-22T01:18:59.055Z] ec43610c2a17: Download complete [2022-07-22T01:18:59.055Z] 33b1e0a273af: Verifying Checksum [2022-07-22T01:18:59.055Z] 33b1e0a273af: Download complete [2022-07-22T01:18:59.055Z] 5d3b04190fa2: Verifying Checksum [2022-07-22T01:18:59.055Z] 5d3b04190fa2: Download complete [2022-07-22T01:18:59.314Z] 5eb5b503b376: Verifying Checksum [2022-07-22T01:18:59.314Z] 5eb5b503b376: Download complete [2022-07-22T01:18:59.888Z] 2f39f015ded8: Download complete [2022-07-22T01:19:00.459Z] 5eb5b503b376: Pull complete [2022-07-22T01:19:00.459Z] 5c69ac0246d0: Pull complete [2022-07-22T01:19:01.029Z] ec43610c2a17: Pull complete [2022-07-22T01:19:01.029Z] 3a2ae6a8a46f: Pull complete [2022-07-22T01:19:01.291Z] 33b1e0a273af: Pull complete [2022-07-22T01:19:01.291Z] 5d3b04190fa2: Pull complete [2022-07-22T01:19:06.567Z] 2f39f015ded8: Pull complete [2022-07-22T01:19:06.567Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-22T01:19:06.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:19:06.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:19:06.668Z] prd-ubuntu20.04-docker-8c-8g-20744 does not seem to be running inside a container [2022-07-22T01:19:06.708Z] $ 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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T01:19:08.532Z] $ docker top 915821b47ffc7133504e83f87806635e02ec9a8f96d6a2f54e60cb57960bdabb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:19:08.939Z] ---> job-cost.sh [2022-07-22T01:19:08.939Z] lf-activate-venv: SKIPPING [2022-07-22T01:19:08.939Z] INFO: No Stack... [2022-07-22T01:19:09.512Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T01:19:09.786Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T01:19:10.130Z] + cat /w/workspace/undry_device-onvif-camera_PR-115/archives/cost.csv [2022-07-22T01:19:10.131Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T01:19:10.145Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [2022-07-22T01:19:10.152Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] did not exist. Created. [2022-07-22T01:19:10.153Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T01:19:10.462Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-22T01:19:10.493Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T01:19:10.503Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T01:19:10.525Z] $ docker stop --time=1 915821b47ffc7133504e83f87806635e02ec9a8f96d6a2f54e60cb57960bdabb [2022-07-22T01:19:11.696Z] $ docker rm -f 915821b47ffc7133504e83f87806635e02ec9a8f96d6a2f54e60cb57960bdabb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-22T01:21:10.158Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20745 in /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-07-22T01:21:10.172Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-07-22T01:21:10.212Z] Selected Git installation does not exist. Using Default [2022-07-22T01:21:10.212Z] The recommended git tool is: NONE [2022-07-22T01:21:17.616Z] using credential edgex-jenkins-ssh [2022-07-22T01:21:17.633Z] Cloning the remote Git repository [2022-07-22T01:21:17.687Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T01:21:17.780Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-07-22T01:21:17.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T01:21:17.857Z] > git --version # timeout=10 [2022-07-22T01:21:17.872Z] > git --version # 'git version 2.25.1' [2022-07-22T01:21:17.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T01:21:17.974Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T01:21:19.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T01:21:19.066Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T01:21:19.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T01:21:19.137Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T01:21:19.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T01:21:19.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-22T01:21:19.636Z] Merging remotes/origin/main commit 61db847f3a653629f088db74e60b4b80a5f1cdc2 into PR head commit befa8a8e3c49f4cd3ef8534fdfe60a474f9429b9 [2022-07-22T01:21:20.221Z] Merge succeeded, producing ecba3b32a76b2228d0163fa09f7e6bd782a9cc51 [2022-07-22T01:21:20.222Z] Checking out Revision ecba3b32a76b2228d0163fa09f7e6bd782a9cc51 (PR-115) [2022-07-22T01:21:19.657Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T01:21:19.682Z] > git checkout -f befa8a8e3c49f4cd3ef8534fdfe60a474f9429b9 # timeout=10 [2022-07-22T01:21:19.893Z] > git remote # timeout=10 [2022-07-22T01:21:19.911Z] > git config --get remote.origin.url # timeout=10 [2022-07-22T01:21:19.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T01:21:19.937Z] > git merge 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 [2022-07-22T01:21:20.199Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-22T01:21:20.230Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T01:21:20.241Z] > git checkout -f ecba3b32a76b2228d0163fa09f7e6bd782a9cc51 # timeout=10 [2022-07-22T01:21:24.392Z] Commit message: "Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD" [2022-07-22T01:21:24.415Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:21:25.345Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-22T01:21:25.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T01:21:25.345Z] Dload Upload Total Spent Left Speed [2022-07-22T01:21:25.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92721 [2022-07-22T01:21:24.403Z] > git rev-list --no-walk 8a70e82783519e9ed28501b2f01ff7d5bf3115b9 # timeout=10 [Pipeline] sh [2022-07-22T01:21:26.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-22T01:21:26.494Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-22T01:21:26.494Z] + sudo tee /etc/docker/daemon.new [2022-07-22T01:21:26.494Z] { [2022-07-22T01:21:26.494Z] "registry-mirrors": [ [2022-07-22T01:21:26.494Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-22T01:21:26.494Z] ], [2022-07-22T01:21:26.494Z] "bip": "10.250.0.254/24", [2022-07-22T01:21:26.494Z] "hosts": [ [2022-07-22T01:21:26.494Z] "tcp://0.0.0.0:5555", [2022-07-22T01:21:26.494Z] "unix:///var/run/docker.sock" [2022-07-22T01:21:26.494Z] ], [2022-07-22T01:21:26.494Z] "mtu": 1458, [2022-07-22T01:21:26.494Z] "selinux-enabled": true, [2022-07-22T01:21:26.494Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-22T01:21:26.494Z] } [Pipeline] sh [2022-07-22T01:21:26.848Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-22T01:21:27.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:21:45.538Z] provisioning config files... [2022-07-22T01:21:45.563Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config7512995663183104462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:21:45.925Z] ---> docker-login.sh [2022-07-22T01:21:45.926Z] nexus3.edgexfoundry.org:10001 [2022-07-22T01:21:46.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:21:46.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:21:46.797Z] Configure a credential helper to remove this warning. See [2022-07-22T01:21:46.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:21:46.797Z] [2022-07-22T01:21:46.797Z] Login Succeeded [2022-07-22T01:21:46.797Z] nexus3.edgexfoundry.org:10002 [2022-07-22T01:21:47.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:21:47.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:21:47.361Z] Configure a credential helper to remove this warning. See [2022-07-22T01:21:47.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:21:47.361Z] [2022-07-22T01:21:47.361Z] Login Succeeded [2022-07-22T01:21:47.361Z] nexus3.edgexfoundry.org:10003 [2022-07-22T01:21:47.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:21:47.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:21:47.639Z] Configure a credential helper to remove this warning. See [2022-07-22T01:21:47.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:21:47.639Z] [2022-07-22T01:21:47.639Z] Login Succeeded [2022-07-22T01:21:47.639Z] nexus3.edgexfoundry.org:10004 [2022-07-22T01:21:47.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:21:48.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:21:48.191Z] Configure a credential helper to remove this warning. See [2022-07-22T01:21:48.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:21:48.191Z] [2022-07-22T01:21:48.191Z] Login Succeeded [2022-07-22T01:21:48.191Z] docker.io [2022-07-22T01:21:48.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T01:21:49.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T01:21:49.063Z] Configure a credential helper to remove this warning. See [2022-07-22T01:21:49.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T01:21:49.063Z] [2022-07-22T01:21:49.063Z] Login Succeeded [2022-07-22T01:21:49.063Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T01:21:49.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T01:21:49.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:21:49.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T01:21:49.633Z] ========================================================= [2022-07-22T01:21:49.633Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-22T01:21:49.633Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:21:50.051Z] + 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-22T01:21:50.670Z] Sending build context to Docker daemon 13.7MB [2022-07-22T01:21:50.670Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:21:50.670Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T01:21:50.670Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-22T01:21:50.670Z] b3c136eddcbf: Pulling fs layer [2022-07-22T01:21:50.670Z] c0a3192eca97: Pulling fs layer [2022-07-22T01:21:50.670Z] a050256f5b6f: Pulling fs layer [2022-07-22T01:21:50.670Z] 656be50a0ddc: Pulling fs layer [2022-07-22T01:21:50.670Z] 2bbca73fdf42: Pulling fs layer [2022-07-22T01:21:50.670Z] 46d945488cbd: Pulling fs layer [2022-07-22T01:21:50.670Z] 8a5474983e97: Pulling fs layer [2022-07-22T01:21:50.670Z] 329c88fbcd65: Pulling fs layer [2022-07-22T01:21:50.670Z] 2bbca73fdf42: Waiting [2022-07-22T01:21:50.670Z] 46d945488cbd: Waiting [2022-07-22T01:21:50.670Z] 8a5474983e97: Waiting [2022-07-22T01:21:50.670Z] 656be50a0ddc: Waiting [2022-07-22T01:21:50.670Z] 329c88fbcd65: Waiting [2022-07-22T01:21:50.670Z] a050256f5b6f: Verifying Checksum [2022-07-22T01:21:50.670Z] a050256f5b6f: Download complete [2022-07-22T01:21:50.955Z] c0a3192eca97: Verifying Checksum [2022-07-22T01:21:50.955Z] c0a3192eca97: Download complete [2022-07-22T01:21:50.955Z] 2bbca73fdf42: Verifying Checksum [2022-07-22T01:21:50.955Z] 2bbca73fdf42: Download complete [2022-07-22T01:21:50.955Z] 46d945488cbd: Verifying Checksum [2022-07-22T01:21:50.955Z] 46d945488cbd: Download complete [2022-07-22T01:21:50.955Z] b3c136eddcbf: Download complete [2022-07-22T01:21:51.955Z] b3c136eddcbf: Pull complete [2022-07-22T01:21:51.955Z] 329c88fbcd65: Verifying Checksum [2022-07-22T01:21:51.955Z] 329c88fbcd65: Download complete [2022-07-22T01:21:52.562Z] c0a3192eca97: Pull complete [2022-07-22T01:21:52.839Z] a050256f5b6f: Pull complete [2022-07-22T01:21:53.114Z] 8a5474983e97: Verifying Checksum [2022-07-22T01:21:53.114Z] 8a5474983e97: Download complete [2022-07-22T01:21:53.710Z] 656be50a0ddc: Download complete [2022-07-22T01:22:08.816Z] 656be50a0ddc: Pull complete [2022-07-22T01:22:08.816Z] 2bbca73fdf42: Pull complete [2022-07-22T01:22:08.816Z] 46d945488cbd: Pull complete [2022-07-22T01:22:13.134Z] 8a5474983e97: Pull complete [2022-07-22T01:22:15.766Z] 329c88fbcd65: Pull complete [2022-07-22T01:22:15.766Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-22T01:22:15.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-22T01:22:15.766Z] ---> ff4287adb874 [2022-07-22T01:22:15.766Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T01:22:17.206Z] ---> Running in c61749e1b2ba [2022-07-22T01:22:17.479Z] Removing intermediate container c61749e1b2ba [2022-07-22T01:22:17.479Z] ---> 93fa0f10ad1b [2022-07-22T01:22:17.479Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:22:17.479Z] ---> Running in 0675d4e8260a [2022-07-22T01:22:18.077Z] Removing intermediate container 0675d4e8260a [2022-07-22T01:22:18.077Z] ---> ec6f27810956 [2022-07-22T01:22:18.077Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:22:18.077Z] ---> Running in b703b6010ff1 [2022-07-22T01:22:18.354Z] Removing intermediate container b703b6010ff1 [2022-07-22T01:22:18.354Z] ---> 6f8df0f70f11 [2022-07-22T01:22:18.354Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:22:18.633Z] ---> Running in 174d0c371ab4 [2022-07-22T01:22:19.610Z] Removing intermediate container 174d0c371ab4 [2022-07-22T01:22:19.610Z] ---> e7d6ba58465e [2022-07-22T01:22:19.610Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:22:19.610Z] ---> Running in 0937b1fc6fa2 [2022-07-22T01:22:21.625Z] Removing intermediate container 0937b1fc6fa2 [2022-07-22T01:22:21.625Z] ---> d54cb861a4ab [2022-07-22T01:22:21.625Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:22:21.625Z] ---> Running in 62f587c1d150 [2022-07-22T01:22:22.602Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:22:23.581Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:22:24.564Z] OK: 221 MiB in 51 packages [2022-07-22T01:22:25.181Z] Removing intermediate container 62f587c1d150 [2022-07-22T01:22:25.181Z] ---> dc5377e2ad3e [2022-07-22T01:22:25.181Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T01:22:25.181Z] ---> Running in beb7945fc38f [2022-07-22T01:22:25.456Z] Removing intermediate container beb7945fc38f [2022-07-22T01:22:25.456Z] ---> 43d043ecb4aa [2022-07-22T01:22:25.456Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T01:22:26.062Z] ---> e745b3ec5fd2 [2022-07-22T01:22:26.062Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:22:26.339Z] ---> Running in a1adcd516eda [2022-07-22T01:23:13.331Z] Removing intermediate container a1adcd516eda [2022-07-22T01:23:13.331Z] ---> c33ad9959c39 [2022-07-22T01:23:13.331Z] Step 12/13 : COPY . . [2022-07-22T01:23:13.932Z] ---> 36be8ec15022 [2022-07-22T01:23:13.932Z] Step 13/13 : RUN ${MAKE} [2022-07-22T01:23:13.932Z] ---> Running in 4c6da9f20b07 [2022-07-22T01:23:14.917Z] noop [2022-07-22T01:23:15.530Z] Removing intermediate container 4c6da9f20b07 [2022-07-22T01:23:15.530Z] ---> 28096f541501 [2022-07-22T01:23:15.530Z] Successfully built 28096f541501 [2022-07-22T01:23:15.530Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:23:15.904Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T01:23:15.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:23:16.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-20745 does not seem to be running inside a container [2022-07-22T01:23:16.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T01:23:17.550Z] $ docker top 0aa938c2949e6fe13567ec7c422f953c3bb4ca3ab374baff7dfa3356fd000c5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:23:18.469Z] + go version [2022-07-22T01:23:18.470Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-22T01:23:18.504Z] $ docker stop --time=1 0aa938c2949e6fe13567ec7c422f953c3bb4ca3ab374baff7dfa3356fd000c5d [2022-07-22T01:23:20.173Z] $ docker rm -f 0aa938c2949e6fe13567ec7c422f953c3bb4ca3ab374baff7dfa3356fd000c5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:23:20.826Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T01:23:20.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:23:21.078Z] prd-ubuntu20.04-docker-arm64-4c-16g-20745 does not seem to be running inside a container [2022-07-22T01:23:21.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T01:23:22.529Z] $ docker top befbcb0b175305290144617acb6892815fb876443ed04b3c1d6eceab972e3322 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:23:23.462Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-07-22T01:23:24.136Z] + make test [2022-07-22T01:23:24.136Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T01:23:26.132Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T01:25:03.006Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T01:25:03.006Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.109s coverage: 10.7% of statements [2022-07-22T01:25:03.006Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T01:25:25.199Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 32.878s coverage: 13.8% of statements [2022-07-22T01:25:25.199Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-22T01:25:25.199Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T01:25:47.413Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T01:25:47.413Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T01:25:47.413Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T01:25:50.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T01:25:50.081Z] $ docker stop --time=1 befbcb0b175305290144617acb6892815fb876443ed04b3c1d6eceab972e3322 [2022-07-22T01:25:51.839Z] $ docker rm -f befbcb0b175305290144617acb6892815fb876443ed04b3c1d6eceab972e3322 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T01:25:52.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T01:25:52.922Z] Warning: overwriting stash ‘coverage-report’ [2022-07-22T01:25:53.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T01:25:53.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T01:25:54.294Z] + ls -al . [2022-07-22T01:25:54.294Z] total 228 [2022-07-22T01:25:54.294Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 01:25 . [2022-07-22T01:25:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:21 .. [2022-07-22T01:25:54.294Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:21 .git [2022-07-22T01:25:54.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:21 .github [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:21 .gitignore [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:21 .golangci.yml [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:21 Attribution.txt [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:21 CHANGELOG.md [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:21 Dockerfile [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:21 GOVERNANCE.md [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:21 Jenkinsfile [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:21 LICENSE [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:21 Makefile [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:21 OWNERS.md [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:21 README.md [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:17 VERSION [2022-07-22T01:25:54.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:21 bin [2022-07-22T01:25:54.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:21 cmd [2022-07-22T01:25:54.294Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:25 coverage.out [2022-07-22T01:25:54.294Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:21 doc [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:21 go.mod [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:21 go.sum [2022-07-22T01:25:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:21 internal [2022-07-22T01:25:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:21 snap [2022-07-22T01:25:54.294Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:25:54.647Z] + 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=ecba3b32a76b2228d0163fa09f7e6bd782a9cc51 --label arch=arm64 --label version=0.0.0 . [2022-07-22T01:25:55.245Z] Sending build context to Docker daemon 13.78MB [2022-07-22T01:25:55.245Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T01:25:55.245Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T01:25:55.245Z] ---> 28096f541501 [2022-07-22T01:25:55.245Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T01:25:55.519Z] ---> Running in d760cf9a9529 [2022-07-22T01:25:55.804Z] Removing intermediate container d760cf9a9529 [2022-07-22T01:25:55.804Z] ---> 014645dddaac [2022-07-22T01:25:55.804Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T01:25:55.804Z] ---> Running in 3cca7f3ba11c [2022-07-22T01:25:56.078Z] Removing intermediate container 3cca7f3ba11c [2022-07-22T01:25:56.078Z] ---> 8eeca5dc9937 [2022-07-22T01:25:56.078Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T01:25:56.078Z] ---> Running in 8bd3dd56dce4 [2022-07-22T01:25:56.355Z] Removing intermediate container 8bd3dd56dce4 [2022-07-22T01:25:56.355Z] ---> 341bcebbec30 [2022-07-22T01:25:56.355Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T01:25:56.629Z] ---> Running in b1b076bdc4ec [2022-07-22T01:25:56.909Z] Removing intermediate container b1b076bdc4ec [2022-07-22T01:25:56.909Z] ---> a8ad7727d88f [2022-07-22T01:25:56.909Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T01:25:56.909Z] ---> Running in c25df83d841c [2022-07-22T01:25:58.904Z] Removing intermediate container c25df83d841c [2022-07-22T01:25:58.904Z] ---> 557d14e1f15c [2022-07-22T01:25:58.904Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T01:25:58.904Z] ---> Running in 5a82302fe4d7 [2022-07-22T01:25:59.884Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:26:00.482Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:26:01.464Z] OK: 221 MiB in 51 packages [2022-07-22T01:26:02.456Z] Removing intermediate container 5a82302fe4d7 [2022-07-22T01:26:02.456Z] ---> 34843acf5219 [2022-07-22T01:26:02.456Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T01:26:02.456Z] ---> Running in acb9f6f5210f [2022-07-22T01:26:02.731Z] Removing intermediate container acb9f6f5210f [2022-07-22T01:26:02.731Z] ---> 67e2161c9911 [2022-07-22T01:26:02.731Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T01:26:03.330Z] ---> 130a6e192db3 [2022-07-22T01:26:03.330Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T01:26:03.330Z] ---> Running in b7e9ecd3315c [2022-07-22T01:26:05.309Z] Removing intermediate container b7e9ecd3315c [2022-07-22T01:26:05.309Z] ---> f95d9fb684a7 [2022-07-22T01:26:05.309Z] Step 12/26 : COPY . . [2022-07-22T01:26:06.747Z] ---> 094029230a5d [2022-07-22T01:26:06.747Z] Step 13/26 : RUN ${MAKE} [2022-07-22T01:26:07.024Z] ---> Running in d01e63ada07b [2022-07-22T01:26:08.017Z] 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-22T01:28:29.956Z] Removing intermediate container d01e63ada07b [2022-07-22T01:28:29.956Z] ---> 7a6ed512a77b [2022-07-22T01:28:29.956Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T01:28:29.956Z] 3.15: Pulling from library/alpine [2022-07-22T01:28:29.956Z] e0295fd11fe2: Pulling fs layer [2022-07-22T01:28:29.956Z] e0295fd11fe2: Verifying Checksum [2022-07-22T01:28:29.956Z] e0295fd11fe2: Download complete [2022-07-22T01:28:29.956Z] e0295fd11fe2: Pull complete [2022-07-22T01:28:29.956Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T01:28:29.956Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T01:28:29.956Z] ---> 60f2846fe774 [2022-07-22T01:28:29.956Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T01:28:29.956Z] ---> Running in 67043a9870a3 [2022-07-22T01:28:29.956Z] Removing intermediate container 67043a9870a3 [2022-07-22T01:28:29.956Z] ---> 6e8806fd03d9 [2022-07-22T01:28:29.956Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T01:28:29.956Z] ---> Running in 4664a4dc600f [2022-07-22T01:28:29.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-22T01:28:29.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-22T01:28:29.956Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T01:28:29.956Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T01:28:29.956Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T01:28:29.956Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T01:28:29.956Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T01:28:29.956Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T01:28:29.956Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T01:28:29.956Z] OK: 8 MiB in 20 packages [2022-07-22T01:28:29.956Z] Removing intermediate container 4664a4dc600f [2022-07-22T01:28:29.956Z] ---> 041364134a13 [2022-07-22T01:28:29.956Z] Step 17/26 : WORKDIR / [2022-07-22T01:28:29.956Z] ---> Running in f83bffc4523c [2022-07-22T01:28:29.956Z] Removing intermediate container f83bffc4523c [2022-07-22T01:28:29.956Z] ---> a4f5369c91d0 [2022-07-22T01:28:29.956Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T01:28:29.956Z] ---> e276a23086df [2022-07-22T01:28:29.956Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T01:28:29.956Z] ---> 396f986a522b [2022-07-22T01:28:29.956Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T01:28:29.956Z] ---> 69f061094b3d [2022-07-22T01:28:29.956Z] Step 21/26 : EXPOSE 59984 [2022-07-22T01:28:29.956Z] ---> Running in 2d4d2694d418 [2022-07-22T01:28:29.956Z] Removing intermediate container 2d4d2694d418 [2022-07-22T01:28:29.956Z] ---> 85784e6d31d2 [2022-07-22T01:28:29.957Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T01:28:29.957Z] ---> Running in 0431da3b5cef [2022-07-22T01:28:29.957Z] Removing intermediate container 0431da3b5cef [2022-07-22T01:28:29.957Z] ---> d512b4ede0c8 [2022-07-22T01:28:29.957Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T01:28:29.957Z] ---> Running in a0bb1ea1fe38 [2022-07-22T01:28:29.957Z] Removing intermediate container a0bb1ea1fe38 [2022-07-22T01:28:29.957Z] ---> cee61183fb51 [2022-07-22T01:28:29.957Z] Step 24/26 : LABEL arch=arm64 [2022-07-22T01:28:29.957Z] ---> Running in 7fae6f367ba1 [2022-07-22T01:28:29.957Z] Removing intermediate container 7fae6f367ba1 [2022-07-22T01:28:29.957Z] ---> 9ed27b96d09d [2022-07-22T01:28:29.957Z] Step 25/26 : LABEL git_sha=ecba3b32a76b2228d0163fa09f7e6bd782a9cc51 [2022-07-22T01:28:29.957Z] ---> Running in dd2624dc68a8 [2022-07-22T01:28:29.957Z] Removing intermediate container dd2624dc68a8 [2022-07-22T01:28:29.957Z] ---> bdf1cd144551 [2022-07-22T01:28:29.957Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T01:28:29.957Z] ---> Running in b0d767d94ea0 [2022-07-22T01:28:29.957Z] Removing intermediate container b0d767d94ea0 [2022-07-22T01:28:29.957Z] ---> f75d0bad9471 [2022-07-22T01:28:29.957Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T01:28:29.957Z] Successfully built f75d0bad9471 [2022-07-22T01:28:29.957Z] 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-22T01:28:30.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:28:30.411Z] [2022-07-22T01:28:30.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:28:30.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:28:31.047Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-22T01:28:31.047Z] 8998bd30e6a1: Pulling fs layer [2022-07-22T01:28:31.047Z] 04944245beec: Pulling fs layer [2022-07-22T01:28:31.047Z] 699f458cf7ca: Pulling fs layer [2022-07-22T01:28:31.047Z] 765212b225bb: Pulling fs layer [2022-07-22T01:28:31.047Z] f23df028b6ca: Pulling fs layer [2022-07-22T01:28:31.047Z] d65c8cfc05b1: Pulling fs layer [2022-07-22T01:28:31.047Z] 2437ff75d9bd: Pulling fs layer [2022-07-22T01:28:31.047Z] 765212b225bb: Waiting [2022-07-22T01:28:31.047Z] f23df028b6ca: Waiting [2022-07-22T01:28:31.047Z] d65c8cfc05b1: Waiting [2022-07-22T01:28:31.047Z] 2437ff75d9bd: Waiting [2022-07-22T01:28:31.047Z] 04944245beec: Verifying Checksum [2022-07-22T01:28:31.047Z] 04944245beec: Download complete [2022-07-22T01:28:31.047Z] 765212b225bb: Verifying Checksum [2022-07-22T01:28:31.047Z] 765212b225bb: Download complete [2022-07-22T01:28:31.047Z] f23df028b6ca: Download complete [2022-07-22T01:28:31.047Z] d65c8cfc05b1: Verifying Checksum [2022-07-22T01:28:31.047Z] d65c8cfc05b1: Download complete [2022-07-22T01:28:31.326Z] 699f458cf7ca: Verifying Checksum [2022-07-22T01:28:31.326Z] 699f458cf7ca: Download complete [2022-07-22T01:28:31.601Z] 8998bd30e6a1: Verifying Checksum [2022-07-22T01:28:31.601Z] 8998bd30e6a1: Download complete [2022-07-22T01:28:34.261Z] 2437ff75d9bd: Verifying Checksum [2022-07-22T01:28:34.261Z] 2437ff75d9bd: Download complete [2022-07-22T01:28:36.250Z] 8998bd30e6a1: Pull complete [2022-07-22T01:28:36.529Z] 04944245beec: Pull complete [2022-07-22T01:28:37.975Z] 699f458cf7ca: Pull complete [2022-07-22T01:28:38.250Z] 765212b225bb: Pull complete [2022-07-22T01:28:38.848Z] f23df028b6ca: Pull complete [2022-07-22T01:28:39.120Z] d65c8cfc05b1: Pull complete [2022-07-22T01:28:54.217Z] 2437ff75d9bd: Pull complete [2022-07-22T01:28:54.217Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-22T01:28:54.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T01:28:54.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:28:54.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-20745 does not seem to be running inside a container [2022-07-22T01:28:54.563Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-22T01:28:57.068Z] $ docker top 6b09468be2b9b146c0019a77498991c5f9942c87e328705a92356d8808d6a501 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:28:57.953Z] ---> job-cost.sh [2022-07-22T01:28:57.953Z] lf-activate-venv: SKIPPING [2022-07-22T01:28:57.953Z] INFO: No Stack... [2022-07-22T01:28:58.226Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-22T01:28:59.196Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T01:28:59.851Z] + + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-07-22T01:28:59.851Z] cut -d, -f6 [Pipeline] lock [2022-07-22T01:28:59.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [2022-07-22T01:28:59.915Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] did not exist. Created. [2022-07-22T01:28:59.915Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T01:29:00.594Z] /w/workspace/device-onvif-camera/5@tmp/durable-8ed246c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-22T01:29:01.267Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-22T01:29:01.295Z] Warning: overwriting stash ‘stack-cost’ [2022-07-22T01:29:01.351Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T01:29:01.358Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T01:29:01.390Z] $ docker stop --time=1 6b09468be2b9b146c0019a77498991c5f9942c87e328705a92356d8808d6a501 [2022-07-22T01:29:02.850Z] $ docker rm -f 6b09468be2b9b146c0019a77498991c5f9942c87e328705a92356d8808d6a501 [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-22T01:29:03.301Z] provisioning config files... [2022-07-22T01:29:03.309Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config9074929672864503337tmp [Pipeline] { [Pipeline] sh [2022-07-22T01:29:03.601Z] + set +x [2022-07-22T01:29:03.601Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-07-22T01:29:03.601Z] [2022-07-22T01:29:03.601Z] [2022-07-22T01:29:03.601Z] _____ _ [2022-07-22T01:29:03.601Z] / ____| | | [2022-07-22T01:29:03.601Z] | | ___ __| | ___ ___ _____ __ [2022-07-22T01:29:03.601Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-22T01:29:03.601Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-22T01:29:03.601Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-22T01:29:03.601Z] Bash-1.0.6 [2022-07-22T01:29:03.601Z] [2022-07-22T01:29:03.602Z] [2022-07-22T01:29:03.602Z] ==> git version 2.25.1 found [2022-07-22T01:29:03.602Z] ==> 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-22T01:29:03.602Z] Release-Date: 2020-01-08 [2022-07-22T01:29:03.602Z] 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-22T01:29:03.602Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-22T01:29:03.602Z] ==> Jenkins CI detected. [2022-07-22T01:29:03.602Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-115 [2022-07-22T01:29:03.602Z] project root: . [2022-07-22T01:29:03.602Z] --> token set from env [2022-07-22T01:29:03.602Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-22T01:29:03.602Z] ==> Running gcov in . (disable via -X gcov) [2022-07-22T01:29:03.602Z] ==> Python coveragepy not found [2022-07-22T01:29:03.602Z] ==> Searching for coverage reports in: [2022-07-22T01:29:03.602Z] + . [2022-07-22T01:29:03.602Z] -> Found 1 reports [2022-07-22T01:29:03.602Z] ==> Detecting git/mercurial file structure [2022-07-22T01:29:03.602Z] ==> Reading reports [2022-07-22T01:29:03.867Z] + ./coverage.out bytes=76665 [2022-07-22T01:29:03.867Z] ==> Appending adjustments [2022-07-22T01:29:03.867Z] https://docs.codecov.io/docs/fixing-reports [2022-07-22T01:29:03.867Z] + Found adjustments [2022-07-22T01:29:03.867Z] ==> Gzipping contents [2022-07-22T01:29:03.867Z] 12K /tmp/codecov.8vuKpd.gz [2022-07-22T01:29:03.867Z] ==> Uploading reports [2022-07-22T01:29:03.867Z] url: https://codecov.io [2022-07-22T01:29:03.867Z] query: branch=PR-115&commit=6cf2af8447cf6c8f28dee12591539b562ce6c974&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-22T01:29:03.867Z] -> Pinging Codecov [2022-07-22T01:29:03.867Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-115&commit=6cf2af8447cf6c8f28dee12591539b562ce6c974&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-22T01:29:04.127Z] -> Uploading to [2022-07-22T01:29:04.127Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/6cf2af8447cf6c8f28dee12591539b562ce6c974/83cc2e37-fa65-4b62-a176-578ee28f31ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T012904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3317db802769bc4b3ad9f64b0a4f364f12551911745ea5bc23c10a255da8196f [2022-07-22T01:29:04.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T01:29:04.127Z] Dload Upload Total Spent Left Speed [2022-07-22T01:29:04.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10414 0 0 100 10414 0 43756 --:--:-- --:--:-- --:--:-- 43756 [2022-07-22T01:29:04.388Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/6cf2af8447cf6c8f28dee12591539b562ce6c974 [Pipeline] } [2022-07-22T01:29:04.396Z] 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-22T01:29:05.072Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-115/archives ] [2022-07-22T01:29:05.072Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T01:29:05.072Z] total 16 [2022-07-22T01:29:05.072Z] drwxr-xr-x 3 root root 4096 Jul 22 01:19 . [2022-07-22T01:29:05.072Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:19 .. [2022-07-22T01:29:05.072Z] drwxr-xr-x 2 root root 4096 Jul 22 01:19 cost [2022-07-22T01:29:05.072Z] -rw-r--r-- 1 root root 90 Jul 22 01:19 cost.csv [2022-07-22T01:29:05.072Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T01:29:05.072Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T01:29:05.072Z] total 16 [2022-07-22T01:29:05.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:19 . [2022-07-22T01:29:05.072Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:19 .. [2022-07-22T01:29:05.072Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 01:19 cost [2022-07-22T01:29:05.072Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 22 01:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:05.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:06.228Z] ---> package-listing.sh [2022-07-22T01:29:06.228Z] ++ facter osfamily [2022-07-22T01:29:06.228Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-22T01:29:06.489Z] + OS_FAMILY=debian [2022-07-22T01:29:06.489Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-115 [2022-07-22T01:29:06.489Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-22T01:29:06.489Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-22T01:29:06.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-22T01:29:06.489Z] + PACKAGES=/tmp/packages_start.txt [2022-07-22T01:29:06.489Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-22T01:29:06.489Z] + PACKAGES=/tmp/packages_end.txt [2022-07-22T01:29:06.489Z] + case "${OS_FAMILY}" in [2022-07-22T01:29:06.489Z] + dpkg -l [2022-07-22T01:29:06.489Z] + grep '^ii' [2022-07-22T01:29:06.489Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-22T01:29:06.489Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-22T01:29:06.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-22T01:29:06.489Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-22T01:29:06.489Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-115/archives/ [2022-07-22T01:29:06.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-115/archives/ [Pipeline] echo [2022-07-22T01:29:06.501Z] 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-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-22T01:29:06.783Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T01:29:07.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T01:29:07.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T01:29:07.436Z] prd-ubuntu20.04-docker-8c-8g-20744 does not seem to be running inside a container [2022-07-22T01:29:07.477Z] $ 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-115/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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T01:29:07.713Z] $ docker top e2fc28cf2c34a59351059574f311f1dd7988599a0a3096bfe37acff758688357 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T01:29:08.069Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-22T01:29:08.358Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-22T01:29:08.642Z] + ls /var/log/sa-host [2022-07-22T01:29:08.642Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T01:29:08.769Z] provisioning config files... [2022-07-22T01:29:08.777Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config2365344732123667376tmp [Pipeline] { [Pipeline] echo [2022-07-22T01:29:08.789Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:09.074Z] ---> create-netrc.sh [Pipeline] } [2022-07-22T01:29:09.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:09.413Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-22T01:29:09.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:09.708Z] ---> sudo-logs.sh [2022-07-22T01:29:09.708Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-22T01:29:09.739Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:10.027Z] ---> job-cost.sh [2022-07-22T01:29:10.027Z] lf-activate-venv: SKIPPING [2022-07-22T01:29:10.027Z] DEBUG: total: 0.2199999988079071 [2022-07-22T01:29:10.027Z] INFO: Retrieving Stack Cost... [2022-07-22T01:29:10.599Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T01:29:10.860Z] INFO: Archiving Costs [Pipeline] echo [2022-07-22T01:29:10.872Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T01:29:11.156Z] ---> logs-deploy.sh [2022-07-22T01:29:11.156Z] lf-activate-venv: SKIPPING [2022-07-22T01:29:11.156Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-115/5 [2022-07-22T01:29:11.156Z] INFO: archiving workspace using pattern(s): [2022-07-22T01:29:12.098Z] Archives upload complete. [2022-07-22T01:29:12.098Z] INFO: archiving logs to Nexus