Pull request #361 opened 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e rather than 5b9f3391b2798b33a50d3f604f890f21257380d7 Obtained Jenkinsfile from c4faddb2a87debb4847eb62e77eafc712bf7e65e 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-ssh10879030663868319639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12495869347074498623.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16160054925587781574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14915299840069727740.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4256433782698798794.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3487419137253287912.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15237’ Running on prd-ubuntu20.04-docker-8c-8g-15240 in /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-361 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 5b9f3391b2798b33a50d3f604f890f21257380d7 Merge succeeded, producing 5b9f3391b2798b33a50d3f604f890f21257380d7 Checking out Revision 5b9f3391b2798b33a50d3f604f890f21257380d7 (PR-361) > git config core.sparsecheckout # timeout=10 > git checkout -f 5b9f3391b2798b33a50d3f604f890f21257380d7 # 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b9f3391b2798b33a50d3f604f890f21257380d7 # timeout=10 Commit message: "docs: add operationId, and do not remove schemas for Get commands" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-11T21:10:52.315Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T21:10:52.494Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T21:10:52.609Z] ========================================================= [2023-05-11T21:10:52.609Z] EdgeX Global Pipelines Version Info [2023-05-11T21:10:52.609Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:10:53.365Z] ------------------- [2023-05-11T21:10:53.365Z] stable info: [2023-05-11T21:10:53.365Z] ------------------- [2023-05-11T21:10:53.365Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T21:10:53.365Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T21:10:53.365Z] Message: update stable to v1.0.249 [2023-05-11T21:10:53.939Z] ------------------- [2023-05-11T21:10:53.939Z] experimental info: [2023-05-11T21:10:53.939Z] ------------------- [2023-05-11T21:10:53.939Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T21:10:53.939Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T21:10:53.939Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T21:10:54.218Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-11T21:10:54.269Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-11T21:10:54.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T21:10:54.358Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T21:10:54.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T21:10:54.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T21:10:54.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T21:10:54.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T21:10:54.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T21:10:54.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T21:10:54.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T21:10:54.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-11T21:10:54.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T21:10:54.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T21:10:54.812Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T21:10:54.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T21:10:54.895Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T21:10:54.939Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T21:10:54.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T21:10:55.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T21:10:55.076Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-11T21:10:55.127Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-05-11T21:10:55.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T21:10:55.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T21:10:55.260Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T21:10:55.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T21:10:55.340Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T21:10:55.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo [2023-05-11T21:10:55.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo [2023-05-11T21:10:55.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo [2023-05-11T21:10:55.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b9f3391b2798b33a50d3f604f890f21257380d7 [Pipeline] echo [2023-05-11T21:10:55.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b9f339 [Pipeline] echo [2023-05-11T21:10:55.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T21:10:55.729Z] provisioning config files... [2023-05-11T21:10:55.743Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config11606001080617053105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:10:56.087Z] ---> docker-login.sh [2023-05-11T21:10:56.087Z] nexus3.edgexfoundry.org:10001 [2023-05-11T21:10:56.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:10:56.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:10:56.921Z] Configure a credential helper to remove this warning. See [2023-05-11T21:10:56.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:10:56.921Z] [2023-05-11T21:10:56.921Z] Login Succeeded [2023-05-11T21:10:56.921Z] nexus3.edgexfoundry.org:10002 [2023-05-11T21:10:56.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:10:56.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:10:56.921Z] Configure a credential helper to remove this warning. See [2023-05-11T21:10:56.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:10:56.921Z] [2023-05-11T21:10:56.921Z] Login Succeeded [2023-05-11T21:10:56.921Z] nexus3.edgexfoundry.org:10003 [2023-05-11T21:10:56.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:10:56.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:10:56.921Z] Configure a credential helper to remove this warning. See [2023-05-11T21:10:56.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:10:56.921Z] [2023-05-11T21:10:56.921Z] Login Succeeded [2023-05-11T21:10:56.921Z] nexus3.edgexfoundry.org:10004 [2023-05-11T21:10:57.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:10:57.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:10:57.183Z] Configure a credential helper to remove this warning. See [2023-05-11T21:10:57.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:10:57.183Z] [2023-05-11T21:10:57.183Z] Login Succeeded [2023-05-11T21:10:57.183Z] docker.io [2023-05-11T21:10:57.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:10:57.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:10:57.755Z] Configure a credential helper to remove this warning. See [2023-05-11T21:10:57.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:10:57.755Z] [2023-05-11T21:10:57.755Z] Login Succeeded [2023-05-11T21:10:57.755Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T21:10:57.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T21:10:58.405Z] + git rev-list -1 --merges 5b9f3391b2798b33a50d3f604f890f21257380d7~1..5b9f3391b2798b33a50d3f604f890f21257380d7 [Pipeline] echo [2023-05-11T21:10:58.479Z] -----------> git rev-list -1 --merges 5b9f3391b2798b33a50d3f604f890f21257380d7~1..5b9f3391b2798b33a50d3f604f890f21257380d7 5b9f3391b2798b33a50d3f604f890f21257380d7 [false] [Pipeline] sh [2023-05-11T21:10:58.788Z] + git log --format=format:%s -1 5b9f3391b2798b33a50d3f604f890f21257380d7 [Pipeline] echo [2023-05-11T21:10:58.821Z] ========================================================= [2023-05-11T21:10:58.821Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T21:10:58.821Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T21:10:59.242Z] + git log --format=format:%s -1 5b9f3391b2798b33a50d3f604f890f21257380d7 [Pipeline] echo [2023-05-11T21:10:59.274Z] [semverPrep] GIT_COMMIT: 5b9f3391b2798b33a50d3f604f890f21257380d7, Commit Message: docs: add operationId, and do not remove schemas for Get commands [Pipeline] echo [2023-05-11T21:10:59.306Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T21:10:59.689Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T21:10:59.689Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T21:10:59.689Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T21:10:59.689Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T21:10:59.689Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-11T21:10:59.689Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-11T21:10:59.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:11:00.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T21:11:00.134Z] [2023-05-11T21:11:00.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:11:00.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T21:11:00.570Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T21:11:00.570Z] b85a868b505f: Pulling fs layer [2023-05-11T21:11:00.570Z] e2be974225ed: Pulling fs layer [2023-05-11T21:11:00.570Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T21:11:00.570Z] 988bab9f4d93: Pulling fs layer [2023-05-11T21:11:00.570Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T21:11:00.570Z] eaf3925da568: Pulling fs layer [2023-05-11T21:11:00.570Z] bab4dde63d76: Pulling fs layer [2023-05-11T21:11:00.570Z] bde34c3a00c8: Pulling fs layer [2023-05-11T21:11:00.570Z] b352a97aabf1: Pulling fs layer [2023-05-11T21:11:00.570Z] 4872d77fe225: Pulling fs layer [2023-05-11T21:11:00.570Z] 5851b861e8e6: Pulling fs layer [2023-05-11T21:11:00.570Z] bab4dde63d76: Waiting [2023-05-11T21:11:00.570Z] bde34c3a00c8: Waiting [2023-05-11T21:11:00.570Z] b352a97aabf1: Waiting [2023-05-11T21:11:00.570Z] 4872d77fe225: Waiting [2023-05-11T21:11:00.570Z] 5851b861e8e6: Waiting [2023-05-11T21:11:00.570Z] 1469e6f7b9e6: Waiting [2023-05-11T21:11:00.570Z] 988bab9f4d93: Waiting [2023-05-11T21:11:00.570Z] eaf3925da568: Waiting [2023-05-11T21:11:00.570Z] e2be974225ed: Verifying Checksum [2023-05-11T21:11:00.570Z] e2be974225ed: Download complete [2023-05-11T21:11:00.570Z] 988bab9f4d93: Verifying Checksum [2023-05-11T21:11:00.570Z] 988bab9f4d93: Download complete [2023-05-11T21:11:00.570Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T21:11:00.570Z] 1469e6f7b9e6: Download complete [2023-05-11T21:11:00.570Z] eaf3925da568: Verifying Checksum [2023-05-11T21:11:00.570Z] eaf3925da568: Download complete [2023-05-11T21:11:00.570Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T21:11:00.570Z] 339a4e72a1f5: Download complete [2023-05-11T21:11:00.570Z] bde34c3a00c8: Verifying Checksum [2023-05-11T21:11:00.570Z] bde34c3a00c8: Download complete [2023-05-11T21:11:00.836Z] b352a97aabf1: Download complete [2023-05-11T21:11:00.836Z] 4872d77fe225: Verifying Checksum [2023-05-11T21:11:00.836Z] 4872d77fe225: Download complete [2023-05-11T21:11:00.836Z] 5851b861e8e6: Verifying Checksum [2023-05-11T21:11:00.836Z] 5851b861e8e6: Download complete [2023-05-11T21:11:00.836Z] b85a868b505f: Verifying Checksum [2023-05-11T21:11:00.836Z] b85a868b505f: Download complete [2023-05-11T21:11:01.096Z] bab4dde63d76: Verifying Checksum [2023-05-11T21:11:01.096Z] bab4dde63d76: Download complete [2023-05-11T21:11:02.034Z] b85a868b505f: Pull complete [2023-05-11T21:11:02.034Z] e2be974225ed: Pull complete [2023-05-11T21:11:02.615Z] 339a4e72a1f5: Pull complete [2023-05-11T21:11:02.616Z] 988bab9f4d93: Pull complete [2023-05-11T21:11:02.880Z] 1469e6f7b9e6: Pull complete [2023-05-11T21:11:03.139Z] eaf3925da568: Pull complete [2023-05-11T21:11:05.051Z] bab4dde63d76: Pull complete [2023-05-11T21:11:05.051Z] bde34c3a00c8: Pull complete [2023-05-11T21:11:05.051Z] b352a97aabf1: Pull complete [2023-05-11T21:11:05.051Z] 4872d77fe225: Pull complete [2023-05-11T21:11:05.051Z] 5851b861e8e6: Pull complete [2023-05-11T21:11:05.051Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T21:11:05.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T21:11:05.051Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:11:05.279Z] prd-ubuntu20.04-docker-8c-8g-15240 does not seem to be running inside a container [2023-05-11T21:11:05.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T21:11:06.490Z] $ docker top efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 -eo pid,comm [2023-05-11T21:11:06.547Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-11T21:11:06.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T21:11:06.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T21:11:06.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T21:11:06.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T21:11:06.793Z] $ docker exec efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 ssh-agent [2023-05-11T21:11:06.914Z] SSH_AUTH_SOCK=/tmp/ssh-nNSkFYnXbqih/agent.32 [2023-05-11T21:11:06.914Z] SSH_AGENT_PID=38 [2023-05-11T21:11:06.922Z] Running ssh-add (command line suppressed) [2023-05-11T21:11:07.016Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_4904980099345180346.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_4904980099345180346.key) [2023-05-11T21:11:07.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T21:11:07.368Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T21:11:07.394Z] $ docker exec --env ******** --env ******** efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 ssh-agent -k [2023-05-11T21:11:07.499Z] unset SSH_AUTH_SOCK; [2023-05-11T21:11:07.500Z] unset SSH_AGENT_PID; [2023-05-11T21:11:07.500Z] echo Agent pid 38 killed; [2023-05-11T21:11:07.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T21:11:07.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T21:11:07.603Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T21:11:07.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T21:11:07.725Z] $ docker exec efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 ssh-agent [2023-05-11T21:11:07.832Z] SSH_AUTH_SOCK=/tmp/ssh-A6DZzYvII2bf/agent.71 [2023-05-11T21:11:07.832Z] SSH_AGENT_PID=77 [2023-05-11T21:11:07.837Z] Running ssh-add (command line suppressed) [2023-05-11T21:11:07.943Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6082482924138702367.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6082482924138702367.key) [2023-05-11T21:11:07.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T21:11:08.295Z] + git semver init [2023-05-11T21:11:08.555Z] 2023-05-11 21:11:08,477 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T21:11:08.555Z] 2023-05-11 21:11:08,478 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-361/.semver [2023-05-11T21:11:08.555Z] 2023-05-11 21:11:08,478 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-361/.semver [2023-05-11T21:11:08.555Z] 2023-05-11 21:11:08,479 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-361/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-361, universal_newlines=False, shell=None, istream=None) [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,391 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-361/.git/info/exclude [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,392 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 with force:False [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,392 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,396 [execute] INFO git cat-file --batch-check [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,404 [execute] INFO git cat-file --batch [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T21:11:09.496Z] 2023-05-11 21:11:09,410 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 [2023-05-11T21:11:09.496Z] 0.0.0 [Pipeline] } [2023-05-11T21:11:09.521Z] $ docker exec --env ******** --env ******** efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 ssh-agent -k [2023-05-11T21:11:09.618Z] unset SSH_AUTH_SOCK; [2023-05-11T21:11:09.618Z] unset SSH_AGENT_PID; [2023-05-11T21:11:09.618Z] echo Agent pid 77 killed; [2023-05-11T21:11:09.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T21:11:10.061Z] + git semver [Pipeline] } [2023-05-11T21:11:10.347Z] $ docker stop --time=1 efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 [2023-05-11T21:11:11.660Z] $ docker rm -f --volumes efd7254da4c5e5f495fd499595a255d5f5bfd8672b801b50405d76d4c6200072 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T21:11:12.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T21:11:12.319Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T21:11:12.336Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T21:11:12.921Z] provisioning config files... [2023-05-11T21:11:12.935Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config7532116077802053977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:11:13.281Z] ---> docker-login.sh [2023-05-11T21:11:13.281Z] nexus3.edgexfoundry.org:10001 [2023-05-11T21:11:13.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:11:13.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:11:13.281Z] Configure a credential helper to remove this warning. See [2023-05-11T21:11:13.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:11:13.281Z] [2023-05-11T21:11:13.281Z] Login Succeeded [2023-05-11T21:11:13.281Z] nexus3.edgexfoundry.org:10002 [2023-05-11T21:11:13.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:11:13.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:11:13.543Z] Configure a credential helper to remove this warning. See [2023-05-11T21:11:13.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:11:13.543Z] [2023-05-11T21:11:13.543Z] Login Succeeded [2023-05-11T21:11:13.543Z] nexus3.edgexfoundry.org:10003 [2023-05-11T21:11:13.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:11:13.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:11:13.543Z] Configure a credential helper to remove this warning. See [2023-05-11T21:11:13.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:11:13.543Z] [2023-05-11T21:11:13.543Z] Login Succeeded [2023-05-11T21:11:13.543Z] nexus3.edgexfoundry.org:10004 [2023-05-11T21:11:13.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:11:13.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:11:13.543Z] Configure a credential helper to remove this warning. See [2023-05-11T21:11:13.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:11:13.543Z] [2023-05-11T21:11:13.543Z] Login Succeeded [2023-05-11T21:11:13.803Z] docker.io [2023-05-11T21:11:13.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:11:14.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:11:14.064Z] Configure a credential helper to remove this warning. See [2023-05-11T21:11:14.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:11:14.064Z] [2023-05-11T21:11:14.064Z] Login Succeeded [2023-05-11T21:11:14.064Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T21:11:14.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T21:11:14.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T21:11:14.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T21:11:14.353Z] ========================================================= [2023-05-11T21:11:14.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T21:11:14.353Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:11:14.803Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-11T21:11:14.803Z] Sending build context to Docker daemon 21.94MB [2023-05-11T21:11:14.803Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T21:11:14.803Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T21:11:15.062Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T21:11:15.062Z] f56be85fc22e: Pulling fs layer [2023-05-11T21:11:15.062Z] 85791d961cd3: Pulling fs layer [2023-05-11T21:11:15.062Z] d694b5ae8c79: Pulling fs layer [2023-05-11T21:11:15.062Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T21:11:15.062Z] 4d19c01a9841: Pulling fs layer [2023-05-11T21:11:15.062Z] 9325e15d5711: Pulling fs layer [2023-05-11T21:11:15.062Z] 556b6ee489ea: Pulling fs layer [2023-05-11T21:11:15.062Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T21:11:15.062Z] 556b6ee489ea: Waiting [2023-05-11T21:11:15.062Z] c5a4b2cf53e6: Waiting [2023-05-11T21:11:15.062Z] 9325e15d5711: Waiting [2023-05-11T21:11:15.062Z] 9f32a84ed3da: Waiting [2023-05-11T21:11:15.062Z] 85791d961cd3: Verifying Checksum [2023-05-11T21:11:15.062Z] 85791d961cd3: Download complete [2023-05-11T21:11:15.062Z] 9f32a84ed3da: Download complete [2023-05-11T21:11:15.062Z] 4d19c01a9841: Verifying Checksum [2023-05-11T21:11:15.062Z] 4d19c01a9841: Download complete [2023-05-11T21:11:15.062Z] f56be85fc22e: Verifying Checksum [2023-05-11T21:11:15.063Z] f56be85fc22e: Download complete [2023-05-11T21:11:15.063Z] 9325e15d5711: Verifying Checksum [2023-05-11T21:11:15.063Z] 9325e15d5711: Download complete [2023-05-11T21:11:15.063Z] f56be85fc22e: Pull complete [2023-05-11T21:11:15.322Z] 85791d961cd3: Pull complete [2023-05-11T21:11:15.581Z] c5a4b2cf53e6: Verifying Checksum [2023-05-11T21:11:15.581Z] c5a4b2cf53e6: Download complete [2023-05-11T21:11:15.581Z] d694b5ae8c79: Verifying Checksum [2023-05-11T21:11:15.581Z] d694b5ae8c79: Download complete [2023-05-11T21:11:15.845Z] 556b6ee489ea: Verifying Checksum [2023-05-11T21:11:15.845Z] 556b6ee489ea: Download complete [2023-05-11T21:11:19.143Z] d694b5ae8c79: Pull complete [2023-05-11T21:11:19.143Z] 9f32a84ed3da: Pull complete [2023-05-11T21:11:19.143Z] 4d19c01a9841: Pull complete [2023-05-11T21:11:19.143Z] 9325e15d5711: Pull complete [2023-05-11T21:11:21.670Z] 556b6ee489ea: Pull complete [2023-05-11T21:11:22.604Z] c5a4b2cf53e6: Pull complete [2023-05-11T21:11:22.604Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T21:11:22.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T21:11:22.604Z] ---> c4be618373d6 [2023-05-11T21:11:22.604Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T21:11:23.984Z] ---> Running in 13389ee2c04a [2023-05-11T21:11:24.244Z] Removing intermediate container 13389ee2c04a [2023-05-11T21:11:24.244Z] ---> 5cfb1ca2ce6f [2023-05-11T21:11:24.244Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T21:11:24.244Z] ---> Running in a584ff167642 [2023-05-11T21:11:24.244Z] Removing intermediate container a584ff167642 [2023-05-11T21:11:24.244Z] ---> 18f1f2cf0278 [2023-05-11T21:11:24.244Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T21:11:24.244Z] ---> Running in 55fb8827d0eb [2023-05-11T21:11:24.504Z] Removing intermediate container 55fb8827d0eb [2023-05-11T21:11:24.504Z] ---> b45d6a8f4763 [2023-05-11T21:11:24.504Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T21:11:24.504Z] ---> Running in 398e9fc18e3b [2023-05-11T21:11:24.504Z] Removing intermediate container 398e9fc18e3b [2023-05-11T21:11:24.504Z] ---> 070a3ee25c2f [2023-05-11T21:11:24.504Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T21:11:24.504Z] ---> Running in 2c92a8ec545a [2023-05-11T21:11:24.504Z] Removing intermediate container 2c92a8ec545a [2023-05-11T21:11:24.504Z] ---> d2287461334f [2023-05-11T21:11:24.504Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T21:11:24.765Z] ---> Running in b1a51f85f8c7 [2023-05-11T21:11:25.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T21:11:25.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T21:11:25.293Z] OK: 265 MiB in 53 packages [2023-05-11T21:11:25.554Z] Removing intermediate container b1a51f85f8c7 [2023-05-11T21:11:25.554Z] ---> f5e31905ab70 [2023-05-11T21:11:25.554Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T21:11:25.554Z] ---> Running in 097bb7dbd9c4 [2023-05-11T21:11:25.814Z] Removing intermediate container 097bb7dbd9c4 [2023-05-11T21:11:25.814Z] ---> 30dcb9e6c25f [2023-05-11T21:11:25.814Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T21:11:25.814Z] ---> 765a599b7b4a [2023-05-11T21:11:25.814Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T21:11:25.814Z] ---> Running in 90a5dcdbb360 [2023-05-11T21:11:27.748Z] Still waiting to schedule task [2023-05-11T21:11:27.749Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15238’ is offline [2023-05-11T21:12:04.574Z] Removing intermediate container 90a5dcdbb360 [2023-05-11T21:12:04.574Z] ---> 23efb8d7c97f [2023-05-11T21:12:04.574Z] Step 12/13 : COPY . . [2023-05-11T21:12:04.574Z] ---> 77d4c49f7301 [2023-05-11T21:12:04.574Z] Step 13/13 : RUN ${MAKE} [2023-05-11T21:12:04.574Z] ---> Running in 4a3a6a457705 [2023-05-11T21:12:04.574Z] noop [2023-05-11T21:12:04.574Z] Removing intermediate container 4a3a6a457705 [2023-05-11T21:12:04.574Z] ---> 3cfc4e52e554 [2023-05-11T21:12:04.574Z] Successfully built 3cfc4e52e554 [2023-05-11T21:12:04.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:12:05.017Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T21:12:05.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:12:05.169Z] prd-ubuntu20.04-docker-8c-8g-15240 does not seem to be running inside a container [2023-05-11T21:12:05.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T21:12:05.578Z] $ docker top d1dd20b5569baac852d970448ca0f1102db3b449f6ffe326b8e48bec674ff177 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T21:12:05.966Z] + go version [2023-05-11T21:12:05.967Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T21:12:06.004Z] $ docker stop --time=1 d1dd20b5569baac852d970448ca0f1102db3b449f6ffe326b8e48bec674ff177 [2023-05-11T21:12:07.264Z] $ docker rm -f --volumes d1dd20b5569baac852d970448ca0f1102db3b449f6ffe326b8e48bec674ff177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:12:07.978Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T21:12:07.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:12:08.132Z] prd-ubuntu20.04-docker-8c-8g-15240 does not seem to be running inside a container [2023-05-11T21:12:08.169Z] $ 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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T21:12:08.500Z] $ docker top 8f6649297138b2497d12cbc4475690ab41f6420fab2250447afd3f5a8168f998 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T21:12:08.900Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] fileExists [Pipeline] sh [2023-05-11T21:12:09.249Z] + make test [2023-05-11T21:12:09.249Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T21:12:14.517Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T21:12:26.710Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T21:12:26.710Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T21:12:28.087Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements [2023-05-11T21:12:28.087Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.216s coverage: 86.5% of statements [2023-05-11T21:12:36.204Z] go vet ./... [2023-05-11T21:12:40.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T21:12:40.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T21:12:40.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T21:12:40.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T21:12:40.471Z] $ docker stop --time=1 8f6649297138b2497d12cbc4475690ab41f6420fab2250447afd3f5a8168f998 [2023-05-11T21:12:42.324Z] $ docker rm -f --volumes 8f6649297138b2497d12cbc4475690ab41f6420fab2250447afd3f5a8168f998 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T21:12:42.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T21:12:42.952Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T21:12:43.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T21:12:44.091Z] + ls -al . [2023-05-11T21:12:44.091Z] total 232 [2023-05-11T21:12:44.091Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:12 . [2023-05-11T21:12:44.091Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:10 .. [2023-05-11T21:12:44.091Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:11 .git [2023-05-11T21:12:44.091Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:10 .github [2023-05-11T21:12:44.091Z] -rw-rw-r-- 1 jenkins jenkins 496 May 11 21:10 .gitignore [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 21:10 .golangci.yml [2023-05-11T21:12:44.092Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:11 .semver [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 11 21:10 Attribution.txt [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 11 21:10 CHANGELOG.md [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 11 21:10 Dockerfile [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 21:10 GOVERNANCE.md [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 739 May 11 21:10 Jenkinsfile [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 21:10 LICENSE [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 11 21:10 Makefile [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 625 May 11 21:10 OWNERS.md [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 11 21:10 README.md [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 21:11 VERSION [2023-05-11T21:12:44.092Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:10 bin [2023-05-11T21:12:44.092Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:10 cmd [2023-05-11T21:12:44.092Z] -rw-r--r-- 1 jenkins jenkins 78459 May 11 21:12 coverage.out [2023-05-11T21:12:44.092Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:10 doc [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 11 21:10 go.mod [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 11 21:10 go.sum [2023-05-11T21:12:44.092Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:10 internal [2023-05-11T21:12:44.092Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:10 snap [2023-05-11T21:12:44.092Z] -rw-rw-r-- 1 jenkins jenkins 236 May 11 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:12:44.481Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5b9f3391b2798b33a50d3f604f890f21257380d7 --label arch=amd64 --label version=0.0.0 . [2023-05-11T21:12:44.481Z] Sending build context to Docker daemon 22.02MB [2023-05-11T21:12:44.481Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T21:12:44.481Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-11T21:12:44.481Z] ---> 3cfc4e52e554 [2023-05-11T21:12:44.481Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-11T21:12:44.740Z] ---> Running in 5b843ca69573 [2023-05-11T21:12:44.740Z] Removing intermediate container 5b843ca69573 [2023-05-11T21:12:44.740Z] ---> 10235f583099 [2023-05-11T21:12:44.740Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T21:12:44.740Z] ---> Running in 2c6488ebe697 [2023-05-11T21:12:44.740Z] Removing intermediate container 2c6488ebe697 [2023-05-11T21:12:44.740Z] ---> 41d3ad9e1db6 [2023-05-11T21:12:44.740Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T21:12:44.740Z] ---> Running in 83806b33e374 [2023-05-11T21:12:45.000Z] Removing intermediate container 83806b33e374 [2023-05-11T21:12:45.000Z] ---> e80a5312341b [2023-05-11T21:12:45.000Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T21:12:45.000Z] ---> Running in 25e680deb445 [2023-05-11T21:12:45.000Z] Removing intermediate container 25e680deb445 [2023-05-11T21:12:45.000Z] ---> 0e7128fa5ba0 [2023-05-11T21:12:45.000Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-11T21:12:45.000Z] ---> Running in 71638419d441 [2023-05-11T21:12:45.000Z] Removing intermediate container 71638419d441 [2023-05-11T21:12:45.000Z] ---> c1fbfe1b025c [2023-05-11T21:12:45.000Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T21:12:45.000Z] ---> Running in 2a1913cb2ac9 [2023-05-11T21:12:45.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T21:12:45.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T21:12:45.780Z] OK: 265 MiB in 53 packages [2023-05-11T21:12:46.040Z] Removing intermediate container 2a1913cb2ac9 [2023-05-11T21:12:46.040Z] ---> 1b3ac392b27e [2023-05-11T21:12:46.040Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-11T21:12:46.040Z] ---> Running in b8b7cd5dfb3d [2023-05-11T21:12:46.040Z] Removing intermediate container b8b7cd5dfb3d [2023-05-11T21:12:46.040Z] ---> 9afc69595462 [2023-05-11T21:12:46.040Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-11T21:12:46.299Z] ---> c1e10d7420c1 [2023-05-11T21:12:46.299Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T21:12:46.299Z] ---> Running in ff3b508653da [2023-05-11T21:12:46.867Z] Removing intermediate container ff3b508653da [2023-05-11T21:12:46.867Z] ---> 761f366eb4a5 [2023-05-11T21:12:46.867Z] Step 12/26 : COPY . . [2023-05-11T21:12:47.435Z] ---> df8cb77b09eb [2023-05-11T21:12:47.435Z] Step 13/26 : RUN ${MAKE} [2023-05-11T21:12:47.435Z] ---> Running in 81a9e90205f3 [2023-05-11T21:12:47.696Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-11T21:13:03.807Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15241 in /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] { [Pipeline] ws [2023-05-11T21:13:03.863Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-11T21:13:03.944Z] The recommended git tool is: git [2023-05-11T21:13:05.812Z] Removing intermediate container 81a9e90205f3 [2023-05-11T21:13:05.812Z] ---> 1d8de47bd637 [2023-05-11T21:13:05.812Z] Step 14/26 : FROM alpine:3.17 [2023-05-11T21:13:05.812Z] 3.17: Pulling from library/alpine [2023-05-11T21:13:06.073Z] f56be85fc22e: Already exists [2023-05-11T21:13:06.073Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T21:13:06.073Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T21:13:06.073Z] ---> 9ed4aefc74f6 [2023-05-11T21:13:06.073Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T21:13:06.073Z] ---> Running in 820971939af7 [2023-05-11T21:13:06.332Z] Removing intermediate container 820971939af7 [2023-05-11T21:13:06.332Z] ---> 3f33220f6c8f [2023-05-11T21:13:06.332Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-11T21:13:06.332Z] ---> Running in ea17ac5eb039 [2023-05-11T21:13:06.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T21:13:06.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T21:13:06.853Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T21:13:06.853Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T21:13:06.853Z] OK: 7 MiB in 16 packages [2023-05-11T21:13:07.429Z] Removing intermediate container ea17ac5eb039 [2023-05-11T21:13:07.429Z] ---> c1ba50da7fa1 [2023-05-11T21:13:07.429Z] Step 17/26 : WORKDIR / [2023-05-11T21:13:07.429Z] ---> Running in 35dbf3871be3 [2023-05-11T21:13:07.429Z] Removing intermediate container 35dbf3871be3 [2023-05-11T21:13:07.429Z] ---> bb13cd499783 [2023-05-11T21:13:07.429Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-11T21:13:07.997Z] ---> 041e6da9c140 [2023-05-11T21:13:07.997Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-11T21:13:07.997Z] ---> 85b91164aeee [2023-05-11T21:13:07.997Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-11T21:13:08.256Z] ---> f948d505cda4 [2023-05-11T21:13:08.256Z] Step 21/26 : EXPOSE 59984 [2023-05-11T21:13:08.256Z] ---> Running in 83f5bc738fc5 [2023-05-11T21:13:08.256Z] Removing intermediate container 83f5bc738fc5 [2023-05-11T21:13:08.256Z] ---> c0cf0966b90e [2023-05-11T21:13:08.256Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-11T21:13:08.256Z] ---> Running in dee5e257d379 [2023-05-11T21:13:08.515Z] Removing intermediate container dee5e257d379 [2023-05-11T21:13:08.515Z] ---> 1b917b9528d8 [2023-05-11T21:13:08.515Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T21:13:08.515Z] ---> Running in 85612de8e03a [2023-05-11T21:13:08.515Z] Removing intermediate container 85612de8e03a [2023-05-11T21:13:08.515Z] ---> fef984231db4 [2023-05-11T21:13:08.515Z] Step 24/26 : LABEL arch=amd64 [2023-05-11T21:13:08.515Z] ---> Running in 28581ff8396d [2023-05-11T21:13:08.774Z] Removing intermediate container 28581ff8396d [2023-05-11T21:13:08.774Z] ---> e5621ae9b68c [2023-05-11T21:13:08.774Z] Step 25/26 : LABEL git_sha=5b9f3391b2798b33a50d3f604f890f21257380d7 [2023-05-11T21:13:08.774Z] ---> Running in 246321ae449e [2023-05-11T21:13:08.774Z] Removing intermediate container 246321ae449e [2023-05-11T21:13:08.774Z] ---> 04df5bab8652 [2023-05-11T21:13:08.774Z] Step 26/26 : LABEL version=0.0.0 [2023-05-11T21:13:08.774Z] ---> Running in 3612c19fb6d5 [2023-05-11T21:13:09.032Z] Removing intermediate container 3612c19fb6d5 [2023-05-11T21:13:09.032Z] ---> abffa02df9a4 [2023-05-11T21:13:09.032Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T21:13:09.032Z] Successfully built abffa02df9a4 [2023-05-11T21:13:09.032Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:13:09.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T21:13:09.879Z] [2023-05-11T21:13:09.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:13:10.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T21:13:10.261Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T21:13:10.261Z] 5eb5b503b376: Pulling fs layer [2023-05-11T21:13:10.261Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T21:13:10.261Z] ec43610c2a17: Pulling fs layer [2023-05-11T21:13:10.261Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T21:13:10.261Z] 33b1e0a273af: Pulling fs layer [2023-05-11T21:13:10.261Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T21:13:10.261Z] 2f39f015ded8: Pulling fs layer [2023-05-11T21:13:10.261Z] 3a2ae6a8a46f: Waiting [2023-05-11T21:13:10.261Z] 33b1e0a273af: Waiting [2023-05-11T21:13:10.261Z] 5d3b04190fa2: Waiting [2023-05-11T21:13:10.261Z] 2f39f015ded8: Waiting [2023-05-11T21:13:10.261Z] 5c69ac0246d0: Download complete [2023-05-11T21:13:10.261Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T21:13:10.261Z] 3a2ae6a8a46f: Download complete [2023-05-11T21:13:10.261Z] 33b1e0a273af: Verifying Checksum [2023-05-11T21:13:10.261Z] 33b1e0a273af: Download complete [2023-05-11T21:13:10.261Z] 5d3b04190fa2: Download complete [2023-05-11T21:13:10.261Z] ec43610c2a17: Verifying Checksum [2023-05-11T21:13:10.261Z] ec43610c2a17: Download complete [2023-05-11T21:13:10.462Z] using credential edgex-jenkins-ssh [2023-05-11T21:13:10.481Z] Cloning the remote Git repository [2023-05-11T21:13:10.520Z] 5eb5b503b376: Verifying Checksum [2023-05-11T21:13:10.520Z] 5eb5b503b376: Download complete [2023-05-11T21:13:11.087Z] 2f39f015ded8: Download complete [2023-05-11T21:13:10.536Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T21:13:10.654Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-11T21:13:10.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T21:13:10.832Z] > git --version # timeout=10 [2023-05-11T21:13:10.864Z] > git --version # 'git version 2.25.1' [2023-05-11T21:13:10.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T21:13:11.030Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T21:13:11.654Z] 5eb5b503b376: Pull complete [2023-05-11T21:13:11.654Z] 5c69ac0246d0: Pull complete [2023-05-11T21:13:12.222Z] ec43610c2a17: Pull complete [2023-05-11T21:13:12.222Z] 3a2ae6a8a46f: Pull complete [2023-05-11T21:13:12.481Z] 33b1e0a273af: Pull complete [2023-05-11T21:13:12.481Z] 5d3b04190fa2: Pull complete [2023-05-11T21:13:13.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T21:13:13.204Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T21:13:14.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T21:13:14.124Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T21:13:14.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T21:13:14.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-11T21:13:14.771Z] Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 5b9f3391b2798b33a50d3f604f890f21257380d7 [2023-05-11T21:13:15.194Z] Merge succeeded, producing 5b9f3391b2798b33a50d3f604f890f21257380d7 [2023-05-11T21:13:15.194Z] Checking out Revision 5b9f3391b2798b33a50d3f604f890f21257380d7 (PR-361) [2023-05-11T21:13:14.794Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T21:13:14.900Z] > git checkout -f 5b9f3391b2798b33a50d3f604f890f21257380d7 # timeout=10 [2023-05-11T21:13:15.097Z] > git remote # timeout=10 [2023-05-11T21:13:15.120Z] > git config --get remote.origin.url # timeout=10 [2023-05-11T21:13:15.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T21:13:15.151Z] > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 [2023-05-11T21:13:15.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-11T21:13:15.204Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T21:13:15.221Z] > git checkout -f 5b9f3391b2798b33a50d3f604f890f21257380d7 # timeout=10 [2023-05-11T21:13:16.664Z] 2f39f015ded8: Pull complete [2023-05-11T21:13:16.664Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T21:13:16.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T21:13:16.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:13:16.888Z] prd-ubuntu20.04-docker-8c-8g-15240 does not seem to be running inside a container [2023-05-11T21:13:16.923Z] $ 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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@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 [2023-05-11T21:13:18.107Z] $ docker top 03958555d9da7bdb704febbf0055b42b8356c748be2336f96f02cbc864171527 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:13:18.554Z] ---> job-cost.sh [2023-05-11T21:13:18.554Z] lf-activate-venv: SKIPPING [2023-05-11T21:13:18.554Z] INFO: No Stack... [2023-05-11T21:13:18.755Z] Commit message: "docs: add operationId, and do not remove schemas for Get commands" [2023-05-11T21:13:18.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T21:13:18.808Z] > git --version # timeout=10 [2023-05-11T21:13:18.819Z] > git --version # 'git version 2.25.1' [2023-05-11T21:13:18.833Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T21:13:19.074Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T21:13:19.261Z] [2023-05-11T21:13:19.261Z] GitHub has been notified of this commit’s build result [2023-05-11T21:13:19.261Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-05-11T21:13:19.388Z] + cut -d, -f6 [2023-05-11T21:13:19.388Z] + cat /w/workspace/undry_device-onvif-camera_PR-361/archives/cost.csv [Pipeline] stage [Pipeline] { (Prep) [Pipeline] lock [2023-05-11T21:13:19.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [2023-05-11T21:13:19.464Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] did not exist. Created. [2023-05-11T21:13:19.464Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T21:13:19.831Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T21:13:19.877Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T21:13:19.914Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T21:13:20.009Z] $ docker stop --time=1 03958555d9da7bdb704febbf0055b42b8356c748be2336f96f02cbc864171527 [2023-05-11T21:13:20.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T21:13:20.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T21:13:20.128Z] Dload Upload Total Spent Left Speed [2023-05-11T21:13:20.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [2023-05-11T21:13:21.168Z] $ docker rm -f --volumes 03958555d9da7bdb704febbf0055b42b8356c748be2336f96f02cbc864171527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T21:13:21.621Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-11T21:13:21.971Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T21:13:21.971Z] + sudo tee /etc/docker/daemon.new [2023-05-11T21:13:21.971Z] { [2023-05-11T21:13:21.971Z] "registry-mirrors": [ [2023-05-11T21:13:21.971Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T21:13:21.971Z] ], [2023-05-11T21:13:21.971Z] "bip": "10.250.0.254/24", [2023-05-11T21:13:21.971Z] "hosts": [ [2023-05-11T21:13:21.971Z] "tcp://0.0.0.0:5555", [2023-05-11T21:13:21.971Z] "unix:///var/run/docker.sock" [2023-05-11T21:13:21.971Z] ], [2023-05-11T21:13:21.971Z] "mtu": 1458, [2023-05-11T21:13:21.971Z] "selinux-enabled": true, [2023-05-11T21:13:21.971Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T21:13:21.971Z] } [Pipeline] sh [2023-05-11T21:13:22.315Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T21:13:22.663Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T21:13:40.983Z] provisioning config files... [2023-05-11T21:13:41.014Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13814475863033463129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:13:41.413Z] ---> docker-login.sh [2023-05-11T21:13:41.413Z] nexus3.edgexfoundry.org:10001 [2023-05-11T21:13:42.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:13:42.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:13:42.003Z] Configure a credential helper to remove this warning. See [2023-05-11T21:13:42.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:13:42.003Z] [2023-05-11T21:13:42.003Z] Login Succeeded [2023-05-11T21:13:42.276Z] nexus3.edgexfoundry.org:10002 [2023-05-11T21:13:42.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:13:42.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:13:42.546Z] Configure a credential helper to remove this warning. See [2023-05-11T21:13:42.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:13:42.546Z] [2023-05-11T21:13:42.546Z] Login Succeeded [2023-05-11T21:13:42.546Z] nexus3.edgexfoundry.org:10003 [2023-05-11T21:13:42.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:13:42.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:13:42.816Z] Configure a credential helper to remove this warning. See [2023-05-11T21:13:42.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:13:42.816Z] [2023-05-11T21:13:42.816Z] Login Succeeded [2023-05-11T21:13:42.816Z] nexus3.edgexfoundry.org:10004 [2023-05-11T21:13:43.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:13:43.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:13:43.355Z] Configure a credential helper to remove this warning. See [2023-05-11T21:13:43.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:13:43.355Z] [2023-05-11T21:13:43.355Z] Login Succeeded [2023-05-11T21:13:43.355Z] docker.io [2023-05-11T21:13:43.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T21:13:43.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T21:13:43.624Z] Configure a credential helper to remove this warning. See [2023-05-11T21:13:43.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T21:13:43.624Z] [2023-05-11T21:13:43.894Z] Login Succeeded [2023-05-11T21:13:43.894Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T21:13:43.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T21:13:44.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T21:13:44.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T21:13:44.388Z] ========================================================= [2023-05-11T21:13:44.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T21:13:44.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:13:44.879Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-11T21:13:45.480Z] Sending build context to Docker daemon 14.43MB [2023-05-11T21:13:45.480Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T21:13:45.480Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T21:13:45.480Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T21:13:45.480Z] c41833b44d91: Pulling fs layer [2023-05-11T21:13:45.480Z] ed15518f5707: Pulling fs layer [2023-05-11T21:13:45.480Z] feae8fd75edb: Pulling fs layer [2023-05-11T21:13:45.480Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T21:13:45.480Z] 3cdef696dda3: Pulling fs layer [2023-05-11T21:13:45.480Z] 2ced38df9373: Pulling fs layer [2023-05-11T21:13:45.480Z] 58f1dce35555: Pulling fs layer [2023-05-11T21:13:45.480Z] 3cdef696dda3: Waiting [2023-05-11T21:13:45.480Z] 242c74f7c9fa: Waiting [2023-05-11T21:13:45.480Z] 2ced38df9373: Waiting [2023-05-11T21:13:45.480Z] 58f1dce35555: Waiting [2023-05-11T21:13:45.480Z] ed15518f5707: Verifying Checksum [2023-05-11T21:13:45.480Z] ed15518f5707: Download complete [2023-05-11T21:13:45.756Z] 242c74f7c9fa: Download complete [2023-05-11T21:13:45.756Z] 3cdef696dda3: Verifying Checksum [2023-05-11T21:13:45.756Z] 3cdef696dda3: Download complete [2023-05-11T21:13:45.757Z] c41833b44d91: Verifying Checksum [2023-05-11T21:13:45.757Z] c41833b44d91: Download complete [2023-05-11T21:13:47.181Z] c41833b44d91: Pull complete [2023-05-11T21:13:47.181Z] 58f1dce35555: Verifying Checksum [2023-05-11T21:13:47.181Z] 58f1dce35555: Download complete [2023-05-11T21:13:47.453Z] ed15518f5707: Pull complete [2023-05-11T21:13:48.431Z] feae8fd75edb: Verifying Checksum [2023-05-11T21:13:48.431Z] feae8fd75edb: Download complete [2023-05-11T21:13:48.431Z] 2ced38df9373: Verifying Checksum [2023-05-11T21:13:48.431Z] 2ced38df9373: Download complete [2023-05-11T21:14:00.762Z] feae8fd75edb: Pull complete [2023-05-11T21:14:00.762Z] 242c74f7c9fa: Pull complete [2023-05-11T21:14:00.762Z] 3cdef696dda3: Pull complete [2023-05-11T21:14:06.129Z] 2ced38df9373: Pull complete [2023-05-11T21:14:08.089Z] 58f1dce35555: Pull complete [2023-05-11T21:14:08.089Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T21:14:08.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T21:14:08.089Z] ---> fadd8f120f05 [2023-05-11T21:14:08.089Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T21:14:10.060Z] ---> Running in 56d1c99ab165 [2023-05-11T21:14:10.329Z] Removing intermediate container 56d1c99ab165 [2023-05-11T21:14:10.329Z] ---> bb5da00ac4e1 [2023-05-11T21:14:10.329Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T21:14:10.329Z] ---> Running in 0aa4a053c854 [2023-05-11T21:14:10.599Z] Removing intermediate container 0aa4a053c854 [2023-05-11T21:14:10.599Z] ---> 56a482ec8d4b [2023-05-11T21:14:10.599Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T21:14:10.868Z] ---> Running in e717137330c1 [2023-05-11T21:14:11.138Z] Removing intermediate container e717137330c1 [2023-05-11T21:14:11.138Z] ---> 7165c7251760 [2023-05-11T21:14:11.138Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T21:14:11.138Z] ---> Running in 71b51c828184 [2023-05-11T21:14:11.413Z] Removing intermediate container 71b51c828184 [2023-05-11T21:14:11.413Z] ---> a88488d4fe4b [2023-05-11T21:14:11.413Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T21:14:11.682Z] ---> Running in e6cba0b06a4e [2023-05-11T21:14:11.952Z] Removing intermediate container e6cba0b06a4e [2023-05-11T21:14:11.952Z] ---> 48320f106b4d [2023-05-11T21:14:11.952Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T21:14:11.952Z] ---> Running in 87c4f4672d04 [2023-05-11T21:14:13.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T21:14:13.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T21:14:15.038Z] OK: 263 MiB in 53 packages [2023-05-11T21:14:18.381Z] Removing intermediate container 87c4f4672d04 [2023-05-11T21:14:18.381Z] ---> ad7d5697ab5d [2023-05-11T21:14:18.381Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T21:14:18.381Z] ---> Running in 73b476636471 [2023-05-11T21:14:18.381Z] Removing intermediate container 73b476636471 [2023-05-11T21:14:18.381Z] ---> b5e48297202b [2023-05-11T21:14:18.381Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T21:14:18.654Z] ---> 8dce1b2a09c1 [2023-05-11T21:14:18.654Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T21:14:18.925Z] ---> Running in 5ae36056f6c1 [2023-05-11T21:15:26.824Z] Removing intermediate container 5ae36056f6c1 [2023-05-11T21:15:26.824Z] ---> 823ff90fb10e [2023-05-11T21:15:26.824Z] Step 12/13 : COPY . . [2023-05-11T21:15:26.824Z] ---> 28815081800c [2023-05-11T21:15:26.824Z] Step 13/13 : RUN ${MAKE} [2023-05-11T21:15:26.824Z] ---> Running in c7b635465e1b [2023-05-11T21:15:26.824Z] noop [2023-05-11T21:15:26.824Z] Removing intermediate container c7b635465e1b [2023-05-11T21:15:26.824Z] ---> a471b3e0e6cc [2023-05-11T21:15:26.824Z] Successfully built a471b3e0e6cc [2023-05-11T21:15:26.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:15:27.288Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T21:15:27.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:15:27.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-15241 does not seem to be running inside a container [2023-05-11T21:15:27.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T21:15:28.799Z] $ docker top 60dd350ccfd07685e32bfa661138d99fee507d8ab134ca1584fb840632b47fc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T21:15:29.676Z] + go version [2023-05-11T21:15:29.676Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T21:15:29.709Z] $ docker stop --time=1 60dd350ccfd07685e32bfa661138d99fee507d8ab134ca1584fb840632b47fc8 [2023-05-11T21:15:31.296Z] $ docker rm -f --volumes 60dd350ccfd07685e32bfa661138d99fee507d8ab134ca1584fb840632b47fc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:15:32.140Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T21:15:32.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:15:32.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-15241 does not seem to be running inside a container [2023-05-11T21:15:32.447Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T21:15:33.641Z] $ docker top a2acff4b182c7c3bbe94f336fc0ad3f89802e1e6169d624b86def359680d1e53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T21:15:34.538Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-11T21:15:35.249Z] + make test [2023-05-11T21:15:35.250Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T21:16:07.508Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T21:18:29.216Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T21:18:29.216Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T21:18:29.216Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.4% of statements [2023-05-11T21:18:37.423Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.369s coverage: 86.5% of statements [2023-05-11T21:18:37.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-11T21:18:37.423Z] go vet ./... [2023-05-11T21:19:09.654Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T21:19:09.654Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T21:19:09.654Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T21:19:09.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T21:19:09.726Z] $ docker stop --time=1 a2acff4b182c7c3bbe94f336fc0ad3f89802e1e6169d624b86def359680d1e53 [2023-05-11T21:19:11.618Z] $ docker rm -f --volumes a2acff4b182c7c3bbe94f336fc0ad3f89802e1e6169d624b86def359680d1e53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T21:19:12.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T21:19:12.908Z] Warning: overwriting stash ‘coverage-report’ [2023-05-11T21:19:13.529Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T21:19:14.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T21:19:14.515Z] + ls -al . [2023-05-11T21:19:14.515Z] total 228 [2023-05-11T21:19:14.515Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 21:15 . [2023-05-11T21:19:14.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:13 .. [2023-05-11T21:19:14.515Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:13 .git [2023-05-11T21:19:14.515Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:13 .github [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 496 May 11 21:13 .gitignore [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 21:13 .golangci.yml [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 11 21:13 Attribution.txt [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 11 21:13 CHANGELOG.md [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 11 21:13 Dockerfile [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 21:13 GOVERNANCE.md [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 739 May 11 21:13 Jenkinsfile [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 21:13 LICENSE [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 11 21:13 Makefile [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 625 May 11 21:13 OWNERS.md [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 11 21:13 README.md [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 21:11 VERSION [2023-05-11T21:19:14.515Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:13 bin [2023-05-11T21:19:14.515Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:13 cmd [2023-05-11T21:19:14.515Z] -rw-r--r-- 1 jenkins jenkins 78459 May 11 21:18 coverage.out [2023-05-11T21:19:14.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:13 doc [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 11 21:13 go.mod [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 11 21:13 go.sum [2023-05-11T21:19:14.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:13 internal [2023-05-11T21:19:14.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:13 snap [2023-05-11T21:19:14.515Z] -rw-rw-r-- 1 jenkins jenkins 236 May 11 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:19:14.944Z] + 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=5b9f3391b2798b33a50d3f604f890f21257380d7 --label arch=arm64 --label version=0.0.0 . [2023-05-11T21:19:15.548Z] Sending build context to Docker daemon 14.51MB [2023-05-11T21:19:15.548Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T21:19:15.548Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-11T21:19:15.548Z] ---> a471b3e0e6cc [2023-05-11T21:19:15.548Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-11T21:19:15.548Z] ---> Running in 00e1ba6cec3e [2023-05-11T21:19:15.819Z] Removing intermediate container 00e1ba6cec3e [2023-05-11T21:19:15.819Z] ---> eb6e34fab6d0 [2023-05-11T21:19:15.819Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T21:19:16.089Z] ---> Running in d2bf49b7ce1e [2023-05-11T21:19:16.359Z] Removing intermediate container d2bf49b7ce1e [2023-05-11T21:19:16.359Z] ---> 10210d1f0935 [2023-05-11T21:19:16.359Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T21:19:16.359Z] ---> Running in d5451fbcb545 [2023-05-11T21:19:16.628Z] Removing intermediate container d5451fbcb545 [2023-05-11T21:19:16.628Z] ---> 097299180443 [2023-05-11T21:19:16.628Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T21:19:16.628Z] ---> Running in 37b6ae6cce27 [2023-05-11T21:19:16.896Z] Removing intermediate container 37b6ae6cce27 [2023-05-11T21:19:16.896Z] ---> bc653426e35f [2023-05-11T21:19:16.896Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-11T21:19:17.164Z] ---> Running in 00b81b10f0a8 [2023-05-11T21:19:17.164Z] Removing intermediate container 00b81b10f0a8 [2023-05-11T21:19:17.164Z] ---> 1d8b0e60a835 [2023-05-11T21:19:17.164Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T21:19:17.433Z] ---> Running in cea86d250e0f [2023-05-11T21:19:18.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T21:19:18.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T21:19:19.956Z] OK: 263 MiB in 53 packages [2023-05-11T21:19:20.924Z] Removing intermediate container cea86d250e0f [2023-05-11T21:19:20.924Z] ---> 760745411e05 [2023-05-11T21:19:20.924Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-11T21:19:20.924Z] ---> Running in 806ff0123e74 [2023-05-11T21:19:21.194Z] Removing intermediate container 806ff0123e74 [2023-05-11T21:19:21.194Z] ---> 03a358ba24ce [2023-05-11T21:19:21.194Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-11T21:19:21.784Z] ---> 0555f7c0e266 [2023-05-11T21:19:21.784Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T21:19:21.784Z] ---> Running in 9be8d1117424 [2023-05-11T21:19:26.048Z] Removing intermediate container 9be8d1117424 [2023-05-11T21:19:26.048Z] ---> 9513a4a93046 [2023-05-11T21:19:26.048Z] Step 12/26 : COPY . . [2023-05-11T21:19:27.455Z] ---> 690b99a4abbc [2023-05-11T21:19:27.455Z] Step 13/26 : RUN ${MAKE} [2023-05-11T21:19:27.455Z] ---> Running in 62fe4e815efa [2023-05-11T21:19:28.415Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-11T21:21:50.125Z] Removing intermediate container 62fe4e815efa [2023-05-11T21:21:50.125Z] ---> 3782af2ba4ef [2023-05-11T21:21:50.125Z] Step 14/26 : FROM alpine:3.17 [2023-05-11T21:21:50.125Z] 3.17: Pulling from library/alpine [2023-05-11T21:21:50.125Z] c41833b44d91: Already exists [2023-05-11T21:21:50.125Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T21:21:50.125Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T21:21:50.125Z] ---> 51e60588ff2c [2023-05-11T21:21:50.125Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T21:21:50.126Z] ---> Running in 73719486ba3d [2023-05-11T21:21:50.126Z] Removing intermediate container 73719486ba3d [2023-05-11T21:21:50.126Z] ---> 623bbe359564 [2023-05-11T21:21:50.126Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-11T21:21:50.126Z] ---> Running in e9005e1385c3 [2023-05-11T21:21:50.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T21:21:50.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T21:21:50.126Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T21:21:50.126Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T21:21:50.126Z] OK: 8 MiB in 16 packages [2023-05-11T21:21:50.126Z] Removing intermediate container e9005e1385c3 [2023-05-11T21:21:50.126Z] ---> cd274cec2d3b [2023-05-11T21:21:50.126Z] Step 17/26 : WORKDIR / [2023-05-11T21:21:50.126Z] ---> Running in 4b6d82661f30 [2023-05-11T21:21:50.126Z] Removing intermediate container 4b6d82661f30 [2023-05-11T21:21:50.126Z] ---> c03ee9a1731f [2023-05-11T21:21:50.126Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-11T21:21:51.089Z] ---> 378718d00684 [2023-05-11T21:21:51.090Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-11T21:21:51.676Z] ---> 88ed82506901 [2023-05-11T21:21:51.676Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-11T21:21:52.262Z] ---> 585c6a8aa706 [2023-05-11T21:21:52.262Z] Step 21/26 : EXPOSE 59984 [2023-05-11T21:21:52.262Z] ---> Running in 82e861255ab0 [2023-05-11T21:21:52.530Z] Removing intermediate container 82e861255ab0 [2023-05-11T21:21:52.530Z] ---> 514b6ca19fda [2023-05-11T21:21:52.530Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-11T21:21:52.530Z] ---> Running in 5b7d15f6cb3a [2023-05-11T21:21:52.805Z] Removing intermediate container 5b7d15f6cb3a [2023-05-11T21:21:52.805Z] ---> d96e866096d4 [2023-05-11T21:21:52.805Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T21:21:53.074Z] ---> Running in b99642a1ee39 [2023-05-11T21:21:53.344Z] Removing intermediate container b99642a1ee39 [2023-05-11T21:21:53.344Z] ---> a34d0d394ab1 [2023-05-11T21:21:53.344Z] Step 24/26 : LABEL arch=arm64 [2023-05-11T21:21:53.344Z] ---> Running in 8175a912d305 [2023-05-11T21:21:53.612Z] Removing intermediate container 8175a912d305 [2023-05-11T21:21:53.612Z] ---> 62eb977d1799 [2023-05-11T21:21:53.612Z] Step 25/26 : LABEL git_sha=5b9f3391b2798b33a50d3f604f890f21257380d7 [2023-05-11T21:21:53.880Z] ---> Running in 798f05b9c8ec [2023-05-11T21:21:54.148Z] Removing intermediate container 798f05b9c8ec [2023-05-11T21:21:54.148Z] ---> 558f108cc78e [2023-05-11T21:21:54.148Z] Step 26/26 : LABEL version=0.0.0 [2023-05-11T21:21:54.148Z] ---> Running in 17a181e9f3a4 [2023-05-11T21:21:54.416Z] Removing intermediate container 17a181e9f3a4 [2023-05-11T21:21:54.416Z] ---> 962827e4776e [2023-05-11T21:21:54.416Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T21:21:54.416Z] Successfully built 962827e4776e [2023-05-11T21:21:54.416Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:21:55.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T21:21:55.249Z] [2023-05-11T21:21:55.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:21:55.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T21:21:55.656Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T21:21:55.656Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T21:21:55.656Z] 04944245beec: Pulling fs layer [2023-05-11T21:21:55.656Z] 699f458cf7ca: Pulling fs layer [2023-05-11T21:21:55.656Z] 765212b225bb: Pulling fs layer [2023-05-11T21:21:55.656Z] f23df028b6ca: Pulling fs layer [2023-05-11T21:21:55.656Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T21:21:55.656Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T21:21:55.656Z] f23df028b6ca: Waiting [2023-05-11T21:21:55.656Z] 765212b225bb: Waiting [2023-05-11T21:21:55.656Z] d65c8cfc05b1: Waiting [2023-05-11T21:21:55.925Z] 04944245beec: Verifying Checksum [2023-05-11T21:21:55.925Z] 04944245beec: Download complete [2023-05-11T21:21:55.925Z] 765212b225bb: Verifying Checksum [2023-05-11T21:21:55.925Z] 765212b225bb: Download complete [2023-05-11T21:21:55.925Z] f23df028b6ca: Download complete [2023-05-11T21:21:55.925Z] d65c8cfc05b1: Verifying Checksum [2023-05-11T21:21:55.925Z] d65c8cfc05b1: Download complete [2023-05-11T21:21:55.925Z] 699f458cf7ca: Verifying Checksum [2023-05-11T21:21:55.925Z] 699f458cf7ca: Download complete [2023-05-11T21:21:56.508Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T21:21:56.508Z] 8998bd30e6a1: Download complete [2023-05-11T21:21:58.476Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T21:21:58.476Z] 2437ff75d9bd: Download complete [2023-05-11T21:22:00.433Z] 8998bd30e6a1: Pull complete [2023-05-11T21:22:00.702Z] 04944245beec: Pull complete [2023-05-11T21:22:04.046Z] 699f458cf7ca: Pull complete [2023-05-11T21:22:04.046Z] 765212b225bb: Pull complete [2023-05-11T21:22:04.632Z] f23df028b6ca: Pull complete [2023-05-11T21:22:04.632Z] d65c8cfc05b1: Pull complete [2023-05-11T21:22:19.630Z] 2437ff75d9bd: Pull complete [2023-05-11T21:22:19.630Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T21:22:19.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T21:22:19.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:22:19.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-15241 does not seem to be running inside a container [2023-05-11T21:22:20.026Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-11T21:22:22.643Z] $ docker top 549c71817e419dbb7b20d01c1b972a53f898706617971aeec9400155a451dd8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:23.547Z] ---> job-cost.sh [2023-05-11T21:22:23.547Z] lf-activate-venv: SKIPPING [2023-05-11T21:22:23.547Z] INFO: No Stack... [2023-05-11T21:22:24.130Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T21:22:25.093Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T21:22:25.755Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-11T21:22:25.755Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T21:22:25.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [2023-05-11T21:22:25.841Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] did not exist. Created. [2023-05-11T21:22:25.842Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T21:22:26.571Z] /w/workspace/device-onvif-camera/1@tmp/durable-913a9f8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T21:22:27.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T21:22:27.291Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T21:22:27.348Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T21:22:27.362Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T21:22:27.437Z] $ docker stop --time=1 549c71817e419dbb7b20d01c1b972a53f898706617971aeec9400155a451dd8b [2023-05-11T21:22:30.339Z] $ docker rm -f --volumes 549c71817e419dbb7b20d01c1b972a53f898706617971aeec9400155a451dd8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-11T21:22:31.350Z] provisioning config files... [2023-05-11T21:22:31.364Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config17623144131641952653tmp [Pipeline] { [Pipeline] sh [2023-05-11T21:22:31.705Z] + set +x [2023-05-11T21:22:31.705Z] + curl -s https://codecov.io/bash [2023-05-11T21:22:31.705Z] + bash -s -- [2023-05-11T21:22:31.705Z] [2023-05-11T21:22:31.705Z] _____ _ [2023-05-11T21:22:31.705Z] / ____| | | [2023-05-11T21:22:31.705Z] | | ___ __| | ___ ___ _____ __ [2023-05-11T21:22:31.705Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-11T21:22:31.705Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-11T21:22:31.705Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-11T21:22:31.705Z] Bash-1.0.6 [2023-05-11T21:22:31.705Z] [2023-05-11T21:22:31.705Z] [2023-05-11T21:22:31.705Z] ==> git version 2.25.1 found [2023-05-11T21:22:31.705Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-11T21:22:31.705Z] Release-Date: 2020-01-08 [2023-05-11T21:22:31.705Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-11T21:22:31.705Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-11T21:22:31.705Z] ==> Jenkins CI detected. [2023-05-11T21:22:31.705Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-361 [2023-05-11T21:22:31.705Z] project root: . [2023-05-11T21:22:31.705Z] --> token set from env [2023-05-11T21:22:31.705Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-11T21:22:31.705Z] ==> Running gcov in . (disable via -X gcov) [2023-05-11T21:22:31.705Z] ==> Python coveragepy not found [2023-05-11T21:22:31.705Z] ==> Searching for coverage reports in: [2023-05-11T21:22:31.705Z] + . [2023-05-11T21:22:31.705Z] -> Found 1 reports [2023-05-11T21:22:31.705Z] ==> Detecting git/mercurial file structure [2023-05-11T21:22:31.705Z] ==> Reading reports [2023-05-11T21:22:31.705Z] + ./coverage.out bytes=78459 [2023-05-11T21:22:31.968Z] ==> Appending adjustments [2023-05-11T21:22:31.968Z] https://docs.codecov.io/docs/fixing-reports [2023-05-11T21:22:31.968Z] + Found adjustments [2023-05-11T21:22:31.968Z] ==> Gzipping contents [2023-05-11T21:22:31.968Z] 12K /tmp/codecov.7F0mIv.gz [2023-05-11T21:22:31.968Z] ==> Uploading reports [2023-05-11T21:22:31.968Z] url: https://codecov.io [2023-05-11T21:22:31.968Z] query: branch=PR-361&commit=5b9f3391b2798b33a50d3f604f890f21257380d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= [2023-05-11T21:22:31.968Z] -> Pinging Codecov [2023-05-11T21:22:31.968Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-361&commit=5b9f3391b2798b33a50d3f604f890f21257380d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= [2023-05-11T21:22:32.228Z] -> Uploading to [2023-05-11T21:22:32.228Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/5b9f3391b2798b33a50d3f604f890f21257380d7/9f149c09-536f-4d12-a942-574a2d5375c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T212232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2af3a6dac1a8251898aa46c011b4d3dd0aba48cd5f91fed73087776bf4ae4a5 [2023-05-11T21:22:32.229Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T21:22:32.229Z] Dload Upload Total Spent Left Speed [2023-05-11T21:22:32.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 38955 --:--:-- --:--:-- --:--:-- 38955 [2023-05-11T21:22:32.489Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5b9f3391b2798b33a50d3f604f890f21257380d7 [Pipeline] } [2023-05-11T21:22:32.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-11T21:22:34.316Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-361/archives ] [2023-05-11T21:22:34.317Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives [2023-05-11T21:22:34.317Z] total 16 [2023-05-11T21:22:34.317Z] drwxr-xr-x 3 root root 4096 May 11 21:13 . [2023-05-11T21:22:34.317Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 21:13 .. [2023-05-11T21:22:34.317Z] drwxr-xr-x 2 root root 4096 May 11 21:13 cost [2023-05-11T21:22:34.317Z] -rw-r--r-- 1 root root 91 May 11 21:13 cost.csv [2023-05-11T21:22:34.317Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-361/archives [2023-05-11T21:22:34.317Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives [2023-05-11T21:22:34.317Z] total 16 [2023-05-11T21:22:34.317Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:13 . [2023-05-11T21:22:34.317Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 21:13 .. [2023-05-11T21:22:34.317Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 21:13 cost [2023-05-11T21:22:34.317Z] -rw-r--r-- 1 jenkins jenkins 91 May 11 21:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:34.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:35.541Z] ---> package-listing.sh [2023-05-11T21:22:35.541Z] ++ facter osfamily [2023-05-11T21:22:35.541Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T21:22:35.802Z] + OS_FAMILY=debian [2023-05-11T21:22:35.802Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-361 [2023-05-11T21:22:35.802Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T21:22:35.802Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T21:22:35.802Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T21:22:35.802Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T21:22:35.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' [2023-05-11T21:22:35.802Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T21:22:35.802Z] + case "${OS_FAMILY}" in [2023-05-11T21:22:35.802Z] + grep '^ii' [2023-05-11T21:22:35.802Z] + dpkg -l [2023-05-11T21:22:35.802Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T21:22:35.802Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T21:22:35.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T21:22:35.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' [2023-05-11T21:22:35.802Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-361/archives/ [2023-05-11T21:22:35.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-361/archives/ [Pipeline] echo [2023-05-11T21:22:35.840Z] 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-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-11T21:22:36.134Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T21:22:36.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T21:22:36.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T21:22:36.941Z] prd-ubuntu20.04-docker-8c-8g-15240 does not seem to be running inside a container [2023-05-11T21:22:36.981Z] $ 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-361/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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T21:22:37.227Z] $ docker top da11bfd049715e0e188a1f9baf0f2fa8df20f7438735ef6301c48a67284ab0e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T21:22:37.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T21:22:37.929Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T21:22:38.248Z] + ls /var/log/sa-host [2023-05-11T21:22:38.248Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T21:22:38.388Z] provisioning config files... [2023-05-11T21:22:38.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config10280780999803384511tmp [Pipeline] { [Pipeline] echo [2023-05-11T21:22:38.448Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:38.764Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T21:22:38.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:39.190Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T21:22:39.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:39.535Z] ---> sudo-logs.sh [2023-05-11T21:22:39.535Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T21:22:39.622Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:39.936Z] ---> job-cost.sh [2023-05-11T21:22:39.936Z] lf-activate-venv: SKIPPING [2023-05-11T21:22:39.936Z] DEBUG: total: 0.2199999988079071 [2023-05-11T21:22:39.936Z] INFO: Retrieving Stack Cost... [2023-05-11T21:22:40.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T21:22:40.766Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T21:22:40.806Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T21:22:41.117Z] ---> logs-deploy.sh [2023-05-11T21:22:41.117Z] lf-activate-venv: SKIPPING [2023-05-11T21:22:41.117Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-361/1 [2023-05-11T21:22:41.117Z] INFO: archiving workspace using pattern(s): [2023-05-11T21:22:42.068Z] Archives upload complete. [2023-05-11T21:22:42.068Z] INFO: archiving logs to Nexus