Pull request #149 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than 8bec94f88c8d9d3d9a86f5ffbb90f4d57b0c68fc Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh5999569551479289470.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh52663912692512002.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4906743964518862653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8186734380366385242.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11044373777702309112.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23994 in /w/workspace/undry_device-onvif-camera_PR-149 [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-149 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 8bec94f88c8d9d3d9a86f5ffbb90f4d57b0c68fc Merge succeeded, producing 395122cd9837b4cf496c1ca127b52613002777fa Checking out Revision 395122cd9837b4cf496c1ca127b52613002777fa (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bec94f88c8d9d3d9a86f5ffbb90f4d57b0c68fc # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 395122cd9837b4cf496c1ca127b52613002777fa # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" > git rev-list --no-walk 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T21:53:18.320Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T21:53:18.363Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T21:53:18.376Z] ========================================================= [2022-08-30T21:53:18.376Z] EdgeX Global Pipelines Version Info [2022-08-30T21:53:18.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T21:53:19.144Z] ------------------- [2022-08-30T21:53:19.144Z] stable info: [2022-08-30T21:53:19.144Z] ------------------- [2022-08-30T21:53:19.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T21:53:19.144Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T21:53:19.144Z] Message: update stable to v1.0.239 [2022-08-30T21:53:19.719Z] ------------------- [2022-08-30T21:53:19.719Z] experimental info: [2022-08-30T21:53:19.719Z] ------------------- [2022-08-30T21:53:19.719Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T21:53:19.719Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T21:53:19.719Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T21:53:19.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T21:53:19.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T21:53:19.958Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T21:53:19.970Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T21:53:19.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T21:53:19.996Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T21:53:20.010Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T21:53:20.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T21:53:20.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T21:53:20.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T21:53:20.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T21:53:20.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T21:53:20.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T21:53:20.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T21:53:20.086Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T21:53:20.098Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T21:53:20.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T21:53:20.121Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T21:53:20.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T21:53:20.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T21:53:20.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T21:53:20.171Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T21:53:20.181Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T21:53:20.197Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T21:53:20.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T21:53:20.233Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T21:53:20.251Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T21:53:20.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T21:53:20.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T21:53:20.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T21:53:20.301Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 395122cd9837b4cf496c1ca127b52613002777fa [Pipeline] echo [2022-08-30T21:53:20.311Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 395122c [Pipeline] echo [2022-08-30T21:53:20.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T21:53:20.379Z] provisioning config files... [2022-08-30T21:53:20.392Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5302659738057586734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T21:53:20.704Z] ---> docker-login.sh [2022-08-30T21:53:20.704Z] nexus3.edgexfoundry.org:10001 [2022-08-30T21:53:20.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:20.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:20.967Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:20.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:20.967Z] [2022-08-30T21:53:20.967Z] Login Succeeded [2022-08-30T21:53:20.967Z] nexus3.edgexfoundry.org:10002 [2022-08-30T21:53:21.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:21.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:21.228Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:21.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:21.228Z] [2022-08-30T21:53:21.228Z] Login Succeeded [2022-08-30T21:53:21.228Z] nexus3.edgexfoundry.org:10003 [2022-08-30T21:53:21.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:21.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:21.489Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:21.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:21.489Z] [2022-08-30T21:53:21.489Z] Login Succeeded [2022-08-30T21:53:21.489Z] nexus3.edgexfoundry.org:10004 [2022-08-30T21:53:21.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:21.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:21.489Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:21.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:21.489Z] [2022-08-30T21:53:21.489Z] Login Succeeded [2022-08-30T21:53:21.489Z] docker.io [2022-08-30T21:53:21.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:22.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:22.064Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:22.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:22.064Z] [2022-08-30T21:53:22.064Z] Login Succeeded [2022-08-30T21:53:22.064Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T21:53:22.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T21:53:22.478Z] + git rev-list -1 --merges 395122cd9837b4cf496c1ca127b52613002777fa~1..395122cd9837b4cf496c1ca127b52613002777fa [Pipeline] echo [2022-08-30T21:53:22.509Z] -----------> git rev-list -1 --merges 395122cd9837b4cf496c1ca127b52613002777fa~1..395122cd9837b4cf496c1ca127b52613002777fa 395122cd9837b4cf496c1ca127b52613002777fa [2022-08-30T21:53:22.509Z] 395122cd9837b4cf496c1ca127b52613002777fa [false] [Pipeline] sh [2022-08-30T21:53:22.807Z] + git log --format=format:%s -1 395122cd9837b4cf496c1ca127b52613002777fa [Pipeline] echo [2022-08-30T21:53:22.825Z] ========================================================= [2022-08-30T21:53:22.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T21:53:22.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T21:53:23.159Z] + git log --format=format:%s -1 395122cd9837b4cf496c1ca127b52613002777fa [Pipeline] echo [2022-08-30T21:53:23.172Z] [semverPrep] GIT_COMMIT: 395122cd9837b4cf496c1ca127b52613002777fa, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-30T21:53:23.188Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T21:53:23.577Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T21:53:23.577Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T21:53:23.577Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T21:53:23.577Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T21:53:23.577Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T21:53:23.577Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T21:53:23.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:53:23.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T21:53:23.945Z] [2022-08-30T21:53:23.945Z] 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-30T21:53:24.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T21:53:24.256Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T21:53:24.256Z] b85a868b505f: Pulling fs layer [2022-08-30T21:53:24.256Z] e2be974225ed: Pulling fs layer [2022-08-30T21:53:24.256Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T21:53:24.256Z] 988bab9f4d93: Pulling fs layer [2022-08-30T21:53:24.256Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T21:53:24.256Z] eaf3925da568: Pulling fs layer [2022-08-30T21:53:24.256Z] bab4dde63d76: Pulling fs layer [2022-08-30T21:53:24.256Z] bde34c3a00c8: Pulling fs layer [2022-08-30T21:53:24.256Z] b352a97aabf1: Pulling fs layer [2022-08-30T21:53:24.256Z] 4872d77fe225: Pulling fs layer [2022-08-30T21:53:24.256Z] 5851b861e8e6: Pulling fs layer [2022-08-30T21:53:24.256Z] bab4dde63d76: Waiting [2022-08-30T21:53:24.256Z] bde34c3a00c8: Waiting [2022-08-30T21:53:24.256Z] b352a97aabf1: Waiting [2022-08-30T21:53:24.256Z] 4872d77fe225: Waiting [2022-08-30T21:53:24.256Z] 5851b861e8e6: Waiting [2022-08-30T21:53:24.256Z] eaf3925da568: Waiting [2022-08-30T21:53:24.256Z] 988bab9f4d93: Waiting [2022-08-30T21:53:24.256Z] e2be974225ed: Download complete [2022-08-30T21:53:24.256Z] 988bab9f4d93: Verifying Checksum [2022-08-30T21:53:24.256Z] 988bab9f4d93: Download complete [2022-08-30T21:53:24.518Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T21:53:24.518Z] 1469e6f7b9e6: Download complete [2022-08-30T21:53:24.518Z] eaf3925da568: Download complete [2022-08-30T21:53:24.518Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T21:53:24.518Z] 339a4e72a1f5: Download complete [2022-08-30T21:53:24.518Z] bde34c3a00c8: Download complete [2022-08-30T21:53:24.518Z] b352a97aabf1: Download complete [2022-08-30T21:53:24.518Z] 4872d77fe225: Verifying Checksum [2022-08-30T21:53:24.518Z] 4872d77fe225: Download complete [2022-08-30T21:53:24.518Z] 5851b861e8e6: Verifying Checksum [2022-08-30T21:53:24.518Z] 5851b861e8e6: Download complete [2022-08-30T21:53:24.518Z] b85a868b505f: Verifying Checksum [2022-08-30T21:53:24.518Z] b85a868b505f: Download complete [2022-08-30T21:53:24.792Z] bab4dde63d76: Verifying Checksum [2022-08-30T21:53:24.792Z] bab4dde63d76: Download complete [2022-08-30T21:53:26.179Z] b85a868b505f: Pull complete [2022-08-30T21:53:26.179Z] e2be974225ed: Pull complete [2022-08-30T21:53:26.751Z] 339a4e72a1f5: Pull complete [2022-08-30T21:53:26.751Z] 988bab9f4d93: Pull complete [2022-08-30T21:53:27.014Z] 1469e6f7b9e6: Pull complete [2022-08-30T21:53:27.014Z] eaf3925da568: Pull complete [2022-08-30T21:53:28.935Z] bab4dde63d76: Pull complete [2022-08-30T21:53:29.195Z] bde34c3a00c8: Pull complete [2022-08-30T21:53:29.195Z] b352a97aabf1: Pull complete [2022-08-30T21:53:29.461Z] 4872d77fe225: Pull complete [2022-08-30T21:53:29.461Z] 5851b861e8e6: Pull complete [2022-08-30T21:53:29.461Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T21:53:29.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T21:53:29.461Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:53:29.576Z] prd-ubuntu20.04-docker-8c-8g-23994 does not seem to be running inside a container [2022-08-30T21:53:29.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T21:53:31.068Z] $ docker top 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f -eo pid,comm [2022-08-30T21:53:31.144Z] 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-30T21:53:31.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T21:53:31.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T21:53:31.180Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T21:53:31.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T21:53:31.321Z] $ docker exec 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f ssh-agent [2022-08-30T21:53:31.446Z] SSH_AUTH_SOCK=/tmp/ssh-KkFBmRNjygI2/agent.35 [2022-08-30T21:53:31.446Z] SSH_AGENT_PID=42 [2022-08-30T21:53:31.454Z] Running ssh-add (command line suppressed) [2022-08-30T21:53:31.576Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3103835505128047192.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3103835505128047192.key) [2022-08-30T21:53:31.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T21:53:31.891Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T21:53:31.910Z] $ docker exec --env ******** --env ******** 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f ssh-agent -k [2022-08-30T21:53:32.004Z] unset SSH_AUTH_SOCK; [2022-08-30T21:53:32.005Z] unset SSH_AGENT_PID; [2022-08-30T21:53:32.006Z] echo Agent pid 42 killed; [2022-08-30T21:53:32.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T21:53:32.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T21:53:32.044Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T21:53:32.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T21:53:32.185Z] $ docker exec 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f ssh-agent [2022-08-30T21:53:32.305Z] SSH_AUTH_SOCK=/tmp/ssh-9E3GOtN8maoV/agent.75 [2022-08-30T21:53:32.305Z] SSH_AGENT_PID=81 [2022-08-30T21:53:32.309Z] Running ssh-add (command line suppressed) [2022-08-30T21:53:32.428Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6359173265219433348.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6359173265219433348.key) [2022-08-30T21:53:32.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T21:53:32.739Z] + git semver init [2022-08-30T21:53:32.999Z] 2022-08-30 21:53:32,942 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T21:53:32.999Z] 2022-08-30 21:53:32,943 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T21:53:32.999Z] 2022-08-30 21:53:32,943 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T21:53:32.999Z] 2022-08-30 21:53:32,944 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,676 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,676 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,676 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,681 [execute] INFO git cat-file --batch-check [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,688 [execute] INFO git cat-file --batch [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T21:53:33.942Z] 2022-08-30 21:53:33,694 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T21:53:33.942Z] 0.0.0 [Pipeline] } [2022-08-30T21:53:33.955Z] $ docker exec --env ******** --env ******** 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f ssh-agent -k [2022-08-30T21:53:34.060Z] unset SSH_AUTH_SOCK; [2022-08-30T21:53:34.060Z] unset SSH_AGENT_PID; [2022-08-30T21:53:34.060Z] echo Agent pid 81 killed; [2022-08-30T21:53:34.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T21:53:34.379Z] + git semver [Pipeline] } [2022-08-30T21:53:34.654Z] $ docker stop --time=1 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f [2022-08-30T21:53:35.965Z] $ docker rm -f 72614b74c75a0330fb7ede7dfbcf947c3e7fcdfe45960bc4a4ba991e886b6b7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T21:53:36.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T21:53:36.573Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T21:53:36.576Z] [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-30T21:53:36.748Z] provisioning config files... [2022-08-30T21:53:36.761Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7250605439914641975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T21:53:37.066Z] ---> docker-login.sh [2022-08-30T21:53:37.066Z] nexus3.edgexfoundry.org:10001 [2022-08-30T21:53:37.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:37.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:37.066Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:37.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:37.066Z] [2022-08-30T21:53:37.066Z] Login Succeeded [2022-08-30T21:53:37.066Z] nexus3.edgexfoundry.org:10002 [2022-08-30T21:53:37.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:37.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:37.328Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:37.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:37.328Z] [2022-08-30T21:53:37.328Z] Login Succeeded [2022-08-30T21:53:37.328Z] nexus3.edgexfoundry.org:10003 [2022-08-30T21:53:37.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:37.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:37.328Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:37.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:37.328Z] [2022-08-30T21:53:37.328Z] Login Succeeded [2022-08-30T21:53:37.328Z] nexus3.edgexfoundry.org:10004 [2022-08-30T21:53:37.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:37.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:37.588Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:37.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:37.588Z] [2022-08-30T21:53:37.588Z] Login Succeeded [2022-08-30T21:53:37.588Z] docker.io [2022-08-30T21:53:37.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:53:37.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:53:37.849Z] Configure a credential helper to remove this warning. See [2022-08-30T21:53:37.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:53:37.849Z] [2022-08-30T21:53:37.849Z] Login Succeeded [2022-08-30T21:53:37.849Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T21:53:37.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T21:53:37.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T21:53:37.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T21:53:37.952Z] ========================================================= [2022-08-30T21:53:37.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T21:53:37.952Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:53:38.270Z] + 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-30T21:53:38.270Z] Sending build context to Docker daemon 20.68MB [2022-08-30T21:53:38.270Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T21:53:38.271Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T21:53:38.532Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T21:53:38.532Z] 2408cc74d12b: Pulling fs layer [2022-08-30T21:53:38.532Z] ea60b727a1ce: Pulling fs layer [2022-08-30T21:53:38.532Z] 30c4a7721957: Pulling fs layer [2022-08-30T21:53:38.532Z] 370296b7ddb6: Pulling fs layer [2022-08-30T21:53:38.532Z] 7c6cee850709: Pulling fs layer [2022-08-30T21:53:38.532Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T21:53:38.532Z] d94ebbe4e438: Pulling fs layer [2022-08-30T21:53:38.532Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T21:53:38.532Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T21:53:38.532Z] 7c6cee850709: Waiting [2022-08-30T21:53:38.532Z] bcfd1f05c69d: Waiting [2022-08-30T21:53:38.532Z] 39a5fcdaea64: Waiting [2022-08-30T21:53:38.532Z] 59ccb84bbe0f: Waiting [2022-08-30T21:53:38.532Z] d94ebbe4e438: Waiting [2022-08-30T21:53:38.532Z] 370296b7ddb6: Waiting [2022-08-30T21:53:38.532Z] 30c4a7721957: Verifying Checksum [2022-08-30T21:53:38.532Z] 30c4a7721957: Download complete [2022-08-30T21:53:38.532Z] ea60b727a1ce: Verifying Checksum [2022-08-30T21:53:38.532Z] ea60b727a1ce: Download complete [2022-08-30T21:53:38.532Z] 7c6cee850709: Verifying Checksum [2022-08-30T21:53:38.532Z] 7c6cee850709: Download complete [2022-08-30T21:53:38.532Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T21:53:38.532Z] 39a5fcdaea64: Download complete [2022-08-30T21:53:38.532Z] 2408cc74d12b: Verifying Checksum [2022-08-30T21:53:38.532Z] 2408cc74d12b: Download complete [2022-08-30T21:53:38.532Z] d94ebbe4e438: Download complete [2022-08-30T21:53:38.532Z] 2408cc74d12b: Pull complete [2022-08-30T21:53:38.801Z] ea60b727a1ce: Pull complete [2022-08-30T21:53:38.801Z] 30c4a7721957: Pull complete [2022-08-30T21:53:39.067Z] bcfd1f05c69d: Download complete [2022-08-30T21:53:39.067Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T21:53:39.067Z] 59ccb84bbe0f: Download complete [2022-08-30T21:53:39.329Z] 370296b7ddb6: Download complete [2022-08-30T21:53:43.527Z] 370296b7ddb6: Pull complete [2022-08-30T21:53:43.527Z] 7c6cee850709: Pull complete [2022-08-30T21:53:43.527Z] 39a5fcdaea64: Pull complete [2022-08-30T21:53:43.527Z] d94ebbe4e438: Pull complete [2022-08-30T21:53:45.439Z] bcfd1f05c69d: Pull complete [2022-08-30T21:53:46.009Z] 59ccb84bbe0f: Pull complete [2022-08-30T21:53:46.009Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T21:53:46.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T21:53:46.009Z] ---> a4fb48ad2a94 [2022-08-30T21:53:46.009Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T21:53:47.931Z] ---> Running in b76ba67b0544 [2022-08-30T21:53:47.931Z] Removing intermediate container b76ba67b0544 [2022-08-30T21:53:47.931Z] ---> f3d860798d5f [2022-08-30T21:53:47.931Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T21:53:47.931Z] ---> Running in f0a911f30cd7 [2022-08-30T21:53:47.931Z] Removing intermediate container f0a911f30cd7 [2022-08-30T21:53:47.931Z] ---> e6825c804c2b [2022-08-30T21:53:47.931Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T21:53:47.931Z] ---> Running in 901b3228a5bf [2022-08-30T21:53:48.191Z] Removing intermediate container 901b3228a5bf [2022-08-30T21:53:48.191Z] ---> f90eaf0ec0b1 [2022-08-30T21:53:48.191Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T21:53:48.191Z] ---> Running in 4621c987c416 [2022-08-30T21:53:48.191Z] Removing intermediate container 4621c987c416 [2022-08-30T21:53:48.191Z] ---> 40086b3d961b [2022-08-30T21:53:48.191Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T21:53:48.191Z] ---> Running in 334732b2a363 [2022-08-30T21:53:48.765Z] Removing intermediate container 334732b2a363 [2022-08-30T21:53:48.765Z] ---> 9124d5fcf861 [2022-08-30T21:53:48.765Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T21:53:48.765Z] ---> Running in 12e73588977f [2022-08-30T21:53:49.027Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T21:53:49.975Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T21:53:50.548Z] OK: 211 MiB in 51 packages [2022-08-30T21:53:50.809Z] Removing intermediate container 12e73588977f [2022-08-30T21:53:50.809Z] ---> b055f0bf0c33 [2022-08-30T21:53:50.809Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T21:53:50.809Z] ---> Running in ac33bf58c924 [2022-08-30T21:53:50.809Z] Removing intermediate container ac33bf58c924 [2022-08-30T21:53:50.809Z] ---> a62ce18fc424 [2022-08-30T21:53:50.809Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T21:53:51.069Z] ---> 6457a685935f [2022-08-30T21:53:51.069Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T21:53:51.069Z] ---> Running in 3c19a94d9959 [2022-08-30T21:53:51.699Z] Still waiting to schedule task [2022-08-30T21:53:51.700Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T21:54:09.188Z] Removing intermediate container 3c19a94d9959 [2022-08-30T21:54:09.188Z] ---> a948e933ccf3 [2022-08-30T21:54:09.188Z] Step 12/13 : COPY . . [2022-08-30T21:54:09.188Z] ---> 108748c947e3 [2022-08-30T21:54:09.188Z] Step 13/13 : RUN ${MAKE} [2022-08-30T21:54:09.188Z] ---> Running in 5ad9171e3dc7 [2022-08-30T21:54:09.188Z] noop [2022-08-30T21:54:09.188Z] Removing intermediate container 5ad9171e3dc7 [2022-08-30T21:54:09.188Z] ---> 2055f8d0ab5b [2022-08-30T21:54:09.188Z] Successfully built 2055f8d0ab5b [2022-08-30T21:54:09.188Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:54:09.516Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T21:54:09.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:54:09.605Z] prd-ubuntu20.04-docker-8c-8g-23994 does not seem to be running inside a container [2022-08-30T21:54:09.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-30T21:54:10.031Z] $ docker top 473a85698508a7a8728a0176c7b94e5968f55cd2f24e28803272970d65069033 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T21:54:10.396Z] + go version [2022-08-30T21:54:10.396Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T21:54:10.408Z] $ docker stop --time=1 473a85698508a7a8728a0176c7b94e5968f55cd2f24e28803272970d65069033 [2022-08-30T21:54:11.706Z] $ docker rm -f 473a85698508a7a8728a0176c7b94e5968f55cd2f24e28803272970d65069033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:54:12.144Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T21:54:12.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:54:12.225Z] prd-ubuntu20.04-docker-8c-8g-23994 does not seem to be running inside a container [2022-08-30T21:54:12.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-30T21:54:12.650Z] $ docker top 3560570d2b9a92e8f56284566aed931348b7eed3c294f42276823db2515c8ad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T21:54:13.034Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T21:54:13.332Z] + make test [2022-08-30T21:54:13.333Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T21:54:13.591Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T21:54:23.588Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T21:54:24.160Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 23.9% of statements [2022-08-30T21:54:27.456Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.006s coverage: 13.8% of statements [2022-08-30T21:54:34.044Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T21:54:34.044Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T21:54:37.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T21:54:37.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T21:54:37.341Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T21:54:37.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T21:54:37.367Z] $ docker stop --time=1 3560570d2b9a92e8f56284566aed931348b7eed3c294f42276823db2515c8ad0 [2022-08-30T21:54:39.263Z] $ docker rm -f 3560570d2b9a92e8f56284566aed931348b7eed3c294f42276823db2515c8ad0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T21:54:39.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T21:54:39.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-30T21:54:40.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T21:54:40.636Z] + ls -al . [2022-08-30T21:54:40.636Z] total 232 [2022-08-30T21:54:40.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 21:54 . [2022-08-30T21:54:40.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:53 .. [2022-08-30T21:54:40.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 21:54 .git [2022-08-30T21:54:40.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 21:53 .github [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 21:53 .gitignore [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 21:53 .golangci.yml [2022-08-30T21:54:40.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 21:53 .semver [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 21:53 Attribution.txt [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 21:53 CHANGELOG.md [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 21:53 Dockerfile [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 21:53 GOVERNANCE.md [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 21:53 Jenkinsfile [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 21:53 LICENSE [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 21:53 Makefile [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 21:53 OWNERS.md [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 21:53 README.md [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 21:53 VERSION [2022-08-30T21:54:40.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 21:53 bin [2022-08-30T21:54:40.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 21:53 cmd [2022-08-30T21:54:40.636Z] -rw-r--r-- 1 jenkins jenkins 77728 Aug 30 21:54 coverage.out [2022-08-30T21:54:40.636Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 21:53 doc [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 21:53 go.mod [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 21:53 go.sum [2022-08-30T21:54:40.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:53 internal [2022-08-30T21:54:40.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:53 snap [2022-08-30T21:54:40.636Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:54:40.956Z] + 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=395122cd9837b4cf496c1ca127b52613002777fa --label arch=amd64 --label version=0.0.0 . [2022-08-30T21:54:40.956Z] Sending build context to Docker daemon 20.76MB [2022-08-30T21:54:40.956Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T21:54:40.956Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T21:54:40.956Z] ---> 2055f8d0ab5b [2022-08-30T21:54:40.956Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T21:54:41.217Z] ---> Running in 2fd1d586eaad [2022-08-30T21:54:41.217Z] Removing intermediate container 2fd1d586eaad [2022-08-30T21:54:41.217Z] ---> f36617715f5c [2022-08-30T21:54:41.217Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T21:54:41.217Z] ---> Running in 473e159bfea6 [2022-08-30T21:54:41.217Z] Removing intermediate container 473e159bfea6 [2022-08-30T21:54:41.217Z] ---> d2ac6dd7a985 [2022-08-30T21:54:41.217Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T21:54:41.478Z] ---> Running in 6541db492a03 [2022-08-30T21:54:41.478Z] Removing intermediate container 6541db492a03 [2022-08-30T21:54:41.478Z] ---> 024e09ab80f9 [2022-08-30T21:54:41.478Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T21:54:41.478Z] ---> Running in 6d61b25e1eab [2022-08-30T21:54:41.478Z] Removing intermediate container 6d61b25e1eab [2022-08-30T21:54:41.478Z] ---> 1ca9f641568e [2022-08-30T21:54:41.478Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T21:54:41.738Z] ---> Running in 65ff675bfd16 [2022-08-30T21:54:42.308Z] Removing intermediate container 65ff675bfd16 [2022-08-30T21:54:42.308Z] ---> 14b9906a1f28 [2022-08-30T21:54:42.308Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T21:54:42.308Z] ---> Running in 9fed89b61f3f [2022-08-30T21:54:42.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T21:54:43.517Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T21:54:43.777Z] OK: 211 MiB in 51 packages [2022-08-30T21:54:44.037Z] Removing intermediate container 9fed89b61f3f [2022-08-30T21:54:44.037Z] ---> 6f59654c29e4 [2022-08-30T21:54:44.037Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T21:54:44.037Z] ---> Running in c4dbb87420cb [2022-08-30T21:54:44.297Z] Removing intermediate container c4dbb87420cb [2022-08-30T21:54:44.297Z] ---> ec0830595821 [2022-08-30T21:54:44.297Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T21:54:44.297Z] ---> 2089a5057cb0 [2022-08-30T21:54:44.297Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T21:54:44.297Z] ---> Running in 710d2bc9199c [2022-08-30T21:54:45.240Z] Removing intermediate container 710d2bc9199c [2022-08-30T21:54:45.240Z] ---> e53fe38b038a [2022-08-30T21:54:45.240Z] Step 12/26 : COPY . . [2022-08-30T21:54:45.812Z] ---> 2584d56d5ad7 [2022-08-30T21:54:45.812Z] Step 13/26 : RUN ${MAKE} [2022-08-30T21:54:45.812Z] ---> Running in 48ba8cd57234 [2022-08-30T21:54:46.072Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T21:55:08.024Z] Removing intermediate container 48ba8cd57234 [2022-08-30T21:55:08.024Z] ---> 3efbe7d56e67 [2022-08-30T21:55:08.024Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T21:55:08.024Z] 3.16: Pulling from library/alpine [2022-08-30T21:55:08.024Z] 213ec9aee27d: Pulling fs layer [2022-08-30T21:55:08.024Z] 213ec9aee27d: Verifying Checksum [2022-08-30T21:55:08.024Z] 213ec9aee27d: Download complete [2022-08-30T21:55:08.024Z] 213ec9aee27d: Pull complete [2022-08-30T21:55:08.024Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T21:55:08.024Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T21:55:08.024Z] ---> 9c6f07244728 [2022-08-30T21:55:08.024Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T21:55:08.024Z] ---> Running in 2e01691f7d65 [2022-08-30T21:55:08.024Z] Removing intermediate container 2e01691f7d65 [2022-08-30T21:55:08.024Z] ---> e85f786b29e1 [2022-08-30T21:55:08.024Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T21:55:08.024Z] ---> Running in 04e7b1542e9f [2022-08-30T21:55:08.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T21:55:08.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T21:55:08.024Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T21:55:08.024Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T21:55:08.024Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T21:55:08.024Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T21:55:08.024Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T21:55:08.024Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T21:55:08.024Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T21:55:08.024Z] OK: 8 MiB in 20 packages [2022-08-30T21:55:08.024Z] Removing intermediate container 04e7b1542e9f [2022-08-30T21:55:08.024Z] ---> dc266f8b6746 [2022-08-30T21:55:08.024Z] Step 17/26 : WORKDIR / [2022-08-30T21:55:08.024Z] ---> Running in f13bc3220fed [2022-08-30T21:55:08.024Z] Removing intermediate container f13bc3220fed [2022-08-30T21:55:08.024Z] ---> 4689fcd5767d [2022-08-30T21:55:08.024Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T21:55:08.024Z] ---> 033998985791 [2022-08-30T21:55:08.024Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T21:55:08.284Z] ---> 0c3504444710 [2022-08-30T21:55:08.284Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T21:55:08.545Z] ---> d1b16d9ce29c [2022-08-30T21:55:08.545Z] Step 21/26 : EXPOSE 59984 [2022-08-30T21:55:08.545Z] ---> Running in 7331c38de9ce [2022-08-30T21:55:08.545Z] Removing intermediate container 7331c38de9ce [2022-08-30T21:55:08.545Z] ---> 09543be6db16 [2022-08-30T21:55:08.545Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T21:55:08.545Z] ---> Running in 057b8336ad8b [2022-08-30T21:55:08.805Z] Removing intermediate container 057b8336ad8b [2022-08-30T21:55:08.805Z] ---> a4c028f269e7 [2022-08-30T21:55:08.805Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T21:55:08.805Z] ---> Running in 1fcc89623fe2 [2022-08-30T21:55:08.805Z] Removing intermediate container 1fcc89623fe2 [2022-08-30T21:55:08.805Z] ---> 295af95ff383 [2022-08-30T21:55:08.805Z] Step 24/26 : LABEL arch=amd64 [2022-08-30T21:55:08.805Z] ---> Running in 54938c4ac1da [2022-08-30T21:55:09.067Z] Removing intermediate container 54938c4ac1da [2022-08-30T21:55:09.067Z] ---> 60b213f9951e [2022-08-30T21:55:09.067Z] Step 25/26 : LABEL git_sha=395122cd9837b4cf496c1ca127b52613002777fa [2022-08-30T21:55:09.067Z] ---> Running in 2867ba674d8c [2022-08-30T21:55:09.067Z] Removing intermediate container 2867ba674d8c [2022-08-30T21:55:09.067Z] ---> 576817f862d4 [2022-08-30T21:55:09.067Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T21:55:09.067Z] ---> Running in 4c96c05a3706 [2022-08-30T21:55:09.327Z] Removing intermediate container 4c96c05a3706 [2022-08-30T21:55:09.327Z] ---> 3c5092e458d6 [2022-08-30T21:55:09.327Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T21:55:09.327Z] Successfully built 3c5092e458d6 [2022-08-30T21:55:09.327Z] 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-30T21:55:09.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T21:55:09.798Z] [2022-08-30T21:55:09.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:55:10.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T21:55:10.109Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T21:55:10.109Z] 5eb5b503b376: Pulling fs layer [2022-08-30T21:55:10.109Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T21:55:10.109Z] ec43610c2a17: Pulling fs layer [2022-08-30T21:55:10.109Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T21:55:10.109Z] 33b1e0a273af: Pulling fs layer [2022-08-30T21:55:10.109Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T21:55:10.109Z] 2f39f015ded8: Pulling fs layer [2022-08-30T21:55:10.109Z] 5d3b04190fa2: Waiting [2022-08-30T21:55:10.109Z] 3a2ae6a8a46f: Waiting [2022-08-30T21:55:10.109Z] 2f39f015ded8: Waiting [2022-08-30T21:55:10.109Z] 33b1e0a273af: Waiting [2022-08-30T21:55:10.109Z] 5c69ac0246d0: Verifying Checksum [2022-08-30T21:55:10.109Z] 5c69ac0246d0: Download complete [2022-08-30T21:55:10.109Z] 3a2ae6a8a46f: Download complete [2022-08-30T21:55:10.109Z] 33b1e0a273af: Verifying Checksum [2022-08-30T21:55:10.109Z] 33b1e0a273af: Download complete [2022-08-30T21:55:10.109Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T21:55:10.109Z] 5d3b04190fa2: Download complete [2022-08-30T21:55:10.109Z] ec43610c2a17: Verifying Checksum [2022-08-30T21:55:10.109Z] ec43610c2a17: Download complete [2022-08-30T21:55:10.368Z] 5eb5b503b376: Verifying Checksum [2022-08-30T21:55:10.368Z] 5eb5b503b376: Download complete [2022-08-30T21:55:10.937Z] 2f39f015ded8: Verifying Checksum [2022-08-30T21:55:10.937Z] 2f39f015ded8: Download complete [2022-08-30T21:55:11.506Z] 5eb5b503b376: Pull complete [2022-08-30T21:55:11.766Z] 5c69ac0246d0: Pull complete [2022-08-30T21:55:12.027Z] ec43610c2a17: Pull complete [2022-08-30T21:55:12.287Z] 3a2ae6a8a46f: Pull complete [2022-08-30T21:55:12.546Z] 33b1e0a273af: Pull complete [2022-08-30T21:55:12.546Z] 5d3b04190fa2: Pull complete [2022-08-30T21:55:16.744Z] 2f39f015ded8: Pull complete [2022-08-30T21:55:16.744Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T21:55:16.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T21:55:16.744Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:55:16.848Z] prd-ubuntu20.04-docker-8c-8g-23994 does not seem to be running inside a container [2022-08-30T21:55:16.885Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T21:55:18.525Z] $ docker top f56353e1d5790bd940871f8ce40218c2623b590ac7e4c07a211582444ce0ba9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T21:55:18.937Z] ---> job-cost.sh [2022-08-30T21:55:18.937Z] lf-activate-venv: SKIPPING [2022-08-30T21:55:18.937Z] INFO: No Stack... [2022-08-30T21:55:19.199Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T21:55:19.771Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T21:55:20.071Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T21:55:20.071Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T21:55:20.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [2022-08-30T21:55:20.094Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] did not exist. Created. [2022-08-30T21:55:20.094Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T21:55:20.405Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T21:55:20.434Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T21:55:20.441Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T21:55:20.459Z] $ docker stop --time=1 f56353e1d5790bd940871f8ce40218c2623b590ac7e4c07a211582444ce0ba9f [2022-08-30T21:55:21.630Z] $ docker rm -f f56353e1d5790bd940871f8ce40218c2623b590ac7e4c07a211582444ce0ba9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T21:55:33.167Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23995 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T21:55:33.184Z] Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout [2022-08-30T21:55:33.215Z] Selected Git installation does not exist. Using Default [2022-08-30T21:55:33.215Z] The recommended git tool is: NONE [2022-08-30T21:55:38.240Z] using credential edgex-jenkins-ssh [2022-08-30T21:55:38.270Z] Cloning the remote Git repository [2022-08-30T21:55:38.348Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T21:55:38.419Z] > git init /w/workspace/device-onvif-camera/11 # timeout=10 [2022-08-30T21:55:38.507Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T21:55:38.508Z] > git --version # timeout=10 [2022-08-30T21:55:38.530Z] > git --version # 'git version 2.25.1' [2022-08-30T21:55:38.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T21:55:38.669Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T21:55:40.369Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 8bec94f88c8d9d3d9a86f5ffbb90f4d57b0c68fc [2022-08-30T21:55:39.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T21:55:39.777Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T21:55:39.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T21:55:39.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T21:55:39.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T21:55:39.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T21:55:40.395Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T21:55:40.410Z] > git checkout -f 8bec94f88c8d9d3d9a86f5ffbb90f4d57b0c68fc # timeout=10 [2022-08-30T21:55:40.624Z] > git remote # timeout=10 [2022-08-30T21:55:40.639Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T21:55:40.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T21:55:40.666Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-30T21:55:41.073Z] Merge succeeded, producing 6b4c7cf3434a8f1f1e1d32336012456f00d33cae [2022-08-30T21:55:41.074Z] Checking out Revision 6b4c7cf3434a8f1f1e1d32336012456f00d33cae (PR-149) [2022-08-30T21:55:41.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T21:55:41.083Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T21:55:41.101Z] > git checkout -f 6b4c7cf3434a8f1f1e1d32336012456f00d33cae # timeout=10 [2022-08-30T21:55:45.240Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-30T21:55:45.251Z] > git rev-list --no-walk 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T21:55:46.131Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T21:55:46.132Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T21:55:46.132Z] Dload Upload Total Spent Left Speed [2022-08-30T21:55:46.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76841 0 --:--:-- --:--:-- --:--:-- 76841 [Pipeline] sh [2022-08-30T21:55:46.942Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T21:55:47.290Z] + sudo tee /etc/docker/daemon.new [2022-08-30T21:55:47.290Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T21:55:47.290Z] { [2022-08-30T21:55:47.290Z] "registry-mirrors": [ [2022-08-30T21:55:47.290Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T21:55:47.290Z] ], [2022-08-30T21:55:47.290Z] "bip": "10.250.0.254/24", [2022-08-30T21:55:47.290Z] "hosts": [ [2022-08-30T21:55:47.290Z] "tcp://0.0.0.0:5555", [2022-08-30T21:55:47.290Z] "unix:///var/run/docker.sock" [2022-08-30T21:55:47.290Z] ], [2022-08-30T21:55:47.290Z] "mtu": 1458, [2022-08-30T21:55:47.290Z] "selinux-enabled": true, [2022-08-30T21:55:47.290Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T21:55:47.290Z] } [Pipeline] sh [2022-08-30T21:55:47.635Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T21:55:47.980Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T21:56:06.500Z] provisioning config files... [2022-08-30T21:56:06.528Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config6338314458396788957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T21:56:06.893Z] ---> docker-login.sh [2022-08-30T21:56:06.893Z] nexus3.edgexfoundry.org:10001 [2022-08-30T21:56:07.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:56:08.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:56:08.090Z] Configure a credential helper to remove this warning. See [2022-08-30T21:56:08.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:56:08.090Z] [2022-08-30T21:56:08.090Z] Login Succeeded [2022-08-30T21:56:08.090Z] nexus3.edgexfoundry.org:10002 [2022-08-30T21:56:08.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:56:08.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:56:08.368Z] Configure a credential helper to remove this warning. See [2022-08-30T21:56:08.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:56:08.368Z] [2022-08-30T21:56:08.368Z] Login Succeeded [2022-08-30T21:56:08.368Z] nexus3.edgexfoundry.org:10003 [2022-08-30T21:56:08.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:56:08.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:56:08.919Z] Configure a credential helper to remove this warning. See [2022-08-30T21:56:08.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:56:08.919Z] [2022-08-30T21:56:08.919Z] Login Succeeded [2022-08-30T21:56:08.919Z] nexus3.edgexfoundry.org:10004 [2022-08-30T21:56:09.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:56:09.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:56:09.473Z] Configure a credential helper to remove this warning. See [2022-08-30T21:56:09.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:56:09.473Z] [2022-08-30T21:56:09.473Z] Login Succeeded [2022-08-30T21:56:09.473Z] docker.io [2022-08-30T21:56:09.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T21:56:10.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T21:56:10.016Z] Configure a credential helper to remove this warning. See [2022-08-30T21:56:10.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T21:56:10.016Z] [2022-08-30T21:56:10.016Z] Login Succeeded [2022-08-30T21:56:10.016Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T21:56:10.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T21:56:10.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T21:56:10.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T21:56:10.306Z] ========================================================= [2022-08-30T21:56:10.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T21:56:10.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:56:10.675Z] + 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-30T21:56:11.276Z] Sending build context to Docker daemon 14.19MB [2022-08-30T21:56:11.276Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T21:56:11.276Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T21:56:11.276Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T21:56:11.276Z] b3c136eddcbf: Pulling fs layer [2022-08-30T21:56:11.276Z] c0a3192eca97: Pulling fs layer [2022-08-30T21:56:11.276Z] a050256f5b6f: Pulling fs layer [2022-08-30T21:56:11.276Z] 656be50a0ddc: Pulling fs layer [2022-08-30T21:56:11.276Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T21:56:11.276Z] 46d945488cbd: Pulling fs layer [2022-08-30T21:56:11.276Z] 8a5474983e97: Pulling fs layer [2022-08-30T21:56:11.276Z] 329c88fbcd65: Pulling fs layer [2022-08-30T21:56:11.276Z] 46d945488cbd: Waiting [2022-08-30T21:56:11.276Z] 8a5474983e97: Waiting [2022-08-30T21:56:11.276Z] 656be50a0ddc: Waiting [2022-08-30T21:56:11.276Z] 2bbca73fdf42: Waiting [2022-08-30T21:56:11.276Z] 329c88fbcd65: Waiting [2022-08-30T21:56:11.555Z] a050256f5b6f: Verifying Checksum [2022-08-30T21:56:11.555Z] a050256f5b6f: Download complete [2022-08-30T21:56:11.555Z] c0a3192eca97: Verifying Checksum [2022-08-30T21:56:11.555Z] c0a3192eca97: Download complete [2022-08-30T21:56:11.555Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T21:56:11.555Z] 2bbca73fdf42: Download complete [2022-08-30T21:56:11.555Z] 46d945488cbd: Verifying Checksum [2022-08-30T21:56:11.555Z] 46d945488cbd: Download complete [2022-08-30T21:56:11.555Z] b3c136eddcbf: Verifying Checksum [2022-08-30T21:56:12.551Z] b3c136eddcbf: Pull complete [2022-08-30T21:56:12.551Z] 329c88fbcd65: Verifying Checksum [2022-08-30T21:56:12.551Z] 329c88fbcd65: Download complete [2022-08-30T21:56:13.164Z] c0a3192eca97: Pull complete [2022-08-30T21:56:13.440Z] a050256f5b6f: Pull complete [2022-08-30T21:56:13.714Z] 8a5474983e97: Verifying Checksum [2022-08-30T21:56:14.693Z] 656be50a0ddc: Verifying Checksum [2022-08-30T21:56:14.693Z] 656be50a0ddc: Download complete [2022-08-30T21:56:27.107Z] 656be50a0ddc: Pull complete [2022-08-30T21:56:27.391Z] 2bbca73fdf42: Pull complete [2022-08-30T21:56:27.666Z] 46d945488cbd: Pull complete [2022-08-30T21:56:35.967Z] 8a5474983e97: Pull complete [2022-08-30T21:56:36.568Z] 329c88fbcd65: Pull complete [2022-08-30T21:56:36.842Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T21:56:36.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T21:56:36.842Z] ---> ff4287adb874 [2022-08-30T21:56:36.842Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T21:56:38.277Z] ---> Running in e61f756d6393 [2022-08-30T21:56:38.551Z] Removing intermediate container e61f756d6393 [2022-08-30T21:56:38.551Z] ---> 451107c611f5 [2022-08-30T21:56:38.551Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T21:56:38.833Z] ---> Running in 483d8d4a03cf [2022-08-30T21:56:39.112Z] Removing intermediate container 483d8d4a03cf [2022-08-30T21:56:39.112Z] ---> abfe1116ab15 [2022-08-30T21:56:39.112Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T21:56:39.112Z] ---> Running in 07ccb12db16f [2022-08-30T21:56:39.388Z] Removing intermediate container 07ccb12db16f [2022-08-30T21:56:39.388Z] ---> dc99d5ae77b4 [2022-08-30T21:56:39.388Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T21:56:39.664Z] ---> Running in 4852380e45d4 [2022-08-30T21:56:39.947Z] Removing intermediate container 4852380e45d4 [2022-08-30T21:56:39.947Z] ---> ec4090fdeada [2022-08-30T21:56:39.947Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T21:56:39.947Z] ---> Running in 7dd706acfeef [2022-08-30T21:56:41.933Z] Removing intermediate container 7dd706acfeef [2022-08-30T21:56:41.933Z] ---> 2cd567b14c73 [2022-08-30T21:56:41.933Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T21:56:41.933Z] ---> Running in ea50afeccc86 [2022-08-30T21:56:42.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T21:56:43.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T21:56:44.561Z] OK: 221 MiB in 51 packages [2022-08-30T21:56:45.547Z] Removing intermediate container ea50afeccc86 [2022-08-30T21:56:45.547Z] ---> 76248324c19e [2022-08-30T21:56:45.547Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T21:56:45.547Z] ---> Running in e885feb80d71 [2022-08-30T21:56:45.823Z] Removing intermediate container e885feb80d71 [2022-08-30T21:56:45.823Z] ---> d19666af8373 [2022-08-30T21:56:45.823Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T21:56:46.421Z] ---> 6d27eb6fd340 [2022-08-30T21:56:46.421Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T21:56:46.421Z] ---> Running in 7337855fa8f8 [2022-08-30T21:57:43.017Z] Removing intermediate container 7337855fa8f8 [2022-08-30T21:57:43.017Z] ---> e60b061f3612 [2022-08-30T21:57:43.017Z] Step 12/13 : COPY . . [2022-08-30T21:57:43.017Z] ---> ca5829574b83 [2022-08-30T21:57:43.017Z] Step 13/13 : RUN ${MAKE} [2022-08-30T21:57:43.017Z] ---> Running in 389410b76a55 [2022-08-30T21:57:43.017Z] noop [2022-08-30T21:57:43.017Z] Removing intermediate container 389410b76a55 [2022-08-30T21:57:43.017Z] ---> d1e977cd08ab [2022-08-30T21:57:43.017Z] Successfully built d1e977cd08ab [2022-08-30T21:57:43.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:57:43.387Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T21:57:43.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:57:43.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-23995 does not seem to be running inside a container [2022-08-30T21:57:43.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-30T21:57:45.041Z] $ docker top 4b6e5c828a2a73837d71aff975c9356179344c5f4a2ba388b129576328281bfc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T21:57:45.973Z] + go version [2022-08-30T21:57:45.973Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T21:57:46.003Z] $ docker stop --time=1 4b6e5c828a2a73837d71aff975c9356179344c5f4a2ba388b129576328281bfc [2022-08-30T21:57:47.674Z] $ docker rm -f 4b6e5c828a2a73837d71aff975c9356179344c5f4a2ba388b129576328281bfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T21:57:48.283Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T21:57:48.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T21:57:48.539Z] prd-ubuntu20.04-docker-arm64-4c-16g-23995 does not seem to be running inside a container [2022-08-30T21:57:48.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-30T21:57:49.891Z] $ docker top 59dc04fd4128746ab330b42cb1b328a66953d4e157cd0e1948d082cae12c6c3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T21:57:50.817Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/11 [Pipeline] fileExists [Pipeline] sh [2022-08-30T21:57:51.494Z] + make test [2022-08-30T21:57:51.494Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T21:57:53.480Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T21:59:30.361Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T21:59:30.361Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.164s coverage: 23.9% of statements [2022-08-30T21:59:48.667Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.440s coverage: 13.8% of statements [2022-08-30T21:59:48.667Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T21:59:48.667Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T22:00:10.858Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T22:00:10.858Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T22:00:10.858Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T22:00:10.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T22:00:10.903Z] $ docker stop --time=1 59dc04fd4128746ab330b42cb1b328a66953d4e157cd0e1948d082cae12c6c3c [2022-08-30T22:00:12.716Z] $ docker rm -f 59dc04fd4128746ab330b42cb1b328a66953d4e157cd0e1948d082cae12c6c3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:00:13.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T22:00:13.726Z] Warning: overwriting stash ‘coverage-report’ [2022-08-30T22:00:14.252Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:00:14.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T22:00:15.004Z] + ls -al . [2022-08-30T22:00:15.004Z] total 228 [2022-08-30T22:00:15.004Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 21:57 . [2022-08-30T22:00:15.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:55 .. [2022-08-30T22:00:15.004Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 21:55 .git [2022-08-30T22:00:15.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 21:55 .github [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 21:55 .gitignore [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 21:55 .golangci.yml [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 21:55 Attribution.txt [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 21:55 CHANGELOG.md [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 21:55 Dockerfile [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 21:55 GOVERNANCE.md [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 21:55 Jenkinsfile [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 21:55 LICENSE [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 21:55 Makefile [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 21:55 OWNERS.md [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 21:55 README.md [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 21:53 VERSION [2022-08-30T22:00:15.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 21:55 bin [2022-08-30T22:00:15.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 21:55 cmd [2022-08-30T22:00:15.004Z] -rw-r--r-- 1 jenkins jenkins 77728 Aug 30 21:59 coverage.out [2022-08-30T22:00:15.004Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 21:55 doc [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 21:55 go.mod [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 21:55 go.sum [2022-08-30T22:00:15.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:55 internal [2022-08-30T22:00:15.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 21:55 snap [2022-08-30T22:00:15.004Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:00:15.378Z] + 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=6b4c7cf3434a8f1f1e1d32336012456f00d33cae --label arch=arm64 --label version=0.0.0 . [2022-08-30T22:00:15.983Z] Sending build context to Docker daemon 14.26MB [2022-08-30T22:00:15.983Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:00:15.983Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T22:00:15.983Z] ---> d1e977cd08ab [2022-08-30T22:00:15.983Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T22:00:15.983Z] ---> Running in 7e662dc78043 [2022-08-30T22:00:16.265Z] Removing intermediate container 7e662dc78043 [2022-08-30T22:00:16.265Z] ---> 8973c8ffb2fe [2022-08-30T22:00:16.265Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:00:16.540Z] ---> Running in be281c7a31cf [2022-08-30T22:00:16.815Z] Removing intermediate container be281c7a31cf [2022-08-30T22:00:16.815Z] ---> 5a228c3b0bf1 [2022-08-30T22:00:16.815Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:00:16.815Z] ---> Running in fa12c043cfe5 [2022-08-30T22:00:17.091Z] Removing intermediate container fa12c043cfe5 [2022-08-30T22:00:17.091Z] ---> 5cf9c0143ff0 [2022-08-30T22:00:17.091Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:00:17.091Z] ---> Running in 2fbeace11b7c [2022-08-30T22:00:17.365Z] Removing intermediate container 2fbeace11b7c [2022-08-30T22:00:17.365Z] ---> 6fa6e950ff6b [2022-08-30T22:00:17.365Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:00:17.643Z] ---> Running in 222bbd663be9 [2022-08-30T22:00:19.092Z] Removing intermediate container 222bbd663be9 [2022-08-30T22:00:19.092Z] ---> c06e680ec7f6 [2022-08-30T22:00:19.092Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:00:19.370Z] ---> Running in fcc60c3ea035 [2022-08-30T22:00:20.354Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:00:20.949Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:00:21.926Z] OK: 221 MiB in 51 packages [2022-08-30T22:00:22.922Z] Removing intermediate container fcc60c3ea035 [2022-08-30T22:00:22.922Z] ---> 417ef4cf4b0b [2022-08-30T22:00:22.922Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T22:00:22.922Z] ---> Running in ed9034c1cbe4 [2022-08-30T22:00:23.197Z] Removing intermediate container ed9034c1cbe4 [2022-08-30T22:00:23.197Z] ---> 70c0ee210ca0 [2022-08-30T22:00:23.197Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T22:00:23.793Z] ---> 4ae79708d315 [2022-08-30T22:00:23.793Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:00:23.793Z] ---> Running in ce4ef2701f9e [2022-08-30T22:00:25.773Z] Removing intermediate container ce4ef2701f9e [2022-08-30T22:00:25.773Z] ---> a604b43b3eaf [2022-08-30T22:00:25.773Z] Step 12/26 : COPY . . [2022-08-30T22:00:27.209Z] ---> d439092f8798 [2022-08-30T22:00:27.209Z] Step 13/26 : RUN ${MAKE} [2022-08-30T22:00:27.209Z] ---> Running in a750dc178e8d [2022-08-30T22:00:28.189Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T22:02:50.102Z] Removing intermediate container a750dc178e8d [2022-08-30T22:02:50.102Z] ---> 2e56779c934e [2022-08-30T22:02:50.102Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T22:02:50.102Z] 3.16: Pulling from library/alpine [2022-08-30T22:02:50.102Z] 9b18e9b68314: Pulling fs layer [2022-08-30T22:02:50.102Z] 9b18e9b68314: Verifying Checksum [2022-08-30T22:02:50.102Z] 9b18e9b68314: Download complete [2022-08-30T22:02:50.102Z] 9b18e9b68314: Pull complete [2022-08-30T22:02:50.102Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T22:02:50.102Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T22:02:50.102Z] ---> a6215f271958 [2022-08-30T22:02:50.102Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T22:02:50.102Z] ---> Running in 34bcd870dd6a [2022-08-30T22:02:50.102Z] Removing intermediate container 34bcd870dd6a [2022-08-30T22:02:50.102Z] ---> 6a78aba40565 [2022-08-30T22:02:50.102Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T22:02:50.102Z] ---> Running in 3c6c3e207de9 [2022-08-30T22:02:50.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:02:50.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:02:50.102Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T22:02:50.102Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T22:02:50.102Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T22:02:50.102Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T22:02:50.102Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T22:02:50.102Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T22:02:50.102Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T22:02:50.102Z] OK: 8 MiB in 20 packages [2022-08-30T22:02:50.102Z] Removing intermediate container 3c6c3e207de9 [2022-08-30T22:02:50.102Z] ---> 9f0e7367709c [2022-08-30T22:02:50.102Z] Step 17/26 : WORKDIR / [2022-08-30T22:02:50.102Z] ---> Running in fe32d1ef5cc3 [2022-08-30T22:02:50.102Z] Removing intermediate container fe32d1ef5cc3 [2022-08-30T22:02:50.102Z] ---> 64beec7821d3 [2022-08-30T22:02:50.102Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T22:02:50.102Z] ---> d75f83fe55e8 [2022-08-30T22:02:50.102Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T22:02:50.102Z] ---> 18c2c155131a [2022-08-30T22:02:50.102Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T22:02:50.102Z] ---> 8d9d841d7ab6 [2022-08-30T22:02:50.102Z] Step 21/26 : EXPOSE 59984 [2022-08-30T22:02:50.102Z] ---> Running in 95fd59d5fab9 [2022-08-30T22:02:50.102Z] Removing intermediate container 95fd59d5fab9 [2022-08-30T22:02:50.102Z] ---> dfc5b049d195 [2022-08-30T22:02:50.102Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T22:02:50.102Z] ---> Running in 17c6f8c984f6 [2022-08-30T22:02:50.102Z] Removing intermediate container 17c6f8c984f6 [2022-08-30T22:02:50.102Z] ---> ab841f62abcd [2022-08-30T22:02:50.102Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T22:02:50.102Z] ---> Running in 329f21b48c50 [2022-08-30T22:02:50.102Z] Removing intermediate container 329f21b48c50 [2022-08-30T22:02:50.102Z] ---> 103e88fc78d3 [2022-08-30T22:02:50.102Z] Step 24/26 : LABEL arch=arm64 [2022-08-30T22:02:50.102Z] ---> Running in 694ef8897945 [2022-08-30T22:02:50.102Z] Removing intermediate container 694ef8897945 [2022-08-30T22:02:50.102Z] ---> e0ccdf613db6 [2022-08-30T22:02:50.102Z] Step 25/26 : LABEL git_sha=6b4c7cf3434a8f1f1e1d32336012456f00d33cae [2022-08-30T22:02:50.102Z] ---> Running in 3f91d8bfdb0e [2022-08-30T22:02:50.697Z] Removing intermediate container 3f91d8bfdb0e [2022-08-30T22:02:50.697Z] ---> 0220e3f67461 [2022-08-30T22:02:50.697Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T22:02:50.697Z] ---> Running in 58cd517b3c74 [2022-08-30T22:02:50.970Z] Removing intermediate container 58cd517b3c74 [2022-08-30T22:02:50.970Z] ---> a4f4bbadaec3 [2022-08-30T22:02:50.970Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T22:02:50.970Z] Successfully built a4f4bbadaec3 [2022-08-30T22:02:50.970Z] 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-30T22:02:51.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:02:51.442Z] [2022-08-30T22:02:51.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:02:51.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:02:52.080Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T22:02:52.080Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T22:02:52.080Z] 04944245beec: Pulling fs layer [2022-08-30T22:02:52.080Z] 699f458cf7ca: Pulling fs layer [2022-08-30T22:02:52.080Z] 765212b225bb: Pulling fs layer [2022-08-30T22:02:52.080Z] f23df028b6ca: Pulling fs layer [2022-08-30T22:02:52.080Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T22:02:52.080Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T22:02:52.080Z] f23df028b6ca: Waiting [2022-08-30T22:02:52.080Z] 765212b225bb: Waiting [2022-08-30T22:02:52.080Z] d65c8cfc05b1: Waiting [2022-08-30T22:02:52.080Z] 2437ff75d9bd: Waiting [2022-08-30T22:02:52.080Z] 04944245beec: Verifying Checksum [2022-08-30T22:02:52.080Z] 04944245beec: Download complete [2022-08-30T22:02:52.080Z] 765212b225bb: Verifying Checksum [2022-08-30T22:02:52.080Z] 765212b225bb: Download complete [2022-08-30T22:02:52.080Z] f23df028b6ca: Verifying Checksum [2022-08-30T22:02:52.080Z] f23df028b6ca: Download complete [2022-08-30T22:02:52.355Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T22:02:52.355Z] d65c8cfc05b1: Download complete [2022-08-30T22:02:52.355Z] 699f458cf7ca: Verifying Checksum [2022-08-30T22:02:52.355Z] 699f458cf7ca: Download complete [2022-08-30T22:02:52.630Z] 8998bd30e6a1: Verifying Checksum [2022-08-30T22:02:52.630Z] 8998bd30e6a1: Download complete [2022-08-30T22:02:55.290Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T22:02:55.290Z] 2437ff75d9bd: Download complete [2022-08-30T22:02:57.970Z] 8998bd30e6a1: Pull complete [2022-08-30T22:02:57.970Z] 04944245beec: Pull complete [2022-08-30T22:02:59.402Z] 699f458cf7ca: Pull complete [2022-08-30T22:02:59.676Z] 765212b225bb: Pull complete [2022-08-30T22:03:00.652Z] f23df028b6ca: Pull complete [2022-08-30T22:03:00.652Z] d65c8cfc05b1: Pull complete [2022-08-30T22:03:15.749Z] 2437ff75d9bd: Pull complete [2022-08-30T22:03:15.749Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T22:03:15.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:03:15.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:03:16.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-23995 does not seem to be running inside a container [2022-08-30T22:03:16.102Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-30T22:03:18.838Z] $ docker top 7534af7c73046aa4edf0d0fd706fdb29f40546656cfa395aa2c0a2d36f1be22f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:19.757Z] ---> job-cost.sh [2022-08-30T22:03:19.757Z] lf-activate-venv: SKIPPING [2022-08-30T22:03:19.757Z] INFO: No Stack... [2022-08-30T22:03:20.352Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T22:03:20.948Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T22:03:21.610Z] + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [2022-08-30T22:03:21.610Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T22:03:21.641Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [2022-08-30T22:03:21.647Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] did not exist. Created. [2022-08-30T22:03:21.648Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T22:03:22.328Z] /w/workspace/device-onvif-camera/11@tmp/durable-e8b9ea15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T22:03:23.017Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T22:03:23.044Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T22:03:23.107Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T22:03:23.115Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T22:03:23.142Z] $ docker stop --time=1 7534af7c73046aa4edf0d0fd706fdb29f40546656cfa395aa2c0a2d36f1be22f [2022-08-30T22:03:24.671Z] $ docker rm -f 7534af7c73046aa4edf0d0fd706fdb29f40546656cfa395aa2c0a2d36f1be22f [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-30T22:03:25.175Z] provisioning config files... [2022-08-30T22:03:25.183Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config2072434701187546708tmp [Pipeline] { [Pipeline] sh [2022-08-30T22:03:25.485Z] + set +x [2022-08-30T22:03:25.485Z] + curl -s https://codecov.io/bash [2022-08-30T22:03:25.485Z] + bash -s -- [2022-08-30T22:03:25.485Z] [2022-08-30T22:03:25.485Z] _____ _ [2022-08-30T22:03:25.485Z] / ____| | | [2022-08-30T22:03:25.485Z] | | ___ __| | ___ ___ _____ __ [2022-08-30T22:03:25.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-30T22:03:25.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-30T22:03:25.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-30T22:03:25.485Z] Bash-1.0.6 [2022-08-30T22:03:25.485Z] [2022-08-30T22:03:25.485Z] [2022-08-30T22:03:25.485Z] ==> git version 2.25.1 found [2022-08-30T22:03:25.485Z] ==> 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-30T22:03:25.485Z] Release-Date: 2020-01-08 [2022-08-30T22:03:25.485Z] 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-30T22:03:25.485Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-30T22:03:25.485Z] ==> Jenkins CI detected. [2022-08-30T22:03:25.485Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T22:03:25.485Z] project root: . [2022-08-30T22:03:25.485Z] --> token set from env [2022-08-30T22:03:25.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-30T22:03:25.485Z] ==> Running gcov in . (disable via -X gcov) [2022-08-30T22:03:25.485Z] ==> Python coveragepy not found [2022-08-30T22:03:25.485Z] ==> Searching for coverage reports in: [2022-08-30T22:03:25.485Z] + . [2022-08-30T22:03:25.485Z] -> Found 1 reports [2022-08-30T22:03:25.485Z] ==> Detecting git/mercurial file structure [2022-08-30T22:03:25.485Z] ==> Reading reports [2022-08-30T22:03:25.746Z] + ./coverage.out bytes=77728 [2022-08-30T22:03:25.746Z] ==> Appending adjustments [2022-08-30T22:03:25.746Z] https://docs.codecov.io/docs/fixing-reports [2022-08-30T22:03:25.746Z] + Found adjustments [2022-08-30T22:03:25.746Z] ==> Gzipping contents [2022-08-30T22:03:25.746Z] 12K /tmp/codecov.RFjhu1.gz [2022-08-30T22:03:25.746Z] ==> Uploading reports [2022-08-30T22:03:25.746Z] url: https://codecov.io [2022-08-30T22:03:25.746Z] query: branch=PR-149&commit=395122cd9837b4cf496c1ca127b52613002777fa&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T22:03:25.746Z] -> Pinging Codecov [2022-08-30T22:03:25.746Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=395122cd9837b4cf496c1ca127b52613002777fa&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T22:03:26.005Z] -> Uploading to [2022-08-30T22:03:26.005Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-30/F29A59C45E3A92E06B3E522C9905F8EF/395122cd9837b4cf496c1ca127b52613002777fa/7b5e08d1-81b3-44a3-936c-d6ccba24af5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T220325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d80893e82b56a8a9eec3b8b414fa7deb3b886b46f59b552903c1d0a12b607bb9 [2022-08-30T22:03:26.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T22:03:26.006Z] Dload Upload Total Spent Left Speed [2022-08-30T22:03:26.266Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10666 0 0 100 10666 0 52541 --:--:-- --:--:-- --:--:-- 52284 100 10666 0 0 100 10666 0 52029 --:--:-- --:--:-- --:--:-- 51776 [2022-08-30T22:03:26.266Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/395122cd9837b4cf496c1ca127b52613002777fa [Pipeline] } [2022-08-30T22:03:26.274Z] 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-30T22:03:26.959Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T22:03:26.960Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:03:26.960Z] total 16 [2022-08-30T22:03:26.960Z] drwxr-xr-x 3 root root 4096 Aug 30 21:55 . [2022-08-30T22:03:26.960Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 21:55 .. [2022-08-30T22:03:26.960Z] drwxr-xr-x 2 root root 4096 Aug 30 21:55 cost [2022-08-30T22:03:26.960Z] -rw-r--r-- 1 root root 92 Aug 30 21:55 cost.csv [2022-08-30T22:03:26.960Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:03:26.960Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:03:26.960Z] total 16 [2022-08-30T22:03:26.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 21:55 . [2022-08-30T22:03:26.960Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 21:55 .. [2022-08-30T22:03:26.960Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 21:55 cost [2022-08-30T22:03:26.960Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 30 21:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:27.259Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:28.143Z] ---> package-listing.sh [2022-08-30T22:03:28.143Z] ++ facter osfamily [2022-08-30T22:03:28.143Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T22:03:28.404Z] + OS_FAMILY=debian [2022-08-30T22:03:28.404Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T22:03:28.404Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T22:03:28.404Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T22:03:28.404Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T22:03:28.404Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T22:03:28.404Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T22:03:28.404Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T22:03:28.404Z] + case "${OS_FAMILY}" in [2022-08-30T22:03:28.404Z] + dpkg -l [2022-08-30T22:03:28.404Z] + grep '^ii' [2022-08-30T22:03:28.404Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T22:03:28.404Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T22:03:28.404Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T22:03:28.404Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T22:03:28.404Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T22:03:28.404Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T22:03:28.416Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T22:03:28.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:03:29.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:03:29.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:03:29.366Z] prd-ubuntu20.04-docker-8c-8g-23994 does not seem to be running inside a container [2022-08-30T22:03:29.404Z] $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T22:03:29.623Z] $ docker top 58b101ac430a2b86830eec5f963ac8086113e1dd87ccbef7d7609c629743b3d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:03:29.987Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T22:03:30.277Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T22:03:30.567Z] + ls /var/log/sa-host [2022-08-30T22:03:30.567Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:03:30.648Z] provisioning config files... [2022-08-30T22:03:30.659Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6617473151675755859tmp [Pipeline] { [Pipeline] echo [2022-08-30T22:03:30.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:30.963Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T22:03:30.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:31.301Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T22:03:31.311Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:31.598Z] ---> sudo-logs.sh [2022-08-30T22:03:31.598Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T22:03:31.634Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:31.919Z] ---> job-cost.sh [2022-08-30T22:03:31.919Z] lf-activate-venv: SKIPPING [2022-08-30T22:03:31.919Z] DEBUG: total: 0.2199999988079071 [2022-08-30T22:03:31.919Z] INFO: Retrieving Stack Cost... [2022-08-30T22:03:32.491Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T22:03:32.752Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T22:03:32.764Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:03:33.055Z] ---> logs-deploy.sh [2022-08-30T22:03:33.055Z] lf-activate-venv: SKIPPING [2022-08-30T22:03:33.055Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/11 [2022-08-30T22:03:33.055Z] INFO: archiving workspace using pattern(s): [2022-08-30T22:03:34.001Z] Archives upload complete. [2022-08-30T22:03:34.001Z] INFO: archiving logs to Nexus