Branch indexing 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 hahattan for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from d489125bdbe00d3bc0774f527613743c1694101f+35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 (cbe44d16901986265e757d859d60037fcd73a7ef) 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-ssh15889217320064530672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8338847475659068417.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-219/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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2874302067288793408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh69917636748490808.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-219/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-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12438827534420379117.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3562 in /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-219 # 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 > 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/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit d489125bdbe00d3bc0774f527613743c1694101f Merge succeeded, producing f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 Checking out Revision f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 (PR-219) > git config core.sparsecheckout # timeout=10 > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # 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 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 # timeout=10 Commit message: "Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD" > git rev-list --no-walk d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-24T22:11:36.001Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-24T22:11:36.055Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-24T22:11:36.070Z] ========================================================= [2023-01-24T22:11:36.070Z] EdgeX Global Pipelines Version Info [2023-01-24T22:11:36.070Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:11:36.774Z] ------------------- [2023-01-24T22:11:36.774Z] stable info: [2023-01-24T22:11:36.774Z] ------------------- [2023-01-24T22:11:36.774Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-24T22:11:36.774Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-24T22:11:36.774Z] Message: update stable to v1.0.244 [2023-01-24T22:11:37.346Z] ------------------- [2023-01-24T22:11:37.346Z] experimental info: [2023-01-24T22:11:37.346Z] ------------------- [2023-01-24T22:11:37.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-24T22:11:37.346Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-24T22:11:37.346Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-24T22:11:37.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-24T22:11:37.518Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-24T22:11:37.527Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-24T22:11:37.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-24T22:11:37.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-24T22:11:37.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-24T22:11:37.567Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-24T22:11:37.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-24T22:11:37.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-24T22:11:37.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-24T22:11:37.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-24T22:11:37.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-24T22:11:37.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-24T22:11:37.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-24T22:11:37.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-24T22:11:37.696Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-24T22:11:37.708Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-24T22:11:37.721Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-24T22:11:37.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-24T22:11:37.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-24T22:11:37.754Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-24T22:11:37.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-24T22:11:37.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-24T22:11:37.798Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-24T22:11:37.809Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-24T22:11:37.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-24T22:11:37.850Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-24T22:11:37.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2023-01-24T22:11:37.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2023-01-24T22:11:37.892Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2023-01-24T22:11:37.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [Pipeline] echo [2023-01-24T22:11:37.915Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9c83f7 [Pipeline] echo [2023-01-24T22:11:37.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T22:11:37.974Z] provisioning config files... [2023-01-24T22:11:37.987Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config7636944822470609255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:11:38.286Z] ---> docker-login.sh [2023-01-24T22:11:38.286Z] nexus3.edgexfoundry.org:10001 [2023-01-24T22:11:38.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:38.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:38.546Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:38.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:38.546Z] [2023-01-24T22:11:38.546Z] Login Succeeded [2023-01-24T22:11:38.546Z] nexus3.edgexfoundry.org:10002 [2023-01-24T22:11:38.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:38.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:38.546Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:38.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:38.546Z] [2023-01-24T22:11:38.546Z] Login Succeeded [2023-01-24T22:11:38.546Z] nexus3.edgexfoundry.org:10003 [2023-01-24T22:11:38.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:38.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:38.815Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:38.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:38.815Z] [2023-01-24T22:11:38.815Z] Login Succeeded [2023-01-24T22:11:38.815Z] nexus3.edgexfoundry.org:10004 [2023-01-24T22:11:38.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:38.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:38.815Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:38.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:38.815Z] [2023-01-24T22:11:38.815Z] Login Succeeded [2023-01-24T22:11:38.815Z] docker.io [2023-01-24T22:11:39.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:39.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:39.077Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:39.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:39.077Z] [2023-01-24T22:11:39.077Z] Login Succeeded [2023-01-24T22:11:39.337Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T22:11:39.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-24T22:11:39.704Z] + git rev-list -1 --merges f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6~1..f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [Pipeline] echo [2023-01-24T22:11:39.747Z] -----------> git rev-list -1 --merges f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6~1..f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [2023-01-24T22:11:39.747Z] f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [false] [Pipeline] sh [2023-01-24T22:11:40.034Z] + git log --format=format:%s -1 f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [Pipeline] echo [2023-01-24T22:11:40.051Z] ========================================================= [2023-01-24T22:11:40.051Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-24T22:11:40.051Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T22:11:40.410Z] + git log --format=format:%s -1 f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [Pipeline] echo [2023-01-24T22:11:40.423Z] [semverPrep] GIT_COMMIT: f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6, Commit Message: Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD [Pipeline] echo [2023-01-24T22:11:40.435Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-24T22:11:40.777Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-24T22:11:40.777Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-24T22:11:40.777Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-24T22:11:40.777Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-24T22:11:40.777Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-24T22:11:40.777Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-24T22:11:40.777Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:11:41.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T22:11:41.138Z] [2023-01-24T22:11:41.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:11:41.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T22:11:41.447Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-24T22:11:41.447Z] b85a868b505f: Pulling fs layer [2023-01-24T22:11:41.447Z] e2be974225ed: Pulling fs layer [2023-01-24T22:11:41.447Z] 339a4e72a1f5: Pulling fs layer [2023-01-24T22:11:41.447Z] 988bab9f4d93: Pulling fs layer [2023-01-24T22:11:41.447Z] 1469e6f7b9e6: Pulling fs layer [2023-01-24T22:11:41.447Z] eaf3925da568: Pulling fs layer [2023-01-24T22:11:41.447Z] bab4dde63d76: Pulling fs layer [2023-01-24T22:11:41.447Z] bde34c3a00c8: Pulling fs layer [2023-01-24T22:11:41.447Z] b352a97aabf1: Pulling fs layer [2023-01-24T22:11:41.447Z] 4872d77fe225: Pulling fs layer [2023-01-24T22:11:41.447Z] 5851b861e8e6: Pulling fs layer [2023-01-24T22:11:41.447Z] 4872d77fe225: Waiting [2023-01-24T22:11:41.447Z] 5851b861e8e6: Waiting [2023-01-24T22:11:41.447Z] 988bab9f4d93: Waiting [2023-01-24T22:11:41.447Z] bab4dde63d76: Waiting [2023-01-24T22:11:41.447Z] eaf3925da568: Waiting [2023-01-24T22:11:41.447Z] b352a97aabf1: Waiting [2023-01-24T22:11:41.447Z] 1469e6f7b9e6: Waiting [2023-01-24T22:11:41.447Z] bde34c3a00c8: Waiting [2023-01-24T22:11:41.447Z] e2be974225ed: Verifying Checksum [2023-01-24T22:11:41.447Z] e2be974225ed: Download complete [2023-01-24T22:11:41.447Z] 988bab9f4d93: Verifying Checksum [2023-01-24T22:11:41.447Z] 988bab9f4d93: Download complete [2023-01-24T22:11:41.710Z] 1469e6f7b9e6: Verifying Checksum [2023-01-24T22:11:41.710Z] 1469e6f7b9e6: Download complete [2023-01-24T22:11:41.710Z] 339a4e72a1f5: Verifying Checksum [2023-01-24T22:11:41.710Z] 339a4e72a1f5: Download complete [2023-01-24T22:11:41.710Z] eaf3925da568: Verifying Checksum [2023-01-24T22:11:41.710Z] eaf3925da568: Download complete [2023-01-24T22:11:41.710Z] bde34c3a00c8: Verifying Checksum [2023-01-24T22:11:41.710Z] bde34c3a00c8: Download complete [2023-01-24T22:11:41.973Z] b352a97aabf1: Verifying Checksum [2023-01-24T22:11:41.973Z] b352a97aabf1: Download complete [2023-01-24T22:11:41.973Z] 4872d77fe225: Download complete [2023-01-24T22:11:41.973Z] 5851b861e8e6: Verifying Checksum [2023-01-24T22:11:41.973Z] 5851b861e8e6: Download complete [2023-01-24T22:11:41.973Z] b85a868b505f: Verifying Checksum [2023-01-24T22:11:41.973Z] b85a868b505f: Download complete [2023-01-24T22:11:42.233Z] bab4dde63d76: Verifying Checksum [2023-01-24T22:11:42.233Z] bab4dde63d76: Download complete [2023-01-24T22:11:43.166Z] b85a868b505f: Pull complete [2023-01-24T22:11:43.425Z] e2be974225ed: Pull complete [2023-01-24T22:11:43.683Z] 339a4e72a1f5: Pull complete [2023-01-24T22:11:43.942Z] 988bab9f4d93: Pull complete [2023-01-24T22:11:44.200Z] 1469e6f7b9e6: Pull complete [2023-01-24T22:11:44.200Z] eaf3925da568: Pull complete [2023-01-24T22:11:46.099Z] bab4dde63d76: Pull complete [2023-01-24T22:11:46.099Z] bde34c3a00c8: Pull complete [2023-01-24T22:11:46.099Z] b352a97aabf1: Pull complete [2023-01-24T22:11:46.099Z] 4872d77fe225: Pull complete [2023-01-24T22:11:46.099Z] 5851b861e8e6: Pull complete [2023-01-24T22:11:46.099Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-24T22:11:46.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-24T22:11:46.099Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:11:46.175Z] prd-ubuntu20.04-docker-8c-8g-3562 does not seem to be running inside a container [2023-01-24T22:11:46.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@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 [2023-01-24T22:11:47.779Z] $ docker top 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 -eo pid,comm [2023-01-24T22:11:47.829Z] 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). [2023-01-24T22:11:47.829Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-24T22:11:47.867Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-24T22:11:47.867Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-24T22:11:47.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-24T22:11:47.985Z] $ docker exec 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 ssh-agent [2023-01-24T22:11:48.084Z] SSH_AUTH_SOCK=/tmp/ssh-v6i3qCO1fkWk/agent.32 [2023-01-24T22:11:48.084Z] SSH_AGENT_PID=38 [2023-01-24T22:11:48.091Z] Running ssh-add (command line suppressed) [2023-01-24T22:11:48.213Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_3536170742122265094.key (/w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_3536170742122265094.key) [2023-01-24T22:11:48.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-24T22:11:48.526Z] + git tag --points-at HEAD [Pipeline] } [2023-01-24T22:11:48.551Z] $ docker exec --env ******** --env ******** 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 ssh-agent -k [2023-01-24T22:11:48.641Z] unset SSH_AUTH_SOCK; [2023-01-24T22:11:48.641Z] unset SSH_AGENT_PID; [2023-01-24T22:11:48.641Z] echo Agent pid 38 killed; [2023-01-24T22:11:48.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-24T22:11:48.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-24T22:11:48.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-24T22:11:48.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-24T22:11:48.794Z] $ docker exec 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 ssh-agent [2023-01-24T22:11:48.908Z] SSH_AUTH_SOCK=/tmp/ssh-yNVkYzs9An3z/agent.70 [2023-01-24T22:11:48.908Z] SSH_AGENT_PID=76 [2023-01-24T22:11:48.913Z] Running ssh-add (command line suppressed) [2023-01-24T22:11:49.015Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_5444110199271535481.key (/w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_5444110199271535481.key) [2023-01-24T22:11:49.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-24T22:11:49.308Z] + git semver init [2023-01-24T22:11:49.566Z] 2023-01-24 22:11:49,499 [run_init] DEBUG init version:0.0.0 force:False [2023-01-24T22:11:49.566Z] 2023-01-24 22:11:49,500 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-219/.semver [2023-01-24T22:11:49.567Z] 2023-01-24 22:11:49,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-219/.semver [2023-01-24T22:11:49.567Z] 2023-01-24 22:11:49,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-219/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-219, universal_newlines=False, shell=None, istream=None) [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,376 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-219/.git/info/exclude [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,376 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 with force:False [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,377 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,379 [execute] INFO git cat-file --batch-check [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,386 [execute] INFO git cat-file --batch [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-01-24T22:11:50.502Z] 2023-01-24 22:11:50,391 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 [2023-01-24T22:11:50.502Z] 0.0.0 [Pipeline] } [2023-01-24T22:11:50.515Z] $ docker exec --env ******** --env ******** 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 ssh-agent -k [2023-01-24T22:11:50.613Z] unset SSH_AUTH_SOCK; [2023-01-24T22:11:50.613Z] unset SSH_AGENT_PID; [2023-01-24T22:11:50.613Z] echo Agent pid 76 killed; [2023-01-24T22:11:50.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-24T22:11:50.927Z] + git semver [Pipeline] } [2023-01-24T22:11:51.203Z] $ docker stop --time=1 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 [2023-01-24T22:11:52.543Z] $ docker rm -f --volumes 94e858cc8cc355756069612dbd802325f941e5b7eca4f9f389c6d1134e62c387 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T22:11:52.891Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-24T22:11:53.102Z] Stashed 1 file(s) [Pipeline] echo [2023-01-24T22:11:53.105Z] [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 [2023-01-24T22:11:53.241Z] provisioning config files... [2023-01-24T22:11:53.250Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config21086662191267497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:11:53.550Z] ---> docker-login.sh [2023-01-24T22:11:53.550Z] nexus3.edgexfoundry.org:10001 [2023-01-24T22:11:53.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:53.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:53.550Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:53.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:53.550Z] [2023-01-24T22:11:53.550Z] Login Succeeded [2023-01-24T22:11:53.550Z] nexus3.edgexfoundry.org:10002 [2023-01-24T22:11:53.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:53.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:53.550Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:53.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:53.550Z] [2023-01-24T22:11:53.550Z] Login Succeeded [2023-01-24T22:11:53.550Z] nexus3.edgexfoundry.org:10003 [2023-01-24T22:11:53.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:53.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:53.810Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:53.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:53.810Z] [2023-01-24T22:11:53.810Z] Login Succeeded [2023-01-24T22:11:53.810Z] nexus3.edgexfoundry.org:10004 [2023-01-24T22:11:53.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:53.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:53.810Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:53.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:53.810Z] [2023-01-24T22:11:53.810Z] Login Succeeded [2023-01-24T22:11:53.810Z] docker.io [2023-01-24T22:11:54.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:11:54.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:11:54.068Z] Configure a credential helper to remove this warning. See [2023-01-24T22:11:54.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:11:54.068Z] [2023-01-24T22:11:54.068Z] Login Succeeded [2023-01-24T22:11:54.068Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T22:11:54.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-24T22:11:54.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T22:11:54.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T22:11:54.149Z] ========================================================= [2023-01-24T22:11:54.149Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-24T22:11:54.149Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:11:54.453Z] + 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 . [2023-01-24T22:11:54.453Z] Sending build context to Docker daemon 27.71MB [2023-01-24T22:11:54.453Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T22:11:54.453Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-24T22:11:54.714Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-24T22:11:54.714Z] 213ec9aee27d: Pulling fs layer [2023-01-24T22:11:54.714Z] 4583459ba037: Pulling fs layer [2023-01-24T22:11:54.715Z] 93c1e223e6f2: Pulling fs layer [2023-01-24T22:11:54.715Z] 53926ce57604: Pulling fs layer [2023-01-24T22:11:54.715Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-24T22:11:54.715Z] 22ff95d597cd: Pulling fs layer [2023-01-24T22:11:54.715Z] 12d6caf4c0d1: Pulling fs layer [2023-01-24T22:11:54.715Z] 96b7cbca73a9: Pulling fs layer [2023-01-24T22:11:54.715Z] a7acece74701: Pulling fs layer [2023-01-24T22:11:54.715Z] 53926ce57604: Waiting [2023-01-24T22:11:54.715Z] 21b2b0c7a3f4: Waiting [2023-01-24T22:11:54.715Z] 22ff95d597cd: Waiting [2023-01-24T22:11:54.715Z] 12d6caf4c0d1: Waiting [2023-01-24T22:11:54.715Z] 96b7cbca73a9: Waiting [2023-01-24T22:11:54.715Z] a7acece74701: Waiting [2023-01-24T22:11:54.715Z] 93c1e223e6f2: Verifying Checksum [2023-01-24T22:11:54.715Z] 93c1e223e6f2: Download complete [2023-01-24T22:11:54.715Z] 4583459ba037: Verifying Checksum [2023-01-24T22:11:54.715Z] 4583459ba037: Download complete [2023-01-24T22:11:54.715Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-24T22:11:54.715Z] 21b2b0c7a3f4: Download complete [2023-01-24T22:11:54.715Z] 22ff95d597cd: Download complete [2023-01-24T22:11:54.715Z] 213ec9aee27d: Download complete [2023-01-24T22:11:54.715Z] 12d6caf4c0d1: Download complete [2023-01-24T22:11:54.985Z] 213ec9aee27d: Pull complete [2023-01-24T22:11:54.985Z] 4583459ba037: Pull complete [2023-01-24T22:11:55.268Z] 93c1e223e6f2: Pull complete [2023-01-24T22:11:55.544Z] a7acece74701: Verifying Checksum [2023-01-24T22:11:55.544Z] a7acece74701: Download complete [2023-01-24T22:11:55.808Z] 53926ce57604: Verifying Checksum [2023-01-24T22:11:55.808Z] 53926ce57604: Download complete [2023-01-24T22:11:56.067Z] 96b7cbca73a9: Verifying Checksum [2023-01-24T22:11:56.067Z] 96b7cbca73a9: Download complete [2023-01-24T22:12:00.265Z] 53926ce57604: Pull complete [2023-01-24T22:12:00.265Z] 21b2b0c7a3f4: Pull complete [2023-01-24T22:12:00.265Z] 22ff95d597cd: Pull complete [2023-01-24T22:12:00.265Z] 12d6caf4c0d1: Pull complete [2023-01-24T22:12:02.165Z] 96b7cbca73a9: Pull complete [2023-01-24T22:12:02.730Z] a7acece74701: Pull complete [2023-01-24T22:12:02.989Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-24T22:12:02.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-24T22:12:02.989Z] ---> db6d94c90886 [2023-01-24T22:12:02.989Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-24T22:12:04.368Z] ---> Running in 9bb544d9470a [2023-01-24T22:12:04.626Z] Removing intermediate container 9bb544d9470a [2023-01-24T22:12:04.626Z] ---> 7d8a621c0162 [2023-01-24T22:12:04.626Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-24T22:12:04.626Z] ---> Running in 13058e7a73f7 [2023-01-24T22:12:04.626Z] Removing intermediate container 13058e7a73f7 [2023-01-24T22:12:04.626Z] ---> e012b96dd22e [2023-01-24T22:12:04.626Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-24T22:12:04.884Z] ---> Running in e5623a88c47b [2023-01-24T22:12:04.884Z] Removing intermediate container e5623a88c47b [2023-01-24T22:12:04.884Z] ---> bc00115226f7 [2023-01-24T22:12:04.884Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-24T22:12:04.884Z] ---> Running in e304f29fff58 [2023-01-24T22:12:04.884Z] Removing intermediate container e304f29fff58 [2023-01-24T22:12:04.884Z] ---> 6fa9a42c64d4 [2023-01-24T22:12:04.884Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-24T22:12:05.143Z] ---> Running in 3153d7128ce2 [2023-01-24T22:12:05.143Z] Removing intermediate container 3153d7128ce2 [2023-01-24T22:12:05.143Z] ---> 8d9ec12ce55b [2023-01-24T22:12:05.143Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-24T22:12:05.143Z] ---> Running in 25a06f049452 [2023-01-24T22:12:05.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T22:12:05.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T22:12:05.920Z] OK: 211 MiB in 51 packages [2023-01-24T22:12:06.180Z] Removing intermediate container 25a06f049452 [2023-01-24T22:12:06.180Z] ---> 4cb9c13a9ba9 [2023-01-24T22:12:06.180Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-24T22:12:06.180Z] ---> Running in 7ad5da231855 [2023-01-24T22:12:06.438Z] Removing intermediate container 7ad5da231855 [2023-01-24T22:12:06.438Z] ---> 40e33c1976a5 [2023-01-24T22:12:06.438Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-24T22:12:06.438Z] ---> 94df96dd0b9a [2023-01-24T22:12:06.438Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T22:12:06.438Z] ---> Running in 63e5db0a54a6 [2023-01-24T22:12:08.211Z] Still waiting to schedule task [2023-01-24T22:12:08.212Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3564’ is offline [2023-01-24T22:12:32.981Z] Removing intermediate container 63e5db0a54a6 [2023-01-24T22:12:32.981Z] ---> f5bd9d46091c [2023-01-24T22:12:32.981Z] Step 12/13 : COPY . . [2023-01-24T22:12:32.981Z] ---> 47a0d6101c5c [2023-01-24T22:12:32.981Z] Step 13/13 : RUN ${MAKE} [2023-01-24T22:12:32.981Z] ---> Running in d7a47482b19b [2023-01-24T22:12:32.981Z] noop [2023-01-24T22:12:33.239Z] Removing intermediate container d7a47482b19b [2023-01-24T22:12:33.239Z] ---> b18a3120c13b [2023-01-24T22:12:33.239Z] Successfully built b18a3120c13b [2023-01-24T22:12:33.239Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:12:33.541Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-24T22:12:33.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:12:33.609Z] prd-ubuntu20.04-docker-8c-8g-3562 does not seem to be running inside a container [2023-01-24T22:12:33.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@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 [2023-01-24T22:12:34.003Z] $ docker top 0a03e61548827bcd1ec5b2a56d0d0d805118055f6b3b300ea75b68f85e74d5a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T22:12:34.334Z] + go version [2023-01-24T22:12:34.334Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-24T22:12:34.348Z] $ docker stop --time=1 0a03e61548827bcd1ec5b2a56d0d0d805118055f6b3b300ea75b68f85e74d5a6 [2023-01-24T22:12:35.655Z] $ docker rm -f --volumes 0a03e61548827bcd1ec5b2a56d0d0d805118055f6b3b300ea75b68f85e74d5a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:12:36.048Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-24T22:12:36.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:12:36.112Z] prd-ubuntu20.04-docker-8c-8g-3562 does not seem to be running inside a container [2023-01-24T22:12:36.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@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 [2023-01-24T22:12:36.519Z] $ docker top 13315ab6a9a87823a27b04fb7102234aac145563520ea9c80d4849e6804d2a46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T22:12:36.854Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] fileExists [Pipeline] sh [2023-01-24T22:12:37.148Z] + make test [2023-01-24T22:12:37.148Z] go test ./... -coverprofile=coverage.out ./... [2023-01-24T22:12:37.405Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-24T22:12:47.362Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-24T22:12:49.891Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2023-01-24T22:12:49.891Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-24T22:12:49.891Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.234s coverage: 86.5% of statements [2023-01-24T22:12:56.447Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-24T22:12:56.447Z] go vet ./... [2023-01-24T22:13:00.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-24T22:13:00.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-24T22:13:00.632Z] ./bin/test-attribution-txt.sh [2023-01-24T22:13:00.632Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-24T22:13:00.632Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-24T22:13:00.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-24T22:13:00.665Z] $ docker stop --time=1 13315ab6a9a87823a27b04fb7102234aac145563520ea9c80d4849e6804d2a46 [2023-01-24T22:13:02.583Z] $ docker rm -f --volumes 13315ab6a9a87823a27b04fb7102234aac145563520ea9c80d4849e6804d2a46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T22:13:03.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-24T22:13:03.077Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-24T22:13:03.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-24T22:13:03.772Z] + ls -al . [2023-01-24T22:13:03.772Z] total 236 [2023-01-24T22:13:03.772Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 22:12 . [2023-01-24T22:13:03.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:11 .. [2023-01-24T22:13:03.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 22:12 .git [2023-01-24T22:13:03.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 22:11 .github [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 24 22:11 .gitignore [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 22:11 .golangci.yml [2023-01-24T22:13:03.772Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 22:11 .semver [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 24 22:11 Attribution.txt [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 24 22:11 CHANGELOG.md [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 24 22:11 Dockerfile [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 22:11 GOVERNANCE.md [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 24 22:11 Jenkinsfile [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 24 22:11 LICENSE [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 24 22:11 Makefile [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 24 22:11 OWNERS.md [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 24 22:11 README.md [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 22:11 VERSION [2023-01-24T22:13:03.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 22:11 bin [2023-01-24T22:13:03.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 22:11 cmd [2023-01-24T22:13:03.772Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 24 22:12 coverage.out [2023-01-24T22:13:03.772Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 22:11 doc [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 3654 Jan 24 22:11 go.mod [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 36181 Jan 24 22:11 go.sum [2023-01-24T22:13:03.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:11 internal [2023-01-24T22:13:03.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:11 snap [2023-01-24T22:13:03.772Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 24 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:13:04.094Z] + 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=f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 --label arch=amd64 --label version=0.0.0 . [2023-01-24T22:13:04.094Z] Sending build context to Docker daemon 27.79MB [2023-01-24T22:13:04.094Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T22:13:04.094Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-24T22:13:04.094Z] ---> b18a3120c13b [2023-01-24T22:13:04.094Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-24T22:13:04.353Z] ---> Running in bf8053e85520 [2023-01-24T22:13:04.353Z] Removing intermediate container bf8053e85520 [2023-01-24T22:13:04.353Z] ---> 9360ac078e33 [2023-01-24T22:13:04.353Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-24T22:13:04.353Z] ---> Running in 34d9c17bcd64 [2023-01-24T22:13:04.612Z] Removing intermediate container 34d9c17bcd64 [2023-01-24T22:13:04.612Z] ---> d2063d1645f9 [2023-01-24T22:13:04.612Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-24T22:13:04.612Z] ---> Running in de9cd8f338df [2023-01-24T22:13:04.612Z] Removing intermediate container de9cd8f338df [2023-01-24T22:13:04.612Z] ---> 0b2b4dad1053 [2023-01-24T22:13:04.612Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-24T22:13:04.612Z] ---> Running in 04e35280142c [2023-01-24T22:13:04.871Z] Removing intermediate container 04e35280142c [2023-01-24T22:13:04.871Z] ---> dac81a6b8039 [2023-01-24T22:13:04.871Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-24T22:13:04.871Z] ---> Running in e8c737b7ea0c [2023-01-24T22:13:04.871Z] Removing intermediate container e8c737b7ea0c [2023-01-24T22:13:04.871Z] ---> a7f894e4d2b2 [2023-01-24T22:13:04.871Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-24T22:13:04.871Z] ---> Running in 1175cbb3d301 [2023-01-24T22:13:05.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T22:13:05.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T22:13:05.652Z] OK: 211 MiB in 51 packages [2023-01-24T22:13:05.929Z] Removing intermediate container 1175cbb3d301 [2023-01-24T22:13:05.929Z] ---> a706675a9007 [2023-01-24T22:13:05.929Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-24T22:13:06.189Z] ---> Running in f1f77c495d3b [2023-01-24T22:13:06.189Z] Removing intermediate container f1f77c495d3b [2023-01-24T22:13:06.189Z] ---> 41e7a7f1ee7d [2023-01-24T22:13:06.189Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-24T22:13:06.448Z] ---> c82289946d27 [2023-01-24T22:13:06.448Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T22:13:06.448Z] ---> Running in f77bb4d8da56 [2023-01-24T22:13:07.382Z] Removing intermediate container f77bb4d8da56 [2023-01-24T22:13:07.382Z] ---> e14b68f82fc9 [2023-01-24T22:13:07.382Z] Step 12/26 : COPY . . [2023-01-24T22:13:07.948Z] ---> bc62d018ad96 [2023-01-24T22:13:07.949Z] Step 13/26 : RUN ${MAKE} [2023-01-24T22:13:07.949Z] ---> Running in bf24c20228ef [2023-01-24T22:13:08.208Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-24T22:13:26.289Z] Removing intermediate container bf24c20228ef [2023-01-24T22:13:26.289Z] ---> 43dd63eccf57 [2023-01-24T22:13:26.289Z] Step 14/26 : FROM alpine:3.16 [2023-01-24T22:13:26.289Z] 3.16: Pulling from library/alpine [2023-01-24T22:13:26.289Z] ca7dd9ec2225: Pulling fs layer [2023-01-24T22:13:26.575Z] ca7dd9ec2225: Verifying Checksum [2023-01-24T22:13:26.575Z] ca7dd9ec2225: Download complete [2023-01-24T22:13:26.575Z] ca7dd9ec2225: Pull complete [2023-01-24T22:13:26.575Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-24T22:13:26.575Z] Status: Downloaded newer image for alpine:3.16 [2023-01-24T22:13:26.575Z] ---> bfe296a52501 [2023-01-24T22:13:26.575Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-24T22:13:26.836Z] ---> Running in 43e29a27d1e8 [2023-01-24T22:13:26.836Z] Removing intermediate container 43e29a27d1e8 [2023-01-24T22:13:26.836Z] ---> 0441bd562919 [2023-01-24T22:13:26.836Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-24T22:13:26.836Z] ---> Running in 88aad4b763d1 [2023-01-24T22:13:27.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-24T22:13:27.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-24T22:13:27.614Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-24T22:13:27.614Z] Executing busybox-1.35.0-r17.trigger [2023-01-24T22:13:27.614Z] OK: 6 MiB in 15 packages [2023-01-24T22:13:27.873Z] Removing intermediate container 88aad4b763d1 [2023-01-24T22:13:27.873Z] ---> eecfe3f2aed1 [2023-01-24T22:13:27.873Z] Step 17/26 : WORKDIR / [2023-01-24T22:13:27.873Z] ---> Running in e1255d97cc92 [2023-01-24T22:13:28.131Z] Removing intermediate container e1255d97cc92 [2023-01-24T22:13:28.131Z] ---> 52b82e868194 [2023-01-24T22:13:28.131Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-24T22:13:28.702Z] ---> acb7d0c565cb [2023-01-24T22:13:28.702Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-24T22:13:28.702Z] ---> b8abe99b0b39 [2023-01-24T22:13:28.702Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-24T22:13:28.960Z] ---> ab9f6424011a [2023-01-24T22:13:28.960Z] Step 21/26 : EXPOSE 59984 [2023-01-24T22:13:28.960Z] ---> Running in 7716ca23b916 [2023-01-24T22:13:28.960Z] Removing intermediate container 7716ca23b916 [2023-01-24T22:13:28.960Z] ---> c5fe01bb267a [2023-01-24T22:13:28.960Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-24T22:13:28.960Z] ---> Running in b870ada3892a [2023-01-24T22:13:29.219Z] Removing intermediate container b870ada3892a [2023-01-24T22:13:29.219Z] ---> fdf6d43dff9d [2023-01-24T22:13:29.219Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-24T22:13:29.219Z] ---> Running in 6664dba32586 [2023-01-24T22:13:29.219Z] Removing intermediate container 6664dba32586 [2023-01-24T22:13:29.219Z] ---> 3a882e0bfad8 [2023-01-24T22:13:29.219Z] Step 24/26 : LABEL arch=amd64 [2023-01-24T22:13:29.219Z] ---> Running in 1248c9024b56 [2023-01-24T22:13:29.476Z] Removing intermediate container 1248c9024b56 [2023-01-24T22:13:29.476Z] ---> 7e860e931776 [2023-01-24T22:13:29.476Z] Step 25/26 : LABEL git_sha=f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [2023-01-24T22:13:29.476Z] ---> Running in a05781c59949 [2023-01-24T22:13:29.476Z] Removing intermediate container a05781c59949 [2023-01-24T22:13:29.476Z] ---> 40d539ae89fe [2023-01-24T22:13:29.476Z] Step 26/26 : LABEL version=0.0.0 [2023-01-24T22:13:29.476Z] ---> Running in b42df0af9ebb [2023-01-24T22:13:29.734Z] Removing intermediate container b42df0af9ebb [2023-01-24T22:13:29.734Z] ---> 991c4e050d8a [2023-01-24T22:13:29.734Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-24T22:13:29.734Z] Successfully built 991c4e050d8a [2023-01-24T22:13:29.734Z] 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 [2023-01-24T22:13:30.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T22:13:30.144Z] [2023-01-24T22:13:30.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:13:30.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T22:13:30.449Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-24T22:13:30.449Z] 5eb5b503b376: Pulling fs layer [2023-01-24T22:13:30.449Z] 5c69ac0246d0: Pulling fs layer [2023-01-24T22:13:30.449Z] ec43610c2a17: Pulling fs layer [2023-01-24T22:13:30.449Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-24T22:13:30.449Z] 33b1e0a273af: Pulling fs layer [2023-01-24T22:13:30.449Z] 5d3b04190fa2: Pulling fs layer [2023-01-24T22:13:30.449Z] 2f39f015ded8: Pulling fs layer [2023-01-24T22:13:30.449Z] 33b1e0a273af: Waiting [2023-01-24T22:13:30.449Z] 5d3b04190fa2: Waiting [2023-01-24T22:13:30.449Z] 3a2ae6a8a46f: Waiting [2023-01-24T22:13:30.449Z] 2f39f015ded8: Waiting [2023-01-24T22:13:30.449Z] 5c69ac0246d0: Verifying Checksum [2023-01-24T22:13:30.449Z] 5c69ac0246d0: Download complete [2023-01-24T22:13:30.449Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-24T22:13:30.449Z] 3a2ae6a8a46f: Download complete [2023-01-24T22:13:30.711Z] 33b1e0a273af: Verifying Checksum [2023-01-24T22:13:30.711Z] 33b1e0a273af: Download complete [2023-01-24T22:13:30.711Z] 5d3b04190fa2: Verifying Checksum [2023-01-24T22:13:30.711Z] 5d3b04190fa2: Download complete [2023-01-24T22:13:30.711Z] ec43610c2a17: Verifying Checksum [2023-01-24T22:13:30.711Z] ec43610c2a17: Download complete [2023-01-24T22:13:30.974Z] 5eb5b503b376: Verifying Checksum [2023-01-24T22:13:30.974Z] 5eb5b503b376: Download complete [2023-01-24T22:13:31.542Z] 2f39f015ded8: Verifying Checksum [2023-01-24T22:13:31.542Z] 2f39f015ded8: Download complete [2023-01-24T22:13:31.799Z] 5eb5b503b376: Pull complete [2023-01-24T22:13:32.057Z] 5c69ac0246d0: Pull complete [2023-01-24T22:13:32.314Z] ec43610c2a17: Pull complete [2023-01-24T22:13:32.314Z] 3a2ae6a8a46f: Pull complete [2023-01-24T22:13:32.572Z] 33b1e0a273af: Pull complete [2023-01-24T22:13:32.572Z] 5d3b04190fa2: Pull complete [2023-01-24T22:13:36.751Z] 2f39f015ded8: Pull complete [2023-01-24T22:13:36.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-24T22:13:36.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T22:13:36.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:13:36.832Z] prd-ubuntu20.04-docker-8c-8g-3562 does not seem to be running inside a container [2023-01-24T22:13:36.866Z] $ 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-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@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 [2023-01-24T22:13:38.702Z] $ docker top eb5ce95aa63f1ca12e6c9372c9e23fb04a164f787d77b3ef5578fe0271940b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:13:39.054Z] ---> job-cost.sh [2023-01-24T22:13:39.054Z] lf-activate-venv: SKIPPING [2023-01-24T22:13:39.054Z] INFO: No Stack... [2023-01-24T22:13:39.313Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-24T22:13:39.880Z] INFO: Archiving Costs [Pipeline] sh [2023-01-24T22:13:40.164Z] + cat /w/workspace/undry_device-onvif-camera_PR-219/archives/cost.csv [2023-01-24T22:13:40.164Z] + cut -d, -f6 [Pipeline] lock [2023-01-24T22:13:40.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [2023-01-24T22:13:40.184Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] did not exist. Created. [2023-01-24T22:13:40.184Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-24T22:13:40.488Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-24T22:13:40.519Z] Stashed 1 file(s) [Pipeline] } [2023-01-24T22:13:40.525Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-24T22:13:40.546Z] $ docker stop --time=1 eb5ce95aa63f1ca12e6c9372c9e23fb04a164f787d77b3ef5578fe0271940b72 [2023-01-24T22:13:41.705Z] $ docker rm -f --volumes eb5ce95aa63f1ca12e6c9372c9e23fb04a164f787d77b3ef5578fe0271940b72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-24T22:14:40.976Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3568 in /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] { [Pipeline] ws [2023-01-24T22:14:40.990Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-01-24T22:14:41.035Z] The recommended git tool is: git [2023-01-24T22:14:47.428Z] using credential edgex-jenkins-ssh [2023-01-24T22:14:47.447Z] Cloning the remote Git repository [2023-01-24T22:14:47.498Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-24T22:14:47.582Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-01-24T22:14:47.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-24T22:14:47.757Z] > git --version # timeout=10 [2023-01-24T22:14:47.780Z] > git --version # 'git version 2.25.1' [2023-01-24T22:14:47.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T22:14:47.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-24T22:14:49.275Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-24T22:14:49.302Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-24T22:14:50.971Z] Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit d489125bdbe00d3bc0774f527613743c1694101f [2023-01-24T22:14:50.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-24T22:14:50.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-24T22:14:50.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T22:14:50.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-24T22:14:50.995Z] > git config core.sparsecheckout # timeout=10 [2023-01-24T22:14:51.028Z] > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 [2023-01-24T22:14:52.261Z] Merge succeeded, producing f5b54079ebd862084a63bd7fee30faed5db43ff7 [2023-01-24T22:14:52.262Z] Checking out Revision f5b54079ebd862084a63bd7fee30faed5db43ff7 (PR-219) [2023-01-24T22:14:51.362Z] > git remote # timeout=10 [2023-01-24T22:14:51.385Z] > git config --get remote.origin.url # timeout=10 [2023-01-24T22:14:51.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-24T22:14:51.423Z] > git merge 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 [2023-01-24T22:14:52.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-24T22:14:52.270Z] > git config core.sparsecheckout # timeout=10 [2023-01-24T22:14:52.290Z] > git checkout -f f5b54079ebd862084a63bd7fee30faed5db43ff7 # timeout=10 [2023-01-24T22:14:55.883Z] Commit message: "Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD" [2023-01-24T22:14:55.891Z] > git rev-list --no-walk d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T22:14:56.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-24T22:14:56.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-24T22:14:56.829Z] Dload Upload Total Spent Left Speed [2023-01-24T22:14:56.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-01-24T22:14:57.689Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-24T22:14:58.048Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-24T22:14:58.048Z] + sudo tee /etc/docker/daemon.new [2023-01-24T22:14:58.048Z] { [2023-01-24T22:14:58.048Z] "registry-mirrors": [ [2023-01-24T22:14:58.048Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-24T22:14:58.048Z] ], [2023-01-24T22:14:58.048Z] "bip": "10.250.0.254/24", [2023-01-24T22:14:58.048Z] "hosts": [ [2023-01-24T22:14:58.048Z] "tcp://0.0.0.0:5555", [2023-01-24T22:14:58.048Z] "unix:///var/run/docker.sock" [2023-01-24T22:14:58.048Z] ], [2023-01-24T22:14:58.048Z] "mtu": 1458, [2023-01-24T22:14:58.048Z] "selinux-enabled": true, [2023-01-24T22:14:58.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-24T22:14:58.048Z] } [Pipeline] sh [2023-01-24T22:14:58.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-24T22:14:58.736Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T22:15:17.087Z] provisioning config files... [2023-01-24T22:15:17.123Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config10863597740729257098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:15:17.511Z] ---> docker-login.sh [2023-01-24T22:15:17.511Z] nexus3.edgexfoundry.org:10001 [2023-01-24T22:15:18.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:15:18.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:15:18.115Z] Configure a credential helper to remove this warning. See [2023-01-24T22:15:18.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:15:18.115Z] [2023-01-24T22:15:18.115Z] Login Succeeded [2023-01-24T22:15:18.115Z] nexus3.edgexfoundry.org:10002 [2023-01-24T22:15:18.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:15:18.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:15:18.669Z] Configure a credential helper to remove this warning. See [2023-01-24T22:15:18.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:15:18.669Z] [2023-01-24T22:15:18.669Z] Login Succeeded [2023-01-24T22:15:18.669Z] nexus3.edgexfoundry.org:10003 [2023-01-24T22:15:18.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:15:18.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:15:18.942Z] Configure a credential helper to remove this warning. See [2023-01-24T22:15:18.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:15:18.942Z] [2023-01-24T22:15:18.942Z] Login Succeeded [2023-01-24T22:15:18.942Z] nexus3.edgexfoundry.org:10004 [2023-01-24T22:15:19.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:15:19.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:15:19.488Z] Configure a credential helper to remove this warning. See [2023-01-24T22:15:19.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:15:19.488Z] [2023-01-24T22:15:19.488Z] Login Succeeded [2023-01-24T22:15:19.488Z] docker.io [2023-01-24T22:15:19.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-24T22:15:20.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-24T22:15:20.035Z] Configure a credential helper to remove this warning. See [2023-01-24T22:15:20.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-24T22:15:20.035Z] [2023-01-24T22:15:20.035Z] Login Succeeded [2023-01-24T22:15:20.035Z] ---> docker-login.sh ends [Pipeline] } [2023-01-24T22:15:20.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-24T22:15:20.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T22:15:20.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-24T22:15:20.391Z] ========================================================= [2023-01-24T22:15:20.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-24T22:15:20.391Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:15:20.768Z] + 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 . [2023-01-24T22:15:21.362Z] Sending build context to Docker daemon 20.56MB [2023-01-24T22:15:21.363Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T22:15:21.363Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-24T22:15:21.633Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-24T22:15:21.633Z] 9b18e9b68314: Pulling fs layer [2023-01-24T22:15:21.633Z] 35d82f9e3411: Pulling fs layer [2023-01-24T22:15:21.633Z] e16973657156: Pulling fs layer [2023-01-24T22:15:21.633Z] fc693d55d65f: Pulling fs layer [2023-01-24T22:15:21.633Z] 7e9fc2657dce: Pulling fs layer [2023-01-24T22:15:21.633Z] dda99020689f: Pulling fs layer [2023-01-24T22:15:21.633Z] db1c61fa0a46: Pulling fs layer [2023-01-24T22:15:21.633Z] 891c053d2c06: Pulling fs layer [2023-01-24T22:15:21.633Z] fc693d55d65f: Waiting [2023-01-24T22:15:21.633Z] dda99020689f: Waiting [2023-01-24T22:15:21.633Z] 7e9fc2657dce: Waiting [2023-01-24T22:15:21.633Z] db1c61fa0a46: Waiting [2023-01-24T22:15:21.633Z] 891c053d2c06: Waiting [2023-01-24T22:15:21.633Z] e16973657156: Verifying Checksum [2023-01-24T22:15:21.633Z] e16973657156: Download complete [2023-01-24T22:15:21.906Z] 35d82f9e3411: Verifying Checksum [2023-01-24T22:15:21.907Z] 35d82f9e3411: Download complete [2023-01-24T22:15:21.907Z] 7e9fc2657dce: Verifying Checksum [2023-01-24T22:15:21.907Z] 7e9fc2657dce: Download complete [2023-01-24T22:15:21.907Z] dda99020689f: Download complete [2023-01-24T22:15:21.907Z] 9b18e9b68314: Verifying Checksum [2023-01-24T22:15:21.907Z] 9b18e9b68314: Download complete [2023-01-24T22:15:22.884Z] 9b18e9b68314: Pull complete [2023-01-24T22:15:23.156Z] 891c053d2c06: Verifying Checksum [2023-01-24T22:15:23.156Z] 891c053d2c06: Download complete [2023-01-24T22:15:23.431Z] 35d82f9e3411: Pull complete [2023-01-24T22:15:23.702Z] e16973657156: Pull complete [2023-01-24T22:15:24.297Z] db1c61fa0a46: Verifying Checksum [2023-01-24T22:15:24.297Z] db1c61fa0a46: Download complete [2023-01-24T22:15:24.887Z] fc693d55d65f: Verifying Checksum [2023-01-24T22:15:24.887Z] fc693d55d65f: Download complete [2023-01-24T22:15:37.237Z] fc693d55d65f: Pull complete [2023-01-24T22:15:37.237Z] 7e9fc2657dce: Pull complete [2023-01-24T22:15:37.237Z] dda99020689f: Pull complete [2023-01-24T22:15:43.924Z] db1c61fa0a46: Pull complete [2023-01-24T22:15:45.353Z] 891c053d2c06: Pull complete [2023-01-24T22:15:45.353Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-24T22:15:45.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-24T22:15:45.353Z] ---> f96f9c87975a [2023-01-24T22:15:45.353Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-24T22:15:47.311Z] ---> Running in cd7e393edbfd [2023-01-24T22:15:47.579Z] Removing intermediate container cd7e393edbfd [2023-01-24T22:15:47.579Z] ---> 61df964b409f [2023-01-24T22:15:47.579Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-24T22:15:47.579Z] ---> Running in 155163d4fb5b [2023-01-24T22:15:48.176Z] Removing intermediate container 155163d4fb5b [2023-01-24T22:15:48.176Z] ---> b14bccddb3e8 [2023-01-24T22:15:48.176Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-24T22:15:48.176Z] ---> Running in 0eab5a5af80f [2023-01-24T22:15:48.444Z] Removing intermediate container 0eab5a5af80f [2023-01-24T22:15:48.444Z] ---> b5285704f406 [2023-01-24T22:15:48.444Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-24T22:15:48.444Z] ---> Running in 4c1eb72f58ce [2023-01-24T22:15:48.711Z] Removing intermediate container 4c1eb72f58ce [2023-01-24T22:15:48.711Z] ---> bc19fb898030 [2023-01-24T22:15:48.711Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-24T22:15:48.987Z] ---> Running in 74f88e7c48fc [2023-01-24T22:15:49.256Z] Removing intermediate container 74f88e7c48fc [2023-01-24T22:15:49.256Z] ---> 394235d0af96 [2023-01-24T22:15:49.256Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-24T22:15:49.256Z] ---> Running in 7dba954036ea [2023-01-24T22:15:50.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T22:15:50.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T22:15:51.631Z] OK: 221 MiB in 51 packages [2023-01-24T22:15:52.592Z] Removing intermediate container 7dba954036ea [2023-01-24T22:15:52.592Z] ---> 9c6dd618381d [2023-01-24T22:15:52.592Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-24T22:15:52.592Z] ---> Running in a2cc13f2eb74 [2023-01-24T22:15:52.859Z] Removing intermediate container a2cc13f2eb74 [2023-01-24T22:15:52.859Z] ---> 17dca8e7caae [2023-01-24T22:15:52.859Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-24T22:15:53.448Z] ---> 2ccee2d8d86f [2023-01-24T22:15:53.448Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T22:15:53.448Z] ---> Running in e24c57706375 [2023-01-24T22:17:15.108Z] Removing intermediate container e24c57706375 [2023-01-24T22:17:15.108Z] ---> 93e42e3cd38c [2023-01-24T22:17:15.108Z] Step 12/13 : COPY . . [2023-01-24T22:17:15.108Z] ---> 128e8e79dc58 [2023-01-24T22:17:15.108Z] Step 13/13 : RUN ${MAKE} [2023-01-24T22:17:15.108Z] ---> Running in 7b207e9ffc79 [2023-01-24T22:17:15.108Z] noop [2023-01-24T22:17:15.108Z] Removing intermediate container 7b207e9ffc79 [2023-01-24T22:17:15.108Z] ---> bfa0b8c6626f [2023-01-24T22:17:15.108Z] Successfully built bfa0b8c6626f [2023-01-24T22:17:15.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:17:15.459Z] + docker inspect -f . ci-base-image-arm64 [2023-01-24T22:17:15.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:17:15.655Z] prd-ubuntu20.04-docker-arm64-4c-16g-3568 does not seem to be running inside a container [2023-01-24T22:17:15.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 [2023-01-24T22:17:17.026Z] $ docker top 413dd4232ada6ef808370a908167df1824df7fc8c35509095d9dc6d370ac589d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T22:17:17.899Z] + go version [2023-01-24T22:17:17.899Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-24T22:17:17.922Z] $ docker stop --time=1 413dd4232ada6ef808370a908167df1824df7fc8c35509095d9dc6d370ac589d [2023-01-24T22:17:19.616Z] $ docker rm -f --volumes 413dd4232ada6ef808370a908167df1824df7fc8c35509095d9dc6d370ac589d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:17:20.197Z] + docker inspect -f . ci-base-image-arm64 [2023-01-24T22:17:20.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:17:20.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-3568 does not seem to be running inside a container [2023-01-24T22:17:20.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 [2023-01-24T22:17:21.822Z] $ docker top ed46d7f94407bbdd752c49a8d6631258906d8fb530e57fb9342439d226a3fd04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T22:17:22.703Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-01-24T22:17:23.367Z] + make test [2023-01-24T22:17:23.368Z] go test ./... -coverprofile=coverage.out ./... [2023-01-24T22:17:25.313Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-24T22:19:17.002Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-24T22:19:17.002Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 29.3% of statements [2023-01-24T22:19:17.002Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-24T22:19:29.335Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.683s coverage: 86.5% of statements [2023-01-24T22:19:29.335Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-24T22:19:29.335Z] go vet ./... [2023-01-24T22:20:01.557Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-24T22:20:01.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-24T22:20:01.825Z] ./bin/test-attribution-txt.sh [2023-01-24T22:20:02.091Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-24T22:20:02.091Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-24T22:20:02.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-24T22:20:02.396Z] $ docker stop --time=1 ed46d7f94407bbdd752c49a8d6631258906d8fb530e57fb9342439d226a3fd04 [2023-01-24T22:20:04.322Z] $ docker rm -f --volumes ed46d7f94407bbdd752c49a8d6631258906d8fb530e57fb9342439d226a3fd04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-24T22:20:05.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-24T22:20:05.287Z] Warning: overwriting stash ‘coverage-report’ [2023-01-24T22:20:05.901Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-24T22:20:06.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-24T22:20:06.611Z] + ls -al . [2023-01-24T22:20:06.611Z] total 232 [2023-01-24T22:20:06.611Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 24 22:17 . [2023-01-24T22:20:06.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:14 .. [2023-01-24T22:20:06.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 22:14 .git [2023-01-24T22:20:06.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 22:14 .github [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 24 22:14 .gitignore [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 22:14 .golangci.yml [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 24 22:14 Attribution.txt [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 24 22:14 CHANGELOG.md [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 24 22:14 Dockerfile [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 22:14 GOVERNANCE.md [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 24 22:14 Jenkinsfile [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 24 22:14 LICENSE [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 24 22:14 Makefile [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 24 22:14 OWNERS.md [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 24 22:14 README.md [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 22:11 VERSION [2023-01-24T22:20:06.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 22:14 bin [2023-01-24T22:20:06.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 22:14 cmd [2023-01-24T22:20:06.611Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 24 22:19 coverage.out [2023-01-24T22:20:06.611Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 22:14 doc [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 3654 Jan 24 22:14 go.mod [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 36181 Jan 24 22:14 go.sum [2023-01-24T22:20:06.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:14 internal [2023-01-24T22:20:06.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 22:14 snap [2023-01-24T22:20:06.611Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 24 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:20:06.953Z] + 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=f5b54079ebd862084a63bd7fee30faed5db43ff7 --label arch=arm64 --label version=0.0.0 . [2023-01-24T22:20:07.545Z] Sending build context to Docker daemon 20.64MB [2023-01-24T22:20:07.810Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-24T22:20:07.810Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-24T22:20:07.810Z] ---> bfa0b8c6626f [2023-01-24T22:20:07.810Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-24T22:20:08.077Z] ---> Running in b61c03e62f17 [2023-01-24T22:20:08.348Z] Removing intermediate container b61c03e62f17 [2023-01-24T22:20:08.348Z] ---> 405cf938a125 [2023-01-24T22:20:08.348Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-24T22:20:08.616Z] ---> Running in 07faf58158ca [2023-01-24T22:20:08.882Z] Removing intermediate container 07faf58158ca [2023-01-24T22:20:08.882Z] ---> 8a44b567f6e0 [2023-01-24T22:20:08.882Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-24T22:20:08.882Z] ---> Running in 476b468e4517 [2023-01-24T22:20:09.149Z] Removing intermediate container 476b468e4517 [2023-01-24T22:20:09.149Z] ---> 2c47f3021c61 [2023-01-24T22:20:09.149Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-24T22:20:09.149Z] ---> Running in 2767b92c8ced [2023-01-24T22:20:09.415Z] Removing intermediate container 2767b92c8ced [2023-01-24T22:20:09.415Z] ---> 1b7e3ded3847 [2023-01-24T22:20:09.415Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-24T22:20:09.683Z] ---> Running in 79e3b243125d [2023-01-24T22:20:09.952Z] Removing intermediate container 79e3b243125d [2023-01-24T22:20:09.952Z] ---> be3f175eafaf [2023-01-24T22:20:09.952Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-24T22:20:09.952Z] ---> Running in e5f30ed8af3a [2023-01-24T22:20:10.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T22:20:11.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T22:20:12.130Z] OK: 221 MiB in 51 packages [2023-01-24T22:20:12.720Z] Removing intermediate container e5f30ed8af3a [2023-01-24T22:20:12.720Z] ---> dd6384a4f1ab [2023-01-24T22:20:12.720Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-24T22:20:12.995Z] ---> Running in 89dcb2329fc1 [2023-01-24T22:20:13.262Z] Removing intermediate container 89dcb2329fc1 [2023-01-24T22:20:13.262Z] ---> d58dc143465f [2023-01-24T22:20:13.262Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-24T22:20:13.854Z] ---> f0cc9f167573 [2023-01-24T22:20:13.854Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-24T22:20:13.854Z] ---> Running in 3723465de49b [2023-01-24T22:20:16.427Z] Removing intermediate container 3723465de49b [2023-01-24T22:20:16.427Z] ---> 16c152dfaabb [2023-01-24T22:20:16.427Z] Step 12/26 : COPY . . [2023-01-24T22:20:17.837Z] ---> 439a423579e6 [2023-01-24T22:20:17.837Z] Step 13/26 : RUN ${MAKE} [2023-01-24T22:20:17.837Z] ---> Running in 27fd9985bab0 [2023-01-24T22:20:18.797Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-24T22:22:40.572Z] Removing intermediate container 27fd9985bab0 [2023-01-24T22:22:40.572Z] ---> 8ef40fed4a3a [2023-01-24T22:22:40.572Z] Step 14/26 : FROM alpine:3.16 [2023-01-24T22:22:40.572Z] 3.16: Pulling from library/alpine [2023-01-24T22:22:40.572Z] 6875df1f5354: Pulling fs layer [2023-01-24T22:22:40.572Z] 6875df1f5354: Verifying Checksum [2023-01-24T22:22:40.572Z] 6875df1f5354: Download complete [2023-01-24T22:22:40.572Z] 6875df1f5354: Pull complete [2023-01-24T22:22:40.572Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-24T22:22:40.572Z] Status: Downloaded newer image for alpine:3.16 [2023-01-24T22:22:40.572Z] ---> 2b4661558fb8 [2023-01-24T22:22:40.572Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-24T22:22:40.572Z] ---> Running in 3d462e36190b [2023-01-24T22:22:40.572Z] Removing intermediate container 3d462e36190b [2023-01-24T22:22:40.572Z] ---> 669defdb8eea [2023-01-24T22:22:40.572Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-24T22:22:40.572Z] ---> Running in f29e8166f222 [2023-01-24T22:22:40.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-24T22:22:40.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-24T22:22:40.572Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-24T22:22:40.572Z] Executing busybox-1.35.0-r17.trigger [2023-01-24T22:22:40.572Z] OK: 5 MiB in 15 packages [2023-01-24T22:22:40.572Z] Removing intermediate container f29e8166f222 [2023-01-24T22:22:40.572Z] ---> af034a361e12 [2023-01-24T22:22:40.572Z] Step 17/26 : WORKDIR / [2023-01-24T22:22:40.572Z] ---> Running in 409a1ad521e6 [2023-01-24T22:22:40.572Z] Removing intermediate container 409a1ad521e6 [2023-01-24T22:22:40.572Z] ---> 0ce0de8da959 [2023-01-24T22:22:40.572Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-24T22:22:40.572Z] ---> efbf8105b99f [2023-01-24T22:22:40.572Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-24T22:22:40.572Z] ---> 1553cdde25d3 [2023-01-24T22:22:40.572Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-24T22:22:40.572Z] ---> 5f9b22046646 [2023-01-24T22:22:40.572Z] Step 21/26 : EXPOSE 59984 [2023-01-24T22:22:40.572Z] ---> Running in ba540448d079 [2023-01-24T22:22:40.572Z] Removing intermediate container ba540448d079 [2023-01-24T22:22:40.572Z] ---> f598f2877b53 [2023-01-24T22:22:40.572Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-24T22:22:40.572Z] ---> Running in 296f8e34f411 [2023-01-24T22:22:40.572Z] Removing intermediate container 296f8e34f411 [2023-01-24T22:22:40.572Z] ---> d4ebcc8c972c [2023-01-24T22:22:40.572Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-24T22:22:40.572Z] ---> Running in 2d28b5c18dad [2023-01-24T22:22:40.572Z] Removing intermediate container 2d28b5c18dad [2023-01-24T22:22:40.572Z] ---> 6fff715a6d5e [2023-01-24T22:22:40.572Z] Step 24/26 : LABEL arch=arm64 [2023-01-24T22:22:40.572Z] ---> Running in 56b3136e8211 [2023-01-24T22:22:40.572Z] Removing intermediate container 56b3136e8211 [2023-01-24T22:22:40.572Z] ---> 14d113b9f864 [2023-01-24T22:22:40.572Z] Step 25/26 : LABEL git_sha=f5b54079ebd862084a63bd7fee30faed5db43ff7 [2023-01-24T22:22:40.572Z] ---> Running in 87c1f7f1d388 [2023-01-24T22:22:40.572Z] Removing intermediate container 87c1f7f1d388 [2023-01-24T22:22:40.572Z] ---> 41b5c3ff0117 [2023-01-24T22:22:40.572Z] Step 26/26 : LABEL version=0.0.0 [2023-01-24T22:22:40.572Z] ---> Running in d9ef83172992 [2023-01-24T22:22:40.572Z] Removing intermediate container d9ef83172992 [2023-01-24T22:22:40.572Z] ---> a5f0d10b1c2c [2023-01-24T22:22:40.572Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-24T22:22:40.572Z] Successfully built a5f0d10b1c2c [2023-01-24T22:22:40.572Z] 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 [2023-01-24T22:22:41.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T22:22:41.010Z] [2023-01-24T22:22:41.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:22:41.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T22:22:41.354Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-24T22:22:41.354Z] 8998bd30e6a1: Pulling fs layer [2023-01-24T22:22:41.354Z] 04944245beec: Pulling fs layer [2023-01-24T22:22:41.354Z] 699f458cf7ca: Pulling fs layer [2023-01-24T22:22:41.354Z] 765212b225bb: Pulling fs layer [2023-01-24T22:22:41.354Z] f23df028b6ca: Pulling fs layer [2023-01-24T22:22:41.354Z] d65c8cfc05b1: Pulling fs layer [2023-01-24T22:22:41.354Z] 2437ff75d9bd: Pulling fs layer [2023-01-24T22:22:41.354Z] f23df028b6ca: Waiting [2023-01-24T22:22:41.354Z] d65c8cfc05b1: Waiting [2023-01-24T22:22:41.354Z] 2437ff75d9bd: Waiting [2023-01-24T22:22:41.354Z] 765212b225bb: Waiting [2023-01-24T22:22:41.638Z] 04944245beec: Verifying Checksum [2023-01-24T22:22:41.638Z] 04944245beec: Download complete [2023-01-24T22:22:41.638Z] 765212b225bb: Verifying Checksum [2023-01-24T22:22:41.638Z] 765212b225bb: Download complete [2023-01-24T22:22:41.638Z] f23df028b6ca: Verifying Checksum [2023-01-24T22:22:41.638Z] f23df028b6ca: Download complete [2023-01-24T22:22:41.920Z] d65c8cfc05b1: Verifying Checksum [2023-01-24T22:22:41.920Z] d65c8cfc05b1: Download complete [2023-01-24T22:22:41.920Z] 699f458cf7ca: Verifying Checksum [2023-01-24T22:22:41.920Z] 699f458cf7ca: Download complete [2023-01-24T22:22:42.207Z] 8998bd30e6a1: Verifying Checksum [2023-01-24T22:22:42.207Z] 8998bd30e6a1: Download complete [2023-01-24T22:22:44.809Z] 2437ff75d9bd: Verifying Checksum [2023-01-24T22:22:44.809Z] 2437ff75d9bd: Download complete [2023-01-24T22:22:46.765Z] 8998bd30e6a1: Pull complete [2023-01-24T22:22:46.765Z] 04944245beec: Pull complete [2023-01-24T22:22:48.174Z] 699f458cf7ca: Pull complete [2023-01-24T22:22:48.441Z] 765212b225bb: Pull complete [2023-01-24T22:22:51.020Z] f23df028b6ca: Pull complete [2023-01-24T22:22:51.020Z] d65c8cfc05b1: Pull complete [2023-01-24T22:23:06.027Z] 2437ff75d9bd: Pull complete [2023-01-24T22:23:06.027Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-24T22:23:06.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-24T22:23:06.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:23:06.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-3568 does not seem to be running inside a container [2023-01-24T22:23:06.272Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 [2023-01-24T22:23:08.836Z] $ docker top f8f0578f2a1a123ba97562d67e03f004b847aee4a48854e093945ef6f3637a28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:09.654Z] ---> job-cost.sh [2023-01-24T22:23:09.654Z] lf-activate-venv: SKIPPING [2023-01-24T22:23:09.654Z] INFO: No Stack... [2023-01-24T22:23:09.920Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-24T22:23:10.877Z] INFO: Archiving Costs [Pipeline] sh [2023-01-24T22:23:11.199Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-01-24T22:23:11.199Z] + cut -d, -f6 [Pipeline] lock [2023-01-24T22:23:11.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [2023-01-24T22:23:11.536Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] did not exist. Created. [2023-01-24T22:23:11.536Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-24T22:23:11.875Z] /w/workspace/device-onvif-camera/2@tmp/durable-0360fd54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-24T22:23:12.205Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-24T22:23:12.229Z] Warning: overwriting stash ‘stack-cost’ [2023-01-24T22:23:12.288Z] Stashed 1 file(s) [Pipeline] } [2023-01-24T22:23:12.294Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-24T22:23:12.322Z] $ docker stop --time=1 f8f0578f2a1a123ba97562d67e03f004b847aee4a48854e093945ef6f3637a28 [2023-01-24T22:23:13.813Z] $ docker rm -f --volumes f8f0578f2a1a123ba97562d67e03f004b847aee4a48854e093945ef6f3637a28 [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 [2023-01-24T22:23:14.198Z] provisioning config files... [2023-01-24T22:23:14.204Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config16385194584645361076tmp [Pipeline] { [Pipeline] sh [2023-01-24T22:23:14.497Z] + set +x [2023-01-24T22:23:14.497Z] + curl -s https://codecov.io/bash [2023-01-24T22:23:14.497Z] + bash -s -- [2023-01-24T22:23:14.497Z] [2023-01-24T22:23:14.497Z] _____ _ [2023-01-24T22:23:14.497Z] / ____| | | [2023-01-24T22:23:14.497Z] | | ___ __| | ___ ___ _____ __ [2023-01-24T22:23:14.497Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-24T22:23:14.497Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-24T22:23:14.497Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-24T22:23:14.497Z] Bash-1.0.6 [2023-01-24T22:23:14.497Z] [2023-01-24T22:23:14.497Z] [2023-01-24T22:23:14.497Z] ==> git version 2.25.1 found [2023-01-24T22:23:14.497Z] ==> 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 [2023-01-24T22:23:14.497Z] Release-Date: 2020-01-08 [2023-01-24T22:23:14.497Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-24T22:23:14.497Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-24T22:23:14.497Z] ==> Jenkins CI detected. [2023-01-24T22:23:14.497Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-219 [2023-01-24T22:23:14.497Z] project root: . [2023-01-24T22:23:14.497Z] --> token set from env [2023-01-24T22:23:14.498Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-24T22:23:14.498Z] ==> Running gcov in . (disable via -X gcov) [2023-01-24T22:23:14.498Z] ==> Python coveragepy not found [2023-01-24T22:23:14.498Z] ==> Searching for coverage reports in: [2023-01-24T22:23:14.498Z] + . [2023-01-24T22:23:14.498Z] -> Found 1 reports [2023-01-24T22:23:14.498Z] ==> Detecting git/mercurial file structure [2023-01-24T22:23:14.498Z] ==> Reading reports [2023-01-24T22:23:14.498Z] + ./coverage.out bytes=79184 [2023-01-24T22:23:14.498Z] ==> Appending adjustments [2023-01-24T22:23:14.498Z] https://docs.codecov.io/docs/fixing-reports [2023-01-24T22:23:14.756Z] + Found adjustments [2023-01-24T22:23:14.756Z] ==> Gzipping contents [2023-01-24T22:23:14.756Z] 12K /tmp/codecov.2jrzQ1.gz [2023-01-24T22:23:14.756Z] ==> Uploading reports [2023-01-24T22:23:14.756Z] url: https://codecov.io [2023-01-24T22:23:14.756Z] query: branch=PR-219&commit=f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-219%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-01-24T22:23:14.756Z] -> Pinging Codecov [2023-01-24T22:23:14.756Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-219&commit=f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-219%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-01-24T22:23:15.015Z] -> Uploading to [2023-01-24T22:23:15.015Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-24/F29A59C45E3A92E06B3E522C9905F8EF/f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6/da17fe38-259d-4384-85ea-68b7d6e3818e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230124T222314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7cdd545e1b6ce7b4e41585df5660b62cd78a01716fca32744b41237606dc358 [2023-01-24T22:23:15.015Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-24T22:23:15.015Z] Dload Upload Total Spent Left Speed [2023-01-24T22:23:15.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10854 0 0 100 10854 0 38353 --:--:-- --:--:-- --:--:-- 38353 [2023-01-24T22:23:15.274Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f9c83f7dc13bc16b12c72549a7a4c5bf339c46f6 [Pipeline] } [2023-01-24T22:23:15.281Z] 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 [2023-01-24T22:23:15.957Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-219/archives ] [2023-01-24T22:23:15.957Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-24T22:23:15.957Z] total 16 [2023-01-24T22:23:15.957Z] drwxr-xr-x 3 root root 4096 Jan 24 22:13 . [2023-01-24T22:23:15.957Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 22:13 .. [2023-01-24T22:23:15.957Z] drwxr-xr-x 2 root root 4096 Jan 24 22:13 cost [2023-01-24T22:23:15.957Z] -rw-r--r-- 1 root root 91 Jan 24 22:13 cost.csv [2023-01-24T22:23:15.957Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-24T22:23:15.957Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-24T22:23:15.957Z] total 16 [2023-01-24T22:23:15.957Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 22:13 . [2023-01-24T22:23:15.957Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 22:13 .. [2023-01-24T22:23:15.957Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 22:13 cost [2023-01-24T22:23:15.957Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 24 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:16.247Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:17.104Z] ---> package-listing.sh [2023-01-24T22:23:17.104Z] ++ facter osfamily [2023-01-24T22:23:17.104Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-24T22:23:17.363Z] + OS_FAMILY=debian [2023-01-24T22:23:17.363Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-219 [2023-01-24T22:23:17.363Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-24T22:23:17.363Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-24T22:23:17.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-24T22:23:17.363Z] + PACKAGES=/tmp/packages_start.txt [2023-01-24T22:23:17.363Z] + '[' /w/workspace/undry_device-onvif-camera_PR-219 ']' [2023-01-24T22:23:17.363Z] + PACKAGES=/tmp/packages_end.txt [2023-01-24T22:23:17.363Z] + case "${OS_FAMILY}" in [2023-01-24T22:23:17.363Z] + dpkg -l [2023-01-24T22:23:17.363Z] + grep '^ii' [2023-01-24T22:23:17.363Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-24T22:23:17.363Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-24T22:23:17.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-24T22:23:17.363Z] + '[' /w/workspace/undry_device-onvif-camera_PR-219 ']' [2023-01-24T22:23:17.363Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-219/archives/ [2023-01-24T22:23:17.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-219/archives/ [Pipeline] echo [2023-01-24T22:23:17.374Z] 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-24T22:23:17.652Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-24T22:23:18.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-24T22:23:18.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-24T22:23:18.271Z] prd-ubuntu20.04-docker-8c-8g-3562 does not seem to be running inside a container [2023-01-24T22:23:18.303Z] $ 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-219/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-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@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 [2023-01-24T22:23:18.490Z] $ docker top 07d1f1e2f676c43951eac477f130568bf8c6684fb134de1cb63129eece8a5c0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-24T22:23:18.825Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-24T22:23:19.111Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-24T22:23:19.391Z] + ls /var/log/sa-host [2023-01-24T22:23:19.391Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-24T22:23:19.453Z] provisioning config files... [2023-01-24T22:23:19.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config10584925569692113125tmp [Pipeline] { [Pipeline] echo [2023-01-24T22:23:19.475Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:19.755Z] ---> create-netrc.sh [Pipeline] } [2023-01-24T22:23:19.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:20.078Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-24T22:23:20.086Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:20.370Z] ---> sudo-logs.sh [2023-01-24T22:23:20.371Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-24T22:23:20.392Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:20.671Z] ---> job-cost.sh [2023-01-24T22:23:20.671Z] lf-activate-venv: SKIPPING [2023-01-24T22:23:20.671Z] DEBUG: total: 0.2199999988079071 [2023-01-24T22:23:20.671Z] INFO: Retrieving Stack Cost... [2023-01-24T22:23:20.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-24T22:23:21.496Z] INFO: Archiving Costs [Pipeline] echo [2023-01-24T22:23:21.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-24T22:23:21.788Z] ---> logs-deploy.sh [2023-01-24T22:23:21.788Z] lf-activate-venv: SKIPPING [2023-01-24T22:23:21.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-219/2 [2023-01-24T22:23:21.788Z] INFO: archiving workspace using pattern(s): [2023-01-24T22:23:22.725Z] Archives upload complete. [2023-01-24T22:23:22.725Z] INFO: archiving logs to Nexus