Pull request #123 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than e0feef36a52d7d383129e341cf53c8566cb6a8f8 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17389506700331953645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2943554286530212012.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-123/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-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17255110043847895877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7238469004791147904.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-123/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-123/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11001060480766821621.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22003 in /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-123 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit e0feef36a52d7d383129e341cf53c8566cb6a8f8 Merge succeeded, producing e0feef36a52d7d383129e341cf53c8566cb6a8f8 Checking out Revision e0feef36a52d7d383129e341cf53c8566cb6a8f8 (PR-123) > 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/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0feef36a52d7d383129e341cf53c8566cb6a8f8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0feef36a52d7d383129e341cf53c8566cb6a8f8 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into add-openapi" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-05T17:21:02.355Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-05T17:21:02.416Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-05T17:21:02.437Z] ========================================================= [2022-08-05T17:21:02.437Z] EdgeX Global Pipelines Version Info [2022-08-05T17:21:02.437Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:21:03.189Z] ------------------- [2022-08-05T17:21:03.189Z] stable info: [2022-08-05T17:21:03.189Z] ------------------- [2022-08-05T17:21:03.189Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T17:21:03.189Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T17:21:03.189Z] Message: update stable to v1.0.238 [2022-08-05T17:21:03.762Z] ------------------- [2022-08-05T17:21:03.762Z] experimental info: [2022-08-05T17:21:03.762Z] ------------------- [2022-08-05T17:21:03.762Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T17:21:03.762Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T17:21:03.762Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-05T17:21:04.028Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-05T17:21:04.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-05T17:21:04.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-05T17:21:04.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-05T17:21:04.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-05T17:21:04.103Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-05T17:21:04.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-05T17:21:04.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-05T17:21:04.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-05T17:21:04.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-05T17:21:04.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-05T17:21:04.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-05T17:21:04.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-05T17:21:04.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-05T17:21:04.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T17:21:04.312Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T17:21:04.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T17:21:04.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T17:21:04.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-05T17:21:04.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-05T17:21:04.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-05T17:21:04.406Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-05T17:21:04.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-05T17:21:04.442Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-05T17:21:04.453Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-05T17:21:04.465Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-05T17:21:04.476Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-05T17:21:04.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2022-08-05T17:21:04.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2022-08-05T17:21:04.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2022-08-05T17:21:04.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0feef36a52d7d383129e341cf53c8566cb6a8f8 [Pipeline] echo [2022-08-05T17:21:04.536Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0feef3 [Pipeline] echo [2022-08-05T17:21:04.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T17:21:04.597Z] provisioning config files... [2022-08-05T17:21:04.610Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config7299035494512933988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:21:04.914Z] ---> docker-login.sh [2022-08-05T17:21:04.914Z] nexus3.edgexfoundry.org:10001 [2022-08-05T17:21:05.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:06.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:06.118Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:06.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:06.118Z] [2022-08-05T17:21:06.118Z] Login Succeeded [2022-08-05T17:21:06.118Z] nexus3.edgexfoundry.org:10002 [2022-08-05T17:21:06.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:06.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:06.378Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:06.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:06.378Z] [2022-08-05T17:21:06.378Z] Login Succeeded [2022-08-05T17:21:06.378Z] nexus3.edgexfoundry.org:10003 [2022-08-05T17:21:06.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:06.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:06.378Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:06.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:06.378Z] [2022-08-05T17:21:06.378Z] Login Succeeded [2022-08-05T17:21:06.378Z] nexus3.edgexfoundry.org:10004 [2022-08-05T17:21:06.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:06.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:06.639Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:06.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:06.639Z] [2022-08-05T17:21:06.639Z] Login Succeeded [2022-08-05T17:21:06.639Z] docker.io [2022-08-05T17:21:06.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:07.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:07.212Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:07.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:07.212Z] [2022-08-05T17:21:07.212Z] Login Succeeded [2022-08-05T17:21:07.212Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T17:21:07.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-05T17:21:07.600Z] + git rev-list -1 --merges e0feef36a52d7d383129e341cf53c8566cb6a8f8~1..e0feef36a52d7d383129e341cf53c8566cb6a8f8 [Pipeline] echo [2022-08-05T17:21:07.630Z] -----------> git rev-list -1 --merges e0feef36a52d7d383129e341cf53c8566cb6a8f8~1..e0feef36a52d7d383129e341cf53c8566cb6a8f8 e0feef36a52d7d383129e341cf53c8566cb6a8f8 [2022-08-05T17:21:07.630Z] e0feef36a52d7d383129e341cf53c8566cb6a8f8 [false] [Pipeline] sh [2022-08-05T17:21:07.921Z] + git log --format=format:%s -1 e0feef36a52d7d383129e341cf53c8566cb6a8f8 [Pipeline] echo [2022-08-05T17:21:07.939Z] ========================================================= [2022-08-05T17:21:07.939Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-05T17:21:07.939Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T17:21:08.284Z] + git log --format=format:%s -1 e0feef36a52d7d383129e341cf53c8566cb6a8f8 [Pipeline] echo [2022-08-05T17:21:08.297Z] [semverPrep] GIT_COMMIT: e0feef36a52d7d383129e341cf53c8566cb6a8f8, Commit Message: Merge branch 'edgexfoundry:main' into add-openapi [Pipeline] echo [2022-08-05T17:21:08.308Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-05T17:21:08.682Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-05T17:21:08.682Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-05T17:21:08.682Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-05T17:21:08.682Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-05T17:21:08.682Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-05T17:21:08.682Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-05T17:21:08.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:21:09.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T17:21:09.113Z] [2022-08-05T17:21:09.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:21:09.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T17:21:09.692Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-05T17:21:09.692Z] b85a868b505f: Pulling fs layer [2022-08-05T17:21:09.692Z] e2be974225ed: Pulling fs layer [2022-08-05T17:21:09.692Z] 339a4e72a1f5: Pulling fs layer [2022-08-05T17:21:09.692Z] 988bab9f4d93: Pulling fs layer [2022-08-05T17:21:09.692Z] 1469e6f7b9e6: Pulling fs layer [2022-08-05T17:21:09.692Z] eaf3925da568: Pulling fs layer [2022-08-05T17:21:09.692Z] bab4dde63d76: Pulling fs layer [2022-08-05T17:21:09.692Z] bde34c3a00c8: Pulling fs layer [2022-08-05T17:21:09.692Z] b352a97aabf1: Pulling fs layer [2022-08-05T17:21:09.692Z] 4872d77fe225: Pulling fs layer [2022-08-05T17:21:09.692Z] 5851b861e8e6: Pulling fs layer [2022-08-05T17:21:09.692Z] 988bab9f4d93: Waiting [2022-08-05T17:21:09.692Z] bab4dde63d76: Waiting [2022-08-05T17:21:09.692Z] bde34c3a00c8: Waiting [2022-08-05T17:21:09.692Z] 4872d77fe225: Waiting [2022-08-05T17:21:09.692Z] 5851b861e8e6: Waiting [2022-08-05T17:21:09.692Z] b352a97aabf1: Waiting [2022-08-05T17:21:09.692Z] eaf3925da568: Waiting [2022-08-05T17:21:09.692Z] 1469e6f7b9e6: Waiting [2022-08-05T17:21:09.692Z] e2be974225ed: Download complete [2022-08-05T17:21:09.692Z] 988bab9f4d93: Verifying Checksum [2022-08-05T17:21:09.692Z] 988bab9f4d93: Download complete [2022-08-05T17:21:09.692Z] 1469e6f7b9e6: Verifying Checksum [2022-08-05T17:21:09.692Z] 1469e6f7b9e6: Download complete [2022-08-05T17:21:09.692Z] 339a4e72a1f5: Verifying Checksum [2022-08-05T17:21:09.692Z] 339a4e72a1f5: Download complete [2022-08-05T17:21:09.692Z] eaf3925da568: Verifying Checksum [2022-08-05T17:21:09.692Z] eaf3925da568: Download complete [2022-08-05T17:21:09.692Z] bde34c3a00c8: Download complete [2022-08-05T17:21:09.692Z] b352a97aabf1: Verifying Checksum [2022-08-05T17:21:09.692Z] b352a97aabf1: Download complete [2022-08-05T17:21:09.952Z] 4872d77fe225: Download complete [2022-08-05T17:21:09.952Z] 5851b861e8e6: Download complete [2022-08-05T17:21:09.952Z] b85a868b505f: Verifying Checksum [2022-08-05T17:21:09.952Z] b85a868b505f: Download complete [2022-08-05T17:21:10.212Z] bab4dde63d76: Verifying Checksum [2022-08-05T17:21:10.212Z] bab4dde63d76: Download complete [2022-08-05T17:21:11.151Z] b85a868b505f: Pull complete [2022-08-05T17:21:11.411Z] e2be974225ed: Pull complete [2022-08-05T17:21:11.981Z] 339a4e72a1f5: Pull complete [2022-08-05T17:21:11.981Z] 988bab9f4d93: Pull complete [2022-08-05T17:21:12.241Z] 1469e6f7b9e6: Pull complete [2022-08-05T17:21:12.241Z] eaf3925da568: Pull complete [2022-08-05T17:21:14.151Z] bab4dde63d76: Pull complete [2022-08-05T17:21:14.151Z] bde34c3a00c8: Pull complete [2022-08-05T17:21:14.151Z] b352a97aabf1: Pull complete [2022-08-05T17:21:14.414Z] 4872d77fe225: Pull complete [2022-08-05T17:21:14.415Z] 5851b861e8e6: Pull complete [2022-08-05T17:21:14.415Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-05T17:21:14.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T17:21:14.415Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:21:14.506Z] prd-ubuntu20.04-docker-8c-8g-22003 does not seem to be running inside a container [2022-08-05T17:21:14.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-05T17:21:18.564Z] $ docker top 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 -eo pid,comm [2022-08-05T17:21:18.636Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-05T17:21:18.636Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-05T17:21:18.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T17:21:18.672Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T17:21:18.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T17:21:18.832Z] $ docker exec 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 ssh-agent [2022-08-05T17:21:18.946Z] SSH_AUTH_SOCK=/tmp/ssh-h94BFltjXQgT/agent.25 [2022-08-05T17:21:18.946Z] SSH_AGENT_PID=42 [2022-08-05T17:21:18.954Z] Running ssh-add (command line suppressed) [2022-08-05T17:21:19.076Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_5158382753983651077.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_5158382753983651077.key) [2022-08-05T17:21:19.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T17:21:19.382Z] + git tag --points-at HEAD [Pipeline] } [2022-08-05T17:21:19.407Z] $ docker exec --env ******** --env ******** 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 ssh-agent -k [2022-08-05T17:21:19.529Z] unset SSH_AUTH_SOCK; [2022-08-05T17:21:19.529Z] unset SSH_AGENT_PID; [2022-08-05T17:21:19.529Z] echo Agent pid 42 killed; [2022-08-05T17:21:19.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-05T17:21:19.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T17:21:19.564Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T17:21:19.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T17:21:19.708Z] $ docker exec 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 ssh-agent [2022-08-05T17:21:19.841Z] SSH_AUTH_SOCK=/tmp/ssh-X8ltVklMwxxT/agent.74 [2022-08-05T17:21:19.841Z] SSH_AGENT_PID=80 [2022-08-05T17:21:19.847Z] Running ssh-add (command line suppressed) [2022-08-05T17:21:19.983Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_5478431604540539715.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_5478431604540539715.key) [2022-08-05T17:21:19.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T17:21:20.285Z] + git semver init [2022-08-05T17:21:20.545Z] 2022-08-05 17:21:20,513 [run_init] DEBUG init version:0.0.0 force:False [2022-08-05T17:21:20.545Z] 2022-08-05 17:21:20,514 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-123/.semver [2022-08-05T17:21:20.545Z] 2022-08-05 17:21:20,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-123/.semver [2022-08-05T17:21:20.545Z] 2022-08-05 17:21:20,515 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-123/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-123, universal_newlines=False, shell=None, istream=None) [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,402 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-123/.git/info/exclude [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,402 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 with force:False [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,403 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,407 [execute] INFO git cat-file --batch-check [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,412 [execute] INFO git cat-file --batch [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T17:21:21.485Z] 2022-08-05 17:21:21,417 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 [2022-08-05T17:21:21.485Z] 0.0.0 [Pipeline] } [2022-08-05T17:21:21.497Z] $ docker exec --env ******** --env ******** 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 ssh-agent -k [2022-08-05T17:21:21.602Z] unset SSH_AUTH_SOCK; [2022-08-05T17:21:21.602Z] unset SSH_AGENT_PID; [2022-08-05T17:21:21.602Z] echo Agent pid 80 killed; [2022-08-05T17:21:21.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-05T17:21:21.928Z] + git semver [Pipeline] } [2022-08-05T17:21:22.206Z] $ docker stop --time=1 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 [2022-08-05T17:21:23.474Z] $ docker rm -f 046ab38f40f7bb0beb74103461b9a47cd67a513f56221266f462ee7f19d5bbf3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T17:21:23.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-05T17:21:24.084Z] Stashed 1 file(s) [Pipeline] echo [2022-08-05T17:21:24.087Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T17:21:24.256Z] provisioning config files... [2022-08-05T17:21:24.266Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config3456044197162778685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:21:24.566Z] ---> docker-login.sh [2022-08-05T17:21:24.566Z] nexus3.edgexfoundry.org:10001 [2022-08-05T17:21:24.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:24.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:24.566Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:24.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:24.566Z] [2022-08-05T17:21:24.566Z] Login Succeeded [2022-08-05T17:21:24.566Z] nexus3.edgexfoundry.org:10002 [2022-08-05T17:21:24.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:24.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:24.828Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:24.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:24.828Z] [2022-08-05T17:21:24.828Z] Login Succeeded [2022-08-05T17:21:24.828Z] nexus3.edgexfoundry.org:10003 [2022-08-05T17:21:24.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:24.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:24.828Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:24.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:24.828Z] [2022-08-05T17:21:24.828Z] Login Succeeded [2022-08-05T17:21:24.828Z] nexus3.edgexfoundry.org:10004 [2022-08-05T17:21:24.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:25.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:25.089Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:25.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:25.089Z] [2022-08-05T17:21:25.089Z] Login Succeeded [2022-08-05T17:21:25.089Z] docker.io [2022-08-05T17:21:25.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:21:25.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:21:25.349Z] Configure a credential helper to remove this warning. See [2022-08-05T17:21:25.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:21:25.349Z] [2022-08-05T17:21:25.349Z] Login Succeeded [2022-08-05T17:21:25.349Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T17:21:25.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T17:21:25.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T17:21:25.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T17:21:25.449Z] ========================================================= [2022-08-05T17:21:25.449Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-05T17:21:25.449Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:21:25.770Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-05T17:21:25.770Z] Sending build context to Docker daemon 20.34MB [2022-08-05T17:21:25.770Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T17:21:25.770Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T17:21:26.030Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-05T17:21:26.030Z] 2408cc74d12b: Pulling fs layer [2022-08-05T17:21:26.030Z] ea60b727a1ce: Pulling fs layer [2022-08-05T17:21:26.031Z] 30c4a7721957: Pulling fs layer [2022-08-05T17:21:26.031Z] 370296b7ddb6: Pulling fs layer [2022-08-05T17:21:26.031Z] 7c6cee850709: Pulling fs layer [2022-08-05T17:21:26.031Z] 39a5fcdaea64: Pulling fs layer [2022-08-05T17:21:26.031Z] d94ebbe4e438: Pulling fs layer [2022-08-05T17:21:26.031Z] bcfd1f05c69d: Pulling fs layer [2022-08-05T17:21:26.031Z] 59ccb84bbe0f: Pulling fs layer [2022-08-05T17:21:26.031Z] d94ebbe4e438: Waiting [2022-08-05T17:21:26.031Z] bcfd1f05c69d: Waiting [2022-08-05T17:21:26.031Z] 59ccb84bbe0f: Waiting [2022-08-05T17:21:26.031Z] 39a5fcdaea64: Waiting [2022-08-05T17:21:26.031Z] 7c6cee850709: Waiting [2022-08-05T17:21:26.031Z] 30c4a7721957: Verifying Checksum [2022-08-05T17:21:26.031Z] 30c4a7721957: Download complete [2022-08-05T17:21:26.031Z] ea60b727a1ce: Verifying Checksum [2022-08-05T17:21:26.031Z] ea60b727a1ce: Download complete [2022-08-05T17:21:26.031Z] 7c6cee850709: Verifying Checksum [2022-08-05T17:21:26.031Z] 7c6cee850709: Download complete [2022-08-05T17:21:26.031Z] 39a5fcdaea64: Verifying Checksum [2022-08-05T17:21:26.031Z] 39a5fcdaea64: Download complete [2022-08-05T17:21:26.031Z] 2408cc74d12b: Verifying Checksum [2022-08-05T17:21:26.031Z] 2408cc74d12b: Download complete [2022-08-05T17:21:26.031Z] d94ebbe4e438: Verifying Checksum [2022-08-05T17:21:26.031Z] d94ebbe4e438: Download complete [2022-08-05T17:21:26.296Z] 2408cc74d12b: Pull complete [2022-08-05T17:21:26.296Z] ea60b727a1ce: Pull complete [2022-08-05T17:21:26.296Z] 30c4a7721957: Pull complete [2022-08-05T17:21:26.557Z] 59ccb84bbe0f: Verifying Checksum [2022-08-05T17:21:26.557Z] 59ccb84bbe0f: Download complete [2022-08-05T17:21:26.557Z] bcfd1f05c69d: Verifying Checksum [2022-08-05T17:21:26.557Z] bcfd1f05c69d: Download complete [2022-08-05T17:21:26.817Z] 370296b7ddb6: Verifying Checksum [2022-08-05T17:21:26.817Z] 370296b7ddb6: Download complete [2022-08-05T17:21:31.011Z] 370296b7ddb6: Pull complete [2022-08-05T17:21:31.011Z] 7c6cee850709: Pull complete [2022-08-05T17:21:31.011Z] 39a5fcdaea64: Pull complete [2022-08-05T17:21:31.011Z] d94ebbe4e438: Pull complete [2022-08-05T17:21:32.921Z] bcfd1f05c69d: Pull complete [2022-08-05T17:21:33.493Z] 59ccb84bbe0f: Pull complete [2022-08-05T17:21:33.493Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-05T17:21:33.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-05T17:21:33.493Z] ---> a4fb48ad2a94 [2022-08-05T17:21:33.493Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T17:21:36.791Z] ---> Running in 34d3bb418ee0 [2022-08-05T17:21:36.791Z] Removing intermediate container 34d3bb418ee0 [2022-08-05T17:21:36.791Z] ---> 28aa626c1a9b [2022-08-05T17:21:36.791Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T17:21:36.791Z] ---> Running in a9565a9c8d6a [2022-08-05T17:21:36.791Z] Removing intermediate container a9565a9c8d6a [2022-08-05T17:21:36.791Z] ---> 824ec1d971ab [2022-08-05T17:21:36.791Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T17:21:36.791Z] ---> Running in 9291ae5ffd5b [2022-08-05T17:21:36.791Z] Removing intermediate container 9291ae5ffd5b [2022-08-05T17:21:36.791Z] ---> 0e7f496fdeb4 [2022-08-05T17:21:36.791Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T17:21:37.055Z] ---> Running in 026f99879c5e [2022-08-05T17:21:37.055Z] Removing intermediate container 026f99879c5e [2022-08-05T17:21:37.055Z] ---> 07730ad909d6 [2022-08-05T17:21:37.055Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T17:21:37.055Z] ---> Running in 4ca3eb0cc6d6 [2022-08-05T17:21:37.623Z] Removing intermediate container 4ca3eb0cc6d6 [2022-08-05T17:21:37.623Z] ---> 48e01fb28991 [2022-08-05T17:21:37.623Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T17:21:37.623Z] ---> Running in 564e545821b4 [2022-08-05T17:21:37.883Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T17:21:38.827Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T17:21:39.087Z] OK: 211 MiB in 51 packages [2022-08-05T17:21:39.207Z] Still waiting to schedule task [2022-08-05T17:21:39.208Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-05T17:21:39.348Z] Removing intermediate container 564e545821b4 [2022-08-05T17:21:39.348Z] ---> be8420d1868f [2022-08-05T17:21:39.348Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T17:21:39.348Z] ---> Running in 62f1b62ecd33 [2022-08-05T17:21:39.607Z] Removing intermediate container 62f1b62ecd33 [2022-08-05T17:21:39.607Z] ---> 60163a3fe8cc [2022-08-05T17:21:39.607Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T17:21:39.607Z] ---> bd06238b9a52 [2022-08-05T17:21:39.607Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T17:21:39.607Z] ---> Running in 7663aecf5f58 [2022-08-05T17:21:57.729Z] Removing intermediate container 7663aecf5f58 [2022-08-05T17:21:57.729Z] ---> 751745edf4fc [2022-08-05T17:21:57.729Z] Step 12/13 : COPY . . [2022-08-05T17:21:57.729Z] ---> ddb49a5a1d86 [2022-08-05T17:21:57.729Z] Step 13/13 : RUN ${MAKE} [2022-08-05T17:21:57.729Z] ---> Running in a3cc1d47b418 [2022-08-05T17:21:57.729Z] noop [2022-08-05T17:21:57.989Z] Removing intermediate container a3cc1d47b418 [2022-08-05T17:21:57.989Z] ---> b6a1cb22b7ad [2022-08-05T17:21:57.989Z] Successfully built b6a1cb22b7ad [2022-08-05T17:21:57.989Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:21:58.314Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T17:21:58.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:21:58.401Z] prd-ubuntu20.04-docker-8c-8g-22003 does not seem to be running inside a container [2022-08-05T17:21:58.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T17:21:58.778Z] $ docker top fdd7899f825f6bc2eddca066e5fdb6ef21c8e89a5fe2c44dbb579a7b204c9962 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T17:21:59.134Z] + go version [2022-08-05T17:21:59.134Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-05T17:21:59.150Z] $ docker stop --time=1 fdd7899f825f6bc2eddca066e5fdb6ef21c8e89a5fe2c44dbb579a7b204c9962 [2022-08-05T17:22:00.451Z] $ docker rm -f fdd7899f825f6bc2eddca066e5fdb6ef21c8e89a5fe2c44dbb579a7b204c9962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:22:00.912Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T17:22:00.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:22:00.988Z] prd-ubuntu20.04-docker-8c-8g-22003 does not seem to be running inside a container [2022-08-05T17:22:01.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T17:22:01.359Z] $ docker top 852e6673a3250fc815753e1a6eaf2a1884278cce99dd632e484721840344dd4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T17:22:01.713Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] fileExists [Pipeline] sh [2022-08-05T17:22:02.016Z] + make test [2022-08-05T17:22:02.016Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T17:22:02.276Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T17:22:14.498Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T17:22:14.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.6% of statements [2022-08-05T17:22:14.498Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T17:22:17.798Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.157s coverage: 13.8% of statements [2022-08-05T17:22:25.961Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T17:22:29.259Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T17:22:29.259Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T17:22:29.259Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T17:22:29.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T17:22:29.552Z] $ docker stop --time=1 852e6673a3250fc815753e1a6eaf2a1884278cce99dd632e484721840344dd4c [2022-08-05T17:22:31.848Z] $ docker rm -f 852e6673a3250fc815753e1a6eaf2a1884278cce99dd632e484721840344dd4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T17:22:32.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T17:22:32.364Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-05T17:22:32.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T17:22:33.173Z] + ls -al . [2022-08-05T17:22:33.173Z] total 232 [2022-08-05T17:22:33.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 5 17:22 . [2022-08-05T17:22:33.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:20 .. [2022-08-05T17:22:33.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 17:22 .git [2022-08-05T17:22:33.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 17:20 .github [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 17:20 .gitignore [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 17:20 .golangci.yml [2022-08-05T17:22:33.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 17:21 .semver [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 17:20 Attribution.txt [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 17:20 CHANGELOG.md [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 17:20 Dockerfile [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 17:20 GOVERNANCE.md [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 17:20 Jenkinsfile [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 17:20 LICENSE [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 17:20 Makefile [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 17:20 OWNERS.md [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 17:20 README.md [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 17:21 VERSION [2022-08-05T17:22:33.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 17:20 bin [2022-08-05T17:22:33.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 17:20 cmd [2022-08-05T17:22:33.173Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 17:22 coverage.out [2022-08-05T17:22:33.173Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 17:20 doc [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 17:20 go.mod [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 17:20 go.sum [2022-08-05T17:22:33.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:20 internal [2022-08-05T17:22:33.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:20 snap [2022-08-05T17:22:33.173Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:22:33.498Z] + 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=e0feef36a52d7d383129e341cf53c8566cb6a8f8 --label arch=amd64 --label version=0.0.0 . [2022-08-05T17:22:33.498Z] Sending build context to Docker daemon 20.41MB [2022-08-05T17:22:33.498Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T17:22:33.498Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-05T17:22:33.498Z] ---> b6a1cb22b7ad [2022-08-05T17:22:33.498Z] Step 3/26 : ARG MAKE="make build" [2022-08-05T17:22:34.070Z] ---> Running in be7f52fa34d1 [2022-08-05T17:22:34.070Z] Removing intermediate container be7f52fa34d1 [2022-08-05T17:22:34.070Z] ---> cc07b5ed3486 [2022-08-05T17:22:34.070Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T17:22:34.070Z] ---> Running in b2bed0e437df [2022-08-05T17:22:34.070Z] Removing intermediate container b2bed0e437df [2022-08-05T17:22:34.070Z] ---> efed595cfe30 [2022-08-05T17:22:34.070Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T17:22:34.070Z] ---> Running in cfe93fe11ab6 [2022-08-05T17:22:34.070Z] Removing intermediate container cfe93fe11ab6 [2022-08-05T17:22:34.070Z] ---> 99dfd01dd37f [2022-08-05T17:22:34.070Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-05T17:22:34.070Z] ---> Running in d2c9a9fe94e4 [2022-08-05T17:22:34.331Z] Removing intermediate container d2c9a9fe94e4 [2022-08-05T17:22:34.331Z] ---> 9aceaffa4f4d [2022-08-05T17:22:34.331Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T17:22:34.331Z] ---> Running in 35e317e20ac2 [2022-08-05T17:22:34.904Z] Removing intermediate container 35e317e20ac2 [2022-08-05T17:22:34.904Z] ---> e85d2551e3d0 [2022-08-05T17:22:34.904Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T17:22:34.904Z] ---> Running in b1336114ddec [2022-08-05T17:22:35.165Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T17:22:36.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T17:22:36.368Z] OK: 211 MiB in 51 packages [2022-08-05T17:22:36.628Z] Removing intermediate container b1336114ddec [2022-08-05T17:22:36.628Z] ---> 6658d2cf9355 [2022-08-05T17:22:36.628Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-05T17:22:36.628Z] ---> Running in c7a66c8016a5 [2022-08-05T17:22:36.628Z] Removing intermediate container c7a66c8016a5 [2022-08-05T17:22:36.628Z] ---> 1b3b6f5ed2fe [2022-08-05T17:22:36.628Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-05T17:22:36.893Z] ---> 644e03e8bd7b [2022-08-05T17:22:36.893Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T17:22:36.893Z] ---> Running in 0d8ea56038c0 [2022-08-05T17:22:37.462Z] Removing intermediate container 0d8ea56038c0 [2022-08-05T17:22:37.462Z] ---> 0fd91e329195 [2022-08-05T17:22:37.462Z] Step 12/26 : COPY . . [2022-08-05T17:22:38.032Z] ---> baac21e7abad [2022-08-05T17:22:38.032Z] Step 13/26 : RUN ${MAKE} [2022-08-05T17:22:38.032Z] ---> Running in 4d10a0a35c3c [2022-08-05T17:22:38.292Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-05T17:23:00.242Z] Removing intermediate container 4d10a0a35c3c [2022-08-05T17:23:00.242Z] ---> 9dcda06aae37 [2022-08-05T17:23:00.242Z] Step 14/26 : FROM alpine:3.15 [2022-08-05T17:23:00.242Z] 3.15: Pulling from library/alpine [2022-08-05T17:23:00.503Z] ab6db1bc80d0: Pulling fs layer [2022-08-05T17:23:00.804Z] ab6db1bc80d0: Verifying Checksum [2022-08-05T17:23:00.804Z] ab6db1bc80d0: Download complete [2022-08-05T17:23:00.804Z] ab6db1bc80d0: Pull complete [2022-08-05T17:23:00.804Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T17:23:00.804Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T17:23:00.804Z] ---> 2720e26172a0 [2022-08-05T17:23:00.804Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T17:23:01.066Z] ---> Running in 8f8347e43c52 [2022-08-05T17:23:01.066Z] Removing intermediate container 8f8347e43c52 [2022-08-05T17:23:01.066Z] ---> b070c47ab8ae [2022-08-05T17:23:01.066Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-05T17:23:01.066Z] ---> Running in c528327ceefd [2022-08-05T17:23:01.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-05T17:23:01.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-05T17:23:01.589Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-05T17:23:01.589Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T17:23:01.589Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-05T17:23:01.589Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T17:23:01.589Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-05T17:23:01.589Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-05T17:23:01.589Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T17:23:01.589Z] OK: 8 MiB in 20 packages [2022-08-05T17:23:02.162Z] Removing intermediate container c528327ceefd [2022-08-05T17:23:02.162Z] ---> 4327340d2f75 [2022-08-05T17:23:02.162Z] Step 17/26 : WORKDIR / [2022-08-05T17:23:02.162Z] ---> Running in d284942a8b66 [2022-08-05T17:23:02.162Z] Removing intermediate container d284942a8b66 [2022-08-05T17:23:02.162Z] ---> 98e5b2aeb93e [2022-08-05T17:23:02.162Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T17:23:03.105Z] ---> d7767bb91b08 [2022-08-05T17:23:03.105Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T17:23:03.105Z] ---> e52a67a54f7d [2022-08-05T17:23:03.105Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T17:23:03.105Z] ---> 12bbb039e5b3 [2022-08-05T17:23:03.105Z] Step 21/26 : EXPOSE 59984 [2022-08-05T17:23:03.105Z] ---> Running in 02d4eda9a932 [2022-08-05T17:23:03.365Z] Removing intermediate container 02d4eda9a932 [2022-08-05T17:23:03.365Z] ---> e684e348cd9d [2022-08-05T17:23:03.365Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T17:23:03.365Z] ---> Running in 293cc149ae44 [2022-08-05T17:23:03.365Z] Removing intermediate container 293cc149ae44 [2022-08-05T17:23:03.365Z] ---> 10ffefd9e980 [2022-08-05T17:23:03.365Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T17:23:03.365Z] ---> Running in 93c526e7b39a [2022-08-05T17:23:03.365Z] Removing intermediate container 93c526e7b39a [2022-08-05T17:23:03.365Z] ---> afd3595891e1 [2022-08-05T17:23:03.365Z] Step 24/26 : LABEL arch=amd64 [2022-08-05T17:23:03.365Z] ---> Running in 1f1dfcebfd90 [2022-08-05T17:23:03.625Z] Removing intermediate container 1f1dfcebfd90 [2022-08-05T17:23:03.625Z] ---> cf003e16a839 [2022-08-05T17:23:03.625Z] Step 25/26 : LABEL git_sha=e0feef36a52d7d383129e341cf53c8566cb6a8f8 [2022-08-05T17:23:03.625Z] ---> Running in e1f099180288 [2022-08-05T17:23:03.625Z] Removing intermediate container e1f099180288 [2022-08-05T17:23:03.625Z] ---> c053db5e9864 [2022-08-05T17:23:03.625Z] Step 26/26 : LABEL version=0.0.0 [2022-08-05T17:23:03.625Z] ---> Running in c03d4a5abc67 [2022-08-05T17:23:03.625Z] Removing intermediate container c03d4a5abc67 [2022-08-05T17:23:03.625Z] ---> 3d061f1f8542 [2022-08-05T17:23:03.625Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T17:23:03.625Z] Successfully built 3d061f1f8542 [2022-08-05T17:23:03.625Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:23:04.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T17:23:04.136Z] [2022-08-05T17:23:04.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:23:04.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T17:23:04.441Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-05T17:23:04.441Z] 5eb5b503b376: Pulling fs layer [2022-08-05T17:23:04.441Z] 5c69ac0246d0: Pulling fs layer [2022-08-05T17:23:04.441Z] ec43610c2a17: Pulling fs layer [2022-08-05T17:23:04.441Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-05T17:23:04.441Z] 33b1e0a273af: Pulling fs layer [2022-08-05T17:23:04.441Z] 5d3b04190fa2: Pulling fs layer [2022-08-05T17:23:04.441Z] 2f39f015ded8: Pulling fs layer [2022-08-05T17:23:04.441Z] 3a2ae6a8a46f: Waiting [2022-08-05T17:23:04.441Z] 33b1e0a273af: Waiting [2022-08-05T17:23:04.441Z] 2f39f015ded8: Waiting [2022-08-05T17:23:04.441Z] 5d3b04190fa2: Waiting [2022-08-05T17:23:04.702Z] 5c69ac0246d0: Verifying Checksum [2022-08-05T17:23:04.702Z] 5c69ac0246d0: Download complete [2022-08-05T17:23:04.702Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-05T17:23:04.702Z] 3a2ae6a8a46f: Download complete [2022-08-05T17:23:04.702Z] 33b1e0a273af: Verifying Checksum [2022-08-05T17:23:04.702Z] 33b1e0a273af: Download complete [2022-08-05T17:23:04.702Z] ec43610c2a17: Verifying Checksum [2022-08-05T17:23:04.702Z] ec43610c2a17: Download complete [2022-08-05T17:23:04.702Z] 5d3b04190fa2: Verifying Checksum [2022-08-05T17:23:04.702Z] 5d3b04190fa2: Download complete [2022-08-05T17:23:04.702Z] 5eb5b503b376: Verifying Checksum [2022-08-05T17:23:04.702Z] 5eb5b503b376: Download complete [2022-08-05T17:23:05.641Z] 2f39f015ded8: Download complete [2022-08-05T17:23:06.208Z] 5eb5b503b376: Pull complete [2022-08-05T17:23:06.468Z] 5c69ac0246d0: Pull complete [2022-08-05T17:23:07.039Z] ec43610c2a17: Pull complete [2022-08-05T17:23:07.039Z] 3a2ae6a8a46f: Pull complete [2022-08-05T17:23:07.300Z] 33b1e0a273af: Pull complete [2022-08-05T17:23:07.300Z] 5d3b04190fa2: Pull complete [2022-08-05T17:23:12.577Z] 2f39f015ded8: Pull complete [2022-08-05T17:23:12.577Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-05T17:23:12.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T17:23:12.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:23:12.693Z] prd-ubuntu20.04-docker-8c-8g-22003 does not seem to be running inside a container [2022-08-05T17:23:12.731Z] $ 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-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-05T17:23:15.315Z] $ docker top 904fdafb928f5c1348b2b3c4973fbf8164278fc6fe8c43158fb2b85b148e34f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:23:15.754Z] ---> job-cost.sh [2022-08-05T17:23:15.754Z] lf-activate-venv: SKIPPING [2022-08-05T17:23:15.754Z] INFO: No Stack... [2022-08-05T17:23:16.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T17:23:16.591Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T17:23:16.883Z] + cat /w/workspace/undry_device-onvif-camera_PR-123/archives/cost.csv [2022-08-05T17:23:16.883Z] + cut -d, -f6 [Pipeline] lock [2022-08-05T17:23:16.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [2022-08-05T17:23:16.908Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] did not exist. Created. [2022-08-05T17:23:16.908Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T17:23:17.217Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-05T17:23:17.251Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T17:23:17.256Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T17:23:17.277Z] $ docker stop --time=1 904fdafb928f5c1348b2b3c4973fbf8164278fc6fe8c43158fb2b85b148e34f7 [2022-08-05T17:23:18.447Z] $ docker rm -f 904fdafb928f5c1348b2b3c4973fbf8164278fc6fe8c43158fb2b85b148e34f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-05T17:23:20.773Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22004 in /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] { [Pipeline] ws [2022-08-05T17:23:20.786Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-08-05T17:23:20.844Z] Selected Git installation does not exist. Using Default [2022-08-05T17:23:20.844Z] The recommended git tool is: NONE [2022-08-05T17:23:27.516Z] using credential edgex-jenkins-ssh [2022-08-05T17:23:27.537Z] Cloning the remote Git repository [2022-08-05T17:23:27.587Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T17:23:27.666Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-08-05T17:23:27.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T17:23:27.728Z] > git --version # timeout=10 [2022-08-05T17:23:27.746Z] > git --version # 'git version 2.25.1' [2022-08-05T17:23:27.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T17:23:27.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-05T17:23:29.549Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit e0feef36a52d7d383129e341cf53c8566cb6a8f8 [2022-08-05T17:23:29.885Z] Merge succeeded, producing e0feef36a52d7d383129e341cf53c8566cb6a8f8 [2022-08-05T17:23:29.886Z] Checking out Revision e0feef36a52d7d383129e341cf53c8566cb6a8f8 (PR-123) [2022-08-05T17:23:28.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T17:23:28.991Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-05T17:23:29.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T17:23:29.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T17:23:29.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T17:23:29.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-05T17:23:29.569Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T17:23:29.584Z] > git checkout -f e0feef36a52d7d383129e341cf53c8566cb6a8f8 # timeout=10 [2022-08-05T17:23:29.799Z] > git remote # timeout=10 [2022-08-05T17:23:29.814Z] > git config --get remote.origin.url # timeout=10 [2022-08-05T17:23:29.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T17:23:29.843Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-05T17:23:29.869Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-05T17:23:29.894Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T17:23:29.910Z] > git checkout -f e0feef36a52d7d383129e341cf53c8566cb6a8f8 # timeout=10 [2022-08-05T17:23:34.235Z] Commit message: "Merge branch 'edgexfoundry:main' into add-openapi" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T17:23:35.062Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-05T17:23:35.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T17:23:35.062Z] Dload Upload Total Spent Left Speed [2022-08-05T17:23:35.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 [Pipeline] sh [2022-08-05T17:23:35.864Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-05T17:23:36.216Z] + sudo tee /etc/docker/daemon.new [2022-08-05T17:23:36.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-05T17:23:36.216Z] { [2022-08-05T17:23:36.216Z] "registry-mirrors": [ [2022-08-05T17:23:36.216Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-05T17:23:36.216Z] ], [2022-08-05T17:23:36.216Z] "bip": "10.250.0.254/24", [2022-08-05T17:23:36.216Z] "hosts": [ [2022-08-05T17:23:36.216Z] "tcp://0.0.0.0:5555", [2022-08-05T17:23:36.216Z] "unix:///var/run/docker.sock" [2022-08-05T17:23:36.216Z] ], [2022-08-05T17:23:36.216Z] "mtu": 1458, [2022-08-05T17:23:36.216Z] "selinux-enabled": true, [2022-08-05T17:23:36.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-05T17:23:36.216Z] } [Pipeline] sh [2022-08-05T17:23:36.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-05T17:23:36.902Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T17:23:55.240Z] provisioning config files... [2022-08-05T17:23:55.263Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config627245915373515420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:23:55.616Z] ---> docker-login.sh [2022-08-05T17:23:55.617Z] nexus3.edgexfoundry.org:10001 [2022-08-05T17:23:56.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:23:56.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:23:56.498Z] Configure a credential helper to remove this warning. See [2022-08-05T17:23:56.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:23:56.498Z] [2022-08-05T17:23:56.498Z] Login Succeeded [2022-08-05T17:23:56.498Z] nexus3.edgexfoundry.org:10002 [2022-08-05T17:23:56.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:23:56.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:23:56.772Z] Configure a credential helper to remove this warning. See [2022-08-05T17:23:56.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:23:56.772Z] [2022-08-05T17:23:56.772Z] Login Succeeded [2022-08-05T17:23:57.046Z] nexus3.edgexfoundry.org:10003 [2022-08-05T17:23:57.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:23:57.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:23:57.318Z] Configure a credential helper to remove this warning. See [2022-08-05T17:23:57.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:23:57.318Z] [2022-08-05T17:23:57.318Z] Login Succeeded [2022-08-05T17:23:57.318Z] nexus3.edgexfoundry.org:10004 [2022-08-05T17:23:57.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:23:57.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:23:57.916Z] Configure a credential helper to remove this warning. See [2022-08-05T17:23:57.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:23:57.916Z] [2022-08-05T17:23:57.916Z] Login Succeeded [2022-08-05T17:23:57.916Z] docker.io [2022-08-05T17:23:58.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T17:23:58.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T17:23:58.781Z] Configure a credential helper to remove this warning. See [2022-08-05T17:23:58.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T17:23:58.781Z] [2022-08-05T17:23:58.781Z] Login Succeeded [2022-08-05T17:23:58.781Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T17:23:58.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T17:23:59.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T17:23:59.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T17:23:59.324Z] ========================================================= [2022-08-05T17:23:59.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-05T17:23:59.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:23:59.686Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-05T17:24:00.294Z] Sending build context to Docker daemon 13.96MB [2022-08-05T17:24:00.294Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T17:24:00.294Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T17:24:00.294Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-05T17:24:00.294Z] b3c136eddcbf: Pulling fs layer [2022-08-05T17:24:00.294Z] c0a3192eca97: Pulling fs layer [2022-08-05T17:24:00.294Z] a050256f5b6f: Pulling fs layer [2022-08-05T17:24:00.294Z] 656be50a0ddc: Pulling fs layer [2022-08-05T17:24:00.294Z] 2bbca73fdf42: Pulling fs layer [2022-08-05T17:24:00.294Z] 46d945488cbd: Pulling fs layer [2022-08-05T17:24:00.294Z] 8a5474983e97: Pulling fs layer [2022-08-05T17:24:00.294Z] 329c88fbcd65: Pulling fs layer [2022-08-05T17:24:00.294Z] 656be50a0ddc: Waiting [2022-08-05T17:24:00.294Z] 2bbca73fdf42: Waiting [2022-08-05T17:24:00.294Z] 46d945488cbd: Waiting [2022-08-05T17:24:00.294Z] 8a5474983e97: Waiting [2022-08-05T17:24:00.294Z] 329c88fbcd65: Waiting [2022-08-05T17:24:00.294Z] a050256f5b6f: Verifying Checksum [2022-08-05T17:24:00.294Z] a050256f5b6f: Download complete [2022-08-05T17:24:00.578Z] c0a3192eca97: Download complete [2022-08-05T17:24:00.578Z] 2bbca73fdf42: Verifying Checksum [2022-08-05T17:24:00.578Z] 2bbca73fdf42: Download complete [2022-08-05T17:24:00.578Z] 46d945488cbd: Verifying Checksum [2022-08-05T17:24:00.578Z] 46d945488cbd: Download complete [2022-08-05T17:24:00.578Z] b3c136eddcbf: Verifying Checksum [2022-08-05T17:24:00.578Z] b3c136eddcbf: Download complete [2022-08-05T17:24:01.562Z] b3c136eddcbf: Pull complete [2022-08-05T17:24:01.562Z] 329c88fbcd65: Verifying Checksum [2022-08-05T17:24:01.562Z] 329c88fbcd65: Download complete [2022-08-05T17:24:02.169Z] c0a3192eca97: Pull complete [2022-08-05T17:24:02.447Z] a050256f5b6f: Pull complete [2022-08-05T17:24:02.721Z] 8a5474983e97: Verifying Checksum [2022-08-05T17:24:02.721Z] 8a5474983e97: Download complete [2022-08-05T17:24:03.320Z] 656be50a0ddc: Download complete [2022-08-05T17:24:18.411Z] 656be50a0ddc: Pull complete [2022-08-05T17:24:18.411Z] 2bbca73fdf42: Pull complete [2022-08-05T17:24:18.411Z] 46d945488cbd: Pull complete [2022-08-05T17:24:22.733Z] 8a5474983e97: Pull complete [2022-08-05T17:24:25.373Z] 329c88fbcd65: Pull complete [2022-08-05T17:24:25.373Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-05T17:24:25.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-05T17:24:25.373Z] ---> ff4287adb874 [2022-08-05T17:24:25.373Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T17:24:26.821Z] ---> Running in 681c52411680 [2022-08-05T17:24:27.096Z] Removing intermediate container 681c52411680 [2022-08-05T17:24:27.096Z] ---> ce5e36c9a9d3 [2022-08-05T17:24:27.096Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T17:24:27.096Z] ---> Running in c61e304d8534 [2022-08-05T17:24:27.401Z] Removing intermediate container c61e304d8534 [2022-08-05T17:24:27.401Z] ---> 54e5ee488412 [2022-08-05T17:24:27.401Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T17:24:27.683Z] ---> Running in b063be302ab3 [2022-08-05T17:24:28.666Z] Removing intermediate container b063be302ab3 [2022-08-05T17:24:28.666Z] ---> eba2f887c156 [2022-08-05T17:24:28.666Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T17:24:28.942Z] ---> Running in ba6698c9608c [2022-08-05T17:24:29.215Z] Removing intermediate container ba6698c9608c [2022-08-05T17:24:29.215Z] ---> 4479b6902225 [2022-08-05T17:24:29.215Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T17:24:29.215Z] ---> Running in 6eae30638cc6 [2022-08-05T17:24:31.207Z] Removing intermediate container 6eae30638cc6 [2022-08-05T17:24:31.207Z] ---> a2426f74ce36 [2022-08-05T17:24:31.207Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T17:24:31.207Z] ---> Running in a0dd208097f3 [2022-08-05T17:24:32.189Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T17:24:32.787Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T17:24:33.762Z] OK: 221 MiB in 51 packages [2022-08-05T17:24:34.746Z] Removing intermediate container a0dd208097f3 [2022-08-05T17:24:34.746Z] ---> b35da84c259b [2022-08-05T17:24:34.746Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T17:24:34.746Z] ---> Running in ee14259592af [2022-08-05T17:24:35.022Z] Removing intermediate container ee14259592af [2022-08-05T17:24:35.022Z] ---> dd334ee5ed8c [2022-08-05T17:24:35.022Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T17:24:35.626Z] ---> f09038cda858 [2022-08-05T17:24:35.626Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T17:24:35.626Z] ---> Running in cc3d2bbdad2d [2022-08-05T17:25:22.623Z] Removing intermediate container cc3d2bbdad2d [2022-08-05T17:25:22.623Z] ---> 289f4cbe2e60 [2022-08-05T17:25:22.623Z] Step 12/13 : COPY . . [2022-08-05T17:25:22.623Z] ---> 781817835323 [2022-08-05T17:25:22.623Z] Step 13/13 : RUN ${MAKE} [2022-08-05T17:25:22.623Z] ---> Running in 4cacd4c78698 [2022-08-05T17:25:22.623Z] noop [2022-08-05T17:25:23.219Z] Removing intermediate container 4cacd4c78698 [2022-08-05T17:25:23.219Z] ---> 368e46076df1 [2022-08-05T17:25:23.219Z] Successfully built 368e46076df1 [2022-08-05T17:25:23.219Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:25:23.590Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T17:25:23.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:25:23.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-22004 does not seem to be running inside a container [2022-08-05T17:25:23.919Z] $ 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 [2022-08-05T17:25:25.219Z] $ docker top 2f714ab7c2abb36f986d82d2d742ede86e957d7359bcec44dea3504a307ae6ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T17:25:26.135Z] + go version [2022-08-05T17:25:26.136Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-05T17:25:26.174Z] $ docker stop --time=1 2f714ab7c2abb36f986d82d2d742ede86e957d7359bcec44dea3504a307ae6ad [2022-08-05T17:25:27.794Z] $ docker rm -f 2f714ab7c2abb36f986d82d2d742ede86e957d7359bcec44dea3504a307ae6ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:25:28.373Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T17:25:28.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:25:28.612Z] prd-ubuntu20.04-docker-arm64-4c-16g-22004 does not seem to be running inside a container [2022-08-05T17:25:28.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-08-05T17:25:29.914Z] $ docker top 966ef7df52efb646d1aa8b070706296ea005deabcf414dd20751fc19c368b097 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T17:25:30.820Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-08-05T17:25:31.501Z] + make test [2022-08-05T17:25:31.501Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T17:25:33.518Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T17:26:55.357Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T17:26:59.706Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.115s coverage: 10.6% of statements [2022-08-05T17:26:59.706Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T17:27:21.875Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.031s coverage: 13.8% of statements [2022-08-05T17:27:21.875Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-05T17:27:21.875Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T17:27:40.235Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T17:27:40.235Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T17:27:40.235Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T17:27:43.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T17:27:43.677Z] $ docker stop --time=1 966ef7df52efb646d1aa8b070706296ea005deabcf414dd20751fc19c368b097 [2022-08-05T17:27:45.458Z] $ docker rm -f 966ef7df52efb646d1aa8b070706296ea005deabcf414dd20751fc19c368b097 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T17:27:46.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T17:27:46.457Z] Warning: overwriting stash ‘coverage-report’ [2022-08-05T17:27:47.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T17:27:47.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T17:27:47.920Z] + ls -al . [2022-08-05T17:27:47.920Z] total 228 [2022-08-05T17:27:47.920Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 5 17:27 . [2022-08-05T17:27:47.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:23 .. [2022-08-05T17:27:47.920Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 17:23 .git [2022-08-05T17:27:47.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 17:23 .github [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 17:23 .gitignore [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 17:23 .golangci.yml [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 17:23 Attribution.txt [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 17:23 CHANGELOG.md [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 17:23 Dockerfile [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 17:23 GOVERNANCE.md [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 17:23 Jenkinsfile [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 17:23 LICENSE [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 17:23 Makefile [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 17:23 OWNERS.md [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 17:23 README.md [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 17:21 VERSION [2022-08-05T17:27:47.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 17:23 bin [2022-08-05T17:27:47.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 17:23 cmd [2022-08-05T17:27:47.920Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 17:27 coverage.out [2022-08-05T17:27:47.920Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 17:23 doc [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 17:23 go.mod [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 17:23 go.sum [2022-08-05T17:27:47.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:23 internal [2022-08-05T17:27:47.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 17:23 snap [2022-08-05T17:27:47.920Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:27:48.305Z] + 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=e0feef36a52d7d383129e341cf53c8566cb6a8f8 --label arch=arm64 --label version=0.0.0 . [2022-08-05T17:27:48.921Z] Sending build context to Docker daemon 14.03MB [2022-08-05T17:27:48.921Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T17:27:48.921Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-05T17:27:48.921Z] ---> 368e46076df1 [2022-08-05T17:27:48.921Z] Step 3/26 : ARG MAKE="make build" [2022-08-05T17:27:49.207Z] ---> Running in 369122a530e8 [2022-08-05T17:27:49.483Z] Removing intermediate container 369122a530e8 [2022-08-05T17:27:49.483Z] ---> 71a9a5f1cc01 [2022-08-05T17:27:49.483Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T17:27:49.483Z] ---> Running in db2b61871373 [2022-08-05T17:27:49.758Z] Removing intermediate container db2b61871373 [2022-08-05T17:27:49.758Z] ---> 775f5c68198a [2022-08-05T17:27:49.758Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T17:27:50.031Z] ---> Running in d008bab56e69 [2022-08-05T17:27:50.305Z] Removing intermediate container d008bab56e69 [2022-08-05T17:27:50.305Z] ---> c1659ab66c58 [2022-08-05T17:27:50.305Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-05T17:27:50.305Z] ---> Running in dcc940c357d7 [2022-08-05T17:27:50.582Z] Removing intermediate container dcc940c357d7 [2022-08-05T17:27:50.582Z] ---> d5e46cb7bbf7 [2022-08-05T17:27:50.582Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T17:27:50.871Z] ---> Running in dd37367ab160 [2022-08-05T17:27:52.322Z] Removing intermediate container dd37367ab160 [2022-08-05T17:27:52.322Z] ---> 5b6e84a717b8 [2022-08-05T17:27:52.322Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T17:27:52.322Z] ---> Running in 261a7cad1b3b [2022-08-05T17:27:53.302Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T17:27:54.284Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T17:27:55.270Z] OK: 221 MiB in 51 packages [2022-08-05T17:27:55.883Z] Removing intermediate container 261a7cad1b3b [2022-08-05T17:27:55.883Z] ---> 80720c9b06a5 [2022-08-05T17:27:55.883Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-05T17:27:56.159Z] ---> Running in c07b99df262e [2022-08-05T17:27:56.432Z] Removing intermediate container c07b99df262e [2022-08-05T17:27:56.432Z] ---> 56d10f0153a4 [2022-08-05T17:27:56.432Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-05T17:27:57.029Z] ---> acc19aebbaab [2022-08-05T17:27:57.029Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T17:27:57.029Z] ---> Running in c3c9475c5751 [2022-08-05T17:27:59.006Z] Removing intermediate container c3c9475c5751 [2022-08-05T17:27:59.006Z] ---> 335b6f29a99b [2022-08-05T17:27:59.006Z] Step 12/26 : COPY . . [2022-08-05T17:28:00.451Z] ---> ebb0b76e194a [2022-08-05T17:28:00.451Z] Step 13/26 : RUN ${MAKE} [2022-08-05T17:28:00.451Z] ---> Running in 80fa9dfff2d3 [2022-08-05T17:28:01.439Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-05T17:30:08.402Z] Removing intermediate container 80fa9dfff2d3 [2022-08-05T17:30:08.402Z] ---> f8b8e588e5ba [2022-08-05T17:30:08.402Z] Step 14/26 : FROM alpine:3.15 [2022-08-05T17:30:08.402Z] 3.15: Pulling from library/alpine [2022-08-05T17:30:08.402Z] e0295fd11fe2: Pulling fs layer [2022-08-05T17:30:08.402Z] e0295fd11fe2: Verifying Checksum [2022-08-05T17:30:08.402Z] e0295fd11fe2: Download complete [2022-08-05T17:30:08.402Z] e0295fd11fe2: Pull complete [2022-08-05T17:30:08.402Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T17:30:08.402Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T17:30:08.402Z] ---> 60f2846fe774 [2022-08-05T17:30:08.402Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T17:30:08.402Z] ---> Running in 6c87650b271e [2022-08-05T17:30:08.675Z] Removing intermediate container 6c87650b271e [2022-08-05T17:30:08.675Z] ---> b0db994aa17c [2022-08-05T17:30:08.675Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-05T17:30:08.675Z] ---> Running in 8ca930494def [2022-08-05T17:30:09.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-05T17:30:09.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-05T17:30:10.535Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-05T17:30:10.535Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T17:30:10.535Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-05T17:30:10.809Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T17:30:10.809Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-05T17:30:10.809Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-05T17:30:10.809Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T17:30:10.809Z] OK: 8 MiB in 20 packages [2022-08-05T17:30:11.800Z] Removing intermediate container 8ca930494def [2022-08-05T17:30:11.800Z] ---> 8d4cc44632df [2022-08-05T17:30:11.800Z] Step 17/26 : WORKDIR / [2022-08-05T17:30:11.800Z] ---> Running in 83222c66ec1b [2022-08-05T17:30:12.073Z] Removing intermediate container 83222c66ec1b [2022-08-05T17:30:12.073Z] ---> 38fd73597ea7 [2022-08-05T17:30:12.073Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T17:30:13.509Z] ---> b7828ac6cfe5 [2022-08-05T17:30:13.509Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T17:30:14.105Z] ---> d946b4938bea [2022-08-05T17:30:14.105Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T17:30:14.705Z] ---> 4404cb5281da [2022-08-05T17:30:14.705Z] Step 21/26 : EXPOSE 59984 [2022-08-05T17:30:14.705Z] ---> Running in 1901ce09317c [2022-08-05T17:30:14.978Z] Removing intermediate container 1901ce09317c [2022-08-05T17:30:14.978Z] ---> b3d1543ab36f [2022-08-05T17:30:14.978Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T17:30:14.978Z] ---> Running in 1775507797fe [2022-08-05T17:30:15.253Z] Removing intermediate container 1775507797fe [2022-08-05T17:30:15.253Z] ---> 78b1090c4d5d [2022-08-05T17:30:15.253Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T17:30:15.526Z] ---> Running in 70dffbc4a15c [2022-08-05T17:30:15.801Z] Removing intermediate container 70dffbc4a15c [2022-08-05T17:30:15.801Z] ---> 693b932152a0 [2022-08-05T17:30:15.801Z] Step 24/26 : LABEL arch=arm64 [2022-08-05T17:30:15.801Z] ---> Running in 66bbe8e237d0 [2022-08-05T17:30:16.080Z] Removing intermediate container 66bbe8e237d0 [2022-08-05T17:30:16.080Z] ---> 7697ebbbe24b [2022-08-05T17:30:16.080Z] Step 25/26 : LABEL git_sha=e0feef36a52d7d383129e341cf53c8566cb6a8f8 [2022-08-05T17:30:16.081Z] ---> Running in 84ffb1e7b5ce [2022-08-05T17:30:16.355Z] Removing intermediate container 84ffb1e7b5ce [2022-08-05T17:30:16.355Z] ---> 9a33872a6615 [2022-08-05T17:30:16.355Z] Step 26/26 : LABEL version=0.0.0 [2022-08-05T17:30:16.639Z] ---> Running in a3eb1f74c4ab [2022-08-05T17:30:16.913Z] Removing intermediate container a3eb1f74c4ab [2022-08-05T17:30:16.913Z] ---> 302edd734c70 [2022-08-05T17:30:16.913Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T17:30:16.913Z] Successfully built 302edd734c70 [2022-08-05T17:30:16.913Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:30:17.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T17:30:17.383Z] [2022-08-05T17:30:17.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:30:17.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T17:30:18.082Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-05T17:30:18.082Z] 8998bd30e6a1: Pulling fs layer [2022-08-05T17:30:18.083Z] 04944245beec: Pulling fs layer [2022-08-05T17:30:18.083Z] 699f458cf7ca: Pulling fs layer [2022-08-05T17:30:18.083Z] 765212b225bb: Pulling fs layer [2022-08-05T17:30:18.083Z] f23df028b6ca: Pulling fs layer [2022-08-05T17:30:18.083Z] d65c8cfc05b1: Pulling fs layer [2022-08-05T17:30:18.083Z] 2437ff75d9bd: Pulling fs layer [2022-08-05T17:30:18.083Z] 765212b225bb: Waiting [2022-08-05T17:30:18.083Z] f23df028b6ca: Waiting [2022-08-05T17:30:18.083Z] d65c8cfc05b1: Waiting [2022-08-05T17:30:18.083Z] 2437ff75d9bd: Waiting [2022-08-05T17:30:18.083Z] 04944245beec: Verifying Checksum [2022-08-05T17:30:18.083Z] 04944245beec: Download complete [2022-08-05T17:30:18.083Z] 765212b225bb: Verifying Checksum [2022-08-05T17:30:18.083Z] 765212b225bb: Download complete [2022-08-05T17:30:18.390Z] f23df028b6ca: Verifying Checksum [2022-08-05T17:30:18.390Z] f23df028b6ca: Download complete [2022-08-05T17:30:18.390Z] d65c8cfc05b1: Verifying Checksum [2022-08-05T17:30:18.390Z] d65c8cfc05b1: Download complete [2022-08-05T17:30:18.390Z] 699f458cf7ca: Verifying Checksum [2022-08-05T17:30:18.390Z] 699f458cf7ca: Download complete [2022-08-05T17:30:18.985Z] 8998bd30e6a1: Verifying Checksum [2022-08-05T17:30:18.985Z] 8998bd30e6a1: Download complete [2022-08-05T17:30:20.966Z] 2437ff75d9bd: Verifying Checksum [2022-08-05T17:30:20.966Z] 2437ff75d9bd: Download complete [2022-08-05T17:30:23.588Z] 8998bd30e6a1: Pull complete [2022-08-05T17:30:23.588Z] 04944245beec: Pull complete [2022-08-05T17:30:25.022Z] 699f458cf7ca: Pull complete [2022-08-05T17:30:25.295Z] 765212b225bb: Pull complete [2022-08-05T17:30:26.275Z] f23df028b6ca: Pull complete [2022-08-05T17:30:26.548Z] d65c8cfc05b1: Pull complete [2022-08-05T17:30:41.631Z] 2437ff75d9bd: Pull complete [2022-08-05T17:30:41.631Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-05T17:30:41.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T17:30:41.631Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:30:41.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-22004 does not seem to be running inside a container [2022-08-05T17:30:42.001Z] $ 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 [2022-08-05T17:30:44.475Z] $ docker top a4c5db9883a76484e5cf3d134725b89e0df12da2b18f615c7ea6b30c66041371 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:45.380Z] ---> job-cost.sh [2022-08-05T17:30:45.380Z] lf-activate-venv: SKIPPING [2022-08-05T17:30:45.380Z] INFO: No Stack... [2022-08-05T17:30:45.976Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-05T17:30:46.570Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T17:30:47.245Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-08-05T17:30:47.245Z] + cut -d, -f6 [Pipeline] lock [2022-08-05T17:30:47.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [2022-08-05T17:30:47.285Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] did not exist. Created. [2022-08-05T17:30:47.285Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T17:30:47.966Z] /w/workspace/device-onvif-camera/2@tmp/durable-a952b802/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-05T17:30:48.656Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-05T17:30:48.676Z] Warning: overwriting stash ‘stack-cost’ [2022-08-05T17:30:48.736Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T17:30:48.743Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T17:30:48.778Z] $ docker stop --time=1 a4c5db9883a76484e5cf3d134725b89e0df12da2b18f615c7ea6b30c66041371 [2022-08-05T17:30:50.304Z] $ docker rm -f a4c5db9883a76484e5cf3d134725b89e0df12da2b18f615c7ea6b30c66041371 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-05T17:30:50.759Z] provisioning config files... [2022-08-05T17:30:50.769Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config689115675622709103tmp [Pipeline] { [Pipeline] sh [2022-08-05T17:30:51.072Z] + set +x [2022-08-05T17:30:51.072Z] + + curlbash -s -s https://codecov.io/bash -- [2022-08-05T17:30:51.072Z] [2022-08-05T17:30:51.072Z] [2022-08-05T17:30:51.072Z] _____ _ [2022-08-05T17:30:51.072Z] / ____| | | [2022-08-05T17:30:51.072Z] | | ___ __| | ___ ___ _____ __ [2022-08-05T17:30:51.072Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-05T17:30:51.072Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-05T17:30:51.072Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-05T17:30:51.072Z] Bash-1.0.6 [2022-08-05T17:30:51.072Z] [2022-08-05T17:30:51.072Z] [2022-08-05T17:30:51.072Z] ==> git version 2.25.1 found [2022-08-05T17:30:51.072Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-05T17:30:51.072Z] Release-Date: 2020-01-08 [2022-08-05T17:30:51.072Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-05T17:30:51.072Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-05T17:30:51.072Z] ==> Jenkins CI detected. [2022-08-05T17:30:51.072Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-123 [2022-08-05T17:30:51.072Z] project root: . [2022-08-05T17:30:51.072Z] --> token set from env [2022-08-05T17:30:51.072Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-05T17:30:51.072Z] ==> Running gcov in . (disable via -X gcov) [2022-08-05T17:30:51.072Z] ==> Python coveragepy not found [2022-08-05T17:30:51.072Z] ==> Searching for coverage reports in: [2022-08-05T17:30:51.072Z] + . [2022-08-05T17:30:51.072Z] -> Found 1 reports [2022-08-05T17:30:51.072Z] ==> Detecting git/mercurial file structure [2022-08-05T17:30:51.072Z] ==> Reading reports [2022-08-05T17:30:51.072Z] + ./coverage.out bytes=76856 [2022-08-05T17:30:51.072Z] ==> Appending adjustments [2022-08-05T17:30:51.072Z] https://docs.codecov.io/docs/fixing-reports [2022-08-05T17:30:51.333Z] + Found adjustments [2022-08-05T17:30:51.333Z] ==> Gzipping contents [2022-08-05T17:30:51.333Z] 12K /tmp/codecov.qcxKIt.gz [2022-08-05T17:30:51.333Z] ==> Uploading reports [2022-08-05T17:30:51.333Z] url: https://codecov.io [2022-08-05T17:30:51.333Z] query: branch=PR-123&commit=e0feef36a52d7d383129e341cf53c8566cb6a8f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= [2022-08-05T17:30:51.333Z] -> Pinging Codecov [2022-08-05T17:30:51.333Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-123&commit=e0feef36a52d7d383129e341cf53c8566cb6a8f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= [2022-08-05T17:30:51.593Z] -> Uploading to [2022-08-05T17:30:51.593Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-05/F29A59C45E3A92E06B3E522C9905F8EF/e0feef36a52d7d383129e341cf53c8566cb6a8f8/18797cab-3202-4dd8-8e9f-59f8caaaf4c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220805%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220805T173051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f678c35d5d93260157352cb2330331aa18aab63a83d8d62a8d570e6834cad24 [2022-08-05T17:30:51.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T17:30:51.854Z] Dload Upload Total Spent Left Speed [2022-08-05T17:30:51.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10402 0 0 100 10402 0 40474 --:--:-- --:--:-- --:--:-- 40474 [2022-08-05T17:30:52.115Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/e0feef36a52d7d383129e341cf53c8566cb6a8f8 [Pipeline] } [2022-08-05T17:30:52.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-05T17:30:52.856Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-123/archives ] [2022-08-05T17:30:52.856Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T17:30:52.856Z] total 16 [2022-08-05T17:30:52.856Z] drwxr-xr-x 3 root root 4096 Aug 5 17:23 . [2022-08-05T17:30:52.856Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 17:23 .. [2022-08-05T17:30:52.856Z] drwxr-xr-x 2 root root 4096 Aug 5 17:23 cost [2022-08-05T17:30:52.856Z] -rw-r--r-- 1 root root 91 Aug 5 17:23 cost.csv [2022-08-05T17:30:52.856Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T17:30:52.856Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T17:30:52.856Z] total 16 [2022-08-05T17:30:52.856Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 17:23 . [2022-08-05T17:30:52.856Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 17:23 .. [2022-08-05T17:30:52.856Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 5 17:23 cost [2022-08-05T17:30:52.856Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 5 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:53.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:54.014Z] ---> package-listing.sh [2022-08-05T17:30:54.014Z] ++ facter osfamily [2022-08-05T17:30:54.014Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-05T17:30:54.274Z] + OS_FAMILY=debian [2022-08-05T17:30:54.274Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-123 [2022-08-05T17:30:54.274Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-05T17:30:54.274Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-05T17:30:54.274Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-05T17:30:54.274Z] + PACKAGES=/tmp/packages_start.txt [2022-08-05T17:30:54.274Z] + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' [2022-08-05T17:30:54.274Z] + PACKAGES=/tmp/packages_end.txt [2022-08-05T17:30:54.274Z] + case "${OS_FAMILY}" in [2022-08-05T17:30:54.274Z] + dpkg -l [2022-08-05T17:30:54.274Z] + grep '^ii' [2022-08-05T17:30:54.274Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-05T17:30:54.274Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-05T17:30:54.274Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-05T17:30:54.274Z] + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' [2022-08-05T17:30:54.274Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-123/archives/ [2022-08-05T17:30:54.274Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-123/archives/ [Pipeline] echo [2022-08-05T17:30:54.287Z] 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-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-05T17:30:54.568Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T17:30:55.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T17:30:55.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T17:30:55.228Z] prd-ubuntu20.04-docker-8c-8g-22003 does not seem to be running inside a container [2022-08-05T17:30:55.270Z] $ 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-123/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-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-05T17:30:55.463Z] $ docker top 2237d2bffd231c887b484ee2ecc812b84fb21a90a500f15f17188af13d02d552 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T17:30:55.822Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-05T17:30:56.114Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-05T17:30:56.409Z] + ls /var/log/sa-host [2022-08-05T17:30:56.409Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T17:30:56.558Z] provisioning config files... [2022-08-05T17:30:56.568Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config7882476330406478241tmp [Pipeline] { [Pipeline] echo [2022-08-05T17:30:56.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:56.873Z] ---> create-netrc.sh [Pipeline] } [2022-08-05T17:30:56.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:57.227Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-05T17:30:57.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:57.523Z] ---> sudo-logs.sh [2022-08-05T17:30:57.523Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-05T17:30:57.557Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:57.841Z] ---> job-cost.sh [2022-08-05T17:30:57.841Z] lf-activate-venv: SKIPPING [2022-08-05T17:30:57.841Z] DEBUG: total: 0.2199999988079071 [2022-08-05T17:30:57.841Z] INFO: Retrieving Stack Cost... [2022-08-05T17:30:58.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T17:30:58.989Z] INFO: Archiving Costs [Pipeline] echo [2022-08-05T17:30:59.000Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T17:30:59.290Z] ---> logs-deploy.sh [2022-08-05T17:30:59.290Z] lf-activate-venv: SKIPPING [2022-08-05T17:30:59.290Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-123/2 [2022-08-05T17:30:59.290Z] INFO: archiving workspace using pattern(s): [2022-08-05T17:31:00.234Z] Archives upload complete. [2022-08-05T17:31:00.234Z] INFO: archiving logs to Nexus