Pull request #154 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3+87f15e26a71a8026a682f6867a4ab9a3284585c9 (36f2baeb17727002ae693674b86662d215c69421) 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-ssh8620635930417658047.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-ssh11838942451056179844.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-154/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-154/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4982635259059483671.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-154/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh271019167348633522.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-ssh15700324949628191307.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-154/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-154/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11668211265708888432.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24589 in /w/workspace/undry_device-onvif-camera_PR-154 [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-154 # 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 cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 Merge succeeded, producing cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 Checking out Revision cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 (PR-154) > 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/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 # 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 cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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-05T13:21:37.978Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-05T13:21:38.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-05T13:21:38.246Z] ========================================================= [2022-09-05T13:21:38.246Z] EdgeX Global Pipelines Version Info [2022-09-05T13:21:38.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:21:39.062Z] ------------------- [2022-09-05T13:21:39.063Z] stable info: [2022-09-05T13:21:39.063Z] ------------------- [2022-09-05T13:21:39.063Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-05T13:21:39.063Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:21:39.063Z] Message: update stable to v1.0.239 [2022-09-05T13:21:39.635Z] ------------------- [2022-09-05T13:21:39.635Z] experimental info: [2022-09-05T13:21:39.635Z] ------------------- [2022-09-05T13:21:39.635Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-05T13:21:39.635Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:21:39.635Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-05T13:21:40.058Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-05T13:21:40.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-05T13:21:40.138Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-05T13:21:40.174Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-05T13:21:40.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-05T13:21:40.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-05T13:21:40.278Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-05T13:21:40.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-05T13:21:40.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-05T13:21:40.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-05T13:21:40.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-05T13:21:40.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-05T13:21:40.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-05T13:21:40.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-05T13:21:40.570Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:21:40.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:21:40.643Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:21:40.678Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:21:40.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-05T13:21:40.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-05T13:21:40.783Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-05T13:21:40.819Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-05T13:21:40.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-05T13:21:40.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-05T13:21:40.927Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-05T13:21:40.963Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-05T13:21:41.001Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-05T13:21:41.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo [2022-09-05T13:21:41.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo [2022-09-05T13:21:41.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo [2022-09-05T13:21:41.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [Pipeline] echo [2022-09-05T13:21:41.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cebba83 [Pipeline] echo [2022-09-05T13:21:41.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:21:41.329Z] provisioning config files... [2022-09-05T13:21:41.343Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-154@tmp/config1568911421648773938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:21:41.703Z] ---> docker-login.sh [2022-09-05T13:21:41.703Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:21:41.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:21:42.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:21:42.234Z] Configure a credential helper to remove this warning. See [2022-09-05T13:21:42.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:21:42.234Z] [2022-09-05T13:21:42.234Z] Login Succeeded [2022-09-05T13:21:42.234Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:21:42.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:21:42.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:21:42.503Z] Configure a credential helper to remove this warning. See [2022-09-05T13:21:42.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:21:42.503Z] [2022-09-05T13:21:42.503Z] Login Succeeded [2022-09-05T13:21:42.503Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:21:42.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:21:42.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:21:42.503Z] Configure a credential helper to remove this warning. See [2022-09-05T13:21:42.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:21:42.503Z] [2022-09-05T13:21:42.503Z] Login Succeeded [2022-09-05T13:21:42.503Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:21:42.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:21:42.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:21:42.764Z] Configure a credential helper to remove this warning. See [2022-09-05T13:21:42.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:21:42.764Z] [2022-09-05T13:21:42.765Z] Login Succeeded [2022-09-05T13:21:42.765Z] docker.io [2022-09-05T13:21:42.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:21:43.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:21:43.027Z] Configure a credential helper to remove this warning. See [2022-09-05T13:21:43.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:21:43.027Z] [2022-09-05T13:21:43.027Z] Login Succeeded [2022-09-05T13:21:43.027Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:21:43.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-05T13:21:43.650Z] + git rev-list -1 --merges cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3~1..cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [Pipeline] echo [2022-09-05T13:21:43.700Z] -----------> git rev-list -1 --merges cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3~1..cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [false] [Pipeline] sh [2022-09-05T13:21:44.010Z] + git log --format=format:%s -1 cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [Pipeline] echo [2022-09-05T13:21:44.044Z] ========================================================= [2022-09-05T13:21:44.044Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-05T13:21:44.044Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:21:44.487Z] + git log --format=format:%s -1 cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [Pipeline] echo [2022-09-05T13:21:44.521Z] [semverPrep] GIT_COMMIT: cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-09-05T13:21:44.552Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-05T13:21:44.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-05T13:21:44.954Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-05T13:21:44.954Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-05T13:21:44.954Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-05T13:21:44.954Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-05T13:21:44.954Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-05T13:21:44.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:21:45.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:21:45.388Z] [2022-09-05T13:21:45.388Z] 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-05T13:21:45.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:21:45.789Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-05T13:21:45.789Z] b85a868b505f: Pulling fs layer [2022-09-05T13:21:45.789Z] e2be974225ed: Pulling fs layer [2022-09-05T13:21:45.789Z] 339a4e72a1f5: Pulling fs layer [2022-09-05T13:21:45.789Z] 988bab9f4d93: Pulling fs layer [2022-09-05T13:21:45.789Z] 1469e6f7b9e6: Pulling fs layer [2022-09-05T13:21:45.789Z] eaf3925da568: Pulling fs layer [2022-09-05T13:21:45.789Z] bab4dde63d76: Pulling fs layer [2022-09-05T13:21:45.789Z] bde34c3a00c8: Pulling fs layer [2022-09-05T13:21:45.789Z] b352a97aabf1: Pulling fs layer [2022-09-05T13:21:45.789Z] 4872d77fe225: Pulling fs layer [2022-09-05T13:21:45.789Z] 5851b861e8e6: Pulling fs layer [2022-09-05T13:21:45.789Z] bab4dde63d76: Waiting [2022-09-05T13:21:45.789Z] bde34c3a00c8: Waiting [2022-09-05T13:21:45.789Z] b352a97aabf1: Waiting [2022-09-05T13:21:45.789Z] 4872d77fe225: Waiting [2022-09-05T13:21:45.789Z] 5851b861e8e6: Waiting [2022-09-05T13:21:45.789Z] 988bab9f4d93: Waiting [2022-09-05T13:21:45.789Z] 1469e6f7b9e6: Waiting [2022-09-05T13:21:45.789Z] eaf3925da568: Waiting [2022-09-05T13:21:45.789Z] e2be974225ed: Download complete [2022-09-05T13:21:45.789Z] 988bab9f4d93: Verifying Checksum [2022-09-05T13:21:45.789Z] 988bab9f4d93: Download complete [2022-09-05T13:21:46.052Z] 1469e6f7b9e6: Verifying Checksum [2022-09-05T13:21:46.052Z] 1469e6f7b9e6: Download complete [2022-09-05T13:21:46.052Z] eaf3925da568: Verifying Checksum [2022-09-05T13:21:46.052Z] eaf3925da568: Download complete [2022-09-05T13:21:46.052Z] 339a4e72a1f5: Verifying Checksum [2022-09-05T13:21:46.052Z] 339a4e72a1f5: Download complete [2022-09-05T13:21:46.052Z] bde34c3a00c8: Verifying Checksum [2022-09-05T13:21:46.052Z] b352a97aabf1: Download complete [2022-09-05T13:21:46.052Z] 4872d77fe225: Verifying Checksum [2022-09-05T13:21:46.052Z] 4872d77fe225: Download complete [2022-09-05T13:21:46.052Z] 5851b861e8e6: Download complete [2022-09-05T13:21:46.052Z] b85a868b505f: Download complete [2022-09-05T13:21:46.315Z] bab4dde63d76: Verifying Checksum [2022-09-05T13:21:46.315Z] bab4dde63d76: Download complete [2022-09-05T13:21:47.699Z] b85a868b505f: Pull complete [2022-09-05T13:21:47.699Z] e2be974225ed: Pull complete [2022-09-05T13:21:47.960Z] 339a4e72a1f5: Pull complete [2022-09-05T13:21:48.219Z] 988bab9f4d93: Pull complete [2022-09-05T13:21:48.479Z] 1469e6f7b9e6: Pull complete [2022-09-05T13:21:48.479Z] eaf3925da568: Pull complete [2022-09-05T13:21:50.390Z] bab4dde63d76: Pull complete [2022-09-05T13:21:50.390Z] bde34c3a00c8: Pull complete [2022-09-05T13:21:50.390Z] b352a97aabf1: Pull complete [2022-09-05T13:21:50.652Z] 4872d77fe225: Pull complete [2022-09-05T13:21:50.652Z] 5851b861e8e6: Pull complete [2022-09-05T13:21:50.652Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-05T13:21:50.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:21:50.652Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:21:50.883Z] prd-ubuntu20.04-docker-8c-8g-24589 does not seem to be running inside a container [2022-09-05T13:21:50.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-154 -v /w/workspace/undry_device-onvif-camera_PR-154:/w/workspace/undry_device-onvif-camera_PR-154:rw,z -v /w/workspace/undry_device-onvif-camera_PR-154@tmp:/w/workspace/undry_device-onvif-camera_PR-154@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-05T13:21:53.735Z] $ docker top 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 -eo pid,comm [2022-09-05T13:21:53.803Z] 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-05T13:21:53.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-05T13:21:53.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:21:53.933Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:21:54.086Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:21:54.093Z] $ docker exec 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 ssh-agent [2022-09-05T13:21:54.211Z] SSH_AUTH_SOCK=/tmp/ssh-UqMyOuxY1VCI/agent.33 [2022-09-05T13:21:54.211Z] SSH_AGENT_PID=39 [2022-09-05T13:21:54.218Z] Running ssh-add (command line suppressed) [2022-09-05T13:21:54.332Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-154@tmp/private_key_546219628010011118.key (/w/workspace/undry_device-onvif-camera_PR-154@tmp/private_key_546219628010011118.key) [2022-09-05T13:21:54.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:21:54.679Z] + git tag --points-at HEAD [Pipeline] } [2022-09-05T13:21:54.707Z] $ docker exec --env ******** --env ******** 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 ssh-agent -k [2022-09-05T13:21:54.820Z] unset SSH_AUTH_SOCK; [2022-09-05T13:21:54.820Z] unset SSH_AGENT_PID; [2022-09-05T13:21:54.820Z] echo Agent pid 39 killed; [2022-09-05T13:21:54.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-05T13:21:54.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:21:54.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:21:55.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:21:55.036Z] $ docker exec 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 ssh-agent [2022-09-05T13:21:55.161Z] SSH_AUTH_SOCK=/tmp/ssh-nzMdp2rqYVdu/agent.72 [2022-09-05T13:21:55.161Z] SSH_AGENT_PID=79 [2022-09-05T13:21:55.166Z] Running ssh-add (command line suppressed) [2022-09-05T13:21:55.278Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-154@tmp/private_key_5980800700874339184.key (/w/workspace/undry_device-onvif-camera_PR-154@tmp/private_key_5980800700874339184.key) [2022-09-05T13:21:55.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:21:55.618Z] + git semver init [2022-09-05T13:21:55.879Z] 2022-09-05 13:21:55,808 [run_init] DEBUG init version:0.0.0 force:False [2022-09-05T13:21:55.879Z] 2022-09-05 13:21:55,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-154/.semver [2022-09-05T13:21:55.879Z] 2022-09-05 13:21:55,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-154/.semver [2022-09-05T13:21:55.879Z] 2022-09-05 13:21:55,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-154/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-154, universal_newlines=False, shell=None, istream=None) [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,700 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-154/.git/info/exclude [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,700 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-154/.semver/PR-154 with force:False [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,701 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-154/.semver/PR-154 [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,705 [execute] INFO git cat-file --batch-check [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-154/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,711 [execute] INFO git cat-file --batch [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-154/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:21:56.822Z] 2022-09-05 13:21:56,715 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-154/.semver/PR-154 [2022-09-05T13:21:56.822Z] 0.0.0 [Pipeline] } [2022-09-05T13:21:56.850Z] $ docker exec --env ******** --env ******** 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 ssh-agent -k [2022-09-05T13:21:56.960Z] unset SSH_AUTH_SOCK; [2022-09-05T13:21:56.960Z] unset SSH_AGENT_PID; [2022-09-05T13:21:56.961Z] echo Agent pid 79 killed; [2022-09-05T13:21:56.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-05T13:21:57.399Z] + git semver [Pipeline] } [2022-09-05T13:21:57.688Z] $ docker stop --time=1 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 [2022-09-05T13:21:59.003Z] $ docker rm -f 591b8054438f64c178143ca41caf214b0abdde4c982513d122b8fb9d03eff820 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:21:59.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-05T13:21:59.715Z] Stashed 1 file(s) [Pipeline] echo [2022-09-05T13:21:59.731Z] [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-05T13:22:00.266Z] provisioning config files... [2022-09-05T13:22:00.278Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-154@tmp/config2464769888570641366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:22:00.622Z] ---> docker-login.sh [2022-09-05T13:22:00.622Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:22:00.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:22:00.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:22:00.622Z] Configure a credential helper to remove this warning. See [2022-09-05T13:22:00.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:22:00.622Z] [2022-09-05T13:22:00.622Z] Login Succeeded [2022-09-05T13:22:00.622Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:22:00.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:22:00.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:22:00.887Z] Configure a credential helper to remove this warning. See [2022-09-05T13:22:00.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:22:00.887Z] [2022-09-05T13:22:00.887Z] Login Succeeded [2022-09-05T13:22:00.887Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:22:00.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:22:00.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:22:00.887Z] Configure a credential helper to remove this warning. See [2022-09-05T13:22:00.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:22:00.887Z] [2022-09-05T13:22:00.887Z] Login Succeeded [2022-09-05T13:22:00.887Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:22:01.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:22:01.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:22:01.148Z] Configure a credential helper to remove this warning. See [2022-09-05T13:22:01.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:22:01.148Z] [2022-09-05T13:22:01.148Z] Login Succeeded [2022-09-05T13:22:01.148Z] docker.io [2022-09-05T13:22:01.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:22:01.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:22:01.409Z] Configure a credential helper to remove this warning. See [2022-09-05T13:22:01.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:22:01.409Z] [2022-09-05T13:22:01.409Z] Login Succeeded [2022-09-05T13:22:01.409Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:22:01.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:22:01.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:22:01.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:22:01.673Z] ========================================================= [2022-09-05T13:22:01.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-05T13:22:01.673Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:22:02.149Z] + 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-05T13:22:02.149Z] Sending build context to Docker daemon 20.64MB [2022-09-05T13:22:02.149Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:22:02.149Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-05T13:22:02.411Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-05T13:22:02.411Z] 2408cc74d12b: Pulling fs layer [2022-09-05T13:22:02.411Z] ea60b727a1ce: Pulling fs layer [2022-09-05T13:22:02.411Z] 30c4a7721957: Pulling fs layer [2022-09-05T13:22:02.411Z] 370296b7ddb6: Pulling fs layer [2022-09-05T13:22:02.411Z] 7c6cee850709: Pulling fs layer [2022-09-05T13:22:02.411Z] 39a5fcdaea64: Pulling fs layer [2022-09-05T13:22:02.411Z] d94ebbe4e438: Pulling fs layer [2022-09-05T13:22:02.411Z] bcfd1f05c69d: Pulling fs layer [2022-09-05T13:22:02.411Z] 59ccb84bbe0f: Pulling fs layer [2022-09-05T13:22:02.411Z] 7c6cee850709: Waiting [2022-09-05T13:22:02.411Z] d94ebbe4e438: Waiting [2022-09-05T13:22:02.411Z] bcfd1f05c69d: Waiting [2022-09-05T13:22:02.411Z] 39a5fcdaea64: Waiting [2022-09-05T13:22:02.411Z] 59ccb84bbe0f: Waiting [2022-09-05T13:22:02.411Z] 370296b7ddb6: Waiting [2022-09-05T13:22:02.411Z] 30c4a7721957: Download complete [2022-09-05T13:22:02.411Z] ea60b727a1ce: Verifying Checksum [2022-09-05T13:22:02.411Z] ea60b727a1ce: Download complete [2022-09-05T13:22:02.411Z] 7c6cee850709: Download complete [2022-09-05T13:22:02.411Z] 39a5fcdaea64: Verifying Checksum [2022-09-05T13:22:02.411Z] 39a5fcdaea64: Download complete [2022-09-05T13:22:02.411Z] 2408cc74d12b: Verifying Checksum [2022-09-05T13:22:02.411Z] 2408cc74d12b: Download complete [2022-09-05T13:22:02.411Z] d94ebbe4e438: Download complete [2022-09-05T13:22:02.684Z] 2408cc74d12b: Pull complete [2022-09-05T13:22:02.684Z] ea60b727a1ce: Pull complete [2022-09-05T13:22:02.684Z] 30c4a7721957: Pull complete [2022-09-05T13:22:02.956Z] 59ccb84bbe0f: Verifying Checksum [2022-09-05T13:22:02.956Z] 59ccb84bbe0f: Download complete [2022-09-05T13:22:03.222Z] 370296b7ddb6: Download complete [2022-09-05T13:22:03.482Z] bcfd1f05c69d: Verifying Checksum [2022-09-05T13:22:03.482Z] bcfd1f05c69d: Download complete [2022-09-05T13:22:07.679Z] 370296b7ddb6: Pull complete [2022-09-05T13:22:07.679Z] 7c6cee850709: Pull complete [2022-09-05T13:22:07.679Z] 39a5fcdaea64: Pull complete [2022-09-05T13:22:07.679Z] d94ebbe4e438: Pull complete [2022-09-05T13:22:09.591Z] bcfd1f05c69d: Pull complete [2022-09-05T13:22:10.163Z] 59ccb84bbe0f: Pull complete [2022-09-05T13:22:10.163Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-05T13:22:10.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-05T13:22:10.163Z] ---> a4fb48ad2a94 [2022-09-05T13:22:10.163Z] Step 3/13 : ARG MAKE="make build" [2022-09-05T13:22:15.112Z] Still waiting to schedule task [2022-09-05T13:22:15.112Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-05T13:22:15.458Z] ---> Running in e66dddaba598 [2022-09-05T13:22:15.458Z] Removing intermediate container e66dddaba598 [2022-09-05T13:22:15.458Z] ---> 68664094f818 [2022-09-05T13:22:15.459Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:22:15.459Z] ---> Running in 9daeb77f2f52 [2022-09-05T13:22:15.459Z] Removing intermediate container 9daeb77f2f52 [2022-09-05T13:22:15.459Z] ---> 6eb44720546c [2022-09-05T13:22:15.459Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:22:15.459Z] ---> Running in 5dbeaee8b7c4 [2022-09-05T13:22:15.459Z] Removing intermediate container 5dbeaee8b7c4 [2022-09-05T13:22:15.459Z] ---> 56cf8a046adb [2022-09-05T13:22:15.459Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-05T13:22:15.459Z] ---> Running in 3ccbf0f28df3 [2022-09-05T13:22:15.459Z] Removing intermediate container 3ccbf0f28df3 [2022-09-05T13:22:15.459Z] ---> 51648e85abce [2022-09-05T13:22:15.459Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:22:15.459Z] ---> Running in cff5a5850561 [2022-09-05T13:22:15.459Z] Removing intermediate container cff5a5850561 [2022-09-05T13:22:15.459Z] ---> 9cbb5661ac5b [2022-09-05T13:22:15.459Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:22:15.459Z] ---> Running in ad984c5ddd3f [2022-09-05T13:22:15.722Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:22:16.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:22:16.930Z] OK: 211 MiB in 51 packages [2022-09-05T13:22:17.190Z] Removing intermediate container ad984c5ddd3f [2022-09-05T13:22:17.190Z] ---> 9d9e3bb9caa0 [2022-09-05T13:22:17.190Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-05T13:22:17.190Z] ---> Running in ae5b63afae32 [2022-09-05T13:22:17.449Z] Removing intermediate container ae5b63afae32 [2022-09-05T13:22:17.449Z] ---> abb5846392aa [2022-09-05T13:22:17.449Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-05T13:22:17.449Z] ---> 03c08bebc1d4 [2022-09-05T13:22:17.449Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:22:17.449Z] ---> Running in 37136aa94bdd [2022-09-05T13:22:44.042Z] Removing intermediate container 37136aa94bdd [2022-09-05T13:22:44.042Z] ---> ed45fb5b57ac [2022-09-05T13:22:44.042Z] Step 12/13 : COPY . . [2022-09-05T13:22:44.042Z] ---> 7a3c59b14c07 [2022-09-05T13:22:44.042Z] Step 13/13 : RUN ${MAKE} [2022-09-05T13:22:44.042Z] ---> Running in 143fa2d19526 [2022-09-05T13:22:44.042Z] noop [2022-09-05T13:22:44.042Z] Removing intermediate container 143fa2d19526 [2022-09-05T13:22:44.042Z] ---> f71a9d1782e5 [2022-09-05T13:22:44.042Z] Successfully built f71a9d1782e5 [2022-09-05T13:22:44.042Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:22:44.469Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:22:44.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:22:44.614Z] prd-ubuntu20.04-docker-8c-8g-24589 does not seem to be running inside a container [2022-09-05T13:22:44.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-154 -v /w/workspace/undry_device-onvif-camera_PR-154:/w/workspace/undry_device-onvif-camera_PR-154:rw,z -v /w/workspace/undry_device-onvif-camera_PR-154@tmp:/w/workspace/undry_device-onvif-camera_PR-154@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:22:45.012Z] $ docker top 249a0bae0c0c1059506cc0e4363a2c99878a8964539326aab76b0b55559d261d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:22:45.400Z] + go version [2022-09-05T13:22:45.400Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-05T13:22:45.431Z] $ docker stop --time=1 249a0bae0c0c1059506cc0e4363a2c99878a8964539326aab76b0b55559d261d [2022-09-05T13:22:46.701Z] $ docker rm -f 249a0bae0c0c1059506cc0e4363a2c99878a8964539326aab76b0b55559d261d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:22:47.403Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:22:47.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:22:47.556Z] prd-ubuntu20.04-docker-8c-8g-24589 does not seem to be running inside a container [2022-09-05T13:22:47.612Z] $ 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-154 -v /w/workspace/undry_device-onvif-camera_PR-154:/w/workspace/undry_device-onvif-camera_PR-154:rw,z -v /w/workspace/undry_device-onvif-camera_PR-154@tmp:/w/workspace/undry_device-onvif-camera_PR-154@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:22:47.967Z] $ docker top ebc0520b1e28e6041e767f2fee6324e9a1498ae10f53a69737bcd870508a7096 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:22:48.391Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-154 [Pipeline] fileExists [Pipeline] sh [2022-09-05T13:22:48.754Z] + make test [2022-09-05T13:22:48.754Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-05T13:22:49.013Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-05T13:23:01.223Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-05T13:23:01.223Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.6% of statements [2022-09-05T13:23:01.223Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-05T13:23:04.517Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.883s coverage: 13.8% of statements [2022-09-05T13:23:12.646Z] 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-05T13:23:12.647Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T13:23:15.184Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T13:23:15.184Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T13:23:15.444Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-05T13:23:15.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T13:23:15.507Z] $ docker stop --time=1 ebc0520b1e28e6041e767f2fee6324e9a1498ae10f53a69737bcd870508a7096 [2022-09-05T13:23:18.202Z] $ docker rm -f ebc0520b1e28e6041e767f2fee6324e9a1498ae10f53a69737bcd870508a7096 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:23:18.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T13:23:18.776Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-05T13:23:19.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T13:23:19.762Z] + ls -al . [2022-09-05T13:23:19.762Z] total 232 [2022-09-05T13:23:19.762Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 13:22 . [2022-09-05T13:23:19.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:21 .. [2022-09-05T13:23:19.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:23 .git [2022-09-05T13:23:19.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:21 .github [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 5 13:21 .gitignore [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 13:21 .golangci.yml [2022-09-05T13:23:19.762Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:21 .semver [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 5 13:21 Attribution.txt [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 5 13:21 CHANGELOG.md [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 5 13:21 Dockerfile [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:21 GOVERNANCE.md [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 5 13:21 Jenkinsfile [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 5 13:21 LICENSE [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 5 13:21 Makefile [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 5 13:21 OWNERS.md [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 5 13:21 README.md [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:21 VERSION [2022-09-05T13:23:19.762Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:21 bin [2022-09-05T13:23:19.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:21 cmd [2022-09-05T13:23:19.762Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 5 13:23 coverage.out [2022-09-05T13:23:19.762Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 13:21 doc [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 5 13:21 go.mod [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 5 13:21 go.sum [2022-09-05T13:23:19.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:21 internal [2022-09-05T13:23:19.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:21 snap [2022-09-05T13:23:19.762Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 5 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:23:20.162Z] + 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=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 --label arch=amd64 --label version=0.0.0 . [2022-09-05T13:23:20.163Z] Sending build context to Docker daemon 20.71MB [2022-09-05T13:23:20.163Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:23:20.163Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-05T13:23:20.163Z] ---> f71a9d1782e5 [2022-09-05T13:23:20.163Z] Step 3/26 : ARG MAKE="make build" [2022-09-05T13:23:20.425Z] ---> Running in 61ed59c0654c [2022-09-05T13:23:20.685Z] Removing intermediate container 61ed59c0654c [2022-09-05T13:23:20.685Z] ---> 2a3880952b00 [2022-09-05T13:23:20.685Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:23:20.685Z] ---> Running in 97a7ce693e96 [2022-09-05T13:23:20.685Z] Removing intermediate container 97a7ce693e96 [2022-09-05T13:23:20.685Z] ---> f576a9f83f8c [2022-09-05T13:23:20.685Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:23:20.685Z] ---> Running in ec5c30e3140d [2022-09-05T13:23:20.685Z] Removing intermediate container ec5c30e3140d [2022-09-05T13:23:20.685Z] ---> b4fc59be82be [2022-09-05T13:23:20.685Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-05T13:23:20.685Z] ---> Running in c81d3d902e49 [2022-09-05T13:23:20.946Z] Removing intermediate container c81d3d902e49 [2022-09-05T13:23:20.946Z] ---> 2551b1744c87 [2022-09-05T13:23:20.946Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:23:20.946Z] ---> Running in 1e65bb16b34e [2022-09-05T13:23:21.517Z] Removing intermediate container 1e65bb16b34e [2022-09-05T13:23:21.517Z] ---> 5a0cc8c0d723 [2022-09-05T13:23:21.517Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:23:21.517Z] ---> Running in 13b400cde8f3 [2022-09-05T13:23:21.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:23:22.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:23:22.980Z] OK: 211 MiB in 51 packages [2022-09-05T13:23:23.240Z] Removing intermediate container 13b400cde8f3 [2022-09-05T13:23:23.240Z] ---> 43a7f1163c0b [2022-09-05T13:23:23.240Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-05T13:23:23.240Z] ---> Running in 16d97cc2aa9d [2022-09-05T13:23:23.499Z] Removing intermediate container 16d97cc2aa9d [2022-09-05T13:23:23.499Z] ---> cb8884837ba8 [2022-09-05T13:23:23.499Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-05T13:23:23.499Z] ---> f879d4cf1b46 [2022-09-05T13:23:23.499Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:23:23.499Z] ---> Running in 8b67d4576ebc [2022-09-05T13:23:24.443Z] Removing intermediate container 8b67d4576ebc [2022-09-05T13:23:24.443Z] ---> 36c500b6b24e [2022-09-05T13:23:24.443Z] Step 12/26 : COPY . . [2022-09-05T13:23:25.016Z] ---> 1c15c43c32a7 [2022-09-05T13:23:25.016Z] Step 13/26 : RUN ${MAKE} [2022-09-05T13:23:25.016Z] ---> Running in 3f4d6ee475a7 [2022-09-05T13:23:25.277Z] 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-05T13:23:47.219Z] Removing intermediate container 3f4d6ee475a7 [2022-09-05T13:23:47.219Z] ---> 6bd651d779b9 [2022-09-05T13:23:47.219Z] Step 14/26 : FROM alpine:3.16 [2022-09-05T13:23:47.219Z] 3.16: Pulling from library/alpine [2022-09-05T13:23:47.219Z] 213ec9aee27d: Pulling fs layer [2022-09-05T13:23:47.219Z] 213ec9aee27d: Verifying Checksum [2022-09-05T13:23:47.219Z] 213ec9aee27d: Download complete [2022-09-05T13:23:47.219Z] 213ec9aee27d: Pull complete [2022-09-05T13:23:47.219Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T13:23:47.219Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T13:23:47.219Z] ---> 9c6f07244728 [2022-09-05T13:23:47.219Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-05T13:23:47.219Z] ---> Running in 4899bec3411b [2022-09-05T13:23:47.219Z] Removing intermediate container 4899bec3411b [2022-09-05T13:23:47.219Z] ---> a7a89ecd3ccc [2022-09-05T13:23:47.219Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T13:23:47.420Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24590 in /w/workspace/undry_device-onvif-camera_PR-154 [Pipeline] { [Pipeline] ws [2022-09-05T13:23:47.460Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [2022-09-05T13:23:47.478Z] ---> Running in da77b6d73c0d [Pipeline] checkout [2022-09-05T13:23:47.562Z] Selected Git installation does not exist. Using Default [2022-09-05T13:23:47.562Z] The recommended git tool is: NONE [2022-09-05T13:23:47.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:23:47.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:23:47.996Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T13:23:47.996Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T13:23:47.996Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T13:23:47.996Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T13:23:47.996Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T13:23:47.996Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T13:23:47.996Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T13:23:47.996Z] OK: 8 MiB in 20 packages [2022-09-05T13:23:48.566Z] Removing intermediate container da77b6d73c0d [2022-09-05T13:23:48.566Z] ---> a8e050e3878e [2022-09-05T13:23:48.566Z] Step 17/26 : WORKDIR / [2022-09-05T13:23:48.566Z] ---> Running in ec12c376d197 [2022-09-05T13:23:48.566Z] Removing intermediate container ec12c376d197 [2022-09-05T13:23:48.566Z] ---> 3c4b03fade31 [2022-09-05T13:23:48.566Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-05T13:23:49.507Z] ---> f9ff9075726d [2022-09-05T13:23:49.507Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-05T13:23:49.507Z] ---> 23fde24be857 [2022-09-05T13:23:49.507Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-05T13:23:49.507Z] ---> fa69960fc46f [2022-09-05T13:23:49.507Z] Step 21/26 : EXPOSE 59984 [2022-09-05T13:23:49.507Z] ---> Running in 734984b8605d [2022-09-05T13:23:49.507Z] Removing intermediate container 734984b8605d [2022-09-05T13:23:49.507Z] ---> 8662e3291a72 [2022-09-05T13:23:49.507Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-05T13:23:49.767Z] ---> Running in 2ac45f6af3fb [2022-09-05T13:23:49.767Z] Removing intermediate container 2ac45f6af3fb [2022-09-05T13:23:49.767Z] ---> e4f25e478d16 [2022-09-05T13:23:49.767Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T13:23:49.767Z] ---> Running in 9bb7235ede1a [2022-09-05T13:23:49.767Z] Removing intermediate container 9bb7235ede1a [2022-09-05T13:23:49.767Z] ---> 8dc9169bf15a [2022-09-05T13:23:49.767Z] Step 24/26 : LABEL arch=amd64 [2022-09-05T13:23:49.767Z] ---> Running in 13158cfa88e3 [2022-09-05T13:23:50.026Z] Removing intermediate container 13158cfa88e3 [2022-09-05T13:23:50.026Z] ---> 9d00d5880dfd [2022-09-05T13:23:50.026Z] Step 25/26 : LABEL git_sha=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [2022-09-05T13:23:50.026Z] ---> Running in d0995e630226 [2022-09-05T13:23:50.026Z] Removing intermediate container d0995e630226 [2022-09-05T13:23:50.026Z] ---> 9b5c8cc137ae [2022-09-05T13:23:50.026Z] Step 26/26 : LABEL version=0.0.0 [2022-09-05T13:23:50.026Z] ---> Running in a18a1ba90a3e [2022-09-05T13:23:50.026Z] Removing intermediate container a18a1ba90a3e [2022-09-05T13:23:50.026Z] ---> 3c9920ae6bfa [2022-09-05T13:23:50.026Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T13:23:50.026Z] Successfully built 3c9920ae6bfa [2022-09-05T13:23:50.026Z] 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-05T13:23:50.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:23:50.830Z] [2022-09-05T13:23:50.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:23:51.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:23:51.199Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-05T13:23:51.200Z] 5eb5b503b376: Pulling fs layer [2022-09-05T13:23:51.200Z] 5c69ac0246d0: Pulling fs layer [2022-09-05T13:23:51.200Z] ec43610c2a17: Pulling fs layer [2022-09-05T13:23:51.200Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-05T13:23:51.200Z] 33b1e0a273af: Pulling fs layer [2022-09-05T13:23:51.200Z] 5d3b04190fa2: Pulling fs layer [2022-09-05T13:23:51.200Z] 2f39f015ded8: Pulling fs layer [2022-09-05T13:23:51.200Z] 33b1e0a273af: Waiting [2022-09-05T13:23:51.200Z] 5d3b04190fa2: Waiting [2022-09-05T13:23:51.200Z] 3a2ae6a8a46f: Waiting [2022-09-05T13:23:51.200Z] 2f39f015ded8: Waiting [2022-09-05T13:23:51.200Z] 5c69ac0246d0: Download complete [2022-09-05T13:23:51.200Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-05T13:23:51.200Z] 3a2ae6a8a46f: Download complete [2022-09-05T13:23:51.200Z] 33b1e0a273af: Verifying Checksum [2022-09-05T13:23:51.200Z] 33b1e0a273af: Download complete [2022-09-05T13:23:51.461Z] 5d3b04190fa2: Verifying Checksum [2022-09-05T13:23:51.461Z] 5d3b04190fa2: Download complete [2022-09-05T13:23:51.461Z] ec43610c2a17: Verifying Checksum [2022-09-05T13:23:51.461Z] ec43610c2a17: Download complete [2022-09-05T13:23:51.461Z] 5eb5b503b376: Verifying Checksum [2022-09-05T13:23:51.461Z] 5eb5b503b376: Download complete [2022-09-05T13:23:52.031Z] 2f39f015ded8: Verifying Checksum [2022-09-05T13:23:52.031Z] 2f39f015ded8: Download complete [2022-09-05T13:23:52.598Z] 5eb5b503b376: Pull complete [2022-09-05T13:23:53.166Z] 5c69ac0246d0: Pull complete [2022-09-05T13:23:53.732Z] ec43610c2a17: Pull complete [2022-09-05T13:23:53.732Z] 3a2ae6a8a46f: Pull complete [2022-09-05T13:23:53.990Z] 33b1e0a273af: Pull complete [2022-09-05T13:23:53.990Z] 5d3b04190fa2: Pull complete [2022-09-05T13:23:54.205Z] using credential edgex-jenkins-ssh [2022-09-05T13:23:54.226Z] Cloning the remote Git repository [2022-09-05T13:23:54.318Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-05T13:23:54.399Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-05T13:23:54.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-05T13:23:54.492Z] > git --version # timeout=10 [2022-09-05T13:23:54.525Z] > git --version # 'git version 2.25.1' [2022-09-05T13:23:54.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:23:54.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:23:56.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-05T13:23:56.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:23:56.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-05T13:23:56.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-05T13:23:56.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:23:56.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-05T13:23:56.935Z] Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [2022-09-05T13:23:57.282Z] Merge succeeded, producing cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [2022-09-05T13:23:57.282Z] Checking out Revision cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 (PR-154) [2022-09-05T13:23:56.953Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:23:56.967Z] > git checkout -f cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 # timeout=10 [2022-09-05T13:23:57.196Z] > git remote # timeout=10 [2022-09-05T13:23:57.212Z] > git config --get remote.origin.url # timeout=10 [2022-09-05T13:23:57.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:23:57.237Z] > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 [2022-09-05T13:23:57.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-05T13:23:57.289Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:23:57.311Z] > git checkout -f cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 # timeout=10 [2022-09-05T13:23:58.175Z] 2f39f015ded8: Pull complete [2022-09-05T13:23:58.175Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-05T13:23:58.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:23:58.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:23:58.390Z] prd-ubuntu20.04-docker-8c-8g-24589 does not seem to be running inside a container [2022-09-05T13:23:58.418Z] $ 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-154 -v /w/workspace/undry_device-onvif-camera_PR-154:/w/workspace/undry_device-onvif-camera_PR-154:rw,z -v /w/workspace/undry_device-onvif-camera_PR-154@tmp:/w/workspace/undry_device-onvif-camera_PR-154@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-05T13:24:01.654Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-09-05T13:24:01.715Z] > git --version # timeout=10 [2022-09-05T13:24:01.725Z] > git --version # 'git version 2.25.1' [2022-09-05T13:24:01.737Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:24:01.960Z] $ docker top 7b52fd46f758b1f6135f878da71ae280510388a04328442b0c0ec76f02d11f7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:24:02.174Z] [2022-09-05T13:24:02.175Z] GitHub has been notified of this commit’s build result [2022-09-05T13:24:02.175Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:24:02.432Z] ---> job-cost.sh [2022-09-05T13:24:02.432Z] lf-activate-venv: SKIPPING [2022-09-05T13:24:02.432Z] INFO: No Stack... [2022-09-05T13:24:02.691Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T13:24:02.925Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-05T13:24:02.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T13:24:02.925Z] Dload Upload Total Spent Left Speed [2022-09-05T13:24:02.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 73267 0 --:--:-- --:--:-- --:--:-- 73267 [2022-09-05T13:24:03.259Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-09-05T13:24:03.572Z] + cut -d, -f6 [2022-09-05T13:24:03.572Z] + cat /w/workspace/undry_device-onvif-camera_PR-154/archives/cost.csv [Pipeline] lock [2022-09-05T13:24:03.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [2022-09-05T13:24:03.694Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] did not exist. Created. [2022-09-05T13:24:03.694Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T13:24:03.884Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-05T13:24:04.095Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-05T13:24:04.143Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T13:24:04.168Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T13:24:04.242Z] $ docker stop --time=1 7b52fd46f758b1f6135f878da71ae280510388a04328442b0c0ec76f02d11f7c [2022-09-05T13:24:04.243Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-05T13:24:04.243Z] + sudo tee /etc/docker/daemon.new [2022-09-05T13:24:04.243Z] { [2022-09-05T13:24:04.243Z] "registry-mirrors": [ [2022-09-05T13:24:04.243Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-05T13:24:04.243Z] ], [2022-09-05T13:24:04.243Z] "bip": "10.250.0.254/24", [2022-09-05T13:24:04.243Z] "hosts": [ [2022-09-05T13:24:04.243Z] "tcp://0.0.0.0:5555", [2022-09-05T13:24:04.243Z] "unix:///var/run/docker.sock" [2022-09-05T13:24:04.243Z] ], [2022-09-05T13:24:04.243Z] "mtu": 1458, [2022-09-05T13:24:04.243Z] "selinux-enabled": true, [2022-09-05T13:24:04.243Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-05T13:24:04.243Z] } [2022-09-05T13:24:05.388Z] $ docker rm -f 7b52fd46f758b1f6135f878da71ae280510388a04328442b0c0ec76f02d11f7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-05T13:24:05.867Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-05T13:24:06.221Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:24:24.623Z] provisioning config files... [2022-09-05T13:24:24.649Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3550467783015477421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:24:25.045Z] ---> docker-login.sh [2022-09-05T13:24:25.045Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:24:25.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:24:25.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:24:25.919Z] Configure a credential helper to remove this warning. See [2022-09-05T13:24:25.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:24:25.919Z] [2022-09-05T13:24:25.919Z] Login Succeeded [2022-09-05T13:24:25.919Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:24:26.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:24:26.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:24:26.193Z] Configure a credential helper to remove this warning. See [2022-09-05T13:24:26.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:24:26.193Z] [2022-09-05T13:24:26.193Z] Login Succeeded [2022-09-05T13:24:26.468Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:24:26.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:24:26.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:24:26.747Z] Configure a credential helper to remove this warning. See [2022-09-05T13:24:26.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:24:26.747Z] [2022-09-05T13:24:26.747Z] Login Succeeded [2022-09-05T13:24:26.747Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:24:27.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:24:27.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:24:27.349Z] Configure a credential helper to remove this warning. See [2022-09-05T13:24:27.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:24:27.349Z] [2022-09-05T13:24:27.349Z] Login Succeeded [2022-09-05T13:24:27.349Z] docker.io [2022-09-05T13:24:27.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:24:28.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:24:28.225Z] Configure a credential helper to remove this warning. See [2022-09-05T13:24:28.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:24:28.225Z] [2022-09-05T13:24:28.225Z] Login Succeeded [2022-09-05T13:24:28.225Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:24:28.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:24:28.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:24:28.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:24:28.691Z] ========================================================= [2022-09-05T13:24:28.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-05T13:24:28.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:24:29.182Z] + 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-05T13:24:29.781Z] Sending build context to Docker daemon 14.11MB [2022-09-05T13:24:29.781Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:24:29.781Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-05T13:24:29.781Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-05T13:24:29.781Z] b3c136eddcbf: Pulling fs layer [2022-09-05T13:24:29.781Z] c0a3192eca97: Pulling fs layer [2022-09-05T13:24:29.781Z] a050256f5b6f: Pulling fs layer [2022-09-05T13:24:29.781Z] 656be50a0ddc: Pulling fs layer [2022-09-05T13:24:29.781Z] 2bbca73fdf42: Pulling fs layer [2022-09-05T13:24:29.781Z] 46d945488cbd: Pulling fs layer [2022-09-05T13:24:29.781Z] 8a5474983e97: Pulling fs layer [2022-09-05T13:24:29.781Z] 329c88fbcd65: Pulling fs layer [2022-09-05T13:24:29.781Z] 656be50a0ddc: Waiting [2022-09-05T13:24:29.781Z] 2bbca73fdf42: Waiting [2022-09-05T13:24:29.781Z] 46d945488cbd: Waiting [2022-09-05T13:24:29.781Z] 8a5474983e97: Waiting [2022-09-05T13:24:29.781Z] 329c88fbcd65: Waiting [2022-09-05T13:24:30.068Z] a050256f5b6f: Verifying Checksum [2022-09-05T13:24:30.068Z] a050256f5b6f: Download complete [2022-09-05T13:24:30.068Z] c0a3192eca97: Verifying Checksum [2022-09-05T13:24:30.068Z] c0a3192eca97: Download complete [2022-09-05T13:24:30.068Z] 2bbca73fdf42: Verifying Checksum [2022-09-05T13:24:30.068Z] 2bbca73fdf42: Download complete [2022-09-05T13:24:30.068Z] 46d945488cbd: Verifying Checksum [2022-09-05T13:24:30.068Z] 46d945488cbd: Download complete [2022-09-05T13:24:30.068Z] b3c136eddcbf: Verifying Checksum [2022-09-05T13:24:30.068Z] b3c136eddcbf: Download complete [2022-09-05T13:24:31.058Z] b3c136eddcbf: Pull complete [2022-09-05T13:24:31.058Z] 329c88fbcd65: Verifying Checksum [2022-09-05T13:24:31.058Z] 329c88fbcd65: Download complete [2022-09-05T13:24:31.666Z] c0a3192eca97: Pull complete [2022-09-05T13:24:31.957Z] a050256f5b6f: Pull complete [2022-09-05T13:24:32.234Z] 8a5474983e97: Verifying Checksum [2022-09-05T13:24:32.234Z] 8a5474983e97: Download complete [2022-09-05T13:24:32.834Z] 656be50a0ddc: Verifying Checksum [2022-09-05T13:24:32.834Z] 656be50a0ddc: Download complete [2022-09-05T13:24:45.236Z] 656be50a0ddc: Pull complete [2022-09-05T13:24:45.511Z] 2bbca73fdf42: Pull complete [2022-09-05T13:24:45.786Z] 46d945488cbd: Pull complete [2022-09-05T13:24:52.551Z] 8a5474983e97: Pull complete [2022-09-05T13:24:54.530Z] 329c88fbcd65: Pull complete [2022-09-05T13:24:54.530Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-05T13:24:54.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-05T13:24:54.530Z] ---> ff4287adb874 [2022-09-05T13:24:54.530Z] Step 3/13 : ARG MAKE="make build" [2022-09-05T13:24:55.146Z] ---> Running in ef0fb0e5d481 [2022-09-05T13:24:55.424Z] Removing intermediate container ef0fb0e5d481 [2022-09-05T13:24:55.424Z] ---> 7619f20a9dab [2022-09-05T13:24:55.424Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:24:55.700Z] ---> Running in 45f82d1bf44e [2022-09-05T13:24:55.975Z] Removing intermediate container 45f82d1bf44e [2022-09-05T13:24:55.975Z] ---> 2536047ac08c [2022-09-05T13:24:55.975Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:24:55.975Z] ---> Running in e29a02f7f516 [2022-09-05T13:24:56.251Z] Removing intermediate container e29a02f7f516 [2022-09-05T13:24:56.251Z] ---> 769e73e61dd7 [2022-09-05T13:24:56.251Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-05T13:24:56.251Z] ---> Running in 62af56b63c73 [2022-09-05T13:24:56.851Z] Removing intermediate container 62af56b63c73 [2022-09-05T13:24:56.851Z] ---> cb5088ab9399 [2022-09-05T13:24:56.851Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:24:56.851Z] ---> Running in 12cc30841650 [2022-09-05T13:24:59.487Z] Removing intermediate container 12cc30841650 [2022-09-05T13:24:59.487Z] ---> e03f0cc5f315 [2022-09-05T13:24:59.487Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:24:59.487Z] ---> Running in 11ec8f588465 [2022-09-05T13:25:00.478Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T13:25:01.460Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T13:25:02.450Z] OK: 221 MiB in 51 packages [2022-09-05T13:25:03.441Z] Removing intermediate container 11ec8f588465 [2022-09-05T13:25:03.441Z] ---> 4b6e102690c9 [2022-09-05T13:25:03.441Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-05T13:25:03.441Z] ---> Running in 7222891bdaf8 [2022-09-05T13:25:03.714Z] Removing intermediate container 7222891bdaf8 [2022-09-05T13:25:03.714Z] ---> a0b7c8ecec6a [2022-09-05T13:25:03.714Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-05T13:25:03.989Z] ---> 540ccc4cd321 [2022-09-05T13:25:03.989Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:25:04.264Z] ---> Running in e75884ed5b6f [2022-09-05T13:26:00.802Z] Removing intermediate container e75884ed5b6f [2022-09-05T13:26:00.802Z] ---> 670077b48b15 [2022-09-05T13:26:00.802Z] Step 12/13 : COPY . . [2022-09-05T13:26:00.802Z] ---> 18bfbc47d75c [2022-09-05T13:26:00.802Z] Step 13/13 : RUN ${MAKE} [2022-09-05T13:26:00.802Z] ---> Running in ff723c1de8bb [2022-09-05T13:26:00.802Z] noop [2022-09-05T13:26:00.802Z] Removing intermediate container ff723c1de8bb [2022-09-05T13:26:00.802Z] ---> 5944b0b4968e [2022-09-05T13:26:00.802Z] Successfully built 5944b0b4968e [2022-09-05T13:26:00.802Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:26:01.292Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T13:26:01.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:26:01.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-24590 does not seem to be running inside a container [2022-09-05T13:26:01.707Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-05T13:26:03.030Z] $ docker top 3d9214d5a2103ccd05a1b515d226fbe616ee8b414b85373ae0b7457005483721 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:26:03.972Z] + go version [2022-09-05T13:26:03.973Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-05T13:26:04.012Z] $ docker stop --time=1 3d9214d5a2103ccd05a1b515d226fbe616ee8b414b85373ae0b7457005483721 [2022-09-05T13:26:05.621Z] $ docker rm -f 3d9214d5a2103ccd05a1b515d226fbe616ee8b414b85373ae0b7457005483721 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:26:06.496Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T13:26:06.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:26:06.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-24590 does not seem to be running inside a container [2022-09-05T13:26:06.899Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-05T13:26:08.124Z] $ docker top 6e7dff1171b48938d5112887c06236456236cfaca95bfaa06e3dc62bc80c351d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:26:09.084Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-05T13:26:09.807Z] + make test [2022-09-05T13:26:09.807Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-05T13:26:11.793Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-05T13:27:33.637Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-05T13:27:41.946Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.193s coverage: 28.6% of statements [2022-09-05T13:27:41.946Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-05T13:28:08.767Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.924s coverage: 13.8% of statements [2022-09-05T13:28:08.767Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-05T13:28:08.767Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T13:28:30.965Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T13:28:30.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T13:28:30.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-05T13:28:31.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T13:28:31.036Z] $ docker stop --time=1 6e7dff1171b48938d5112887c06236456236cfaca95bfaa06e3dc62bc80c351d [2022-09-05T13:28:32.850Z] $ docker rm -f 6e7dff1171b48938d5112887c06236456236cfaca95bfaa06e3dc62bc80c351d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:28:33.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T13:28:33.942Z] Warning: overwriting stash ‘coverage-report’ [2022-09-05T13:28:34.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:28:35.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T13:28:35.424Z] + ls -al . [2022-09-05T13:28:35.425Z] total 228 [2022-09-05T13:28:35.425Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 13:26 . [2022-09-05T13:28:35.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:23 .. [2022-09-05T13:28:35.425Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:24 .git [2022-09-05T13:28:35.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:23 .github [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 5 13:23 .gitignore [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 13:23 .golangci.yml [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 5 13:23 Attribution.txt [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 5 13:23 CHANGELOG.md [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 5 13:23 Dockerfile [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:23 GOVERNANCE.md [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 5 13:23 Jenkinsfile [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 5 13:23 LICENSE [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 5 13:23 Makefile [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 5 13:23 OWNERS.md [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 5 13:23 README.md [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:21 VERSION [2022-09-05T13:28:35.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:23 bin [2022-09-05T13:28:35.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:23 cmd [2022-09-05T13:28:35.425Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 5 13:28 coverage.out [2022-09-05T13:28:35.425Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 13:23 doc [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 5 13:23 go.mod [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 5 13:23 go.sum [2022-09-05T13:28:35.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:23 internal [2022-09-05T13:28:35.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:23 snap [2022-09-05T13:28:35.425Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 5 13:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:28:35.862Z] + 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=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 --label arch=arm64 --label version=0.0.0 . [2022-09-05T13:28:36.467Z] Sending build context to Docker daemon 14.19MB [2022-09-05T13:28:36.467Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:28:36.467Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-05T13:28:36.467Z] ---> 5944b0b4968e [2022-09-05T13:28:36.467Z] Step 3/26 : ARG MAKE="make build" [2022-09-05T13:28:36.467Z] ---> Running in 5f4125ca49e5 [2022-09-05T13:28:36.747Z] Removing intermediate container 5f4125ca49e5 [2022-09-05T13:28:36.747Z] ---> 31c268dcb7be [2022-09-05T13:28:36.747Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:28:37.031Z] ---> Running in 9c3a0fb3498e [2022-09-05T13:28:37.313Z] Removing intermediate container 9c3a0fb3498e [2022-09-05T13:28:37.313Z] ---> 465e466fc1d2 [2022-09-05T13:28:37.313Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:28:37.313Z] ---> Running in 9ef7508455c6 [2022-09-05T13:28:37.591Z] Removing intermediate container 9ef7508455c6 [2022-09-05T13:28:37.591Z] ---> 33fb7bdb8b74 [2022-09-05T13:28:37.591Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-05T13:28:37.882Z] ---> Running in 7f249ad88e3a [2022-09-05T13:28:38.159Z] Removing intermediate container 7f249ad88e3a [2022-09-05T13:28:38.159Z] ---> aa4e5acad7e4 [2022-09-05T13:28:38.159Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:28:38.159Z] ---> Running in f999fb92f825 [2022-09-05T13:28:39.610Z] Removing intermediate container f999fb92f825 [2022-09-05T13:28:39.610Z] ---> a48a56d9f098 [2022-09-05T13:28:39.610Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:28:39.886Z] ---> Running in d34fbdceefe5 [2022-09-05T13:28:40.870Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T13:28:41.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T13:28:42.448Z] OK: 221 MiB in 51 packages [2022-09-05T13:28:43.432Z] Removing intermediate container d34fbdceefe5 [2022-09-05T13:28:43.432Z] ---> fe846c877da6 [2022-09-05T13:28:43.432Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-05T13:28:43.432Z] ---> Running in eccda7faa722 [2022-09-05T13:28:43.708Z] Removing intermediate container eccda7faa722 [2022-09-05T13:28:43.708Z] ---> 32690f6a42b4 [2022-09-05T13:28:43.708Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-05T13:28:44.304Z] ---> d0c5529cf629 [2022-09-05T13:28:44.304Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:28:44.304Z] ---> Running in 0d5cc211c2d9 [2022-09-05T13:28:46.283Z] Removing intermediate container 0d5cc211c2d9 [2022-09-05T13:28:46.283Z] ---> 2a635ea715a1 [2022-09-05T13:28:46.283Z] Step 12/26 : COPY . . [2022-09-05T13:28:47.721Z] ---> 75c205d57c27 [2022-09-05T13:28:47.721Z] Step 13/26 : RUN ${MAKE} [2022-09-05T13:28:47.721Z] ---> Running in e56f5086cc3e [2022-09-05T13:28:48.706Z] 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-05T13:31:10.610Z] Removing intermediate container e56f5086cc3e [2022-09-05T13:31:10.610Z] ---> e3543d025593 [2022-09-05T13:31:10.610Z] Step 14/26 : FROM alpine:3.16 [2022-09-05T13:31:10.610Z] 3.16: Pulling from library/alpine [2022-09-05T13:31:10.610Z] 9b18e9b68314: Pulling fs layer [2022-09-05T13:31:10.610Z] 9b18e9b68314: Verifying Checksum [2022-09-05T13:31:10.610Z] 9b18e9b68314: Download complete [2022-09-05T13:31:10.610Z] 9b18e9b68314: Pull complete [2022-09-05T13:31:10.610Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T13:31:10.610Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T13:31:10.610Z] ---> a6215f271958 [2022-09-05T13:31:10.610Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-05T13:31:10.610Z] ---> Running in 5d466f30c007 [2022-09-05T13:31:10.610Z] Removing intermediate container 5d466f30c007 [2022-09-05T13:31:10.610Z] ---> 6e2a3e7277ac [2022-09-05T13:31:10.610Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T13:31:10.610Z] ---> Running in 26583891734c [2022-09-05T13:31:10.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T13:31:10.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T13:31:10.610Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T13:31:10.610Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T13:31:10.610Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T13:31:10.610Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T13:31:10.610Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T13:31:10.610Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T13:31:10.610Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T13:31:10.610Z] OK: 8 MiB in 20 packages [2022-09-05T13:31:10.610Z] Removing intermediate container 26583891734c [2022-09-05T13:31:10.610Z] ---> e86b868fef36 [2022-09-05T13:31:10.610Z] Step 17/26 : WORKDIR / [2022-09-05T13:31:10.610Z] ---> Running in 6d6de836cf02 [2022-09-05T13:31:10.610Z] Removing intermediate container 6d6de836cf02 [2022-09-05T13:31:10.610Z] ---> 535e8cc28209 [2022-09-05T13:31:10.610Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-05T13:31:10.610Z] ---> aaa4bde4d1de [2022-09-05T13:31:10.610Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-05T13:31:10.610Z] ---> 4df207350ae3 [2022-09-05T13:31:10.610Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-05T13:31:10.610Z] ---> 1cff57d3bb23 [2022-09-05T13:31:10.610Z] Step 21/26 : EXPOSE 59984 [2022-09-05T13:31:10.610Z] ---> Running in f6498a729d32 [2022-09-05T13:31:10.610Z] Removing intermediate container f6498a729d32 [2022-09-05T13:31:10.610Z] ---> 87e597554ade [2022-09-05T13:31:10.610Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-05T13:31:10.610Z] ---> Running in cc123604f766 [2022-09-05T13:31:10.610Z] Removing intermediate container cc123604f766 [2022-09-05T13:31:10.610Z] ---> 1fe4d1cf37d7 [2022-09-05T13:31:10.610Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T13:31:10.610Z] ---> Running in 183c9e500194 [2022-09-05T13:31:10.610Z] Removing intermediate container 183c9e500194 [2022-09-05T13:31:10.610Z] ---> c582858a3b6b [2022-09-05T13:31:10.610Z] Step 24/26 : LABEL arch=arm64 [2022-09-05T13:31:10.610Z] ---> Running in 3af75eb32f15 [2022-09-05T13:31:10.610Z] Removing intermediate container 3af75eb32f15 [2022-09-05T13:31:10.610Z] ---> 83cc459907d4 [2022-09-05T13:31:10.610Z] Step 25/26 : LABEL git_sha=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [2022-09-05T13:31:10.610Z] ---> Running in 5f15ae960201 [2022-09-05T13:31:10.610Z] Removing intermediate container 5f15ae960201 [2022-09-05T13:31:10.610Z] ---> 716a11062e08 [2022-09-05T13:31:10.610Z] Step 26/26 : LABEL version=0.0.0 [2022-09-05T13:31:10.610Z] ---> Running in 53785a32d6e8 [2022-09-05T13:31:10.610Z] Removing intermediate container 53785a32d6e8 [2022-09-05T13:31:10.610Z] ---> d8bcdaf0b4aa [2022-09-05T13:31:10.610Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T13:31:10.610Z] Successfully built d8bcdaf0b4aa [2022-09-05T13:31:10.610Z] 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-05T13:31:11.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T13:31:11.411Z] [2022-09-05T13:31:11.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:31:11.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T13:31:12.106Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-05T13:31:12.106Z] 8998bd30e6a1: Pulling fs layer [2022-09-05T13:31:12.106Z] 04944245beec: Pulling fs layer [2022-09-05T13:31:12.106Z] 699f458cf7ca: Pulling fs layer [2022-09-05T13:31:12.106Z] 765212b225bb: Pulling fs layer [2022-09-05T13:31:12.106Z] f23df028b6ca: Pulling fs layer [2022-09-05T13:31:12.106Z] d65c8cfc05b1: Pulling fs layer [2022-09-05T13:31:12.106Z] 2437ff75d9bd: Pulling fs layer [2022-09-05T13:31:12.106Z] 765212b225bb: Waiting [2022-09-05T13:31:12.106Z] d65c8cfc05b1: Waiting [2022-09-05T13:31:12.106Z] f23df028b6ca: Waiting [2022-09-05T13:31:12.106Z] 2437ff75d9bd: Waiting [2022-09-05T13:31:12.106Z] 04944245beec: Verifying Checksum [2022-09-05T13:31:12.106Z] 04944245beec: Download complete [2022-09-05T13:31:12.106Z] 765212b225bb: Verifying Checksum [2022-09-05T13:31:12.106Z] 765212b225bb: Download complete [2022-09-05T13:31:12.106Z] f23df028b6ca: Verifying Checksum [2022-09-05T13:31:12.106Z] f23df028b6ca: Download complete [2022-09-05T13:31:12.106Z] d65c8cfc05b1: Verifying Checksum [2022-09-05T13:31:12.106Z] d65c8cfc05b1: Download complete [2022-09-05T13:31:12.382Z] 699f458cf7ca: Verifying Checksum [2022-09-05T13:31:12.382Z] 699f458cf7ca: Download complete [2022-09-05T13:31:12.658Z] 8998bd30e6a1: Verifying Checksum [2022-09-05T13:31:12.658Z] 8998bd30e6a1: Download complete [2022-09-05T13:31:15.293Z] 2437ff75d9bd: Verifying Checksum [2022-09-05T13:31:15.293Z] 2437ff75d9bd: Download complete [2022-09-05T13:31:17.281Z] 8998bd30e6a1: Pull complete [2022-09-05T13:31:17.558Z] 04944245beec: Pull complete [2022-09-05T13:31:19.001Z] 699f458cf7ca: Pull complete [2022-09-05T13:31:19.277Z] 765212b225bb: Pull complete [2022-09-05T13:31:20.260Z] f23df028b6ca: Pull complete [2022-09-05T13:31:20.260Z] d65c8cfc05b1: Pull complete [2022-09-05T13:31:35.377Z] 2437ff75d9bd: Pull complete [2022-09-05T13:31:35.377Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-05T13:31:35.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T13:31:35.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:31:35.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-24590 does not seem to be running inside a container [2022-09-05T13:31:35.857Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-05T13:31:38.454Z] $ docker top 3a0d16353cb875e07a9bbdad243eaf25d91603fc309642621589bdc6a940aecc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:39.760Z] ---> job-cost.sh [2022-09-05T13:31:39.760Z] lf-activate-venv: SKIPPING [2022-09-05T13:31:39.760Z] INFO: No Stack... [2022-09-05T13:31:40.034Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-05T13:31:41.017Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T13:31:41.696Z] + + cut -d, -f6 [2022-09-05T13:31:41.696Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-09-05T13:31:41.776Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [2022-09-05T13:31:41.781Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] did not exist. Created. [2022-09-05T13:31:41.781Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T13:31:42.529Z] /w/workspace/device-onvif-camera/1@tmp/durable-c5e4c3d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-05T13:31:43.234Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-05T13:31:43.270Z] Warning: overwriting stash ‘stack-cost’ [2022-09-05T13:31:43.330Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T13:31:43.346Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T13:31:43.430Z] $ docker stop --time=1 3a0d16353cb875e07a9bbdad243eaf25d91603fc309642621589bdc6a940aecc [2022-09-05T13:31:44.939Z] $ docker rm -f 3a0d16353cb875e07a9bbdad243eaf25d91603fc309642621589bdc6a940aecc [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-05T13:31:46.011Z] provisioning config files... [2022-09-05T13:31:46.036Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-154@tmp/config5083695420297171081tmp [Pipeline] { [Pipeline] sh [2022-09-05T13:31:46.383Z] + set +x [2022-09-05T13:31:46.383Z] + bash -s -- [2022-09-05T13:31:46.383Z] + curl -s https://codecov.io/bash [2022-09-05T13:31:46.383Z] [2022-09-05T13:31:46.383Z] _____ _ [2022-09-05T13:31:46.383Z] / ____| | | [2022-09-05T13:31:46.383Z] | | ___ __| | ___ ___ _____ __ [2022-09-05T13:31:46.383Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-05T13:31:46.383Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-05T13:31:46.383Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-05T13:31:46.383Z] Bash-1.0.6 [2022-09-05T13:31:46.383Z] [2022-09-05T13:31:46.383Z] [2022-09-05T13:31:46.383Z] ==> git version 2.25.1 found [2022-09-05T13:31:46.383Z] ==> 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-05T13:31:46.383Z] Release-Date: 2020-01-08 [2022-09-05T13:31:46.383Z] 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-05T13:31:46.383Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-05T13:31:46.383Z] ==> Jenkins CI detected. [2022-09-05T13:31:46.383Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-154 [2022-09-05T13:31:46.383Z] project root: . [2022-09-05T13:31:46.383Z] --> token set from env [2022-09-05T13:31:46.383Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-05T13:31:46.383Z] ==> Running gcov in . (disable via -X gcov) [2022-09-05T13:31:46.383Z] ==> Python coveragepy not found [2022-09-05T13:31:46.383Z] ==> Searching for coverage reports in: [2022-09-05T13:31:46.383Z] + . [2022-09-05T13:31:46.383Z] -> Found 1 reports [2022-09-05T13:31:46.383Z] ==> Detecting git/mercurial file structure [2022-09-05T13:31:46.647Z] ==> Reading reports [2022-09-05T13:31:46.647Z] + ./coverage.out bytes=77283 [2022-09-05T13:31:46.647Z] ==> Appending adjustments [2022-09-05T13:31:46.647Z] https://docs.codecov.io/docs/fixing-reports [2022-09-05T13:31:46.647Z] + Found adjustments [2022-09-05T13:31:46.647Z] ==> Gzipping contents [2022-09-05T13:31:46.647Z] 12K /tmp/codecov.6lau2w.gz [2022-09-05T13:31:46.647Z] ==> Uploading reports [2022-09-05T13:31:46.647Z] url: https://codecov.io [2022-09-05T13:31:46.647Z] query: branch=PR-154&commit=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-154%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-09-05T13:31:46.647Z] -> Pinging Codecov [2022-09-05T13:31:46.647Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-154&commit=cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-154%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-09-05T13:31:46.907Z] -> Uploading to [2022-09-05T13:31:46.907Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-05/F29A59C45E3A92E06B3E522C9905F8EF/cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3/aedd7582-16a8-44eb-b397-ae96cb8a5bb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T133146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74c0de22810cf2020fb1ec237b8be16a32c840206aece1160de67b590cbc841a [2022-09-05T13:31:46.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T13:31:46.907Z] Dload Upload Total Spent Left Speed [2022-09-05T13:31:47.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10543 0 0 100 10543 0 49037 --:--:-- --:--:-- --:--:-- 49037 [2022-09-05T13:31:47.168Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/cebba838a1ebe5f6159b47bd67d01f7c9f5a07d3 [Pipeline] } [2022-09-05T13:31:47.192Z] 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-05T13:31:48.873Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-154/archives ] [2022-09-05T13:31:48.873Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-154/archives [2022-09-05T13:31:48.873Z] total 16 [2022-09-05T13:31:48.873Z] drwxr-xr-x 3 root root 4096 Sep 5 13:24 . [2022-09-05T13:31:48.873Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 13:24 .. [2022-09-05T13:31:48.873Z] drwxr-xr-x 2 root root 4096 Sep 5 13:24 cost [2022-09-05T13:31:48.873Z] -rw-r--r-- 1 root root 91 Sep 5 13:24 cost.csv [2022-09-05T13:31:48.873Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-154/archives [2022-09-05T13:31:48.873Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-154/archives [2022-09-05T13:31:48.873Z] total 16 [2022-09-05T13:31:48.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:24 . [2022-09-05T13:31:48.873Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 13:24 .. [2022-09-05T13:31:48.873Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 13:24 cost [2022-09-05T13:31:48.873Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 5 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:49.198Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:50.089Z] ---> package-listing.sh [2022-09-05T13:31:50.089Z] ++ facter osfamily [2022-09-05T13:31:50.089Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-05T13:31:50.348Z] + OS_FAMILY=debian [2022-09-05T13:31:50.348Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-154 [2022-09-05T13:31:50.348Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-05T13:31:50.348Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-05T13:31:50.348Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-05T13:31:50.348Z] + PACKAGES=/tmp/packages_start.txt [2022-09-05T13:31:50.348Z] + '[' /w/workspace/undry_device-onvif-camera_PR-154 ']' [2022-09-05T13:31:50.348Z] + PACKAGES=/tmp/packages_end.txt [2022-09-05T13:31:50.348Z] + case "${OS_FAMILY}" in [2022-09-05T13:31:50.348Z] + dpkg -l [2022-09-05T13:31:50.348Z] + grep '^ii' [2022-09-05T13:31:50.348Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-05T13:31:50.348Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-05T13:31:50.348Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-05T13:31:50.348Z] + '[' /w/workspace/undry_device-onvif-camera_PR-154 ']' [2022-09-05T13:31:50.348Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-154/archives/ [2022-09-05T13:31:50.348Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-154/archives/ [Pipeline] echo [2022-09-05T13:31:50.384Z] 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-154/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-05T13:31:50.673Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:31:51.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:31:51.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:31:51.444Z] prd-ubuntu20.04-docker-8c-8g-24589 does not seem to be running inside a container [2022-09-05T13:31:51.475Z] $ 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-154/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-154 -v /w/workspace/undry_device-onvif-camera_PR-154:/w/workspace/undry_device-onvif-camera_PR-154:rw,z -v /w/workspace/undry_device-onvif-camera_PR-154@tmp:/w/workspace/undry_device-onvif-camera_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-05T13:31:51.660Z] $ docker top 31063edc099c5fc130571b4f7ecd595f8009df77ce78801a48b5f7d8bc3f0414 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:31:52.078Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-05T13:31:52.384Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-05T13:31:52.699Z] + ls /var/log/sa-host [2022-09-05T13:31:52.699Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:31:52.895Z] provisioning config files... [2022-09-05T13:31:52.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-154@tmp/config8332162018437262373tmp [Pipeline] { [Pipeline] echo [2022-09-05T13:31:52.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:53.262Z] ---> create-netrc.sh [Pipeline] } [2022-09-05T13:31:53.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:53.685Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-05T13:31:53.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:54.028Z] ---> sudo-logs.sh [2022-09-05T13:31:54.028Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-05T13:31:54.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:54.408Z] ---> job-cost.sh [2022-09-05T13:31:54.408Z] lf-activate-venv: SKIPPING [2022-09-05T13:31:54.408Z] DEBUG: total: 0.2199999988079071 [2022-09-05T13:31:54.408Z] INFO: Retrieving Stack Cost... [2022-09-05T13:31:54.979Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T13:31:55.239Z] INFO: Archiving Costs [Pipeline] echo [2022-09-05T13:31:55.272Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:31:55.587Z] ---> logs-deploy.sh [2022-09-05T13:31:55.587Z] lf-activate-venv: SKIPPING [2022-09-05T13:31:55.587Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-154/1 [2022-09-05T13:31:55.587Z] INFO: archiving workspace using pattern(s): [2022-09-05T13:31:56.526Z] Archives upload complete. [2022-09-05T13:31:56.526Z] INFO: archiving logs to Nexus