Pull request #251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 980960dff57de58107d2d97a23be64aeb111a7f1+5eec883b2bb43bf890ad540a9146487d6a3ec42a (a84797ee7bfcb0ff0d16dc35c397911ff35599d8) 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-ssh13252295108763186027.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16811250538755768208.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8567307393066507406.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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1370609163897385946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4401816913241815712.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13664079623582019902.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8573’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8579 in /w/workspace/undry_device-onvif-camera_PR-251 [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-251 # 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 980960dff57de58107d2d97a23be64aeb111a7f1 Merge succeeded, producing 980960dff57de58107d2d97a23be64aeb111a7f1 Checking out Revision 980960dff57de58107d2d97a23be64aeb111a7f1 (PR-251) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T17:16:57.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 980960dff57de58107d2d97a23be64aeb111a7f1 # 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 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 980960dff57de58107d2d97a23be64aeb111a7f1 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T17:16:58.014Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T17:16:58.108Z] ========================================================= [2023-03-07T17:16:58.108Z] EdgeX Global Pipelines Version Info [2023-03-07T17:16:58.108Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:16:58.852Z] ------------------- [2023-03-07T17:16:58.852Z] stable info: [2023-03-07T17:16:58.852Z] ------------------- [2023-03-07T17:16:58.852Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T17:16:58.852Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T17:16:58.852Z] Message: update stable to v1.0.244 [2023-03-07T17:16:59.421Z] ------------------- [2023-03-07T17:16:59.421Z] experimental info: [2023-03-07T17:16:59.421Z] ------------------- [2023-03-07T17:16:59.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T17:16:59.422Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T17:16:59.422Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T17:16:59.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-07T17:16:59.789Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-07T17:16:59.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T17:16:59.875Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T17:16:59.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T17:16:59.954Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T17:16:59.995Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T17:17:00.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T17:17:00.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T17:17:00.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T17:17:00.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T17:17:00.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-07T17:17:00.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T17:17:00.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T17:17:00.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T17:17:00.371Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T17:17:00.422Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T17:17:00.462Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T17:17:00.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T17:17:00.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T17:17:00.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T17:17:00.630Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-07T17:17:00.670Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T17:17:00.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T17:17:00.753Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T17:17:00.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T17:17:00.836Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T17:17:00.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo [2023-03-07T17:17:00.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo [2023-03-07T17:17:00.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo [2023-03-07T17:17:00.993Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 980960dff57de58107d2d97a23be64aeb111a7f1 [Pipeline] echo [2023-03-07T17:17:01.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 980960d [Pipeline] echo [2023-03-07T17:17:01.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:17:01.183Z] provisioning config files... [2023-03-07T17:17:01.195Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-251@tmp/config6181944002178341072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:17:01.548Z] ---> docker-login.sh [2023-03-07T17:17:01.548Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:17:01.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:01.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:01.817Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:01.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:01.817Z] [2023-03-07T17:17:01.817Z] Login Succeeded [2023-03-07T17:17:01.817Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:17:01.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:02.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:02.081Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:02.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:02.081Z] [2023-03-07T17:17:02.081Z] Login Succeeded [2023-03-07T17:17:02.081Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:17:02.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:02.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:02.081Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:02.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:02.081Z] [2023-03-07T17:17:02.081Z] Login Succeeded [2023-03-07T17:17:02.081Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:17:02.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:02.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:02.081Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:02.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:02.081Z] [2023-03-07T17:17:02.081Z] Login Succeeded [2023-03-07T17:17:02.081Z] docker.io [2023-03-07T17:17:02.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:02.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:02.598Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:02.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:02.598Z] [2023-03-07T17:17:02.598Z] Login Succeeded [2023-03-07T17:17:02.598Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:17:02.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T17:17:03.245Z] + git rev-list -1 --merges 980960dff57de58107d2d97a23be64aeb111a7f1~1..980960dff57de58107d2d97a23be64aeb111a7f1 [Pipeline] echo [2023-03-07T17:17:03.310Z] -----------> git rev-list -1 --merges 980960dff57de58107d2d97a23be64aeb111a7f1~1..980960dff57de58107d2d97a23be64aeb111a7f1 980960dff57de58107d2d97a23be64aeb111a7f1 [false] [Pipeline] sh [2023-03-07T17:17:03.624Z] + git log --format=format:%s -1 980960dff57de58107d2d97a23be64aeb111a7f1 [Pipeline] echo [2023-03-07T17:17:03.657Z] ========================================================= [2023-03-07T17:17:03.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T17:17:03.657Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:17:04.093Z] + git log --format=format:%s -1 980960dff57de58107d2d97a23be64aeb111a7f1 [Pipeline] echo [2023-03-07T17:17:04.124Z] [semverPrep] GIT_COMMIT: 980960dff57de58107d2d97a23be64aeb111a7f1, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T17:17:04.151Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T17:17:04.523Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T17:17:04.523Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T17:17:04.523Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T17:17:04.523Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T17:17:04.523Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T17:17:04.523Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T17:17:04.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:04.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:04.961Z] [2023-03-07T17:17:04.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:05.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:05.338Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T17:17:05.338Z] b85a868b505f: Pulling fs layer [2023-03-07T17:17:05.338Z] e2be974225ed: Pulling fs layer [2023-03-07T17:17:05.338Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T17:17:05.338Z] 988bab9f4d93: Pulling fs layer [2023-03-07T17:17:05.338Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T17:17:05.338Z] eaf3925da568: Pulling fs layer [2023-03-07T17:17:05.338Z] bab4dde63d76: Pulling fs layer [2023-03-07T17:17:05.338Z] 1469e6f7b9e6: Waiting [2023-03-07T17:17:05.338Z] 988bab9f4d93: Waiting [2023-03-07T17:17:05.338Z] eaf3925da568: Waiting [2023-03-07T17:17:05.338Z] bde34c3a00c8: Pulling fs layer [2023-03-07T17:17:05.338Z] b352a97aabf1: Pulling fs layer [2023-03-07T17:17:05.338Z] 4872d77fe225: Pulling fs layer [2023-03-07T17:17:05.338Z] 5851b861e8e6: Pulling fs layer [2023-03-07T17:17:05.338Z] bab4dde63d76: Waiting [2023-03-07T17:17:05.338Z] b352a97aabf1: Waiting [2023-03-07T17:17:05.338Z] 4872d77fe225: Waiting [2023-03-07T17:17:05.338Z] bde34c3a00c8: Waiting [2023-03-07T17:17:05.338Z] e2be974225ed: Verifying Checksum [2023-03-07T17:17:05.338Z] e2be974225ed: Download complete [2023-03-07T17:17:05.338Z] 988bab9f4d93: Verifying Checksum [2023-03-07T17:17:05.338Z] 988bab9f4d93: Download complete [2023-03-07T17:17:05.600Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T17:17:05.600Z] 1469e6f7b9e6: Download complete [2023-03-07T17:17:05.600Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T17:17:05.600Z] 339a4e72a1f5: Download complete [2023-03-07T17:17:05.600Z] eaf3925da568: Download complete [2023-03-07T17:17:05.600Z] bde34c3a00c8: Download complete [2023-03-07T17:17:05.600Z] b352a97aabf1: Download complete [2023-03-07T17:17:05.863Z] 4872d77fe225: Download complete [2023-03-07T17:17:05.863Z] 5851b861e8e6: Download complete [2023-03-07T17:17:05.863Z] b85a868b505f: Verifying Checksum [2023-03-07T17:17:05.863Z] b85a868b505f: Download complete [2023-03-07T17:17:06.430Z] bab4dde63d76: Verifying Checksum [2023-03-07T17:17:06.430Z] bab4dde63d76: Download complete [2023-03-07T17:17:06.996Z] b85a868b505f: Pull complete [2023-03-07T17:17:07.256Z] e2be974225ed: Pull complete [2023-03-07T17:17:07.826Z] 339a4e72a1f5: Pull complete [2023-03-07T17:17:07.826Z] 988bab9f4d93: Pull complete [2023-03-07T17:17:08.089Z] 1469e6f7b9e6: Pull complete [2023-03-07T17:17:08.089Z] eaf3925da568: Pull complete [2023-03-07T17:17:09.991Z] bab4dde63d76: Pull complete [2023-03-07T17:17:09.991Z] bde34c3a00c8: Pull complete [2023-03-07T17:17:09.991Z] b352a97aabf1: Pull complete [2023-03-07T17:17:09.991Z] 4872d77fe225: Pull complete [2023-03-07T17:17:09.991Z] 5851b861e8e6: Pull complete [2023-03-07T17:17:09.991Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T17:17:09.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:09.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:17:10.200Z] prd-ubuntu20.04-docker-8c-8g-8579 does not seem to be running inside a container [2023-03-07T17:17:10.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-251 -v /w/workspace/undry_device-onvif-camera_PR-251:/w/workspace/undry_device-onvif-camera_PR-251:rw,z -v /w/workspace/undry_device-onvif-camera_PR-251@tmp:/w/workspace/undry_device-onvif-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T17:17:12.795Z] $ docker top 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e -eo pid,comm [2023-03-07T17:17:12.855Z] 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-03-07T17:17:12.855Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T17:17:12.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T17:17:12.983Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T17:17:13.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T17:17:13.092Z] $ docker exec 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e ssh-agent [2023-03-07T17:17:13.209Z] SSH_AUTH_SOCK=/tmp/ssh-OvEpa5d7fSIc/agent.33 [2023-03-07T17:17:13.209Z] SSH_AGENT_PID=39 [2023-03-07T17:17:13.216Z] Running ssh-add (command line suppressed) [2023-03-07T17:17:13.316Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-251@tmp/private_key_3145423717658391822.key (/w/workspace/undry_device-onvif-camera_PR-251@tmp/private_key_3145423717658391822.key) [2023-03-07T17:17:13.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T17:17:13.681Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T17:17:13.699Z] $ docker exec --env ******** --env ******** 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e ssh-agent -k [2023-03-07T17:17:13.778Z] unset SSH_AUTH_SOCK; [2023-03-07T17:17:13.779Z] unset SSH_AGENT_PID; [2023-03-07T17:17:13.779Z] echo Agent pid 39 killed; [2023-03-07T17:17:13.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T17:17:13.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T17:17:13.923Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T17:17:14.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T17:17:14.013Z] $ docker exec 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e ssh-agent [2023-03-07T17:17:14.122Z] SSH_AUTH_SOCK=/tmp/ssh-yVe5jzObAQoO/agent.72 [2023-03-07T17:17:14.122Z] SSH_AGENT_PID=78 [2023-03-07T17:17:14.127Z] Running ssh-add (command line suppressed) [2023-03-07T17:17:14.211Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-251@tmp/private_key_16762497449214132659.key (/w/workspace/undry_device-onvif-camera_PR-251@tmp/private_key_16762497449214132659.key) [2023-03-07T17:17:14.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T17:17:14.561Z] + git semver init [2023-03-07T17:17:14.822Z] 2023-03-07 17:17:14,741 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T17:17:14.822Z] 2023-03-07 17:17:14,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-251/.semver [2023-03-07T17:17:14.822Z] 2023-03-07 17:17:14,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-251/.semver [2023-03-07T17:17:14.822Z] 2023-03-07 17:17:14,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-251/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-251, universal_newlines=False, shell=None, istream=None) [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,660 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-251/.git/info/exclude [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,661 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-251/.semver/PR-251 with force:False [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,661 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-251/.semver/PR-251 [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,663 [execute] INFO git cat-file --batch-check [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,670 [execute] INFO git cat-file --batch [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T17:17:15.760Z] 2023-03-07 17:17:15,676 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-251/.semver/PR-251 [2023-03-07T17:17:15.760Z] 0.0.0 [Pipeline] } [2023-03-07T17:17:15.773Z] $ docker exec --env ******** --env ******** 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e ssh-agent -k [2023-03-07T17:17:15.875Z] unset SSH_AUTH_SOCK; [2023-03-07T17:17:15.875Z] unset SSH_AGENT_PID; [2023-03-07T17:17:15.876Z] echo Agent pid 78 killed; [2023-03-07T17:17:15.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T17:17:16.323Z] + git semver [Pipeline] } [2023-03-07T17:17:16.595Z] $ docker stop --time=1 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e [2023-03-07T17:17:17.919Z] $ docker rm -f --volumes 5ef585a1745a9a66059d91de1334e1503705d54b29ca6accb9f54b7efeb5bd6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:17:18.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T17:17:18.599Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T17:17:18.615Z] [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-03-07T17:17:19.216Z] provisioning config files... [2023-03-07T17:17:19.227Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-251@tmp/config4889805390311713239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:17:19.578Z] ---> docker-login.sh [2023-03-07T17:17:19.578Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:17:19.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:19.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:19.578Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:19.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:19.579Z] [2023-03-07T17:17:19.579Z] Login Succeeded [2023-03-07T17:17:19.579Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:17:19.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:19.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:19.579Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:19.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:19.579Z] [2023-03-07T17:17:19.579Z] Login Succeeded [2023-03-07T17:17:19.579Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:17:19.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:19.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:19.841Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:19.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:19.841Z] [2023-03-07T17:17:19.841Z] Login Succeeded [2023-03-07T17:17:19.841Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:17:19.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:19.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:19.841Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:19.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:19.841Z] [2023-03-07T17:17:19.841Z] Login Succeeded [2023-03-07T17:17:19.841Z] docker.io [2023-03-07T17:17:19.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:20.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:20.100Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:20.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:20.100Z] [2023-03-07T17:17:20.100Z] Login Succeeded [2023-03-07T17:17:20.100Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:17:20.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T17:17:20.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:17:20.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:17:20.383Z] ========================================================= [2023-03-07T17:17:20.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T17:17:20.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:20.923Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T17:17:20.923Z] Sending build context to Docker daemon 27.84MB [2023-03-07T17:17:20.923Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:17:20.923Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T17:17:21.187Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T17:17:21.187Z] 213ec9aee27d: Pulling fs layer [2023-03-07T17:17:21.187Z] 4583459ba037: Pulling fs layer [2023-03-07T17:17:21.187Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T17:17:21.187Z] 53926ce57604: Pulling fs layer [2023-03-07T17:17:21.187Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T17:17:21.187Z] 22ff95d597cd: Pulling fs layer [2023-03-07T17:17:21.187Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T17:17:21.187Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T17:17:21.187Z] a7acece74701: Pulling fs layer [2023-03-07T17:17:21.187Z] 21b2b0c7a3f4: Waiting [2023-03-07T17:17:21.187Z] 22ff95d597cd: Waiting [2023-03-07T17:17:21.187Z] 53926ce57604: Waiting [2023-03-07T17:17:21.187Z] 96b7cbca73a9: Waiting [2023-03-07T17:17:21.187Z] 12d6caf4c0d1: Waiting [2023-03-07T17:17:21.187Z] a7acece74701: Waiting [2023-03-07T17:17:21.187Z] 93c1e223e6f2: Download complete [2023-03-07T17:17:21.187Z] 4583459ba037: Download complete [2023-03-07T17:17:21.187Z] 21b2b0c7a3f4: Download complete [2023-03-07T17:17:21.187Z] 22ff95d597cd: Verifying Checksum [2023-03-07T17:17:21.187Z] 22ff95d597cd: Download complete [2023-03-07T17:17:21.187Z] 213ec9aee27d: Download complete [2023-03-07T17:17:21.187Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T17:17:21.187Z] 12d6caf4c0d1: Download complete [2023-03-07T17:17:21.451Z] 213ec9aee27d: Pull complete [2023-03-07T17:17:21.451Z] 4583459ba037: Pull complete [2023-03-07T17:17:21.451Z] 93c1e223e6f2: Pull complete [2023-03-07T17:17:22.037Z] a7acece74701: Verifying Checksum [2023-03-07T17:17:22.037Z] a7acece74701: Download complete [2023-03-07T17:17:22.037Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T17:17:22.037Z] 53926ce57604: Verifying Checksum [2023-03-07T17:17:22.037Z] 53926ce57604: Download complete [2023-03-07T17:17:26.217Z] 53926ce57604: Pull complete [2023-03-07T17:17:26.218Z] 21b2b0c7a3f4: Pull complete [2023-03-07T17:17:26.218Z] 22ff95d597cd: Pull complete [2023-03-07T17:17:26.218Z] 12d6caf4c0d1: Pull complete [2023-03-07T17:17:28.120Z] 96b7cbca73a9: Pull complete [2023-03-07T17:17:28.689Z] a7acece74701: Pull complete [2023-03-07T17:17:28.689Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T17:17:28.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T17:17:28.689Z] ---> db6d94c90886 [2023-03-07T17:17:28.689Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:17:32.885Z] ---> Running in 354a7b5fa80e [2023-03-07T17:17:32.885Z] Removing intermediate container 354a7b5fa80e [2023-03-07T17:17:32.885Z] ---> c9548ad4ffc1 [2023-03-07T17:17:32.885Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:17:32.885Z] ---> Running in f2fa8d258824 [2023-03-07T17:17:32.885Z] Removing intermediate container f2fa8d258824 [2023-03-07T17:17:32.885Z] ---> ac7f93adeafd [2023-03-07T17:17:32.885Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:17:32.885Z] ---> Running in 3abb300c6f1c [2023-03-07T17:17:32.885Z] Removing intermediate container 3abb300c6f1c [2023-03-07T17:17:32.885Z] ---> 90d05e2c1278 [2023-03-07T17:17:32.885Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:17:32.885Z] ---> Running in b7eb6bba17ab [2023-03-07T17:17:33.145Z] Removing intermediate container b7eb6bba17ab [2023-03-07T17:17:33.145Z] ---> e978f77e2802 [2023-03-07T17:17:33.145Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:17:33.145Z] ---> Running in fb3c688be062 [2023-03-07T17:17:33.402Z] Removing intermediate container fb3c688be062 [2023-03-07T17:17:33.402Z] ---> d5731f2fc9fd [2023-03-07T17:17:33.402Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:17:33.402Z] ---> Running in d6d3495d0472 [2023-03-07T17:17:33.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:17:33.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:17:33.920Z] OK: 211 MiB in 51 packages [2023-03-07T17:17:34.014Z] Still waiting to schedule task [2023-03-07T17:17:34.014Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-07T17:17:34.180Z] Removing intermediate container d6d3495d0472 [2023-03-07T17:17:34.180Z] ---> df91a4ecd919 [2023-03-07T17:17:34.180Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T17:17:34.180Z] ---> Running in 9ae8726a64e8 [2023-03-07T17:17:34.437Z] Removing intermediate container 9ae8726a64e8 [2023-03-07T17:17:34.437Z] ---> 6361b3d220ac [2023-03-07T17:17:34.437Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T17:17:34.437Z] ---> 708f0f3daaa0 [2023-03-07T17:17:34.437Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:17:34.437Z] ---> Running in 6971d11829f6 [2023-03-07T17:18:06.535Z] Removing intermediate container 6971d11829f6 [2023-03-07T17:18:06.535Z] ---> e23041cba851 [2023-03-07T17:18:06.535Z] Step 12/13 : COPY . . [2023-03-07T17:18:06.535Z] ---> e893ea86505a [2023-03-07T17:18:06.535Z] Step 13/13 : RUN ${MAKE} [2023-03-07T17:18:06.535Z] ---> Running in 4b5903015ae2 [2023-03-07T17:18:06.535Z] noop [2023-03-07T17:18:06.535Z] Removing intermediate container 4b5903015ae2 [2023-03-07T17:18:06.535Z] ---> 7677605993f1 [2023-03-07T17:18:06.535Z] Successfully built 7677605993f1 [2023-03-07T17:18:06.535Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:18:06.983Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T17:18:06.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:18:07.132Z] prd-ubuntu20.04-docker-8c-8g-8579 does not seem to be running inside a container [2023-03-07T17:18:07.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-251 -v /w/workspace/undry_device-onvif-camera_PR-251:/w/workspace/undry_device-onvif-camera_PR-251:rw,z -v /w/workspace/undry_device-onvif-camera_PR-251@tmp:/w/workspace/undry_device-onvif-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T17:18:07.502Z] $ docker top 430e62d3edb67e9e6e937044c39ec1a5da812099db18dbaec88d562527b19a57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:18:07.885Z] + go version [2023-03-07T17:18:07.885Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T17:18:07.914Z] $ docker stop --time=1 430e62d3edb67e9e6e937044c39ec1a5da812099db18dbaec88d562527b19a57 [2023-03-07T17:18:09.189Z] $ docker rm -f --volumes 430e62d3edb67e9e6e937044c39ec1a5da812099db18dbaec88d562527b19a57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:18:09.869Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T17:18:09.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:18:10.009Z] prd-ubuntu20.04-docker-8c-8g-8579 does not seem to be running inside a container [2023-03-07T17:18:10.039Z] $ 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-251 -v /w/workspace/undry_device-onvif-camera_PR-251:/w/workspace/undry_device-onvif-camera_PR-251:rw,z -v /w/workspace/undry_device-onvif-camera_PR-251@tmp:/w/workspace/undry_device-onvif-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T17:18:10.380Z] $ docker top c7451c091af1e03048a0ef66e79307ce1b518ef137793725e2cfb5d790c01d6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:18:10.771Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-251 [Pipeline] fileExists [Pipeline] sh [2023-03-07T17:18:11.128Z] + make test [2023-03-07T17:18:11.128Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T17:18:11.392Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T17:18:23.599Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T17:18:25.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2023-03-07T17:18:25.498Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T17:18:25.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.363s coverage: 86.5% of statements [2023-03-07T17:18:33.622Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T17:18:33.622Z] go vet ./... [2023-03-07T17:18:36.161Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T17:18:36.161Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T17:18:36.161Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T17:18:36.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T17:18:36.225Z] $ docker stop --time=1 c7451c091af1e03048a0ef66e79307ce1b518ef137793725e2cfb5d790c01d6f [2023-03-07T17:18:38.447Z] $ docker rm -f --volumes c7451c091af1e03048a0ef66e79307ce1b518ef137793725e2cfb5d790c01d6f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:18:39.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T17:18:39.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T17:18:39.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T17:18:39.992Z] + ls -al . [2023-03-07T17:18:39.992Z] total 236 [2023-03-07T17:18:39.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 17:18 . [2023-03-07T17:18:39.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:16 .. [2023-03-07T17:18:39.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:18 .git [2023-03-07T17:18:39.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:16 .github [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:16 .gitignore [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:16 .golangci.yml [2023-03-07T17:18:39.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:17 .semver [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:16 Attribution.txt [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:16 CHANGELOG.md [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:16 Dockerfile [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:16 GOVERNANCE.md [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:16 Jenkinsfile [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:16 LICENSE [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:16 Makefile [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:16 OWNERS.md [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:16 README.md [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION [2023-03-07T17:18:39.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:16 bin [2023-03-07T17:18:39.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:16 cmd [2023-03-07T17:18:39.992Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:18 coverage.out [2023-03-07T17:18:39.992Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:16 doc [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:16 go.mod [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:16 go.sum [2023-03-07T17:18:39.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:16 internal [2023-03-07T17:18:39.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:16 snap [2023-03-07T17:18:39.992Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:18:40.504Z] + 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=980960dff57de58107d2d97a23be64aeb111a7f1 --label arch=amd64 --label version=0.0.0 . [2023-03-07T17:18:40.504Z] Sending build context to Docker daemon 27.92MB [2023-03-07T17:18:40.504Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:18:40.504Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T17:18:40.504Z] ---> 7677605993f1 [2023-03-07T17:18:40.504Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:18:40.764Z] ---> Running in c146504f6c71 [2023-03-07T17:18:40.764Z] Removing intermediate container c146504f6c71 [2023-03-07T17:18:40.764Z] ---> 80f53c261bef [2023-03-07T17:18:40.764Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:18:40.764Z] ---> Running in 92693bc719ac [2023-03-07T17:18:41.022Z] Removing intermediate container 92693bc719ac [2023-03-07T17:18:41.022Z] ---> 467e5ecbd397 [2023-03-07T17:18:41.022Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:18:41.022Z] ---> Running in 278189c9376d [2023-03-07T17:18:41.022Z] Removing intermediate container 278189c9376d [2023-03-07T17:18:41.022Z] ---> a7dcf361249d [2023-03-07T17:18:41.022Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:18:41.022Z] ---> Running in 748ce2ba9eba [2023-03-07T17:18:41.022Z] Removing intermediate container 748ce2ba9eba [2023-03-07T17:18:41.022Z] ---> 014b5a3a44ec [2023-03-07T17:18:41.022Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:18:41.022Z] ---> Running in 0a2443083a96 [2023-03-07T17:18:41.282Z] Removing intermediate container 0a2443083a96 [2023-03-07T17:18:41.282Z] ---> dfc8082634be [2023-03-07T17:18:41.282Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:18:41.282Z] ---> Running in 8e8a42640eb3 [2023-03-07T17:18:41.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:18:41.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:18:41.812Z] OK: 211 MiB in 51 packages [2023-03-07T17:18:42.071Z] Removing intermediate container 8e8a42640eb3 [2023-03-07T17:18:42.071Z] ---> ec02287bb86f [2023-03-07T17:18:42.071Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T17:18:42.330Z] ---> Running in 3d383335bc00 [2023-03-07T17:18:42.330Z] Removing intermediate container 3d383335bc00 [2023-03-07T17:18:42.330Z] ---> e86b69d4a613 [2023-03-07T17:18:42.330Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T17:18:42.330Z] ---> c34596409335 [2023-03-07T17:18:42.330Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:18:42.330Z] ---> Running in 6ea8405313c0 [2023-03-07T17:18:43.265Z] Removing intermediate container 6ea8405313c0 [2023-03-07T17:18:43.265Z] ---> 2d2ae38ce042 [2023-03-07T17:18:43.265Z] Step 12/26 : COPY . . [2023-03-07T17:18:43.831Z] ---> 56e60ba5b5b7 [2023-03-07T17:18:43.831Z] Step 13/26 : RUN ${MAKE} [2023-03-07T17:18:44.090Z] ---> Running in 5e7f37150011 [2023-03-07T17:18:44.349Z] 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-03-07T17:19:06.285Z] Removing intermediate container 5e7f37150011 [2023-03-07T17:19:06.285Z] ---> 5228b95eeceb [2023-03-07T17:19:06.285Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T17:19:06.285Z] 3.16: Pulling from library/alpine [2023-03-07T17:19:06.285Z] ef5531b6e74e: Pulling fs layer [2023-03-07T17:19:06.544Z] ef5531b6e74e: Verifying Checksum [2023-03-07T17:19:06.544Z] ef5531b6e74e: Download complete [2023-03-07T17:19:06.803Z] ef5531b6e74e: Pull complete [2023-03-07T17:19:06.803Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T17:19:06.803Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T17:19:06.803Z] ---> dfd21b5a31f5 [2023-03-07T17:19:06.803Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T17:19:06.803Z] ---> Running in 62ab21760d1e [2023-03-07T17:19:06.803Z] Removing intermediate container 62ab21760d1e [2023-03-07T17:19:06.803Z] ---> 3142fad53b7f [2023-03-07T17:19:06.803Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T17:19:06.803Z] ---> Running in 7f5c3fcaa915 [2023-03-07T17:19:07.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:19:07.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:19:07.576Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T17:19:07.576Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T17:19:07.576Z] OK: 6 MiB in 15 packages [2023-03-07T17:19:07.834Z] Removing intermediate container 7f5c3fcaa915 [2023-03-07T17:19:07.834Z] ---> 082d5ad908c8 [2023-03-07T17:19:07.834Z] Step 17/26 : WORKDIR / [2023-03-07T17:19:07.834Z] ---> Running in 2a89f795dc55 [2023-03-07T17:19:08.091Z] Removing intermediate container 2a89f795dc55 [2023-03-07T17:19:08.091Z] ---> 8c4342f259da [2023-03-07T17:19:08.091Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T17:19:08.661Z] ---> 6f2ae4d01839 [2023-03-07T17:19:08.661Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T17:19:08.920Z] ---> d131b135d77e [2023-03-07T17:19:08.920Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T17:19:08.920Z] ---> 1d6a8fcec85e [2023-03-07T17:19:08.920Z] Step 21/26 : EXPOSE 59984 [2023-03-07T17:19:08.920Z] ---> Running in 88c2af36fa43 [2023-03-07T17:19:09.181Z] Removing intermediate container 88c2af36fa43 [2023-03-07T17:19:09.181Z] ---> 14b1b08033f5 [2023-03-07T17:19:09.181Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T17:19:09.181Z] ---> Running in ad30f7413c18 [2023-03-07T17:19:09.181Z] Removing intermediate container ad30f7413c18 [2023-03-07T17:19:09.181Z] ---> 3bbc9fd3044b [2023-03-07T17:19:09.181Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T17:19:09.181Z] ---> Running in 9bd328aa15ae [2023-03-07T17:19:09.181Z] Removing intermediate container 9bd328aa15ae [2023-03-07T17:19:09.181Z] ---> d70fdf55421c [2023-03-07T17:19:09.181Z] Step 24/26 : LABEL arch=amd64 [2023-03-07T17:19:09.181Z] ---> Running in 1598dc001800 [2023-03-07T17:19:09.439Z] Removing intermediate container 1598dc001800 [2023-03-07T17:19:09.439Z] ---> ce487c391676 [2023-03-07T17:19:09.439Z] Step 25/26 : LABEL git_sha=980960dff57de58107d2d97a23be64aeb111a7f1 [2023-03-07T17:19:09.439Z] ---> Running in 22d1cb31f6e7 [2023-03-07T17:19:09.439Z] Removing intermediate container 22d1cb31f6e7 [2023-03-07T17:19:09.439Z] ---> db1136158e2d [2023-03-07T17:19:09.439Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T17:19:09.439Z] ---> Running in b0534989f892 [2023-03-07T17:19:09.439Z] Removing intermediate container b0534989f892 [2023-03-07T17:19:09.439Z] ---> 12f4b8bad3a6 [2023-03-07T17:19:09.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T17:19:09.439Z] Successfully built 12f4b8bad3a6 [2023-03-07T17:19:09.439Z] 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-03-07T17:19:10.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:19:10.278Z] [2023-03-07T17:19:10.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:19:10.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:19:10.646Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T17:19:10.646Z] 5eb5b503b376: Pulling fs layer [2023-03-07T17:19:10.646Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T17:19:10.646Z] ec43610c2a17: Pulling fs layer [2023-03-07T17:19:10.646Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T17:19:10.646Z] 33b1e0a273af: Pulling fs layer [2023-03-07T17:19:10.646Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T17:19:10.646Z] 2f39f015ded8: Pulling fs layer [2023-03-07T17:19:10.646Z] 33b1e0a273af: Waiting [2023-03-07T17:19:10.646Z] 5d3b04190fa2: Waiting [2023-03-07T17:19:10.646Z] 3a2ae6a8a46f: Waiting [2023-03-07T17:19:10.646Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T17:19:10.646Z] 5c69ac0246d0: Download complete [2023-03-07T17:19:10.646Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T17:19:10.646Z] 3a2ae6a8a46f: Download complete [2023-03-07T17:19:10.905Z] 33b1e0a273af: Verifying Checksum [2023-03-07T17:19:10.905Z] 33b1e0a273af: Download complete [2023-03-07T17:19:10.905Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T17:19:10.905Z] 5d3b04190fa2: Download complete [2023-03-07T17:19:10.905Z] ec43610c2a17: Verifying Checksum [2023-03-07T17:19:10.905Z] ec43610c2a17: Download complete [2023-03-07T17:19:10.905Z] 5eb5b503b376: Verifying Checksum [2023-03-07T17:19:10.905Z] 5eb5b503b376: Download complete [2023-03-07T17:19:11.836Z] 2f39f015ded8: Download complete [2023-03-07T17:19:12.095Z] 5eb5b503b376: Pull complete [2023-03-07T17:19:12.095Z] 5c69ac0246d0: Pull complete [2023-03-07T17:19:12.662Z] ec43610c2a17: Pull complete [2023-03-07T17:19:12.662Z] 3a2ae6a8a46f: Pull complete [2023-03-07T17:19:12.928Z] 33b1e0a273af: Pull complete [2023-03-07T17:19:12.928Z] 5d3b04190fa2: Pull complete [2023-03-07T17:19:17.109Z] 2f39f015ded8: Pull complete [2023-03-07T17:19:17.109Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T17:19:17.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:19:17.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:19:17.316Z] prd-ubuntu20.04-docker-8c-8g-8579 does not seem to be running inside a container [2023-03-07T17:19:17.350Z] $ 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-251 -v /w/workspace/undry_device-onvif-camera_PR-251:/w/workspace/undry_device-onvif-camera_PR-251:rw,z -v /w/workspace/undry_device-onvif-camera_PR-251@tmp:/w/workspace/undry_device-onvif-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T17:19:20.109Z] $ docker top 8d4ec5e331abd7db037a17e742731d2e96aab2d64873f162680c4f21bd5ee3f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:19:20.541Z] ---> job-cost.sh [2023-03-07T17:19:20.541Z] lf-activate-venv: SKIPPING [2023-03-07T17:19:20.541Z] INFO: No Stack... [2023-03-07T17:19:20.799Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T17:19:21.059Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T17:19:21.377Z] + cat /w/workspace/undry_device-onvif-camera_PR-251/archives/cost.csv [2023-03-07T17:19:21.377Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T17:19:21.472Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [2023-03-07T17:19:21.477Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] did not exist. Created. [2023-03-07T17:19:21.477Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T17:19:21.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T17:19:21.933Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T17:19:21.957Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T17:19:22.034Z] $ docker stop --time=1 8d4ec5e331abd7db037a17e742731d2e96aab2d64873f162680c4f21bd5ee3f7 [2023-03-07T17:19:23.229Z] $ docker rm -f --volumes 8d4ec5e331abd7db037a17e742731d2e96aab2d64873f162680c4f21bd5ee3f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T17:20:00.054Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8585 in /w/workspace/undry_device-onvif-camera_PR-251 [Pipeline] { [Pipeline] ws [2023-03-07T17:20:00.109Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-07T17:20:00.204Z] The recommended git tool is: git [2023-03-07T17:20:09.039Z] using credential edgex-jenkins-ssh [2023-03-07T17:20:09.065Z] Cloning the remote Git repository [2023-03-07T17:20:09.168Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:20:09.285Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-07T17:20:09.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:20:09.614Z] > git --version # timeout=10 [2023-03-07T17:20:09.711Z] > git --version # 'git version 2.25.1' [2023-03-07T17:20:09.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:20:09.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T17:20:11.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T17:20:11.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T17:20:13.606Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T17:20:13.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:20:13.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:20:14.477Z] Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 980960dff57de58107d2d97a23be64aeb111a7f1 [2023-03-07T17:20:13.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T17:20:14.510Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T17:20:14.586Z] > git checkout -f 980960dff57de58107d2d97a23be64aeb111a7f1 # timeout=10 [2023-03-07T17:20:15.128Z] > git remote # timeout=10 [2023-03-07T17:20:15.231Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T17:20:15.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:20:15.380Z] > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 [2023-03-07T17:20:15.537Z] Merge succeeded, producing 980960dff57de58107d2d97a23be64aeb111a7f1 [2023-03-07T17:20:15.537Z] Checking out Revision 980960dff57de58107d2d97a23be64aeb111a7f1 (PR-251) [2023-03-07T17:20:16.490Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T17:20:16.571Z] > git --version # timeout=10 [2023-03-07T17:20:16.645Z] > git --version # 'git version 2.25.1' [2023-03-07T17:20:16.728Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T17:20:15.476Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T17:20:15.547Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T17:20:15.599Z] > git checkout -f 980960dff57de58107d2d97a23be64aeb111a7f1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:20:17.896Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T17:20:17.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T17:20:17.896Z] Dload Upload Total Spent Left Speed [2023-03-07T17:20:17.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-03-07T17:20:18.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T17:20:19.062Z] + sudo tee /etc/docker/daemon.new [2023-03-07T17:20:19.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T17:20:19.062Z] { [2023-03-07T17:20:19.062Z] "registry-mirrors": [ [2023-03-07T17:20:19.062Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T17:20:19.062Z] ], [2023-03-07T17:20:19.062Z] "bip": "10.250.0.254/24", [2023-03-07T17:20:19.062Z] "hosts": [ [2023-03-07T17:20:19.062Z] "tcp://0.0.0.0:5555", [2023-03-07T17:20:19.062Z] "unix:///var/run/docker.sock" [2023-03-07T17:20:19.062Z] ], [2023-03-07T17:20:19.062Z] "mtu": 1458, [2023-03-07T17:20:19.062Z] "selinux-enabled": true, [2023-03-07T17:20:19.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T17:20:19.062Z] } [Pipeline] sh [2023-03-07T17:20:19.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T17:20:19.839Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:20:38.274Z] provisioning config files... [2023-03-07T17:20:38.310Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7442134632446102540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:20:38.726Z] ---> docker-login.sh [2023-03-07T17:20:38.726Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:20:39.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:20:39.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:20:39.321Z] Configure a credential helper to remove this warning. See [2023-03-07T17:20:39.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:20:39.321Z] [2023-03-07T17:20:39.321Z] Login Succeeded [2023-03-07T17:20:39.321Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:20:39.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:20:39.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:20:39.864Z] Configure a credential helper to remove this warning. See [2023-03-07T17:20:39.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:20:39.864Z] [2023-03-07T17:20:39.864Z] Login Succeeded [2023-03-07T17:20:39.864Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:20:40.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:20:40.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:20:40.135Z] Configure a credential helper to remove this warning. See [2023-03-07T17:20:40.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:20:40.135Z] [2023-03-07T17:20:40.135Z] Login Succeeded [2023-03-07T17:20:40.135Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:20:40.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:20:40.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:20:40.680Z] Configure a credential helper to remove this warning. See [2023-03-07T17:20:40.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:20:40.680Z] [2023-03-07T17:20:40.680Z] Login Succeeded [2023-03-07T17:20:40.680Z] docker.io [2023-03-07T17:20:40.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:20:41.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:20:41.221Z] Configure a credential helper to remove this warning. See [2023-03-07T17:20:41.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:20:41.221Z] [2023-03-07T17:20:41.221Z] Login Succeeded [2023-03-07T17:20:41.221Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:20:41.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T17:20:41.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:20:41.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:20:41.744Z] ========================================================= [2023-03-07T17:20:41.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T17:20:41.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:20:42.260Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T17:20:42.856Z] Sending build context to Docker daemon 20.61MB [2023-03-07T17:20:42.857Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:20:42.857Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T17:20:43.129Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T17:20:43.129Z] 9b18e9b68314: Pulling fs layer [2023-03-07T17:20:43.129Z] 35d82f9e3411: Pulling fs layer [2023-03-07T17:20:43.129Z] e16973657156: Pulling fs layer [2023-03-07T17:20:43.129Z] fc693d55d65f: Pulling fs layer [2023-03-07T17:20:43.129Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T17:20:43.129Z] dda99020689f: Pulling fs layer [2023-03-07T17:20:43.129Z] db1c61fa0a46: Pulling fs layer [2023-03-07T17:20:43.129Z] 891c053d2c06: Pulling fs layer [2023-03-07T17:20:43.129Z] dda99020689f: Waiting [2023-03-07T17:20:43.129Z] fc693d55d65f: Waiting [2023-03-07T17:20:43.129Z] db1c61fa0a46: Waiting [2023-03-07T17:20:43.129Z] 891c053d2c06: Waiting [2023-03-07T17:20:43.129Z] 7e9fc2657dce: Waiting [2023-03-07T17:20:43.129Z] e16973657156: Verifying Checksum [2023-03-07T17:20:43.129Z] e16973657156: Download complete [2023-03-07T17:20:43.129Z] 35d82f9e3411: Download complete [2023-03-07T17:20:43.129Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T17:20:43.129Z] 7e9fc2657dce: Download complete [2023-03-07T17:20:43.129Z] dda99020689f: Verifying Checksum [2023-03-07T17:20:43.129Z] dda99020689f: Download complete [2023-03-07T17:20:43.129Z] 9b18e9b68314: Verifying Checksum [2023-03-07T17:20:43.129Z] 9b18e9b68314: Download complete [2023-03-07T17:20:44.108Z] 9b18e9b68314: Pull complete [2023-03-07T17:20:44.108Z] 891c053d2c06: Verifying Checksum [2023-03-07T17:20:44.108Z] 891c053d2c06: Download complete [2023-03-07T17:20:44.712Z] 35d82f9e3411: Pull complete [2023-03-07T17:20:44.987Z] e16973657156: Pull complete [2023-03-07T17:20:45.585Z] db1c61fa0a46: Verifying Checksum [2023-03-07T17:20:45.585Z] db1c61fa0a46: Download complete [2023-03-07T17:20:46.171Z] fc693d55d65f: Verifying Checksum [2023-03-07T17:20:46.171Z] fc693d55d65f: Download complete [2023-03-07T17:20:58.541Z] fc693d55d65f: Pull complete [2023-03-07T17:20:58.541Z] 7e9fc2657dce: Pull complete [2023-03-07T17:20:58.541Z] dda99020689f: Pull complete [2023-03-07T17:21:03.926Z] db1c61fa0a46: Pull complete [2023-03-07T17:21:05.365Z] 891c053d2c06: Pull complete [2023-03-07T17:21:05.365Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T17:21:05.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T17:21:05.365Z] ---> f96f9c87975a [2023-03-07T17:21:05.365Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:21:08.751Z] ---> Running in e27e4dcd6e5a [2023-03-07T17:21:09.344Z] Removing intermediate container e27e4dcd6e5a [2023-03-07T17:21:09.344Z] ---> 918c8d27e232 [2023-03-07T17:21:09.344Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:21:09.344Z] ---> Running in 0901a80c6b35 [2023-03-07T17:21:09.828Z] Removing intermediate container 0901a80c6b35 [2023-03-07T17:21:09.828Z] ---> 66bcfb665737 [2023-03-07T17:21:09.828Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:21:09.828Z] ---> Running in 9ece549e946a [2023-03-07T17:21:10.107Z] Removing intermediate container 9ece549e946a [2023-03-07T17:21:10.107Z] ---> 4c912d259eac [2023-03-07T17:21:10.107Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:21:10.107Z] ---> Running in b7057d2cbd28 [2023-03-07T17:21:10.748Z] Removing intermediate container b7057d2cbd28 [2023-03-07T17:21:10.748Z] ---> e63c5716d883 [2023-03-07T17:21:10.748Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:21:10.748Z] ---> Running in fa86eb346999 [2023-03-07T17:21:11.034Z] Removing intermediate container fa86eb346999 [2023-03-07T17:21:11.034Z] ---> 70bc4592da68 [2023-03-07T17:21:11.034Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:21:11.034Z] ---> Running in 51be780c4a11 [2023-03-07T17:21:12.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:21:12.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:21:14.158Z] OK: 221 MiB in 51 packages [2023-03-07T17:21:15.154Z] Removing intermediate container 51be780c4a11 [2023-03-07T17:21:15.154Z] ---> a943c48e2a2c [2023-03-07T17:21:15.154Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T17:21:15.154Z] ---> Running in 80b3596ebee0 [2023-03-07T17:21:15.746Z] Removing intermediate container 80b3596ebee0 [2023-03-07T17:21:15.746Z] ---> 57e60a8acba5 [2023-03-07T17:21:15.746Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T17:21:16.349Z] ---> 91f563026eb9 [2023-03-07T17:21:16.349Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:21:16.349Z] ---> Running in e089f5ebaf8a [2023-03-07T17:22:24.297Z] Removing intermediate container e089f5ebaf8a [2023-03-07T17:22:24.297Z] ---> c3939d596a2f [2023-03-07T17:22:24.297Z] Step 12/13 : COPY . . [2023-03-07T17:22:26.252Z] ---> 07ae8a85b8d9 [2023-03-07T17:22:26.252Z] Step 13/13 : RUN ${MAKE} [2023-03-07T17:22:26.252Z] ---> Running in 001780240a7c [2023-03-07T17:22:27.225Z] noop [2023-03-07T17:22:28.196Z] Removing intermediate container 001780240a7c [2023-03-07T17:22:28.196Z] ---> a8ac2b497fff [2023-03-07T17:22:28.196Z] Successfully built a8ac2b497fff [2023-03-07T17:22:28.196Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:22:28.686Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T17:22:28.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:22:28.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-8585 does not seem to be running inside a container [2023-03-07T17:22:29.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T17:22:30.402Z] $ docker top cf01f403b785957ec36d5174ce0743f79b53e3a30ed9c7af932a4ad80a7cf6d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:22:31.330Z] + go version [2023-03-07T17:22:31.330Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T17:22:31.367Z] $ docker stop --time=1 cf01f403b785957ec36d5174ce0743f79b53e3a30ed9c7af932a4ad80a7cf6d2 [2023-03-07T17:22:33.162Z] $ docker rm -f --volumes cf01f403b785957ec36d5174ce0743f79b53e3a30ed9c7af932a4ad80a7cf6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:22:34.032Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T17:22:34.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:22:34.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-8585 does not seem to be running inside a container [2023-03-07T17:22:34.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T17:22:35.760Z] $ docker top f3c94c818f005d46d9df70010051d26672c90111c1cfd417fa42b662a6bba28b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:22:36.696Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T17:22:37.435Z] + make test [2023-03-07T17:22:37.435Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T17:22:39.392Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T17:24:31.353Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T17:24:33.304Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.173s coverage: 29.3% of statements [2023-03-07T17:24:33.304Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T17:24:45.644Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.497s coverage: 86.5% of statements [2023-03-07T17:24:45.644Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T17:24:45.644Z] go vet ./... [2023-03-07T17:25:17.962Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T17:25:17.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T17:25:17.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T17:25:18.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T17:25:18.029Z] $ docker stop --time=1 f3c94c818f005d46d9df70010051d26672c90111c1cfd417fa42b662a6bba28b [2023-03-07T17:25:19.922Z] $ docker rm -f --volumes f3c94c818f005d46d9df70010051d26672c90111c1cfd417fa42b662a6bba28b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:25:21.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T17:25:21.172Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T17:25:22.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:25:22.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T17:25:23.040Z] + ls -al . [2023-03-07T17:25:23.040Z] total 232 [2023-03-07T17:25:23.040Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 17:22 . [2023-03-07T17:25:23.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:20 .. [2023-03-07T17:25:23.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:20 .git [2023-03-07T17:25:23.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:20 .github [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:20 .gitignore [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:20 .golangci.yml [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:20 Attribution.txt [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:20 CHANGELOG.md [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:20 Dockerfile [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:20 GOVERNANCE.md [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:20 Jenkinsfile [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:20 LICENSE [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:20 Makefile [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:20 OWNERS.md [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:20 README.md [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION [2023-03-07T17:25:23.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:20 bin [2023-03-07T17:25:23.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:20 cmd [2023-03-07T17:25:23.040Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:24 coverage.out [2023-03-07T17:25:23.040Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:20 doc [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:20 go.mod [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:20 go.sum [2023-03-07T17:25:23.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:20 internal [2023-03-07T17:25:23.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:20 snap [2023-03-07T17:25:23.040Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:25:23.490Z] + 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=980960dff57de58107d2d97a23be64aeb111a7f1 --label arch=arm64 --label version=0.0.0 . [2023-03-07T17:25:24.483Z] Sending build context to Docker daemon 20.69MB [2023-03-07T17:25:24.483Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:25:24.483Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T17:25:24.483Z] ---> a8ac2b497fff [2023-03-07T17:25:24.483Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:25:24.483Z] ---> Running in 389047eb0e5d [2023-03-07T17:25:24.755Z] Removing intermediate container 389047eb0e5d [2023-03-07T17:25:24.755Z] ---> 9fcc06e215ae [2023-03-07T17:25:24.755Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:25:25.030Z] ---> Running in 2977b8f6ace0 [2023-03-07T17:25:25.304Z] Removing intermediate container 2977b8f6ace0 [2023-03-07T17:25:25.304Z] ---> 9011ff9cf465 [2023-03-07T17:25:25.304Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:25:25.574Z] ---> Running in a3f4b08b5604 [2023-03-07T17:25:25.843Z] Removing intermediate container a3f4b08b5604 [2023-03-07T17:25:25.843Z] ---> 8a5308ca0068 [2023-03-07T17:25:25.843Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:25:26.114Z] ---> Running in 43258fd4bab9 [2023-03-07T17:25:26.385Z] Removing intermediate container 43258fd4bab9 [2023-03-07T17:25:26.385Z] ---> 8f4e21a600ab [2023-03-07T17:25:26.385Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:25:26.385Z] ---> Running in c15c080fdfb9 [2023-03-07T17:25:26.978Z] Removing intermediate container c15c080fdfb9 [2023-03-07T17:25:26.978Z] ---> e6267746622b [2023-03-07T17:25:26.978Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:25:26.978Z] ---> Running in d30ab72cacec [2023-03-07T17:25:28.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:25:28.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:25:30.102Z] OK: 221 MiB in 51 packages [2023-03-07T17:25:31.086Z] Removing intermediate container d30ab72cacec [2023-03-07T17:25:31.086Z] ---> f9e1a77f5d0a [2023-03-07T17:25:31.086Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T17:25:31.086Z] ---> Running in 6d41d0ae441c [2023-03-07T17:25:31.357Z] Removing intermediate container 6d41d0ae441c [2023-03-07T17:25:31.357Z] ---> cd0cbe2b3cb4 [2023-03-07T17:25:31.357Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T17:25:32.331Z] ---> 981facec68d3 [2023-03-07T17:25:32.331Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:25:32.331Z] ---> Running in 2ef2137aae8f [2023-03-07T17:25:35.726Z] Removing intermediate container 2ef2137aae8f [2023-03-07T17:25:35.726Z] ---> 447a199710a4 [2023-03-07T17:25:35.726Z] Step 12/26 : COPY . . [2023-03-07T17:25:37.708Z] ---> 6335be4184a8 [2023-03-07T17:25:37.708Z] Step 13/26 : RUN ${MAKE} [2023-03-07T17:25:37.708Z] ---> Running in de9a9a0c98a4 [2023-03-07T17:25:39.139Z] 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-03-07T17:28:30.967Z] Removing intermediate container de9a9a0c98a4 [2023-03-07T17:28:30.967Z] ---> 22a4f7e64bed [2023-03-07T17:28:30.967Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T17:28:30.967Z] 3.16: Pulling from library/alpine [2023-03-07T17:28:30.967Z] 3760b48202b3: Pulling fs layer [2023-03-07T17:28:30.967Z] 3760b48202b3: Verifying Checksum [2023-03-07T17:28:30.967Z] 3760b48202b3: Download complete [2023-03-07T17:28:30.967Z] 3760b48202b3: Pull complete [2023-03-07T17:28:30.967Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T17:28:30.967Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T17:28:30.967Z] ---> 4c81e5bf8899 [2023-03-07T17:28:30.967Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T17:28:30.967Z] ---> Running in 0aa6e8a0ee1b [2023-03-07T17:28:30.967Z] Removing intermediate container 0aa6e8a0ee1b [2023-03-07T17:28:30.967Z] ---> 299058b6c56b [2023-03-07T17:28:30.967Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T17:28:30.967Z] ---> Running in a6c703c02f05 [2023-03-07T17:28:30.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:28:30.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:28:30.967Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T17:28:30.967Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T17:28:30.967Z] OK: 5 MiB in 15 packages [2023-03-07T17:28:30.967Z] Removing intermediate container a6c703c02f05 [2023-03-07T17:28:30.967Z] ---> b601e4964a8e [2023-03-07T17:28:30.967Z] Step 17/26 : WORKDIR / [2023-03-07T17:28:30.967Z] ---> Running in e88525828f00 [2023-03-07T17:28:30.967Z] Removing intermediate container e88525828f00 [2023-03-07T17:28:30.967Z] ---> ad990fa792b1 [2023-03-07T17:28:30.967Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T17:28:30.967Z] ---> 9bdcce0577d7 [2023-03-07T17:28:30.967Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T17:28:30.967Z] ---> 25dc49a5dc68 [2023-03-07T17:28:30.967Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T17:28:30.967Z] ---> 225f7de7b95e [2023-03-07T17:28:30.967Z] Step 21/26 : EXPOSE 59984 [2023-03-07T17:28:30.967Z] ---> Running in 39d845dd0ade [2023-03-07T17:28:30.967Z] Removing intermediate container 39d845dd0ade [2023-03-07T17:28:30.967Z] ---> 889b5c303199 [2023-03-07T17:28:30.967Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T17:28:30.967Z] ---> Running in f85d5a04764a [2023-03-07T17:28:30.967Z] Removing intermediate container f85d5a04764a [2023-03-07T17:28:30.967Z] ---> 64ee43545b50 [2023-03-07T17:28:30.967Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T17:28:30.967Z] ---> Running in 6d06566a3b49 [2023-03-07T17:28:30.967Z] Removing intermediate container 6d06566a3b49 [2023-03-07T17:28:30.967Z] ---> dd303451879f [2023-03-07T17:28:30.967Z] Step 24/26 : LABEL arch=arm64 [2023-03-07T17:28:30.967Z] ---> Running in a2a9579dbdd0 [2023-03-07T17:28:31.236Z] Removing intermediate container a2a9579dbdd0 [2023-03-07T17:28:31.236Z] ---> 171fc1dcd1a0 [2023-03-07T17:28:31.236Z] Step 25/26 : LABEL git_sha=980960dff57de58107d2d97a23be64aeb111a7f1 [2023-03-07T17:28:31.236Z] ---> Running in bb67f18a44c2 [2023-03-07T17:28:31.506Z] Removing intermediate container bb67f18a44c2 [2023-03-07T17:28:31.506Z] ---> a3d24a0ee37f [2023-03-07T17:28:31.506Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T17:28:31.506Z] ---> Running in 009dd4ac352c [2023-03-07T17:28:32.098Z] Removing intermediate container 009dd4ac352c [2023-03-07T17:28:32.098Z] ---> 039d54008c4c [2023-03-07T17:28:32.098Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T17:28:32.098Z] Successfully built 039d54008c4c [2023-03-07T17:28:32.098Z] 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-03-07T17:28:32.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:28:32.890Z] [2023-03-07T17:28:32.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:28:33.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:28:33.297Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T17:28:33.297Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T17:28:33.297Z] 04944245beec: Pulling fs layer [2023-03-07T17:28:33.297Z] 699f458cf7ca: Pulling fs layer [2023-03-07T17:28:33.297Z] 765212b225bb: Pulling fs layer [2023-03-07T17:28:33.297Z] f23df028b6ca: Pulling fs layer [2023-03-07T17:28:33.297Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T17:28:33.297Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T17:28:33.297Z] f23df028b6ca: Waiting [2023-03-07T17:28:33.297Z] d65c8cfc05b1: Waiting [2023-03-07T17:28:33.297Z] 2437ff75d9bd: Waiting [2023-03-07T17:28:33.297Z] 765212b225bb: Waiting [2023-03-07T17:28:33.570Z] 04944245beec: Verifying Checksum [2023-03-07T17:28:33.570Z] 04944245beec: Download complete [2023-03-07T17:28:33.570Z] 765212b225bb: Verifying Checksum [2023-03-07T17:28:33.570Z] 765212b225bb: Download complete [2023-03-07T17:28:33.570Z] f23df028b6ca: Verifying Checksum [2023-03-07T17:28:33.570Z] f23df028b6ca: Download complete [2023-03-07T17:28:33.570Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T17:28:33.570Z] d65c8cfc05b1: Download complete [2023-03-07T17:28:33.843Z] 699f458cf7ca: Verifying Checksum [2023-03-07T17:28:33.843Z] 699f458cf7ca: Download complete [2023-03-07T17:28:34.115Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T17:28:34.115Z] 8998bd30e6a1: Download complete [2023-03-07T17:28:36.772Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T17:28:36.772Z] 2437ff75d9bd: Download complete [2023-03-07T17:28:38.261Z] 8998bd30e6a1: Pull complete [2023-03-07T17:28:38.861Z] 04944245beec: Pull complete [2023-03-07T17:28:40.323Z] 699f458cf7ca: Pull complete [2023-03-07T17:28:40.591Z] 765212b225bb: Pull complete [2023-03-07T17:28:41.558Z] f23df028b6ca: Pull complete [2023-03-07T17:28:41.558Z] d65c8cfc05b1: Pull complete [2023-03-07T17:28:56.575Z] 2437ff75d9bd: Pull complete [2023-03-07T17:28:56.575Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T17:28:56.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:28:56.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:28:56.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-8585 does not seem to be running inside a container [2023-03-07T17:28:56.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T17:28:59.838Z] $ docker top bc9cfc7bc063daa76bad4e129fce03cefd50723408e6b9f9b5fa662c4a3528cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:00.776Z] ---> job-cost.sh [2023-03-07T17:29:00.776Z] lf-activate-venv: SKIPPING [2023-03-07T17:29:00.776Z] INFO: No Stack... [2023-03-07T17:29:01.363Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T17:29:01.953Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T17:29:02.620Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-07T17:29:02.620Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T17:29:02.723Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [2023-03-07T17:29:02.727Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] did not exist. Created. [2023-03-07T17:29:02.727Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T17:29:03.473Z] /w/workspace/device-onvif-camera/1@tmp/durable-bb7a753d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T17:29:04.161Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T17:29:04.198Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T17:29:04.271Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T17:29:04.288Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T17:29:04.363Z] $ docker stop --time=1 bc9cfc7bc063daa76bad4e129fce03cefd50723408e6b9f9b5fa662c4a3528cc [2023-03-07T17:29:05.914Z] $ docker rm -f --volumes bc9cfc7bc063daa76bad4e129fce03cefd50723408e6b9f9b5fa662c4a3528cc [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-03-07T17:29:06.920Z] provisioning config files... [2023-03-07T17:29:06.928Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-251@tmp/config13820300626486034206tmp [Pipeline] { [Pipeline] sh [2023-03-07T17:29:07.254Z] + set +x [2023-03-07T17:29:07.254Z] + bash -s -- [2023-03-07T17:29:07.254Z] + curl -s https://codecov.io/bash [2023-03-07T17:29:07.254Z] [2023-03-07T17:29:07.254Z] _____ _ [2023-03-07T17:29:07.254Z] / ____| | | [2023-03-07T17:29:07.254Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T17:29:07.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T17:29:07.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T17:29:07.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T17:29:07.254Z] Bash-1.0.6 [2023-03-07T17:29:07.254Z] [2023-03-07T17:29:07.254Z] [2023-03-07T17:29:07.254Z] ==> git version 2.25.1 found [2023-03-07T17:29:07.254Z] ==> 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-03-07T17:29:07.254Z] Release-Date: 2020-01-08 [2023-03-07T17:29:07.254Z] 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-03-07T17:29:07.254Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T17:29:07.254Z] ==> Jenkins CI detected. [2023-03-07T17:29:07.254Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-251 [2023-03-07T17:29:07.254Z] project root: . [2023-03-07T17:29:07.254Z] --> token set from env [2023-03-07T17:29:07.254Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T17:29:07.254Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T17:29:07.254Z] ==> Python coveragepy not found [2023-03-07T17:29:07.254Z] ==> Searching for coverage reports in: [2023-03-07T17:29:07.254Z] + . [2023-03-07T17:29:07.254Z] -> Found 1 reports [2023-03-07T17:29:07.254Z] ==> Detecting git/mercurial file structure [2023-03-07T17:29:07.254Z] ==> Reading reports [2023-03-07T17:29:07.254Z] + ./coverage.out bytes=79184 [2023-03-07T17:29:07.254Z] ==> Appending adjustments [2023-03-07T17:29:07.254Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T17:29:07.514Z] + Found adjustments [2023-03-07T17:29:07.514Z] ==> Gzipping contents [2023-03-07T17:29:07.514Z] 12K /tmp/codecov.GsJL9K.gz [2023-03-07T17:29:07.514Z] ==> Uploading reports [2023-03-07T17:29:07.514Z] url: https://codecov.io [2023-03-07T17:29:07.514Z] query: branch=PR-251&commit=980960dff57de58107d2d97a23be64aeb111a7f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-03-07T17:29:07.514Z] -> Pinging Codecov [2023-03-07T17:29:07.514Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-251&commit=980960dff57de58107d2d97a23be64aeb111a7f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-03-07T17:29:07.772Z] -> Uploading to [2023-03-07T17:29:07.772Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/980960dff57de58107d2d97a23be64aeb111a7f1/7a9e4de7-c429-488f-af25-495c12e86ad1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T172907Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b246c5cffdcbee06c261b62a872ed05157d483a84b70e8c6c648c2b796c2762e [2023-03-07T17:29:07.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T17:29:07.772Z] Dload Upload Total Spent Left Speed [2023-03-07T17:29:08.031Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10828 0 0 100 10828 0 39808 --:--:-- --:--:-- --:--:-- 39663 [2023-03-07T17:29:08.031Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/980960dff57de58107d2d97a23be64aeb111a7f1 [Pipeline] } [2023-03-07T17:29:08.058Z] 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-03-07T17:29:09.751Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-251/archives ] [2023-03-07T17:29:09.752Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-251/archives [2023-03-07T17:29:09.752Z] total 16 [2023-03-07T17:29:09.752Z] drwxr-xr-x 3 root root 4096 Mar 7 17:19 . [2023-03-07T17:29:09.752Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:19 .. [2023-03-07T17:29:09.752Z] drwxr-xr-x 2 root root 4096 Mar 7 17:19 cost [2023-03-07T17:29:09.752Z] -rw-r--r-- 1 root root 91 Mar 7 17:19 cost.csv [2023-03-07T17:29:09.752Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-251/archives [2023-03-07T17:29:09.752Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-251/archives [2023-03-07T17:29:09.752Z] total 16 [2023-03-07T17:29:09.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:19 . [2023-03-07T17:29:09.752Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:19 .. [2023-03-07T17:29:09.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 17:19 cost [2023-03-07T17:29:09.752Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 7 17:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:10.076Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:10.958Z] ---> package-listing.sh [2023-03-07T17:29:10.958Z] ++ facter osfamily [2023-03-07T17:29:10.958Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T17:29:11.216Z] + OS_FAMILY=debian [2023-03-07T17:29:11.216Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-251 [2023-03-07T17:29:11.216Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T17:29:11.216Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T17:29:11.216Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T17:29:11.216Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T17:29:11.216Z] + '[' /w/workspace/undry_device-onvif-camera_PR-251 ']' [2023-03-07T17:29:11.216Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T17:29:11.216Z] + case "${OS_FAMILY}" in [2023-03-07T17:29:11.216Z] + dpkg -l [2023-03-07T17:29:11.216Z] + grep '^ii' [2023-03-07T17:29:11.216Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T17:29:11.216Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T17:29:11.216Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T17:29:11.216Z] + '[' /w/workspace/undry_device-onvif-camera_PR-251 ']' [2023-03-07T17:29:11.216Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-251/archives/ [2023-03-07T17:29:11.216Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-251/archives/ [Pipeline] echo [2023-03-07T17:29:11.248Z] 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T17:29:11.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:29:12.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:29:12.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:29:12.304Z] prd-ubuntu20.04-docker-8c-8g-8579 does not seem to be running inside a container [2023-03-07T17:29:12.338Z] $ 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-251/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-251 -v /w/workspace/undry_device-onvif-camera_PR-251:/w/workspace/undry_device-onvif-camera_PR-251:rw,z -v /w/workspace/undry_device-onvif-camera_PR-251@tmp:/w/workspace/undry_device-onvif-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T17:29:12.517Z] $ docker top 747aa7df30e4fcdddd2af5aede8c28a29733712a75072eab9cfa2a6025ff5d0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:29:12.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T17:29:13.223Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T17:29:13.533Z] + ls /var/log/sa-host [2023-03-07T17:29:13.534Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:29:13.661Z] provisioning config files... [2023-03-07T17:29:13.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-251@tmp/config3778745222558340769tmp [Pipeline] { [Pipeline] echo [2023-03-07T17:29:13.719Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:14.032Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T17:29:14.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:14.451Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T17:29:14.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:14.781Z] ---> sudo-logs.sh [2023-03-07T17:29:14.782Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T17:29:14.864Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:15.170Z] ---> job-cost.sh [2023-03-07T17:29:15.170Z] lf-activate-venv: SKIPPING [2023-03-07T17:29:15.170Z] DEBUG: total: 0.2199999988079071 [2023-03-07T17:29:15.170Z] INFO: Retrieving Stack Cost... [2023-03-07T17:29:15.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T17:29:15.996Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T17:29:16.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:29:16.339Z] ---> logs-deploy.sh [2023-03-07T17:29:16.339Z] lf-activate-venv: SKIPPING [2023-03-07T17:29:16.339Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-251/1 [2023-03-07T17:29:16.339Z] INFO: archiving workspace using pattern(s): [2023-03-07T17:29:17.274Z] Archives upload complete. [2023-03-07T17:29:17.274Z] INFO: archiving logs to Nexus