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 73d8b018e1281e2d180e7d96b9a68723dde3fc6a 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-ssh1036073518540967106.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-ssh13796341767076453326.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-ssh194000675177550072.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-ssh7433345608478496892.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-ssh7543622314541907619.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-24211 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 73d8b018e1281e2d180e7d96b9a68723dde3fc6a Merge succeeded, producing bf5024e08c160343adf2d2ad5e70d68860042d51 Checking out Revision bf5024e08c160343adf2d2ad5e70d68860042d51 (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 73d8b018e1281e2d180e7d96b9a68723dde3fc6a # 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 bf5024e08c160343adf2d2ad5e70d68860042d51 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T16:36:38.718Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 576067f624797fc93aa539b1599dfc524b042ae0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T16:36:38.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T16:36:38.800Z] ========================================================= [2022-08-31T16:36:38.800Z] EdgeX Global Pipelines Version Info [2022-08-31T16:36:38.800Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:36:39.550Z] ------------------- [2022-08-31T16:36:39.551Z] stable info: [2022-08-31T16:36:39.551Z] ------------------- [2022-08-31T16:36:39.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T16:36:39.551Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T16:36:39.551Z] Message: update stable to v1.0.239 [2022-08-31T16:36:40.141Z] ------------------- [2022-08-31T16:36:40.141Z] experimental info: [2022-08-31T16:36:40.141Z] ------------------- [2022-08-31T16:36:40.141Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T16:36:40.141Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T16:36:40.141Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T16:36:40.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T16:36:40.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T16:36:40.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T16:36:40.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T16:36:40.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T16:36:40.428Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T16:36:40.437Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T16:36:40.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T16:36:40.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T16:36:40.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T16:36:40.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T16:36:40.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T16:36:40.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T16:36:40.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T16:36:40.538Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T16:36:40.552Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T16:36:40.563Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T16:36:40.576Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T16:36:40.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T16:36:40.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T16:36:40.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T16:36:40.624Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T16:36:40.635Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T16:36:40.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T16:36:40.662Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T16:36:40.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T16:36:40.691Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T16:36:40.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-31T16:36:40.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-31T16:36:40.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-31T16:36:40.748Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo [2022-08-31T16:36:40.765Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf5024e [Pipeline] echo [2022-08-31T16:36:40.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T16:36:40.827Z] provisioning config files... [2022-08-31T16:36:40.842Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4915663502296537744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:36:41.146Z] ---> docker-login.sh [2022-08-31T16:36:41.146Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:36:41.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:41.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:41.679Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:41.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:41.679Z] [2022-08-31T16:36:41.679Z] Login Succeeded [2022-08-31T16:36:41.679Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:36:41.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:41.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:41.679Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:41.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:41.679Z] [2022-08-31T16:36:41.679Z] Login Succeeded [2022-08-31T16:36:41.679Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:36:41.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:41.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:41.940Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:41.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:41.940Z] [2022-08-31T16:36:41.940Z] Login Succeeded [2022-08-31T16:36:41.940Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:36:41.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:42.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:42.204Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:42.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:42.204Z] [2022-08-31T16:36:42.204Z] Login Succeeded [2022-08-31T16:36:42.204Z] docker.io [2022-08-31T16:36:42.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:42.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:42.779Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:42.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:42.779Z] [2022-08-31T16:36:42.779Z] Login Succeeded [2022-08-31T16:36:42.779Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:36:42.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T16:36:43.168Z] + git rev-list -1 --merges bf5024e08c160343adf2d2ad5e70d68860042d51~1..bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo [2022-08-31T16:36:43.268Z] -----------> git rev-list -1 --merges bf5024e08c160343adf2d2ad5e70d68860042d51~1..bf5024e08c160343adf2d2ad5e70d68860042d51 bf5024e08c160343adf2d2ad5e70d68860042d51 [2022-08-31T16:36:43.268Z] bf5024e08c160343adf2d2ad5e70d68860042d51 [false] [Pipeline] sh [2022-08-31T16:36:43.571Z] + git log --format=format:%s -1 bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo [2022-08-31T16:36:43.589Z] ========================================================= [2022-08-31T16:36:43.590Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T16:36:43.590Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:36:43.933Z] + git log --format=format:%s -1 bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo [2022-08-31T16:36:43.948Z] [semverPrep] GIT_COMMIT: bf5024e08c160343adf2d2ad5e70d68860042d51, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T16:36:43.958Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T16:36:44.340Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T16:36:44.340Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T16:36:44.340Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T16:36:44.340Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T16:36:44.340Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T16:36:44.340Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T16:36:44.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:36:44.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:36:44.762Z] [2022-08-31T16:36:44.762Z] 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-31T16:36:45.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:36:45.068Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T16:36:45.068Z] b85a868b505f: Pulling fs layer [2022-08-31T16:36:45.068Z] e2be974225ed: Pulling fs layer [2022-08-31T16:36:45.068Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T16:36:45.068Z] 988bab9f4d93: Pulling fs layer [2022-08-31T16:36:45.068Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T16:36:45.068Z] eaf3925da568: Pulling fs layer [2022-08-31T16:36:45.068Z] bab4dde63d76: Pulling fs layer [2022-08-31T16:36:45.068Z] bde34c3a00c8: Pulling fs layer [2022-08-31T16:36:45.068Z] b352a97aabf1: Pulling fs layer [2022-08-31T16:36:45.068Z] 4872d77fe225: Pulling fs layer [2022-08-31T16:36:45.068Z] 5851b861e8e6: Pulling fs layer [2022-08-31T16:36:45.068Z] 988bab9f4d93: Waiting [2022-08-31T16:36:45.068Z] 1469e6f7b9e6: Waiting [2022-08-31T16:36:45.068Z] eaf3925da568: Waiting [2022-08-31T16:36:45.068Z] bab4dde63d76: Waiting [2022-08-31T16:36:45.068Z] bde34c3a00c8: Waiting [2022-08-31T16:36:45.068Z] b352a97aabf1: Waiting [2022-08-31T16:36:45.068Z] 4872d77fe225: Waiting [2022-08-31T16:36:45.068Z] 5851b861e8e6: Waiting [2022-08-31T16:36:45.068Z] e2be974225ed: Download complete [2022-08-31T16:36:45.068Z] 988bab9f4d93: Verifying Checksum [2022-08-31T16:36:45.068Z] 988bab9f4d93: Download complete [2022-08-31T16:36:45.331Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T16:36:45.331Z] 1469e6f7b9e6: Download complete [2022-08-31T16:36:45.331Z] eaf3925da568: Verifying Checksum [2022-08-31T16:36:45.331Z] eaf3925da568: Download complete [2022-08-31T16:36:45.331Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T16:36:45.331Z] 339a4e72a1f5: Download complete [2022-08-31T16:36:45.331Z] bde34c3a00c8: Verifying Checksum [2022-08-31T16:36:45.331Z] bde34c3a00c8: Download complete [2022-08-31T16:36:45.331Z] b352a97aabf1: Download complete [2022-08-31T16:36:45.331Z] 4872d77fe225: Verifying Checksum [2022-08-31T16:36:45.331Z] 4872d77fe225: Download complete [2022-08-31T16:36:45.331Z] 5851b861e8e6: Verifying Checksum [2022-08-31T16:36:45.331Z] 5851b861e8e6: Download complete [2022-08-31T16:36:45.331Z] b85a868b505f: Verifying Checksum [2022-08-31T16:36:45.331Z] b85a868b505f: Download complete [2022-08-31T16:36:45.903Z] bab4dde63d76: Verifying Checksum [2022-08-31T16:36:45.903Z] bab4dde63d76: Download complete [2022-08-31T16:36:46.847Z] b85a868b505f: Pull complete [2022-08-31T16:36:47.109Z] e2be974225ed: Pull complete [2022-08-31T16:36:47.682Z] 339a4e72a1f5: Pull complete [2022-08-31T16:36:47.682Z] 988bab9f4d93: Pull complete [2022-08-31T16:36:47.948Z] 1469e6f7b9e6: Pull complete [2022-08-31T16:36:47.948Z] eaf3925da568: Pull complete [2022-08-31T16:36:49.867Z] bab4dde63d76: Pull complete [2022-08-31T16:36:50.128Z] bde34c3a00c8: Pull complete [2022-08-31T16:36:50.128Z] b352a97aabf1: Pull complete [2022-08-31T16:36:50.128Z] 4872d77fe225: Pull complete [2022-08-31T16:36:50.390Z] 5851b861e8e6: Pull complete [2022-08-31T16:36:50.390Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T16:36:50.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:36:50.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:36:50.507Z] prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container [2022-08-31T16:36:50.550Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T16:36:51.911Z] $ docker top 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 -eo pid,comm [2022-08-31T16:36:51.986Z] 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-31T16:36:51.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T16:36:52.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T16:36:52.024Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T16:36:52.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T16:36:52.169Z] $ docker exec 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent [2022-08-31T16:36:52.301Z] SSH_AUTH_SOCK=/tmp/ssh-nNQipXxkKag6/agent.33 [2022-08-31T16:36:52.301Z] SSH_AGENT_PID=39 [2022-08-31T16:36:52.309Z] Running ssh-add (command line suppressed) [2022-08-31T16:36:52.440Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7940998812235325787.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7940998812235325787.key) [2022-08-31T16:36:52.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T16:36:52.757Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T16:36:52.784Z] $ docker exec --env ******** --env ******** 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent -k [2022-08-31T16:36:52.908Z] unset SSH_AUTH_SOCK; [2022-08-31T16:36:52.908Z] unset SSH_AGENT_PID; [2022-08-31T16:36:52.908Z] echo Agent pid 39 killed; [2022-08-31T16:36:52.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T16:36:52.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T16:36:52.949Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T16:36:53.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T16:36:53.094Z] $ docker exec 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent [2022-08-31T16:36:53.239Z] SSH_AUTH_SOCK=/tmp/ssh-enNik7SkHCY7/agent.72 [2022-08-31T16:36:53.239Z] SSH_AGENT_PID=79 [2022-08-31T16:36:53.246Z] Running ssh-add (command line suppressed) [2022-08-31T16:36:53.376Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4206532300183048922.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4206532300183048922.key) [2022-08-31T16:36:53.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T16:36:53.682Z] + git semver init [2022-08-31T16:36:53.943Z] 2022-08-31 16:36:53,876 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T16:36:53.943Z] 2022-08-31 16:36:53,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T16:36:53.943Z] 2022-08-31 16:36:53,877 [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-31T16:36:53.943Z] 2022-08-31 16:36:53,878 [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-31T16:36:54.887Z] 2022-08-31 16:36:54,622 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-31T16:36:54.887Z] 2022-08-31 16:36:54,623 [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-31T16:36:54.887Z] 2022-08-31 16:36:54,623 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T16:36:54.887Z] 2022-08-31 16:36:54,627 [execute] INFO git cat-file --batch-check [2022-08-31T16:36:54.887Z] 2022-08-31 16:36:54,628 [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-31T16:36:54.887Z] 2022-08-31 16:36:54,634 [execute] INFO git cat-file --batch [2022-08-31T16:36:54.887Z] 2022-08-31 16:36:54,634 [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-31T16:36:54.887Z] 2022-08-31 16:36:54,638 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T16:36:54.887Z] 0.0.0 [Pipeline] } [2022-08-31T16:36:54.900Z] $ docker exec --env ******** --env ******** 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent -k [2022-08-31T16:36:55.019Z] unset SSH_AUTH_SOCK; [2022-08-31T16:36:55.019Z] unset SSH_AGENT_PID; [2022-08-31T16:36:55.019Z] echo Agent pid 79 killed; [2022-08-31T16:36:55.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T16:36:55.341Z] + git semver [Pipeline] } [2022-08-31T16:36:55.621Z] $ docker stop --time=1 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 [2022-08-31T16:36:57.001Z] $ docker rm -f 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T16:36:57.365Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T16:36:57.610Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T16:36:57.613Z] [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-31T16:36:57.757Z] provisioning config files... [2022-08-31T16:36:57.768Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config2229129800443121739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:36:58.070Z] ---> docker-login.sh [2022-08-31T16:36:58.070Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:36:58.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:58.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:58.070Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:58.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:58.070Z] [2022-08-31T16:36:58.070Z] Login Succeeded [2022-08-31T16:36:58.070Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:36:58.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:58.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:58.330Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:58.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:58.330Z] [2022-08-31T16:36:58.330Z] Login Succeeded [2022-08-31T16:36:58.330Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:36:58.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:58.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:58.330Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:58.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:58.330Z] [2022-08-31T16:36:58.330Z] Login Succeeded [2022-08-31T16:36:58.330Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:36:58.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:58.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:58.590Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:58.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:58.590Z] [2022-08-31T16:36:58.590Z] Login Succeeded [2022-08-31T16:36:58.590Z] docker.io [2022-08-31T16:36:58.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:36:58.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:36:58.851Z] Configure a credential helper to remove this warning. See [2022-08-31T16:36:58.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:36:58.851Z] [2022-08-31T16:36:58.851Z] Login Succeeded [2022-08-31T16:36:58.851Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:36:58.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T16:36:58.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:36:58.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:36:58.962Z] ========================================================= [2022-08-31T16:36:58.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T16:36:58.962Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:36:59.280Z] + 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-31T16:36:59.280Z] Sending build context to Docker daemon 20.72MB [2022-08-31T16:36:59.280Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:36:59.280Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T16:36:59.540Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T16:36:59.540Z] 2408cc74d12b: Pulling fs layer [2022-08-31T16:36:59.540Z] ea60b727a1ce: Pulling fs layer [2022-08-31T16:36:59.540Z] 30c4a7721957: Pulling fs layer [2022-08-31T16:36:59.540Z] 370296b7ddb6: Pulling fs layer [2022-08-31T16:36:59.540Z] 7c6cee850709: Pulling fs layer [2022-08-31T16:36:59.540Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T16:36:59.540Z] d94ebbe4e438: Pulling fs layer [2022-08-31T16:36:59.540Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T16:36:59.540Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T16:36:59.540Z] 370296b7ddb6: Waiting [2022-08-31T16:36:59.540Z] 7c6cee850709: Waiting [2022-08-31T16:36:59.540Z] 39a5fcdaea64: Waiting [2022-08-31T16:36:59.540Z] d94ebbe4e438: Waiting [2022-08-31T16:36:59.540Z] 59ccb84bbe0f: Waiting [2022-08-31T16:36:59.540Z] bcfd1f05c69d: Waiting [2022-08-31T16:36:59.540Z] 30c4a7721957: Verifying Checksum [2022-08-31T16:36:59.540Z] 30c4a7721957: Download complete [2022-08-31T16:36:59.540Z] ea60b727a1ce: Verifying Checksum [2022-08-31T16:36:59.540Z] ea60b727a1ce: Download complete [2022-08-31T16:36:59.540Z] 7c6cee850709: Download complete [2022-08-31T16:36:59.540Z] 39a5fcdaea64: Download complete [2022-08-31T16:36:59.540Z] 2408cc74d12b: Verifying Checksum [2022-08-31T16:36:59.540Z] 2408cc74d12b: Download complete [2022-08-31T16:36:59.540Z] d94ebbe4e438: Verifying Checksum [2022-08-31T16:36:59.540Z] d94ebbe4e438: Download complete [2022-08-31T16:36:59.541Z] 2408cc74d12b: Pull complete [2022-08-31T16:36:59.808Z] ea60b727a1ce: Pull complete [2022-08-31T16:36:59.808Z] 30c4a7721957: Pull complete [2022-08-31T16:37:00.082Z] 59ccb84bbe0f: Download complete [2022-08-31T16:37:00.346Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T16:37:00.346Z] bcfd1f05c69d: Download complete [2022-08-31T16:37:00.346Z] 370296b7ddb6: Verifying Checksum [2022-08-31T16:37:00.346Z] 370296b7ddb6: Download complete [2022-08-31T16:37:05.632Z] 370296b7ddb6: Pull complete [2022-08-31T16:37:05.632Z] 7c6cee850709: Pull complete [2022-08-31T16:37:05.632Z] 39a5fcdaea64: Pull complete [2022-08-31T16:37:05.632Z] d94ebbe4e438: Pull complete [2022-08-31T16:37:07.546Z] bcfd1f05c69d: Pull complete [2022-08-31T16:37:08.118Z] 59ccb84bbe0f: Pull complete [2022-08-31T16:37:08.118Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T16:37:08.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T16:37:08.118Z] ---> a4fb48ad2a94 [2022-08-31T16:37:08.118Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T16:37:09.512Z] ---> Running in 1f01addebaef [2022-08-31T16:37:09.512Z] Removing intermediate container 1f01addebaef [2022-08-31T16:37:09.512Z] ---> 14c84b2b9053 [2022-08-31T16:37:09.512Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:37:09.774Z] ---> Running in f4de57ab9cec [2022-08-31T16:37:09.774Z] Removing intermediate container f4de57ab9cec [2022-08-31T16:37:09.774Z] ---> 2bd28ccc105b [2022-08-31T16:37:09.774Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:37:09.774Z] ---> Running in bd57765f5097 [2022-08-31T16:37:10.034Z] Removing intermediate container bd57765f5097 [2022-08-31T16:37:10.034Z] ---> ae9f4d0be41a [2022-08-31T16:37:10.034Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:37:10.034Z] ---> Running in 3f6a3f825f48 [2022-08-31T16:37:10.034Z] Removing intermediate container 3f6a3f825f48 [2022-08-31T16:37:10.034Z] ---> c7e9697e51d4 [2022-08-31T16:37:10.034Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:37:10.034Z] ---> Running in 0d59e1574958 [2022-08-31T16:37:10.607Z] Removing intermediate container 0d59e1574958 [2022-08-31T16:37:10.607Z] ---> f8776784ca9a [2022-08-31T16:37:10.607Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:37:10.607Z] ---> Running in 260fe4ac2881 [2022-08-31T16:37:11.178Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T16:37:11.752Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T16:37:12.013Z] OK: 211 MiB in 51 packages [2022-08-31T16:37:12.587Z] Removing intermediate container 260fe4ac2881 [2022-08-31T16:37:12.587Z] ---> 4f9a0ac3c2ec [2022-08-31T16:37:12.587Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T16:37:12.587Z] ---> Running in ccc9e40b28dd [2022-08-31T16:37:12.587Z] Removing intermediate container ccc9e40b28dd [2022-08-31T16:37:12.587Z] ---> b89d15222084 [2022-08-31T16:37:12.587Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T16:37:12.715Z] Still waiting to schedule task [2022-08-31T16:37:12.715Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-31T16:37:12.847Z] ---> 72fd0a417f8a [2022-08-31T16:37:12.848Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:37:12.848Z] ---> Running in 9be5fd0680d5 [2022-08-31T16:37:30.981Z] Removing intermediate container 9be5fd0680d5 [2022-08-31T16:37:30.981Z] ---> 23ca1c72d6e0 [2022-08-31T16:37:30.981Z] Step 12/13 : COPY . . [2022-08-31T16:37:30.981Z] ---> 53a97728ff24 [2022-08-31T16:37:30.981Z] Step 13/13 : RUN ${MAKE} [2022-08-31T16:37:30.981Z] ---> Running in a6d70107e0c7 [2022-08-31T16:37:30.981Z] noop [2022-08-31T16:37:30.981Z] Removing intermediate container a6d70107e0c7 [2022-08-31T16:37:30.981Z] ---> eb950e4715e5 [2022-08-31T16:37:30.981Z] Successfully built eb950e4715e5 [2022-08-31T16:37:30.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:37:31.304Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T16:37:31.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:37:31.392Z] prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container [2022-08-31T16:37:31.429Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T16:37:31.824Z] $ docker top f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:37:32.182Z] + go version [2022-08-31T16:37:32.182Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T16:37:32.198Z] $ docker stop --time=1 f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be [2022-08-31T16:37:33.496Z] $ docker rm -f f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:37:33.923Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T16:37:33.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:37:34.008Z] prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container [2022-08-31T16:37:34.049Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T16:37:34.453Z] $ docker top 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:37:34.852Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-31T16:37:35.190Z] + make test [2022-08-31T16:37:35.190Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T16:37:35.450Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T16:37:47.678Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T16:37:48.249Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 28.5% of statements [2022-08-31T16:37:48.249Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T16:37:51.550Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.123s coverage: 13.8% of statements [2022-08-31T16:37:59.679Z] 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-31T16:37:59.679Z] internal/driver/driver_test.go:257:17: Error return value of `writer.Write` is not checked (errcheck) [2022-08-31T16:37:59.679Z] writer.Write([]byte(test.resp)) [2022-08-31T16:37:59.679Z] ^ [2022-08-31T16:37:59.679Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-08-31T16:37:59.699Z] $ docker stop --time=1 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 [2022-08-31T16:38:01.589Z] $ docker rm -f 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:38:02.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:38:02.175Z] [2022-08-31T16:38:02.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:38:02.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:38:02.481Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T16:38:02.481Z] 5eb5b503b376: Pulling fs layer [2022-08-31T16:38:02.481Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T16:38:02.481Z] ec43610c2a17: Pulling fs layer [2022-08-31T16:38:02.481Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T16:38:02.481Z] 33b1e0a273af: Pulling fs layer [2022-08-31T16:38:02.481Z] 3a2ae6a8a46f: Waiting [2022-08-31T16:38:02.481Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T16:38:02.481Z] 2f39f015ded8: Pulling fs layer [2022-08-31T16:38:02.481Z] 33b1e0a273af: Waiting [2022-08-31T16:38:02.481Z] 5d3b04190fa2: Waiting [2022-08-31T16:38:02.481Z] 2f39f015ded8: Waiting [2022-08-31T16:38:02.481Z] 5c69ac0246d0: Verifying Checksum [2022-08-31T16:38:02.481Z] 5c69ac0246d0: Download complete [2022-08-31T16:38:02.481Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T16:38:02.481Z] 3a2ae6a8a46f: Download complete [2022-08-31T16:38:02.740Z] ec43610c2a17: Verifying Checksum [2022-08-31T16:38:02.740Z] ec43610c2a17: Download complete [2022-08-31T16:38:02.740Z] 33b1e0a273af: Verifying Checksum [2022-08-31T16:38:02.740Z] 33b1e0a273af: Download complete [2022-08-31T16:38:02.740Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T16:38:02.740Z] 5d3b04190fa2: Download complete [2022-08-31T16:38:02.740Z] 5eb5b503b376: Download complete [2022-08-31T16:38:03.311Z] 2f39f015ded8: Download complete [2022-08-31T16:38:03.882Z] 5eb5b503b376: Pull complete [2022-08-31T16:38:04.142Z] 5c69ac0246d0: Pull complete [2022-08-31T16:38:04.714Z] ec43610c2a17: Pull complete [2022-08-31T16:38:04.714Z] 3a2ae6a8a46f: Pull complete [2022-08-31T16:38:04.975Z] 33b1e0a273af: Pull complete [2022-08-31T16:38:04.975Z] 5d3b04190fa2: Pull complete [2022-08-31T16:38:09.174Z] 2f39f015ded8: Pull complete [2022-08-31T16:38:09.174Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T16:38:09.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:38:09.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:38:09.273Z] prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container [2022-08-31T16:38:09.307Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T16:38:11.273Z] $ docker top 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:38:11.694Z] ---> job-cost.sh [2022-08-31T16:38:11.695Z] lf-activate-venv: SKIPPING [2022-08-31T16:38:11.695Z] INFO: No Stack... [2022-08-31T16:38:11.955Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T16:38:12.527Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T16:38:12.820Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-31T16:38:12.820Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T16:38:12.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [2022-08-31T16:38:12.846Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] did not exist. Created. [2022-08-31T16:38:12.846Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T16:38:13.154Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T16:38:13.185Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T16:38:13.192Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T16:38:13.212Z] $ docker stop --time=1 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 [2022-08-31T16:38:14.384Z] $ docker rm -f 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T16:38:14.498Z] Failed in branch amd64 [2022-08-31T16:38:52.625Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24212 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-31T16:38:52.638Z] Running in /w/workspace/device-onvif-camera/22 [Pipeline] { [Pipeline] checkout [2022-08-31T16:38:52.671Z] Selected Git installation does not exist. Using Default [2022-08-31T16:38:52.672Z] The recommended git tool is: NONE [2022-08-31T16:38:57.733Z] using credential edgex-jenkins-ssh [2022-08-31T16:38:57.751Z] Cloning the remote Git repository [2022-08-31T16:38:57.809Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:38:57.886Z] > git init /w/workspace/device-onvif-camera/22 # timeout=10 [2022-08-31T16:38:57.975Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:38:57.976Z] > git --version # timeout=10 [2022-08-31T16:38:58.001Z] > git --version # 'git version 2.25.1' [2022-08-31T16:38:58.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:38:58.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T16:38:59.874Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 73d8b018e1281e2d180e7d96b9a68723dde3fc6a [2022-08-31T16:38:59.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T16:38:59.236Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T16:38:59.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T16:38:59.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:38:59.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:38:59.314Z] > 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-31T16:38:59.895Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T16:38:59.913Z] > git checkout -f 73d8b018e1281e2d180e7d96b9a68723dde3fc6a # timeout=10 [2022-08-31T16:39:00.131Z] > git remote # timeout=10 [2022-08-31T16:39:00.148Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T16:39:00.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:39:00.176Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T16:39:00.389Z] Merge succeeded, producing 666e69bd0fee7fd468a9fde2298d0ea16309f433 [2022-08-31T16:39:00.389Z] Checking out Revision 666e69bd0fee7fd468a9fde2298d0ea16309f433 (PR-149) [2022-08-31T16:39:00.377Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T16:39:00.397Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T16:39:00.428Z] > git checkout -f 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 [2022-08-31T16:39:04.661Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T16:39:04.684Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:39:05.587Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T16:39:05.587Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T16:39:05.587Z] Dload Upload Total Spent Left Speed [2022-08-31T16:39:05.587Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2022-08-31T16:39:04.670Z] > git rev-list --no-walk 576067f624797fc93aa539b1599dfc524b042ae0 # timeout=10 [2022-08-31T16:39:06.312Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T16:39:06.652Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-08-31T16:39:06.652Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T16:39:06.652Z] { [2022-08-31T16:39:06.652Z] "registry-mirrors": [ [2022-08-31T16:39:06.652Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T16:39:06.652Z] ], [2022-08-31T16:39:06.652Z] "bip": "10.250.0.254/24", [2022-08-31T16:39:06.652Z] "hosts": [ [2022-08-31T16:39:06.652Z] "tcp://0.0.0.0:5555", [2022-08-31T16:39:06.652Z] "unix:///var/run/docker.sock" [2022-08-31T16:39:06.652Z] ], [2022-08-31T16:39:06.652Z] "mtu": 1458, [2022-08-31T16:39:06.652Z] "selinux-enabled": true, [2022-08-31T16:39:06.652Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T16:39:06.652Z] } [Pipeline] sh [2022-08-31T16:39:07.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T16:39:07.340Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T16:39:25.683Z] provisioning config files... [2022-08-31T16:39:25.706Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/22@tmp/config1808614114440221204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:39:26.070Z] ---> docker-login.sh [2022-08-31T16:39:26.070Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:39:26.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:39:26.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:39:26.947Z] Configure a credential helper to remove this warning. See [2022-08-31T16:39:26.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:39:26.947Z] [2022-08-31T16:39:26.947Z] Login Succeeded [2022-08-31T16:39:26.947Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:39:27.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:39:27.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:39:27.226Z] Configure a credential helper to remove this warning. See [2022-08-31T16:39:27.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:39:27.226Z] [2022-08-31T16:39:27.226Z] Login Succeeded [2022-08-31T16:39:27.501Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:39:27.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:39:27.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:39:27.776Z] Configure a credential helper to remove this warning. See [2022-08-31T16:39:27.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:39:27.776Z] [2022-08-31T16:39:27.776Z] Login Succeeded [2022-08-31T16:39:27.776Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:39:28.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:39:28.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:39:28.329Z] Configure a credential helper to remove this warning. See [2022-08-31T16:39:28.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:39:28.329Z] [2022-08-31T16:39:28.329Z] Login Succeeded [2022-08-31T16:39:28.329Z] docker.io [2022-08-31T16:39:28.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:39:28.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:39:28.879Z] Configure a credential helper to remove this warning. See [2022-08-31T16:39:28.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:39:28.879Z] [2022-08-31T16:39:28.879Z] Login Succeeded [2022-08-31T16:39:29.154Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:39:29.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T16:39:29.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:39:29.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:39:29.768Z] ========================================================= [2022-08-31T16:39:29.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T16:39:29.768Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:39:30.138Z] + 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-31T16:39:30.739Z] Sending build context to Docker daemon 14.23MB [2022-08-31T16:39:30.739Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:39:30.739Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T16:39:31.023Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T16:39:31.023Z] b3c136eddcbf: Pulling fs layer [2022-08-31T16:39:31.023Z] c0a3192eca97: Pulling fs layer [2022-08-31T16:39:31.023Z] a050256f5b6f: Pulling fs layer [2022-08-31T16:39:31.023Z] 656be50a0ddc: Pulling fs layer [2022-08-31T16:39:31.023Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T16:39:31.023Z] 656be50a0ddc: Waiting [2022-08-31T16:39:31.023Z] 46d945488cbd: Pulling fs layer [2022-08-31T16:39:31.023Z] 8a5474983e97: Pulling fs layer [2022-08-31T16:39:31.023Z] 329c88fbcd65: Pulling fs layer [2022-08-31T16:39:31.023Z] 2bbca73fdf42: Waiting [2022-08-31T16:39:31.023Z] 46d945488cbd: Waiting [2022-08-31T16:39:31.023Z] 8a5474983e97: Waiting [2022-08-31T16:39:31.023Z] 329c88fbcd65: Waiting [2022-08-31T16:39:31.023Z] a050256f5b6f: Verifying Checksum [2022-08-31T16:39:31.023Z] a050256f5b6f: Download complete [2022-08-31T16:39:31.023Z] c0a3192eca97: Verifying Checksum [2022-08-31T16:39:31.023Z] c0a3192eca97: Download complete [2022-08-31T16:39:31.023Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T16:39:31.023Z] 2bbca73fdf42: Download complete [2022-08-31T16:39:31.023Z] b3c136eddcbf: Verifying Checksum [2022-08-31T16:39:31.023Z] 46d945488cbd: Verifying Checksum [2022-08-31T16:39:31.023Z] 46d945488cbd: Download complete [2022-08-31T16:39:32.020Z] b3c136eddcbf: Pull complete [2022-08-31T16:39:32.298Z] 329c88fbcd65: Verifying Checksum [2022-08-31T16:39:32.298Z] 329c88fbcd65: Download complete [2022-08-31T16:39:32.574Z] c0a3192eca97: Pull complete [2022-08-31T16:39:32.853Z] a050256f5b6f: Pull complete [2022-08-31T16:39:33.133Z] 8a5474983e97: Verifying Checksum [2022-08-31T16:39:33.133Z] 8a5474983e97: Download complete [2022-08-31T16:39:34.116Z] 656be50a0ddc: Verifying Checksum [2022-08-31T16:39:34.116Z] 656be50a0ddc: Download complete [2022-08-31T16:39:46.530Z] 656be50a0ddc: Pull complete [2022-08-31T16:39:46.530Z] 2bbca73fdf42: Pull complete [2022-08-31T16:39:46.804Z] 46d945488cbd: Pull complete [2022-08-31T16:39:53.543Z] 8a5474983e97: Pull complete [2022-08-31T16:39:55.537Z] 329c88fbcd65: Pull complete [2022-08-31T16:39:55.537Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T16:39:55.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T16:39:55.537Z] ---> ff4287adb874 [2022-08-31T16:39:55.537Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T16:39:57.527Z] ---> Running in ff2bbe46035d [2022-08-31T16:39:57.527Z] Removing intermediate container ff2bbe46035d [2022-08-31T16:39:57.527Z] ---> c624db627856 [2022-08-31T16:39:57.527Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:39:57.801Z] ---> Running in 7a62296b2923 [2022-08-31T16:39:58.078Z] Removing intermediate container 7a62296b2923 [2022-08-31T16:39:58.078Z] ---> 307125f7c307 [2022-08-31T16:39:58.078Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:39:58.078Z] ---> Running in 84551b7e1c99 [2022-08-31T16:39:58.353Z] Removing intermediate container 84551b7e1c99 [2022-08-31T16:39:58.353Z] ---> 0226febc0eb2 [2022-08-31T16:39:58.353Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:39:58.353Z] ---> Running in 7d75327d534e [2022-08-31T16:39:58.629Z] Removing intermediate container 7d75327d534e [2022-08-31T16:39:58.629Z] ---> 59d06e32d7c4 [2022-08-31T16:39:58.629Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:39:58.904Z] ---> Running in fef527d2edee [2022-08-31T16:40:00.887Z] Removing intermediate container fef527d2edee [2022-08-31T16:40:00.887Z] ---> 4d5d17b64a17 [2022-08-31T16:40:00.887Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:40:00.887Z] ---> Running in 901882693e3e [2022-08-31T16:40:01.489Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:40:02.560Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:40:03.159Z] OK: 221 MiB in 51 packages [2022-08-31T16:40:04.163Z] Removing intermediate container 901882693e3e [2022-08-31T16:40:04.163Z] ---> ee5e9612d9e4 [2022-08-31T16:40:04.163Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T16:40:04.163Z] ---> Running in 3662a8091dc7 [2022-08-31T16:40:04.441Z] Removing intermediate container 3662a8091dc7 [2022-08-31T16:40:04.441Z] ---> 52afe03d26bb [2022-08-31T16:40:04.441Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T16:40:05.040Z] ---> bc952818c4e6 [2022-08-31T16:40:05.040Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:40:05.040Z] ---> Running in 60a6b19b56d1 [2022-08-31T16:41:01.624Z] Removing intermediate container 60a6b19b56d1 [2022-08-31T16:41:01.624Z] ---> 63b363551860 [2022-08-31T16:41:01.624Z] Step 12/13 : COPY . . [2022-08-31T16:41:01.624Z] ---> af25b4253c8a [2022-08-31T16:41:01.624Z] Step 13/13 : RUN ${MAKE} [2022-08-31T16:41:01.624Z] ---> Running in 629425d56923 [2022-08-31T16:41:01.624Z] noop [2022-08-31T16:41:01.624Z] Removing intermediate container 629425d56923 [2022-08-31T16:41:01.624Z] ---> 88ceb280622e [2022-08-31T16:41:01.624Z] Successfully built 88ceb280622e [2022-08-31T16:41:01.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:41:01.997Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T16:41:01.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:41:02.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container [2022-08-31T16:41:02.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T16:41:03.607Z] $ docker top ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:41:04.516Z] + go version [2022-08-31T16:41:04.516Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T16:41:04.545Z] $ docker stop --time=1 ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 [2022-08-31T16:41:06.155Z] $ docker rm -f ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:41:06.745Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T16:41:06.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:41:06.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container [2022-08-31T16:41:07.059Z] $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T16:41:08.322Z] $ docker top aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:41:09.221Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/22 [Pipeline] fileExists [Pipeline] sh [2022-08-31T16:41:09.889Z] + make test [2022-08-31T16:41:09.889Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T16:41:11.876Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T16:42:33.757Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T16:42:42.083Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.5% of statements [2022-08-31T16:42:42.083Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T16:43:08.922Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.281s coverage: 13.8% of statements [2022-08-31T16:43:08.922Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T16:43:08.922Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T16:43:27.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T16:43:27.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T16:43:27.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T16:43:27.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T16:43:27.328Z] $ docker stop --time=1 aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 [2022-08-31T16:43:29.067Z] $ docker rm -f aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T16:43:30.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T16:43:30.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:43:31.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T16:43:31.777Z] + ls -al . [2022-08-31T16:43:31.777Z] total 228 [2022-08-31T16:43:31.777Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 16:41 . [2022-08-31T16:43:31.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:38 .. [2022-08-31T16:43:31.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 16:39 .git [2022-08-31T16:43:31.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:38 .github [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 16:38 .gitignore [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 16:38 .golangci.yml [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 16:38 Attribution.txt [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 16:38 CHANGELOG.md [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 16:38 Dockerfile [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 16:38 GOVERNANCE.md [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 16:38 Jenkinsfile [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 16:38 LICENSE [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 16:38 Makefile [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 16:38 OWNERS.md [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 16:38 README.md [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 16:36 VERSION [2022-08-31T16:43:31.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 16:38 bin [2022-08-31T16:43:31.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:38 cmd [2022-08-31T16:43:31.777Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 16:43 coverage.out [2022-08-31T16:43:31.777Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 16:39 doc [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 16:39 go.mod [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 16:39 go.sum [2022-08-31T16:43:31.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:39 internal [2022-08-31T16:43:31.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:39 snap [2022-08-31T16:43:31.777Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:43:32.202Z] + 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=666e69bd0fee7fd468a9fde2298d0ea16309f433 --label arch=arm64 --label version=0.0.0 . [2022-08-31T16:43:32.825Z] Sending build context to Docker daemon 14.31MB [2022-08-31T16:43:32.825Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:43:32.825Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T16:43:32.825Z] ---> 88ceb280622e [2022-08-31T16:43:32.825Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T16:43:33.104Z] ---> Running in cb57e4e8e0fd [2022-08-31T16:43:33.419Z] Removing intermediate container cb57e4e8e0fd [2022-08-31T16:43:33.419Z] ---> 5bbcb83d8ee9 [2022-08-31T16:43:33.419Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:43:33.419Z] ---> Running in 43e161903f6f [2022-08-31T16:43:33.718Z] Removing intermediate container 43e161903f6f [2022-08-31T16:43:33.718Z] ---> 8a1457209c71 [2022-08-31T16:43:33.718Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:43:33.995Z] ---> Running in 9d1b955d04d8 [2022-08-31T16:43:34.269Z] Removing intermediate container 9d1b955d04d8 [2022-08-31T16:43:34.269Z] ---> ee6d94ed2772 [2022-08-31T16:43:34.269Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:43:34.269Z] ---> Running in eae517cea534 [2022-08-31T16:43:34.546Z] Removing intermediate container eae517cea534 [2022-08-31T16:43:34.546Z] ---> 0a7c05f08d6a [2022-08-31T16:43:34.546Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:43:34.546Z] ---> Running in e46e3b307fb6 [2022-08-31T16:43:36.540Z] Removing intermediate container e46e3b307fb6 [2022-08-31T16:43:36.540Z] ---> 15e497e62f6a [2022-08-31T16:43:36.540Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:43:36.540Z] ---> Running in 2d5f6a2a00af [2022-08-31T16:43:37.519Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:43:38.499Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:43:39.095Z] OK: 221 MiB in 51 packages [2022-08-31T16:43:40.076Z] Removing intermediate container 2d5f6a2a00af [2022-08-31T16:43:40.076Z] ---> a3686c92d999 [2022-08-31T16:43:40.076Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T16:43:40.076Z] ---> Running in dbdf73df7006 [2022-08-31T16:43:40.350Z] Removing intermediate container dbdf73df7006 [2022-08-31T16:43:40.350Z] ---> cad36b90e4db [2022-08-31T16:43:40.350Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T16:43:40.969Z] ---> 4d3cbe3d828f [2022-08-31T16:43:40.969Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:43:40.969Z] ---> Running in 47bdba894efe [2022-08-31T16:43:42.953Z] Removing intermediate container 47bdba894efe [2022-08-31T16:43:42.953Z] ---> fd00157abc64 [2022-08-31T16:43:42.953Z] Step 12/26 : COPY . . [2022-08-31T16:43:44.389Z] ---> 99a37bc62f6c [2022-08-31T16:43:44.389Z] Step 13/26 : RUN ${MAKE} [2022-08-31T16:43:44.389Z] ---> Running in 9f5a82e023b3 [2022-08-31T16:43:45.371Z] 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-31T16:46:07.264Z] Removing intermediate container 9f5a82e023b3 [2022-08-31T16:46:07.264Z] ---> cc49f66f4c8f [2022-08-31T16:46:07.264Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T16:46:07.264Z] 3.16: Pulling from library/alpine [2022-08-31T16:46:07.264Z] 9b18e9b68314: Pulling fs layer [2022-08-31T16:46:07.264Z] 9b18e9b68314: Download complete [2022-08-31T16:46:07.264Z] 9b18e9b68314: Pull complete [2022-08-31T16:46:07.264Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T16:46:07.264Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T16:46:07.264Z] ---> a6215f271958 [2022-08-31T16:46:07.264Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T16:46:07.264Z] ---> Running in 0433b79eed88 [2022-08-31T16:46:07.264Z] Removing intermediate container 0433b79eed88 [2022-08-31T16:46:07.264Z] ---> d2f74ba48fe9 [2022-08-31T16:46:07.264Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T16:46:07.264Z] ---> Running in f3f876d0b957 [2022-08-31T16:46:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:46:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:46:07.264Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T16:46:07.264Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T16:46:07.264Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T16:46:07.264Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T16:46:07.264Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T16:46:07.264Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T16:46:07.264Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T16:46:07.264Z] OK: 8 MiB in 20 packages [2022-08-31T16:46:07.264Z] Removing intermediate container f3f876d0b957 [2022-08-31T16:46:07.264Z] ---> 93433296cf67 [2022-08-31T16:46:07.264Z] Step 17/26 : WORKDIR / [2022-08-31T16:46:07.264Z] ---> Running in f01555e622dd [2022-08-31T16:46:07.264Z] Removing intermediate container f01555e622dd [2022-08-31T16:46:07.264Z] ---> 72e7034dc221 [2022-08-31T16:46:07.264Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T16:46:07.264Z] ---> a69014d5b5b9 [2022-08-31T16:46:07.264Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T16:46:07.264Z] ---> 55a3c80d1a1f [2022-08-31T16:46:07.264Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T16:46:07.264Z] ---> 875b2d237b41 [2022-08-31T16:46:07.264Z] Step 21/26 : EXPOSE 59984 [2022-08-31T16:46:07.264Z] ---> Running in 0b5875ee565d [2022-08-31T16:46:07.264Z] Removing intermediate container 0b5875ee565d [2022-08-31T16:46:07.264Z] ---> 30bbd8562f97 [2022-08-31T16:46:07.264Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T16:46:07.264Z] ---> Running in 100b9d0393f7 [2022-08-31T16:46:07.264Z] Removing intermediate container 100b9d0393f7 [2022-08-31T16:46:07.264Z] ---> 1b9f648f16db [2022-08-31T16:46:07.264Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T16:46:07.264Z] ---> Running in a4dc4b3a9f16 [2022-08-31T16:46:07.264Z] Removing intermediate container a4dc4b3a9f16 [2022-08-31T16:46:07.264Z] ---> b1b7ebe061f7 [2022-08-31T16:46:07.264Z] Step 24/26 : LABEL arch=arm64 [2022-08-31T16:46:07.264Z] ---> Running in 1975f8ecc302 [2022-08-31T16:46:07.264Z] Removing intermediate container 1975f8ecc302 [2022-08-31T16:46:07.264Z] ---> 29fd6c9ccfcb [2022-08-31T16:46:07.264Z] Step 25/26 : LABEL git_sha=666e69bd0fee7fd468a9fde2298d0ea16309f433 [2022-08-31T16:46:07.264Z] ---> Running in 73a030f4f002 [2022-08-31T16:46:07.264Z] Removing intermediate container 73a030f4f002 [2022-08-31T16:46:07.264Z] ---> 5915cbcd5a9a [2022-08-31T16:46:07.264Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T16:46:07.264Z] ---> Running in 430e11054d73 [2022-08-31T16:46:07.264Z] Removing intermediate container 430e11054d73 [2022-08-31T16:46:07.264Z] ---> 818c4230e0c5 [2022-08-31T16:46:07.264Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T16:46:07.264Z] Successfully built 818c4230e0c5 [2022-08-31T16:46:07.264Z] 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-31T16:46:07.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T16:46:07.736Z] [2022-08-31T16:46:07.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:46:08.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T16:46:08.354Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T16:46:08.354Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T16:46:08.354Z] 04944245beec: Pulling fs layer [2022-08-31T16:46:08.354Z] 699f458cf7ca: Pulling fs layer [2022-08-31T16:46:08.354Z] 765212b225bb: Pulling fs layer [2022-08-31T16:46:08.354Z] f23df028b6ca: Pulling fs layer [2022-08-31T16:46:08.354Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T16:46:08.354Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T16:46:08.354Z] 765212b225bb: Waiting [2022-08-31T16:46:08.354Z] f23df028b6ca: Waiting [2022-08-31T16:46:08.354Z] d65c8cfc05b1: Waiting [2022-08-31T16:46:08.354Z] 2437ff75d9bd: Waiting [2022-08-31T16:46:08.354Z] 04944245beec: Verifying Checksum [2022-08-31T16:46:08.354Z] 04944245beec: Download complete [2022-08-31T16:46:08.354Z] 765212b225bb: Verifying Checksum [2022-08-31T16:46:08.354Z] 765212b225bb: Download complete [2022-08-31T16:46:08.354Z] f23df028b6ca: Verifying Checksum [2022-08-31T16:46:08.354Z] f23df028b6ca: Download complete [2022-08-31T16:46:08.354Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T16:46:08.354Z] d65c8cfc05b1: Download complete [2022-08-31T16:46:08.631Z] 699f458cf7ca: Verifying Checksum [2022-08-31T16:46:08.632Z] 699f458cf7ca: Download complete [2022-08-31T16:46:08.904Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T16:46:08.904Z] 8998bd30e6a1: Download complete [2022-08-31T16:46:11.534Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T16:46:11.534Z] 2437ff75d9bd: Download complete [2022-08-31T16:46:12.973Z] 8998bd30e6a1: Pull complete [2022-08-31T16:46:13.573Z] 04944245beec: Pull complete [2022-08-31T16:46:15.022Z] 699f458cf7ca: Pull complete [2022-08-31T16:46:15.304Z] 765212b225bb: Pull complete [2022-08-31T16:46:16.286Z] f23df028b6ca: Pull complete [2022-08-31T16:46:16.286Z] d65c8cfc05b1: Pull complete [2022-08-31T16:46:31.375Z] 2437ff75d9bd: Pull complete [2022-08-31T16:46:31.375Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T16:46:31.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T16:46:31.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:46:31.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container [2022-08-31T16:46:31.733Z] $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T16:46:34.195Z] $ docker top 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:35.098Z] ---> job-cost.sh [2022-08-31T16:46:35.099Z] lf-activate-venv: SKIPPING [2022-08-31T16:46:35.099Z] INFO: No Stack... [2022-08-31T16:46:35.370Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T16:46:36.346Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T16:46:37.014Z] + cat /w/workspace/device-onvif-camera/22/archives/cost.csv [2022-08-31T16:46:37.014Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T16:46:37.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [2022-08-31T16:46:37.082Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] did not exist. Created. [2022-08-31T16:46:37.082Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T16:46:37.764Z] /w/workspace/device-onvif-camera/22@tmp/durable-9a7ea296/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T16:46:38.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T16:46:38.469Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T16:46:38.531Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T16:46:38.538Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T16:46:38.585Z] $ docker stop --time=1 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 [2022-08-31T16:46:40.147Z] $ docker rm -f 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-31T16:46:41.223Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-31T16:46:41.223Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T16:46:41.223Z] total 16 [2022-08-31T16:46:41.223Z] drwxr-xr-x 3 root root 4096 Aug 31 16:38 . [2022-08-31T16:46:41.223Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:38 .. [2022-08-31T16:46:41.223Z] drwxr-xr-x 2 root root 4096 Aug 31 16:38 cost [2022-08-31T16:46:41.223Z] -rw-r--r-- 1 root root 92 Aug 31 16:38 cost.csv [2022-08-31T16:46:41.223Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T16:46:41.223Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T16:46:41.223Z] total 16 [2022-08-31T16:46:41.223Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 16:38 . [2022-08-31T16:46:41.223Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:38 .. [2022-08-31T16:46:41.223Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 16:38 cost [2022-08-31T16:46:41.223Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 31 16:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:41.522Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:42.394Z] ---> package-listing.sh [2022-08-31T16:46:42.395Z] ++ facter osfamily [2022-08-31T16:46:42.395Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T16:46:42.656Z] + OS_FAMILY=debian [2022-08-31T16:46:42.656Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T16:46:42.656Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T16:46:42.656Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T16:46:42.656Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T16:46:42.656Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T16:46:42.656Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T16:46:42.656Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T16:46:42.656Z] + case "${OS_FAMILY}" in [2022-08-31T16:46:42.656Z] + dpkg -l [2022-08-31T16:46:42.656Z] + grep '^ii' [2022-08-31T16:46:42.656Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T16:46:42.656Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T16:46:42.656Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T16:46:42.656Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T16:46:42.656Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-31T16:46:42.656Z] + 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-31T16:46:42.669Z] 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-31T16:46:42.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:46:43.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:46:43.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:46:43.611Z] prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container [2022-08-31T16:46:43.650Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T16:46:43.909Z] $ docker top e070d9ea4df77d2f8c31319b44a72875ef98604abfdca52a9917f93d6ec79802 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:46:44.271Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T16:46:44.562Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T16:46:44.854Z] + ls /var/log/sa-host [2022-08-31T16:46:44.854Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T16:46:45.000Z] provisioning config files... [2022-08-31T16:46:45.010Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6335138713957446606tmp [Pipeline] { [Pipeline] echo [2022-08-31T16:46:45.028Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:45.315Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T16:46:45.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:45.665Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T16:46:45.676Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:46.008Z] ---> sudo-logs.sh [2022-08-31T16:46:46.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T16:46:46.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:46.380Z] ---> job-cost.sh [2022-08-31T16:46:46.380Z] lf-activate-venv: SKIPPING [2022-08-31T16:46:46.380Z] DEBUG: total: 0.2199999988079071 [2022-08-31T16:46:46.380Z] INFO: Retrieving Stack Cost... [2022-08-31T16:46:46.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T16:46:47.211Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T16:46:47.223Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:46:47.506Z] ---> logs-deploy.sh [2022-08-31T16:46:47.507Z] lf-activate-venv: SKIPPING [2022-08-31T16:46:47.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/22 [2022-08-31T16:46:47.507Z] INFO: archiving workspace using pattern(s): [2022-08-31T16:46:48.894Z] Archives upload complete. [2022-08-31T16:46:48.894Z] INFO: archiving logs to Nexus