Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ec509adb15beeff9c635c67ee84ed92878cfab+e27dca9baa08924a505fef6c64e81931b1c2a574 (96c1dcd68034adc8dc8d3a8cc2d91961d1acaf10) 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-ssh16747229381391405318.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-ssh8092539519998420376.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18033107249837438521.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-ssh5902276148667945638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4046463523285719412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20477 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-100 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab Merge succeeded, producing 2f30201d05cab50f648b01fd43d4ce7e7a560d7e Checking out Revision 2f30201d05cab50f648b01fd43d4ce7e7a560d7e (PR-100) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f30201d05cab50f648b01fd43d4ce7e7a560d7e # timeout=10 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-19T10:10:22.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-19T10:10:22.408Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-19T10:10:22.433Z] ========================================================= [2022-07-19T10:10:22.434Z] EdgeX Global Pipelines Version Info [2022-07-19T10:10:22.434Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c6510214aec8bac0e4d36f3874262cc1579d55f0 # timeout=10 [2022-07-19T10:10:23.207Z] ------------------- [2022-07-19T10:10:23.207Z] stable info: [2022-07-19T10:10:23.207Z] ------------------- [2022-07-19T10:10:23.207Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T10:10:23.207Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T10:10:23.207Z] Message: update stable to v1.0.238 [2022-07-19T10:10:23.790Z] ------------------- [2022-07-19T10:10:23.791Z] experimental info: [2022-07-19T10:10:23.791Z] ------------------- [2022-07-19T10:10:23.791Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T10:10:23.791Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T10:10:23.791Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-19T10:10:23.996Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-19T10:10:24.012Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-19T10:10:24.029Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-19T10:10:24.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-19T10:10:24.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-19T10:10:24.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-19T10:10:24.100Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-19T10:10:24.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-19T10:10:24.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-19T10:10:24.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-19T10:10:24.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-19T10:10:24.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-19T10:10:24.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-19T10:10:24.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-19T10:10:24.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T10:10:24.228Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T10:10:24.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T10:10:24.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T10:10:24.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-19T10:10:24.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-19T10:10:24.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-19T10:10:24.321Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-19T10:10:24.332Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-19T10:10:24.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-19T10:10:24.355Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-19T10:10:24.367Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-19T10:10:24.378Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-19T10:10:24.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-07-19T10:10:24.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-07-19T10:10:24.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-07-19T10:10:24.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo [2022-07-19T10:10:24.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f30201 [Pipeline] echo [2022-07-19T10:10:24.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:10:24.493Z] provisioning config files... [2022-07-19T10:10:24.514Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config639666427259551422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:10:24.818Z] ---> docker-login.sh [2022-07-19T10:10:24.818Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:10:25.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:25.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:25.343Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:25.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:25.343Z] [2022-07-19T10:10:25.343Z] Login Succeeded [2022-07-19T10:10:25.343Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:10:25.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:25.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:25.606Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:25.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:25.606Z] [2022-07-19T10:10:25.606Z] Login Succeeded [2022-07-19T10:10:25.606Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:10:25.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:25.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:25.606Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:25.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:25.606Z] [2022-07-19T10:10:25.606Z] Login Succeeded [2022-07-19T10:10:25.606Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:10:25.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:25.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:25.868Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:25.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:25.868Z] [2022-07-19T10:10:25.868Z] Login Succeeded [2022-07-19T10:10:25.868Z] docker.io [2022-07-19T10:10:25.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:26.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:26.132Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:26.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:26.132Z] [2022-07-19T10:10:26.132Z] Login Succeeded [2022-07-19T10:10:26.132Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:10:26.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-19T10:10:26.510Z] + git rev-list -1 --merges 2f30201d05cab50f648b01fd43d4ce7e7a560d7e~1..2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo [2022-07-19T10:10:26.675Z] -----------> git rev-list -1 --merges 2f30201d05cab50f648b01fd43d4ce7e7a560d7e~1..2f30201d05cab50f648b01fd43d4ce7e7a560d7e 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [2022-07-19T10:10:26.675Z] 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [false] [Pipeline] sh [2022-07-19T10:10:26.969Z] + git log --format=format:%s -1 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo [2022-07-19T10:10:26.987Z] ========================================================= [2022-07-19T10:10:26.987Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-19T10:10:26.987Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:10:27.338Z] + git log --format=format:%s -1 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo [2022-07-19T10:10:27.350Z] [semverPrep] GIT_COMMIT: 2f30201d05cab50f648b01fd43d4ce7e7a560d7e, Commit Message: Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD [Pipeline] echo [2022-07-19T10:10:27.362Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-19T10:10:27.743Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T10:10:27.743Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-19T10:10:27.743Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-19T10:10:27.743Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-19T10:10:27.743Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-19T10:10:27.743Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-19T10:10:27.743Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:10:28.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:10:28.184Z] [2022-07-19T10:10:28.184Z] 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-19T10:10:28.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:10:28.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-19T10:10:28.494Z] b85a868b505f: Pulling fs layer [2022-07-19T10:10:28.494Z] e2be974225ed: Pulling fs layer [2022-07-19T10:10:28.494Z] 339a4e72a1f5: Pulling fs layer [2022-07-19T10:10:28.494Z] 988bab9f4d93: Pulling fs layer [2022-07-19T10:10:28.494Z] 1469e6f7b9e6: Pulling fs layer [2022-07-19T10:10:28.494Z] 988bab9f4d93: Waiting [2022-07-19T10:10:28.494Z] eaf3925da568: Pulling fs layer [2022-07-19T10:10:28.494Z] bab4dde63d76: Pulling fs layer [2022-07-19T10:10:28.494Z] bde34c3a00c8: Pulling fs layer [2022-07-19T10:10:28.494Z] b352a97aabf1: Pulling fs layer [2022-07-19T10:10:28.494Z] 4872d77fe225: Pulling fs layer [2022-07-19T10:10:28.494Z] 5851b861e8e6: Pulling fs layer [2022-07-19T10:10:28.494Z] 1469e6f7b9e6: Waiting [2022-07-19T10:10:28.494Z] bde34c3a00c8: Waiting [2022-07-19T10:10:28.494Z] b352a97aabf1: Waiting [2022-07-19T10:10:28.494Z] eaf3925da568: Waiting [2022-07-19T10:10:28.494Z] bab4dde63d76: Waiting [2022-07-19T10:10:28.494Z] 4872d77fe225: Waiting [2022-07-19T10:10:28.494Z] 5851b861e8e6: Waiting [2022-07-19T10:10:28.494Z] e2be974225ed: Download complete [2022-07-19T10:10:28.494Z] 988bab9f4d93: Verifying Checksum [2022-07-19T10:10:28.495Z] 988bab9f4d93: Download complete [2022-07-19T10:10:28.764Z] 1469e6f7b9e6: Verifying Checksum [2022-07-19T10:10:28.764Z] 1469e6f7b9e6: Download complete [2022-07-19T10:10:28.764Z] eaf3925da568: Download complete [2022-07-19T10:10:28.764Z] 339a4e72a1f5: Verifying Checksum [2022-07-19T10:10:28.764Z] 339a4e72a1f5: Download complete [2022-07-19T10:10:28.764Z] bde34c3a00c8: Download complete [2022-07-19T10:10:28.764Z] b352a97aabf1: Download complete [2022-07-19T10:10:28.764Z] 4872d77fe225: Verifying Checksum [2022-07-19T10:10:28.764Z] 4872d77fe225: Download complete [2022-07-19T10:10:28.764Z] 5851b861e8e6: Verifying Checksum [2022-07-19T10:10:28.764Z] 5851b861e8e6: Download complete [2022-07-19T10:10:28.764Z] b85a868b505f: Verifying Checksum [2022-07-19T10:10:28.764Z] b85a868b505f: Download complete [2022-07-19T10:10:29.025Z] bab4dde63d76: Verifying Checksum [2022-07-19T10:10:29.025Z] bab4dde63d76: Download complete [2022-07-19T10:10:30.414Z] b85a868b505f: Pull complete [2022-07-19T10:10:30.414Z] e2be974225ed: Pull complete [2022-07-19T10:10:30.987Z] 339a4e72a1f5: Pull complete [2022-07-19T10:10:30.987Z] 988bab9f4d93: Pull complete [2022-07-19T10:10:31.248Z] 1469e6f7b9e6: Pull complete [2022-07-19T10:10:31.509Z] eaf3925da568: Pull complete [2022-07-19T10:10:33.421Z] bab4dde63d76: Pull complete [2022-07-19T10:10:33.422Z] bde34c3a00c8: Pull complete [2022-07-19T10:10:33.694Z] b352a97aabf1: Pull complete [2022-07-19T10:10:33.694Z] 4872d77fe225: Pull complete [2022-07-19T10:10:33.694Z] 5851b861e8e6: Pull complete [2022-07-19T10:10:33.967Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-19T10:10:33.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:10:33.967Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:10:34.078Z] prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container [2022-07-19T10:10:34.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T10:10:35.569Z] $ docker top 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b -eo pid,comm [2022-07-19T10:10:35.645Z] 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-19T10:10:35.645Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T10:10:35.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T10:10:35.693Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T10:10:35.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T10:10:35.836Z] $ docker exec 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent [2022-07-19T10:10:35.966Z] SSH_AUTH_SOCK=/tmp/ssh-BvZlAopuYM0e/agent.33 [2022-07-19T10:10:35.966Z] SSH_AGENT_PID=40 [2022-07-19T10:10:35.972Z] Running ssh-add (command line suppressed) [2022-07-19T10:10:36.111Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_1226162036039054778.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_1226162036039054778.key) [2022-07-19T10:10:36.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T10:10:36.419Z] + git tag --points-at HEAD [Pipeline] } [2022-07-19T10:10:36.441Z] $ docker exec --env ******** --env ******** 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent -k [2022-07-19T10:10:36.544Z] unset SSH_AUTH_SOCK; [2022-07-19T10:10:36.544Z] unset SSH_AGENT_PID; [2022-07-19T10:10:36.544Z] echo Agent pid 40 killed; [2022-07-19T10:10:36.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-19T10:10:36.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T10:10:36.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T10:10:36.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T10:10:36.725Z] $ docker exec 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent [2022-07-19T10:10:36.849Z] SSH_AUTH_SOCK=/tmp/ssh-2WX7l9YGF0cE/agent.76 [2022-07-19T10:10:36.849Z] SSH_AGENT_PID=83 [2022-07-19T10:10:36.856Z] Running ssh-add (command line suppressed) [2022-07-19T10:10:36.974Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_5474192763733659546.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_5474192763733659546.key) [2022-07-19T10:10:36.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T10:10:37.282Z] + git semver init [2022-07-19T10:10:37.543Z] 2022-07-19 10:10:37,484 [run_init] DEBUG init version:0.0.0 force:False [2022-07-19T10:10:37.543Z] 2022-07-19 10:10:37,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-19T10:10:37.543Z] 2022-07-19 10:10:37,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-19T10:10:37.543Z] 2022-07-19 10:10:37,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-07-19T10:10:38.117Z] 2022-07-19 10:10:38,118 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude [2022-07-19T10:10:38.117Z] 2022-07-19 10:10:38,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False [2022-07-19T10:10:38.117Z] 2022-07-19 10:10:38,119 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-19T10:10:38.379Z] 2022-07-19 10:10:38,125 [execute] INFO git cat-file --batch-check [2022-07-19T10:10:38.379Z] 2022-07-19 10:10:38,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T10:10:38.379Z] 2022-07-19 10:10:38,131 [execute] INFO git cat-file --batch [2022-07-19T10:10:38.379Z] 2022-07-19 10:10:38,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T10:10:38.379Z] 2022-07-19 10:10:38,135 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-19T10:10:38.379Z] 0.0.0 [Pipeline] } [2022-07-19T10:10:38.395Z] $ docker exec --env ******** --env ******** 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent -k [2022-07-19T10:10:38.521Z] unset SSH_AUTH_SOCK; [2022-07-19T10:10:38.521Z] unset SSH_AGENT_PID; [2022-07-19T10:10:38.521Z] echo Agent pid 83 killed; [2022-07-19T10:10:38.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T10:10:38.837Z] + git semver [Pipeline] } [2022-07-19T10:10:39.121Z] $ docker stop --time=1 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b [2022-07-19T10:10:40.463Z] $ docker rm -f 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:10:40.825Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-19T10:10:41.112Z] Stashed 1 file(s) [Pipeline] echo [2022-07-19T10:10:41.115Z] [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-19T10:10:41.271Z] provisioning config files... [2022-07-19T10:10:41.286Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config91878942641823625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:10:41.587Z] ---> docker-login.sh [2022-07-19T10:10:41.587Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:10:41.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:41.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:41.587Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:41.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:41.587Z] [2022-07-19T10:10:41.587Z] Login Succeeded [2022-07-19T10:10:41.587Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:10:41.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:41.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:41.847Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:41.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:41.847Z] [2022-07-19T10:10:41.847Z] Login Succeeded [2022-07-19T10:10:41.847Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:10:41.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:41.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:41.847Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:41.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:41.847Z] [2022-07-19T10:10:41.847Z] Login Succeeded [2022-07-19T10:10:41.847Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:10:42.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:42.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:42.110Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:42.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:42.110Z] [2022-07-19T10:10:42.110Z] Login Succeeded [2022-07-19T10:10:42.110Z] docker.io [2022-07-19T10:10:42.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:10:42.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:10:42.373Z] Configure a credential helper to remove this warning. See [2022-07-19T10:10:42.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:10:42.373Z] [2022-07-19T10:10:42.373Z] Login Succeeded [2022-07-19T10:10:42.373Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:10:42.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T10:10:42.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:10:42.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:10:42.474Z] ========================================================= [2022-07-19T10:10:42.474Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-19T10:10:42.474Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:10:42.809Z] + 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-19T10:10:42.809Z] Sending build context to Docker daemon 9.355MB [2022-07-19T10:10:42.809Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:10:42.809Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T10:10:42.809Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-19T10:10:42.809Z] 2408cc74d12b: Pulling fs layer [2022-07-19T10:10:42.809Z] ea60b727a1ce: Pulling fs layer [2022-07-19T10:10:42.809Z] 30c4a7721957: Pulling fs layer [2022-07-19T10:10:42.809Z] 370296b7ddb6: Pulling fs layer [2022-07-19T10:10:42.809Z] 7c6cee850709: Pulling fs layer [2022-07-19T10:10:42.809Z] 39a5fcdaea64: Pulling fs layer [2022-07-19T10:10:42.809Z] d94ebbe4e438: Pulling fs layer [2022-07-19T10:10:42.809Z] bcfd1f05c69d: Pulling fs layer [2022-07-19T10:10:42.809Z] 59ccb84bbe0f: Pulling fs layer [2022-07-19T10:10:42.809Z] 370296b7ddb6: Waiting [2022-07-19T10:10:42.809Z] 7c6cee850709: Waiting [2022-07-19T10:10:42.809Z] 39a5fcdaea64: Waiting [2022-07-19T10:10:42.809Z] 59ccb84bbe0f: Waiting [2022-07-19T10:10:42.809Z] d94ebbe4e438: Waiting [2022-07-19T10:10:42.809Z] bcfd1f05c69d: Waiting [2022-07-19T10:10:43.071Z] 30c4a7721957: Download complete [2022-07-19T10:10:43.071Z] ea60b727a1ce: Verifying Checksum [2022-07-19T10:10:43.071Z] ea60b727a1ce: Download complete [2022-07-19T10:10:43.071Z] 7c6cee850709: Verifying Checksum [2022-07-19T10:10:43.071Z] 7c6cee850709: Download complete [2022-07-19T10:10:43.071Z] 2408cc74d12b: Verifying Checksum [2022-07-19T10:10:43.071Z] 2408cc74d12b: Download complete [2022-07-19T10:10:43.071Z] 39a5fcdaea64: Verifying Checksum [2022-07-19T10:10:43.071Z] 39a5fcdaea64: Download complete [2022-07-19T10:10:43.071Z] d94ebbe4e438: Verifying Checksum [2022-07-19T10:10:43.071Z] d94ebbe4e438: Download complete [2022-07-19T10:10:43.071Z] 2408cc74d12b: Pull complete [2022-07-19T10:10:43.332Z] ea60b727a1ce: Pull complete [2022-07-19T10:10:43.332Z] 30c4a7721957: Pull complete [2022-07-19T10:10:43.595Z] 59ccb84bbe0f: Download complete [2022-07-19T10:10:43.857Z] bcfd1f05c69d: Verifying Checksum [2022-07-19T10:10:43.857Z] bcfd1f05c69d: Download complete [2022-07-19T10:10:43.857Z] 370296b7ddb6: Verifying Checksum [2022-07-19T10:10:43.857Z] 370296b7ddb6: Download complete [2022-07-19T10:10:49.141Z] 370296b7ddb6: Pull complete [2022-07-19T10:10:49.141Z] 7c6cee850709: Pull complete [2022-07-19T10:10:49.141Z] 39a5fcdaea64: Pull complete [2022-07-19T10:10:49.141Z] d94ebbe4e438: Pull complete [2022-07-19T10:10:50.525Z] bcfd1f05c69d: Pull complete [2022-07-19T10:10:51.462Z] 59ccb84bbe0f: Pull complete [2022-07-19T10:10:51.462Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-19T10:10:51.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-19T10:10:51.462Z] ---> a4fb48ad2a94 [2022-07-19T10:10:51.462Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T10:10:53.379Z] ---> Running in 61e75576b39d [2022-07-19T10:10:53.379Z] Removing intermediate container 61e75576b39d [2022-07-19T10:10:53.379Z] ---> 2219a9b6b356 [2022-07-19T10:10:53.379Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:10:53.379Z] ---> Running in ce28be0a274d [2022-07-19T10:10:53.642Z] Removing intermediate container ce28be0a274d [2022-07-19T10:10:53.642Z] ---> d3e6d1149166 [2022-07-19T10:10:53.642Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:10:53.642Z] ---> Running in 0aed01547246 [2022-07-19T10:10:53.642Z] Removing intermediate container 0aed01547246 [2022-07-19T10:10:53.642Z] ---> f62995844525 [2022-07-19T10:10:53.642Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:10:53.642Z] ---> Running in feb44e9d48af [2022-07-19T10:10:53.903Z] Removing intermediate container feb44e9d48af [2022-07-19T10:10:53.903Z] ---> 96dbc5c0248a [2022-07-19T10:10:53.903Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:10:53.903Z] ---> Running in 33bbc962b340 [2022-07-19T10:10:54.472Z] Removing intermediate container 33bbc962b340 [2022-07-19T10:10:54.472Z] ---> 9675b70ec823 [2022-07-19T10:10:54.472Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:10:54.472Z] ---> Running in b744e657fa20 [2022-07-19T10:10:54.733Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:10:55.675Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:10:55.936Z] OK: 211 MiB in 51 packages [2022-07-19T10:10:56.197Z] Removing intermediate container b744e657fa20 [2022-07-19T10:10:56.197Z] ---> dde7297d7b24 [2022-07-19T10:10:56.197Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T10:10:56.220Z] Still waiting to schedule task [2022-07-19T10:10:56.220Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-19T10:10:56.464Z] ---> Running in a2b105c0d733 [2022-07-19T10:10:56.464Z] Removing intermediate container a2b105c0d733 [2022-07-19T10:10:56.464Z] ---> 9983783eefa5 [2022-07-19T10:10:56.464Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T10:10:56.725Z] ---> d6ed0c6f8258 [2022-07-19T10:10:56.725Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:10:56.725Z] ---> Running in 616b4ad9d351 [2022-07-19T10:11:18.725Z] Removing intermediate container 616b4ad9d351 [2022-07-19T10:11:18.725Z] ---> 751ecf934cf8 [2022-07-19T10:11:18.725Z] Step 12/13 : COPY . . [2022-07-19T10:11:18.725Z] ---> 0633ff36ac77 [2022-07-19T10:11:18.725Z] Step 13/13 : RUN ${MAKE} [2022-07-19T10:11:18.725Z] ---> Running in c4cde75317f4 [2022-07-19T10:11:18.725Z] noop [2022-07-19T10:11:18.725Z] Removing intermediate container c4cde75317f4 [2022-07-19T10:11:18.725Z] ---> 2027e959ab98 [2022-07-19T10:11:18.725Z] Successfully built 2027e959ab98 [2022-07-19T10:11:18.725Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:19.045Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T10:11:19.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:11:19.136Z] prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container [2022-07-19T10:11:19.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T10:11:19.633Z] $ docker top 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:11:20.003Z] + go version [2022-07-19T10:11:20.003Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-19T10:11:20.017Z] $ docker stop --time=1 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 [2022-07-19T10:11:21.296Z] $ docker rm -f 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:21.725Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T10:11:21.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:11:21.809Z] prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container [2022-07-19T10:11:21.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T10:11:22.251Z] $ docker top b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:11:22.671Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-07-19T10:11:23.106Z] + make test [2022-07-19T10:11:23.106Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T10:11:23.365Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T10:11:33.353Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T10:11:34.742Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements [2022-07-19T10:11:34.742Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T10:11:37.287Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.713s coverage: 13.8% of statements [2022-07-19T10:11:45.419Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T10:11:47.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T10:11:47.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T10:11:47.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T10:11:48.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T10:11:48.556Z] $ docker stop --time=1 b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 [2022-07-19T10:11:50.553Z] $ docker rm -f b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:11:51.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T10:11:51.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-19T10:11:51.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T10:11:51.898Z] + ls -al . [2022-07-19T10:11:51.899Z] total 252 [2022-07-19T10:11:51.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 10:11 . [2022-07-19T10:11:51.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 .. [2022-07-19T10:11:51.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:11 .git [2022-07-19T10:11:51.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:10 .github [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:10 .gitignore [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:10 .golangci.yml [2022-07-19T10:11:51.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:10 .semver [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:10 Attribution.txt [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:10 CHANGELOG.md [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:10 Dockerfile [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:10 GOVERNANCE.md [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:10 Jenkinsfile [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:10 LICENSE [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:10 Makefile [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:10 OWNERS.md [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:10 README.md [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:10 VERSION [2022-07-19T10:11:51.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:10 bin [2022-07-19T10:11:51.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:10 cmd [2022-07-19T10:11:51.899Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:11 coverage.out [2022-07-19T10:11:51.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 doc [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:10 go.mod [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:10 go.sum [2022-07-19T10:11:51.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 internal [2022-07-19T10:11:51.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 snap [2022-07-19T10:11:51.899Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:52.209Z] + 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=2f30201d05cab50f648b01fd43d4ce7e7a560d7e --label arch=amd64 --label version=0.0.0 . [2022-07-19T10:11:52.209Z] Sending build context to Docker daemon 9.426MB [2022-07-19T10:11:52.209Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:11:52.209Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T10:11:52.209Z] ---> 2027e959ab98 [2022-07-19T10:11:52.209Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T10:11:52.209Z] ---> Running in afb7496419f6 [2022-07-19T10:11:52.470Z] Removing intermediate container afb7496419f6 [2022-07-19T10:11:52.470Z] ---> 657b4c82b79c [2022-07-19T10:11:52.470Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:11:52.470Z] ---> Running in f1a456b3bc85 [2022-07-19T10:11:52.470Z] Removing intermediate container f1a456b3bc85 [2022-07-19T10:11:52.470Z] ---> 5640ec78bd33 [2022-07-19T10:11:52.470Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:11:52.470Z] ---> Running in 2844f074d53d [2022-07-19T10:11:52.732Z] Removing intermediate container 2844f074d53d [2022-07-19T10:11:52.732Z] ---> 897f778a4b65 [2022-07-19T10:11:52.732Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:11:52.732Z] ---> Running in 51683a608d97 [2022-07-19T10:11:52.732Z] Removing intermediate container 51683a608d97 [2022-07-19T10:11:52.732Z] ---> fc093608cfc2 [2022-07-19T10:11:52.732Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:11:52.732Z] ---> Running in 5b95d0d588fd [2022-07-19T10:11:53.312Z] Removing intermediate container 5b95d0d588fd [2022-07-19T10:11:53.312Z] ---> db82da5be4b3 [2022-07-19T10:11:53.312Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:11:53.573Z] ---> Running in b5ddd54ee553 [2022-07-19T10:11:53.835Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:11:54.779Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:11:55.040Z] OK: 211 MiB in 51 packages [2022-07-19T10:11:55.301Z] Removing intermediate container b5ddd54ee553 [2022-07-19T10:11:55.301Z] ---> 94854b5e8f5e [2022-07-19T10:11:55.301Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T10:11:55.301Z] ---> Running in 0ea4ad8cbb43 [2022-07-19T10:11:55.301Z] Removing intermediate container 0ea4ad8cbb43 [2022-07-19T10:11:55.301Z] ---> d7446d145b35 [2022-07-19T10:11:55.301Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T10:11:55.561Z] ---> 678cd4cb7689 [2022-07-19T10:11:55.561Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:11:55.561Z] ---> Running in 30188dba29e3 [2022-07-19T10:11:56.505Z] Removing intermediate container 30188dba29e3 [2022-07-19T10:11:56.505Z] ---> 901a64146538 [2022-07-19T10:11:56.505Z] Step 12/26 : COPY . . [2022-07-19T10:11:56.765Z] ---> d2bc8089646f [2022-07-19T10:11:56.765Z] Step 13/26 : RUN ${MAKE} [2022-07-19T10:11:56.765Z] ---> Running in 4ea21bda9221 [2022-07-19T10:11:57.026Z] 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-19T10:12:18.981Z] Removing intermediate container 4ea21bda9221 [2022-07-19T10:12:18.981Z] ---> aa341428c782 [2022-07-19T10:12:18.981Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T10:12:18.981Z] 3.15: Pulling from library/alpine [2022-07-19T10:12:18.981Z] df9b9388f04a: Pulling fs layer [2022-07-19T10:12:18.981Z] df9b9388f04a: Verifying Checksum [2022-07-19T10:12:18.981Z] df9b9388f04a: Download complete [2022-07-19T10:12:18.981Z] df9b9388f04a: Pull complete [2022-07-19T10:12:18.981Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T10:12:18.981Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T10:12:18.981Z] ---> 0ac33e5f5afa [2022-07-19T10:12:18.981Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T10:12:18.981Z] ---> Running in 4a78f8d6d11e [2022-07-19T10:12:18.981Z] Removing intermediate container 4a78f8d6d11e [2022-07-19T10:12:18.981Z] ---> b416b115b93c [2022-07-19T10:12:18.981Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T10:12:18.981Z] ---> Running in f81642fe0b9b [2022-07-19T10:12:18.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:18.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:18.981Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T10:12:18.981Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T10:12:18.981Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T10:12:18.981Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T10:12:18.981Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T10:12:18.981Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T10:12:18.981Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T10:12:19.250Z] OK: 8 MiB in 20 packages [2022-07-19T10:12:19.511Z] Removing intermediate container f81642fe0b9b [2022-07-19T10:12:19.511Z] ---> 2b6bad8b76c2 [2022-07-19T10:12:19.511Z] Step 17/26 : WORKDIR / [2022-07-19T10:12:19.511Z] ---> Running in d880f925edb2 [2022-07-19T10:12:19.771Z] Removing intermediate container d880f925edb2 [2022-07-19T10:12:19.771Z] ---> 5412f9015447 [2022-07-19T10:12:19.771Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T10:12:20.345Z] ---> b79c709a9cea [2022-07-19T10:12:20.345Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T10:12:20.345Z] ---> 0018279c8add [2022-07-19T10:12:20.345Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T10:12:20.606Z] ---> 8517f286263c [2022-07-19T10:12:20.606Z] Step 21/26 : EXPOSE 59984 [2022-07-19T10:12:20.606Z] ---> Running in 8050f4301a03 [2022-07-19T10:12:20.606Z] Removing intermediate container 8050f4301a03 [2022-07-19T10:12:20.606Z] ---> 080e5bbf982c [2022-07-19T10:12:20.606Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T10:12:20.606Z] ---> Running in 2a813924f634 [2022-07-19T10:12:20.867Z] Removing intermediate container 2a813924f634 [2022-07-19T10:12:20.867Z] ---> 8993e414498c [2022-07-19T10:12:20.867Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T10:12:20.867Z] ---> Running in f0ec8ed24101 [2022-07-19T10:12:20.867Z] Removing intermediate container f0ec8ed24101 [2022-07-19T10:12:20.867Z] ---> 2ffa62a6bbad [2022-07-19T10:12:20.867Z] Step 24/26 : LABEL arch=amd64 [2022-07-19T10:12:21.126Z] ---> Running in 7f9361967b5d [2022-07-19T10:12:21.126Z] Removing intermediate container 7f9361967b5d [2022-07-19T10:12:21.126Z] ---> ca36f455407a [2022-07-19T10:12:21.126Z] Step 25/26 : LABEL git_sha=2f30201d05cab50f648b01fd43d4ce7e7a560d7e [2022-07-19T10:12:21.126Z] ---> Running in 96a603e39d9f [2022-07-19T10:12:21.386Z] Removing intermediate container 96a603e39d9f [2022-07-19T10:12:21.386Z] ---> e750b498484e [2022-07-19T10:12:21.386Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T10:12:21.386Z] ---> Running in b2c390e41f0f [2022-07-19T10:12:21.386Z] Removing intermediate container b2c390e41f0f [2022-07-19T10:12:21.386Z] ---> bd8bb43a2078 [2022-07-19T10:12:21.386Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T10:12:21.386Z] Successfully built bd8bb43a2078 [2022-07-19T10:12:21.386Z] 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-19T10:12:21.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:12:21.867Z] [2022-07-19T10:12:21.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:12:22.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:12:22.173Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-19T10:12:22.173Z] 5eb5b503b376: Pulling fs layer [2022-07-19T10:12:22.173Z] 5c69ac0246d0: Pulling fs layer [2022-07-19T10:12:22.173Z] ec43610c2a17: Pulling fs layer [2022-07-19T10:12:22.173Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-19T10:12:22.173Z] 33b1e0a273af: Pulling fs layer [2022-07-19T10:12:22.173Z] 5d3b04190fa2: Pulling fs layer [2022-07-19T10:12:22.173Z] 2f39f015ded8: Pulling fs layer [2022-07-19T10:12:22.173Z] 33b1e0a273af: Waiting [2022-07-19T10:12:22.173Z] 3a2ae6a8a46f: Waiting [2022-07-19T10:12:22.173Z] 5c69ac0246d0: Download complete [2022-07-19T10:12:22.173Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-19T10:12:22.173Z] 3a2ae6a8a46f: Download complete [2022-07-19T10:12:22.173Z] 33b1e0a273af: Verifying Checksum [2022-07-19T10:12:22.173Z] 33b1e0a273af: Download complete [2022-07-19T10:12:22.173Z] 5d3b04190fa2: Verifying Checksum [2022-07-19T10:12:22.173Z] 5d3b04190fa2: Download complete [2022-07-19T10:12:22.173Z] ec43610c2a17: Verifying Checksum [2022-07-19T10:12:22.173Z] ec43610c2a17: Download complete [2022-07-19T10:12:22.433Z] 5eb5b503b376: Verifying Checksum [2022-07-19T10:12:22.433Z] 5eb5b503b376: Download complete [2022-07-19T10:12:23.002Z] 2f39f015ded8: Download complete [2022-07-19T10:12:23.941Z] 5eb5b503b376: Pull complete [2022-07-19T10:12:23.941Z] 5c69ac0246d0: Pull complete [2022-07-19T10:12:24.512Z] ec43610c2a17: Pull complete [2022-07-19T10:12:24.512Z] 3a2ae6a8a46f: Pull complete [2022-07-19T10:12:24.772Z] 33b1e0a273af: Pull complete [2022-07-19T10:12:24.772Z] 5d3b04190fa2: Pull complete [2022-07-19T10:12:28.972Z] 2f39f015ded8: Pull complete [2022-07-19T10:12:28.973Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-19T10:12:28.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:12:28.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:12:29.076Z] prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container [2022-07-19T10:12:29.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T10:12:31.042Z] $ docker top 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:12:31.468Z] ---> job-cost.sh [2022-07-19T10:12:31.469Z] lf-activate-venv: SKIPPING [2022-07-19T10:12:31.469Z] INFO: No Stack... [2022-07-19T10:12:31.729Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T10:12:32.300Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T10:12:32.590Z] + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv [2022-07-19T10:12:32.590Z] + cut -d, -f6 [Pipeline] lock [2022-07-19T10:12:32.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [2022-07-19T10:12:32.613Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] did not exist. Created. [2022-07-19T10:12:32.613Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T10:12:32.967Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-19T10:12:33.025Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T10:12:33.031Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T10:12:33.049Z] $ docker stop --time=1 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 [2022-07-19T10:12:34.251Z] $ docker rm -f 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-19T10:12:37.250Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20479 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-07-19T10:12:37.262Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-07-19T10:12:37.299Z] Selected Git installation does not exist. Using Default [2022-07-19T10:12:37.299Z] The recommended git tool is: NONE [2022-07-19T10:12:44.963Z] using credential edgex-jenkins-ssh [2022-07-19T10:12:44.983Z] Cloning the remote Git repository [2022-07-19T10:12:45.099Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:12:45.232Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-07-19T10:12:45.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:12:45.397Z] > git --version # timeout=10 [2022-07-19T10:12:45.429Z] > git --version # 'git version 2.25.1' [2022-07-19T10:12:45.431Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:12:45.532Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T10:12:47.219Z] Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab [2022-07-19T10:12:47.777Z] Merge succeeded, producing 2d40cce2f3119d08e63d15256cb76cb7145ecc6f [2022-07-19T10:12:47.777Z] Checking out Revision 2d40cce2f3119d08e63d15256cb76cb7145ecc6f (PR-100) [2022-07-19T10:12:46.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T10:12:46.670Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T10:12:46.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T10:12:46.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:12:46.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:12:46.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-19T10:12:47.247Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T10:12:47.283Z] > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 [2022-07-19T10:12:47.442Z] > git remote # timeout=10 [2022-07-19T10:12:47.498Z] > git config --get remote.origin.url # timeout=10 [2022-07-19T10:12:47.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:12:47.535Z] > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 [2022-07-19T10:12:47.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-19T10:12:47.781Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T10:12:47.805Z] > git checkout -f 2d40cce2f3119d08e63d15256cb76cb7145ecc6f # timeout=10 [2022-07-19T10:12:52.260Z] Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" [2022-07-19T10:12:52.284Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-07-19T10:12:52.265Z] > git rev-list --no-walk c6510214aec8bac0e4d36f3874262cc1579d55f0 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:12:53.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-19T10:12:53.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T10:12:53.146Z] Dload Upload Total Spent Left Speed [2022-07-19T10:12:53.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh [2022-07-19T10:12:53.828Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-19T10:12:54.219Z] + sudo tee /etc/docker/daemon.new [2022-07-19T10:12:54.219Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-19T10:12:54.219Z] { [2022-07-19T10:12:54.219Z] "registry-mirrors": [ [2022-07-19T10:12:54.219Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-19T10:12:54.219Z] ], [2022-07-19T10:12:54.219Z] "bip": "10.250.0.254/24", [2022-07-19T10:12:54.219Z] "hosts": [ [2022-07-19T10:12:54.219Z] "tcp://0.0.0.0:5555", [2022-07-19T10:12:54.219Z] "unix:///var/run/docker.sock" [2022-07-19T10:12:54.219Z] ], [2022-07-19T10:12:54.219Z] "mtu": 1458, [2022-07-19T10:12:54.219Z] "selinux-enabled": true, [2022-07-19T10:12:54.219Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-19T10:12:54.219Z] } [Pipeline] sh [2022-07-19T10:12:54.607Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-19T10:12:54.952Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:13:13.285Z] provisioning config files... [2022-07-19T10:13:13.311Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config8127864352898204701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:13:13.664Z] ---> docker-login.sh [2022-07-19T10:13:13.664Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:13:14.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:13:14.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:13:14.536Z] Configure a credential helper to remove this warning. See [2022-07-19T10:13:14.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:13:14.536Z] [2022-07-19T10:13:14.536Z] Login Succeeded [2022-07-19T10:13:14.536Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:13:14.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:13:14.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:13:14.808Z] Configure a credential helper to remove this warning. See [2022-07-19T10:13:14.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:13:14.808Z] [2022-07-19T10:13:14.808Z] Login Succeeded [2022-07-19T10:13:14.808Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:13:15.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:13:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:13:15.351Z] Configure a credential helper to remove this warning. See [2022-07-19T10:13:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:13:15.351Z] [2022-07-19T10:13:15.351Z] Login Succeeded [2022-07-19T10:13:15.351Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:13:15.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:13:15.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:13:15.628Z] Configure a credential helper to remove this warning. See [2022-07-19T10:13:15.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:13:15.628Z] [2022-07-19T10:13:15.628Z] Login Succeeded [2022-07-19T10:13:15.628Z] docker.io [2022-07-19T10:13:16.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:13:16.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:13:16.498Z] Configure a credential helper to remove this warning. See [2022-07-19T10:13:16.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:13:16.498Z] [2022-07-19T10:13:16.498Z] Login Succeeded [2022-07-19T10:13:16.498Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:13:16.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T10:13:17.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:13:17.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:13:17.075Z] ========================================================= [2022-07-19T10:13:17.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-19T10:13:17.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:13:17.483Z] + 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-19T10:13:17.760Z] Sending build context to Docker daemon 6.448MB [2022-07-19T10:13:18.039Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:13:18.039Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T10:13:18.039Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-19T10:13:18.039Z] b3c136eddcbf: Pulling fs layer [2022-07-19T10:13:18.039Z] c0a3192eca97: Pulling fs layer [2022-07-19T10:13:18.039Z] a050256f5b6f: Pulling fs layer [2022-07-19T10:13:18.039Z] 656be50a0ddc: Pulling fs layer [2022-07-19T10:13:18.039Z] 2bbca73fdf42: Pulling fs layer [2022-07-19T10:13:18.039Z] 46d945488cbd: Pulling fs layer [2022-07-19T10:13:18.039Z] 8a5474983e97: Pulling fs layer [2022-07-19T10:13:18.039Z] 329c88fbcd65: Pulling fs layer [2022-07-19T10:13:18.039Z] 656be50a0ddc: Waiting [2022-07-19T10:13:18.039Z] 2bbca73fdf42: Waiting [2022-07-19T10:13:18.039Z] 8a5474983e97: Waiting [2022-07-19T10:13:18.039Z] 46d945488cbd: Waiting [2022-07-19T10:13:18.039Z] 329c88fbcd65: Waiting [2022-07-19T10:13:18.039Z] a050256f5b6f: Download complete [2022-07-19T10:13:18.039Z] c0a3192eca97: Verifying Checksum [2022-07-19T10:13:18.039Z] c0a3192eca97: Download complete [2022-07-19T10:13:18.039Z] 2bbca73fdf42: Download complete [2022-07-19T10:13:18.039Z] 46d945488cbd: Verifying Checksum [2022-07-19T10:13:18.039Z] 46d945488cbd: Download complete [2022-07-19T10:13:18.039Z] b3c136eddcbf: Verifying Checksum [2022-07-19T10:13:18.039Z] b3c136eddcbf: Download complete [2022-07-19T10:13:19.043Z] b3c136eddcbf: Pull complete [2022-07-19T10:13:19.337Z] 329c88fbcd65: Verifying Checksum [2022-07-19T10:13:19.337Z] 329c88fbcd65: Download complete [2022-07-19T10:13:19.615Z] c0a3192eca97: Pull complete [2022-07-19T10:13:19.896Z] a050256f5b6f: Pull complete [2022-07-19T10:13:20.496Z] 8a5474983e97: Verifying Checksum [2022-07-19T10:13:20.496Z] 8a5474983e97: Download complete [2022-07-19T10:13:21.092Z] 656be50a0ddc: Verifying Checksum [2022-07-19T10:13:21.092Z] 656be50a0ddc: Download complete [2022-07-19T10:13:33.496Z] 656be50a0ddc: Pull complete [2022-07-19T10:13:33.496Z] 2bbca73fdf42: Pull complete [2022-07-19T10:13:33.496Z] 46d945488cbd: Pull complete [2022-07-19T10:13:40.219Z] 8a5474983e97: Pull complete [2022-07-19T10:13:41.221Z] 329c88fbcd65: Pull complete [2022-07-19T10:13:41.221Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-19T10:13:41.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-19T10:13:41.221Z] ---> ff4287adb874 [2022-07-19T10:13:41.221Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T10:13:43.212Z] ---> Running in 01e4d83b66aa [2022-07-19T10:13:43.487Z] Removing intermediate container 01e4d83b66aa [2022-07-19T10:13:43.487Z] ---> 98b7d51a18b5 [2022-07-19T10:13:43.487Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:13:43.487Z] ---> Running in 1d45376453c3 [2022-07-19T10:13:44.087Z] Removing intermediate container 1d45376453c3 [2022-07-19T10:13:44.087Z] ---> 0375e40ac7b3 [2022-07-19T10:13:44.087Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:13:44.087Z] ---> Running in d2ca00d1f94b [2022-07-19T10:13:44.360Z] Removing intermediate container d2ca00d1f94b [2022-07-19T10:13:44.360Z] ---> 71b7221b816e [2022-07-19T10:13:44.360Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:13:44.360Z] ---> Running in 77f6c32a2578 [2022-07-19T10:13:44.631Z] Removing intermediate container 77f6c32a2578 [2022-07-19T10:13:44.631Z] ---> c9ce5295bac4 [2022-07-19T10:13:44.631Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:13:44.905Z] ---> Running in 000f1b633f45 [2022-07-19T10:13:46.885Z] Removing intermediate container 000f1b633f45 [2022-07-19T10:13:46.885Z] ---> ff6e24926488 [2022-07-19T10:13:46.885Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:13:46.885Z] ---> Running in ee0631f59bf4 [2022-07-19T10:13:47.869Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:13:48.467Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:13:49.453Z] OK: 221 MiB in 51 packages [2022-07-19T10:13:50.434Z] Removing intermediate container ee0631f59bf4 [2022-07-19T10:13:50.434Z] ---> 9779a0210ae2 [2022-07-19T10:13:50.434Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T10:13:50.434Z] ---> Running in 2a9146042a17 [2022-07-19T10:13:50.708Z] Removing intermediate container 2a9146042a17 [2022-07-19T10:13:50.708Z] ---> e3a29f9c8c55 [2022-07-19T10:13:50.708Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T10:13:51.308Z] ---> b9ea536eaad4 [2022-07-19T10:13:51.308Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:13:51.308Z] ---> Running in b2f133bed328 [2022-07-19T10:14:38.301Z] Removing intermediate container b2f133bed328 [2022-07-19T10:14:38.301Z] ---> 23d31f8c24fe [2022-07-19T10:14:38.301Z] Step 12/13 : COPY . . [2022-07-19T10:14:38.301Z] ---> 1b0c531580f9 [2022-07-19T10:14:38.301Z] Step 13/13 : RUN ${MAKE} [2022-07-19T10:14:38.301Z] ---> Running in 60f6d865d6bf [2022-07-19T10:14:38.301Z] noop [2022-07-19T10:14:39.280Z] Removing intermediate container 60f6d865d6bf [2022-07-19T10:14:39.280Z] ---> 0cb64627664d [2022-07-19T10:14:39.280Z] Successfully built 0cb64627664d [2022-07-19T10:14:39.280Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:14:39.655Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T10:14:39.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:14:39.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container [2022-07-19T10:14:40.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T10:14:41.327Z] $ docker top 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:14:42.296Z] + go version [2022-07-19T10:14:42.296Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-19T10:14:42.318Z] $ docker stop --time=1 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 [2022-07-19T10:14:43.991Z] $ docker rm -f 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:14:44.650Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T10:14:44.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:14:44.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container [2022-07-19T10:14:44.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T10:14:46.248Z] $ docker top d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:14:47.172Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-07-19T10:14:47.855Z] + make test [2022-07-19T10:14:47.855Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T10:14:49.295Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T10:16:26.166Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T10:16:26.166Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements [2022-07-19T10:16:26.166Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T10:16:38.561Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.128s coverage: 13.8% of statements [2022-07-19T10:16:38.836Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-19T10:16:38.836Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T10:17:01.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T10:17:01.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T10:17:01.098Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T10:17:04.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T10:17:04.546Z] $ docker stop --time=1 d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 [2022-07-19T10:17:06.345Z] $ docker rm -f d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:17:07.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T10:17:07.414Z] Warning: overwriting stash ‘coverage-report’ [2022-07-19T10:17:07.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:17:08.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T10:17:08.764Z] + ls -al . [2022-07-19T10:17:08.764Z] total 248 [2022-07-19T10:17:08.764Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 10:17 . [2022-07-19T10:17:08.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 .. [2022-07-19T10:17:08.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:12 .git [2022-07-19T10:17:08.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:12 .github [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:12 .gitignore [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:12 .golangci.yml [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:12 Attribution.txt [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:12 CHANGELOG.md [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:12 Dockerfile [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:12 GOVERNANCE.md [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:12 Jenkinsfile [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:12 LICENSE [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:12 Makefile [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:12 OWNERS.md [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:12 README.md [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:10 VERSION [2022-07-19T10:17:08.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:12 bin [2022-07-19T10:17:08.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:12 cmd [2022-07-19T10:17:08.764Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:16 coverage.out [2022-07-19T10:17:08.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 doc [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:12 go.mod [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:12 go.sum [2022-07-19T10:17:08.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 internal [2022-07-19T10:17:08.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 snap [2022-07-19T10:17:08.764Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:17:09.124Z] + 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=2d40cce2f3119d08e63d15256cb76cb7145ecc6f --label arch=arm64 --label version=0.0.0 . [2022-07-19T10:17:09.725Z] Sending build context to Docker daemon 6.519MB [2022-07-19T10:17:09.725Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:17:09.725Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T10:17:09.725Z] ---> 0cb64627664d [2022-07-19T10:17:09.725Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T10:17:09.725Z] ---> Running in 212113fb87dd [2022-07-19T10:17:10.001Z] Removing intermediate container 212113fb87dd [2022-07-19T10:17:10.001Z] ---> 078c0c317eda [2022-07-19T10:17:10.001Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:17:10.305Z] ---> Running in 1f21dc2a2871 [2022-07-19T10:17:10.579Z] Removing intermediate container 1f21dc2a2871 [2022-07-19T10:17:10.579Z] ---> f2493d14dcc8 [2022-07-19T10:17:10.579Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:17:10.579Z] ---> Running in 605e6e2a7833 [2022-07-19T10:17:10.856Z] Removing intermediate container 605e6e2a7833 [2022-07-19T10:17:10.856Z] ---> a4f3d3ad9b14 [2022-07-19T10:17:10.856Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:17:10.856Z] ---> Running in e728a0a9be8f [2022-07-19T10:17:11.135Z] Removing intermediate container e728a0a9be8f [2022-07-19T10:17:11.135Z] ---> 13cb336b1fe6 [2022-07-19T10:17:11.135Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:17:11.411Z] ---> Running in 61759a339cca [2022-07-19T10:17:13.403Z] Removing intermediate container 61759a339cca [2022-07-19T10:17:13.403Z] ---> af7a33d6725d [2022-07-19T10:17:13.403Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:17:13.403Z] ---> Running in 517672fc73b5 [2022-07-19T10:17:14.011Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:17:14.988Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:17:15.965Z] OK: 221 MiB in 51 packages [2022-07-19T10:17:16.956Z] Removing intermediate container 517672fc73b5 [2022-07-19T10:17:16.956Z] ---> 36e82a4e76da [2022-07-19T10:17:16.956Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T10:17:16.957Z] ---> Running in d4624594dd17 [2022-07-19T10:17:17.233Z] Removing intermediate container d4624594dd17 [2022-07-19T10:17:17.233Z] ---> cc0fe0a639b9 [2022-07-19T10:17:17.233Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T10:17:17.833Z] ---> bbeab9541d50 [2022-07-19T10:17:17.833Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:17:17.833Z] ---> Running in 8f5db985c630 [2022-07-19T10:17:19.819Z] Removing intermediate container 8f5db985c630 [2022-07-19T10:17:19.819Z] ---> 6bf317c357a3 [2022-07-19T10:17:19.819Z] Step 12/26 : COPY . . [2022-07-19T10:17:21.262Z] ---> d747d4fa15f3 [2022-07-19T10:17:21.262Z] Step 13/26 : RUN ${MAKE} [2022-07-19T10:17:21.262Z] ---> Running in 81bb9c2bb9f5 [2022-07-19T10:17:22.249Z] 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-19T10:19:44.182Z] Removing intermediate container 81bb9c2bb9f5 [2022-07-19T10:19:44.182Z] ---> 437af32aae1d [2022-07-19T10:19:44.182Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T10:19:44.182Z] 3.15: Pulling from library/alpine [2022-07-19T10:19:44.182Z] 9981e73032c8: Pulling fs layer [2022-07-19T10:19:44.182Z] 9981e73032c8: Verifying Checksum [2022-07-19T10:19:44.182Z] 9981e73032c8: Download complete [2022-07-19T10:19:44.182Z] 9981e73032c8: Pull complete [2022-07-19T10:19:44.182Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T10:19:44.182Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T10:19:44.182Z] ---> 3fb3c9af89a9 [2022-07-19T10:19:44.182Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T10:19:44.182Z] ---> Running in 7ac23e314b67 [2022-07-19T10:19:44.182Z] Removing intermediate container 7ac23e314b67 [2022-07-19T10:19:44.182Z] ---> bb9d93069e68 [2022-07-19T10:19:44.182Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T10:19:44.182Z] ---> Running in 1cba7aba61f8 [2022-07-19T10:19:44.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:19:44.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:19:44.182Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T10:19:44.182Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T10:19:44.182Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T10:19:44.182Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T10:19:44.182Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T10:19:44.182Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T10:19:44.182Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T10:19:44.182Z] OK: 8 MiB in 20 packages [2022-07-19T10:19:44.182Z] Removing intermediate container 1cba7aba61f8 [2022-07-19T10:19:44.182Z] ---> d23114740d4e [2022-07-19T10:19:44.182Z] Step 17/26 : WORKDIR / [2022-07-19T10:19:44.182Z] ---> Running in e0f75637b940 [2022-07-19T10:19:44.182Z] Removing intermediate container e0f75637b940 [2022-07-19T10:19:44.182Z] ---> c272bf932553 [2022-07-19T10:19:44.182Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T10:19:44.182Z] ---> a0f79c8c666b [2022-07-19T10:19:44.182Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T10:19:44.455Z] ---> d2e54528f078 [2022-07-19T10:19:44.455Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T10:19:45.049Z] ---> d0a325763e41 [2022-07-19T10:19:45.049Z] Step 21/26 : EXPOSE 59984 [2022-07-19T10:19:45.049Z] ---> Running in f3f0fe4a92aa [2022-07-19T10:19:45.324Z] Removing intermediate container f3f0fe4a92aa [2022-07-19T10:19:45.324Z] ---> 12fa9bbf9b02 [2022-07-19T10:19:45.324Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T10:19:45.607Z] ---> Running in 24d5051f37de [2022-07-19T10:19:45.881Z] Removing intermediate container 24d5051f37de [2022-07-19T10:19:45.881Z] ---> e0ea4362ee2f [2022-07-19T10:19:45.881Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T10:19:45.881Z] ---> Running in 5fec0b06777b [2022-07-19T10:19:46.156Z] Removing intermediate container 5fec0b06777b [2022-07-19T10:19:46.156Z] ---> 495898d44c99 [2022-07-19T10:19:46.156Z] Step 24/26 : LABEL arch=arm64 [2022-07-19T10:19:46.156Z] ---> Running in 5174ab10c6fb [2022-07-19T10:19:46.432Z] Removing intermediate container 5174ab10c6fb [2022-07-19T10:19:46.432Z] ---> 0a01c0fb7f35 [2022-07-19T10:19:46.432Z] Step 25/26 : LABEL git_sha=2d40cce2f3119d08e63d15256cb76cb7145ecc6f [2022-07-19T10:19:46.715Z] ---> Running in 71dc093eb809 [2022-07-19T10:19:46.988Z] Removing intermediate container 71dc093eb809 [2022-07-19T10:19:46.988Z] ---> 31d24f869f2b [2022-07-19T10:19:46.988Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T10:19:46.988Z] ---> Running in 9eb8154bfa2d [2022-07-19T10:19:47.263Z] Removing intermediate container 9eb8154bfa2d [2022-07-19T10:19:47.263Z] ---> adbac283204a [2022-07-19T10:19:47.263Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T10:19:47.263Z] Successfully built adbac283204a [2022-07-19T10:19:47.263Z] 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-19T10:19:47.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:19:47.738Z] [2022-07-19T10:19:47.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:19:48.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:19:48.376Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-19T10:19:48.376Z] 8998bd30e6a1: Pulling fs layer [2022-07-19T10:19:48.376Z] 04944245beec: Pulling fs layer [2022-07-19T10:19:48.376Z] 699f458cf7ca: Pulling fs layer [2022-07-19T10:19:48.376Z] 765212b225bb: Pulling fs layer [2022-07-19T10:19:48.376Z] f23df028b6ca: Pulling fs layer [2022-07-19T10:19:48.376Z] d65c8cfc05b1: Pulling fs layer [2022-07-19T10:19:48.376Z] 2437ff75d9bd: Pulling fs layer [2022-07-19T10:19:48.376Z] 765212b225bb: Waiting [2022-07-19T10:19:48.376Z] d65c8cfc05b1: Waiting [2022-07-19T10:19:48.376Z] 2437ff75d9bd: Waiting [2022-07-19T10:19:48.376Z] f23df028b6ca: Waiting [2022-07-19T10:19:48.376Z] 04944245beec: Verifying Checksum [2022-07-19T10:19:48.376Z] 04944245beec: Download complete [2022-07-19T10:19:48.376Z] 765212b225bb: Verifying Checksum [2022-07-19T10:19:48.376Z] 765212b225bb: Download complete [2022-07-19T10:19:48.376Z] f23df028b6ca: Verifying Checksum [2022-07-19T10:19:48.376Z] f23df028b6ca: Download complete [2022-07-19T10:19:48.376Z] d65c8cfc05b1: Verifying Checksum [2022-07-19T10:19:48.376Z] d65c8cfc05b1: Download complete [2022-07-19T10:19:48.653Z] 699f458cf7ca: Verifying Checksum [2022-07-19T10:19:48.653Z] 699f458cf7ca: Download complete [2022-07-19T10:19:48.929Z] 8998bd30e6a1: Download complete [2022-07-19T10:19:51.560Z] 2437ff75d9bd: Verifying Checksum [2022-07-19T10:19:51.560Z] 2437ff75d9bd: Download complete [2022-07-19T10:19:53.005Z] 8998bd30e6a1: Pull complete [2022-07-19T10:19:53.604Z] 04944245beec: Pull complete [2022-07-19T10:19:55.044Z] 699f458cf7ca: Pull complete [2022-07-19T10:19:55.319Z] 765212b225bb: Pull complete [2022-07-19T10:19:56.302Z] f23df028b6ca: Pull complete [2022-07-19T10:19:56.302Z] d65c8cfc05b1: Pull complete [2022-07-19T10:20:11.402Z] 2437ff75d9bd: Pull complete [2022-07-19T10:20:11.402Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-19T10:20:11.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:20:11.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:20:11.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container [2022-07-19T10:20:11.752Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-19T10:20:14.403Z] $ docker top ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:15.311Z] ---> job-cost.sh [2022-07-19T10:20:15.312Z] lf-activate-venv: SKIPPING [2022-07-19T10:20:15.312Z] INFO: No Stack... [2022-07-19T10:20:15.584Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-19T10:20:16.568Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T10:20:17.227Z] + cut -d, -f6 [2022-07-19T10:20:17.227Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-07-19T10:20:17.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [2022-07-19T10:20:17.296Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] did not exist. Created. [2022-07-19T10:20:17.296Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T10:20:17.970Z] /w/workspace/device-onvif-camera/7@tmp/durable-5e6e28ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-19T10:20:18.642Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-19T10:20:18.660Z] Warning: overwriting stash ‘stack-cost’ [2022-07-19T10:20:18.720Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T10:20:18.730Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T10:20:18.753Z] $ docker stop --time=1 ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e [2022-07-19T10:20:20.242Z] $ docker rm -f ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e [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-19T10:20:20.711Z] provisioning config files... [2022-07-19T10:20:20.719Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config553125180824717057tmp [Pipeline] { [Pipeline] sh [2022-07-19T10:20:21.013Z] + set +x [2022-07-19T10:20:21.013Z] + curl -s https://codecov.io/bash [2022-07-19T10:20:21.013Z] + bash -s -- [2022-07-19T10:20:21.013Z] [2022-07-19T10:20:21.013Z] _____ _ [2022-07-19T10:20:21.013Z] / ____| | | [2022-07-19T10:20:21.013Z] | | ___ __| | ___ ___ _____ __ [2022-07-19T10:20:21.013Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-19T10:20:21.013Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-19T10:20:21.013Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-19T10:20:21.013Z] Bash-1.0.6 [2022-07-19T10:20:21.013Z] [2022-07-19T10:20:21.013Z] [2022-07-19T10:20:21.013Z] ==> git version 2.25.1 found [2022-07-19T10:20:21.013Z] ==> 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-19T10:20:21.013Z] Release-Date: 2020-01-08 [2022-07-19T10:20:21.013Z] 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-19T10:20:21.013Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-19T10:20:21.013Z] ==> Jenkins CI detected. [2022-07-19T10:20:21.013Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-100 [2022-07-19T10:20:21.013Z] project root: . [2022-07-19T10:20:21.013Z] --> token set from env [2022-07-19T10:20:21.013Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-19T10:20:21.013Z] ==> Running gcov in . (disable via -X gcov) [2022-07-19T10:20:21.013Z] ==> Python coveragepy not found [2022-07-19T10:20:21.013Z] ==> Searching for coverage reports in: [2022-07-19T10:20:21.013Z] + . [2022-07-19T10:20:21.274Z] -> Found 1 reports [2022-07-19T10:20:21.274Z] ==> Detecting git/mercurial file structure [2022-07-19T10:20:21.274Z] ==> Reading reports [2022-07-19T10:20:21.274Z] + ./coverage.out bytes=70262 [2022-07-19T10:20:21.274Z] ==> Appending adjustments [2022-07-19T10:20:21.275Z] https://docs.codecov.io/docs/fixing-reports [2022-07-19T10:20:21.275Z] + Found adjustments [2022-07-19T10:20:21.275Z] ==> Gzipping contents [2022-07-19T10:20:21.275Z] 12K /tmp/codecov.uPx7WS.gz [2022-07-19T10:20:21.275Z] ==> Uploading reports [2022-07-19T10:20:21.275Z] url: https://codecov.io [2022-07-19T10:20:21.275Z] query: branch=PR-100&commit=2f30201d05cab50f648b01fd43d4ce7e7a560d7e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-19T10:20:21.275Z] -> Pinging Codecov [2022-07-19T10:20:21.275Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=2f30201d05cab50f648b01fd43d4ce7e7a560d7e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-19T10:20:21.846Z] -> Uploading to [2022-07-19T10:20:21.846Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-19/F29A59C45E3A92E06B3E522C9905F8EF/2f30201d05cab50f648b01fd43d4ce7e7a560d7e/1a0c0a59-9b48-4cd3-baf5-167413906ddb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T102021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7695f9c362312354d0a2ec92fa0cd3076ec6139c85a38efffa4d49b36d0f47b7 [2022-07-19T10:20:21.846Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T10:20:21.846Z] Dload Upload Total Spent Left Speed [2022-07-19T10:20:21.846Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9535 0 0 100 9535 0 38447 --:--:-- --:--:-- --:--:-- 38447 [2022-07-19T10:20:21.846Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] } [2022-07-19T10:20:21.855Z] 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-19T10:20:22.585Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] [2022-07-19T10:20:22.585Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-19T10:20:22.585Z] total 16 [2022-07-19T10:20:22.585Z] drwxr-xr-x 3 root root 4096 Jul 19 10:12 . [2022-07-19T10:20:22.585Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:12 .. [2022-07-19T10:20:22.585Z] drwxr-xr-x 2 root root 4096 Jul 19 10:12 cost [2022-07-19T10:20:22.585Z] -rw-r--r-- 1 root root 90 Jul 19 10:12 cost.csv [2022-07-19T10:20:22.585Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-19T10:20:22.585Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-19T10:20:22.585Z] total 16 [2022-07-19T10:20:22.585Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:12 . [2022-07-19T10:20:22.585Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:12 .. [2022-07-19T10:20:22.585Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 10:12 cost [2022-07-19T10:20:22.585Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 19 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:22.876Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:23.745Z] ---> package-listing.sh [2022-07-19T10:20:23.745Z] ++ facter osfamily [2022-07-19T10:20:23.745Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-19T10:20:24.007Z] + OS_FAMILY=debian [2022-07-19T10:20:24.007Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-100 [2022-07-19T10:20:24.007Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-19T10:20:24.007Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-19T10:20:24.007Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-19T10:20:24.007Z] + PACKAGES=/tmp/packages_start.txt [2022-07-19T10:20:24.007Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-19T10:20:24.007Z] + PACKAGES=/tmp/packages_end.txt [2022-07-19T10:20:24.007Z] + case "${OS_FAMILY}" in [2022-07-19T10:20:24.007Z] + dpkg -l [2022-07-19T10:20:24.007Z] + grep '^ii' [2022-07-19T10:20:24.007Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-19T10:20:24.007Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-19T10:20:24.007Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-19T10:20:24.007Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-19T10:20:24.007Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ [2022-07-19T10:20:24.007Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo [2022-07-19T10:20:24.019Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-19T10:20:24.300Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:20:24.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:20:24.877Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:20:24.964Z] prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container [2022-07-19T10:20:24.997Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T10:20:25.919Z] $ docker top f0d672bc0ba7dffb5f14daacc6390875ff186e87a8984e25b7862448dab92d87 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:20:26.282Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-19T10:20:26.572Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-19T10:20:26.864Z] + ls /var/log/sa-host [2022-07-19T10:20:26.864Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:20:27.018Z] provisioning config files... [2022-07-19T10:20:27.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config6965639632339528003tmp [Pipeline] { [Pipeline] echo [2022-07-19T10:20:27.043Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:27.332Z] ---> create-netrc.sh [Pipeline] } [2022-07-19T10:20:27.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:27.677Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-19T10:20:27.687Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:27.975Z] ---> sudo-logs.sh [2022-07-19T10:20:27.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-19T10:20:27.998Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:28.283Z] ---> job-cost.sh [2022-07-19T10:20:28.283Z] lf-activate-venv: SKIPPING [2022-07-19T10:20:28.283Z] DEBUG: total: 0.2199999988079071 [2022-07-19T10:20:28.283Z] INFO: Retrieving Stack Cost... [2022-07-19T10:20:28.858Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T10:20:29.119Z] INFO: Archiving Costs [Pipeline] echo [2022-07-19T10:20:29.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:20:29.418Z] ---> logs-deploy.sh [2022-07-19T10:20:29.418Z] lf-activate-venv: SKIPPING [2022-07-19T10:20:29.418Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/7 [2022-07-19T10:20:29.418Z] INFO: archiving workspace using pattern(s): [2022-07-19T10:20:30.361Z] Archives upload complete. [2022-07-19T10:20:30.361Z] INFO: archiving logs to Nexus