Pull request #126 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than cd1ccdc6268445206edafa95bbbcff54e039e093 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh15426850477658544196.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5339824008768683058.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-126/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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13766863926506658951.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7087591099349655443.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-126/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-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2691578334083811233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22172’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22174 in /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-126 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit cd1ccdc6268445206edafa95bbbcff54e039e093 Merge succeeded, producing cd1ccdc6268445206edafa95bbbcff54e039e093 Checking out Revision cd1ccdc6268445206edafa95bbbcff54e039e093 (PR-126) > 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/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd1ccdc6268445206edafa95bbbcff54e039e093 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd1ccdc6268445206edafa95bbbcff54e039e093 # timeout=10 Commit message: "docs: update credential map comments" > git rev-list --no-walk 6007a67e20718f43737fcbbe9ec533a656d4652b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-08T23:02:40.082Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-08T23:02:40.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-08T23:02:40.159Z] ========================================================= [2022-08-08T23:02:40.159Z] EdgeX Global Pipelines Version Info [2022-08-08T23:02:40.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:02:40.918Z] ------------------- [2022-08-08T23:02:40.918Z] stable info: [2022-08-08T23:02:40.918Z] ------------------- [2022-08-08T23:02:40.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T23:02:40.918Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T23:02:40.918Z] Message: update stable to v1.0.238 [2022-08-08T23:02:41.495Z] ------------------- [2022-08-08T23:02:41.495Z] experimental info: [2022-08-08T23:02:41.495Z] ------------------- [2022-08-08T23:02:41.495Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T23:02:41.495Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T23:02:41.495Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-08T23:02:41.668Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-08T23:02:41.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-08T23:02:41.686Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-08T23:02:41.695Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-08T23:02:41.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-08T23:02:41.730Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-08T23:02:41.747Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-08T23:02:41.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-08T23:02:41.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-08T23:02:41.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-08T23:02:41.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-08T23:02:41.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-08T23:02:41.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-08T23:02:41.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-08T23:02:41.863Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-08T23:02:41.886Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-08T23:02:41.901Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T23:02:41.915Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T23:02:41.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-08T23:02:41.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-08T23:02:41.949Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-08T23:02:41.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-08T23:02:41.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-08T23:02:41.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-08T23:02:41.995Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-08T23:02:42.007Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-08T23:02:42.021Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-08T23:02:42.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo [2022-08-08T23:02:42.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo [2022-08-08T23:02:42.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo [2022-08-08T23:02:42.069Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd1ccdc6268445206edafa95bbbcff54e039e093 [Pipeline] echo [2022-08-08T23:02:42.083Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd1ccdc [Pipeline] echo [2022-08-08T23:02:42.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T23:02:42.147Z] provisioning config files... [2022-08-08T23:02:42.164Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config8841281276491759468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:02:42.476Z] ---> docker-login.sh [2022-08-08T23:02:42.476Z] nexus3.edgexfoundry.org:10001 [2022-08-08T23:02:42.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:42.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:42.740Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:42.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:42.740Z] [2022-08-08T23:02:42.740Z] Login Succeeded [2022-08-08T23:02:42.740Z] nexus3.edgexfoundry.org:10002 [2022-08-08T23:02:42.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:43.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:43.003Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:43.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:43.003Z] [2022-08-08T23:02:43.003Z] Login Succeeded [2022-08-08T23:02:43.003Z] nexus3.edgexfoundry.org:10003 [2022-08-08T23:02:43.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:43.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:43.003Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:43.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:43.003Z] [2022-08-08T23:02:43.003Z] Login Succeeded [2022-08-08T23:02:43.003Z] nexus3.edgexfoundry.org:10004 [2022-08-08T23:02:43.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:43.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:43.268Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:43.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:43.268Z] [2022-08-08T23:02:43.268Z] Login Succeeded [2022-08-08T23:02:43.268Z] docker.io [2022-08-08T23:02:43.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:43.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:43.528Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:43.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:43.528Z] [2022-08-08T23:02:43.528Z] Login Succeeded [2022-08-08T23:02:43.528Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T23:02:43.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-08T23:02:43.926Z] + git rev-list -1 --merges cd1ccdc6268445206edafa95bbbcff54e039e093~1..cd1ccdc6268445206edafa95bbbcff54e039e093 [Pipeline] echo [2022-08-08T23:02:43.961Z] -----------> git rev-list -1 --merges cd1ccdc6268445206edafa95bbbcff54e039e093~1..cd1ccdc6268445206edafa95bbbcff54e039e093 cd1ccdc6268445206edafa95bbbcff54e039e093 [false] [Pipeline] sh [2022-08-08T23:02:44.259Z] + git log --format=format:%s -1 cd1ccdc6268445206edafa95bbbcff54e039e093 [Pipeline] echo [2022-08-08T23:02:44.274Z] ========================================================= [2022-08-08T23:02:44.274Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-08T23:02:44.274Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T23:02:44.599Z] + git log --format=format:%s -1 cd1ccdc6268445206edafa95bbbcff54e039e093 [Pipeline] echo [2022-08-08T23:02:44.611Z] [semverPrep] GIT_COMMIT: cd1ccdc6268445206edafa95bbbcff54e039e093, Commit Message: docs: update credential map comments [Pipeline] echo [2022-08-08T23:02:44.621Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-08T23:02:44.985Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T23:02:44.985Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-08T23:02:44.985Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-08T23:02:44.985Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-08T23:02:44.985Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-08T23:02:44.985Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-08T23:02:44.985Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:02:45.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T23:02:45.347Z] [2022-08-08T23:02:45.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:02:45.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T23:02:45.663Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-08T23:02:45.663Z] b85a868b505f: Pulling fs layer [2022-08-08T23:02:45.663Z] e2be974225ed: Pulling fs layer [2022-08-08T23:02:45.663Z] 339a4e72a1f5: Pulling fs layer [2022-08-08T23:02:45.663Z] 988bab9f4d93: Pulling fs layer [2022-08-08T23:02:45.663Z] 1469e6f7b9e6: Pulling fs layer [2022-08-08T23:02:45.663Z] eaf3925da568: Pulling fs layer [2022-08-08T23:02:45.663Z] bab4dde63d76: Pulling fs layer [2022-08-08T23:02:45.663Z] bde34c3a00c8: Pulling fs layer [2022-08-08T23:02:45.663Z] b352a97aabf1: Pulling fs layer [2022-08-08T23:02:45.663Z] 4872d77fe225: Pulling fs layer [2022-08-08T23:02:45.663Z] eaf3925da568: Waiting [2022-08-08T23:02:45.663Z] 1469e6f7b9e6: Waiting [2022-08-08T23:02:45.663Z] bab4dde63d76: Waiting [2022-08-08T23:02:45.663Z] bde34c3a00c8: Waiting [2022-08-08T23:02:45.663Z] b352a97aabf1: Waiting [2022-08-08T23:02:45.663Z] 988bab9f4d93: Waiting [2022-08-08T23:02:45.663Z] 5851b861e8e6: Pulling fs layer [2022-08-08T23:02:45.663Z] 4872d77fe225: Waiting [2022-08-08T23:02:45.663Z] 5851b861e8e6: Waiting [2022-08-08T23:02:45.663Z] e2be974225ed: Verifying Checksum [2022-08-08T23:02:45.663Z] e2be974225ed: Download complete [2022-08-08T23:02:45.663Z] 988bab9f4d93: Verifying Checksum [2022-08-08T23:02:45.663Z] 988bab9f4d93: Download complete [2022-08-08T23:02:45.925Z] 339a4e72a1f5: Verifying Checksum [2022-08-08T23:02:45.925Z] 339a4e72a1f5: Download complete [2022-08-08T23:02:45.925Z] eaf3925da568: Verifying Checksum [2022-08-08T23:02:45.925Z] eaf3925da568: Download complete [2022-08-08T23:02:45.925Z] b85a868b505f: Verifying Checksum [2022-08-08T23:02:45.925Z] b85a868b505f: Download complete [2022-08-08T23:02:45.925Z] bde34c3a00c8: Download complete [2022-08-08T23:02:45.925Z] 1469e6f7b9e6: Verifying Checksum [2022-08-08T23:02:45.925Z] 1469e6f7b9e6: Download complete [2022-08-08T23:02:46.188Z] 4872d77fe225: Verifying Checksum [2022-08-08T23:02:46.188Z] 4872d77fe225: Download complete [2022-08-08T23:02:46.188Z] 5851b861e8e6: Verifying Checksum [2022-08-08T23:02:46.188Z] 5851b861e8e6: Download complete [2022-08-08T23:02:46.188Z] b352a97aabf1: Verifying Checksum [2022-08-08T23:02:46.188Z] b352a97aabf1: Download complete [2022-08-08T23:02:46.450Z] bab4dde63d76: Verifying Checksum [2022-08-08T23:02:46.450Z] bab4dde63d76: Download complete [2022-08-08T23:02:47.414Z] b85a868b505f: Pull complete [2022-08-08T23:02:47.676Z] e2be974225ed: Pull complete [2022-08-08T23:02:48.249Z] 339a4e72a1f5: Pull complete [2022-08-08T23:02:48.249Z] 988bab9f4d93: Pull complete [2022-08-08T23:02:48.512Z] 1469e6f7b9e6: Pull complete [2022-08-08T23:02:48.772Z] eaf3925da568: Pull complete [2022-08-08T23:02:50.688Z] bab4dde63d76: Pull complete [2022-08-08T23:02:50.954Z] bde34c3a00c8: Pull complete [2022-08-08T23:02:50.954Z] b352a97aabf1: Pull complete [2022-08-08T23:02:51.217Z] 4872d77fe225: Pull complete [2022-08-08T23:02:51.217Z] 5851b861e8e6: Pull complete [2022-08-08T23:02:51.217Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-08T23:02:51.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T23:02:51.217Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:02:51.331Z] prd-ubuntu20.04-docker-8c-8g-22174 does not seem to be running inside a container [2022-08-08T23:02:51.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T23:02:53.277Z] $ docker top 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 -eo pid,comm [2022-08-08T23:02:53.344Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-08T23:02:53.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T23:02:53.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T23:02:53.383Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T23:02:53.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T23:02:53.537Z] $ docker exec 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 ssh-agent [2022-08-08T23:02:53.656Z] SSH_AUTH_SOCK=/tmp/ssh-rKSy6s6PPA9C/agent.33 [2022-08-08T23:02:53.656Z] SSH_AGENT_PID=39 [2022-08-08T23:02:53.666Z] Running ssh-add (command line suppressed) [2022-08-08T23:02:53.791Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_5434867546166182796.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_5434867546166182796.key) [2022-08-08T23:02:53.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T23:02:54.095Z] + git tag --points-at HEAD [Pipeline] } [2022-08-08T23:02:54.115Z] $ docker exec --env ******** --env ******** 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 ssh-agent -k [2022-08-08T23:02:54.231Z] unset SSH_AUTH_SOCK; [2022-08-08T23:02:54.231Z] unset SSH_AGENT_PID; [2022-08-08T23:02:54.231Z] echo Agent pid 39 killed; [2022-08-08T23:02:54.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-08T23:02:54.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T23:02:54.263Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T23:02:54.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T23:02:54.403Z] $ docker exec 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 ssh-agent [2022-08-08T23:02:54.518Z] SSH_AUTH_SOCK=/tmp/ssh-hJdgiC1q33Ce/agent.72 [2022-08-08T23:02:54.518Z] SSH_AGENT_PID=78 [2022-08-08T23:02:54.524Z] Running ssh-add (command line suppressed) [2022-08-08T23:02:54.663Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_593112238024906135.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_593112238024906135.key) [2022-08-08T23:02:54.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T23:02:54.974Z] + git semver init [2022-08-08T23:02:55.236Z] 2022-08-08 23:02:55,151 [run_init] DEBUG init version:0.0.0 force:False [2022-08-08T23:02:55.236Z] 2022-08-08 23:02:55,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-08T23:02:55.236Z] 2022-08-08 23:02:55,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-08T23:02:55.236Z] 2022-08-08 23:02:55,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-126/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-126, universal_newlines=False, shell=None, istream=None) [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,911 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-126/.git/info/exclude [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 with force:False [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,912 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,916 [execute] INFO git cat-file --batch-check [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,923 [execute] INFO git cat-file --batch [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T23:02:56.180Z] 2022-08-08 23:02:55,928 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-08T23:02:56.180Z] 0.0.0 [Pipeline] } [2022-08-08T23:02:56.196Z] $ docker exec --env ******** --env ******** 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 ssh-agent -k [2022-08-08T23:02:56.309Z] unset SSH_AUTH_SOCK; [2022-08-08T23:02:56.309Z] unset SSH_AGENT_PID; [2022-08-08T23:02:56.309Z] echo Agent pid 78 killed; [2022-08-08T23:02:56.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T23:02:56.628Z] + git semver [Pipeline] } [2022-08-08T23:02:56.908Z] $ docker stop --time=1 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 [2022-08-08T23:02:58.211Z] $ docker rm -f 9b903e57ad5a82b0444b6b9000e8873f98cd156247ba0b118fcc9a5b51e719f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T23:02:58.567Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-08T23:02:58.811Z] Stashed 1 file(s) [Pipeline] echo [2022-08-08T23:02:58.815Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T23:02:58.960Z] provisioning config files... [2022-08-08T23:02:58.971Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config2431766782483970431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:02:59.284Z] ---> docker-login.sh [2022-08-08T23:02:59.284Z] nexus3.edgexfoundry.org:10001 [2022-08-08T23:02:59.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:59.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:59.284Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:59.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:59.284Z] [2022-08-08T23:02:59.284Z] Login Succeeded [2022-08-08T23:02:59.284Z] nexus3.edgexfoundry.org:10002 [2022-08-08T23:02:59.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:59.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:59.548Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:59.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:59.548Z] [2022-08-08T23:02:59.548Z] Login Succeeded [2022-08-08T23:02:59.548Z] nexus3.edgexfoundry.org:10003 [2022-08-08T23:02:59.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:59.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:59.548Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:59.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:59.548Z] [2022-08-08T23:02:59.548Z] Login Succeeded [2022-08-08T23:02:59.548Z] nexus3.edgexfoundry.org:10004 [2022-08-08T23:02:59.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:02:59.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:02:59.814Z] Configure a credential helper to remove this warning. See [2022-08-08T23:02:59.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:02:59.814Z] [2022-08-08T23:02:59.814Z] Login Succeeded [2022-08-08T23:02:59.814Z] docker.io [2022-08-08T23:02:59.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:03:00.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:03:00.075Z] Configure a credential helper to remove this warning. See [2022-08-08T23:03:00.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:03:00.075Z] [2022-08-08T23:03:00.075Z] Login Succeeded [2022-08-08T23:03:00.075Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T23:03:00.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-08T23:03:00.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T23:03:00.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T23:03:00.192Z] ========================================================= [2022-08-08T23:03:00.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-08T23:03:00.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:03:00.524Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-08T23:03:00.524Z] Sending build context to Docker daemon 20.07MB [2022-08-08T23:03:00.524Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T23:03:00.524Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-08T23:03:00.524Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-08T23:03:00.524Z] 2408cc74d12b: Pulling fs layer [2022-08-08T23:03:00.524Z] ea60b727a1ce: Pulling fs layer [2022-08-08T23:03:00.524Z] 30c4a7721957: Pulling fs layer [2022-08-08T23:03:00.524Z] 370296b7ddb6: Pulling fs layer [2022-08-08T23:03:00.524Z] 7c6cee850709: Pulling fs layer [2022-08-08T23:03:00.524Z] 39a5fcdaea64: Pulling fs layer [2022-08-08T23:03:00.524Z] d94ebbe4e438: Pulling fs layer [2022-08-08T23:03:00.524Z] bcfd1f05c69d: Pulling fs layer [2022-08-08T23:03:00.524Z] 59ccb84bbe0f: Pulling fs layer [2022-08-08T23:03:00.524Z] 39a5fcdaea64: Waiting [2022-08-08T23:03:00.524Z] d94ebbe4e438: Waiting [2022-08-08T23:03:00.524Z] 59ccb84bbe0f: Waiting [2022-08-08T23:03:00.524Z] bcfd1f05c69d: Waiting [2022-08-08T23:03:00.524Z] 370296b7ddb6: Waiting [2022-08-08T23:03:00.524Z] 7c6cee850709: Waiting [2022-08-08T23:03:00.788Z] 30c4a7721957: Download complete [2022-08-08T23:03:00.788Z] ea60b727a1ce: Verifying Checksum [2022-08-08T23:03:00.788Z] ea60b727a1ce: Download complete [2022-08-08T23:03:00.788Z] 7c6cee850709: Verifying Checksum [2022-08-08T23:03:00.788Z] 7c6cee850709: Download complete [2022-08-08T23:03:00.788Z] 39a5fcdaea64: Download complete [2022-08-08T23:03:00.788Z] 2408cc74d12b: Verifying Checksum [2022-08-08T23:03:00.788Z] 2408cc74d12b: Download complete [2022-08-08T23:03:00.788Z] d94ebbe4e438: Verifying Checksum [2022-08-08T23:03:00.788Z] d94ebbe4e438: Download complete [2022-08-08T23:03:01.075Z] 2408cc74d12b: Pull complete [2022-08-08T23:03:01.075Z] ea60b727a1ce: Pull complete [2022-08-08T23:03:01.364Z] 30c4a7721957: Pull complete [2022-08-08T23:03:01.364Z] 59ccb84bbe0f: Verifying Checksum [2022-08-08T23:03:01.364Z] 59ccb84bbe0f: Download complete [2022-08-08T23:03:01.630Z] 370296b7ddb6: Verifying Checksum [2022-08-08T23:03:01.630Z] 370296b7ddb6: Download complete [2022-08-08T23:03:01.893Z] bcfd1f05c69d: Verifying Checksum [2022-08-08T23:03:06.129Z] 370296b7ddb6: Pull complete [2022-08-08T23:03:06.129Z] 7c6cee850709: Pull complete [2022-08-08T23:03:06.129Z] 39a5fcdaea64: Pull complete [2022-08-08T23:03:06.129Z] d94ebbe4e438: Pull complete [2022-08-08T23:03:08.045Z] bcfd1f05c69d: Pull complete [2022-08-08T23:03:08.985Z] 59ccb84bbe0f: Pull complete [2022-08-08T23:03:08.985Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-08T23:03:08.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-08T23:03:08.985Z] ---> a4fb48ad2a94 [2022-08-08T23:03:08.985Z] Step 3/13 : ARG MAKE="make build" [2022-08-08T23:03:10.904Z] ---> Running in b4d712fdc370 [2022-08-08T23:03:10.904Z] Removing intermediate container b4d712fdc370 [2022-08-08T23:03:10.904Z] ---> 02cdf79d958f [2022-08-08T23:03:10.904Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T23:03:10.904Z] ---> Running in bd0ff22a9f77 [2022-08-08T23:03:10.905Z] Removing intermediate container bd0ff22a9f77 [2022-08-08T23:03:10.905Z] ---> 536e23b6bc64 [2022-08-08T23:03:10.905Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T23:03:10.905Z] ---> Running in da044f80df7d [2022-08-08T23:03:10.905Z] Removing intermediate container da044f80df7d [2022-08-08T23:03:10.905Z] ---> 71a3477cd72c [2022-08-08T23:03:10.905Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-08T23:03:10.905Z] ---> Running in e0cfc20ff553 [2022-08-08T23:03:11.166Z] Removing intermediate container e0cfc20ff553 [2022-08-08T23:03:11.166Z] ---> d19c07db8362 [2022-08-08T23:03:11.166Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T23:03:11.166Z] ---> Running in 3b68febd486a [2022-08-08T23:03:11.738Z] Removing intermediate container 3b68febd486a [2022-08-08T23:03:11.738Z] ---> 17d18d3dc3e3 [2022-08-08T23:03:11.738Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T23:03:11.738Z] ---> Running in 006c1b0e6651 [2022-08-08T23:03:12.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-08T23:03:12.945Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-08T23:03:13.208Z] OK: 211 MiB in 51 packages [2022-08-08T23:03:13.473Z] Removing intermediate container 006c1b0e6651 [2022-08-08T23:03:13.473Z] ---> 70b5fdd7b879 [2022-08-08T23:03:13.473Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-08T23:03:13.473Z] ---> Running in 47337ce6946f [2022-08-08T23:03:13.736Z] Removing intermediate container 47337ce6946f [2022-08-08T23:03:13.736Z] ---> edd22ba7ac88 [2022-08-08T23:03:13.736Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-08T23:03:13.736Z] ---> 3e1bb3d77cd8 [2022-08-08T23:03:13.736Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T23:03:13.932Z] Still waiting to schedule task [2022-08-08T23:03:13.933Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-08T23:03:13.997Z] ---> Running in a2870e8ed1ed [2022-08-08T23:03:32.138Z] Removing intermediate container a2870e8ed1ed [2022-08-08T23:03:32.138Z] ---> 317a87c61d79 [2022-08-08T23:03:32.138Z] Step 12/13 : COPY . . [2022-08-08T23:03:32.138Z] ---> bd1283be691e [2022-08-08T23:03:32.138Z] Step 13/13 : RUN ${MAKE} [2022-08-08T23:03:32.138Z] ---> Running in 51c1538f99c7 [2022-08-08T23:03:32.138Z] noop [2022-08-08T23:03:32.138Z] Removing intermediate container 51c1538f99c7 [2022-08-08T23:03:32.138Z] ---> 5797e7817820 [2022-08-08T23:03:32.138Z] Successfully built 5797e7817820 [2022-08-08T23:03:32.138Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:03:32.472Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T23:03:32.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:03:32.579Z] prd-ubuntu20.04-docker-8c-8g-22174 does not seem to be running inside a container [2022-08-08T23:03:32.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-08T23:03:33.018Z] $ docker top c492a0ab4ce5f7f68e3cf87fb6880e82416d116a65b64d0ff80fe5e5c497570a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T23:03:33.447Z] + go version [2022-08-08T23:03:33.447Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-08T23:03:33.465Z] $ docker stop --time=1 c492a0ab4ce5f7f68e3cf87fb6880e82416d116a65b64d0ff80fe5e5c497570a [2022-08-08T23:03:34.777Z] $ docker rm -f c492a0ab4ce5f7f68e3cf87fb6880e82416d116a65b64d0ff80fe5e5c497570a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:03:35.223Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T23:03:35.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:03:35.308Z] prd-ubuntu20.04-docker-8c-8g-22174 does not seem to be running inside a container [2022-08-08T23:03:35.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-08T23:03:35.824Z] $ docker top 99c91b69eaaf947b209e35aead1688258d7191f635964a57aa58e2221a1d9b8b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T23:03:36.222Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] fileExists [Pipeline] sh [2022-08-08T23:03:36.527Z] + make test [2022-08-08T23:03:36.528Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-08T23:03:36.786Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-08T23:03:46.787Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-08T23:03:46.787Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.6% of statements [2022-08-08T23:03:46.787Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-08T23:03:50.086Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.779s coverage: 13.8% of statements [2022-08-08T23:03:56.665Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T23:03:59.970Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T23:03:59.970Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T23:03:59.970Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-08T23:03:59.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T23:04:00.005Z] $ docker stop --time=1 99c91b69eaaf947b209e35aead1688258d7191f635964a57aa58e2221a1d9b8b [2022-08-08T23:04:01.984Z] $ docker rm -f 99c91b69eaaf947b209e35aead1688258d7191f635964a57aa58e2221a1d9b8b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T23:04:02.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T23:04:02.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-08T23:04:02.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-08T23:04:03.264Z] + ls -al . [2022-08-08T23:04:03.264Z] total 232 [2022-08-08T23:04:03.264Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 23:03 . [2022-08-08T23:04:03.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:02 .. [2022-08-08T23:04:03.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 23:03 .git [2022-08-08T23:04:03.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 23:02 .github [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 23:02 .gitignore [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 23:02 .golangci.yml [2022-08-08T23:04:03.264Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 23:02 .semver [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 23:02 Attribution.txt [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 23:02 CHANGELOG.md [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 23:02 Dockerfile [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 23:02 GOVERNANCE.md [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 23:02 Jenkinsfile [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 23:02 LICENSE [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 8 23:02 Makefile [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 23:02 OWNERS.md [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 23:02 README.md [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 23:02 VERSION [2022-08-08T23:04:03.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 23:02 bin [2022-08-08T23:04:03.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 23:02 cmd [2022-08-08T23:04:03.264Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 23:03 coverage.out [2022-08-08T23:04:03.264Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 23:02 doc [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 23:02 go.mod [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 23:02 go.sum [2022-08-08T23:04:03.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:02 internal [2022-08-08T23:04:03.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:02 snap [2022-08-08T23:04:03.264Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 23:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:04:03.584Z] + 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=cd1ccdc6268445206edafa95bbbcff54e039e093 --label arch=amd64 --label version=0.0.0 . [2022-08-08T23:04:03.584Z] Sending build context to Docker daemon 20.14MB [2022-08-08T23:04:03.584Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T23:04:03.584Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-08T23:04:03.584Z] ---> 5797e7817820 [2022-08-08T23:04:03.584Z] Step 3/26 : ARG MAKE="make build" [2022-08-08T23:04:03.843Z] ---> Running in 50344e9762c4 [2022-08-08T23:04:03.843Z] Removing intermediate container 50344e9762c4 [2022-08-08T23:04:03.843Z] ---> f7379f173edd [2022-08-08T23:04:03.843Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T23:04:03.843Z] ---> Running in 2080ecf370be [2022-08-08T23:04:04.101Z] Removing intermediate container 2080ecf370be [2022-08-08T23:04:04.101Z] ---> c0baa0e16359 [2022-08-08T23:04:04.101Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T23:04:04.101Z] ---> Running in 6c840c85ebb2 [2022-08-08T23:04:04.101Z] Removing intermediate container 6c840c85ebb2 [2022-08-08T23:04:04.101Z] ---> c730b97a4ae3 [2022-08-08T23:04:04.101Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-08T23:04:04.101Z] ---> Running in 02a33064158c [2022-08-08T23:04:04.362Z] Removing intermediate container 02a33064158c [2022-08-08T23:04:04.362Z] ---> 6b4376a46627 [2022-08-08T23:04:04.362Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T23:04:04.362Z] ---> Running in 7d65f53546c0 [2022-08-08T23:04:04.939Z] Removing intermediate container 7d65f53546c0 [2022-08-08T23:04:04.939Z] ---> 3b571722db8f [2022-08-08T23:04:04.939Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T23:04:04.939Z] ---> Running in 3270a8551dc7 [2022-08-08T23:04:05.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-08T23:04:06.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-08T23:04:06.414Z] OK: 211 MiB in 51 packages [2022-08-08T23:04:06.992Z] Removing intermediate container 3270a8551dc7 [2022-08-08T23:04:06.992Z] ---> 6b51617894e5 [2022-08-08T23:04:06.992Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-08T23:04:06.992Z] ---> Running in f5effebeb923 [2022-08-08T23:04:06.992Z] Removing intermediate container f5effebeb923 [2022-08-08T23:04:06.992Z] ---> 9470f46bc451 [2022-08-08T23:04:06.992Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-08T23:04:06.992Z] ---> 4d7d5dd4d032 [2022-08-08T23:04:06.992Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T23:04:07.252Z] ---> Running in 56680adcc22e [2022-08-08T23:04:07.825Z] Removing intermediate container 56680adcc22e [2022-08-08T23:04:07.825Z] ---> 04f2f6145df7 [2022-08-08T23:04:07.825Z] Step 12/26 : COPY . . [2022-08-08T23:04:08.396Z] ---> 48599a831516 [2022-08-08T23:04:08.396Z] Step 13/26 : RUN ${MAKE} [2022-08-08T23:04:08.396Z] ---> Running in 34f4c4ef7756 [2022-08-08T23:04:08.970Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-08T23:04:30.950Z] Removing intermediate container 34f4c4ef7756 [2022-08-08T23:04:30.950Z] ---> 57f48e7686a0 [2022-08-08T23:04:30.950Z] Step 14/26 : FROM alpine:3.15 [2022-08-08T23:04:30.950Z] 3.15: Pulling from library/alpine [2022-08-08T23:04:30.950Z] ab6db1bc80d0: Pulling fs layer [2022-08-08T23:04:30.950Z] ab6db1bc80d0: Verifying Checksum [2022-08-08T23:04:30.950Z] ab6db1bc80d0: Download complete [2022-08-08T23:04:30.950Z] ab6db1bc80d0: Pull complete [2022-08-08T23:04:30.950Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-08T23:04:30.950Z] Status: Downloaded newer image for alpine:3.15 [2022-08-08T23:04:30.950Z] ---> 2720e26172a0 [2022-08-08T23:04:30.950Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-08T23:04:30.950Z] ---> Running in d3a467cd4a4f [2022-08-08T23:04:30.950Z] Removing intermediate container d3a467cd4a4f [2022-08-08T23:04:30.950Z] ---> 3b32fc5700d1 [2022-08-08T23:04:30.950Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-08T23:04:30.950Z] ---> Running in 86aa59f4c8ec [2022-08-08T23:04:30.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-08T23:04:30.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-08T23:04:30.950Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-08T23:04:30.950Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-08T23:04:30.950Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-08T23:04:30.950Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-08T23:04:30.950Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-08T23:04:30.950Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-08T23:04:30.950Z] Executing busybox-1.34.1-r7.trigger [2022-08-08T23:04:30.950Z] OK: 8 MiB in 20 packages [2022-08-08T23:04:30.950Z] Removing intermediate container 86aa59f4c8ec [2022-08-08T23:04:30.950Z] ---> 95a3189c6c28 [2022-08-08T23:04:30.950Z] Step 17/26 : WORKDIR / [2022-08-08T23:04:30.950Z] ---> Running in dd9343fb88a1 [2022-08-08T23:04:30.950Z] Removing intermediate container dd9343fb88a1 [2022-08-08T23:04:30.950Z] ---> 9f4867e3e571 [2022-08-08T23:04:30.950Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-08T23:04:31.211Z] ---> 82ad717efcdc [2022-08-08T23:04:31.211Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-08T23:04:31.471Z] ---> 17b0d0e5d979 [2022-08-08T23:04:31.471Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-08T23:04:31.471Z] ---> 762acf29a3ca [2022-08-08T23:04:31.471Z] Step 21/26 : EXPOSE 59984 [2022-08-08T23:04:31.471Z] ---> Running in f6c4c894a713 [2022-08-08T23:04:31.732Z] Removing intermediate container f6c4c894a713 [2022-08-08T23:04:31.732Z] ---> 01bc42098a08 [2022-08-08T23:04:31.732Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-08T23:04:31.732Z] ---> Running in 68170722dafa [2022-08-08T23:04:31.732Z] Removing intermediate container 68170722dafa [2022-08-08T23:04:31.732Z] ---> 40fb96ab3306 [2022-08-08T23:04:31.732Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-08T23:04:31.732Z] ---> Running in 5974cf7fbe25 [2022-08-08T23:04:32.002Z] Removing intermediate container 5974cf7fbe25 [2022-08-08T23:04:32.002Z] ---> 0a16eca91bff [2022-08-08T23:04:32.002Z] Step 24/26 : LABEL arch=amd64 [2022-08-08T23:04:32.002Z] ---> Running in b0eda51d298d [2022-08-08T23:04:32.002Z] Removing intermediate container b0eda51d298d [2022-08-08T23:04:32.002Z] ---> b83e464823e4 [2022-08-08T23:04:32.002Z] Step 25/26 : LABEL git_sha=cd1ccdc6268445206edafa95bbbcff54e039e093 [2022-08-08T23:04:32.002Z] ---> Running in 575f0fe6f005 [2022-08-08T23:04:32.002Z] Removing intermediate container 575f0fe6f005 [2022-08-08T23:04:32.002Z] ---> 0cbea7aa3eb7 [2022-08-08T23:04:32.002Z] Step 26/26 : LABEL version=0.0.0 [2022-08-08T23:04:32.263Z] ---> Running in 3914c34029af [2022-08-08T23:04:32.263Z] Removing intermediate container 3914c34029af [2022-08-08T23:04:32.263Z] ---> ed2079563d16 [2022-08-08T23:04:32.263Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-08T23:04:32.263Z] Successfully built ed2079563d16 [2022-08-08T23:04:32.263Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:04:32.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T23:04:32.731Z] [2022-08-08T23:04:32.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:04:33.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T23:04:33.036Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-08T23:04:33.036Z] 5eb5b503b376: Pulling fs layer [2022-08-08T23:04:33.036Z] 5c69ac0246d0: Pulling fs layer [2022-08-08T23:04:33.036Z] ec43610c2a17: Pulling fs layer [2022-08-08T23:04:33.036Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-08T23:04:33.036Z] 33b1e0a273af: Pulling fs layer [2022-08-08T23:04:33.036Z] 5d3b04190fa2: Pulling fs layer [2022-08-08T23:04:33.036Z] 3a2ae6a8a46f: Waiting [2022-08-08T23:04:33.036Z] 33b1e0a273af: Waiting [2022-08-08T23:04:33.036Z] 2f39f015ded8: Pulling fs layer [2022-08-08T23:04:33.036Z] 5d3b04190fa2: Waiting [2022-08-08T23:04:33.036Z] 2f39f015ded8: Waiting [2022-08-08T23:04:33.036Z] 5c69ac0246d0: Verifying Checksum [2022-08-08T23:04:33.036Z] 5c69ac0246d0: Download complete [2022-08-08T23:04:33.036Z] 3a2ae6a8a46f: Download complete [2022-08-08T23:04:33.036Z] 33b1e0a273af: Download complete [2022-08-08T23:04:33.036Z] 5d3b04190fa2: Verifying Checksum [2022-08-08T23:04:33.036Z] 5d3b04190fa2: Download complete [2022-08-08T23:04:33.296Z] ec43610c2a17: Verifying Checksum [2022-08-08T23:04:33.296Z] ec43610c2a17: Download complete [2022-08-08T23:04:33.296Z] 5eb5b503b376: Verifying Checksum [2022-08-08T23:04:33.296Z] 5eb5b503b376: Download complete [2022-08-08T23:04:33.864Z] 2f39f015ded8: Verifying Checksum [2022-08-08T23:04:33.864Z] 2f39f015ded8: Download complete [2022-08-08T23:04:34.433Z] 5eb5b503b376: Pull complete [2022-08-08T23:04:34.692Z] 5c69ac0246d0: Pull complete [2022-08-08T23:04:35.264Z] ec43610c2a17: Pull complete [2022-08-08T23:04:35.264Z] 3a2ae6a8a46f: Pull complete [2022-08-08T23:04:35.524Z] 33b1e0a273af: Pull complete [2022-08-08T23:04:35.524Z] 5d3b04190fa2: Pull complete [2022-08-08T23:04:39.729Z] 2f39f015ded8: Pull complete [2022-08-08T23:04:39.729Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-08T23:04:39.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T23:04:39.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:04:39.824Z] prd-ubuntu20.04-docker-8c-8g-22174 does not seem to be running inside a container [2022-08-08T23:04:39.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T23:04:41.672Z] $ docker top 6b5862eb6ae8151c36059c9e2bd96ef228246a8fb9a4fa1c48b52f40400e3185 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:04:42.058Z] ---> job-cost.sh [2022-08-08T23:04:42.058Z] lf-activate-venv: SKIPPING [2022-08-08T23:04:42.058Z] INFO: No Stack... [2022-08-08T23:04:42.320Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T23:04:42.889Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T23:04:43.223Z] + cat /w/workspace/undry_device-onvif-camera_PR-126/archives/cost.csv [2022-08-08T23:04:43.224Z] + cut -d, -f6 [Pipeline] lock [2022-08-08T23:04:43.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [2022-08-08T23:04:43.267Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] did not exist. Created. [2022-08-08T23:04:43.267Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T23:04:43.581Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-08T23:04:43.607Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T23:04:43.614Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T23:04:43.641Z] $ docker stop --time=1 6b5862eb6ae8151c36059c9e2bd96ef228246a8fb9a4fa1c48b52f40400e3185 [2022-08-08T23:04:44.452Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22175 in /w/workspace/undry_device-onvif-camera_PR-126 [2022-08-08T23:04:44.818Z] $ docker rm -f 6b5862eb6ae8151c36059c9e2bd96ef228246a8fb9a4fa1c48b52f40400e3185 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-08-08T23:04:44.899Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2022-08-08T23:04:44.956Z] Selected Git installation does not exist. Using Default [2022-08-08T23:04:44.956Z] The recommended git tool is: NONE [Pipeline] } [2022-08-08T23:04:52.846Z] using credential edgex-jenkins-ssh [2022-08-08T23:04:52.869Z] Cloning the remote Git repository [2022-08-08T23:04:52.983Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T23:04:53.105Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-08-08T23:04:53.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T23:04:53.220Z] > git --version # timeout=10 [2022-08-08T23:04:53.297Z] > git --version # 'git version 2.25.1' [2022-08-08T23:04:53.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T23:04:53.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T23:04:54.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-08T23:04:54.691Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T23:04:54.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-08T23:04:54.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T23:04:54.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T23:04:54.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-08T23:04:55.295Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit cd1ccdc6268445206edafa95bbbcff54e039e093 [2022-08-08T23:04:55.623Z] Merge succeeded, producing cd1ccdc6268445206edafa95bbbcff54e039e093 [2022-08-08T23:04:55.624Z] Checking out Revision cd1ccdc6268445206edafa95bbbcff54e039e093 (PR-126) [2022-08-08T23:04:55.318Z] > git config core.sparsecheckout # timeout=10 [2022-08-08T23:04:55.338Z] > git checkout -f cd1ccdc6268445206edafa95bbbcff54e039e093 # timeout=10 [2022-08-08T23:04:55.540Z] > git remote # timeout=10 [2022-08-08T23:04:55.557Z] > git config --get remote.origin.url # timeout=10 [2022-08-08T23:04:55.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T23:04:55.582Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-08T23:04:55.609Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-08T23:04:55.632Z] > git config core.sparsecheckout # timeout=10 [2022-08-08T23:04:55.644Z] > git checkout -f cd1ccdc6268445206edafa95bbbcff54e039e093 # timeout=10 [2022-08-08T23:04:59.979Z] Commit message: "docs: update credential map comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T23:05:00.921Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-08T23:05:00.921Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T23:05:00.921Z] Dload Upload Total Spent Left Speed [2022-08-08T23:05:00.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97873 [Pipeline] sh [2022-08-08T23:05:01.727Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-08T23:05:02.070Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-08T23:05:02.070Z] + sudo tee /etc/docker/daemon.new [2022-08-08T23:05:02.070Z] { [2022-08-08T23:05:02.070Z] "registry-mirrors": [ [2022-08-08T23:05:02.070Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-08T23:05:02.070Z] ], [2022-08-08T23:05:02.070Z] "bip": "10.250.0.254/24", [2022-08-08T23:05:02.070Z] "hosts": [ [2022-08-08T23:05:02.070Z] "tcp://0.0.0.0:5555", [2022-08-08T23:05:02.070Z] "unix:///var/run/docker.sock" [2022-08-08T23:05:02.070Z] ], [2022-08-08T23:05:02.070Z] "mtu": 1458, [2022-08-08T23:05:02.070Z] "selinux-enabled": true, [2022-08-08T23:05:02.070Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-08T23:05:02.070Z] } [Pipeline] sh [2022-08-08T23:05:02.424Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-08T23:05:02.762Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T23:05:21.117Z] provisioning config files... [2022-08-08T23:05:21.143Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config53799109508842195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:05:21.497Z] ---> docker-login.sh [2022-08-08T23:05:21.497Z] nexus3.edgexfoundry.org:10001 [2022-08-08T23:05:22.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:05:22.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:05:22.365Z] Configure a credential helper to remove this warning. See [2022-08-08T23:05:22.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:05:22.366Z] [2022-08-08T23:05:22.366Z] Login Succeeded [2022-08-08T23:05:22.366Z] nexus3.edgexfoundry.org:10002 [2022-08-08T23:05:22.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:05:24.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:05:24.081Z] Configure a credential helper to remove this warning. See [2022-08-08T23:05:24.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:05:24.081Z] [2022-08-08T23:05:24.081Z] Login Succeeded [2022-08-08T23:05:24.081Z] nexus3.edgexfoundry.org:10003 [2022-08-08T23:05:24.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:05:24.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:05:24.354Z] Configure a credential helper to remove this warning. See [2022-08-08T23:05:24.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:05:24.354Z] [2022-08-08T23:05:24.354Z] Login Succeeded [2022-08-08T23:05:24.354Z] nexus3.edgexfoundry.org:10004 [2022-08-08T23:05:24.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:05:24.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:05:24.626Z] Configure a credential helper to remove this warning. See [2022-08-08T23:05:24.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:05:24.626Z] [2022-08-08T23:05:24.626Z] Login Succeeded [2022-08-08T23:05:24.626Z] docker.io [2022-08-08T23:05:25.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T23:05:25.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T23:05:25.492Z] Configure a credential helper to remove this warning. See [2022-08-08T23:05:25.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T23:05:25.492Z] [2022-08-08T23:05:25.492Z] Login Succeeded [2022-08-08T23:05:25.492Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T23:05:25.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-08T23:05:26.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T23:05:26.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T23:05:26.038Z] ========================================================= [2022-08-08T23:05:26.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-08T23:05:26.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:05:26.419Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-08T23:05:27.020Z] Sending build context to Docker daemon 13.69MB [2022-08-08T23:05:27.020Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T23:05:27.020Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-08T23:05:27.020Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-08T23:05:27.020Z] b3c136eddcbf: Pulling fs layer [2022-08-08T23:05:27.020Z] c0a3192eca97: Pulling fs layer [2022-08-08T23:05:27.020Z] a050256f5b6f: Pulling fs layer [2022-08-08T23:05:27.020Z] 656be50a0ddc: Pulling fs layer [2022-08-08T23:05:27.020Z] 2bbca73fdf42: Pulling fs layer [2022-08-08T23:05:27.020Z] 46d945488cbd: Pulling fs layer [2022-08-08T23:05:27.020Z] 8a5474983e97: Pulling fs layer [2022-08-08T23:05:27.020Z] 329c88fbcd65: Pulling fs layer [2022-08-08T23:05:27.020Z] 656be50a0ddc: Waiting [2022-08-08T23:05:27.020Z] 46d945488cbd: Waiting [2022-08-08T23:05:27.020Z] 2bbca73fdf42: Waiting [2022-08-08T23:05:27.020Z] 8a5474983e97: Waiting [2022-08-08T23:05:27.020Z] 329c88fbcd65: Waiting [2022-08-08T23:05:27.020Z] a050256f5b6f: Verifying Checksum [2022-08-08T23:05:27.020Z] a050256f5b6f: Download complete [2022-08-08T23:05:27.303Z] c0a3192eca97: Verifying Checksum [2022-08-08T23:05:27.303Z] c0a3192eca97: Download complete [2022-08-08T23:05:27.303Z] 2bbca73fdf42: Verifying Checksum [2022-08-08T23:05:27.303Z] 2bbca73fdf42: Download complete [2022-08-08T23:05:27.303Z] 46d945488cbd: Verifying Checksum [2022-08-08T23:05:27.303Z] 46d945488cbd: Download complete [2022-08-08T23:05:27.303Z] b3c136eddcbf: Verifying Checksum [2022-08-08T23:05:27.303Z] b3c136eddcbf: Download complete [2022-08-08T23:05:28.289Z] b3c136eddcbf: Pull complete [2022-08-08T23:05:28.289Z] 329c88fbcd65: Verifying Checksum [2022-08-08T23:05:28.289Z] 329c88fbcd65: Download complete [2022-08-08T23:05:28.893Z] c0a3192eca97: Pull complete [2022-08-08T23:05:29.168Z] a050256f5b6f: Pull complete [2022-08-08T23:05:29.441Z] 8a5474983e97: Verifying Checksum [2022-08-08T23:05:29.441Z] 8a5474983e97: Download complete [2022-08-08T23:05:30.038Z] 656be50a0ddc: Download complete [2022-08-08T23:05:45.154Z] 656be50a0ddc: Pull complete [2022-08-08T23:05:45.154Z] 2bbca73fdf42: Pull complete [2022-08-08T23:05:45.154Z] 46d945488cbd: Pull complete [2022-08-08T23:05:49.524Z] 8a5474983e97: Pull complete [2022-08-08T23:05:51.515Z] 329c88fbcd65: Pull complete [2022-08-08T23:05:51.515Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-08T23:05:51.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-08T23:05:51.515Z] ---> ff4287adb874 [2022-08-08T23:05:51.515Z] Step 3/13 : ARG MAKE="make build" [2022-08-08T23:05:52.533Z] ---> Running in fddeb04a1224 [2022-08-08T23:05:52.533Z] Removing intermediate container fddeb04a1224 [2022-08-08T23:05:52.533Z] ---> 848c499e2c5c [2022-08-08T23:05:52.533Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T23:05:52.813Z] ---> Running in 11519b5413e1 [2022-08-08T23:05:53.087Z] Removing intermediate container 11519b5413e1 [2022-08-08T23:05:53.087Z] ---> 3eac0d4647de [2022-08-08T23:05:53.087Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T23:05:53.087Z] ---> Running in 170e20d0865f [2022-08-08T23:05:53.369Z] Removing intermediate container 170e20d0865f [2022-08-08T23:05:53.369Z] ---> 312333b5a5ce [2022-08-08T23:05:53.369Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-08T23:05:53.369Z] ---> Running in 8856afba8ee7 [2022-08-08T23:05:53.648Z] Removing intermediate container 8856afba8ee7 [2022-08-08T23:05:53.648Z] ---> 21541bfaff9c [2022-08-08T23:05:53.648Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T23:05:53.925Z] ---> Running in ca1525ab064b [2022-08-08T23:05:55.370Z] Removing intermediate container ca1525ab064b [2022-08-08T23:05:55.370Z] ---> a75c163a1cd1 [2022-08-08T23:05:55.370Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T23:05:55.654Z] ---> Running in f3b343e34a04 [2022-08-08T23:05:57.881Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-08T23:05:58.481Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-08T23:05:59.918Z] OK: 221 MiB in 51 packages [2022-08-08T23:06:00.525Z] Removing intermediate container f3b343e34a04 [2022-08-08T23:06:00.525Z] ---> 7aded8a29dd4 [2022-08-08T23:06:00.525Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-08T23:06:00.525Z] ---> Running in 8d5fee224da3 [2022-08-08T23:06:01.128Z] Removing intermediate container 8d5fee224da3 [2022-08-08T23:06:01.128Z] ---> c070dcc5f5fa [2022-08-08T23:06:01.128Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-08T23:06:01.408Z] ---> 0a7a7b482b1d [2022-08-08T23:06:01.408Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T23:06:01.690Z] ---> Running in c3ee8553ca11 [2022-08-08T23:06:48.749Z] Removing intermediate container c3ee8553ca11 [2022-08-08T23:06:48.749Z] ---> f41206484e3b [2022-08-08T23:06:48.749Z] Step 12/13 : COPY . . [2022-08-08T23:06:49.733Z] ---> 6c049cb519d0 [2022-08-08T23:06:49.733Z] Step 13/13 : RUN ${MAKE} [2022-08-08T23:06:49.733Z] ---> Running in 3362d7bd5cd1 [2022-08-08T23:06:50.730Z] noop [2022-08-08T23:06:51.332Z] Removing intermediate container 3362d7bd5cd1 [2022-08-08T23:06:51.332Z] ---> 5ee3639858c2 [2022-08-08T23:06:51.332Z] Successfully built 5ee3639858c2 [2022-08-08T23:06:51.332Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:06:51.711Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T23:06:51.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:06:51.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-22175 does not seem to be running inside a container [2022-08-08T23:06:52.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T23:06:53.354Z] $ docker top 6ffc749e86159ae005ea216dfd42741efe81eba3d65ac21bbe32caf8499fbded -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T23:06:54.285Z] + go version [2022-08-08T23:06:54.285Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-08T23:06:54.312Z] $ docker stop --time=1 6ffc749e86159ae005ea216dfd42741efe81eba3d65ac21bbe32caf8499fbded [2022-08-08T23:06:55.947Z] $ docker rm -f 6ffc749e86159ae005ea216dfd42741efe81eba3d65ac21bbe32caf8499fbded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:06:56.575Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T23:06:56.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:06:56.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-22175 does not seem to be running inside a container [2022-08-08T23:06:56.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T23:06:58.119Z] $ docker top 47f46f6fa38fcec2753838e4b69429ce091befc82e44c0c8d8f9635cb659d348 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T23:06:59.032Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-08-08T23:06:59.708Z] + make test [2022-08-08T23:06:59.708Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-08T23:07:01.155Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-08T23:08:23.029Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-08T23:08:29.768Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.133s coverage: 10.6% of statements [2022-08-08T23:08:29.768Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-08T23:09:02.141Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.342s coverage: 13.8% of statements [2022-08-08T23:09:02.141Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-08T23:09:02.141Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T23:09:20.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T23:09:20.494Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T23:09:20.494Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-08T23:09:21.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T23:09:21.970Z] $ docker stop --time=1 47f46f6fa38fcec2753838e4b69429ce091befc82e44c0c8d8f9635cb659d348 [2022-08-08T23:09:23.749Z] $ docker rm -f 47f46f6fa38fcec2753838e4b69429ce091befc82e44c0c8d8f9635cb659d348 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T23:09:24.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T23:09:24.761Z] Warning: overwriting stash ‘coverage-report’ [2022-08-08T23:09:25.467Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T23:09:25.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-08T23:09:26.223Z] + ls -al . [2022-08-08T23:09:26.223Z] total 228 [2022-08-08T23:09:26.223Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 23:09 . [2022-08-08T23:09:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:04 .. [2022-08-08T23:09:26.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 23:04 .git [2022-08-08T23:09:26.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 23:04 .github [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 23:04 .gitignore [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 23:04 .golangci.yml [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 23:04 Attribution.txt [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 23:04 CHANGELOG.md [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 23:04 Dockerfile [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 23:04 GOVERNANCE.md [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 23:04 Jenkinsfile [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 23:04 LICENSE [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 8 23:04 Makefile [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 23:04 OWNERS.md [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 23:04 README.md [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 23:02 VERSION [2022-08-08T23:09:26.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 23:04 bin [2022-08-08T23:09:26.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 23:04 cmd [2022-08-08T23:09:26.223Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 23:08 coverage.out [2022-08-08T23:09:26.223Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 23:04 doc [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 23:04 go.mod [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 23:04 go.sum [2022-08-08T23:09:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:04 internal [2022-08-08T23:09:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 23:04 snap [2022-08-08T23:09:26.223Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:09:26.593Z] + 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=cd1ccdc6268445206edafa95bbbcff54e039e093 --label arch=arm64 --label version=0.0.0 . [2022-08-08T23:09:27.201Z] Sending build context to Docker daemon 13.77MB [2022-08-08T23:09:27.201Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T23:09:27.201Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-08T23:09:27.201Z] ---> 5ee3639858c2 [2022-08-08T23:09:27.201Z] Step 3/26 : ARG MAKE="make build" [2022-08-08T23:09:27.201Z] ---> Running in ab199c432bc0 [2022-08-08T23:09:27.796Z] Removing intermediate container ab199c432bc0 [2022-08-08T23:09:27.796Z] ---> 44a67603ae08 [2022-08-08T23:09:27.796Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T23:09:27.796Z] ---> Running in 7fb5c2eba469 [2022-08-08T23:09:28.074Z] Removing intermediate container 7fb5c2eba469 [2022-08-08T23:09:28.074Z] ---> 140ce00d970e [2022-08-08T23:09:28.074Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T23:09:28.074Z] ---> Running in 94b0e92f396b [2022-08-08T23:09:28.349Z] Removing intermediate container 94b0e92f396b [2022-08-08T23:09:28.349Z] ---> bc749fe831d4 [2022-08-08T23:09:28.349Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-08T23:09:28.349Z] ---> Running in 177a9a455ea1 [2022-08-08T23:09:28.622Z] Removing intermediate container 177a9a455ea1 [2022-08-08T23:09:28.622Z] ---> 793567c2a513 [2022-08-08T23:09:28.622Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T23:09:28.900Z] ---> Running in 15f8b41636c9 [2022-08-08T23:09:30.345Z] Removing intermediate container 15f8b41636c9 [2022-08-08T23:09:30.345Z] ---> a57dec74f6e7 [2022-08-08T23:09:30.345Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T23:09:30.345Z] ---> Running in 45e98bd1827e [2022-08-08T23:09:31.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-08T23:09:32.303Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-08T23:09:33.280Z] OK: 221 MiB in 51 packages [2022-08-08T23:09:34.258Z] Removing intermediate container 45e98bd1827e [2022-08-08T23:09:34.258Z] ---> dcb68cf024e3 [2022-08-08T23:09:34.258Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-08T23:09:34.258Z] ---> Running in dbb9f11cad42 [2022-08-08T23:09:34.258Z] Removing intermediate container dbb9f11cad42 [2022-08-08T23:09:34.258Z] ---> 81dc1c8a5b8e [2022-08-08T23:09:34.258Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-08T23:09:34.852Z] ---> 990fd7270d7b [2022-08-08T23:09:34.852Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T23:09:34.852Z] ---> Running in 52ca9b731c64 [2022-08-08T23:09:36.828Z] Removing intermediate container 52ca9b731c64 [2022-08-08T23:09:36.828Z] ---> a9f3e67c4b64 [2022-08-08T23:09:36.828Z] Step 12/26 : COPY . . [2022-08-08T23:09:38.272Z] ---> ad9e8dce4b4f [2022-08-08T23:09:38.272Z] Step 13/26 : RUN ${MAKE} [2022-08-08T23:09:38.273Z] ---> Running in 12c4d89d105f [2022-08-08T23:09:39.263Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-08T23:11:46.113Z] Removing intermediate container 12c4d89d105f [2022-08-08T23:11:46.113Z] ---> 424cbfbc07b3 [2022-08-08T23:11:46.113Z] Step 14/26 : FROM alpine:3.15 [2022-08-08T23:11:46.113Z] 3.15: Pulling from library/alpine [2022-08-08T23:11:46.113Z] e0295fd11fe2: Pulling fs layer [2022-08-08T23:11:46.113Z] e0295fd11fe2: Verifying Checksum [2022-08-08T23:11:46.113Z] e0295fd11fe2: Download complete [2022-08-08T23:11:46.113Z] e0295fd11fe2: Pull complete [2022-08-08T23:11:46.113Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-08T23:11:46.113Z] Status: Downloaded newer image for alpine:3.15 [2022-08-08T23:11:46.113Z] ---> 60f2846fe774 [2022-08-08T23:11:46.113Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-08T23:11:46.113Z] ---> Running in c265b3f7576d [2022-08-08T23:11:46.113Z] Removing intermediate container c265b3f7576d [2022-08-08T23:11:46.113Z] ---> ff8e6f6cafb7 [2022-08-08T23:11:46.113Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-08T23:11:46.113Z] ---> Running in 67aa5f65c538 [2022-08-08T23:11:46.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-08T23:11:46.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-08T23:11:47.572Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-08T23:11:47.572Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-08T23:11:47.572Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-08T23:11:47.572Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-08T23:11:47.572Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-08T23:11:47.572Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-08T23:11:47.572Z] Executing busybox-1.34.1-r7.trigger [2022-08-08T23:11:47.572Z] OK: 8 MiB in 20 packages [2022-08-08T23:11:48.552Z] Removing intermediate container 67aa5f65c538 [2022-08-08T23:11:48.552Z] ---> 7648d9996c15 [2022-08-08T23:11:48.552Z] Step 17/26 : WORKDIR / [2022-08-08T23:11:48.552Z] ---> Running in 9a762fb2dad6 [2022-08-08T23:11:48.825Z] Removing intermediate container 9a762fb2dad6 [2022-08-08T23:11:48.825Z] ---> dd1e3faae16d [2022-08-08T23:11:48.825Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-08T23:11:50.254Z] ---> 550764b34aa0 [2022-08-08T23:11:50.254Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-08T23:11:50.850Z] ---> 8d5ab5131e1a [2022-08-08T23:11:50.850Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-08T23:11:51.445Z] ---> 96ab0a31ded7 [2022-08-08T23:11:51.445Z] Step 21/26 : EXPOSE 59984 [2022-08-08T23:11:51.445Z] ---> Running in 1a7f5eea4fe5 [2022-08-08T23:11:51.715Z] Removing intermediate container 1a7f5eea4fe5 [2022-08-08T23:11:51.715Z] ---> ca3be4010ec3 [2022-08-08T23:11:51.715Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-08T23:11:51.715Z] ---> Running in b13a58f00a1e [2022-08-08T23:11:51.988Z] Removing intermediate container b13a58f00a1e [2022-08-08T23:11:51.988Z] ---> 03cb0b135ef5 [2022-08-08T23:11:51.988Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-08T23:11:51.988Z] ---> Running in c2a11aa66c5e [2022-08-08T23:11:52.259Z] Removing intermediate container c2a11aa66c5e [2022-08-08T23:11:52.259Z] ---> 610fa2973c4e [2022-08-08T23:11:52.259Z] Step 24/26 : LABEL arch=arm64 [2022-08-08T23:11:52.531Z] ---> Running in 26e50764b92e [2022-08-08T23:11:52.804Z] Removing intermediate container 26e50764b92e [2022-08-08T23:11:52.804Z] ---> f52f9b201097 [2022-08-08T23:11:52.804Z] Step 25/26 : LABEL git_sha=cd1ccdc6268445206edafa95bbbcff54e039e093 [2022-08-08T23:11:52.804Z] ---> Running in 7b57e6f36315 [2022-08-08T23:11:53.076Z] Removing intermediate container 7b57e6f36315 [2022-08-08T23:11:53.076Z] ---> a14c005c20c6 [2022-08-08T23:11:53.076Z] Step 26/26 : LABEL version=0.0.0 [2022-08-08T23:11:53.076Z] ---> Running in bf293748a612 [2022-08-08T23:11:53.347Z] Removing intermediate container bf293748a612 [2022-08-08T23:11:53.347Z] ---> fd4421329b80 [2022-08-08T23:11:53.347Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-08T23:11:53.618Z] Successfully built fd4421329b80 [2022-08-08T23:11:53.618Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:11:54.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T23:11:54.061Z] [2022-08-08T23:11:54.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:11:54.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T23:11:54.408Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-08T23:11:54.408Z] 8998bd30e6a1: Pulling fs layer [2022-08-08T23:11:54.408Z] 04944245beec: Pulling fs layer [2022-08-08T23:11:54.408Z] 699f458cf7ca: Pulling fs layer [2022-08-08T23:11:54.408Z] 765212b225bb: Pulling fs layer [2022-08-08T23:11:54.408Z] f23df028b6ca: Pulling fs layer [2022-08-08T23:11:54.408Z] d65c8cfc05b1: Pulling fs layer [2022-08-08T23:11:54.408Z] 2437ff75d9bd: Pulling fs layer [2022-08-08T23:11:54.408Z] f23df028b6ca: Waiting [2022-08-08T23:11:54.408Z] d65c8cfc05b1: Waiting [2022-08-08T23:11:54.682Z] 2437ff75d9bd: Waiting [2022-08-08T23:11:54.682Z] 765212b225bb: Waiting [2022-08-08T23:11:54.682Z] 04944245beec: Verifying Checksum [2022-08-08T23:11:54.682Z] 04944245beec: Download complete [2022-08-08T23:11:54.682Z] 765212b225bb: Verifying Checksum [2022-08-08T23:11:54.682Z] 765212b225bb: Download complete [2022-08-08T23:11:54.682Z] f23df028b6ca: Verifying Checksum [2022-08-08T23:11:54.682Z] f23df028b6ca: Download complete [2022-08-08T23:11:54.682Z] d65c8cfc05b1: Verifying Checksum [2022-08-08T23:11:54.682Z] d65c8cfc05b1: Download complete [2022-08-08T23:11:54.958Z] 699f458cf7ca: Verifying Checksum [2022-08-08T23:11:54.958Z] 699f458cf7ca: Download complete [2022-08-08T23:11:55.231Z] 8998bd30e6a1: Verifying Checksum [2022-08-08T23:11:55.231Z] 8998bd30e6a1: Download complete [2022-08-08T23:11:57.877Z] 2437ff75d9bd: Verifying Checksum [2022-08-08T23:11:57.877Z] 2437ff75d9bd: Download complete [2022-08-08T23:11:59.866Z] 8998bd30e6a1: Pull complete [2022-08-08T23:12:00.138Z] 04944245beec: Pull complete [2022-08-08T23:12:01.574Z] 699f458cf7ca: Pull complete [2022-08-08T23:12:01.848Z] 765212b225bb: Pull complete [2022-08-08T23:12:02.718Z] f23df028b6ca: Pull complete [2022-08-08T23:12:02.992Z] d65c8cfc05b1: Pull complete [2022-08-08T23:12:18.083Z] 2437ff75d9bd: Pull complete [2022-08-08T23:12:18.083Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-08T23:12:18.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T23:12:18.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:12:18.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-22175 does not seem to be running inside a container [2022-08-08T23:12:18.425Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-08T23:12:20.993Z] $ docker top befdd8a84c84253be626deba373f6452a9df8073800e501ecea6fbd6fe4aef14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:21.988Z] ---> job-cost.sh [2022-08-08T23:12:21.988Z] lf-activate-venv: SKIPPING [2022-08-08T23:12:21.988Z] INFO: No Stack... [2022-08-08T23:12:22.270Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-08T23:12:23.254Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T23:12:23.927Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-08-08T23:12:23.927Z] + cut -d, -f6 [Pipeline] lock [2022-08-08T23:12:23.989Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [2022-08-08T23:12:23.998Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] did not exist. Created. [2022-08-08T23:12:23.998Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T23:12:24.669Z] /w/workspace/device-onvif-camera/3@tmp/durable-e031013d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-08T23:12:25.343Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-08T23:12:25.364Z] Warning: overwriting stash ‘stack-cost’ [2022-08-08T23:12:25.422Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T23:12:25.432Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T23:12:25.454Z] $ docker stop --time=1 befdd8a84c84253be626deba373f6452a9df8073800e501ecea6fbd6fe4aef14 [2022-08-08T23:12:26.924Z] $ docker rm -f befdd8a84c84253be626deba373f6452a9df8073800e501ecea6fbd6fe4aef14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-08T23:12:27.413Z] provisioning config files... [2022-08-08T23:12:27.422Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config5578698799570777734tmp [Pipeline] { [Pipeline] sh [2022-08-08T23:12:27.718Z] + set +x [2022-08-08T23:12:27.718Z] + curl -s https://codecov.io/bash [2022-08-08T23:12:27.718Z] + bash -s -- [2022-08-08T23:12:27.718Z] [2022-08-08T23:12:27.718Z] _____ _ [2022-08-08T23:12:27.718Z] / ____| | | [2022-08-08T23:12:27.718Z] | | ___ __| | ___ ___ _____ __ [2022-08-08T23:12:27.718Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-08T23:12:27.718Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-08T23:12:27.718Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-08T23:12:27.718Z] Bash-1.0.6 [2022-08-08T23:12:27.718Z] [2022-08-08T23:12:27.718Z] [2022-08-08T23:12:27.718Z] ==> git version 2.25.1 found [2022-08-08T23:12:27.718Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-08T23:12:27.718Z] Release-Date: 2020-01-08 [2022-08-08T23:12:27.718Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-08T23:12:27.718Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-08T23:12:27.718Z] ==> Jenkins CI detected. [2022-08-08T23:12:27.718Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-126 [2022-08-08T23:12:27.718Z] project root: . [2022-08-08T23:12:27.718Z] --> token set from env [2022-08-08T23:12:27.718Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-08T23:12:27.718Z] ==> Running gcov in . (disable via -X gcov) [2022-08-08T23:12:27.718Z] ==> Python coveragepy not found [2022-08-08T23:12:27.718Z] ==> Searching for coverage reports in: [2022-08-08T23:12:27.718Z] + . [2022-08-08T23:12:27.718Z] -> Found 1 reports [2022-08-08T23:12:27.718Z] ==> Detecting git/mercurial file structure [2022-08-08T23:12:27.718Z] ==> Reading reports [2022-08-08T23:12:27.718Z] + ./coverage.out bytes=76856 [2022-08-08T23:12:27.718Z] ==> Appending adjustments [2022-08-08T23:12:27.718Z] https://docs.codecov.io/docs/fixing-reports [2022-08-08T23:12:27.978Z] + Found adjustments [2022-08-08T23:12:27.978Z] ==> Gzipping contents [2022-08-08T23:12:27.978Z] 12K /tmp/codecov.o5ZwJW.gz [2022-08-08T23:12:27.978Z] ==> Uploading reports [2022-08-08T23:12:27.978Z] url: https://codecov.io [2022-08-08T23:12:27.978Z] query: branch=PR-126&commit=cd1ccdc6268445206edafa95bbbcff54e039e093&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-08T23:12:27.978Z] -> Pinging Codecov [2022-08-08T23:12:27.978Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-126&commit=cd1ccdc6268445206edafa95bbbcff54e039e093&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-08T23:12:28.239Z] -> Uploading to [2022-08-08T23:12:28.239Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-08/F29A59C45E3A92E06B3E522C9905F8EF/cd1ccdc6268445206edafa95bbbcff54e039e093/aa99c46a-a219-4921-beb9-739fc31ab4cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T231228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae0dc6d7c821601001b29860d214760dcc0fcfc086289c98210a2d4287f904cb [2022-08-08T23:12:28.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T23:12:28.239Z] Dload Upload Total Spent Left Speed [2022-08-08T23:12:28.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10370 0 0 100 10370 0 46502 --:--:-- --:--:-- --:--:-- 46294 100 10370 0 0 100 10370 0 38265 --:--:-- --:--:-- --:--:-- 38125 [2022-08-08T23:12:28.499Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/cd1ccdc6268445206edafa95bbbcff54e039e093 [Pipeline] } [2022-08-08T23:12:28.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-08T23:12:29.197Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-126/archives ] [2022-08-08T23:12:29.197Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T23:12:29.197Z] total 16 [2022-08-08T23:12:29.197Z] drwxr-xr-x 3 root root 4096 Aug 8 23:04 . [2022-08-08T23:12:29.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 23:04 .. [2022-08-08T23:12:29.197Z] drwxr-xr-x 2 root root 4096 Aug 8 23:04 cost [2022-08-08T23:12:29.197Z] -rw-r--r-- 1 root root 91 Aug 8 23:04 cost.csv [2022-08-08T23:12:29.197Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T23:12:29.197Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T23:12:29.197Z] total 16 [2022-08-08T23:12:29.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 23:04 . [2022-08-08T23:12:29.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 23:04 .. [2022-08-08T23:12:29.197Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 23:04 cost [2022-08-08T23:12:29.197Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 8 23:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:29.490Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:30.350Z] ---> package-listing.sh [2022-08-08T23:12:30.350Z] ++ facter osfamily [2022-08-08T23:12:30.350Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-08T23:12:30.610Z] + OS_FAMILY=debian [2022-08-08T23:12:30.610Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-126 [2022-08-08T23:12:30.610Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-08T23:12:30.610Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-08T23:12:30.610Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-08T23:12:30.610Z] + PACKAGES=/tmp/packages_start.txt [2022-08-08T23:12:30.610Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-08T23:12:30.610Z] + PACKAGES=/tmp/packages_end.txt [2022-08-08T23:12:30.610Z] + case "${OS_FAMILY}" in [2022-08-08T23:12:30.610Z] + dpkg -l [2022-08-08T23:12:30.610Z] + grep '^ii' [2022-08-08T23:12:30.610Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-08T23:12:30.610Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-08T23:12:30.610Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-08T23:12:30.610Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-08T23:12:30.610Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-126/archives/ [2022-08-08T23:12:30.610Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-126/archives/ [Pipeline] echo [2022-08-08T23:12:30.622Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-08T23:12:30.901Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T23:12:31.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T23:12:31.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T23:12:31.547Z] prd-ubuntu20.04-docker-8c-8g-22174 does not seem to be running inside a container [2022-08-08T23:12:31.578Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T23:12:31.780Z] $ docker top 924e3e8f1a39019c7e0e82ac1e56799ad293cd71c4001db626290272d9345d38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T23:12:32.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-08T23:12:32.423Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-08T23:12:32.714Z] + ls /var/log/sa-host [2022-08-08T23:12:32.714Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T23:12:32.793Z] provisioning config files... [2022-08-08T23:12:32.802Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config4051309411512506615tmp [Pipeline] { [Pipeline] echo [2022-08-08T23:12:32.817Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:33.100Z] ---> create-netrc.sh [Pipeline] } [2022-08-08T23:12:33.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:33.441Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-08T23:12:33.449Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:33.733Z] ---> sudo-logs.sh [2022-08-08T23:12:33.733Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-08T23:12:33.761Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:34.046Z] ---> job-cost.sh [2022-08-08T23:12:34.047Z] lf-activate-venv: SKIPPING [2022-08-08T23:12:34.047Z] DEBUG: total: 0.2199999988079071 [2022-08-08T23:12:34.047Z] INFO: Retrieving Stack Cost... [2022-08-08T23:12:34.619Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T23:12:34.879Z] INFO: Archiving Costs [Pipeline] echo [2022-08-08T23:12:34.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T23:12:35.176Z] ---> logs-deploy.sh [2022-08-08T23:12:35.176Z] lf-activate-venv: SKIPPING [2022-08-08T23:12:35.176Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-126/3 [2022-08-08T23:12:35.176Z] INFO: archiving workspace using pattern(s): [2022-08-08T23:12:36.116Z] Archives upload complete. [2022-08-08T23:12:36.381Z] INFO: archiving logs to Nexus