Pull request #323 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 02059e733b438805fc41ef659490ebc0703f4f67+9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (7716e117d512998e446d0e59958f7c3c99be13c4) 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-ssh5448179514050812860.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17465749149238166059.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-323/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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7939399717104664778.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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9233788130207158102.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8555175300823169620.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-323/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-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5021067212164218726.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/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-10800 in /w/workspace/undry_device-onvif-camera_PR-323 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-323 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit 02059e733b438805fc41ef659490ebc0703f4f67 Merge succeeded, producing 02059e733b438805fc41ef659490ebc0703f4f67 Checking out Revision 02059e733b438805fc41ef659490ebc0703f4f67 (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 02059e733b438805fc41ef659490ebc0703f4f67 # 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 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02059e733b438805fc41ef659490ebc0703f4f67 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-25T09:07:50.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T09:07:50.587Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T09:07:50.687Z] ========================================================= [2023-04-25T09:07:50.687Z] EdgeX Global Pipelines Version Info [2023-04-25T09:07:50.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:07:51.443Z] ------------------- [2023-04-25T09:07:51.444Z] stable info: [2023-04-25T09:07:51.444Z] ------------------- [2023-04-25T09:07:51.444Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T09:07:51.444Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T09:07:51.444Z] Message: update stable to v1.0.248 [2023-04-25T09:07:52.017Z] ------------------- [2023-04-25T09:07:52.017Z] experimental info: [2023-04-25T09:07:52.017Z] ------------------- [2023-04-25T09:07:52.017Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T09:07:52.017Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T09:07:52.017Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T09:07:52.306Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-25T09:07:52.345Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-25T09:07:52.382Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T09:07:52.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T09:07:52.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T09:07:52.504Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T09:07:52.542Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T09:07:52.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-25T09:07:52.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T09:07:52.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T09:07:52.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T09:07:52.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-25T09:07:52.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T09:07:52.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T09:07:52.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T09:07:52.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T09:07:52.948Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T09:07:52.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T09:07:53.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T09:07:53.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T09:07:53.103Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-25T09:07:53.149Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-25T09:07:53.189Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T09:07:53.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T09:07:53.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T09:07:53.314Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T09:07:53.351Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T09:07:53.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo [2023-04-25T09:07:53.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo [2023-04-25T09:07:53.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo [2023-04-25T09:07:53.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02059e733b438805fc41ef659490ebc0703f4f67 [Pipeline] echo [2023-04-25T09:07:53.552Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02059e7 [Pipeline] echo [2023-04-25T09:07:53.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T09:07:53.725Z] provisioning config files... [2023-04-25T09:07:53.740Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-323@tmp/config9591513901917300695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:07:54.094Z] ---> docker-login.sh [2023-04-25T09:07:54.094Z] nexus3.edgexfoundry.org:10001 [2023-04-25T09:07:54.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:07:54.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:07:54.356Z] Configure a credential helper to remove this warning. See [2023-04-25T09:07:54.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:07:54.356Z] [2023-04-25T09:07:54.356Z] Login Succeeded [2023-04-25T09:07:54.356Z] nexus3.edgexfoundry.org:10002 [2023-04-25T09:07:54.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:07:54.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:07:54.615Z] Configure a credential helper to remove this warning. See [2023-04-25T09:07:54.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:07:54.615Z] [2023-04-25T09:07:54.615Z] Login Succeeded [2023-04-25T09:07:54.615Z] nexus3.edgexfoundry.org:10003 [2023-04-25T09:07:54.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:07:54.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:07:54.615Z] Configure a credential helper to remove this warning. See [2023-04-25T09:07:54.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:07:54.615Z] [2023-04-25T09:07:54.615Z] Login Succeeded [2023-04-25T09:07:54.615Z] nexus3.edgexfoundry.org:10004 [2023-04-25T09:07:54.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:07:54.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:07:54.615Z] Configure a credential helper to remove this warning. See [2023-04-25T09:07:54.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:07:54.615Z] [2023-04-25T09:07:54.615Z] Login Succeeded [2023-04-25T09:07:54.615Z] docker.io [2023-04-25T09:07:54.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:07:55.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:07:55.137Z] Configure a credential helper to remove this warning. See [2023-04-25T09:07:55.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:07:55.137Z] [2023-04-25T09:07:55.137Z] Login Succeeded [2023-04-25T09:07:55.137Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T09:07:55.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T09:07:55.774Z] + git rev-list -1 --merges 02059e733b438805fc41ef659490ebc0703f4f67~1..02059e733b438805fc41ef659490ebc0703f4f67 [Pipeline] echo [2023-04-25T09:07:55.831Z] -----------> git rev-list -1 --merges 02059e733b438805fc41ef659490ebc0703f4f67~1..02059e733b438805fc41ef659490ebc0703f4f67 02059e733b438805fc41ef659490ebc0703f4f67 [false] [Pipeline] sh [2023-04-25T09:07:56.141Z] + git log --format=format:%s -1 02059e733b438805fc41ef659490ebc0703f4f67 [Pipeline] echo [2023-04-25T09:07:56.173Z] ========================================================= [2023-04-25T09:07:56.173Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T09:07:56.173Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T09:07:56.593Z] + git log --format=format:%s -1 02059e733b438805fc41ef659490ebc0703f4f67 [Pipeline] echo [2023-04-25T09:07:56.628Z] [semverPrep] GIT_COMMIT: 02059e733b438805fc41ef659490ebc0703f4f67, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo [2023-04-25T09:07:56.659Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T09:07:57.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T09:07:57.056Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T09:07:57.056Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T09:07:57.056Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T09:07:57.056Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-25T09:07:57.056Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-25T09:07:57.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:07:57.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T09:07:57.584Z] [2023-04-25T09:07:57.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:07:57.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T09:07:57.949Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T09:07:57.949Z] b85a868b505f: Pulling fs layer [2023-04-25T09:07:57.949Z] e2be974225ed: Pulling fs layer [2023-04-25T09:07:57.949Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T09:07:57.949Z] 988bab9f4d93: Pulling fs layer [2023-04-25T09:07:57.949Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T09:07:57.949Z] eaf3925da568: Pulling fs layer [2023-04-25T09:07:57.949Z] bab4dde63d76: Pulling fs layer [2023-04-25T09:07:57.949Z] bde34c3a00c8: Pulling fs layer [2023-04-25T09:07:57.949Z] b352a97aabf1: Pulling fs layer [2023-04-25T09:07:57.949Z] 4872d77fe225: Pulling fs layer [2023-04-25T09:07:57.949Z] 5851b861e8e6: Pulling fs layer [2023-04-25T09:07:57.949Z] bab4dde63d76: Waiting [2023-04-25T09:07:57.949Z] bde34c3a00c8: Waiting [2023-04-25T09:07:57.949Z] b352a97aabf1: Waiting [2023-04-25T09:07:57.949Z] 4872d77fe225: Waiting [2023-04-25T09:07:57.949Z] 988bab9f4d93: Waiting [2023-04-25T09:07:57.949Z] 1469e6f7b9e6: Waiting [2023-04-25T09:07:57.949Z] eaf3925da568: Waiting [2023-04-25T09:07:57.949Z] e2be974225ed: Verifying Checksum [2023-04-25T09:07:57.949Z] e2be974225ed: Download complete [2023-04-25T09:07:57.949Z] 988bab9f4d93: Verifying Checksum [2023-04-25T09:07:57.949Z] 988bab9f4d93: Download complete [2023-04-25T09:07:58.206Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T09:07:58.206Z] 1469e6f7b9e6: Download complete [2023-04-25T09:07:58.206Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T09:07:58.206Z] 339a4e72a1f5: Download complete [2023-04-25T09:07:58.206Z] eaf3925da568: Verifying Checksum [2023-04-25T09:07:58.206Z] eaf3925da568: Download complete [2023-04-25T09:07:58.206Z] bde34c3a00c8: Download complete [2023-04-25T09:07:58.206Z] b352a97aabf1: Download complete [2023-04-25T09:07:58.206Z] 4872d77fe225: Verifying Checksum [2023-04-25T09:07:58.206Z] 4872d77fe225: Download complete [2023-04-25T09:07:58.206Z] 5851b861e8e6: Verifying Checksum [2023-04-25T09:07:58.206Z] 5851b861e8e6: Download complete [2023-04-25T09:07:58.206Z] b85a868b505f: Verifying Checksum [2023-04-25T09:07:58.206Z] b85a868b505f: Download complete [2023-04-25T09:07:58.466Z] bab4dde63d76: Verifying Checksum [2023-04-25T09:07:58.466Z] bab4dde63d76: Download complete [2023-04-25T09:07:59.401Z] b85a868b505f: Pull complete [2023-04-25T09:07:59.401Z] e2be974225ed: Pull complete [2023-04-25T09:07:59.969Z] 339a4e72a1f5: Pull complete [2023-04-25T09:07:59.969Z] 988bab9f4d93: Pull complete [2023-04-25T09:07:59.969Z] 1469e6f7b9e6: Pull complete [2023-04-25T09:08:00.231Z] eaf3925da568: Pull complete [2023-04-25T09:08:01.605Z] bab4dde63d76: Pull complete [2023-04-25T09:08:01.868Z] bde34c3a00c8: Pull complete [2023-04-25T09:08:01.868Z] b352a97aabf1: Pull complete [2023-04-25T09:08:01.868Z] 4872d77fe225: Pull complete [2023-04-25T09:08:01.868Z] 5851b861e8e6: Pull complete [2023-04-25T09:08:02.127Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T09:08:02.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T09:08:02.127Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:08:02.354Z] prd-ubuntu20.04-docker-8c-8g-10800 does not seem to be running inside a container [2023-04-25T09:08:02.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-323 -v /w/workspace/undry_device-onvif-camera_PR-323:/w/workspace/undry_device-onvif-camera_PR-323:rw,z -v /w/workspace/undry_device-onvif-camera_PR-323@tmp:/w/workspace/undry_device-onvif-camera_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-25T09:08:04.208Z] $ docker top fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 -eo pid,comm [2023-04-25T09:08:04.265Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-25T09:08:04.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T09:08:04.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T09:08:04.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T09:08:04.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T09:08:04.510Z] $ docker exec fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 ssh-agent [2023-04-25T09:08:04.619Z] SSH_AUTH_SOCK=/tmp/ssh-TiRjtg2A6fra/agent.31 [2023-04-25T09:08:04.619Z] SSH_AGENT_PID=37 [2023-04-25T09:08:04.627Z] Running ssh-add (command line suppressed) [2023-04-25T09:08:04.730Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-323@tmp/private_key_4059274463132377941.key (/w/workspace/undry_device-onvif-camera_PR-323@tmp/private_key_4059274463132377941.key) [2023-04-25T09:08:04.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T09:08:05.065Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T09:08:05.092Z] $ docker exec --env ******** --env ******** fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 ssh-agent -k [2023-04-25T09:08:05.177Z] unset SSH_AUTH_SOCK; [2023-04-25T09:08:05.177Z] unset SSH_AGENT_PID; [2023-04-25T09:08:05.177Z] echo Agent pid 37 killed; [2023-04-25T09:08:05.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T09:08:05.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T09:08:05.266Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T09:08:05.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T09:08:05.377Z] $ docker exec fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 ssh-agent [2023-04-25T09:08:05.488Z] SSH_AUTH_SOCK=/tmp/ssh-pQMl8f9N4p7C/agent.70 [2023-04-25T09:08:05.488Z] SSH_AGENT_PID=76 [2023-04-25T09:08:05.494Z] Running ssh-add (command line suppressed) [2023-04-25T09:08:05.595Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-323@tmp/private_key_1190727957543364708.key (/w/workspace/undry_device-onvif-camera_PR-323@tmp/private_key_1190727957543364708.key) [2023-04-25T09:08:05.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T09:08:05.937Z] + git semver init [2023-04-25T09:08:06.197Z] 2023-04-25 09:08:06,124 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T09:08:06.197Z] 2023-04-25 09:08:06,124 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-323/.semver [2023-04-25T09:08:06.197Z] 2023-04-25 09:08:06,125 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-323/.semver [2023-04-25T09:08:06.197Z] 2023-04-25 09:08:06,125 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-323/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-323, universal_newlines=False, shell=None, istream=None) [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,028 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-323/.git/info/exclude [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-323/.semver/PR-323 with force:False [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,029 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-323/.semver/PR-323 [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,032 [execute] INFO git cat-file --batch-check [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,039 [execute] INFO git cat-file --batch [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T09:08:07.139Z] 2023-04-25 09:08:07,044 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-323/.semver/PR-323 [2023-04-25T09:08:07.139Z] 0.0.0 [Pipeline] } [2023-04-25T09:08:07.168Z] $ docker exec --env ******** --env ******** fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 ssh-agent -k [2023-04-25T09:08:07.263Z] unset SSH_AUTH_SOCK; [2023-04-25T09:08:07.263Z] unset SSH_AGENT_PID; [2023-04-25T09:08:07.264Z] echo Agent pid 76 killed; [2023-04-25T09:08:07.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T09:08:07.693Z] + git semver [Pipeline] } [2023-04-25T09:08:07.979Z] $ docker stop --time=1 fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 [2023-04-25T09:08:09.292Z] $ docker rm -f --volumes fb5b5abaf0772de4ab1b9b9ee20cb55472972054706dfff2c5953bfe34ec7d29 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T09:08:09.734Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T09:08:10.085Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T09:08:10.100Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T09:08:10.757Z] provisioning config files... [2023-04-25T09:08:10.766Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-323@tmp/config17522430681333493121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:08:11.117Z] ---> docker-login.sh [2023-04-25T09:08:11.117Z] nexus3.edgexfoundry.org:10001 [2023-04-25T09:08:11.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:08:11.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:08:11.117Z] Configure a credential helper to remove this warning. See [2023-04-25T09:08:11.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:08:11.117Z] [2023-04-25T09:08:11.117Z] Login Succeeded [2023-04-25T09:08:11.117Z] nexus3.edgexfoundry.org:10002 [2023-04-25T09:08:11.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:08:11.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:08:11.117Z] Configure a credential helper to remove this warning. See [2023-04-25T09:08:11.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:08:11.117Z] [2023-04-25T09:08:11.117Z] Login Succeeded [2023-04-25T09:08:11.117Z] nexus3.edgexfoundry.org:10003 [2023-04-25T09:08:11.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:08:11.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:08:11.377Z] Configure a credential helper to remove this warning. See [2023-04-25T09:08:11.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:08:11.377Z] [2023-04-25T09:08:11.377Z] Login Succeeded [2023-04-25T09:08:11.377Z] nexus3.edgexfoundry.org:10004 [2023-04-25T09:08:11.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:08:11.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:08:11.377Z] Configure a credential helper to remove this warning. See [2023-04-25T09:08:11.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:08:11.377Z] [2023-04-25T09:08:11.377Z] Login Succeeded [2023-04-25T09:08:11.377Z] docker.io [2023-04-25T09:08:11.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:08:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:08:11.636Z] Configure a credential helper to remove this warning. See [2023-04-25T09:08:11.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:08:11.636Z] [2023-04-25T09:08:11.636Z] Login Succeeded [2023-04-25T09:08:11.636Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T09:08:11.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T09:08:11.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T09:08:11.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T09:08:11.925Z] ========================================================= [2023-04-25T09:08:11.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T09:08:11.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:08:12.413Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T09:08:12.413Z] Sending build context to Docker daemon 26.95MB [2023-04-25T09:08:12.413Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T09:08:12.413Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-25T09:08:12.670Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T09:08:12.670Z] f56be85fc22e: Pulling fs layer [2023-04-25T09:08:12.670Z] 85791d961cd3: Pulling fs layer [2023-04-25T09:08:12.670Z] d694b5ae8c79: Pulling fs layer [2023-04-25T09:08:12.670Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T09:08:12.670Z] 4d19c01a9841: Pulling fs layer [2023-04-25T09:08:12.670Z] 9325e15d5711: Pulling fs layer [2023-04-25T09:08:12.670Z] 556b6ee489ea: Pulling fs layer [2023-04-25T09:08:12.670Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T09:08:12.670Z] 9f32a84ed3da: Waiting [2023-04-25T09:08:12.670Z] 556b6ee489ea: Waiting [2023-04-25T09:08:12.670Z] 4d19c01a9841: Waiting [2023-04-25T09:08:12.670Z] 9325e15d5711: Waiting [2023-04-25T09:08:12.670Z] 85791d961cd3: Download complete [2023-04-25T09:08:12.670Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T09:08:12.670Z] 9f32a84ed3da: Download complete [2023-04-25T09:08:12.670Z] 4d19c01a9841: Download complete [2023-04-25T09:08:12.670Z] f56be85fc22e: Verifying Checksum [2023-04-25T09:08:12.670Z] f56be85fc22e: Download complete [2023-04-25T09:08:12.670Z] 9325e15d5711: Verifying Checksum [2023-04-25T09:08:12.670Z] 9325e15d5711: Download complete [2023-04-25T09:08:12.931Z] f56be85fc22e: Pull complete [2023-04-25T09:08:12.931Z] 85791d961cd3: Pull complete [2023-04-25T09:08:13.194Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T09:08:13.194Z] c5a4b2cf53e6: Download complete [2023-04-25T09:08:13.453Z] d694b5ae8c79: Verifying Checksum [2023-04-25T09:08:13.453Z] d694b5ae8c79: Download complete [2023-04-25T09:08:13.453Z] 556b6ee489ea: Verifying Checksum [2023-04-25T09:08:13.453Z] 556b6ee489ea: Download complete [2023-04-25T09:08:16.730Z] d694b5ae8c79: Pull complete [2023-04-25T09:08:16.730Z] 9f32a84ed3da: Pull complete [2023-04-25T09:08:16.730Z] 4d19c01a9841: Pull complete [2023-04-25T09:08:16.730Z] 9325e15d5711: Pull complete [2023-04-25T09:08:18.638Z] 556b6ee489ea: Pull complete [2023-04-25T09:08:19.572Z] c5a4b2cf53e6: Pull complete [2023-04-25T09:08:19.572Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T09:08:19.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T09:08:19.572Z] ---> c4be618373d6 [2023-04-25T09:08:19.572Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-25T09:08:22.105Z] ---> Running in 703e0775c1c0 [2023-04-25T09:08:22.362Z] Removing intermediate container 703e0775c1c0 [2023-04-25T09:08:22.362Z] ---> 67f13e362a6c [2023-04-25T09:08:22.362Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T09:08:22.362Z] ---> Running in 9c5f9796d8b0 [2023-04-25T09:08:22.362Z] Removing intermediate container 9c5f9796d8b0 [2023-04-25T09:08:22.362Z] ---> 1e227270bf6b [2023-04-25T09:08:22.362Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T09:08:22.362Z] ---> Running in e6b8ab52c5fc [2023-04-25T09:08:22.621Z] Removing intermediate container e6b8ab52c5fc [2023-04-25T09:08:22.621Z] ---> 7a87608e322d [2023-04-25T09:08:22.621Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T09:08:22.622Z] ---> Running in a2a59901a98c [2023-04-25T09:08:22.622Z] Removing intermediate container a2a59901a98c [2023-04-25T09:08:22.622Z] ---> 7c32a14c0a78 [2023-04-25T09:08:22.622Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-25T09:08:22.622Z] ---> Running in 2cb9ebdde21e [2023-04-25T09:08:22.622Z] Removing intermediate container 2cb9ebdde21e [2023-04-25T09:08:22.622Z] ---> 48ca94b36ec0 [2023-04-25T09:08:22.622Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T09:08:22.622Z] ---> Running in fa66a32d3541 [2023-04-25T09:08:23.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T09:08:23.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T09:08:23.449Z] OK: 265 MiB in 53 packages [2023-04-25T09:08:23.708Z] Removing intermediate container fa66a32d3541 [2023-04-25T09:08:23.708Z] ---> f66778a6d303 [2023-04-25T09:08:23.708Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-25T09:08:23.708Z] ---> Running in c044c9128699 [2023-04-25T09:08:23.708Z] Removing intermediate container c044c9128699 [2023-04-25T09:08:23.708Z] ---> a11e9a8964bb [2023-04-25T09:08:23.708Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-25T09:08:23.968Z] ---> 67d18ef8f978 [2023-04-25T09:08:23.968Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T09:08:23.968Z] ---> Running in 55cf026e37ce [2023-04-25T09:08:25.529Z] Still waiting to schedule task [2023-04-25T09:08:25.530Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-25T09:09:02.696Z] Removing intermediate container 55cf026e37ce [2023-04-25T09:09:02.696Z] ---> 9f451a07b025 [2023-04-25T09:09:02.696Z] Step 12/13 : COPY . . [2023-04-25T09:09:02.696Z] ---> 6ec2d2c67303 [2023-04-25T09:09:02.696Z] Step 13/13 : RUN ${MAKE} [2023-04-25T09:09:02.696Z] ---> Running in 68bbde960b43 [2023-04-25T09:09:02.696Z] noop [2023-04-25T09:09:02.696Z] Removing intermediate container 68bbde960b43 [2023-04-25T09:09:02.696Z] ---> 4b3c15e08707 [2023-04-25T09:09:02.696Z] Successfully built 4b3c15e08707 [2023-04-25T09:09:02.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:09:03.145Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T09:09:03.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:09:03.306Z] prd-ubuntu20.04-docker-8c-8g-10800 does not seem to be running inside a container [2023-04-25T09:09:03.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-323 -v /w/workspace/undry_device-onvif-camera_PR-323:/w/workspace/undry_device-onvif-camera_PR-323:rw,z -v /w/workspace/undry_device-onvif-camera_PR-323@tmp:/w/workspace/undry_device-onvif-camera_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T09:09:03.697Z] $ docker top 4abea6d912255c593c15965ebd8daf1461aa71a8cf131db0a9ada11f6589f1e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T09:09:04.079Z] + go version [2023-04-25T09:09:04.079Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T09:09:04.111Z] $ docker stop --time=1 4abea6d912255c593c15965ebd8daf1461aa71a8cf131db0a9ada11f6589f1e8 [2023-04-25T09:09:05.364Z] $ docker rm -f --volumes 4abea6d912255c593c15965ebd8daf1461aa71a8cf131db0a9ada11f6589f1e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:09:06.092Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T09:09:06.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:09:06.259Z] prd-ubuntu20.04-docker-8c-8g-10800 does not seem to be running inside a container [2023-04-25T09:09:06.294Z] $ 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-323 -v /w/workspace/undry_device-onvif-camera_PR-323:/w/workspace/undry_device-onvif-camera_PR-323:rw,z -v /w/workspace/undry_device-onvif-camera_PR-323@tmp:/w/workspace/undry_device-onvif-camera_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T09:09:06.611Z] $ docker top 4fbc522ce43efd6163709aee115d5a54bdd6d3980c12ace5ada019ba12e13ff5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T09:09:06.996Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-323 [Pipeline] fileExists [Pipeline] sh [2023-04-25T09:09:07.359Z] + make test [2023-04-25T09:09:07.359Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T09:09:11.548Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-25T09:09:21.510Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-25T09:09:21.510Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-25T09:09:23.407Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.6% of statements [2023-04-25T09:09:27.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.546s coverage: 86.5% of statements [2023-04-25T09:09:32.846Z] go vet ./... [2023-04-25T09:09:37.028Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T09:09:37.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T09:09:37.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T09:09:37.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T09:09:37.097Z] $ docker stop --time=1 4fbc522ce43efd6163709aee115d5a54bdd6d3980c12ace5ada019ba12e13ff5 [2023-04-25T09:09:39.565Z] $ docker rm -f --volumes 4fbc522ce43efd6163709aee115d5a54bdd6d3980c12ace5ada019ba12e13ff5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T09:09:40.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T09:09:40.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T09:09:40.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T09:09:41.164Z] + ls -al . [2023-04-25T09:09:41.164Z] total 236 [2023-04-25T09:09:41.164Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:09 . [2023-04-25T09:09:41.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:07 .. [2023-04-25T09:09:41.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:08 .git [2023-04-25T09:09:41.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:07 .github [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 09:07 .gitignore [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 09:07 .golangci.yml [2023-04-25T09:09:41.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:08 .semver [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 09:07 Attribution.txt [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 09:07 CHANGELOG.md [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 09:07 Dockerfile [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:07 GOVERNANCE.md [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 09:07 Jenkinsfile [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 09:07 LICENSE [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 09:07 Makefile [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 09:07 OWNERS.md [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 09:07 README.md [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2023-04-25T09:09:41.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:07 bin [2023-04-25T09:09:41.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:07 cmd [2023-04-25T09:09:41.164Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 09:09 coverage.out [2023-04-25T09:09:41.164Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 09:07 doc [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 09:07 go.mod [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 09:07 go.sum [2023-04-25T09:09:41.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:07 internal [2023-04-25T09:09:41.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:07 snap [2023-04-25T09:09:41.164Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 09:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:09:41.561Z] + 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=02059e733b438805fc41ef659490ebc0703f4f67 --label arch=amd64 --label version=0.0.0 . [2023-04-25T09:09:41.561Z] Sending build context to Docker daemon 27.03MB [2023-04-25T09:09:41.561Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T09:09:41.561Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-25T09:09:41.561Z] ---> 4b3c15e08707 [2023-04-25T09:09:41.561Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-25T09:09:41.821Z] ---> Running in f49b8485cc24 [2023-04-25T09:09:41.821Z] Removing intermediate container f49b8485cc24 [2023-04-25T09:09:41.821Z] ---> ca24e6007a0d [2023-04-25T09:09:41.821Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T09:09:41.821Z] ---> Running in e9153c627ba7 [2023-04-25T09:09:42.080Z] Removing intermediate container e9153c627ba7 [2023-04-25T09:09:42.080Z] ---> 5eeecab749dc [2023-04-25T09:09:42.080Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T09:09:42.080Z] ---> Running in e4b51ef2f2e7 [2023-04-25T09:09:42.080Z] Removing intermediate container e4b51ef2f2e7 [2023-04-25T09:09:42.080Z] ---> d983a22e1226 [2023-04-25T09:09:42.080Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T09:09:42.080Z] ---> Running in b788cc9e781f [2023-04-25T09:09:42.080Z] Removing intermediate container b788cc9e781f [2023-04-25T09:09:42.080Z] ---> 85c142d2a2c6 [2023-04-25T09:09:42.080Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-25T09:09:42.080Z] ---> Running in 2ea1211f1998 [2023-04-25T09:09:42.339Z] Removing intermediate container 2ea1211f1998 [2023-04-25T09:09:42.339Z] ---> 9bec0f0c15fe [2023-04-25T09:09:42.339Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T09:09:42.339Z] ---> Running in 8911da45e941 [2023-04-25T09:09:42.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T09:09:42.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T09:09:42.859Z] OK: 265 MiB in 53 packages [2023-04-25T09:09:43.120Z] Removing intermediate container 8911da45e941 [2023-04-25T09:09:43.120Z] ---> 9766292928a8 [2023-04-25T09:09:43.120Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-25T09:09:43.120Z] ---> Running in 7306bdce42cf [2023-04-25T09:09:43.120Z] Removing intermediate container 7306bdce42cf [2023-04-25T09:09:43.120Z] ---> 45ad880fc1fe [2023-04-25T09:09:43.120Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-25T09:09:43.379Z] ---> 87beb43883be [2023-04-25T09:09:43.379Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T09:09:43.379Z] ---> Running in 140c709a4e07 [2023-04-25T09:09:44.314Z] Removing intermediate container 140c709a4e07 [2023-04-25T09:09:44.314Z] ---> 5a13e41f7604 [2023-04-25T09:09:44.314Z] Step 12/26 : COPY . . [2023-04-25T09:09:44.880Z] ---> 61c2533eef1e [2023-04-25T09:09:44.880Z] Step 13/26 : RUN ${MAKE} [2023-04-25T09:09:44.880Z] ---> Running in 76c53ed7d3cf [2023-04-25T09:09:45.138Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-25T09:10:02.225Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10801 in /w/workspace/undry_device-onvif-camera_PR-323 [Pipeline] { [Pipeline] ws [2023-04-25T09:10:02.289Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-25T09:10:02.369Z] The recommended git tool is: git [2023-04-25T09:10:03.226Z] Removing intermediate container 76c53ed7d3cf [2023-04-25T09:10:03.226Z] ---> 323cc87b2edf [2023-04-25T09:10:03.226Z] Step 14/26 : FROM alpine:3.17 [2023-04-25T09:10:04.162Z] 3.17: Pulling from library/alpine [2023-04-25T09:10:04.162Z] f56be85fc22e: Already exists [2023-04-25T09:10:04.162Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T09:10:04.162Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T09:10:04.162Z] ---> 9ed4aefc74f6 [2023-04-25T09:10:04.162Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-25T09:10:04.162Z] ---> Running in 2e396fb76382 [2023-04-25T09:10:04.420Z] Removing intermediate container 2e396fb76382 [2023-04-25T09:10:04.420Z] ---> de82be94a068 [2023-04-25T09:10:04.420Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-25T09:10:04.420Z] ---> Running in ab6cb9147053 [2023-04-25T09:10:04.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T09:10:04.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T09:10:04.944Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T09:10:04.944Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T09:10:04.944Z] OK: 7 MiB in 16 packages [2023-04-25T09:10:05.203Z] Removing intermediate container ab6cb9147053 [2023-04-25T09:10:05.203Z] ---> 0ec8a8b27910 [2023-04-25T09:10:05.203Z] Step 17/26 : WORKDIR / [2023-04-25T09:10:05.203Z] ---> Running in 17e25fc70193 [2023-04-25T09:10:05.203Z] Removing intermediate container 17e25fc70193 [2023-04-25T09:10:05.203Z] ---> 2879ead5e52f [2023-04-25T09:10:05.203Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-25T09:10:05.769Z] ---> ea766e0429b4 [2023-04-25T09:10:05.769Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-25T09:10:06.030Z] ---> 3f8810190fe8 [2023-04-25T09:10:06.030Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-25T09:10:06.030Z] ---> 5c14a3a8152c [2023-04-25T09:10:06.030Z] Step 21/26 : EXPOSE 59984 [2023-04-25T09:10:06.030Z] ---> Running in 0450ea03abf4 [2023-04-25T09:10:06.288Z] Removing intermediate container 0450ea03abf4 [2023-04-25T09:10:06.288Z] ---> 790abf6f6d2d [2023-04-25T09:10:06.288Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-25T09:10:06.288Z] ---> Running in b7814b598245 [2023-04-25T09:10:06.288Z] Removing intermediate container b7814b598245 [2023-04-25T09:10:06.288Z] ---> 7a1e28c46a3b [2023-04-25T09:10:06.288Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T09:10:06.288Z] ---> Running in c056ff890a30 [2023-04-25T09:10:06.288Z] Removing intermediate container c056ff890a30 [2023-04-25T09:10:06.288Z] ---> c48c1a657dd6 [2023-04-25T09:10:06.288Z] Step 24/26 : LABEL arch=amd64 [2023-04-25T09:10:06.288Z] ---> Running in 0d73d3f6e3cc [2023-04-25T09:10:06.546Z] Removing intermediate container 0d73d3f6e3cc [2023-04-25T09:10:06.546Z] ---> c55bc2c8dc72 [2023-04-25T09:10:06.546Z] Step 25/26 : LABEL git_sha=02059e733b438805fc41ef659490ebc0703f4f67 [2023-04-25T09:10:06.546Z] ---> Running in 409f27ced9ce [2023-04-25T09:10:06.546Z] Removing intermediate container 409f27ced9ce [2023-04-25T09:10:06.546Z] ---> aeea3acce029 [2023-04-25T09:10:06.546Z] Step 26/26 : LABEL version=0.0.0 [2023-04-25T09:10:06.546Z] ---> Running in 3997e5c69e85 [2023-04-25T09:10:06.546Z] Removing intermediate container 3997e5c69e85 [2023-04-25T09:10:06.546Z] ---> f520aea969f5 [2023-04-25T09:10:06.546Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T09:10:06.546Z] Successfully built f520aea969f5 [2023-04-25T09:10:06.546Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:10:07.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T09:10:07.407Z] [2023-04-25T09:10:07.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:10:07.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T09:10:07.788Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T09:10:07.788Z] 5eb5b503b376: Pulling fs layer [2023-04-25T09:10:07.788Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T09:10:07.788Z] ec43610c2a17: Pulling fs layer [2023-04-25T09:10:07.788Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T09:10:07.788Z] 33b1e0a273af: Pulling fs layer [2023-04-25T09:10:07.788Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T09:10:07.788Z] 2f39f015ded8: Pulling fs layer [2023-04-25T09:10:07.788Z] 3a2ae6a8a46f: Waiting [2023-04-25T09:10:07.788Z] 33b1e0a273af: Waiting [2023-04-25T09:10:07.788Z] 5d3b04190fa2: Waiting [2023-04-25T09:10:07.788Z] 2f39f015ded8: Waiting [2023-04-25T09:10:07.788Z] 5c69ac0246d0: Download complete [2023-04-25T09:10:07.788Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-25T09:10:07.788Z] 3a2ae6a8a46f: Download complete [2023-04-25T09:10:07.788Z] 33b1e0a273af: Verifying Checksum [2023-04-25T09:10:07.788Z] 33b1e0a273af: Download complete [2023-04-25T09:10:07.788Z] 5d3b04190fa2: Download complete [2023-04-25T09:10:07.788Z] ec43610c2a17: Verifying Checksum [2023-04-25T09:10:07.788Z] ec43610c2a17: Download complete [2023-04-25T09:10:07.857Z] using credential edgex-jenkins-ssh [2023-04-25T09:10:07.873Z] Cloning the remote Git repository [2023-04-25T09:10:08.046Z] 5eb5b503b376: Verifying Checksum [2023-04-25T09:10:08.046Z] 5eb5b503b376: Download complete [2023-04-25T09:10:07.919Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-25T09:10:08.013Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-25T09:10:08.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-25T09:10:08.164Z] > git --version # timeout=10 [2023-04-25T09:10:08.186Z] > git --version # 'git version 2.25.1' [2023-04-25T09:10:08.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T09:10:08.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T09:10:08.619Z] 2f39f015ded8: Download complete [2023-04-25T09:10:08.878Z] 5eb5b503b376: Pull complete [2023-04-25T09:10:09.137Z] 5c69ac0246d0: Pull complete [2023-04-25T09:10:09.712Z] ec43610c2a17: Pull complete [2023-04-25T09:10:09.712Z] 3a2ae6a8a46f: Pull complete [2023-04-25T09:10:09.970Z] 33b1e0a273af: Pull complete [2023-04-25T09:10:09.970Z] 5d3b04190fa2: Pull complete [2023-04-25T09:10:10.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-25T09:10:10.703Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T09:10:12.188Z] Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit 02059e733b438805fc41ef659490ebc0703f4f67 [2023-04-25T09:10:11.529Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-25T09:10:11.566Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-25T09:10:11.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T09:10:11.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-25T09:10:12.205Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T09:10:12.284Z] > git checkout -f 02059e733b438805fc41ef659490ebc0703f4f67 # timeout=10 [2023-04-25T09:10:12.554Z] > git remote # timeout=10 [2023-04-25T09:10:12.574Z] > git config --get remote.origin.url # timeout=10 [2023-04-25T09:10:12.662Z] Merge succeeded, producing 02059e733b438805fc41ef659490ebc0703f4f67 [2023-04-25T09:10:12.662Z] Checking out Revision 02059e733b438805fc41ef659490ebc0703f4f67 (PR-323) [2023-04-25T09:10:12.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T09:10:12.613Z] > git merge 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 [2023-04-25T09:10:12.640Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-25T09:10:12.669Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T09:10:12.683Z] > git checkout -f 02059e733b438805fc41ef659490ebc0703f4f67 # timeout=10 [2023-04-25T09:10:14.165Z] 2f39f015ded8: Pull complete [2023-04-25T09:10:14.165Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T09:10:14.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T09:10:14.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:10:14.389Z] prd-ubuntu20.04-docker-8c-8g-10800 does not seem to be running inside a container [2023-04-25T09:10:14.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-323 -v /w/workspace/undry_device-onvif-camera_PR-323:/w/workspace/undry_device-onvif-camera_PR-323:rw,z -v /w/workspace/undry_device-onvif-camera_PR-323@tmp:/w/workspace/undry_device-onvif-camera_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T09:10:16.286Z] $ docker top d74266838856223e02e318ea9646306112a0a714edac960d33566b7e65ae76f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:10:16.454Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" [2023-04-25T09:10:16.500Z] > git --version # timeout=10 [2023-04-25T09:10:16.511Z] > git --version # 'git version 2.25.1' [2023-04-25T09:10:16.525Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T09:10:16.730Z] ---> job-cost.sh [2023-04-25T09:10:16.731Z] lf-activate-venv: SKIPPING [2023-04-25T09:10:16.731Z] INFO: No Stack... [2023-04-25T09:10:16.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T09:10:17.109Z] [2023-04-25T09:10:17.109Z] GitHub has been notified of this commit’s build result [2023-04-25T09:10:17.109Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-04-25T09:10:17.249Z] INFO: Archiving Costs [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T09:10:17.612Z] + cat /w/workspace/undry_device-onvif-camera_PR-323/archives/cost.csv [2023-04-25T09:10:17.612Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T09:10:17.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [2023-04-25T09:10:17.667Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] did not exist. Created. [2023-04-25T09:10:17.667Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T09:10:17.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T09:10:17.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T09:10:17.905Z] Dload Upload Total Spent Left Speed [2023-04-25T09:10:17.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [2023-04-25T09:10:18.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T09:10:18.124Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T09:10:18.150Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T09:10:18.235Z] $ docker stop --time=1 d74266838856223e02e318ea9646306112a0a714edac960d33566b7e65ae76f8 [2023-04-25T09:10:19.394Z] $ docker rm -f --volumes d74266838856223e02e318ea9646306112a0a714edac960d33566b7e65ae76f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-25T09:10:19.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T09:10:20.222Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-25T09:10:20.223Z] + sudo tee /etc/docker/daemon.new [2023-04-25T09:10:20.223Z] { [2023-04-25T09:10:20.223Z] "registry-mirrors": [ [2023-04-25T09:10:20.223Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T09:10:20.223Z] ], [2023-04-25T09:10:20.223Z] "bip": "10.250.0.254/24", [2023-04-25T09:10:20.223Z] "hosts": [ [2023-04-25T09:10:20.223Z] "tcp://0.0.0.0:5555", [2023-04-25T09:10:20.223Z] "unix:///var/run/docker.sock" [2023-04-25T09:10:20.223Z] ], [2023-04-25T09:10:20.223Z] "mtu": 1458, [2023-04-25T09:10:20.223Z] "selinux-enabled": true, [2023-04-25T09:10:20.223Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T09:10:20.223Z] } [Pipeline] sh [2023-04-25T09:10:20.570Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T09:10:20.925Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T09:10:39.269Z] provisioning config files... [2023-04-25T09:10:39.301Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4118421742155637585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:10:39.702Z] ---> docker-login.sh [2023-04-25T09:10:39.702Z] nexus3.edgexfoundry.org:10001 [2023-04-25T09:10:40.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:10:40.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:10:40.290Z] Configure a credential helper to remove this warning. See [2023-04-25T09:10:40.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:10:40.290Z] [2023-04-25T09:10:40.290Z] Login Succeeded [2023-04-25T09:10:40.290Z] nexus3.edgexfoundry.org:10002 [2023-04-25T09:10:40.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:10:40.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:10:40.559Z] Configure a credential helper to remove this warning. See [2023-04-25T09:10:40.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:10:40.559Z] [2023-04-25T09:10:40.832Z] Login Succeeded [2023-04-25T09:10:40.833Z] nexus3.edgexfoundry.org:10003 [2023-04-25T09:10:40.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:10:41.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:10:41.104Z] Configure a credential helper to remove this warning. See [2023-04-25T09:10:41.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:10:41.104Z] [2023-04-25T09:10:41.104Z] Login Succeeded [2023-04-25T09:10:41.104Z] nexus3.edgexfoundry.org:10004 [2023-04-25T09:10:41.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:10:41.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:10:41.379Z] Configure a credential helper to remove this warning. See [2023-04-25T09:10:41.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:10:41.379Z] [2023-04-25T09:10:41.379Z] Login Succeeded [2023-04-25T09:10:41.379Z] docker.io [2023-04-25T09:10:41.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T09:10:41.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T09:10:41.915Z] Configure a credential helper to remove this warning. See [2023-04-25T09:10:41.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T09:10:41.915Z] [2023-04-25T09:10:41.915Z] Login Succeeded [2023-04-25T09:10:41.915Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T09:10:41.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T09:10:42.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T09:10:42.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T09:10:42.416Z] ========================================================= [2023-04-25T09:10:42.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T09:10:42.416Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:10:42.925Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T09:10:43.515Z] Sending build context to Docker daemon 19.68MB [2023-04-25T09:10:43.515Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T09:10:43.515Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-25T09:10:43.515Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T09:10:43.515Z] c41833b44d91: Pulling fs layer [2023-04-25T09:10:43.515Z] ed15518f5707: Pulling fs layer [2023-04-25T09:10:43.515Z] feae8fd75edb: Pulling fs layer [2023-04-25T09:10:43.515Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T09:10:43.515Z] 3cdef696dda3: Pulling fs layer [2023-04-25T09:10:43.515Z] 2ced38df9373: Pulling fs layer [2023-04-25T09:10:43.515Z] 58f1dce35555: Pulling fs layer [2023-04-25T09:10:43.515Z] 3cdef696dda3: Waiting [2023-04-25T09:10:43.515Z] 2ced38df9373: Waiting [2023-04-25T09:10:43.515Z] 242c74f7c9fa: Waiting [2023-04-25T09:10:43.515Z] 58f1dce35555: Waiting [2023-04-25T09:10:43.515Z] ed15518f5707: Verifying Checksum [2023-04-25T09:10:43.515Z] ed15518f5707: Download complete [2023-04-25T09:10:43.515Z] 242c74f7c9fa: Verifying Checksum [2023-04-25T09:10:43.515Z] 242c74f7c9fa: Download complete [2023-04-25T09:10:43.806Z] 3cdef696dda3: Verifying Checksum [2023-04-25T09:10:43.806Z] 3cdef696dda3: Download complete [2023-04-25T09:10:43.806Z] c41833b44d91: Download complete [2023-04-25T09:10:44.796Z] c41833b44d91: Pull complete [2023-04-25T09:10:44.796Z] 58f1dce35555: Verifying Checksum [2023-04-25T09:10:44.796Z] 58f1dce35555: Download complete [2023-04-25T09:10:45.397Z] ed15518f5707: Pull complete [2023-04-25T09:10:45.993Z] feae8fd75edb: Download complete [2023-04-25T09:10:46.275Z] 2ced38df9373: Verifying Checksum [2023-04-25T09:10:46.275Z] 2ced38df9373: Download complete [2023-04-25T09:10:56.386Z] feae8fd75edb: Pull complete [2023-04-25T09:10:56.386Z] 242c74f7c9fa: Pull complete [2023-04-25T09:10:56.663Z] 3cdef696dda3: Pull complete [2023-04-25T09:11:04.884Z] 2ced38df9373: Pull complete [2023-04-25T09:11:06.838Z] 58f1dce35555: Pull complete [2023-04-25T09:11:06.838Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T09:11:06.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T09:11:06.838Z] ---> fadd8f120f05 [2023-04-25T09:11:06.838Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-25T09:11:08.797Z] ---> Running in 35210f94dff7 [2023-04-25T09:11:09.066Z] Removing intermediate container 35210f94dff7 [2023-04-25T09:11:09.066Z] ---> bf8604e0f1b1 [2023-04-25T09:11:09.066Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T09:11:09.066Z] ---> Running in 72f494ced8e3 [2023-04-25T09:11:09.334Z] Removing intermediate container 72f494ced8e3 [2023-04-25T09:11:09.334Z] ---> 26e0571b46ed [2023-04-25T09:11:09.334Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T09:11:09.602Z] ---> Running in 7b3c76963159 [2023-04-25T09:11:09.878Z] Removing intermediate container 7b3c76963159 [2023-04-25T09:11:09.878Z] ---> efbd3c19d791 [2023-04-25T09:11:09.878Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T09:11:09.878Z] ---> Running in 75c7ead44ecd [2023-04-25T09:11:10.148Z] Removing intermediate container 75c7ead44ecd [2023-04-25T09:11:10.148Z] ---> c9876cfb9963 [2023-04-25T09:11:10.148Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-25T09:11:10.148Z] ---> Running in bdd42d340afc [2023-04-25T09:11:10.416Z] Removing intermediate container bdd42d340afc [2023-04-25T09:11:10.416Z] ---> 1c82298d8d9d [2023-04-25T09:11:10.416Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T09:11:10.685Z] ---> Running in 03013e71246a [2023-04-25T09:11:11.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T09:11:12.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T09:11:13.650Z] OK: 263 MiB in 53 packages [2023-04-25T09:11:14.236Z] Removing intermediate container 03013e71246a [2023-04-25T09:11:14.236Z] ---> 5c2e12a25cf0 [2023-04-25T09:11:14.236Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-25T09:11:14.236Z] ---> Running in 56c9b22d708d [2023-04-25T09:11:14.822Z] Removing intermediate container 56c9b22d708d [2023-04-25T09:11:14.822Z] ---> 533e73a87985 [2023-04-25T09:11:14.822Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-25T09:11:18.176Z] ---> ed5dbe91de91 [2023-04-25T09:11:18.176Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T09:11:18.446Z] ---> Running in 8dd4c8d413e3 [2023-04-25T09:12:26.332Z] Removing intermediate container 8dd4c8d413e3 [2023-04-25T09:12:26.332Z] ---> 7fe601d00e56 [2023-04-25T09:12:26.332Z] Step 12/13 : COPY . . [2023-04-25T09:12:26.332Z] ---> 25b1c7408f8e [2023-04-25T09:12:26.332Z] Step 13/13 : RUN ${MAKE} [2023-04-25T09:12:26.332Z] ---> Running in 43d21c25f386 [2023-04-25T09:12:26.332Z] noop [2023-04-25T09:12:26.332Z] Removing intermediate container 43d21c25f386 [2023-04-25T09:12:26.332Z] ---> bf9ed297c86e [2023-04-25T09:12:26.332Z] Successfully built bf9ed297c86e [2023-04-25T09:12:26.332Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:12:26.810Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T09:12:26.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:12:27.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-10801 does not seem to be running inside a container [2023-04-25T09:12:27.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-25T09:12:28.368Z] $ docker top 71694b27de4c203d6b7d34360a0eb8f7c9294603119ae0cc94ed3157a440faf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T09:12:29.226Z] + go version [2023-04-25T09:12:29.226Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T09:12:29.265Z] $ docker stop --time=1 71694b27de4c203d6b7d34360a0eb8f7c9294603119ae0cc94ed3157a440faf8 [2023-04-25T09:12:30.880Z] $ docker rm -f --volumes 71694b27de4c203d6b7d34360a0eb8f7c9294603119ae0cc94ed3157a440faf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:12:31.703Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T09:12:31.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:12:31.951Z] prd-ubuntu20.04-docker-arm64-4c-16g-10801 does not seem to be running inside a container [2023-04-25T09:12:32.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-25T09:12:33.216Z] $ docker top ca351483a90c1d15f6a7288d79306b8ef66fc0c60fa6c5fd03f39dfbc40a02a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T09:12:34.082Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-25T09:12:34.481Z] + make test [2023-04-25T09:12:34.481Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T09:13:06.707Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-25T09:15:13.407Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-25T09:15:14.381Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-25T09:15:16.973Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.264s coverage: 31.6% of statements [2023-04-25T09:15:43.723Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.151s coverage: 86.5% of statements [2023-04-25T09:15:43.723Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T09:15:43.723Z] go vet ./... [2023-04-25T09:16:10.411Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T09:16:10.411Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T09:16:10.411Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T09:16:10.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T09:16:10.489Z] $ docker stop --time=1 ca351483a90c1d15f6a7288d79306b8ef66fc0c60fa6c5fd03f39dfbc40a02a8 [2023-04-25T09:16:14.001Z] $ docker rm -f --volumes ca351483a90c1d15f6a7288d79306b8ef66fc0c60fa6c5fd03f39dfbc40a02a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T09:16:15.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T09:16:15.298Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T09:16:15.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T09:16:16.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T09:16:16.905Z] + ls -al . [2023-04-25T09:16:16.905Z] total 232 [2023-04-25T09:16:16.905Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:12 . [2023-04-25T09:16:16.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:10 .. [2023-04-25T09:16:16.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:10 .git [2023-04-25T09:16:16.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:10 .github [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 09:10 .gitignore [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 09:10 .golangci.yml [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 09:10 Attribution.txt [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 09:10 CHANGELOG.md [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 09:10 Dockerfile [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:10 GOVERNANCE.md [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 09:10 Jenkinsfile [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 09:10 LICENSE [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 09:10 Makefile [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 09:10 OWNERS.md [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 09:10 README.md [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2023-04-25T09:16:16.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:10 bin [2023-04-25T09:16:16.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:10 cmd [2023-04-25T09:16:16.905Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 09:15 coverage.out [2023-04-25T09:16:16.905Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 09:10 doc [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 09:10 go.mod [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 09:10 go.sum [2023-04-25T09:16:16.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:10 internal [2023-04-25T09:16:16.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:10 snap [2023-04-25T09:16:16.905Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 09:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:16:17.327Z] + 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=02059e733b438805fc41ef659490ebc0703f4f67 --label arch=arm64 --label version=0.0.0 . [2023-04-25T09:16:17.911Z] Sending build context to Docker daemon 19.76MB [2023-04-25T09:16:17.911Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T09:16:17.911Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-25T09:16:17.911Z] ---> bf9ed297c86e [2023-04-25T09:16:17.911Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-25T09:16:17.911Z] ---> Running in 14f77b9e8a33 [2023-04-25T09:16:18.177Z] Removing intermediate container 14f77b9e8a33 [2023-04-25T09:16:18.177Z] ---> eafaf4bc3edb [2023-04-25T09:16:18.177Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T09:16:18.443Z] ---> Running in e3d2a08480b1 [2023-04-25T09:16:18.443Z] Removing intermediate container e3d2a08480b1 [2023-04-25T09:16:18.443Z] ---> beec1ddce38e [2023-04-25T09:16:18.443Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T09:16:18.715Z] ---> Running in c6f6915e6c51 [2023-04-25T09:16:18.981Z] Removing intermediate container c6f6915e6c51 [2023-04-25T09:16:18.981Z] ---> 6f982cd3697f [2023-04-25T09:16:18.981Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T09:16:18.981Z] ---> Running in 60f5a93d52f1 [2023-04-25T09:16:19.249Z] Removing intermediate container 60f5a93d52f1 [2023-04-25T09:16:19.249Z] ---> 3dfdc9477cfd [2023-04-25T09:16:19.249Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-25T09:16:19.249Z] ---> Running in e227f8ea4e54 [2023-04-25T09:16:19.525Z] Removing intermediate container e227f8ea4e54 [2023-04-25T09:16:19.525Z] ---> 983a43ff0eb6 [2023-04-25T09:16:19.525Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T09:16:19.525Z] ---> Running in 3624699d5b2e [2023-04-25T09:16:20.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T09:16:21.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T09:16:22.037Z] OK: 263 MiB in 53 packages [2023-04-25T09:16:23.000Z] Removing intermediate container 3624699d5b2e [2023-04-25T09:16:23.000Z] ---> fe9a962298f7 [2023-04-25T09:16:23.000Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-25T09:16:23.000Z] ---> Running in 8364cb2365c0 [2023-04-25T09:16:23.267Z] Removing intermediate container 8364cb2365c0 [2023-04-25T09:16:23.267Z] ---> 17373c95acb8 [2023-04-25T09:16:23.267Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-25T09:16:23.853Z] ---> d9a6393a9097 [2023-04-25T09:16:23.853Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T09:16:23.853Z] ---> Running in 21fe19a93ed8 [2023-04-25T09:16:28.113Z] Removing intermediate container 21fe19a93ed8 [2023-04-25T09:16:28.113Z] ---> 938c360c6f10 [2023-04-25T09:16:28.113Z] Step 12/26 : COPY . . [2023-04-25T09:16:29.522Z] ---> f3e6c03b2684 [2023-04-25T09:16:29.522Z] Step 13/26 : RUN ${MAKE} [2023-04-25T09:16:29.522Z] ---> Running in dc4f254854bc [2023-04-25T09:16:30.476Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-25T09:18:52.167Z] Removing intermediate container dc4f254854bc [2023-04-25T09:18:52.167Z] ---> 0b8db046d32d [2023-04-25T09:18:52.167Z] Step 14/26 : FROM alpine:3.17 [2023-04-25T09:18:52.167Z] 3.17: Pulling from library/alpine [2023-04-25T09:18:52.167Z] c41833b44d91: Already exists [2023-04-25T09:18:52.167Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T09:18:52.167Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T09:18:52.167Z] ---> 51e60588ff2c [2023-04-25T09:18:52.167Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-25T09:18:52.167Z] ---> Running in 2ede54d6b8df [2023-04-25T09:18:52.167Z] Removing intermediate container 2ede54d6b8df [2023-04-25T09:18:52.167Z] ---> e95b3fd5b3d4 [2023-04-25T09:18:52.167Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-25T09:18:52.167Z] ---> Running in 3a2a22d34767 [2023-04-25T09:18:52.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T09:18:52.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T09:18:52.167Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T09:18:52.167Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T09:18:52.167Z] OK: 8 MiB in 16 packages [2023-04-25T09:18:52.167Z] Removing intermediate container 3a2a22d34767 [2023-04-25T09:18:52.167Z] ---> 0dd69921d6ed [2023-04-25T09:18:52.167Z] Step 17/26 : WORKDIR / [2023-04-25T09:18:52.167Z] ---> Running in 5a84bddc72a5 [2023-04-25T09:18:52.167Z] Removing intermediate container 5a84bddc72a5 [2023-04-25T09:18:52.167Z] ---> 531d9c8c2136 [2023-04-25T09:18:52.167Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-25T09:18:52.167Z] ---> c1d1801a1e89 [2023-04-25T09:18:52.167Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-25T09:18:52.167Z] ---> 0665967be00e [2023-04-25T09:18:52.167Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-25T09:18:52.167Z] ---> fc3ac67b1b47 [2023-04-25T09:18:52.167Z] Step 21/26 : EXPOSE 59984 [2023-04-25T09:18:52.167Z] ---> Running in f1e7011af099 [2023-04-25T09:18:52.167Z] Removing intermediate container f1e7011af099 [2023-04-25T09:18:52.167Z] ---> 5db9a0ed3738 [2023-04-25T09:18:52.167Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-25T09:18:52.167Z] ---> Running in ce8f9c2ef2e0 [2023-04-25T09:18:52.167Z] Removing intermediate container ce8f9c2ef2e0 [2023-04-25T09:18:52.167Z] ---> ef47f1c2270a [2023-04-25T09:18:52.167Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T09:18:52.167Z] ---> Running in 482deb6fdb3e [2023-04-25T09:18:52.167Z] Removing intermediate container 482deb6fdb3e [2023-04-25T09:18:52.167Z] ---> 619945fc24ba [2023-04-25T09:18:52.167Z] Step 24/26 : LABEL arch=arm64 [2023-04-25T09:18:52.167Z] ---> Running in a0c36ee520ef [2023-04-25T09:18:52.167Z] Removing intermediate container a0c36ee520ef [2023-04-25T09:18:52.167Z] ---> ad92f4e3bb91 [2023-04-25T09:18:52.167Z] Step 25/26 : LABEL git_sha=02059e733b438805fc41ef659490ebc0703f4f67 [2023-04-25T09:18:52.167Z] ---> Running in d07ff97301b8 [2023-04-25T09:18:52.167Z] Removing intermediate container d07ff97301b8 [2023-04-25T09:18:52.167Z] ---> 5a0174932c39 [2023-04-25T09:18:52.167Z] Step 26/26 : LABEL version=0.0.0 [2023-04-25T09:18:52.167Z] ---> Running in 0f7ce191fa92 [2023-04-25T09:18:52.167Z] Removing intermediate container 0f7ce191fa92 [2023-04-25T09:18:52.167Z] ---> 228a3f549b50 [2023-04-25T09:18:52.167Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T09:18:52.167Z] Successfully built 228a3f549b50 [2023-04-25T09:18:52.167Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:18:52.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T09:18:52.998Z] [2023-04-25T09:18:52.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:18:53.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T09:18:53.390Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T09:18:53.390Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T09:18:53.390Z] 04944245beec: Pulling fs layer [2023-04-25T09:18:53.390Z] 699f458cf7ca: Pulling fs layer [2023-04-25T09:18:53.390Z] 765212b225bb: Pulling fs layer [2023-04-25T09:18:53.390Z] f23df028b6ca: Pulling fs layer [2023-04-25T09:18:53.390Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T09:18:53.390Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T09:18:53.390Z] f23df028b6ca: Waiting [2023-04-25T09:18:53.390Z] d65c8cfc05b1: Waiting [2023-04-25T09:18:53.390Z] 765212b225bb: Waiting [2023-04-25T09:18:53.390Z] 2437ff75d9bd: Waiting [2023-04-25T09:18:53.667Z] 04944245beec: Verifying Checksum [2023-04-25T09:18:53.667Z] 04944245beec: Download complete [2023-04-25T09:18:53.667Z] 765212b225bb: Verifying Checksum [2023-04-25T09:18:53.667Z] 765212b225bb: Download complete [2023-04-25T09:18:53.667Z] f23df028b6ca: Verifying Checksum [2023-04-25T09:18:53.667Z] f23df028b6ca: Download complete [2023-04-25T09:18:53.667Z] d65c8cfc05b1: Verifying Checksum [2023-04-25T09:18:53.667Z] d65c8cfc05b1: Download complete [2023-04-25T09:18:53.667Z] 699f458cf7ca: Verifying Checksum [2023-04-25T09:18:53.667Z] 699f458cf7ca: Download complete [2023-04-25T09:18:54.250Z] 8998bd30e6a1: Verifying Checksum [2023-04-25T09:18:54.250Z] 8998bd30e6a1: Download complete [2023-04-25T09:18:56.188Z] 2437ff75d9bd: Verifying Checksum [2023-04-25T09:18:56.188Z] 2437ff75d9bd: Download complete [2023-04-25T09:18:57.591Z] 8998bd30e6a1: Pull complete [2023-04-25T09:18:58.185Z] 04944245beec: Pull complete [2023-04-25T09:18:59.589Z] 699f458cf7ca: Pull complete [2023-04-25T09:18:59.589Z] 765212b225bb: Pull complete [2023-04-25T09:19:00.171Z] f23df028b6ca: Pull complete [2023-04-25T09:19:00.437Z] d65c8cfc05b1: Pull complete [2023-04-25T09:19:12.732Z] 2437ff75d9bd: Pull complete [2023-04-25T09:19:12.732Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T09:19:12.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T09:19:12.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:19:13.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-10801 does not seem to be running inside a container [2023-04-25T09:19:13.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-25T09:19:15.437Z] $ docker top 9aaa060bdd6b4ac420c9a62c659b87f4ee05204c25f3406de065c82a4d8644f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:16.015Z] ---> job-cost.sh [2023-04-25T09:19:16.283Z] lf-activate-venv: SKIPPING [2023-04-25T09:19:16.283Z] INFO: No Stack... [2023-04-25T09:19:16.867Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T09:19:17.823Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T09:19:18.169Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-25T09:19:18.169Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T09:19:18.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [2023-04-25T09:19:18.257Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] did not exist. Created. [2023-04-25T09:19:18.257Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T09:19:19.097Z] /w/workspace/device-onvif-camera/1@tmp/durable-febf4d5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T09:19:19.760Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T09:19:19.795Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T09:19:19.850Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T09:19:19.866Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T09:19:19.951Z] $ docker stop --time=1 9aaa060bdd6b4ac420c9a62c659b87f4ee05204c25f3406de065c82a4d8644f3 [2023-04-25T09:19:21.423Z] $ docker rm -f --volumes 9aaa060bdd6b4ac420c9a62c659b87f4ee05204c25f3406de065c82a4d8644f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-25T09:19:22.456Z] provisioning config files... [2023-04-25T09:19:22.463Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-323@tmp/config8272457105342459571tmp [Pipeline] { [Pipeline] sh [2023-04-25T09:19:22.798Z] + set +x [2023-04-25T09:19:22.798Z] + curl -s https://codecov.io/bash [2023-04-25T09:19:22.798Z] + bash -s -- [2023-04-25T09:19:22.798Z] [2023-04-25T09:19:22.798Z] _____ _ [2023-04-25T09:19:22.798Z] / ____| | | [2023-04-25T09:19:22.798Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T09:19:22.798Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T09:19:22.798Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T09:19:22.798Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T09:19:22.798Z] Bash-1.0.6 [2023-04-25T09:19:22.798Z] [2023-04-25T09:19:22.798Z] [2023-04-25T09:19:22.798Z] ==> git version 2.25.1 found [2023-04-25T09:19:22.798Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-25T09:19:22.798Z] Release-Date: 2020-01-08 [2023-04-25T09:19:22.798Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-25T09:19:22.798Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T09:19:22.798Z] ==> Jenkins CI detected. [2023-04-25T09:19:22.798Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-323 [2023-04-25T09:19:22.798Z] project root: . [2023-04-25T09:19:22.798Z] --> token set from env [2023-04-25T09:19:22.798Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T09:19:23.056Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T09:19:23.057Z] ==> Python coveragepy not found [2023-04-25T09:19:23.057Z] ==> Searching for coverage reports in: [2023-04-25T09:19:23.057Z] + . [2023-04-25T09:19:23.057Z] -> Found 1 reports [2023-04-25T09:19:23.057Z] ==> Detecting git/mercurial file structure [2023-04-25T09:19:23.057Z] ==> Reading reports [2023-04-25T09:19:23.057Z] + ./coverage.out bytes=78922 [2023-04-25T09:19:23.057Z] ==> Appending adjustments [2023-04-25T09:19:23.057Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T09:19:23.057Z] + Found adjustments [2023-04-25T09:19:23.057Z] ==> Gzipping contents [2023-04-25T09:19:23.057Z] 12K /tmp/codecov.VmNsJH.gz [2023-04-25T09:19:23.057Z] ==> Uploading reports [2023-04-25T09:19:23.057Z] url: https://codecov.io [2023-04-25T09:19:23.057Z] query: branch=PR-323&commit=02059e733b438805fc41ef659490ebc0703f4f67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-04-25T09:19:23.057Z] -> Pinging Codecov [2023-04-25T09:19:23.057Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-323&commit=02059e733b438805fc41ef659490ebc0703f4f67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-04-25T09:19:23.315Z] -> Uploading to [2023-04-25T09:19:23.315Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/F29A59C45E3A92E06B3E522C9905F8EF/02059e733b438805fc41ef659490ebc0703f4f67/1c675c11-d6b2-4b62-87fc-97b363279852.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T091923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=707a86362563eb4cba0f5dccbf0b702ed58397787e78b89e4ea2ffeefdac0f85 [2023-04-25T09:19:23.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T09:19:23.315Z] Dload Upload Total Spent Left Speed [2023-04-25T09:19:23.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 42686 --:--:-- --:--:-- --:--:-- 42686 [2023-04-25T09:19:23.575Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/02059e733b438805fc41ef659490ebc0703f4f67 [Pipeline] } [2023-04-25T09:19:23.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-25T09:19:25.427Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-323/archives ] [2023-04-25T09:19:25.428Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-323/archives [2023-04-25T09:19:25.428Z] total 16 [2023-04-25T09:19:25.428Z] drwxr-xr-x 3 root root 4096 Apr 25 09:10 . [2023-04-25T09:19:25.428Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 09:10 .. [2023-04-25T09:19:25.428Z] drwxr-xr-x 2 root root 4096 Apr 25 09:10 cost [2023-04-25T09:19:25.428Z] -rw-r--r-- 1 root root 91 Apr 25 09:10 cost.csv [2023-04-25T09:19:25.428Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-323/archives [2023-04-25T09:19:25.428Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-323/archives [2023-04-25T09:19:25.428Z] total 16 [2023-04-25T09:19:25.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:10 . [2023-04-25T09:19:25.428Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 09:10 .. [2023-04-25T09:19:25.428Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:10 cost [2023-04-25T09:19:25.428Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 25 09:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:25.753Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:26.646Z] ---> package-listing.sh [2023-04-25T09:19:26.646Z] ++ facter osfamily [2023-04-25T09:19:26.646Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T09:19:26.646Z] + OS_FAMILY=debian [2023-04-25T09:19:26.646Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-323 [2023-04-25T09:19:26.646Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T09:19:26.646Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T09:19:26.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T09:19:26.646Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T09:19:26.646Z] + '[' /w/workspace/undry_device-onvif-camera_PR-323 ']' [2023-04-25T09:19:26.646Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T09:19:26.646Z] + case "${OS_FAMILY}" in [2023-04-25T09:19:26.646Z] + dpkg -l [2023-04-25T09:19:26.646Z] + grep '^ii' [2023-04-25T09:19:26.904Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T09:19:26.904Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T09:19:26.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T09:19:26.904Z] + '[' /w/workspace/undry_device-onvif-camera_PR-323 ']' [2023-04-25T09:19:26.905Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-323/archives/ [2023-04-25T09:19:26.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-323/archives/ [Pipeline] echo [2023-04-25T09:19:26.944Z] 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-323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-25T09:19:27.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T09:19:27.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T09:19:27.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T09:19:27.993Z] prd-ubuntu20.04-docker-8c-8g-10800 does not seem to be running inside a container [2023-04-25T09:19:28.018Z] $ 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-323/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-323 -v /w/workspace/undry_device-onvif-camera_PR-323:/w/workspace/undry_device-onvif-camera_PR-323:rw,z -v /w/workspace/undry_device-onvif-camera_PR-323@tmp:/w/workspace/undry_device-onvif-camera_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T09:19:28.212Z] $ docker top aa797d8ad161707f7c54cfaecbe42d72c893a4a947f1f78b5a2092b1676b1671 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T09:19:28.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T09:19:28.904Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T09:19:29.214Z] + ls /var/log/sa-host [2023-04-25T09:19:29.215Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T09:19:29.438Z] provisioning config files... [2023-04-25T09:19:29.445Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-323@tmp/config3622584464147141307tmp [Pipeline] { [Pipeline] echo [2023-04-25T09:19:29.507Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:29.819Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T09:19:29.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:30.247Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T09:19:30.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:30.585Z] ---> sudo-logs.sh [2023-04-25T09:19:30.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T09:19:30.667Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:30.976Z] ---> job-cost.sh [2023-04-25T09:19:30.976Z] lf-activate-venv: SKIPPING [2023-04-25T09:19:30.976Z] DEBUG: total: 0.2199999988079071 [2023-04-25T09:19:30.976Z] INFO: Retrieving Stack Cost... [2023-04-25T09:19:31.544Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T09:19:31.803Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T09:19:31.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T09:19:32.154Z] ---> logs-deploy.sh [2023-04-25T09:19:32.154Z] lf-activate-venv: SKIPPING [2023-04-25T09:19:32.154Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-323/1 [2023-04-25T09:19:32.154Z] INFO: archiving workspace using pattern(s): [2023-04-25T09:19:33.091Z] Archives upload complete. [2023-04-25T09:19:33.091Z] INFO: archiving logs to Nexus