Pull request #87 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0a79c5a718067479237195976121108915350925 rather than 7f56b5113b5ae1679364fc43f06d5c542e86837a Obtained Jenkinsfile from 0a79c5a718067479237195976121108915350925 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-ssh13561803641169528731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16181248203512267919.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11405636057149111137.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16519890333841890871.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12328586366098640535.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org 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-15360 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # 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 0a79c5a718067479237195976121108915350925 into PR head commit 7f56b5113b5ae1679364fc43f06d5c542e86837a Merge succeeded, producing cacb719a86f94e75b419a224d188fa145f7dd089 Checking out Revision cacb719a86f94e75b419a224d188fa145f7dd089 (PR-87) > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f56b5113b5ae1679364fc43f06d5c542e86837a # 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 0a79c5a718067479237195976121108915350925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cacb719a86f94e75b419a224d188fa145f7dd089 # timeout=10 Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-22T21:15:37.315Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-22T21:15:37.366Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-22T21:15:37.376Z] ========================================================= [2022-06-22T21:15:37.376Z] EdgeX Global Pipelines Version Info [2022-06-22T21:15:37.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7931f8e154631ed48b200fac8e7b00a28d528417 # timeout=10 [2022-06-22T21:15:38.127Z] ------------------- [2022-06-22T21:15:38.127Z] stable info: [2022-06-22T21:15:38.127Z] ------------------- [2022-06-22T21:15:38.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-22T21:15:38.127Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T21:15:38.127Z] Message: update stable to v1.0.234 [2022-06-22T21:15:38.700Z] ------------------- [2022-06-22T21:15:38.700Z] experimental info: [2022-06-22T21:15:38.700Z] ------------------- [2022-06-22T21:15:38.700Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-22T21:15:38.700Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T21:15:38.700Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-22T21:15:38.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-22T21:15:38.912Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-22T21:15:38.923Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-22T21:15:38.934Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-22T21:15:38.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-22T21:15:38.960Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-22T21:15:38.971Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-22T21:15:38.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-22T21:15:38.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-22T21:15:39.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-22T21:15:39.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-22T21:15:39.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-22T21:15:39.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-22T21:15:39.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-22T21:15:39.080Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-22T21:15:39.091Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-22T21:15:39.103Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T21:15:39.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T21:15:39.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-22T21:15:39.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-22T21:15:39.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-22T21:15:39.170Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-22T21:15:39.183Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-22T21:15:39.195Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-22T21:15:39.208Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-22T21:15:39.225Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-22T21:15:39.238Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-22T21:15:39.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-22T21:15:39.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-22T21:15:39.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-22T21:15:39.287Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cacb719a86f94e75b419a224d188fa145f7dd089 [Pipeline] echo [2022-06-22T21:15:39.303Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cacb719 [Pipeline] echo [2022-06-22T21:15:39.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:15:39.353Z] provisioning config files... [2022-06-22T21:15:39.369Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config2760759083531084381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:15:39.711Z] ---> docker-login.sh [2022-06-22T21:15:39.712Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:15:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:39.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:39.995Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:39.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:39.995Z] [2022-06-22T21:15:39.995Z] Login Succeeded [2022-06-22T21:15:39.995Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:15:40.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:40.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:40.257Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:40.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:40.257Z] [2022-06-22T21:15:40.257Z] Login Succeeded [2022-06-22T21:15:40.257Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:15:40.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:40.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:40.519Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:40.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:40.519Z] [2022-06-22T21:15:40.519Z] Login Succeeded [2022-06-22T21:15:40.519Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:15:40.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:40.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:40.519Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:40.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:40.519Z] [2022-06-22T21:15:40.519Z] Login Succeeded [2022-06-22T21:15:40.519Z] docker.io [2022-06-22T21:15:40.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:41.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:41.044Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:41.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:41.044Z] [2022-06-22T21:15:41.044Z] Login Succeeded [2022-06-22T21:15:41.044Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:15:41.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-22T21:15:41.445Z] + git rev-list -1 --merges cacb719a86f94e75b419a224d188fa145f7dd089~1..cacb719a86f94e75b419a224d188fa145f7dd089 [Pipeline] echo [2022-06-22T21:15:41.572Z] -----------> git rev-list -1 --merges cacb719a86f94e75b419a224d188fa145f7dd089~1..cacb719a86f94e75b419a224d188fa145f7dd089 cacb719a86f94e75b419a224d188fa145f7dd089 [2022-06-22T21:15:41.572Z] cacb719a86f94e75b419a224d188fa145f7dd089 [false] [Pipeline] sh [2022-06-22T21:15:41.878Z] + git log --format=format:%s -1 cacb719a86f94e75b419a224d188fa145f7dd089 [Pipeline] echo [2022-06-22T21:15:41.896Z] ========================================================= [2022-06-22T21:15:41.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-22T21:15:41.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T21:15:42.243Z] + git log --format=format:%s -1 cacb719a86f94e75b419a224d188fa145f7dd089 [Pipeline] echo [2022-06-22T21:15:42.257Z] [semverPrep] GIT_COMMIT: cacb719a86f94e75b419a224d188fa145f7dd089, Commit Message: Merge commit '0a79c5a718067479237195976121108915350925' into HEAD [Pipeline] echo [2022-06-22T21:15:42.268Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-22T21:15:42.638Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-22T21:15:42.638Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-22T21:15:42.638Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-22T21:15:42.638Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-22T21:15:42.638Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-22T21:15:42.638Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-22T21:15:42.638Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:15:43.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:15:43.057Z] [2022-06-22T21:15:43.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:15:43.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:15:43.365Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-22T21:15:43.365Z] 42c077c10790: Pulling fs layer [2022-06-22T21:15:43.365Z] f63e77b7563a: Pulling fs layer [2022-06-22T21:15:43.365Z] bd5fdadae976: Pulling fs layer [2022-06-22T21:15:43.365Z] 205491f53016: Pulling fs layer [2022-06-22T21:15:43.365Z] df18705c85c3: Pulling fs layer [2022-06-22T21:15:43.365Z] bdb3f477010e: Pulling fs layer [2022-06-22T21:15:43.365Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-22T21:15:43.365Z] 2c6e9b1d212d: Pulling fs layer [2022-06-22T21:15:43.365Z] bdb8f0575790: Pulling fs layer [2022-06-22T21:15:43.365Z] 386e3cb2ff24: Pulling fs layer [2022-06-22T21:15:43.365Z] 2343380bae48: Pulling fs layer [2022-06-22T21:15:43.365Z] 386e3cb2ff24: Waiting [2022-06-22T21:15:43.365Z] 2343380bae48: Waiting [2022-06-22T21:15:43.365Z] c8a8fc8e1c8f: Waiting [2022-06-22T21:15:43.365Z] 2c6e9b1d212d: Waiting [2022-06-22T21:15:43.365Z] bdb8f0575790: Waiting [2022-06-22T21:15:43.365Z] 205491f53016: Waiting [2022-06-22T21:15:43.365Z] bdb3f477010e: Waiting [2022-06-22T21:15:43.365Z] f63e77b7563a: Download complete [2022-06-22T21:15:43.365Z] 205491f53016: Verifying Checksum [2022-06-22T21:15:43.365Z] 205491f53016: Download complete [2022-06-22T21:15:43.629Z] df18705c85c3: Verifying Checksum [2022-06-22T21:15:43.629Z] df18705c85c3: Download complete [2022-06-22T21:15:43.629Z] bd5fdadae976: Verifying Checksum [2022-06-22T21:15:43.629Z] bd5fdadae976: Download complete [2022-06-22T21:15:43.629Z] bdb3f477010e: Verifying Checksum [2022-06-22T21:15:43.629Z] bdb3f477010e: Download complete [2022-06-22T21:15:43.629Z] 2c6e9b1d212d: Verifying Checksum [2022-06-22T21:15:43.629Z] 2c6e9b1d212d: Download complete [2022-06-22T21:15:43.629Z] bdb8f0575790: Download complete [2022-06-22T21:15:43.629Z] 386e3cb2ff24: Download complete [2022-06-22T21:15:43.629Z] 2343380bae48: Verifying Checksum [2022-06-22T21:15:43.629Z] 2343380bae48: Download complete [2022-06-22T21:15:43.629Z] 42c077c10790: Verifying Checksum [2022-06-22T21:15:43.629Z] 42c077c10790: Download complete [2022-06-22T21:15:43.890Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-22T21:15:43.890Z] c8a8fc8e1c8f: Download complete [2022-06-22T21:15:45.278Z] 42c077c10790: Pull complete [2022-06-22T21:15:45.278Z] f63e77b7563a: Pull complete [2022-06-22T21:15:45.850Z] bd5fdadae976: Pull complete [2022-06-22T21:15:45.850Z] 205491f53016: Pull complete [2022-06-22T21:15:46.113Z] df18705c85c3: Pull complete [2022-06-22T21:15:46.373Z] bdb3f477010e: Pull complete [2022-06-22T21:15:48.287Z] c8a8fc8e1c8f: Pull complete [2022-06-22T21:15:48.287Z] 2c6e9b1d212d: Pull complete [2022-06-22T21:15:48.549Z] bdb8f0575790: Pull complete [2022-06-22T21:15:48.549Z] 386e3cb2ff24: Pull complete [2022-06-22T21:15:48.811Z] 2343380bae48: Pull complete [2022-06-22T21:15:48.812Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-22T21:15:48.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:15:48.812Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:15:48.918Z] prd-ubuntu20.04-docker-8c-8g-15360 does not seem to be running inside a container [2022-06-22T21:15:48.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-22T21:15:50.372Z] $ docker top 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 -eo pid,comm [2022-06-22T21:15:50.447Z] 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-06-22T21:15:50.447Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-22T21:15:50.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T21:15:50.483Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T21:15:50.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T21:15:50.627Z] $ docker exec 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 ssh-agent [2022-06-22T21:15:50.757Z] SSH_AUTH_SOCK=/tmp/ssh-uyc3DocNbSTK/agent.34 [2022-06-22T21:15:50.757Z] SSH_AGENT_PID=41 [2022-06-22T21:15:50.764Z] Running ssh-add (command line suppressed) [2022-06-22T21:15:50.881Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_624553341782505846.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_624553341782505846.key) [2022-06-22T21:15:50.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T21:15:51.202Z] + git tag --points-at HEAD [Pipeline] } [2022-06-22T21:15:51.223Z] $ docker exec --env ******** --env ******** 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 ssh-agent -k [2022-06-22T21:15:51.346Z] unset SSH_AUTH_SOCK; [2022-06-22T21:15:51.347Z] unset SSH_AGENT_PID; [2022-06-22T21:15:51.347Z] echo Agent pid 41 killed; [2022-06-22T21:15:51.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-22T21:15:51.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T21:15:51.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T21:15:51.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T21:15:51.514Z] $ docker exec 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 ssh-agent [2022-06-22T21:15:51.652Z] SSH_AUTH_SOCK=/tmp/ssh-5boXh01EMPWf/agent.74 [2022-06-22T21:15:51.652Z] SSH_AGENT_PID=80 [2022-06-22T21:15:51.658Z] Running ssh-add (command line suppressed) [2022-06-22T21:15:51.798Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3663533184106151634.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3663533184106151634.key) [2022-06-22T21:15:51.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T21:15:52.114Z] + git semver init [2022-06-22T21:15:52.376Z] 2022-06-22 21:15:52,313 [run_init] DEBUG init version:0.0.0 force:False [2022-06-22T21:15:52.376Z] 2022-06-22 21:15:52,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-22T21:15:52.376Z] 2022-06-22 21:15:52,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-22T21:15:52.376Z] 2022-06-22 21:15:52,314 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,027 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,028 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,028 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,032 [execute] INFO git cat-file --batch-check [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,040 [execute] INFO git cat-file --batch [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T21:15:53.322Z] 2022-06-22 21:15:53,047 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-22T21:15:53.322Z] 0.0.0 [Pipeline] } [2022-06-22T21:15:53.331Z] $ docker exec --env ******** --env ******** 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 ssh-agent -k [2022-06-22T21:15:53.456Z] unset SSH_AUTH_SOCK; [2022-06-22T21:15:53.456Z] unset SSH_AGENT_PID; [2022-06-22T21:15:53.456Z] echo Agent pid 80 killed; [2022-06-22T21:15:53.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-22T21:15:53.776Z] + git semver [Pipeline] } [2022-06-22T21:15:54.049Z] $ docker stop --time=1 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 [2022-06-22T21:15:55.371Z] $ docker rm -f 16b1a9015afd1caf2b5066c11a23c75b4285aaacccc29eae9627364055ebf5d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T21:15:55.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-22T21:15:55.980Z] Stashed 1 file(s) [Pipeline] echo [2022-06-22T21:15:55.983Z] [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-06-22T21:15:56.087Z] provisioning config files... [2022-06-22T21:15:56.097Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config2492471911032953297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:15:56.395Z] ---> docker-login.sh [2022-06-22T21:15:56.395Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:15:56.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:56.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:56.395Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:56.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:56.395Z] [2022-06-22T21:15:56.395Z] Login Succeeded [2022-06-22T21:15:56.395Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:15:56.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:56.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:56.657Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:56.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:56.657Z] [2022-06-22T21:15:56.657Z] Login Succeeded [2022-06-22T21:15:56.657Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:15:56.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:56.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:56.657Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:56.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:56.657Z] [2022-06-22T21:15:56.657Z] Login Succeeded [2022-06-22T21:15:56.657Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:15:56.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:56.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:56.920Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:56.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:56.920Z] [2022-06-22T21:15:56.920Z] Login Succeeded [2022-06-22T21:15:56.920Z] docker.io [2022-06-22T21:15:56.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:15:57.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:15:57.496Z] Configure a credential helper to remove this warning. See [2022-06-22T21:15:57.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:15:57.496Z] [2022-06-22T21:15:57.496Z] Login Succeeded [2022-06-22T21:15:57.496Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:15:57.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T21:15:57.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:15:57.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:15:57.603Z] ========================================================= [2022-06-22T21:15:57.603Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-22T21:15:57.603Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:15:57.922Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-22T21:15:57.922Z] Sending build context to Docker daemon 8.817MB [2022-06-22T21:15:57.922Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:15:57.922Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-22T21:15:57.922Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-22T21:15:57.922Z] 59bf1c3509f3: Pulling fs layer [2022-06-22T21:15:57.922Z] 666ba61612fd: Pulling fs layer [2022-06-22T21:15:57.922Z] 8ed8ca486205: Pulling fs layer [2022-06-22T21:15:57.922Z] cc1cd167ecdc: Pulling fs layer [2022-06-22T21:15:57.922Z] c516ae0d96e1: Pulling fs layer [2022-06-22T21:15:57.922Z] 684cea983483: Pulling fs layer [2022-06-22T21:15:57.922Z] dd3240ac7de5: Pulling fs layer [2022-06-22T21:15:57.922Z] b1e948a4e11c: Pulling fs layer [2022-06-22T21:15:57.922Z] a8fd76ee1af6: Pulling fs layer [2022-06-22T21:15:57.922Z] 646ad004c059: Pulling fs layer [2022-06-22T21:15:57.922Z] 684cea983483: Waiting [2022-06-22T21:15:57.922Z] b1e948a4e11c: Waiting [2022-06-22T21:15:57.922Z] a8fd76ee1af6: Waiting [2022-06-22T21:15:57.922Z] 646ad004c059: Waiting [2022-06-22T21:15:57.922Z] dd3240ac7de5: Waiting [2022-06-22T21:15:57.922Z] cc1cd167ecdc: Waiting [2022-06-22T21:15:57.922Z] c516ae0d96e1: Waiting [2022-06-22T21:15:58.187Z] 8ed8ca486205: Download complete [2022-06-22T21:15:58.187Z] 666ba61612fd: Verifying Checksum [2022-06-22T21:15:58.187Z] 666ba61612fd: Download complete [2022-06-22T21:15:58.187Z] c516ae0d96e1: Verifying Checksum [2022-06-22T21:15:58.187Z] c516ae0d96e1: Download complete [2022-06-22T21:15:58.187Z] 684cea983483: Verifying Checksum [2022-06-22T21:15:58.187Z] dd3240ac7de5: Verifying Checksum [2022-06-22T21:15:58.187Z] dd3240ac7de5: Download complete [2022-06-22T21:15:58.187Z] 59bf1c3509f3: Verifying Checksum [2022-06-22T21:15:58.187Z] 59bf1c3509f3: Download complete [2022-06-22T21:15:58.187Z] b1e948a4e11c: Verifying Checksum [2022-06-22T21:15:58.187Z] b1e948a4e11c: Download complete [2022-06-22T21:15:58.187Z] 59bf1c3509f3: Pull complete [2022-06-22T21:15:58.460Z] 666ba61612fd: Pull complete [2022-06-22T21:15:58.460Z] 8ed8ca486205: Pull complete [2022-06-22T21:15:59.035Z] cc1cd167ecdc: Verifying Checksum [2022-06-22T21:15:59.035Z] cc1cd167ecdc: Download complete [2022-06-22T21:15:59.035Z] a8fd76ee1af6: Verifying Checksum [2022-06-22T21:15:59.035Z] a8fd76ee1af6: Download complete [2022-06-22T21:15:59.035Z] 646ad004c059: Verifying Checksum [2022-06-22T21:15:59.035Z] 646ad004c059: Download complete [2022-06-22T21:16:03.237Z] cc1cd167ecdc: Pull complete [2022-06-22T21:16:03.237Z] c516ae0d96e1: Pull complete [2022-06-22T21:16:03.237Z] 684cea983483: Pull complete [2022-06-22T21:16:03.237Z] dd3240ac7de5: Pull complete [2022-06-22T21:16:03.237Z] b1e948a4e11c: Pull complete [2022-06-22T21:16:05.776Z] a8fd76ee1af6: Pull complete [2022-06-22T21:16:06.351Z] 646ad004c059: Pull complete [2022-06-22T21:16:06.351Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-22T21:16:06.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-22T21:16:06.351Z] ---> 8f69c11f6b0c [2022-06-22T21:16:06.351Z] Step 3/13 : ARG MAKE="make build" [2022-06-22T21:16:08.267Z] ---> Running in c2d78f7cec41 [2022-06-22T21:16:08.267Z] Removing intermediate container c2d78f7cec41 [2022-06-22T21:16:08.267Z] ---> 0664f041a06c [2022-06-22T21:16:08.267Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-22T21:16:08.267Z] ---> Running in ec139bf1fe56 [2022-06-22T21:16:08.267Z] Removing intermediate container ec139bf1fe56 [2022-06-22T21:16:08.267Z] ---> da8091796a00 [2022-06-22T21:16:08.267Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:16:08.267Z] ---> Running in 1c3886fe4118 [2022-06-22T21:16:08.267Z] Removing intermediate container 1c3886fe4118 [2022-06-22T21:16:08.267Z] ---> f1d2aee1bdec [2022-06-22T21:16:08.267Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-22T21:16:08.267Z] ---> Running in c9ea8e87a15c [2022-06-22T21:16:08.267Z] Removing intermediate container c9ea8e87a15c [2022-06-22T21:16:08.267Z] ---> fc7ecf86a45b [2022-06-22T21:16:08.267Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:16:08.267Z] ---> Running in 06e16c525173 [2022-06-22T21:16:08.843Z] Removing intermediate container 06e16c525173 [2022-06-22T21:16:08.843Z] ---> 25915f8145e5 [2022-06-22T21:16:08.843Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:16:09.108Z] ---> Running in d25a11c1d5b0 [2022-06-22T21:16:09.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T21:16:10.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T21:16:10.311Z] OK: 221 MiB in 52 packages [2022-06-22T21:16:10.886Z] Removing intermediate container d25a11c1d5b0 [2022-06-22T21:16:10.886Z] ---> 064957d89ecf [2022-06-22T21:16:10.886Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-22T21:16:10.886Z] ---> Running in 282e20ff53ee [2022-06-22T21:16:10.886Z] Removing intermediate container 282e20ff53ee [2022-06-22T21:16:10.886Z] ---> 6d8a97065cb2 [2022-06-22T21:16:10.886Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-22T21:16:10.886Z] ---> fa22a06b3f42 [2022-06-22T21:16:10.886Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:16:11.055Z] Still waiting to schedule task [2022-06-22T21:16:11.055Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-22T21:16:11.147Z] ---> Running in 35984d142b17 [2022-06-22T21:16:29.285Z] Removing intermediate container 35984d142b17 [2022-06-22T21:16:29.285Z] ---> 84fe60c59e16 [2022-06-22T21:16:29.285Z] Step 12/13 : COPY . . [2022-06-22T21:16:29.285Z] ---> 49bc12b36e07 [2022-06-22T21:16:29.285Z] Step 13/13 : RUN ${MAKE} [2022-06-22T21:16:29.285Z] ---> Running in 67c6ff1d8970 [2022-06-22T21:16:29.285Z] noop [2022-06-22T21:16:29.285Z] Removing intermediate container 67c6ff1d8970 [2022-06-22T21:16:29.285Z] ---> d5f59cfd750f [2022-06-22T21:16:29.285Z] Successfully built d5f59cfd750f [2022-06-22T21:16:29.285Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:16:29.619Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T21:16:29.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:16:29.718Z] prd-ubuntu20.04-docker-8c-8g-15360 does not seem to be running inside a container [2022-06-22T21:16:29.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-22T21:16:30.186Z] $ docker top 4c4a0282caca06f90b45a086fa8ea3ae83f91d4cf86473578db7c8c597e0edf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:16:30.555Z] + go version [2022-06-22T21:16:30.555Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-22T21:16:30.573Z] $ docker stop --time=1 4c4a0282caca06f90b45a086fa8ea3ae83f91d4cf86473578db7c8c597e0edf6 [2022-06-22T21:16:31.864Z] $ docker rm -f 4c4a0282caca06f90b45a086fa8ea3ae83f91d4cf86473578db7c8c597e0edf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:16:32.294Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T21:16:32.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:16:32.386Z] prd-ubuntu20.04-docker-8c-8g-15360 does not seem to be running inside a container [2022-06-22T21:16:32.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-22T21:16:32.830Z] $ docker top c7bf17db30d7d87073efbf5e3b10528a5e2cd658e701c4c77468a0305d5b9a0c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T21:16:33.230Z] + make test [2022-06-22T21:16:33.230Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-22T21:16:33.525Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-22T21:16:43.611Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-22T21:16:43.611Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 4.6% of statements [2022-06-22T21:16:48.904Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.432s coverage: 13.8% of statements [2022-06-22T21:16:57.035Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T21:17:00.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T21:17:00.591Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T21:17:00.591Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-22T21:17:01.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T21:17:01.195Z] $ docker stop --time=1 c7bf17db30d7d87073efbf5e3b10528a5e2cd658e701c4c77468a0305d5b9a0c [2022-06-22T21:17:03.002Z] $ docker rm -f c7bf17db30d7d87073efbf5e3b10528a5e2cd658e701c4c77468a0305d5b9a0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T21:17:03.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T21:17:03.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-22T21:17:04.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-22T21:17:04.414Z] + ls -al . [2022-06-22T21:17:04.414Z] total 240 [2022-06-22T21:17:04.414Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 21:17 . [2022-06-22T21:17:04.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:15 .. [2022-06-22T21:17:04.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 21:15 .git [2022-06-22T21:17:04.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 21:15 .github [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 22 21:15 .gitignore [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 21:15 .golangci.yml [2022-06-22T21:17:04.414Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 21:15 .semver [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 22 21:15 Attribution.txt [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 22 21:15 CHANGELOG.md [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 22 21:15 Dockerfile [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 21:15 GOVERNANCE.md [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 22 21:15 Jenkinsfile [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 22 21:15 LICENSE [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 22 21:15 Makefile [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 22 21:15 OWNERS.md [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 22 21:15 README.md [2022-06-22T21:17:04.414Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 21:15 VERSION [2022-06-22T21:17:04.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 21:15 bin [2022-06-22T21:17:04.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 21:15 cmd [2022-06-22T21:17:04.414Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 22 21:16 coverage.out [2022-06-22T21:17:04.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:15 doc [2022-06-22T21:17:04.415Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 22 21:15 go.mod [2022-06-22T21:17:04.415Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 22 21:15 go.sum [2022-06-22T21:17:04.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:15 internal [2022-06-22T21:17:04.415Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 22 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:17:04.728Z] + 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=cacb719a86f94e75b419a224d188fa145f7dd089 --label arch=amd64 --label version=0.0.0 . [2022-06-22T21:17:04.728Z] Sending build context to Docker daemon 8.881MB [2022-06-22T21:17:04.728Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:17:04.728Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-22T21:17:04.728Z] ---> d5f59cfd750f [2022-06-22T21:17:04.728Z] Step 3/26 : ARG MAKE="make build" [2022-06-22T21:17:04.728Z] ---> Running in 2a12c7666273 [2022-06-22T21:17:04.989Z] Removing intermediate container 2a12c7666273 [2022-06-22T21:17:04.989Z] ---> 6503b33c320a [2022-06-22T21:17:04.989Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-22T21:17:04.989Z] ---> Running in c147f94cdece [2022-06-22T21:17:04.989Z] Removing intermediate container c147f94cdece [2022-06-22T21:17:04.989Z] ---> 047e81afcaea [2022-06-22T21:17:04.989Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:17:04.989Z] ---> Running in 9ef51023cda8 [2022-06-22T21:17:05.249Z] Removing intermediate container 9ef51023cda8 [2022-06-22T21:17:05.249Z] ---> 38dd5c3dfbc8 [2022-06-22T21:17:05.249Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-22T21:17:05.249Z] ---> Running in d3add947989f [2022-06-22T21:17:05.249Z] Removing intermediate container d3add947989f [2022-06-22T21:17:05.249Z] ---> 90177fb16681 [2022-06-22T21:17:05.249Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:17:05.249Z] ---> Running in 2c3f6afc3464 [2022-06-22T21:17:05.820Z] Removing intermediate container 2c3f6afc3464 [2022-06-22T21:17:05.820Z] ---> 9521c6ed3c71 [2022-06-22T21:17:05.820Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:17:06.081Z] ---> Running in 5e9f622f92a1 [2022-06-22T21:17:06.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T21:17:07.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T21:17:07.297Z] OK: 221 MiB in 52 packages [2022-06-22T21:17:07.871Z] Removing intermediate container 5e9f622f92a1 [2022-06-22T21:17:07.871Z] ---> f23469d45f8a [2022-06-22T21:17:07.871Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-22T21:17:07.871Z] ---> Running in 2825d21c1b11 [2022-06-22T21:17:07.871Z] Removing intermediate container 2825d21c1b11 [2022-06-22T21:17:07.871Z] ---> 7f8ca9e5a78b [2022-06-22T21:17:07.871Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-22T21:17:08.131Z] ---> 6e30357bf8d1 [2022-06-22T21:17:08.131Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:17:08.131Z] ---> Running in b45d83d0d870 [2022-06-22T21:17:08.702Z] Removing intermediate container b45d83d0d870 [2022-06-22T21:17:08.702Z] ---> afbf72ae74f3 [2022-06-22T21:17:08.702Z] Step 12/26 : COPY . . [2022-06-22T21:17:09.272Z] ---> e13a807893e9 [2022-06-22T21:17:09.272Z] Step 13/26 : RUN ${MAKE} [2022-06-22T21:17:09.272Z] ---> Running in 97c6c077666a [2022-06-22T21:17:09.533Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-22T21:17:31.487Z] Removing intermediate container 97c6c077666a [2022-06-22T21:17:31.487Z] ---> 89fc160426b3 [2022-06-22T21:17:31.487Z] Step 14/26 : FROM alpine:3.15 [2022-06-22T21:17:31.487Z] 3.15: Pulling from library/alpine [2022-06-22T21:17:31.487Z] df9b9388f04a: Pulling fs layer [2022-06-22T21:17:31.487Z] df9b9388f04a: Verifying Checksum [2022-06-22T21:17:31.487Z] df9b9388f04a: Download complete [2022-06-22T21:17:31.487Z] df9b9388f04a: Pull complete [2022-06-22T21:17:31.487Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-22T21:17:31.487Z] Status: Downloaded newer image for alpine:3.15 [2022-06-22T21:17:31.487Z] ---> 0ac33e5f5afa [2022-06-22T21:17:31.487Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-22T21:17:31.487Z] ---> Running in 21fc5ae21ef8 [2022-06-22T21:17:31.487Z] Removing intermediate container 21fc5ae21ef8 [2022-06-22T21:17:31.487Z] ---> 9c42dfad6746 [2022-06-22T21:17:31.487Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-22T21:17:31.487Z] ---> Running in db660bb3cdce [2022-06-22T21:17:31.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T21:17:31.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T21:17:31.487Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-22T21:17:31.487Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-22T21:17:31.487Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-22T21:17:31.487Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-22T21:17:31.487Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-22T21:17:31.487Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-22T21:17:31.487Z] Executing busybox-1.34.1-r5.trigger [2022-06-22T21:17:31.487Z] OK: 8 MiB in 20 packages [2022-06-22T21:17:31.487Z] Removing intermediate container db660bb3cdce [2022-06-22T21:17:31.487Z] ---> 6bb54038b21c [2022-06-22T21:17:31.487Z] Step 17/26 : WORKDIR / [2022-06-22T21:17:31.487Z] ---> Running in 97a8caf3dac9 [2022-06-22T21:17:31.487Z] Removing intermediate container 97a8caf3dac9 [2022-06-22T21:17:31.487Z] ---> eb450fefe068 [2022-06-22T21:17:31.487Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-22T21:17:32.062Z] ---> 5476ca509a6a [2022-06-22T21:17:32.062Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-22T21:17:32.062Z] ---> e9db7de65488 [2022-06-22T21:17:32.062Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-22T21:17:32.322Z] ---> 815105b44710 [2022-06-22T21:17:32.322Z] Step 21/26 : EXPOSE 59984 [2022-06-22T21:17:32.322Z] ---> Running in 52aa073f7cc2 [2022-06-22T21:17:32.322Z] Removing intermediate container 52aa073f7cc2 [2022-06-22T21:17:32.322Z] ---> ef76ae8be587 [2022-06-22T21:17:32.323Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-22T21:17:32.323Z] ---> Running in 79ed57c0d43f [2022-06-22T21:17:32.582Z] Removing intermediate container 79ed57c0d43f [2022-06-22T21:17:32.582Z] ---> 1edba5ae7b4a [2022-06-22T21:17:32.582Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-22T21:17:32.582Z] ---> Running in c04afd29cc8c [2022-06-22T21:17:32.582Z] Removing intermediate container c04afd29cc8c [2022-06-22T21:17:32.582Z] ---> a74c73d199aa [2022-06-22T21:17:32.582Z] Step 24/26 : LABEL arch=amd64 [2022-06-22T21:17:32.582Z] ---> Running in ad3e4f861a2a [2022-06-22T21:17:32.842Z] Removing intermediate container ad3e4f861a2a [2022-06-22T21:17:32.842Z] ---> 246de7cd48a7 [2022-06-22T21:17:32.842Z] Step 25/26 : LABEL git_sha=cacb719a86f94e75b419a224d188fa145f7dd089 [2022-06-22T21:17:32.842Z] ---> Running in 2e65b342be2b [2022-06-22T21:17:32.842Z] Removing intermediate container 2e65b342be2b [2022-06-22T21:17:32.842Z] ---> 7fc327dc2eb9 [2022-06-22T21:17:32.842Z] Step 26/26 : LABEL version=0.0.0 [2022-06-22T21:17:32.842Z] ---> Running in a0b971918905 [2022-06-22T21:17:33.103Z] Removing intermediate container a0b971918905 [2022-06-22T21:17:33.103Z] ---> c97a7ce681cd [2022-06-22T21:17:33.103Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-22T21:17:33.103Z] Successfully built c97a7ce681cd [2022-06-22T21:17:33.103Z] 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-06-22T21:17:33.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:17:33.600Z] [2022-06-22T21:17:33.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:17:33.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:17:33.906Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-22T21:17:33.906Z] 5eb5b503b376: Pulling fs layer [2022-06-22T21:17:33.906Z] 5c69ac0246d0: Pulling fs layer [2022-06-22T21:17:33.906Z] ec43610c2a17: Pulling fs layer [2022-06-22T21:17:33.906Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-22T21:17:33.906Z] 33b1e0a273af: Pulling fs layer [2022-06-22T21:17:33.906Z] 5d3b04190fa2: Pulling fs layer [2022-06-22T21:17:33.906Z] 2f39f015ded8: Pulling fs layer [2022-06-22T21:17:33.906Z] 5d3b04190fa2: Waiting [2022-06-22T21:17:33.906Z] 2f39f015ded8: Waiting [2022-06-22T21:17:33.906Z] 3a2ae6a8a46f: Waiting [2022-06-22T21:17:33.906Z] 5c69ac0246d0: Download complete [2022-06-22T21:17:33.906Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-22T21:17:33.906Z] 3a2ae6a8a46f: Download complete [2022-06-22T21:17:33.906Z] 33b1e0a273af: Verifying Checksum [2022-06-22T21:17:33.906Z] 33b1e0a273af: Download complete [2022-06-22T21:17:34.166Z] 5d3b04190fa2: Verifying Checksum [2022-06-22T21:17:34.166Z] 5d3b04190fa2: Download complete [2022-06-22T21:17:34.166Z] ec43610c2a17: Verifying Checksum [2022-06-22T21:17:34.166Z] 5eb5b503b376: Verifying Checksum [2022-06-22T21:17:34.166Z] 5eb5b503b376: Download complete [2022-06-22T21:17:34.735Z] 2f39f015ded8: Download complete [2022-06-22T21:17:35.304Z] 5eb5b503b376: Pull complete [2022-06-22T21:17:35.565Z] 5c69ac0246d0: Pull complete [2022-06-22T21:17:36.135Z] ec43610c2a17: Pull complete [2022-06-22T21:17:36.135Z] 3a2ae6a8a46f: Pull complete [2022-06-22T21:17:36.397Z] 33b1e0a273af: Pull complete [2022-06-22T21:17:36.397Z] 5d3b04190fa2: Pull complete [2022-06-22T21:17:41.679Z] 2f39f015ded8: Pull complete [2022-06-22T21:17:41.679Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-22T21:17:41.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:17:41.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:17:41.778Z] prd-ubuntu20.04-docker-8c-8g-15360 does not seem to be running inside a container [2022-06-22T21:17:41.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-22T21:17:43.467Z] $ docker top 1d1fa44e9fa2915c5385a0a09254e214ea2d2ac33355b2ed092a7cf5dd4e1428 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:17:43.872Z] ---> job-cost.sh [2022-06-22T21:17:43.872Z] lf-activate-venv: SKIPPING [2022-06-22T21:17:43.872Z] INFO: No Stack... [2022-06-22T21:17:44.443Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T21:17:44.707Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T21:17:44.998Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-22T21:17:44.998Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T21:17:45.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [2022-06-22T21:17:45.015Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] did not exist. Created. [2022-06-22T21:17:45.015Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T21:17:45.325Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-22T21:17:45.356Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T21:17:45.361Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T21:17:45.386Z] $ docker stop --time=1 1d1fa44e9fa2915c5385a0a09254e214ea2d2ac33355b2ed092a7cf5dd4e1428 [2022-06-22T21:17:46.569Z] $ docker rm -f 1d1fa44e9fa2915c5385a0a09254e214ea2d2ac33355b2ed092a7cf5dd4e1428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-22T21:17:50.297Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15361 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-22T21:17:50.311Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-06-22T21:17:50.349Z] Selected Git installation does not exist. Using Default [2022-06-22T21:17:50.349Z] The recommended git tool is: NONE [2022-06-22T21:17:56.027Z] using credential edgex-jenkins-ssh [2022-06-22T21:17:56.044Z] Cloning the remote Git repository [2022-06-22T21:17:56.098Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-22T21:17:56.168Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-06-22T21:17:56.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-22T21:17:56.248Z] > git --version # timeout=10 [2022-06-22T21:17:56.267Z] > git --version # 'git version 2.25.1' [2022-06-22T21:17:56.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:17:56.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T21:17:57.809Z] Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit 7f56b5113b5ae1679364fc43f06d5c542e86837a [2022-06-22T21:17:57.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-22T21:17:57.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T21:17:57.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-22T21:17:57.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-22T21:17:57.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:17:57.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-22T21:17:57.829Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T21:17:57.854Z] > git checkout -f 7f56b5113b5ae1679364fc43f06d5c542e86837a # timeout=10 [2022-06-22T21:17:58.167Z] Merge succeeded, producing eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 [2022-06-22T21:17:58.168Z] Checking out Revision eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 (PR-87) [2022-06-22T21:17:57.983Z] > git remote # timeout=10 [2022-06-22T21:17:57.999Z] > git config --get remote.origin.url # timeout=10 [2022-06-22T21:17:58.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:17:58.024Z] > git merge 0a79c5a718067479237195976121108915350925 # timeout=10 [2022-06-22T21:17:58.152Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-22T21:17:58.175Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T21:17:58.188Z] > git checkout -f eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 # timeout=10 [2022-06-22T21:18:02.304Z] Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" [2022-06-22T21:18:02.331Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T21:18:03.220Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-22T21:18:03.220Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T21:18:03.220Z] Dload Upload Total Spent Left Speed [2022-06-22T21:18:03.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12253 97 11881 0 0 76160 0 --:--:-- --:--:-- --:--:-- 76160 100 12253 100 12253 0 0 78044 0 --:--:-- --:--:-- --:--:-- 77550 [Pipeline] sh [2022-06-22T21:18:02.314Z] > git rev-list --no-walk 7931f8e154631ed48b200fac8e7b00a28d528417 # timeout=10 [2022-06-22T21:18:03.907Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-22T21:18:04.242Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-22T21:18:04.242Z] + sudo tee /etc/docker/daemon.new [2022-06-22T21:18:04.242Z] { [2022-06-22T21:18:04.242Z] "registry-mirrors": [ [2022-06-22T21:18:04.242Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-22T21:18:04.242Z] ], [2022-06-22T21:18:04.242Z] "bip": "10.250.0.254/24", [2022-06-22T21:18:04.242Z] "hosts": [ [2022-06-22T21:18:04.242Z] "tcp://0.0.0.0:5555", [2022-06-22T21:18:04.242Z] "unix:///var/run/docker.sock" [2022-06-22T21:18:04.242Z] ], [2022-06-22T21:18:04.242Z] "mtu": 1458, [2022-06-22T21:18:04.242Z] "selinux-enabled": true, [2022-06-22T21:18:04.242Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-22T21:18:04.242Z] } [Pipeline] sh [2022-06-22T21:18:04.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-22T21:18:04.921Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:18:23.254Z] provisioning config files... [2022-06-22T21:18:23.277Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config432213991391933501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:18:23.627Z] ---> docker-login.sh [2022-06-22T21:18:23.627Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:18:24.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:18:24.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:18:24.499Z] Configure a credential helper to remove this warning. See [2022-06-22T21:18:24.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:18:24.499Z] [2022-06-22T21:18:24.499Z] Login Succeeded [2022-06-22T21:18:24.499Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:18:24.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:18:24.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:18:24.774Z] Configure a credential helper to remove this warning. See [2022-06-22T21:18:24.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:18:24.774Z] [2022-06-22T21:18:24.774Z] Login Succeeded [2022-06-22T21:18:24.774Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:18:25.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:18:25.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:18:25.374Z] Configure a credential helper to remove this warning. See [2022-06-22T21:18:25.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:18:25.374Z] [2022-06-22T21:18:25.374Z] Login Succeeded [2022-06-22T21:18:25.374Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:18:25.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:18:25.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:18:25.648Z] Configure a credential helper to remove this warning. See [2022-06-22T21:18:25.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:18:25.648Z] [2022-06-22T21:18:25.648Z] Login Succeeded [2022-06-22T21:18:25.922Z] docker.io [2022-06-22T21:18:26.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:18:26.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:18:26.467Z] Configure a credential helper to remove this warning. See [2022-06-22T21:18:26.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:18:26.467Z] [2022-06-22T21:18:26.467Z] Login Succeeded [2022-06-22T21:18:26.467Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:18:26.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T21:18:26.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:18:26.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:18:26.970Z] ========================================================= [2022-06-22T21:18:26.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-22T21:18:26.970Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:18:27.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-22T21:18:27.597Z] Sending build context to Docker daemon 6.03MB [2022-06-22T21:18:27.873Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:18:27.873Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-22T21:18:27.873Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-22T21:18:27.873Z] 9b3977197b4f: Pulling fs layer [2022-06-22T21:18:27.873Z] 1a89e8eeedd5: Pulling fs layer [2022-06-22T21:18:27.873Z] 94645a83ff95: Pulling fs layer [2022-06-22T21:18:27.873Z] e6fb740bc735: Pulling fs layer [2022-06-22T21:18:27.873Z] 3a77bd46dcc9: Pulling fs layer [2022-06-22T21:18:27.873Z] 355e64cbe906: Pulling fs layer [2022-06-22T21:18:27.873Z] 63ab81a10011: Pulling fs layer [2022-06-22T21:18:27.873Z] 555d1d1c4555: Pulling fs layer [2022-06-22T21:18:27.873Z] 7d9057610161: Pulling fs layer [2022-06-22T21:18:27.873Z] e6fb740bc735: Waiting [2022-06-22T21:18:27.873Z] 3a77bd46dcc9: Waiting [2022-06-22T21:18:27.873Z] 355e64cbe906: Waiting [2022-06-22T21:18:27.873Z] 63ab81a10011: Waiting [2022-06-22T21:18:27.873Z] 555d1d1c4555: Waiting [2022-06-22T21:18:27.873Z] 7d9057610161: Waiting [2022-06-22T21:18:27.873Z] 94645a83ff95: Verifying Checksum [2022-06-22T21:18:27.873Z] 94645a83ff95: Download complete [2022-06-22T21:18:27.873Z] 1a89e8eeedd5: Download complete [2022-06-22T21:18:27.873Z] 3a77bd46dcc9: Verifying Checksum [2022-06-22T21:18:27.873Z] 3a77bd46dcc9: Download complete [2022-06-22T21:18:27.873Z] 355e64cbe906: Verifying Checksum [2022-06-22T21:18:27.873Z] 355e64cbe906: Download complete [2022-06-22T21:18:27.873Z] 9b3977197b4f: Download complete [2022-06-22T21:18:28.152Z] 63ab81a10011: Verifying Checksum [2022-06-22T21:18:28.152Z] 63ab81a10011: Download complete [2022-06-22T21:18:28.756Z] 9b3977197b4f: Pull complete [2022-06-22T21:18:29.040Z] 7d9057610161: Verifying Checksum [2022-06-22T21:18:29.040Z] 7d9057610161: Download complete [2022-06-22T21:18:29.316Z] 1a89e8eeedd5: Pull complete [2022-06-22T21:18:29.592Z] 94645a83ff95: Pull complete [2022-06-22T21:18:30.189Z] 555d1d1c4555: Verifying Checksum [2022-06-22T21:18:30.189Z] 555d1d1c4555: Download complete [2022-06-22T21:18:30.787Z] e6fb740bc735: Download complete [2022-06-22T21:18:43.203Z] e6fb740bc735: Pull complete [2022-06-22T21:18:43.203Z] 3a77bd46dcc9: Pull complete [2022-06-22T21:18:43.203Z] 355e64cbe906: Pull complete [2022-06-22T21:18:43.478Z] 63ab81a10011: Pull complete [2022-06-22T21:18:50.202Z] 555d1d1c4555: Pull complete [2022-06-22T21:18:52.189Z] 7d9057610161: Pull complete [2022-06-22T21:18:52.189Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-22T21:18:52.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-22T21:18:52.189Z] ---> 819e984ddca1 [2022-06-22T21:18:52.189Z] Step 3/13 : ARG MAKE="make build" [2022-06-22T21:18:52.790Z] ---> Running in 8a4346644b67 [2022-06-22T21:18:53.066Z] Removing intermediate container 8a4346644b67 [2022-06-22T21:18:53.067Z] ---> 81dd006546a0 [2022-06-22T21:18:53.067Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-22T21:18:53.343Z] ---> Running in e2f54e196115 [2022-06-22T21:18:53.616Z] Removing intermediate container e2f54e196115 [2022-06-22T21:18:53.616Z] ---> 0f33ebf72b0e [2022-06-22T21:18:53.616Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:18:53.616Z] ---> Running in 16727b4e4fa0 [2022-06-22T21:18:53.891Z] Removing intermediate container 16727b4e4fa0 [2022-06-22T21:18:53.891Z] ---> 7ddefe142dc6 [2022-06-22T21:18:53.891Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-22T21:18:53.891Z] ---> Running in fd0f156a6b71 [2022-06-22T21:18:54.173Z] Removing intermediate container fd0f156a6b71 [2022-06-22T21:18:54.173Z] ---> ee25abf6942d [2022-06-22T21:18:54.173Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:18:54.450Z] ---> Running in b6b9044969de [2022-06-22T21:18:57.857Z] Removing intermediate container b6b9044969de [2022-06-22T21:18:57.857Z] ---> c0a8a17befa7 [2022-06-22T21:18:57.857Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:18:57.857Z] ---> Running in 815e2b85c7bd [2022-06-22T21:18:58.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T21:18:59.046Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T21:19:00.027Z] OK: 220 MiB in 52 packages [2022-06-22T21:19:00.630Z] Removing intermediate container 815e2b85c7bd [2022-06-22T21:19:00.630Z] ---> 08bd36a28194 [2022-06-22T21:19:00.630Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-22T21:19:00.906Z] ---> Running in dd1f1aced601 [2022-06-22T21:19:01.192Z] Removing intermediate container dd1f1aced601 [2022-06-22T21:19:01.192Z] ---> 5e18b2bcec1f [2022-06-22T21:19:01.192Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-22T21:19:01.468Z] ---> c251526058e0 [2022-06-22T21:19:01.468Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:19:01.743Z] ---> Running in 8e14d37722b9 [2022-06-22T21:19:48.726Z] Removing intermediate container 8e14d37722b9 [2022-06-22T21:19:48.726Z] ---> 7fc47d3e1325 [2022-06-22T21:19:48.726Z] Step 12/13 : COPY . . [2022-06-22T21:19:48.726Z] ---> 0c93200b0e4f [2022-06-22T21:19:48.726Z] Step 13/13 : RUN ${MAKE} [2022-06-22T21:19:48.726Z] ---> Running in c58a6d9be58d [2022-06-22T21:19:49.002Z] noop [2022-06-22T21:19:49.599Z] Removing intermediate container c58a6d9be58d [2022-06-22T21:19:49.599Z] ---> b50f4b9bfdb7 [2022-06-22T21:19:49.599Z] Successfully built b50f4b9bfdb7 [2022-06-22T21:19:49.599Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:19:49.958Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T21:19:49.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:19:50.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-15361 does not seem to be running inside a container [2022-06-22T21:19:50.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T21:19:51.528Z] $ docker top 3d476443f1f0fcee78c58563db1045e7101cfc1731aa3d32c21c15b52a8e3e9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:19:52.444Z] + go version [2022-06-22T21:19:52.445Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-22T21:19:52.471Z] $ docker stop --time=1 3d476443f1f0fcee78c58563db1045e7101cfc1731aa3d32c21c15b52a8e3e9d [2022-06-22T21:19:54.155Z] $ docker rm -f 3d476443f1f0fcee78c58563db1045e7101cfc1731aa3d32c21c15b52a8e3e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:19:54.759Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T21:19:54.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:19:54.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-15361 does not seem to be running inside a container [2022-06-22T21:19:55.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T21:19:56.294Z] $ docker top cbfb5227dbda14f298010322aeda1497c923686de15056538fb6cac1ecc7bff5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T21:19:57.195Z] + make test [2022-06-22T21:19:57.195Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-22T21:19:59.183Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-22T21:21:36.042Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-22T21:21:36.042Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.077s coverage: 4.6% of statements [2022-06-22T21:21:46.195Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.566s coverage: 13.8% of statements [2022-06-22T21:21:46.195Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-22T21:21:46.195Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T21:22:12.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T21:22:12.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T21:22:12.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-22T21:22:14.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T21:22:15.012Z] $ docker stop --time=1 cbfb5227dbda14f298010322aeda1497c923686de15056538fb6cac1ecc7bff5 [2022-06-22T21:22:16.786Z] $ docker rm -f cbfb5227dbda14f298010322aeda1497c923686de15056538fb6cac1ecc7bff5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T21:22:17.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T21:22:17.762Z] Warning: overwriting stash ‘coverage-report’ [2022-06-22T21:22:18.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T21:22:18.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-22T21:22:19.014Z] + ls -al . [2022-06-22T21:22:19.014Z] total 236 [2022-06-22T21:22:19.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 21:22 . [2022-06-22T21:22:19.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:17 .. [2022-06-22T21:22:19.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 21:18 .git [2022-06-22T21:22:19.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 21:17 .github [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 22 21:17 .gitignore [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 21:17 .golangci.yml [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 22 21:17 Attribution.txt [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 22 21:17 CHANGELOG.md [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 22 21:17 Dockerfile [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 21:17 GOVERNANCE.md [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 22 21:17 Jenkinsfile [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 22 21:17 LICENSE [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 22 21:17 Makefile [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 22 21:17 OWNERS.md [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 22 21:17 README.md [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 21:15 VERSION [2022-06-22T21:22:19.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 21:17 bin [2022-06-22T21:22:19.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 21:17 cmd [2022-06-22T21:22:19.014Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 22 21:21 coverage.out [2022-06-22T21:22:19.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:17 doc [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 22 21:17 go.mod [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 22 21:17 go.sum [2022-06-22T21:22:19.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 21:17 internal [2022-06-22T21:22:19.014Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 22 21:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:22:19.414Z] + 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=eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 --label arch=arm64 --label version=0.0.0 . [2022-06-22T21:22:19.710Z] Sending build context to Docker daemon 6.094MB [2022-06-22T21:22:20.004Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:22:20.004Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-22T21:22:20.004Z] ---> b50f4b9bfdb7 [2022-06-22T21:22:20.004Z] Step 3/26 : ARG MAKE="make build" [2022-06-22T21:22:20.004Z] ---> Running in 80782c0517bb [2022-06-22T21:22:20.349Z] Removing intermediate container 80782c0517bb [2022-06-22T21:22:20.349Z] ---> 5d08bc3abacd [2022-06-22T21:22:20.349Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-22T21:22:20.349Z] ---> Running in beb83f15f8ad [2022-06-22T21:22:21.000Z] Removing intermediate container beb83f15f8ad [2022-06-22T21:22:21.000Z] ---> 152b9f500695 [2022-06-22T21:22:21.000Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:22:21.000Z] ---> Running in 43697b767384 [2022-06-22T21:22:21.277Z] Removing intermediate container 43697b767384 [2022-06-22T21:22:21.277Z] ---> e9c27c4d6cb2 [2022-06-22T21:22:21.277Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-22T21:22:21.277Z] ---> Running in baa7054058b4 [2022-06-22T21:22:21.548Z] Removing intermediate container baa7054058b4 [2022-06-22T21:22:21.548Z] ---> 6a5e4037da38 [2022-06-22T21:22:21.548Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:22:21.823Z] ---> Running in f65e0f64884c [2022-06-22T21:22:23.271Z] Removing intermediate container f65e0f64884c [2022-06-22T21:22:23.271Z] ---> ccbb2220b443 [2022-06-22T21:22:23.271Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:22:23.271Z] ---> Running in 6715ec0399d2 [2022-06-22T21:22:24.251Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T21:22:25.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T21:22:26.227Z] OK: 220 MiB in 52 packages [2022-06-22T21:22:26.839Z] Removing intermediate container 6715ec0399d2 [2022-06-22T21:22:26.839Z] ---> 9efabab0e961 [2022-06-22T21:22:26.839Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-22T21:22:26.839Z] ---> Running in 6a857fbb034b [2022-06-22T21:22:27.112Z] Removing intermediate container 6a857fbb034b [2022-06-22T21:22:27.112Z] ---> 34478767bcd4 [2022-06-22T21:22:27.112Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-22T21:22:27.712Z] ---> d1bf76b6f495 [2022-06-22T21:22:27.712Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:22:27.712Z] ---> Running in b76c5d4405be [2022-06-22T21:22:29.683Z] Removing intermediate container b76c5d4405be [2022-06-22T21:22:29.683Z] ---> 662d47857747 [2022-06-22T21:22:29.683Z] Step 12/26 : COPY . . [2022-06-22T21:22:30.662Z] ---> 7c33d0719cf8 [2022-06-22T21:22:30.662Z] Step 13/26 : RUN ${MAKE} [2022-06-22T21:22:30.662Z] ---> Running in bd87d8e38cda [2022-06-22T21:22:31.643Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-22T21:24:38.517Z] Removing intermediate container bd87d8e38cda [2022-06-22T21:24:38.517Z] ---> 810375a532b3 [2022-06-22T21:24:38.517Z] Step 14/26 : FROM alpine:3.15 [2022-06-22T21:24:38.517Z] 3.15: Pulling from library/alpine [2022-06-22T21:24:38.517Z] 9981e73032c8: Pulling fs layer [2022-06-22T21:24:38.517Z] 9981e73032c8: Verifying Checksum [2022-06-22T21:24:38.517Z] 9981e73032c8: Download complete [2022-06-22T21:24:38.517Z] 9981e73032c8: Pull complete [2022-06-22T21:24:38.517Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-22T21:24:38.517Z] Status: Downloaded newer image for alpine:3.15 [2022-06-22T21:24:38.517Z] ---> 3fb3c9af89a9 [2022-06-22T21:24:38.517Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-22T21:24:38.517Z] ---> Running in c90ae634c988 [2022-06-22T21:24:38.517Z] Removing intermediate container c90ae634c988 [2022-06-22T21:24:38.517Z] ---> 26a5938c8c1a [2022-06-22T21:24:38.517Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-22T21:24:38.517Z] ---> Running in 2bd54ae59d33 [2022-06-22T21:24:38.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T21:24:38.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T21:24:38.517Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-22T21:24:38.517Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-22T21:24:38.517Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-22T21:24:38.517Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-22T21:24:38.517Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-22T21:24:38.517Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-22T21:24:38.517Z] Executing busybox-1.34.1-r5.trigger [2022-06-22T21:24:38.517Z] OK: 8 MiB in 20 packages [2022-06-22T21:24:38.517Z] Removing intermediate container 2bd54ae59d33 [2022-06-22T21:24:38.517Z] ---> d3e988aab35f [2022-06-22T21:24:38.517Z] Step 17/26 : WORKDIR / [2022-06-22T21:24:38.517Z] ---> Running in 9c0ca80bb141 [2022-06-22T21:24:38.517Z] Removing intermediate container 9c0ca80bb141 [2022-06-22T21:24:38.517Z] ---> c03c77380a3b [2022-06-22T21:24:38.517Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-22T21:24:38.517Z] ---> a8508ca70c25 [2022-06-22T21:24:38.517Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-22T21:24:38.517Z] ---> 345a71b4a8c6 [2022-06-22T21:24:38.517Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-22T21:24:38.517Z] ---> 1b3c891de159 [2022-06-22T21:24:38.517Z] Step 21/26 : EXPOSE 59984 [2022-06-22T21:24:38.517Z] ---> Running in 2e139c62d0a0 [2022-06-22T21:24:38.791Z] Removing intermediate container 2e139c62d0a0 [2022-06-22T21:24:38.791Z] ---> 32c7d1b9a598 [2022-06-22T21:24:38.791Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-22T21:24:39.068Z] ---> Running in a6fa378400a2 [2022-06-22T21:24:39.341Z] Removing intermediate container a6fa378400a2 [2022-06-22T21:24:39.341Z] ---> 8ece8975da02 [2022-06-22T21:24:39.341Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-22T21:24:39.341Z] ---> Running in 15afdea8ec65 [2022-06-22T21:24:39.615Z] Removing intermediate container 15afdea8ec65 [2022-06-22T21:24:39.615Z] ---> a507d62e204e [2022-06-22T21:24:39.615Z] Step 24/26 : LABEL arch=arm64 [2022-06-22T21:24:39.615Z] ---> Running in 629e49b4a343 [2022-06-22T21:24:39.892Z] Removing intermediate container 629e49b4a343 [2022-06-22T21:24:39.892Z] ---> e1ac37340d44 [2022-06-22T21:24:39.892Z] Step 25/26 : LABEL git_sha=eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 [2022-06-22T21:24:40.168Z] ---> Running in 4276667a3310 [2022-06-22T21:24:40.441Z] Removing intermediate container 4276667a3310 [2022-06-22T21:24:40.441Z] ---> 526cf5699acb [2022-06-22T21:24:40.441Z] Step 26/26 : LABEL version=0.0.0 [2022-06-22T21:24:40.441Z] ---> Running in 79ada4db315f [2022-06-22T21:24:40.712Z] Removing intermediate container 79ada4db315f [2022-06-22T21:24:40.712Z] ---> 7ac2dc491055 [2022-06-22T21:24:40.712Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-22T21:24:40.712Z] Successfully built 7ac2dc491055 [2022-06-22T21:24:40.712Z] 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-06-22T21:24:41.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:24:41.160Z] [2022-06-22T21:24:41.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:24:41.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:24:41.778Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-22T21:24:41.778Z] 8998bd30e6a1: Pulling fs layer [2022-06-22T21:24:41.778Z] 04944245beec: Pulling fs layer [2022-06-22T21:24:41.778Z] 699f458cf7ca: Pulling fs layer [2022-06-22T21:24:41.778Z] 765212b225bb: Pulling fs layer [2022-06-22T21:24:41.778Z] f23df028b6ca: Pulling fs layer [2022-06-22T21:24:41.778Z] d65c8cfc05b1: Pulling fs layer [2022-06-22T21:24:41.778Z] 2437ff75d9bd: Pulling fs layer [2022-06-22T21:24:41.778Z] f23df028b6ca: Waiting [2022-06-22T21:24:41.778Z] d65c8cfc05b1: Waiting [2022-06-22T21:24:41.778Z] 765212b225bb: Waiting [2022-06-22T21:24:41.778Z] 2437ff75d9bd: Waiting [2022-06-22T21:24:41.778Z] 04944245beec: Verifying Checksum [2022-06-22T21:24:41.778Z] 04944245beec: Download complete [2022-06-22T21:24:41.778Z] 765212b225bb: Verifying Checksum [2022-06-22T21:24:41.778Z] 765212b225bb: Download complete [2022-06-22T21:24:41.778Z] f23df028b6ca: Download complete [2022-06-22T21:24:41.778Z] d65c8cfc05b1: Verifying Checksum [2022-06-22T21:24:41.778Z] d65c8cfc05b1: Download complete [2022-06-22T21:24:42.054Z] 699f458cf7ca: Verifying Checksum [2022-06-22T21:24:42.054Z] 699f458cf7ca: Download complete [2022-06-22T21:24:42.328Z] 8998bd30e6a1: Verifying Checksum [2022-06-22T21:24:42.328Z] 8998bd30e6a1: Download complete [2022-06-22T21:24:44.306Z] 2437ff75d9bd: Verifying Checksum [2022-06-22T21:24:44.306Z] 2437ff75d9bd: Download complete [2022-06-22T21:24:46.934Z] 8998bd30e6a1: Pull complete [2022-06-22T21:24:46.934Z] 04944245beec: Pull complete [2022-06-22T21:24:48.364Z] 699f458cf7ca: Pull complete [2022-06-22T21:24:48.639Z] 765212b225bb: Pull complete [2022-06-22T21:24:49.618Z] f23df028b6ca: Pull complete [2022-06-22T21:24:49.891Z] d65c8cfc05b1: Pull complete [2022-06-22T21:25:04.996Z] 2437ff75d9bd: Pull complete [2022-06-22T21:25:04.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-22T21:25:04.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:25:04.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:25:05.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-15361 does not seem to be running inside a container [2022-06-22T21:25:05.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-22T21:25:07.933Z] $ docker top bf9c8778093ee1c9a070ad37c0de7c60fca24eae11dc261c2d8a0f91c30edced -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:08.832Z] ---> job-cost.sh [2022-06-22T21:25:08.832Z] lf-activate-venv: SKIPPING [2022-06-22T21:25:08.832Z] INFO: No Stack... [2022-06-22T21:25:09.105Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-22T21:25:10.077Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T21:25:10.739Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-06-22T21:25:10.740Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T21:25:10.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [2022-06-22T21:25:10.809Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] did not exist. Created. [2022-06-22T21:25:10.809Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T21:25:11.482Z] /w/workspace/device-onvif-camera/5@tmp/durable-c8c26b8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-22T21:25:12.158Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-22T21:25:12.185Z] Warning: overwriting stash ‘stack-cost’ [2022-06-22T21:25:12.231Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T21:25:12.237Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T21:25:12.261Z] $ docker stop --time=1 bf9c8778093ee1c9a070ad37c0de7c60fca24eae11dc261c2d8a0f91c30edced [2022-06-22T21:25:13.774Z] $ docker rm -f bf9c8778093ee1c9a070ad37c0de7c60fca24eae11dc261c2d8a0f91c30edced [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-06-22T21:25:14.244Z] provisioning config files... [2022-06-22T21:25:14.263Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3659678789976421102tmp [Pipeline] { [Pipeline] sh [2022-06-22T21:25:14.557Z] + set +x [2022-06-22T21:25:14.557Z] + + curl -s https://codecov.io/bash [2022-06-22T21:25:14.557Z] bash -s -- [2022-06-22T21:25:14.557Z] [2022-06-22T21:25:14.557Z] _____ _ [2022-06-22T21:25:14.557Z] / ____| | | [2022-06-22T21:25:14.557Z] | | ___ __| | ___ ___ _____ __ [2022-06-22T21:25:14.557Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-22T21:25:14.557Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-22T21:25:14.557Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-22T21:25:14.557Z] Bash-1.0.6 [2022-06-22T21:25:14.557Z] [2022-06-22T21:25:14.557Z] [2022-06-22T21:25:14.557Z] ==> git version 2.25.1 found [2022-06-22T21:25:14.557Z] ==> 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-06-22T21:25:14.557Z] Release-Date: 2020-01-08 [2022-06-22T21:25:14.557Z] 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-06-22T21:25:14.557Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-22T21:25:14.557Z] ==> Jenkins CI detected. [2022-06-22T21:25:14.557Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-22T21:25:14.557Z] project root: . [2022-06-22T21:25:14.557Z] --> token set from env [2022-06-22T21:25:14.557Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-22T21:25:14.557Z] ==> Running gcov in . (disable via -X gcov) [2022-06-22T21:25:14.557Z] ==> Python coveragepy not found [2022-06-22T21:25:14.557Z] ==> Searching for coverage reports in: [2022-06-22T21:25:14.557Z] + . [2022-06-22T21:25:14.557Z] -> Found 1 reports [2022-06-22T21:25:14.557Z] ==> Detecting git/mercurial file structure [2022-06-22T21:25:14.557Z] ==> Reading reports [2022-06-22T21:25:14.817Z] + ./coverage.out bytes=63108 [2022-06-22T21:25:14.817Z] ==> Appending adjustments [2022-06-22T21:25:14.817Z] https://docs.codecov.io/docs/fixing-reports [2022-06-22T21:25:14.817Z] + Found adjustments [2022-06-22T21:25:14.817Z] ==> Gzipping contents [2022-06-22T21:25:14.817Z] 8.0K /tmp/codecov.4DBAZE.gz [2022-06-22T21:25:14.817Z] ==> Uploading reports [2022-06-22T21:25:14.817Z] url: https://codecov.io [2022-06-22T21:25:14.817Z] query: branch=PR-87&commit=cacb719a86f94e75b419a224d188fa145f7dd089&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-22T21:25:14.817Z] -> Pinging Codecov [2022-06-22T21:25:14.817Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=cacb719a86f94e75b419a224d188fa145f7dd089&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-22T21:25:15.076Z] -> Uploading to [2022-06-22T21:25:15.076Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-22/F29A59C45E3A92E06B3E522C9905F8EF/cacb719a86f94e75b419a224d188fa145f7dd089/ab5acf3f-807b-4ba3-8f3a-72b14feb6ea4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T212514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac702df1711875bb8cf28ad5f9e4493520f7200ffd28c6808722a9b976028b9f [2022-06-22T21:25:15.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T21:25:15.076Z] Dload Upload Total Spent Left Speed [2022-06-22T21:25:15.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8041 0 0 100 8041 0 35422 --:--:-- --:--:-- --:--:-- 35579 [2022-06-22T21:25:15.336Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/cacb719a86f94e75b419a224d188fa145f7dd089 [Pipeline] } [2022-06-22T21:25:15.343Z] 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-06-22T21:25:16.058Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-22T21:25:16.058Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-22T21:25:16.058Z] total 16 [2022-06-22T21:25:16.058Z] drwxr-xr-x 3 root root 4096 Jun 22 21:17 . [2022-06-22T21:25:16.058Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 21:17 .. [2022-06-22T21:25:16.058Z] drwxr-xr-x 2 root root 4096 Jun 22 21:17 cost [2022-06-22T21:25:16.058Z] -rw-r--r-- 1 root root 89 Jun 22 21:17 cost.csv [2022-06-22T21:25:16.058Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-22T21:25:16.058Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-22T21:25:16.058Z] total 16 [2022-06-22T21:25:16.058Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 21:17 . [2022-06-22T21:25:16.058Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 21:17 .. [2022-06-22T21:25:16.058Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 21:17 cost [2022-06-22T21:25:16.058Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 22 21:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:16.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:17.221Z] ---> package-listing.sh [2022-06-22T21:25:17.221Z] ++ facter osfamily [2022-06-22T21:25:17.221Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-22T21:25:17.481Z] + OS_FAMILY=debian [2022-06-22T21:25:17.481Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-22T21:25:17.481Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-22T21:25:17.481Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-22T21:25:17.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-22T21:25:17.481Z] + PACKAGES=/tmp/packages_start.txt [2022-06-22T21:25:17.481Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-22T21:25:17.481Z] + PACKAGES=/tmp/packages_end.txt [2022-06-22T21:25:17.481Z] + case "${OS_FAMILY}" in [2022-06-22T21:25:17.481Z] + dpkg -l [2022-06-22T21:25:17.481Z] + grep '^ii' [2022-06-22T21:25:17.481Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-22T21:25:17.481Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-22T21:25:17.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-22T21:25:17.481Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-22T21:25:17.481Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-22T21:25:17.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-22T21:25:17.495Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-22T21:25:17.781Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:25:18.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:25:18.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:25:18.433Z] prd-ubuntu20.04-docker-8c-8g-15360 does not seem to be running inside a container [2022-06-22T21:25:18.472Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-06-22T21:25:18.705Z] $ docker top 53e7274bf2e437264cdd99e5dcf0d1b35bd370d54d51b26bfdd30577bd973ed2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:25:19.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-22T21:25:19.332Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-22T21:25:19.620Z] + ls /var/log/sa-host [2022-06-22T21:25:19.620Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:25:19.744Z] provisioning config files... [2022-06-22T21:25:19.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8298920648613685869tmp [Pipeline] { [Pipeline] echo [2022-06-22T21:25:19.773Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:20.059Z] ---> create-netrc.sh [Pipeline] } [2022-06-22T21:25:20.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:20.393Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-22T21:25:20.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:20.684Z] ---> sudo-logs.sh [2022-06-22T21:25:20.684Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-22T21:25:20.712Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:20.996Z] ---> job-cost.sh [2022-06-22T21:25:20.996Z] lf-activate-venv: SKIPPING [2022-06-22T21:25:20.996Z] DEBUG: total: 0.2199999988079071 [2022-06-22T21:25:20.996Z] INFO: Retrieving Stack Cost... [2022-06-22T21:25:21.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T21:25:21.823Z] INFO: Archiving Costs [Pipeline] echo [2022-06-22T21:25:21.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:22.118Z] ---> logs-deploy.sh [2022-06-22T21:25:22.118Z] lf-activate-venv: SKIPPING [2022-06-22T21:25:22.118Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/5 [2022-06-22T21:25:22.118Z] INFO: archiving workspace using pattern(s): [2022-06-22T21:25:23.057Z] Archives upload complete. [2022-06-22T21:25:23.058Z] INFO: archiving logs to Nexus