Pull request #151 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 87f15e26a71a8026a682f6867a4ab9a3284585c9 rather than ab7cff980584a56015055abd5ef295af6d1dd056 Obtained Jenkinsfile from 87f15e26a71a8026a682f6867a4ab9a3284585c9 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-ssh3069557267443213208.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1179049306677447700.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh 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-151/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-151/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12846105109212115852.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-151/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3067105222398684840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh1564197047067033412.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-151/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-151/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5066594967565514561.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24355’ Running on prd-ubuntu20.04-docker-8c-8g-24359 in /w/workspace/undry_device-onvif-camera_PR-151 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit ab7cff980584a56015055abd5ef295af6d1dd056 Merge succeeded, producing a3731ada79d8107c5d30ecfa2e9fd62d543da148 Checking out Revision a3731ada79d8107c5d30ecfa2e9fd62d543da148 (PR-151) > 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/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab7cff980584a56015055abd5ef295af6d1dd056 # 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 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3731ada79d8107c5d30ecfa2e9fd62d543da148 # timeout=10 Commit message: "Merge commit '87f15e26a71a8026a682f6867a4ab9a3284585c9' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-01T20:47:32.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-01T20:47:32.200Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-01T20:47:32.286Z] ========================================================= [2022-09-01T20:47:32.286Z] EdgeX Global Pipelines Version Info [2022-09-01T20:47:32.286Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:47:33.088Z] ------------------- [2022-09-01T20:47:33.088Z] stable info: [2022-09-01T20:47:33.088Z] ------------------- [2022-09-01T20:47:33.088Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-01T20:47:33.088Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T20:47:33.088Z] Message: update stable to v1.0.239 [2022-09-01T20:47:33.661Z] ------------------- [2022-09-01T20:47:33.661Z] experimental info: [2022-09-01T20:47:33.661Z] ------------------- [2022-09-01T20:47:33.661Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-01T20:47:33.661Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T20:47:33.661Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-01T20:47:34.055Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-01T20:47:34.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-01T20:47:34.128Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-01T20:47:34.169Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-01T20:47:34.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-01T20:47:34.246Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-01T20:47:34.285Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-01T20:47:34.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-01T20:47:34.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-01T20:47:34.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-01T20:47:34.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-01T20:47:34.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-01T20:47:34.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-01T20:47:34.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-01T20:47:34.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T20:47:34.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T20:47:34.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T20:47:34.743Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T20:47:34.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-01T20:47:34.823Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-01T20:47:34.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-01T20:47:34.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-01T20:47:34.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-01T20:47:34.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-01T20:47:35.027Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-01T20:47:35.064Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-01T20:47:35.102Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-01T20:47:35.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo [2022-09-01T20:47:35.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo [2022-09-01T20:47:35.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo [2022-09-01T20:47:35.277Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3731ada79d8107c5d30ecfa2e9fd62d543da148 [Pipeline] echo [2022-09-01T20:47:35.320Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3731ad [Pipeline] echo [2022-09-01T20:47:35.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T20:47:35.489Z] provisioning config files... [2022-09-01T20:47:35.509Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-151@tmp/config3801280513753686725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:47:35.847Z] ---> docker-login.sh [2022-09-01T20:47:35.847Z] nexus3.edgexfoundry.org:10001 [2022-09-01T20:47:36.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:36.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:36.110Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:36.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:36.110Z] [2022-09-01T20:47:36.110Z] Login Succeeded [2022-09-01T20:47:36.110Z] nexus3.edgexfoundry.org:10002 [2022-09-01T20:47:36.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:36.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:36.369Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:36.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:36.369Z] [2022-09-01T20:47:36.369Z] Login Succeeded [2022-09-01T20:47:36.369Z] nexus3.edgexfoundry.org:10003 [2022-09-01T20:47:36.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:36.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:36.369Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:36.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:36.369Z] [2022-09-01T20:47:36.369Z] Login Succeeded [2022-09-01T20:47:36.369Z] nexus3.edgexfoundry.org:10004 [2022-09-01T20:47:36.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:36.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:36.630Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:36.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:36.630Z] [2022-09-01T20:47:36.630Z] Login Succeeded [2022-09-01T20:47:36.630Z] docker.io [2022-09-01T20:47:36.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:37.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:37.209Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:37.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:37.209Z] [2022-09-01T20:47:37.209Z] Login Succeeded [2022-09-01T20:47:37.209Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T20:47:37.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-01T20:47:37.862Z] + git rev-list -1 --merges a3731ada79d8107c5d30ecfa2e9fd62d543da148~1..a3731ada79d8107c5d30ecfa2e9fd62d543da148 [Pipeline] echo [2022-09-01T20:47:37.912Z] -----------> git rev-list -1 --merges a3731ada79d8107c5d30ecfa2e9fd62d543da148~1..a3731ada79d8107c5d30ecfa2e9fd62d543da148 a3731ada79d8107c5d30ecfa2e9fd62d543da148 [2022-09-01T20:47:37.912Z] a3731ada79d8107c5d30ecfa2e9fd62d543da148 [false] [Pipeline] sh [2022-09-01T20:47:38.229Z] + git log --format=format:%s -1 a3731ada79d8107c5d30ecfa2e9fd62d543da148 [Pipeline] echo [2022-09-01T20:47:38.263Z] ========================================================= [2022-09-01T20:47:38.263Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-01T20:47:38.263Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T20:47:38.710Z] + git log --format=format:%s -1 a3731ada79d8107c5d30ecfa2e9fd62d543da148 [Pipeline] echo [2022-09-01T20:47:38.742Z] [semverPrep] GIT_COMMIT: a3731ada79d8107c5d30ecfa2e9fd62d543da148, Commit Message: Merge commit '87f15e26a71a8026a682f6867a4ab9a3284585c9' into HEAD [Pipeline] echo [2022-09-01T20:47:38.774Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-01T20:47:39.180Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-01T20:47:39.180Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-01T20:47:39.180Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-01T20:47:39.180Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-01T20:47:39.180Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-01T20:47:39.180Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-01T20:47:39.180Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:47:39.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T20:47:39.675Z] [2022-09-01T20:47:39.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:47:40.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T20:47:40.057Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-01T20:47:40.057Z] b85a868b505f: Pulling fs layer [2022-09-01T20:47:40.057Z] e2be974225ed: Pulling fs layer [2022-09-01T20:47:40.057Z] 339a4e72a1f5: Pulling fs layer [2022-09-01T20:47:40.057Z] 988bab9f4d93: Pulling fs layer [2022-09-01T20:47:40.057Z] 1469e6f7b9e6: Pulling fs layer [2022-09-01T20:47:40.057Z] eaf3925da568: Pulling fs layer [2022-09-01T20:47:40.057Z] bab4dde63d76: Pulling fs layer [2022-09-01T20:47:40.057Z] bde34c3a00c8: Pulling fs layer [2022-09-01T20:47:40.057Z] b352a97aabf1: Pulling fs layer [2022-09-01T20:47:40.057Z] 4872d77fe225: Pulling fs layer [2022-09-01T20:47:40.057Z] 5851b861e8e6: Pulling fs layer [2022-09-01T20:47:40.057Z] 988bab9f4d93: Waiting [2022-09-01T20:47:40.057Z] 1469e6f7b9e6: Waiting [2022-09-01T20:47:40.057Z] b352a97aabf1: Waiting [2022-09-01T20:47:40.057Z] eaf3925da568: Waiting [2022-09-01T20:47:40.057Z] 4872d77fe225: Waiting [2022-09-01T20:47:40.057Z] bab4dde63d76: Waiting [2022-09-01T20:47:40.057Z] 5851b861e8e6: Waiting [2022-09-01T20:47:40.057Z] bde34c3a00c8: Waiting [2022-09-01T20:47:40.057Z] e2be974225ed: Verifying Checksum [2022-09-01T20:47:40.057Z] e2be974225ed: Download complete [2022-09-01T20:47:40.057Z] 988bab9f4d93: Verifying Checksum [2022-09-01T20:47:40.057Z] 988bab9f4d93: Download complete [2022-09-01T20:47:40.057Z] 1469e6f7b9e6: Verifying Checksum [2022-09-01T20:47:40.057Z] 1469e6f7b9e6: Download complete [2022-09-01T20:47:40.321Z] eaf3925da568: Verifying Checksum [2022-09-01T20:47:40.321Z] eaf3925da568: Download complete [2022-09-01T20:47:40.321Z] 339a4e72a1f5: Verifying Checksum [2022-09-01T20:47:40.321Z] 339a4e72a1f5: Download complete [2022-09-01T20:47:40.321Z] bde34c3a00c8: Download complete [2022-09-01T20:47:40.321Z] b352a97aabf1: Verifying Checksum [2022-09-01T20:47:40.321Z] b352a97aabf1: Download complete [2022-09-01T20:47:40.321Z] 4872d77fe225: Verifying Checksum [2022-09-01T20:47:40.321Z] 4872d77fe225: Download complete [2022-09-01T20:47:40.321Z] 5851b861e8e6: Verifying Checksum [2022-09-01T20:47:40.321Z] 5851b861e8e6: Download complete [2022-09-01T20:47:40.321Z] b85a868b505f: Download complete [2022-09-01T20:47:40.583Z] bab4dde63d76: Verifying Checksum [2022-09-01T20:47:40.583Z] bab4dde63d76: Download complete [2022-09-01T20:47:41.524Z] b85a868b505f: Pull complete [2022-09-01T20:47:41.788Z] e2be974225ed: Pull complete [2022-09-01T20:47:42.358Z] 339a4e72a1f5: Pull complete [2022-09-01T20:47:42.358Z] 988bab9f4d93: Pull complete [2022-09-01T20:47:42.929Z] 1469e6f7b9e6: Pull complete [2022-09-01T20:47:42.929Z] eaf3925da568: Pull complete [2022-09-01T20:47:44.840Z] bab4dde63d76: Pull complete [2022-09-01T20:47:44.840Z] bde34c3a00c8: Pull complete [2022-09-01T20:47:45.102Z] b352a97aabf1: Pull complete [2022-09-01T20:47:45.102Z] 4872d77fe225: Pull complete [2022-09-01T20:47:45.102Z] 5851b861e8e6: Pull complete [2022-09-01T20:47:45.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-01T20:47:45.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T20:47:45.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:47:45.344Z] prd-ubuntu20.04-docker-8c-8g-24359 does not seem to be running inside a container [2022-09-01T20:47:45.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-151 -v /w/workspace/undry_device-onvif-camera_PR-151:/w/workspace/undry_device-onvif-camera_PR-151:rw,z -v /w/workspace/undry_device-onvif-camera_PR-151@tmp:/w/workspace/undry_device-onvif-camera_PR-151@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-01T20:47:47.635Z] $ docker top 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 -eo pid,comm [2022-09-01T20:47:47.708Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-01T20:47:47.708Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-01T20:47:47.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T20:47:47.826Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T20:47:47.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T20:47:47.979Z] $ docker exec 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 ssh-agent [2022-09-01T20:47:48.111Z] SSH_AUTH_SOCK=/tmp/ssh-cTrcjsvAmsCv/agent.33 [2022-09-01T20:47:48.111Z] SSH_AGENT_PID=39 [2022-09-01T20:47:48.117Z] Running ssh-add (command line suppressed) [2022-09-01T20:47:48.246Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-151@tmp/private_key_6073142863187101523.key (/w/workspace/undry_device-onvif-camera_PR-151@tmp/private_key_6073142863187101523.key) [2022-09-01T20:47:48.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T20:47:48.593Z] + git tag --points-at HEAD [Pipeline] } [2022-09-01T20:47:48.627Z] $ docker exec --env ******** --env ******** 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 ssh-agent -k [2022-09-01T20:47:48.736Z] unset SSH_AUTH_SOCK; [2022-09-01T20:47:48.737Z] unset SSH_AGENT_PID; [2022-09-01T20:47:48.737Z] echo Agent pid 39 killed; [2022-09-01T20:47:48.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-01T20:47:48.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T20:47:48.837Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T20:47:48.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T20:47:48.982Z] $ docker exec 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 ssh-agent [2022-09-01T20:47:49.122Z] SSH_AUTH_SOCK=/tmp/ssh-q0Q5humBesO2/agent.71 [2022-09-01T20:47:49.122Z] SSH_AGENT_PID=77 [2022-09-01T20:47:49.128Z] Running ssh-add (command line suppressed) [2022-09-01T20:47:49.250Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-151@tmp/private_key_5420043579763623139.key (/w/workspace/undry_device-onvif-camera_PR-151@tmp/private_key_5420043579763623139.key) [2022-09-01T20:47:49.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T20:47:49.599Z] + git semver init [2022-09-01T20:47:49.860Z] 2022-09-01 20:47:49,793 [run_init] DEBUG init version:0.0.0 force:False [2022-09-01T20:47:49.860Z] 2022-09-01 20:47:49,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-151/.semver [2022-09-01T20:47:49.860Z] 2022-09-01 20:47:49,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-151/.semver [2022-09-01T20:47:49.860Z] 2022-09-01 20:47:49,794 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-151/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-151, universal_newlines=False, shell=None, istream=None) [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,553 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-151/.git/info/exclude [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-151/.semver/PR-151 with force:False [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,554 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-151/.semver/PR-151 [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,558 [execute] INFO git cat-file --batch-check [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-151/.semver, universal_newlines=False, shell=None, istream=) [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,565 [execute] INFO git cat-file --batch [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-151/.semver, universal_newlines=False, shell=None, istream=) [2022-09-01T20:47:50.803Z] 2022-09-01 20:47:50,572 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-151/.semver/PR-151 [2022-09-01T20:47:50.803Z] 0.0.0 [Pipeline] } [2022-09-01T20:47:50.835Z] $ docker exec --env ******** --env ******** 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 ssh-agent -k [2022-09-01T20:47:50.952Z] unset SSH_AUTH_SOCK; [2022-09-01T20:47:50.952Z] unset SSH_AGENT_PID; [2022-09-01T20:47:50.952Z] echo Agent pid 77 killed; [2022-09-01T20:47:50.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-01T20:47:51.373Z] + git semver [Pipeline] } [2022-09-01T20:47:51.665Z] $ docker stop --time=1 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 [2022-09-01T20:47:52.971Z] $ docker rm -f 010ad61aff487bb0fa8aad1adaaae2137b4874bb6af0765ee61ee93d77664898 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T20:47:53.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-01T20:47:53.705Z] Stashed 1 file(s) [Pipeline] echo [2022-09-01T20:47:53.723Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T20:47:54.300Z] provisioning config files... [2022-09-01T20:47:54.310Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-151@tmp/config2966108894334855397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:47:54.662Z] ---> docker-login.sh [2022-09-01T20:47:54.663Z] nexus3.edgexfoundry.org:10001 [2022-09-01T20:47:54.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:54.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:54.663Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:54.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:54.663Z] [2022-09-01T20:47:54.663Z] Login Succeeded [2022-09-01T20:47:54.663Z] nexus3.edgexfoundry.org:10002 [2022-09-01T20:47:54.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:54.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:54.926Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:54.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:54.926Z] [2022-09-01T20:47:54.926Z] Login Succeeded [2022-09-01T20:47:54.926Z] nexus3.edgexfoundry.org:10003 [2022-09-01T20:47:54.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:55.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:55.187Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:55.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:55.187Z] [2022-09-01T20:47:55.187Z] Login Succeeded [2022-09-01T20:47:55.187Z] nexus3.edgexfoundry.org:10004 [2022-09-01T20:47:55.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:55.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:55.187Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:55.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:55.187Z] [2022-09-01T20:47:55.187Z] Login Succeeded [2022-09-01T20:47:55.187Z] docker.io [2022-09-01T20:47:55.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:47:55.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:47:55.715Z] Configure a credential helper to remove this warning. See [2022-09-01T20:47:55.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:47:55.715Z] [2022-09-01T20:47:55.715Z] Login Succeeded [2022-09-01T20:47:55.715Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T20:47:55.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T20:47:55.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T20:47:55.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T20:47:55.994Z] ========================================================= [2022-09-01T20:47:55.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-01T20:47:55.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:47:56.467Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-01T20:47:56.467Z] Sending build context to Docker daemon 20.65MB [2022-09-01T20:47:56.467Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T20:47:56.467Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T20:47:56.467Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-01T20:47:56.467Z] 2408cc74d12b: Pulling fs layer [2022-09-01T20:47:56.467Z] ea60b727a1ce: Pulling fs layer [2022-09-01T20:47:56.467Z] 30c4a7721957: Pulling fs layer [2022-09-01T20:47:56.467Z] 370296b7ddb6: Pulling fs layer [2022-09-01T20:47:56.467Z] 7c6cee850709: Pulling fs layer [2022-09-01T20:47:56.467Z] 39a5fcdaea64: Pulling fs layer [2022-09-01T20:47:56.467Z] d94ebbe4e438: Pulling fs layer [2022-09-01T20:47:56.467Z] bcfd1f05c69d: Pulling fs layer [2022-09-01T20:47:56.467Z] 59ccb84bbe0f: Pulling fs layer [2022-09-01T20:47:56.467Z] 39a5fcdaea64: Waiting [2022-09-01T20:47:56.467Z] d94ebbe4e438: Waiting [2022-09-01T20:47:56.467Z] bcfd1f05c69d: Waiting [2022-09-01T20:47:56.467Z] 59ccb84bbe0f: Waiting [2022-09-01T20:47:56.467Z] 370296b7ddb6: Waiting [2022-09-01T20:47:56.728Z] 30c4a7721957: Verifying Checksum [2022-09-01T20:47:56.728Z] 30c4a7721957: Download complete [2022-09-01T20:47:56.728Z] ea60b727a1ce: Download complete [2022-09-01T20:47:56.728Z] 7c6cee850709: Verifying Checksum [2022-09-01T20:47:56.728Z] 7c6cee850709: Download complete [2022-09-01T20:47:56.728Z] 39a5fcdaea64: Download complete [2022-09-01T20:47:56.728Z] 2408cc74d12b: Verifying Checksum [2022-09-01T20:47:56.728Z] 2408cc74d12b: Download complete [2022-09-01T20:47:56.728Z] d94ebbe4e438: Verifying Checksum [2022-09-01T20:47:56.728Z] d94ebbe4e438: Download complete [2022-09-01T20:47:56.728Z] 2408cc74d12b: Pull complete [2022-09-01T20:47:56.989Z] ea60b727a1ce: Pull complete [2022-09-01T20:47:56.989Z] 30c4a7721957: Pull complete [2022-09-01T20:47:56.989Z] 59ccb84bbe0f: Verifying Checksum [2022-09-01T20:47:56.989Z] 59ccb84bbe0f: Download complete [2022-09-01T20:47:57.249Z] bcfd1f05c69d: Verifying Checksum [2022-09-01T20:47:57.249Z] bcfd1f05c69d: Download complete [2022-09-01T20:47:57.508Z] 370296b7ddb6: Verifying Checksum [2022-09-01T20:47:57.509Z] 370296b7ddb6: Download complete [2022-09-01T20:48:01.706Z] 370296b7ddb6: Pull complete [2022-09-01T20:48:01.706Z] 7c6cee850709: Pull complete [2022-09-01T20:48:01.706Z] 39a5fcdaea64: Pull complete [2022-09-01T20:48:01.706Z] d94ebbe4e438: Pull complete [2022-09-01T20:48:03.089Z] bcfd1f05c69d: Pull complete [2022-09-01T20:48:04.027Z] 59ccb84bbe0f: Pull complete [2022-09-01T20:48:04.027Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-01T20:48:04.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-01T20:48:04.027Z] ---> a4fb48ad2a94 [2022-09-01T20:48:04.027Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T20:48:07.324Z] ---> Running in 1362733323de [2022-09-01T20:48:07.324Z] Removing intermediate container 1362733323de [2022-09-01T20:48:07.324Z] ---> 23b7a82194d5 [2022-09-01T20:48:07.324Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T20:48:07.584Z] ---> Running in 2237d29a64cb [2022-09-01T20:48:07.584Z] Removing intermediate container 2237d29a64cb [2022-09-01T20:48:07.584Z] ---> c63b10f112c8 [2022-09-01T20:48:07.584Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T20:48:07.584Z] ---> Running in 7e9783de52cc [2022-09-01T20:48:07.584Z] Removing intermediate container 7e9783de52cc [2022-09-01T20:48:07.584Z] ---> dffcfab51022 [2022-09-01T20:48:07.584Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T20:48:07.584Z] ---> Running in cd0ccf452c27 [2022-09-01T20:48:07.844Z] Removing intermediate container cd0ccf452c27 [2022-09-01T20:48:07.844Z] ---> 6b5808f0b87a [2022-09-01T20:48:07.844Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T20:48:07.844Z] ---> Running in e0408a27bdc6 [2022-09-01T20:48:08.411Z] Removing intermediate container e0408a27bdc6 [2022-09-01T20:48:08.411Z] ---> 46eebaa46048 [2022-09-01T20:48:08.411Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T20:48:08.411Z] ---> Running in 7bdff7763548 [2022-09-01T20:48:08.670Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T20:48:09.144Z] Still waiting to schedule task [2022-09-01T20:48:09.144Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24356’ is offline [2022-09-01T20:48:09.610Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T20:48:09.870Z] OK: 211 MiB in 51 packages [2022-09-01T20:48:10.141Z] Removing intermediate container 7bdff7763548 [2022-09-01T20:48:10.141Z] ---> 0cc86b8ebd33 [2022-09-01T20:48:10.141Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T20:48:10.141Z] ---> Running in 1f7d4e2a20d5 [2022-09-01T20:48:10.141Z] Removing intermediate container 1f7d4e2a20d5 [2022-09-01T20:48:10.141Z] ---> b8f6fd3957c5 [2022-09-01T20:48:10.141Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T20:48:10.402Z] ---> 27c5efc7b3fc [2022-09-01T20:48:10.402Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T20:48:10.402Z] ---> Running in 53aa47e43528 [2022-09-01T20:48:32.360Z] Removing intermediate container 53aa47e43528 [2022-09-01T20:48:32.360Z] ---> ac5fb6b46e9a [2022-09-01T20:48:32.360Z] Step 12/13 : COPY . . [2022-09-01T20:48:32.360Z] ---> f3889d3befb2 [2022-09-01T20:48:32.360Z] Step 13/13 : RUN ${MAKE} [2022-09-01T20:48:32.360Z] ---> Running in 128e532bbb05 [2022-09-01T20:48:32.360Z] noop [2022-09-01T20:48:32.630Z] Removing intermediate container 128e532bbb05 [2022-09-01T20:48:32.630Z] ---> ddec0ac9aa0c [2022-09-01T20:48:32.630Z] Successfully built ddec0ac9aa0c [2022-09-01T20:48:32.630Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:48:33.069Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T20:48:33.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:48:33.230Z] prd-ubuntu20.04-docker-8c-8g-24359 does not seem to be running inside a container [2022-09-01T20:48:33.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-151 -v /w/workspace/undry_device-onvif-camera_PR-151:/w/workspace/undry_device-onvif-camera_PR-151:rw,z -v /w/workspace/undry_device-onvif-camera_PR-151@tmp:/w/workspace/undry_device-onvif-camera_PR-151@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 ******** ci-base-image-x86_64 cat [2022-09-01T20:48:33.866Z] $ docker top a189934318860c0e66f67ad7e8c6f2b23f53770c9676e261d6bfbadc1535d3d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T20:48:34.280Z] + go version [2022-09-01T20:48:34.280Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-01T20:48:34.312Z] $ docker stop --time=1 a189934318860c0e66f67ad7e8c6f2b23f53770c9676e261d6bfbadc1535d3d7 [2022-09-01T20:48:35.620Z] $ docker rm -f a189934318860c0e66f67ad7e8c6f2b23f53770c9676e261d6bfbadc1535d3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:48:36.379Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T20:48:36.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:48:36.554Z] prd-ubuntu20.04-docker-8c-8g-24359 does not seem to be running inside a container [2022-09-01T20:48:36.647Z] $ 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-151 -v /w/workspace/undry_device-onvif-camera_PR-151:/w/workspace/undry_device-onvif-camera_PR-151:rw,z -v /w/workspace/undry_device-onvif-camera_PR-151@tmp:/w/workspace/undry_device-onvif-camera_PR-151@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 ******** ci-base-image-x86_64 cat [2022-09-01T20:48:37.022Z] $ docker top 14b133a288ac3e9073a4a8268363ad9c62337f2a0bdfe3ad40092020c7ac92ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T20:48:37.435Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-151 [Pipeline] fileExists [Pipeline] sh [2022-09-01T20:48:37.792Z] + make test [2022-09-01T20:48:37.792Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T20:48:38.052Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T20:48:50.259Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T20:48:50.259Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.6% of statements [2022-09-01T20:48:50.259Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T20:48:52.800Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.248s coverage: 13.8% of statements [2022-09-01T20:48:59.375Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-01T20:48:59.375Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T20:49:02.666Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T20:49:02.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T20:49:02.666Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T20:49:02.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T20:49:02.731Z] $ docker stop --time=1 14b133a288ac3e9073a4a8268363ad9c62337f2a0bdfe3ad40092020c7ac92ab [2022-09-01T20:49:05.196Z] $ docker rm -f 14b133a288ac3e9073a4a8268363ad9c62337f2a0bdfe3ad40092020c7ac92ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T20:49:05.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T20:49:05.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-01T20:49:06.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T20:49:06.813Z] + ls -al . [2022-09-01T20:49:06.813Z] total 232 [2022-09-01T20:49:06.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 20:48 . [2022-09-01T20:49:06.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:47 .. [2022-09-01T20:49:06.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 20:48 .git [2022-09-01T20:49:06.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 20:47 .github [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 20:47 .gitignore [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 20:47 .golangci.yml [2022-09-01T20:49:06.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 20:47 .semver [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 20:47 Attribution.txt [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 20:47 CHANGELOG.md [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 20:47 Dockerfile [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 20:47 GOVERNANCE.md [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 20:47 Jenkinsfile [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 20:47 LICENSE [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 20:47 Makefile [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 20:47 OWNERS.md [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 20:47 README.md [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 20:47 VERSION [2022-09-01T20:49:06.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 20:47 bin [2022-09-01T20:49:06.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 20:47 cmd [2022-09-01T20:49:06.813Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 20:48 coverage.out [2022-09-01T20:49:06.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 20:47 doc [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 20:47 go.mod [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 20:47 go.sum [2022-09-01T20:49:06.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:47 internal [2022-09-01T20:49:06.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:47 snap [2022-09-01T20:49:06.813Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:49:07.217Z] + 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=a3731ada79d8107c5d30ecfa2e9fd62d543da148 --label arch=amd64 --label version=0.0.0 . [2022-09-01T20:49:07.218Z] Sending build context to Docker daemon 20.73MB [2022-09-01T20:49:07.218Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T20:49:07.218Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-01T20:49:07.218Z] ---> ddec0ac9aa0c [2022-09-01T20:49:07.218Z] Step 3/26 : ARG MAKE="make build" [2022-09-01T20:49:07.479Z] ---> Running in 69c52e7ab0fa [2022-09-01T20:49:07.479Z] Removing intermediate container 69c52e7ab0fa [2022-09-01T20:49:07.479Z] ---> b617ba8f87d4 [2022-09-01T20:49:07.479Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T20:49:07.479Z] ---> Running in 2101e56dbdbb [2022-09-01T20:49:07.740Z] Removing intermediate container 2101e56dbdbb [2022-09-01T20:49:07.740Z] ---> c09d4ca8ac4b [2022-09-01T20:49:07.740Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T20:49:07.740Z] ---> Running in 5ed41488c653 [2022-09-01T20:49:07.740Z] Removing intermediate container 5ed41488c653 [2022-09-01T20:49:07.740Z] ---> 2ddac5504951 [2022-09-01T20:49:07.740Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-01T20:49:07.740Z] ---> Running in e3348b362217 [2022-09-01T20:49:08.001Z] Removing intermediate container e3348b362217 [2022-09-01T20:49:08.001Z] ---> 359c9f65ac92 [2022-09-01T20:49:08.001Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T20:49:08.001Z] ---> Running in 9dec549179e7 [2022-09-01T20:49:08.571Z] Removing intermediate container 9dec549179e7 [2022-09-01T20:49:08.571Z] ---> e3e24731b6bd [2022-09-01T20:49:08.571Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T20:49:08.571Z] ---> Running in 956f85a75df1 [2022-09-01T20:49:08.832Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T20:49:09.772Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T20:49:09.772Z] OK: 211 MiB in 51 packages [2022-09-01T20:49:10.349Z] Removing intermediate container 956f85a75df1 [2022-09-01T20:49:10.349Z] ---> 3732f6ce7815 [2022-09-01T20:49:10.349Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-01T20:49:10.349Z] ---> Running in 4331044db1a9 [2022-09-01T20:49:10.349Z] Removing intermediate container 4331044db1a9 [2022-09-01T20:49:10.349Z] ---> e68cacd6d669 [2022-09-01T20:49:10.349Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-01T20:49:10.349Z] ---> 521b632b0f4d [2022-09-01T20:49:10.349Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T20:49:10.349Z] ---> Running in b17a2d553dd4 [2022-09-01T20:49:10.921Z] Removing intermediate container b17a2d553dd4 [2022-09-01T20:49:10.921Z] ---> 6dde193b3f4f [2022-09-01T20:49:10.921Z] Step 12/26 : COPY . . [2022-09-01T20:49:11.863Z] ---> f75cb6df82ad [2022-09-01T20:49:11.863Z] Step 13/26 : RUN ${MAKE} [2022-09-01T20:49:11.863Z] ---> Running in f44a3757fc5a [2022-09-01T20:49:12.124Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-01T20:49:34.080Z] Removing intermediate container f44a3757fc5a [2022-09-01T20:49:34.080Z] ---> 5e685448e5d7 [2022-09-01T20:49:34.080Z] Step 14/26 : FROM alpine:3.16 [2022-09-01T20:49:34.080Z] 3.16: Pulling from library/alpine [2022-09-01T20:49:34.080Z] 213ec9aee27d: Pulling fs layer [2022-09-01T20:49:34.080Z] 213ec9aee27d: Download complete [2022-09-01T20:49:34.080Z] 213ec9aee27d: Pull complete [2022-09-01T20:49:34.080Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T20:49:34.080Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T20:49:34.080Z] ---> 9c6f07244728 [2022-09-01T20:49:34.080Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T20:49:34.080Z] ---> Running in 4f13fb8eec81 [2022-09-01T20:49:34.080Z] Removing intermediate container 4f13fb8eec81 [2022-09-01T20:49:34.080Z] ---> 90cca38add7d [2022-09-01T20:49:34.080Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-01T20:49:34.080Z] ---> Running in 67c46b850d5f [2022-09-01T20:49:34.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T20:49:34.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T20:49:34.080Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-01T20:49:34.080Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T20:49:34.080Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-01T20:49:34.080Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T20:49:34.080Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-01T20:49:34.080Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-01T20:49:34.080Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T20:49:34.080Z] OK: 8 MiB in 20 packages [2022-09-01T20:49:34.342Z] Removing intermediate container 67c46b850d5f [2022-09-01T20:49:34.342Z] ---> a6f1c8ca37a4 [2022-09-01T20:49:34.342Z] Step 17/26 : WORKDIR / [2022-09-01T20:49:34.342Z] ---> Running in 1eb1be088c44 [2022-09-01T20:49:34.342Z] Removing intermediate container 1eb1be088c44 [2022-09-01T20:49:34.342Z] ---> 8d77f2c5e7a1 [2022-09-01T20:49:34.343Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T20:49:34.914Z] ---> d1096c4043d3 [2022-09-01T20:49:34.914Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T20:49:34.914Z] ---> d41ed5a6d433 [2022-09-01T20:49:34.914Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T20:49:35.175Z] ---> 870d48128ee5 [2022-09-01T20:49:35.175Z] Step 21/26 : EXPOSE 59984 [2022-09-01T20:49:35.175Z] ---> Running in 9bbfff829af8 [2022-09-01T20:49:35.175Z] Removing intermediate container 9bbfff829af8 [2022-09-01T20:49:35.175Z] ---> 4e45029bd015 [2022-09-01T20:49:35.175Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T20:49:35.438Z] ---> Running in 9737ea21d9ca [2022-09-01T20:49:35.438Z] Removing intermediate container 9737ea21d9ca [2022-09-01T20:49:35.438Z] ---> 408a276e2122 [2022-09-01T20:49:35.438Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T20:49:35.438Z] ---> Running in 76dfe1c8ee39 [2022-09-01T20:49:35.438Z] Removing intermediate container 76dfe1c8ee39 [2022-09-01T20:49:35.438Z] ---> 5725f74dd195 [2022-09-01T20:49:35.438Z] Step 24/26 : LABEL arch=amd64 [2022-09-01T20:49:35.438Z] ---> Running in dc41ccf466ad [2022-09-01T20:49:35.700Z] Removing intermediate container dc41ccf466ad [2022-09-01T20:49:35.700Z] ---> 40154c053f30 [2022-09-01T20:49:35.700Z] Step 25/26 : LABEL git_sha=a3731ada79d8107c5d30ecfa2e9fd62d543da148 [2022-09-01T20:49:35.700Z] ---> Running in d5eead575cfe [2022-09-01T20:49:35.700Z] Removing intermediate container d5eead575cfe [2022-09-01T20:49:35.700Z] ---> 42adb5f833c8 [2022-09-01T20:49:35.700Z] Step 26/26 : LABEL version=0.0.0 [2022-09-01T20:49:35.700Z] ---> Running in 45bcdbd83cd5 [2022-09-01T20:49:35.700Z] Removing intermediate container 45bcdbd83cd5 [2022-09-01T20:49:35.700Z] ---> 62254fe1de1d [2022-09-01T20:49:35.700Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T20:49:35.700Z] Successfully built 62254fe1de1d [2022-09-01T20:49:35.700Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:49:36.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T20:49:36.543Z] [2022-09-01T20:49:36.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:49:36.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T20:49:36.920Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-01T20:49:36.920Z] 5eb5b503b376: Pulling fs layer [2022-09-01T20:49:36.920Z] 5c69ac0246d0: Pulling fs layer [2022-09-01T20:49:36.920Z] ec43610c2a17: Pulling fs layer [2022-09-01T20:49:36.920Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-01T20:49:36.920Z] 33b1e0a273af: Pulling fs layer [2022-09-01T20:49:36.920Z] 5d3b04190fa2: Pulling fs layer [2022-09-01T20:49:36.920Z] 2f39f015ded8: Pulling fs layer [2022-09-01T20:49:36.920Z] 3a2ae6a8a46f: Waiting [2022-09-01T20:49:36.920Z] 33b1e0a273af: Waiting [2022-09-01T20:49:36.920Z] 5d3b04190fa2: Waiting [2022-09-01T20:49:36.920Z] 2f39f015ded8: Waiting [2022-09-01T20:49:36.920Z] 5c69ac0246d0: Verifying Checksum [2022-09-01T20:49:36.920Z] 5c69ac0246d0: Download complete [2022-09-01T20:49:36.920Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-01T20:49:36.920Z] 3a2ae6a8a46f: Download complete [2022-09-01T20:49:36.920Z] ec43610c2a17: Verifying Checksum [2022-09-01T20:49:36.920Z] ec43610c2a17: Download complete [2022-09-01T20:49:36.920Z] 33b1e0a273af: Verifying Checksum [2022-09-01T20:49:36.920Z] 33b1e0a273af: Download complete [2022-09-01T20:49:36.920Z] 5d3b04190fa2: Verifying Checksum [2022-09-01T20:49:36.920Z] 5d3b04190fa2: Download complete [2022-09-01T20:49:37.183Z] 5eb5b503b376: Verifying Checksum [2022-09-01T20:49:37.183Z] 5eb5b503b376: Download complete [2022-09-01T20:49:37.752Z] 2f39f015ded8: Download complete [2022-09-01T20:49:38.323Z] 5eb5b503b376: Pull complete [2022-09-01T20:49:38.582Z] 5c69ac0246d0: Pull complete [2022-09-01T20:49:39.149Z] ec43610c2a17: Pull complete [2022-09-01T20:49:39.149Z] 3a2ae6a8a46f: Pull complete [2022-09-01T20:49:39.407Z] 33b1e0a273af: Pull complete [2022-09-01T20:49:39.407Z] 5d3b04190fa2: Pull complete [2022-09-01T20:49:43.603Z] 2f39f015ded8: Pull complete [2022-09-01T20:49:43.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-01T20:49:43.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T20:49:43.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:49:43.838Z] prd-ubuntu20.04-docker-8c-8g-24359 does not seem to be running inside a container [2022-09-01T20:49:43.873Z] $ 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-151 -v /w/workspace/undry_device-onvif-camera_PR-151:/w/workspace/undry_device-onvif-camera_PR-151:rw,z -v /w/workspace/undry_device-onvif-camera_PR-151@tmp:/w/workspace/undry_device-onvif-camera_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-01T20:49:45.121Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24360 in /w/workspace/undry_device-onvif-camera_PR-151 [2022-09-01T20:49:47.296Z] $ docker top b7fd9ab890d201fb2f8791cfe9f27a75f8198805baa02aedb0e77fad0fffe59e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-09-01T20:49:47.552Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-01T20:49:47.637Z] Selected Git installation does not exist. Using Default [2022-09-01T20:49:47.637Z] The recommended git tool is: NONE [2022-09-01T20:49:47.790Z] ---> job-cost.sh [2022-09-01T20:49:47.790Z] lf-activate-venv: SKIPPING [2022-09-01T20:49:47.790Z] INFO: No Stack... [2022-09-01T20:49:48.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T20:49:48.620Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T20:49:48.939Z] + cat /w/workspace/undry_device-onvif-camera_PR-151/archives/cost.csv [2022-09-01T20:49:48.939Z] + cut -d, -f6 [Pipeline] lock [2022-09-01T20:49:48.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [2022-09-01T20:49:48.987Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] did not exist. Created. [2022-09-01T20:49:48.987Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T20:49:49.385Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-01T20:49:49.437Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T20:49:49.476Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T20:49:49.552Z] $ docker stop --time=1 b7fd9ab890d201fb2f8791cfe9f27a75f8198805baa02aedb0e77fad0fffe59e [2022-09-01T20:49:50.703Z] $ docker rm -f b7fd9ab890d201fb2f8791cfe9f27a75f8198805baa02aedb0e77fad0fffe59e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-01T20:49:54.063Z] using credential edgex-jenkins-ssh [2022-09-01T20:49:54.082Z] Cloning the remote Git repository [2022-09-01T20:49:54.166Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T20:49:54.268Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-01T20:49:54.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T20:49:54.361Z] > git --version # timeout=10 [2022-09-01T20:49:54.394Z] > git --version # 'git version 2.25.1' [2022-09-01T20:49:54.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T20:49:54.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T20:49:56.454Z] Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit ab7cff980584a56015055abd5ef295af6d1dd056 [2022-09-01T20:49:55.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T20:49:55.744Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T20:49:55.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T20:49:55.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T20:49:55.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T20:49:55.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-01T20:49:56.470Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T20:49:56.488Z] > git checkout -f ab7cff980584a56015055abd5ef295af6d1dd056 # timeout=10 [2022-09-01T20:49:57.087Z] Merge succeeded, producing d330d7f8d44c394a1fa66cbdc0696c2170684acd [2022-09-01T20:49:57.088Z] Checking out Revision d330d7f8d44c394a1fa66cbdc0696c2170684acd (PR-151) [2022-09-01T20:49:56.722Z] > git remote # timeout=10 [2022-09-01T20:49:56.744Z] > git config --get remote.origin.url # timeout=10 [2022-09-01T20:49:56.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T20:49:56.786Z] > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 [2022-09-01T20:49:57.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-01T20:49:57.093Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T20:49:57.109Z] > git checkout -f d330d7f8d44c394a1fa66cbdc0696c2170684acd # timeout=10 [2022-09-01T20:50:01.241Z] Commit message: "Merge commit '87f15e26a71a8026a682f6867a4ab9a3284585c9' into HEAD" [2022-09-01T20:50:01.241Z] First time build. Skipping changelog. [2022-09-01T20:50:01.295Z] > git --version # timeout=10 [2022-09-01T20:50:01.308Z] > git --version # 'git version 2.25.1' [2022-09-01T20:50:01.323Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T20:50:02.594Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-01T20:50:02.594Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T20:50:02.594Z] Dload Upload Total Spent Left Speed [2022-09-01T20:50:02.594Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77312 0 --:--:-- --:--:-- --:--:-- 77312 [Pipeline] sh [2022-09-01T20:50:03.350Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-01T20:50:03.702Z] + sudo tee /etc/docker/daemon.new [2022-09-01T20:50:03.702Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-01T20:50:03.702Z] { [2022-09-01T20:50:03.702Z] "registry-mirrors": [ [2022-09-01T20:50:03.702Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-01T20:50:03.702Z] ], [2022-09-01T20:50:03.702Z] "bip": "10.250.0.254/24", [2022-09-01T20:50:03.702Z] "hosts": [ [2022-09-01T20:50:03.702Z] "tcp://0.0.0.0:5555", [2022-09-01T20:50:03.702Z] "unix:///var/run/docker.sock" [2022-09-01T20:50:03.702Z] ], [2022-09-01T20:50:03.702Z] "mtu": 1458, [2022-09-01T20:50:03.702Z] "selinux-enabled": true, [2022-09-01T20:50:03.702Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-01T20:50:03.702Z] } [Pipeline] sh [2022-09-01T20:50:04.058Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-01T20:50:04.407Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T20:50:22.977Z] provisioning config files... [2022-09-01T20:50:23.004Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4247081059499600193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:50:23.402Z] ---> docker-login.sh [2022-09-01T20:50:23.403Z] nexus3.edgexfoundry.org:10001 [2022-09-01T20:50:24.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:50:24.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:50:24.276Z] Configure a credential helper to remove this warning. See [2022-09-01T20:50:24.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:50:24.276Z] [2022-09-01T20:50:24.276Z] Login Succeeded [2022-09-01T20:50:24.276Z] nexus3.edgexfoundry.org:10002 [2022-09-01T20:50:24.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:50:24.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:50:24.824Z] Configure a credential helper to remove this warning. See [2022-09-01T20:50:24.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:50:24.824Z] [2022-09-01T20:50:24.824Z] Login Succeeded [2022-09-01T20:50:24.824Z] nexus3.edgexfoundry.org:10003 [2022-09-01T20:50:25.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:50:25.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:50:25.107Z] Configure a credential helper to remove this warning. See [2022-09-01T20:50:25.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:50:25.107Z] [2022-09-01T20:50:25.107Z] Login Succeeded [2022-09-01T20:50:25.107Z] nexus3.edgexfoundry.org:10004 [2022-09-01T20:50:25.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:50:25.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:50:25.704Z] Configure a credential helper to remove this warning. See [2022-09-01T20:50:25.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:50:25.704Z] [2022-09-01T20:50:25.704Z] Login Succeeded [2022-09-01T20:50:25.704Z] docker.io [2022-09-01T20:50:25.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T20:50:26.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T20:50:26.575Z] Configure a credential helper to remove this warning. See [2022-09-01T20:50:26.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T20:50:26.575Z] [2022-09-01T20:50:26.575Z] Login Succeeded [2022-09-01T20:50:26.575Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T20:50:26.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T20:50:26.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T20:50:27.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T20:50:27.070Z] ========================================================= [2022-09-01T20:50:27.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-01T20:50:27.070Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:50:27.583Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-01T20:50:28.185Z] Sending build context to Docker daemon 14.13MB [2022-09-01T20:50:28.185Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T20:50:28.185Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T20:50:28.185Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-01T20:50:28.185Z] b3c136eddcbf: Pulling fs layer [2022-09-01T20:50:28.185Z] c0a3192eca97: Pulling fs layer [2022-09-01T20:50:28.185Z] a050256f5b6f: Pulling fs layer [2022-09-01T20:50:28.185Z] 656be50a0ddc: Pulling fs layer [2022-09-01T20:50:28.185Z] 2bbca73fdf42: Pulling fs layer [2022-09-01T20:50:28.185Z] 46d945488cbd: Pulling fs layer [2022-09-01T20:50:28.185Z] 8a5474983e97: Pulling fs layer [2022-09-01T20:50:28.185Z] 329c88fbcd65: Pulling fs layer [2022-09-01T20:50:28.185Z] 46d945488cbd: Waiting [2022-09-01T20:50:28.185Z] 2bbca73fdf42: Waiting [2022-09-01T20:50:28.462Z] 656be50a0ddc: Waiting [2022-09-01T20:50:28.462Z] 329c88fbcd65: Waiting [2022-09-01T20:50:28.462Z] 8a5474983e97: Waiting [2022-09-01T20:50:28.462Z] a050256f5b6f: Download complete [2022-09-01T20:50:28.462Z] c0a3192eca97: Verifying Checksum [2022-09-01T20:50:28.462Z] c0a3192eca97: Download complete [2022-09-01T20:50:28.462Z] 2bbca73fdf42: Download complete [2022-09-01T20:50:28.462Z] 46d945488cbd: Verifying Checksum [2022-09-01T20:50:28.462Z] 46d945488cbd: Download complete [2022-09-01T20:50:28.462Z] b3c136eddcbf: Verifying Checksum [2022-09-01T20:50:29.461Z] b3c136eddcbf: Pull complete [2022-09-01T20:50:29.461Z] 329c88fbcd65: Verifying Checksum [2022-09-01T20:50:29.461Z] 329c88fbcd65: Download complete [2022-09-01T20:50:30.064Z] c0a3192eca97: Pull complete [2022-09-01T20:50:30.343Z] a050256f5b6f: Pull complete [2022-09-01T20:50:30.620Z] 8a5474983e97: Verifying Checksum [2022-09-01T20:50:30.620Z] 8a5474983e97: Download complete [2022-09-01T20:50:31.239Z] 656be50a0ddc: Verifying Checksum [2022-09-01T20:50:31.239Z] 656be50a0ddc: Download complete [2022-09-01T20:50:46.340Z] 656be50a0ddc: Pull complete [2022-09-01T20:50:46.340Z] 2bbca73fdf42: Pull complete [2022-09-01T20:50:46.340Z] 46d945488cbd: Pull complete [2022-09-01T20:50:50.661Z] 8a5474983e97: Pull complete [2022-09-01T20:50:53.296Z] 329c88fbcd65: Pull complete [2022-09-01T20:50:53.296Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-01T20:50:53.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-01T20:50:53.296Z] ---> ff4287adb874 [2022-09-01T20:50:53.296Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T20:50:54.739Z] ---> Running in 10adb6f1f253 [2022-09-01T20:50:55.013Z] Removing intermediate container 10adb6f1f253 [2022-09-01T20:50:55.013Z] ---> ffd869617a61 [2022-09-01T20:50:55.013Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T20:50:55.013Z] ---> Running in eee1ca4e883f [2022-09-01T20:50:55.291Z] Removing intermediate container eee1ca4e883f [2022-09-01T20:50:55.291Z] ---> a44680b0cb42 [2022-09-01T20:50:55.291Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T20:50:55.291Z] ---> Running in 3cf654d5fd97 [2022-09-01T20:50:55.571Z] Removing intermediate container 3cf654d5fd97 [2022-09-01T20:50:55.571Z] ---> ca43085a3ac4 [2022-09-01T20:50:55.571Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T20:50:55.847Z] ---> Running in 5e8e7b492ad3 [2022-09-01T20:50:56.123Z] Removing intermediate container 5e8e7b492ad3 [2022-09-01T20:50:56.123Z] ---> e81d49dc05be [2022-09-01T20:50:56.123Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T20:50:56.123Z] ---> Running in 575852ea085a [2022-09-01T20:50:58.783Z] Removing intermediate container 575852ea085a [2022-09-01T20:50:58.783Z] ---> cde28619329d [2022-09-01T20:50:58.783Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T20:50:58.783Z] ---> Running in 41e23bd16117 [2022-09-01T20:50:59.774Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T20:51:00.370Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T20:51:01.350Z] OK: 221 MiB in 51 packages [2022-09-01T20:51:02.334Z] Removing intermediate container 41e23bd16117 [2022-09-01T20:51:02.334Z] ---> 6d363b48e2c9 [2022-09-01T20:51:02.334Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T20:51:02.334Z] ---> Running in 1151ac4aad3c [2022-09-01T20:51:02.610Z] Removing intermediate container 1151ac4aad3c [2022-09-01T20:51:02.610Z] ---> cab9b9699b53 [2022-09-01T20:51:02.610Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T20:51:02.891Z] ---> e794038eb598 [2022-09-01T20:51:02.891Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T20:51:03.163Z] ---> Running in 2f4143e5e8ef [2022-09-01T20:51:59.764Z] Removing intermediate container 2f4143e5e8ef [2022-09-01T20:51:59.764Z] ---> 62020d1ed4f1 [2022-09-01T20:51:59.764Z] Step 12/13 : COPY . . [2022-09-01T20:51:59.764Z] ---> 9ce4bc5b83e3 [2022-09-01T20:51:59.764Z] Step 13/13 : RUN ${MAKE} [2022-09-01T20:51:59.764Z] ---> Running in 4ec29bf52684 [2022-09-01T20:51:59.764Z] noop [2022-09-01T20:51:59.764Z] Removing intermediate container 4ec29bf52684 [2022-09-01T20:51:59.764Z] ---> e7660b5ba59e [2022-09-01T20:51:59.764Z] Successfully built e7660b5ba59e [2022-09-01T20:51:59.764Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:52:00.244Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T20:52:00.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:52:00.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-24360 does not seem to be running inside a container [2022-09-01T20:52:00.655Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-01T20:52:01.931Z] $ docker top e3b7a6b20dcfa3d17d4c5b2966d09162905697dfcd99ff4f274e02f128430d41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T20:52:02.872Z] + go version [2022-09-01T20:52:02.872Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-01T20:52:02.909Z] $ docker stop --time=1 e3b7a6b20dcfa3d17d4c5b2966d09162905697dfcd99ff4f274e02f128430d41 [2022-09-01T20:52:04.547Z] $ docker rm -f e3b7a6b20dcfa3d17d4c5b2966d09162905697dfcd99ff4f274e02f128430d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:52:05.474Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T20:52:05.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:52:05.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-24360 does not seem to be running inside a container [2022-09-01T20:52:05.860Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-01T20:52:07.155Z] $ docker top d89a6b8c9d024b1f35a003d755e67776ebef8e7a08ee26930fc8cf810b0218f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T20:52:08.133Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-01T20:52:08.862Z] + make test [2022-09-01T20:52:08.862Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T20:52:10.849Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T20:53:47.721Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T20:53:47.721Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.176s coverage: 28.6% of statements [2022-09-01T20:53:47.721Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T20:54:02.814Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.976s coverage: 13.8% of statements [2022-09-01T20:54:02.814Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-01T20:54:02.814Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T20:54:25.027Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T20:54:25.027Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T20:54:25.027Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T20:54:25.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T20:54:25.100Z] $ docker stop --time=1 d89a6b8c9d024b1f35a003d755e67776ebef8e7a08ee26930fc8cf810b0218f7 [2022-09-01T20:54:26.866Z] $ docker rm -f d89a6b8c9d024b1f35a003d755e67776ebef8e7a08ee26930fc8cf810b0218f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T20:54:27.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T20:54:27.973Z] Warning: overwriting stash ‘coverage-report’ [2022-09-01T20:54:28.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T20:54:29.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T20:54:29.477Z] + ls -al . [2022-09-01T20:54:29.477Z] total 228 [2022-09-01T20:54:29.477Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 20:52 . [2022-09-01T20:54:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:49 .. [2022-09-01T20:54:29.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 20:50 .git [2022-09-01T20:54:29.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 20:49 .github [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 20:49 .gitignore [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 20:49 .golangci.yml [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 20:49 Attribution.txt [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 20:49 CHANGELOG.md [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 20:49 Dockerfile [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 20:49 GOVERNANCE.md [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 20:49 Jenkinsfile [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 20:49 LICENSE [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 20:49 Makefile [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 20:49 OWNERS.md [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 20:49 README.md [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 20:47 VERSION [2022-09-01T20:54:29.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 20:49 bin [2022-09-01T20:54:29.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 20:49 cmd [2022-09-01T20:54:29.477Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 20:54 coverage.out [2022-09-01T20:54:29.477Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 20:49 doc [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 20:49 go.mod [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 20:49 go.sum [2022-09-01T20:54:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:49 internal [2022-09-01T20:54:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 20:49 snap [2022-09-01T20:54:29.477Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:54:29.915Z] + 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=d330d7f8d44c394a1fa66cbdc0696c2170684acd --label arch=arm64 --label version=0.0.0 . [2022-09-01T20:54:30.529Z] Sending build context to Docker daemon 14.21MB [2022-09-01T20:54:30.529Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T20:54:30.529Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-01T20:54:30.529Z] ---> e7660b5ba59e [2022-09-01T20:54:30.529Z] Step 3/26 : ARG MAKE="make build" [2022-09-01T20:54:30.529Z] ---> Running in c4d2cffd20f4 [2022-09-01T20:54:30.810Z] Removing intermediate container c4d2cffd20f4 [2022-09-01T20:54:30.810Z] ---> 1d8704133c8f [2022-09-01T20:54:30.810Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T20:54:31.087Z] ---> Running in a4efc7fda267 [2022-09-01T20:54:31.364Z] Removing intermediate container a4efc7fda267 [2022-09-01T20:54:31.364Z] ---> a8bf0186dbeb [2022-09-01T20:54:31.364Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T20:54:31.364Z] ---> Running in 4a0e88f73f59 [2022-09-01T20:54:31.649Z] Removing intermediate container 4a0e88f73f59 [2022-09-01T20:54:31.649Z] ---> 5a3438651a69 [2022-09-01T20:54:31.649Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-01T20:54:31.925Z] ---> Running in c68dbacefff1 [2022-09-01T20:54:32.202Z] Removing intermediate container c68dbacefff1 [2022-09-01T20:54:32.202Z] ---> 887e7c0c9907 [2022-09-01T20:54:32.202Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T20:54:32.202Z] ---> Running in 409425b54502 [2022-09-01T20:54:34.193Z] Removing intermediate container 409425b54502 [2022-09-01T20:54:34.193Z] ---> beb57f1cdd35 [2022-09-01T20:54:34.193Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T20:54:34.193Z] ---> Running in 59036832b7d8 [2022-09-01T20:54:34.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T20:54:35.781Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T20:54:36.778Z] OK: 221 MiB in 51 packages [2022-09-01T20:54:37.381Z] Removing intermediate container 59036832b7d8 [2022-09-01T20:54:37.381Z] ---> f46da2cd5c96 [2022-09-01T20:54:37.381Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-01T20:54:37.381Z] ---> Running in 48d7af1bebbf [2022-09-01T20:54:37.659Z] Removing intermediate container 48d7af1bebbf [2022-09-01T20:54:37.659Z] ---> 453dbf8f22af [2022-09-01T20:54:37.659Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-01T20:54:38.272Z] ---> b171f717f0b4 [2022-09-01T20:54:38.272Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T20:54:38.548Z] ---> Running in d3d5f6f68343 [2022-09-01T20:54:40.530Z] Removing intermediate container d3d5f6f68343 [2022-09-01T20:54:40.530Z] ---> 7ecae72f9ccc [2022-09-01T20:54:40.530Z] Step 12/26 : COPY . . [2022-09-01T20:54:41.984Z] ---> 2442572bb3c6 [2022-09-01T20:54:41.984Z] Step 13/26 : RUN ${MAKE} [2022-09-01T20:54:41.984Z] ---> Running in c0e848c905fa [2022-09-01T20:54:42.969Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-01T20:57:04.923Z] Removing intermediate container c0e848c905fa [2022-09-01T20:57:04.923Z] ---> 6edab7815d60 [2022-09-01T20:57:04.923Z] Step 14/26 : FROM alpine:3.16 [2022-09-01T20:57:04.923Z] 3.16: Pulling from library/alpine [2022-09-01T20:57:04.923Z] 9b18e9b68314: Pulling fs layer [2022-09-01T20:57:04.923Z] 9b18e9b68314: Verifying Checksum [2022-09-01T20:57:04.923Z] 9b18e9b68314: Download complete [2022-09-01T20:57:04.923Z] 9b18e9b68314: Pull complete [2022-09-01T20:57:04.923Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T20:57:04.923Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T20:57:04.923Z] ---> a6215f271958 [2022-09-01T20:57:04.923Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T20:57:04.923Z] ---> Running in 8e2fa36fd9fb [2022-09-01T20:57:04.923Z] Removing intermediate container 8e2fa36fd9fb [2022-09-01T20:57:04.923Z] ---> 5ec427b60797 [2022-09-01T20:57:04.923Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-01T20:57:04.923Z] ---> Running in 8a3a43e1ce21 [2022-09-01T20:57:04.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T20:57:04.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T20:57:04.923Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-01T20:57:04.923Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T20:57:04.923Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-01T20:57:04.923Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T20:57:04.923Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-01T20:57:04.923Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-01T20:57:04.923Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T20:57:04.923Z] OK: 8 MiB in 20 packages [2022-09-01T20:57:04.923Z] Removing intermediate container 8a3a43e1ce21 [2022-09-01T20:57:04.923Z] ---> 64351d73ba11 [2022-09-01T20:57:04.923Z] Step 17/26 : WORKDIR / [2022-09-01T20:57:04.923Z] ---> Running in 028434f27986 [2022-09-01T20:57:04.923Z] Removing intermediate container 028434f27986 [2022-09-01T20:57:04.923Z] ---> fdc1331e15d6 [2022-09-01T20:57:04.923Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T20:57:04.923Z] ---> b186ea9bb17c [2022-09-01T20:57:04.923Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T20:57:04.923Z] ---> 4233e720419e [2022-09-01T20:57:04.923Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T20:57:04.923Z] ---> fc73947cec3d [2022-09-01T20:57:04.923Z] Step 21/26 : EXPOSE 59984 [2022-09-01T20:57:04.923Z] ---> Running in f6f4c8853f75 [2022-09-01T20:57:04.923Z] Removing intermediate container f6f4c8853f75 [2022-09-01T20:57:04.923Z] ---> 408e2c0bab07 [2022-09-01T20:57:04.923Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T20:57:04.923Z] ---> Running in 267e06557758 [2022-09-01T20:57:04.923Z] Removing intermediate container 267e06557758 [2022-09-01T20:57:04.923Z] ---> 320928b1478d [2022-09-01T20:57:04.923Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T20:57:04.923Z] ---> Running in 48983df64abb [2022-09-01T20:57:04.923Z] Removing intermediate container 48983df64abb [2022-09-01T20:57:04.923Z] ---> 908047fb41ca [2022-09-01T20:57:04.923Z] Step 24/26 : LABEL arch=arm64 [2022-09-01T20:57:04.923Z] ---> Running in 78feed3253d0 [2022-09-01T20:57:04.923Z] Removing intermediate container 78feed3253d0 [2022-09-01T20:57:04.923Z] ---> 45eaeceec60b [2022-09-01T20:57:04.923Z] Step 25/26 : LABEL git_sha=d330d7f8d44c394a1fa66cbdc0696c2170684acd [2022-09-01T20:57:04.923Z] ---> Running in 8a80297734af [2022-09-01T20:57:04.923Z] Removing intermediate container 8a80297734af [2022-09-01T20:57:04.923Z] ---> 12aa944899d4 [2022-09-01T20:57:04.923Z] Step 26/26 : LABEL version=0.0.0 [2022-09-01T20:57:04.923Z] ---> Running in 0ffc23158e69 [2022-09-01T20:57:04.923Z] Removing intermediate container 0ffc23158e69 [2022-09-01T20:57:04.923Z] ---> dddd9d796fad [2022-09-01T20:57:04.923Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T20:57:04.923Z] Successfully built dddd9d796fad [2022-09-01T20:57:04.923Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:57:05.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T20:57:05.783Z] [2022-09-01T20:57:05.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:57:06.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T20:57:06.483Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-01T20:57:06.483Z] 8998bd30e6a1: Pulling fs layer [2022-09-01T20:57:06.483Z] 04944245beec: Pulling fs layer [2022-09-01T20:57:06.483Z] 699f458cf7ca: Pulling fs layer [2022-09-01T20:57:06.483Z] 765212b225bb: Pulling fs layer [2022-09-01T20:57:06.483Z] f23df028b6ca: Pulling fs layer [2022-09-01T20:57:06.483Z] d65c8cfc05b1: Pulling fs layer [2022-09-01T20:57:06.483Z] 2437ff75d9bd: Pulling fs layer [2022-09-01T20:57:06.483Z] 765212b225bb: Waiting [2022-09-01T20:57:06.483Z] d65c8cfc05b1: Waiting [2022-09-01T20:57:06.483Z] 2437ff75d9bd: Waiting [2022-09-01T20:57:06.483Z] f23df028b6ca: Waiting [2022-09-01T20:57:06.483Z] 04944245beec: Verifying Checksum [2022-09-01T20:57:06.483Z] 04944245beec: Download complete [2022-09-01T20:57:06.483Z] 765212b225bb: Verifying Checksum [2022-09-01T20:57:06.483Z] 765212b225bb: Download complete [2022-09-01T20:57:06.483Z] f23df028b6ca: Verifying Checksum [2022-09-01T20:57:06.483Z] f23df028b6ca: Download complete [2022-09-01T20:57:06.483Z] d65c8cfc05b1: Download complete [2022-09-01T20:57:06.757Z] 699f458cf7ca: Verifying Checksum [2022-09-01T20:57:06.757Z] 699f458cf7ca: Download complete [2022-09-01T20:57:07.033Z] 8998bd30e6a1: Download complete [2022-09-01T20:57:09.674Z] 2437ff75d9bd: Verifying Checksum [2022-09-01T20:57:09.674Z] 2437ff75d9bd: Download complete [2022-09-01T20:57:11.655Z] 8998bd30e6a1: Pull complete [2022-09-01T20:57:11.930Z] 04944245beec: Pull complete [2022-09-01T20:57:13.367Z] 699f458cf7ca: Pull complete [2022-09-01T20:57:13.641Z] 765212b225bb: Pull complete [2022-09-01T20:57:14.242Z] f23df028b6ca: Pull complete [2022-09-01T20:57:14.516Z] d65c8cfc05b1: Pull complete [2022-09-01T20:57:29.626Z] 2437ff75d9bd: Pull complete [2022-09-01T20:57:29.626Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-01T20:57:29.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T20:57:29.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:57:29.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-24360 does not seem to be running inside a container [2022-09-01T20:57:30.091Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-01T20:57:32.686Z] $ docker top 0d9cf567f781cce7a1e1d8a05f90d5c8cf9de509d23f416a94c9672376924547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:33.710Z] ---> job-cost.sh [2022-09-01T20:57:33.711Z] lf-activate-venv: SKIPPING [2022-09-01T20:57:33.711Z] INFO: No Stack... [2022-09-01T20:57:34.307Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-01T20:57:35.297Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T20:57:35.983Z] + cut -d, -f6 [2022-09-01T20:57:35.983Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-09-01T20:57:36.073Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [2022-09-01T20:57:36.078Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] did not exist. Created. [2022-09-01T20:57:36.078Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T20:57:36.843Z] /w/workspace/device-onvif-camera/1@tmp/durable-98454890/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-01T20:57:37.545Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-01T20:57:37.578Z] Warning: overwriting stash ‘stack-cost’ [2022-09-01T20:57:37.636Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T20:57:37.651Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T20:57:37.735Z] $ docker stop --time=1 0d9cf567f781cce7a1e1d8a05f90d5c8cf9de509d23f416a94c9672376924547 [2022-09-01T20:57:39.209Z] $ docker rm -f 0d9cf567f781cce7a1e1d8a05f90d5c8cf9de509d23f416a94c9672376924547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-01T20:57:40.279Z] provisioning config files... [2022-09-01T20:57:40.298Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-151@tmp/config3585608792267542981tmp [Pipeline] { [Pipeline] sh [2022-09-01T20:57:40.646Z] + set +x [2022-09-01T20:57:40.646Z] + curl -s https://codecov.io/bash [2022-09-01T20:57:40.646Z] + bash -s -- [2022-09-01T20:57:40.646Z] [2022-09-01T20:57:40.646Z] _____ _ [2022-09-01T20:57:40.646Z] / ____| | | [2022-09-01T20:57:40.646Z] | | ___ __| | ___ ___ _____ __ [2022-09-01T20:57:40.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-01T20:57:40.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-01T20:57:40.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-01T20:57:40.646Z] Bash-1.0.6 [2022-09-01T20:57:40.646Z] [2022-09-01T20:57:40.646Z] [2022-09-01T20:57:40.646Z] ==> git version 2.25.1 found [2022-09-01T20:57:40.646Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-01T20:57:40.646Z] Release-Date: 2020-01-08 [2022-09-01T20:57:40.646Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-01T20:57:40.646Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-01T20:57:40.646Z] ==> Jenkins CI detected. [2022-09-01T20:57:40.646Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-151 [2022-09-01T20:57:40.646Z] project root: . [2022-09-01T20:57:40.646Z] --> token set from env [2022-09-01T20:57:40.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-01T20:57:40.646Z] ==> Running gcov in . (disable via -X gcov) [2022-09-01T20:57:40.646Z] ==> Python coveragepy not found [2022-09-01T20:57:40.646Z] ==> Searching for coverage reports in: [2022-09-01T20:57:40.646Z] + . [2022-09-01T20:57:40.646Z] -> Found 1 reports [2022-09-01T20:57:40.646Z] ==> Detecting git/mercurial file structure [2022-09-01T20:57:40.646Z] ==> Reading reports [2022-09-01T20:57:40.646Z] + ./coverage.out bytes=77283 [2022-09-01T20:57:40.646Z] ==> Appending adjustments [2022-09-01T20:57:40.646Z] https://docs.codecov.io/docs/fixing-reports [2022-09-01T20:57:40.908Z] + Found adjustments [2022-09-01T20:57:40.908Z] ==> Gzipping contents [2022-09-01T20:57:40.908Z] 12K /tmp/codecov.ElysLS.gz [2022-09-01T20:57:40.908Z] ==> Uploading reports [2022-09-01T20:57:40.908Z] url: https://codecov.io [2022-09-01T20:57:40.908Z] query: branch=PR-151&commit=a3731ada79d8107c5d30ecfa2e9fd62d543da148&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-09-01T20:57:40.908Z] -> Pinging Codecov [2022-09-01T20:57:40.908Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-151&commit=a3731ada79d8107c5d30ecfa2e9fd62d543da148&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-09-01T20:57:41.172Z] -> Uploading to [2022-09-01T20:57:41.172Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/a3731ada79d8107c5d30ecfa2e9fd62d543da148/2f94e996-d1c8-4d99-b953-d04775fcc61c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T205741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=023674deee149654e10bb06a8836db48e5f26663aa44736a02674d06e192cd9a [2022-09-01T20:57:41.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T20:57:41.172Z] Dload Upload Total Spent Left Speed [2022-09-01T20:57:41.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10553 0 0 100 10553 0 50735 --:--:-- --:--:-- --:--:-- 50492 [2022-09-01T20:57:41.433Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a3731ada79d8107c5d30ecfa2e9fd62d543da148 [Pipeline] } [2022-09-01T20:57:41.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-01T20:57:43.228Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-151/archives ] [2022-09-01T20:57:43.228Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-151/archives [2022-09-01T20:57:43.228Z] total 16 [2022-09-01T20:57:43.228Z] drwxr-xr-x 3 root root 4096 Sep 1 20:49 . [2022-09-01T20:57:43.228Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 20:49 .. [2022-09-01T20:57:43.228Z] drwxr-xr-x 2 root root 4096 Sep 1 20:49 cost [2022-09-01T20:57:43.228Z] -rw-r--r-- 1 root root 91 Sep 1 20:49 cost.csv [2022-09-01T20:57:43.228Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-151/archives [2022-09-01T20:57:43.228Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-151/archives [2022-09-01T20:57:43.228Z] total 16 [2022-09-01T20:57:43.228Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 20:49 . [2022-09-01T20:57:43.228Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 20:49 .. [2022-09-01T20:57:43.228Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 20:49 cost [2022-09-01T20:57:43.228Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 1 20:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:43.557Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:44.457Z] ---> package-listing.sh [2022-09-01T20:57:44.457Z] ++ facter osfamily [2022-09-01T20:57:44.457Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-01T20:57:44.718Z] + OS_FAMILY=debian [2022-09-01T20:57:44.718Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-151 [2022-09-01T20:57:44.718Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-01T20:57:44.718Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-01T20:57:44.718Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-01T20:57:44.718Z] + PACKAGES=/tmp/packages_start.txt [2022-09-01T20:57:44.718Z] + '[' /w/workspace/undry_device-onvif-camera_PR-151 ']' [2022-09-01T20:57:44.718Z] + PACKAGES=/tmp/packages_end.txt [2022-09-01T20:57:44.718Z] + case "${OS_FAMILY}" in [2022-09-01T20:57:44.718Z] + dpkg -l [2022-09-01T20:57:44.718Z] + grep '^ii' [2022-09-01T20:57:44.718Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-01T20:57:44.718Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-01T20:57:44.718Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-01T20:57:44.718Z] + '[' /w/workspace/undry_device-onvif-camera_PR-151 ']' [2022-09-01T20:57:44.718Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-151/archives/ [2022-09-01T20:57:44.718Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-151/archives/ [Pipeline] echo [2022-09-01T20:57:44.755Z] 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-01T20:57:45.053Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T20:57:45.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T20:57:45.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T20:57:45.852Z] prd-ubuntu20.04-docker-8c-8g-24359 does not seem to be running inside a container [2022-09-01T20:57:45.892Z] $ 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-151/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-151 -v /w/workspace/undry_device-onvif-camera_PR-151:/w/workspace/undry_device-onvif-camera_PR-151:rw,z -v /w/workspace/undry_device-onvif-camera_PR-151@tmp:/w/workspace/undry_device-onvif-camera_PR-151@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-lftools-log-publisher:latest cat [2022-09-01T20:57:46.092Z] $ docker top 6f2f1cd5eb96b8c9ed4fd3b0f8a31cc040d4e79ea27a3f10c5ca83dc41ea8c2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T20:57:46.501Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-01T20:57:46.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-01T20:57:47.137Z] + ls /var/log/sa-host [2022-09-01T20:57:47.137Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T20:57:47.364Z] provisioning config files... [2022-09-01T20:57:47.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-151@tmp/config6387858924621033921tmp [Pipeline] { [Pipeline] echo [2022-09-01T20:57:47.424Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:47.739Z] ---> create-netrc.sh [Pipeline] } [2022-09-01T20:57:47.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:48.175Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-01T20:57:48.210Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:48.527Z] ---> sudo-logs.sh [2022-09-01T20:57:48.527Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-01T20:57:48.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:48.914Z] ---> job-cost.sh [2022-09-01T20:57:48.914Z] lf-activate-venv: SKIPPING [2022-09-01T20:57:48.914Z] DEBUG: total: 0.2199999988079071 [2022-09-01T20:57:48.914Z] INFO: Retrieving Stack Cost... [2022-09-01T20:57:49.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T20:57:49.746Z] INFO: Archiving Costs [Pipeline] echo [2022-09-01T20:57:49.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T20:57:50.092Z] ---> logs-deploy.sh [2022-09-01T20:57:50.092Z] lf-activate-venv: SKIPPING [2022-09-01T20:57:50.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-151/1 [2022-09-01T20:57:50.092Z] INFO: archiving workspace using pattern(s): [2022-09-01T20:57:51.034Z] Archives upload complete. [2022-09-01T20:57:51.294Z] INFO: archiving logs to Nexus [2022-09-01T20:57:51.867Z] ---> uname -a: [2022-09-01T20:57:51.867Z] Linux prd-ubuntu20-04-docker-8c-8g-24359 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] ---> lscpu: [2022-09-01T20:57:51.867Z] Architecture: x86_64 [2022-09-01T20:57:51.867Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-01T20:57:51.867Z] Byte Order: Little Endian [2022-09-01T20:57:51.867Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-01T20:57:51.867Z] CPU(s): 8 [2022-09-01T20:57:51.867Z] On-line CPU(s) list: 0-7 [2022-09-01T20:57:51.867Z] Thread(s) per core: 1 [2022-09-01T20:57:51.867Z] Core(s) per socket: 1 [2022-09-01T20:57:51.867Z] Socket(s): 8 [2022-09-01T20:57:51.867Z] NUMA node(s): 1 [2022-09-01T20:57:51.867Z] Vendor ID: AuthenticAMD [2022-09-01T20:57:51.867Z] CPU family: 23 [2022-09-01T20:57:51.867Z] Model: 49 [2022-09-01T20:57:51.867Z] Model name: AMD EPYC-Rome Processor [2022-09-01T20:57:51.867Z] Stepping: 0 [2022-09-01T20:57:51.867Z] CPU MHz: 2799.998 [2022-09-01T20:57:51.867Z] BogoMIPS: 5599.99 [2022-09-01T20:57:51.867Z] Virtualization: AMD-V [2022-09-01T20:57:51.867Z] Hypervisor vendor: KVM [2022-09-01T20:57:51.867Z] Virtualization type: full [2022-09-01T20:57:51.867Z] L1d cache: 256 KiB [2022-09-01T20:57:51.867Z] L1i cache: 256 KiB [2022-09-01T20:57:51.867Z] L2 cache: 4 MiB [2022-09-01T20:57:51.867Z] L3 cache: 128 MiB [2022-09-01T20:57:51.867Z] NUMA node0 CPU(s): 0-7 [2022-09-01T20:57:51.867Z] Vulnerability Itlb multihit: Not affected [2022-09-01T20:57:51.867Z] Vulnerability L1tf: Not affected [2022-09-01T20:57:51.867Z] Vulnerability Mds: Not affected [2022-09-01T20:57:51.867Z] Vulnerability Meltdown: Not affected [2022-09-01T20:57:51.867Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-01T20:57:51.867Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-01T20:57:51.867Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-01T20:57:51.867Z] Vulnerability Srbds: Not affected [2022-09-01T20:57:51.867Z] Vulnerability Tsx async abort: Not affected [2022-09-01T20:57:51.867Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] ---> nproc: [2022-09-01T20:57:51.867Z] 8 [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z] ---> df -h: [2022-09-01T20:57:51.867Z] Filesystem Size Used Avail Use% Mounted on [2022-09-01T20:57:51.867Z] overlay 155G 11G 145G 8% / [2022-09-01T20:57:51.867Z] tmpfs 64M 0 64M 0% /dev [2022-09-01T20:57:51.867Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-01T20:57:51.867Z] shm 64M 0 64M 0% /dev/shm [2022-09-01T20:57:51.867Z] /dev/vda1 155G 11G 145G 8% /facter-os [2022-09-01T20:57:51.867Z] [2022-09-01T20:57:51.867Z]