Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at ca50ff0226266dec6d343d3687e79f892dd3f78d rather than 368d8b89130b295f0f6a05347d1e242a9a8adc29 Obtained Jenkinsfile from ca50ff0226266dec6d343d3687e79f892dd3f78d 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-ssh16667650682800891990.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16195994982326875497.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3351743464323817270.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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7248054497973830749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15110541608233611749.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16034133361438472200.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12452’ Running on prd-ubuntu20.04-docker-8c-8g-12454 in /w/workspace/undry_device-onvif-camera_PR-333 [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-333 # 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/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 368d8b89130b295f0f6a05347d1e242a9a8adc29 Merge succeeded, producing 368d8b89130b295f0f6a05347d1e242a9a8adc29 Checking out Revision 368d8b89130b295f0f6a05347d1e242a9a8adc29 (PR-333) > git config core.sparsecheckout # timeout=10 > git checkout -f 368d8b89130b295f0f6a05347d1e242a9a8adc29 # 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 ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 368d8b89130b295f0f6a05347d1e242a9a8adc29 # timeout=10 Commit message: "feat: implement secret change support, refactor cred mgmt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-02T19:20:56.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-02T19:20:56.424Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-02T19:20:56.545Z] ========================================================= [2023-05-02T19:20:56.545Z] EdgeX Global Pipelines Version Info [2023-05-02T19:20:56.545Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:20:57.305Z] ------------------- [2023-05-02T19:20:57.305Z] stable info: [2023-05-02T19:20:57.305Z] ------------------- [2023-05-02T19:20:57.305Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-02T19:20:57.305Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-02T19:20:57.305Z] Message: update stable to v1.0.248 [2023-05-02T19:20:57.875Z] ------------------- [2023-05-02T19:20:57.875Z] experimental info: [2023-05-02T19:20:57.875Z] ------------------- [2023-05-02T19:20:57.875Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-02T19:20:57.875Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-02T19:20:57.875Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-02T19:20:58.276Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-02T19:20:58.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-02T19:20:58.366Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-02T19:20:58.431Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-02T19:20:58.480Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-02T19:20:58.524Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-02T19:20:58.585Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-02T19:20:58.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-02T19:20:58.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-02T19:20:58.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-02T19:20:58.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-02T19:20:58.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-02T19:20:58.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-02T19:20:58.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-02T19:20:58.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T19:20:59.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T19:20:59.061Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T19:20:59.105Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T19:20:59.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-02T19:20:59.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-02T19:20:59.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-02T19:20:59.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-02T19:20:59.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-02T19:20:59.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-02T19:20:59.485Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-02T19:20:59.531Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-02T19:20:59.586Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-02T19:20:59.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo [2023-05-02T19:20:59.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo [2023-05-02T19:20:59.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo [2023-05-02T19:20:59.769Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 368d8b89130b295f0f6a05347d1e242a9a8adc29 [Pipeline] echo [2023-05-02T19:20:59.813Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 368d8b8 [Pipeline] echo [2023-05-02T19:20:59.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T19:20:59.988Z] provisioning config files... [2023-05-02T19:21:00.005Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config4622307514092870280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:21:00.360Z] ---> docker-login.sh [2023-05-02T19:21:00.360Z] nexus3.edgexfoundry.org:10001 [2023-05-02T19:21:00.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:00.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:00.621Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:00.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:00.621Z] [2023-05-02T19:21:00.621Z] Login Succeeded [2023-05-02T19:21:00.621Z] nexus3.edgexfoundry.org:10002 [2023-05-02T19:21:00.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:00.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:00.893Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:00.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:00.893Z] [2023-05-02T19:21:00.893Z] Login Succeeded [2023-05-02T19:21:00.893Z] nexus3.edgexfoundry.org:10003 [2023-05-02T19:21:00.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:00.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:00.893Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:00.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:00.893Z] [2023-05-02T19:21:00.893Z] Login Succeeded [2023-05-02T19:21:00.893Z] nexus3.edgexfoundry.org:10004 [2023-05-02T19:21:00.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:01.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:01.153Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:01.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:01.153Z] [2023-05-02T19:21:01.153Z] Login Succeeded [2023-05-02T19:21:01.153Z] docker.io [2023-05-02T19:21:01.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:01.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:01.424Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:01.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:01.424Z] [2023-05-02T19:21:01.424Z] Login Succeeded [2023-05-02T19:21:01.424Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T19:21:01.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-02T19:21:02.171Z] + git rev-list -1 --merges 368d8b89130b295f0f6a05347d1e242a9a8adc29~1..368d8b89130b295f0f6a05347d1e242a9a8adc29 [Pipeline] echo [2023-05-02T19:21:02.236Z] -----------> git rev-list -1 --merges 368d8b89130b295f0f6a05347d1e242a9a8adc29~1..368d8b89130b295f0f6a05347d1e242a9a8adc29 368d8b89130b295f0f6a05347d1e242a9a8adc29 [false] [Pipeline] sh [2023-05-02T19:21:02.552Z] + git log --format=format:%s -1 368d8b89130b295f0f6a05347d1e242a9a8adc29 [Pipeline] echo [2023-05-02T19:21:02.593Z] ========================================================= [2023-05-02T19:21:02.593Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-02T19:21:02.593Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T19:21:03.091Z] + git log --format=format:%s -1 368d8b89130b295f0f6a05347d1e242a9a8adc29 [Pipeline] echo [2023-05-02T19:21:03.127Z] [semverPrep] GIT_COMMIT: 368d8b89130b295f0f6a05347d1e242a9a8adc29, Commit Message: feat: implement secret change support, refactor cred mgmt [Pipeline] echo [2023-05-02T19:21:03.158Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-02T19:21:03.611Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-02T19:21:03.611Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-02T19:21:03.611Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-02T19:21:03.611Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-02T19:21:03.611Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-02T19:21:03.611Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-02T19:21:03.611Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:21:04.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T19:21:04.127Z] [2023-05-02T19:21:04.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:21:04.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T19:21:04.590Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-02T19:21:04.590Z] b85a868b505f: Pulling fs layer [2023-05-02T19:21:04.590Z] e2be974225ed: Pulling fs layer [2023-05-02T19:21:04.590Z] 339a4e72a1f5: Pulling fs layer [2023-05-02T19:21:04.590Z] 988bab9f4d93: Pulling fs layer [2023-05-02T19:21:04.590Z] 1469e6f7b9e6: Pulling fs layer [2023-05-02T19:21:04.590Z] eaf3925da568: Pulling fs layer [2023-05-02T19:21:04.590Z] bab4dde63d76: Pulling fs layer [2023-05-02T19:21:04.590Z] bde34c3a00c8: Pulling fs layer [2023-05-02T19:21:04.590Z] b352a97aabf1: Pulling fs layer [2023-05-02T19:21:04.590Z] 4872d77fe225: Pulling fs layer [2023-05-02T19:21:04.590Z] 5851b861e8e6: Pulling fs layer [2023-05-02T19:21:04.590Z] 1469e6f7b9e6: Waiting [2023-05-02T19:21:04.590Z] eaf3925da568: Waiting [2023-05-02T19:21:04.590Z] 988bab9f4d93: Waiting [2023-05-02T19:21:04.590Z] bab4dde63d76: Waiting [2023-05-02T19:21:04.590Z] bde34c3a00c8: Waiting [2023-05-02T19:21:04.590Z] b352a97aabf1: Waiting [2023-05-02T19:21:04.590Z] 5851b861e8e6: Waiting [2023-05-02T19:21:04.590Z] 4872d77fe225: Waiting [2023-05-02T19:21:04.590Z] e2be974225ed: Verifying Checksum [2023-05-02T19:21:04.590Z] e2be974225ed: Download complete [2023-05-02T19:21:04.590Z] 988bab9f4d93: Verifying Checksum [2023-05-02T19:21:04.590Z] 988bab9f4d93: Download complete [2023-05-02T19:21:04.851Z] 1469e6f7b9e6: Verifying Checksum [2023-05-02T19:21:04.851Z] 1469e6f7b9e6: Download complete [2023-05-02T19:21:04.851Z] eaf3925da568: Verifying Checksum [2023-05-02T19:21:04.851Z] eaf3925da568: Download complete [2023-05-02T19:21:04.851Z] 339a4e72a1f5: Verifying Checksum [2023-05-02T19:21:04.851Z] 339a4e72a1f5: Download complete [2023-05-02T19:21:04.851Z] bde34c3a00c8: Download complete [2023-05-02T19:21:04.851Z] b352a97aabf1: Download complete [2023-05-02T19:21:04.851Z] 4872d77fe225: Download complete [2023-05-02T19:21:04.851Z] 5851b861e8e6: Verifying Checksum [2023-05-02T19:21:04.851Z] 5851b861e8e6: Download complete [2023-05-02T19:21:04.851Z] b85a868b505f: Verifying Checksum [2023-05-02T19:21:04.851Z] b85a868b505f: Download complete [2023-05-02T19:21:05.111Z] bab4dde63d76: Verifying Checksum [2023-05-02T19:21:05.111Z] bab4dde63d76: Download complete [2023-05-02T19:21:06.490Z] b85a868b505f: Pull complete [2023-05-02T19:21:06.490Z] e2be974225ed: Pull complete [2023-05-02T19:21:06.751Z] 339a4e72a1f5: Pull complete [2023-05-02T19:21:07.010Z] 988bab9f4d93: Pull complete [2023-05-02T19:21:07.268Z] 1469e6f7b9e6: Pull complete [2023-05-02T19:21:07.268Z] eaf3925da568: Pull complete [2023-05-02T19:21:09.167Z] bab4dde63d76: Pull complete [2023-05-02T19:21:09.167Z] bde34c3a00c8: Pull complete [2023-05-02T19:21:09.472Z] b352a97aabf1: Pull complete [2023-05-02T19:21:09.472Z] 4872d77fe225: Pull complete [2023-05-02T19:21:09.472Z] 5851b861e8e6: Pull complete [2023-05-02T19:21:09.472Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-02T19:21:09.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T19:21:09.472Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:21:09.769Z] prd-ubuntu20.04-docker-8c-8g-12454 does not seem to be running inside a container [2023-05-02T19:21:09.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-02T19:21:13.095Z] $ docker top c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 -eo pid,comm [2023-05-02T19:21:13.154Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-02T19:21:13.154Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-02T19:21:13.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T19:21:13.320Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T19:21:13.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T19:21:13.454Z] $ docker exec c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 ssh-agent [2023-05-02T19:21:13.564Z] SSH_AUTH_SOCK=/tmp/ssh-SKLjxd7T3wxL/agent.32 [2023-05-02T19:21:13.564Z] SSH_AGENT_PID=38 [2023-05-02T19:21:13.571Z] Running ssh-add (command line suppressed) [2023-05-02T19:21:13.681Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_14488137269904988175.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_14488137269904988175.key) [2023-05-02T19:21:13.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T19:21:14.056Z] + git tag --points-at HEAD [Pipeline] } [2023-05-02T19:21:14.088Z] $ docker exec --env ******** --env ******** c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 ssh-agent -k [2023-05-02T19:21:14.198Z] unset SSH_AUTH_SOCK; [2023-05-02T19:21:14.199Z] unset SSH_AGENT_PID; [2023-05-02T19:21:14.199Z] echo Agent pid 38 killed; [2023-05-02T19:21:14.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-02T19:21:14.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T19:21:14.310Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T19:21:14.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T19:21:14.448Z] $ docker exec c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 ssh-agent [2023-05-02T19:21:14.559Z] SSH_AUTH_SOCK=/tmp/ssh-yFzLFNGU85Vw/agent.70 [2023-05-02T19:21:14.559Z] SSH_AGENT_PID=77 [2023-05-02T19:21:14.564Z] Running ssh-add (command line suppressed) [2023-05-02T19:21:14.674Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_14988560013405545487.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_14988560013405545487.key) [2023-05-02T19:21:14.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T19:21:15.036Z] + git semver init [2023-05-02T19:21:15.298Z] 2023-05-02 19:21:15,208 [run_init] DEBUG init version:0.0.0 force:False [2023-05-02T19:21:15.298Z] 2023-05-02 19:21:15,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-333/.semver [2023-05-02T19:21:15.298Z] 2023-05-02 19:21:15,210 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-333/.semver [2023-05-02T19:21:15.298Z] 2023-05-02 19:21:15,210 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-333/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-333, universal_newlines=False, shell=None, istream=None) [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,115 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-333/.git/info/exclude [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,116 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 with force:False [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,116 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,121 [execute] INFO git cat-file --batch-check [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,129 [execute] INFO git cat-file --batch [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T19:21:16.237Z] 2023-05-02 19:21:16,135 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 [2023-05-02T19:21:16.237Z] 0.0.0 [Pipeline] } [2023-05-02T19:21:16.269Z] $ docker exec --env ******** --env ******** c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 ssh-agent -k [2023-05-02T19:21:16.361Z] unset SSH_AUTH_SOCK; [2023-05-02T19:21:16.362Z] unset SSH_AGENT_PID; [2023-05-02T19:21:16.362Z] echo Agent pid 77 killed; [2023-05-02T19:21:16.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-02T19:21:16.824Z] + git semver [Pipeline] } [2023-05-02T19:21:17.114Z] $ docker stop --time=1 c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 [2023-05-02T19:21:18.387Z] $ docker rm -f --volumes c557abd4f21ba4ce132fab4baa3d5ea5fd245293c57b79c7ee12dd891de05a80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T19:21:18.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-02T19:21:19.127Z] Stashed 1 file(s) [Pipeline] echo [2023-05-02T19:21:19.148Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T19:21:19.884Z] provisioning config files... [2023-05-02T19:21:19.893Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config18343590787828400718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:21:20.242Z] ---> docker-login.sh [2023-05-02T19:21:20.242Z] nexus3.edgexfoundry.org:10001 [2023-05-02T19:21:20.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:20.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:20.242Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:20.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:20.242Z] [2023-05-02T19:21:20.242Z] Login Succeeded [2023-05-02T19:21:20.242Z] nexus3.edgexfoundry.org:10002 [2023-05-02T19:21:20.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:20.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:20.242Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:20.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:20.242Z] [2023-05-02T19:21:20.242Z] Login Succeeded [2023-05-02T19:21:20.242Z] nexus3.edgexfoundry.org:10003 [2023-05-02T19:21:20.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:20.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:20.502Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:20.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:20.502Z] [2023-05-02T19:21:20.502Z] Login Succeeded [2023-05-02T19:21:20.502Z] nexus3.edgexfoundry.org:10004 [2023-05-02T19:21:20.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:20.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:20.502Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:20.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:20.502Z] [2023-05-02T19:21:20.502Z] Login Succeeded [2023-05-02T19:21:20.502Z] docker.io [2023-05-02T19:21:20.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:21:20.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:21:20.762Z] Configure a credential helper to remove this warning. See [2023-05-02T19:21:20.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:21:20.762Z] [2023-05-02T19:21:20.762Z] Login Succeeded [2023-05-02T19:21:20.762Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T19:21:20.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T19:21:20.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T19:21:21.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T19:21:21.054Z] ========================================================= [2023-05-02T19:21:21.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-02T19:21:21.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:21:21.514Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-02T19:21:21.514Z] Sending build context to Docker daemon 21.51MB [2023-05-02T19:21:21.514Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T19:21:21.514Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T19:21:21.772Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-02T19:21:21.772Z] f56be85fc22e: Pulling fs layer [2023-05-02T19:21:21.772Z] 85791d961cd3: Pulling fs layer [2023-05-02T19:21:21.772Z] d694b5ae8c79: Pulling fs layer [2023-05-02T19:21:21.772Z] 9f32a84ed3da: Pulling fs layer [2023-05-02T19:21:21.772Z] 4d19c01a9841: Pulling fs layer [2023-05-02T19:21:21.772Z] 9325e15d5711: Pulling fs layer [2023-05-02T19:21:21.772Z] 556b6ee489ea: Pulling fs layer [2023-05-02T19:21:21.772Z] c5a4b2cf53e6: Pulling fs layer [2023-05-02T19:21:21.772Z] 9f32a84ed3da: Waiting [2023-05-02T19:21:21.772Z] 4d19c01a9841: Waiting [2023-05-02T19:21:21.772Z] 9325e15d5711: Waiting [2023-05-02T19:21:21.772Z] 556b6ee489ea: Waiting [2023-05-02T19:21:21.772Z] c5a4b2cf53e6: Waiting [2023-05-02T19:21:21.772Z] 85791d961cd3: Verifying Checksum [2023-05-02T19:21:21.772Z] 85791d961cd3: Download complete [2023-05-02T19:21:21.772Z] 4d19c01a9841: Verifying Checksum [2023-05-02T19:21:21.772Z] 4d19c01a9841: Download complete [2023-05-02T19:21:21.772Z] f56be85fc22e: Download complete [2023-05-02T19:21:21.772Z] 9325e15d5711: Verifying Checksum [2023-05-02T19:21:21.772Z] 9325e15d5711: Download complete [2023-05-02T19:21:22.032Z] f56be85fc22e: Pull complete [2023-05-02T19:21:22.032Z] 85791d961cd3: Pull complete [2023-05-02T19:21:22.290Z] c5a4b2cf53e6: Verifying Checksum [2023-05-02T19:21:22.290Z] c5a4b2cf53e6: Download complete [2023-05-02T19:21:22.549Z] d694b5ae8c79: Download complete [2023-05-02T19:21:22.549Z] 556b6ee489ea: Verifying Checksum [2023-05-02T19:21:22.549Z] 556b6ee489ea: Download complete [2023-05-02T19:21:25.844Z] d694b5ae8c79: Pull complete [2023-05-02T19:21:25.844Z] 9f32a84ed3da: Pull complete [2023-05-02T19:21:26.109Z] 4d19c01a9841: Pull complete [2023-05-02T19:21:26.109Z] 9325e15d5711: Pull complete [2023-05-02T19:21:28.637Z] 556b6ee489ea: Pull complete [2023-05-02T19:21:29.613Z] c5a4b2cf53e6: Pull complete [2023-05-02T19:21:29.613Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-02T19:21:29.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-02T19:21:29.613Z] ---> c4be618373d6 [2023-05-02T19:21:29.613Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T19:21:34.660Z] Still waiting to schedule task [2023-05-02T19:21:34.661Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12453’ [2023-05-02T19:21:34.897Z] ---> Running in 34ec6bd81434 [2023-05-02T19:21:34.897Z] Removing intermediate container 34ec6bd81434 [2023-05-02T19:21:34.897Z] ---> b08a76781d21 [2023-05-02T19:21:34.897Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T19:21:34.897Z] ---> Running in 5bed47336a2c [2023-05-02T19:21:34.897Z] Removing intermediate container 5bed47336a2c [2023-05-02T19:21:34.897Z] ---> e91e96cdaa72 [2023-05-02T19:21:34.897Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T19:21:34.897Z] ---> Running in a9527b5380db [2023-05-02T19:21:34.897Z] Removing intermediate container a9527b5380db [2023-05-02T19:21:34.897Z] ---> e1b23f1d8214 [2023-05-02T19:21:34.897Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T19:21:34.897Z] ---> Running in 0efcd134ffb3 [2023-05-02T19:21:34.897Z] Removing intermediate container 0efcd134ffb3 [2023-05-02T19:21:34.897Z] ---> 72460fcc3098 [2023-05-02T19:21:34.897Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-02T19:21:34.897Z] ---> Running in 2e83d5804494 [2023-05-02T19:21:35.159Z] Removing intermediate container 2e83d5804494 [2023-05-02T19:21:35.159Z] ---> 136eb05fb1ba [2023-05-02T19:21:35.159Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T19:21:35.159Z] ---> Running in 4cfae9aac738 [2023-05-02T19:21:35.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T19:21:35.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T19:21:35.680Z] OK: 265 MiB in 53 packages [2023-05-02T19:21:36.248Z] Removing intermediate container 4cfae9aac738 [2023-05-02T19:21:36.248Z] ---> 5aa2e378f3bd [2023-05-02T19:21:36.248Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-02T19:21:36.248Z] ---> Running in e8c31746444d [2023-05-02T19:21:36.248Z] Removing intermediate container e8c31746444d [2023-05-02T19:21:36.248Z] ---> 1ed1d3083662 [2023-05-02T19:21:36.248Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-02T19:21:36.248Z] ---> e0e0fca66520 [2023-05-02T19:21:36.248Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T19:21:36.248Z] ---> Running in 6af9dc754487 [2023-05-02T19:22:15.193Z] Removing intermediate container 6af9dc754487 [2023-05-02T19:22:15.193Z] ---> eb302f720ea0 [2023-05-02T19:22:15.193Z] Step 12/13 : COPY . . [2023-05-02T19:22:15.193Z] ---> 0f5e37c7584d [2023-05-02T19:22:15.193Z] Step 13/13 : RUN ${MAKE} [2023-05-02T19:22:15.193Z] ---> Running in adfe1ac1ac2c [2023-05-02T19:22:15.193Z] noop [2023-05-02T19:22:15.193Z] Removing intermediate container adfe1ac1ac2c [2023-05-02T19:22:15.193Z] ---> 33770955c365 [2023-05-02T19:22:15.193Z] Successfully built 33770955c365 [2023-05-02T19:22:15.193Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:22:15.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T19:22:15.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:22:15.877Z] prd-ubuntu20.04-docker-8c-8g-12454 does not seem to be running inside a container [2023-05-02T19:22:15.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-02T19:22:16.279Z] $ docker top 917c95899117983e2985f3bc5b3d12d3107de56450b5286f25b1eb71ba24f068 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T19:22:16.695Z] + go version [2023-05-02T19:22:16.695Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-02T19:22:16.733Z] $ docker stop --time=1 917c95899117983e2985f3bc5b3d12d3107de56450b5286f25b1eb71ba24f068 [2023-05-02T19:22:18.010Z] $ docker rm -f --volumes 917c95899117983e2985f3bc5b3d12d3107de56450b5286f25b1eb71ba24f068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:22:18.834Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T19:22:18.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:22:19.006Z] prd-ubuntu20.04-docker-8c-8g-12454 does not seem to be running inside a container [2023-05-02T19:22:19.040Z] $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-02T19:22:19.377Z] $ docker top dd89c6e96444ec19b120ddcc6c3008a100db57c34a7c78bca9514e7812bd0ccb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T19:22:19.778Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] fileExists [Pipeline] sh [2023-05-02T19:22:20.145Z] + make test [2023-05-02T19:22:20.146Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T19:22:25.412Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-02T19:22:37.666Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-02T19:22:37.666Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-02T19:22:39.060Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 32.1% of statements [2023-05-02T19:22:39.320Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.535s coverage: 86.5% of statements [2023-05-02T19:22:47.454Z] go vet ./... [2023-05-02T19:22:51.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T19:22:51.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T19:22:51.637Z] ./bin/test-attribution-txt.sh [2023-05-02T19:22:51.637Z] An attribution for github.com/google/btree is missing from Attribution.txt, please add [2023-05-02T19:22:51.637Z] An attribution for github.com/kr/pretty is missing from Attribution.txt, please add [Pipeline] echo [2023-05-02T19:22:51.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T19:22:51.713Z] $ docker stop --time=1 dd89c6e96444ec19b120ddcc6c3008a100db57c34a7c78bca9514e7812bd0ccb [2023-05-02T19:22:55.772Z] $ docker rm -f --volumes dd89c6e96444ec19b120ddcc6c3008a100db57c34a7c78bca9514e7812bd0ccb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T19:22:56.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T19:22:56.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-02T19:22:57.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T19:22:57.521Z] + ls -al . [2023-05-02T19:22:57.521Z] total 232 [2023-05-02T19:22:57.522Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 19:22 . [2023-05-02T19:22:57.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:20 .. [2023-05-02T19:22:57.522Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 19:21 .git [2023-05-02T19:22:57.522Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 19:20 .github [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 496 May 2 19:20 .gitignore [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 19:20 .golangci.yml [2023-05-02T19:22:57.522Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 19:21 .semver [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 9861 May 2 19:20 Attribution.txt [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 2 19:20 CHANGELOG.md [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 2 19:20 Dockerfile [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 19:20 GOVERNANCE.md [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 734 May 2 19:20 Jenkinsfile [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 2 19:20 LICENSE [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 2 19:20 Makefile [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 625 May 2 19:20 OWNERS.md [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 2 19:20 README.md [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 19:21 VERSION [2023-05-02T19:22:57.522Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 19:20 bin [2023-05-02T19:22:57.522Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 19:20 cmd [2023-05-02T19:22:57.522Z] -rw-r--r-- 1 jenkins jenkins 80464 May 2 19:22 coverage.out [2023-05-02T19:22:57.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:20 doc [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 2 19:20 go.mod [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 2 19:20 go.sum [2023-05-02T19:22:57.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:20 internal [2023-05-02T19:22:57.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:20 snap [2023-05-02T19:22:57.522Z] -rw-rw-r-- 1 jenkins jenkins 236 May 2 19:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:22:57.941Z] + 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=368d8b89130b295f0f6a05347d1e242a9a8adc29 --label arch=amd64 --label version=0.0.0 . [2023-05-02T19:22:57.941Z] Sending build context to Docker daemon 21.59MB [2023-05-02T19:22:57.941Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T19:22:57.941Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-02T19:22:57.941Z] ---> 33770955c365 [2023-05-02T19:22:57.941Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-02T19:22:58.509Z] ---> Running in bc634e10b057 [2023-05-02T19:22:58.509Z] Removing intermediate container bc634e10b057 [2023-05-02T19:22:58.509Z] ---> 477c13dd260a [2023-05-02T19:22:58.509Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T19:22:58.509Z] ---> Running in c27a8a38ac4a [2023-05-02T19:22:58.509Z] Removing intermediate container c27a8a38ac4a [2023-05-02T19:22:58.509Z] ---> 2cdcedb22960 [2023-05-02T19:22:58.509Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T19:22:58.773Z] ---> Running in 5e87ac41a349 [2023-05-02T19:22:58.773Z] Removing intermediate container 5e87ac41a349 [2023-05-02T19:22:58.773Z] ---> 0fa862865bbf [2023-05-02T19:22:58.773Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T19:22:58.773Z] ---> Running in 0bac4a743a2a [2023-05-02T19:22:58.773Z] Removing intermediate container 0bac4a743a2a [2023-05-02T19:22:58.773Z] ---> b2571d335dd9 [2023-05-02T19:22:58.773Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-02T19:22:58.773Z] ---> Running in 70e3658fda5f [2023-05-02T19:22:59.061Z] Removing intermediate container 70e3658fda5f [2023-05-02T19:22:59.061Z] ---> 36e79d8a7b2c [2023-05-02T19:22:59.061Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T19:22:59.061Z] ---> Running in 34635dd94086 [2023-05-02T19:22:59.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T19:22:59.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T19:22:59.581Z] OK: 265 MiB in 53 packages [2023-05-02T19:23:00.151Z] Removing intermediate container 34635dd94086 [2023-05-02T19:23:00.151Z] ---> 0b22bfa6486b [2023-05-02T19:23:00.151Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-02T19:23:00.151Z] ---> Running in fa579b6832bd [2023-05-02T19:23:00.151Z] Removing intermediate container fa579b6832bd [2023-05-02T19:23:00.151Z] ---> f4c80d403551 [2023-05-02T19:23:00.151Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-02T19:23:00.151Z] ---> 50dddc516de9 [2023-05-02T19:23:00.151Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T19:23:00.151Z] ---> Running in 52e4c7c15690 [2023-05-02T19:23:01.087Z] Removing intermediate container 52e4c7c15690 [2023-05-02T19:23:01.087Z] ---> 5e4965b0517f [2023-05-02T19:23:01.087Z] Step 12/26 : COPY . . [2023-05-02T19:23:02.028Z] ---> ef5a1047a9ef [2023-05-02T19:23:02.028Z] Step 13/26 : RUN ${MAKE} [2023-05-02T19:23:02.028Z] ---> Running in b77511e290a2 [2023-05-02T19:23:02.287Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-02T19:23:28.852Z] Removing intermediate container b77511e290a2 [2023-05-02T19:23:28.852Z] ---> 6875628b5ba8 [2023-05-02T19:23:28.852Z] Step 14/26 : FROM alpine:3.17 [2023-05-02T19:23:28.852Z] 3.17: Pulling from library/alpine [2023-05-02T19:23:28.852Z] f56be85fc22e: Already exists [2023-05-02T19:23:28.852Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T19:23:28.852Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T19:23:28.852Z] ---> 9ed4aefc74f6 [2023-05-02T19:23:28.853Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-02T19:23:28.853Z] ---> Running in 249afed6fd8c [2023-05-02T19:23:28.853Z] Removing intermediate container 249afed6fd8c [2023-05-02T19:23:28.853Z] ---> 92ca400d5834 [2023-05-02T19:23:28.853Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-02T19:23:28.853Z] ---> Running in 15a10fe36599 [2023-05-02T19:23:28.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T19:23:28.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T19:23:28.853Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-02T19:23:28.853Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T19:23:28.853Z] OK: 7 MiB in 16 packages [2023-05-02T19:23:28.853Z] Removing intermediate container 15a10fe36599 [2023-05-02T19:23:28.853Z] ---> 7977a2ac355c [2023-05-02T19:23:28.853Z] Step 17/26 : WORKDIR / [2023-05-02T19:23:28.853Z] ---> Running in a9f624bb659a [2023-05-02T19:23:28.853Z] Removing intermediate container a9f624bb659a [2023-05-02T19:23:28.853Z] ---> fb29061ebaa0 [2023-05-02T19:23:28.853Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-02T19:23:28.853Z] ---> ba00f2c15226 [2023-05-02T19:23:28.853Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-02T19:23:28.853Z] ---> 68b7ef0e6162 [2023-05-02T19:23:28.853Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-02T19:23:28.853Z] ---> 8fb0b76d7549 [2023-05-02T19:23:28.853Z] Step 21/26 : EXPOSE 59984 [2023-05-02T19:23:28.853Z] ---> Running in d8a777483d01 [2023-05-02T19:23:28.853Z] Removing intermediate container d8a777483d01 [2023-05-02T19:23:28.853Z] ---> 2d23af04a111 [2023-05-02T19:23:28.853Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-02T19:23:28.853Z] ---> Running in 8af85017f3da [2023-05-02T19:23:28.853Z] Removing intermediate container 8af85017f3da [2023-05-02T19:23:28.853Z] ---> 2a9a096788b6 [2023-05-02T19:23:28.853Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-02T19:23:28.853Z] ---> Running in 1cba80a6f711 [2023-05-02T19:23:28.853Z] Removing intermediate container 1cba80a6f711 [2023-05-02T19:23:28.853Z] ---> 74a5654cd20c [2023-05-02T19:23:28.853Z] Step 24/26 : LABEL arch=amd64 [2023-05-02T19:23:28.853Z] ---> Running in 249a8be2700d [2023-05-02T19:23:28.853Z] Removing intermediate container 249a8be2700d [2023-05-02T19:23:28.853Z] ---> ea38eb947c0c [2023-05-02T19:23:28.853Z] Step 25/26 : LABEL git_sha=368d8b89130b295f0f6a05347d1e242a9a8adc29 [2023-05-02T19:23:28.853Z] ---> Running in 56db93265245 [2023-05-02T19:23:28.853Z] Removing intermediate container 56db93265245 [2023-05-02T19:23:28.853Z] ---> 7df0d6f285d9 [2023-05-02T19:23:28.853Z] Step 26/26 : LABEL version=0.0.0 [2023-05-02T19:23:28.853Z] ---> Running in 5356a3b927a1 [2023-05-02T19:23:28.853Z] Removing intermediate container 5356a3b927a1 [2023-05-02T19:23:28.853Z] ---> 934d3832e8df [2023-05-02T19:23:28.853Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T19:23:28.853Z] Successfully built 934d3832e8df [2023-05-02T19:23:28.853Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:23:29.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T19:23:29.932Z] [2023-05-02T19:23:29.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:23:30.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T19:23:30.317Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-02T19:23:30.317Z] 5eb5b503b376: Pulling fs layer [2023-05-02T19:23:30.317Z] 5c69ac0246d0: Pulling fs layer [2023-05-02T19:23:30.317Z] ec43610c2a17: Pulling fs layer [2023-05-02T19:23:30.317Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-02T19:23:30.317Z] 33b1e0a273af: Pulling fs layer [2023-05-02T19:23:30.317Z] 5d3b04190fa2: Pulling fs layer [2023-05-02T19:23:30.317Z] 2f39f015ded8: Pulling fs layer [2023-05-02T19:23:30.317Z] 3a2ae6a8a46f: Waiting [2023-05-02T19:23:30.317Z] 33b1e0a273af: Waiting [2023-05-02T19:23:30.317Z] 5d3b04190fa2: Waiting [2023-05-02T19:23:30.317Z] 5c69ac0246d0: Verifying Checksum [2023-05-02T19:23:30.317Z] 5c69ac0246d0: Download complete [2023-05-02T19:23:30.317Z] 3a2ae6a8a46f: Download complete [2023-05-02T19:23:30.317Z] ec43610c2a17: Verifying Checksum [2023-05-02T19:23:30.317Z] ec43610c2a17: Download complete [2023-05-02T19:23:30.317Z] 33b1e0a273af: Verifying Checksum [2023-05-02T19:23:30.317Z] 33b1e0a273af: Download complete [2023-05-02T19:23:30.577Z] 5d3b04190fa2: Verifying Checksum [2023-05-02T19:23:30.577Z] 5d3b04190fa2: Download complete [2023-05-02T19:23:30.577Z] 5eb5b503b376: Download complete [2023-05-02T19:23:31.144Z] 2f39f015ded8: Download complete [2023-05-02T19:23:31.719Z] 5eb5b503b376: Pull complete [2023-05-02T19:23:31.979Z] 5c69ac0246d0: Pull complete [2023-05-02T19:23:32.548Z] ec43610c2a17: Pull complete [2023-05-02T19:23:32.548Z] 3a2ae6a8a46f: Pull complete [2023-05-02T19:23:32.807Z] 33b1e0a273af: Pull complete [2023-05-02T19:23:32.807Z] 5d3b04190fa2: Pull complete [2023-05-02T19:23:38.071Z] 2f39f015ded8: Pull complete [2023-05-02T19:23:38.071Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-02T19:23:38.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T19:23:38.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:23:38.318Z] prd-ubuntu20.04-docker-8c-8g-12454 does not seem to be running inside a container [2023-05-02T19:23:38.346Z] $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-02T19:23:44.473Z] $ docker top 30bc87a9c935389b20b02d0f55fb10f81a2e09a74b8d301eb8686a57f5a3d4c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:23:44.983Z] ---> job-cost.sh [2023-05-02T19:23:44.983Z] lf-activate-venv: SKIPPING [2023-05-02T19:23:44.983Z] INFO: No Stack... [2023-05-02T19:23:45.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T19:23:45.500Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T19:23:45.838Z] + cat /w/workspace/undry_device-onvif-camera_PR-333/archives/cost.csv [2023-05-02T19:23:45.838Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T19:23:45.884Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [2023-05-02T19:23:45.891Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] did not exist. Created. [2023-05-02T19:23:45.891Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T19:23:46.301Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-02T19:23:46.356Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T19:23:46.391Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T19:23:46.483Z] $ docker stop --time=1 30bc87a9c935389b20b02d0f55fb10f81a2e09a74b8d301eb8686a57f5a3d4c0 [2023-05-02T19:23:47.643Z] $ docker rm -f --volumes 30bc87a9c935389b20b02d0f55fb10f81a2e09a74b8d301eb8686a57f5a3d4c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T19:25:06.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12455 in /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] { [Pipeline] ws [2023-05-02T19:25:06.657Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-02T19:25:06.757Z] The recommended git tool is: git [2023-05-02T19:25:12.782Z] using credential edgex-jenkins-ssh [2023-05-02T19:25:12.806Z] Cloning the remote Git repository [2023-05-02T19:25:12.860Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T19:25:12.999Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-02T19:25:13.172Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T19:25:13.173Z] > git --version # timeout=10 [2023-05-02T19:25:13.195Z] > git --version # 'git version 2.25.1' [2023-05-02T19:25:13.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T19:25:13.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T19:25:14.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-02T19:25:14.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T19:25:16.654Z] Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 368d8b89130b295f0f6a05347d1e242a9a8adc29 [2023-05-02T19:25:15.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-02T19:25:16.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T19:25:16.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T19:25:16.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-02T19:25:16.675Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T19:25:16.759Z] > git checkout -f 368d8b89130b295f0f6a05347d1e242a9a8adc29 # timeout=10 [2023-05-02T19:25:16.935Z] > git remote # timeout=10 [2023-05-02T19:25:17.037Z] Merge succeeded, producing 368d8b89130b295f0f6a05347d1e242a9a8adc29 [2023-05-02T19:25:17.037Z] Checking out Revision 368d8b89130b295f0f6a05347d1e242a9a8adc29 (PR-333) [2023-05-02T19:25:16.953Z] > git config --get remote.origin.url # timeout=10 [2023-05-02T19:25:16.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T19:25:16.991Z] > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 [2023-05-02T19:25:17.017Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-02T19:25:17.045Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T19:25:17.059Z] > git checkout -f 368d8b89130b295f0f6a05347d1e242a9a8adc29 # timeout=10 [2023-05-02T19:25:20.694Z] Commit message: "feat: implement secret change support, refactor cred mgmt" [2023-05-02T19:25:20.756Z] > git --version # timeout=10 [2023-05-02T19:25:20.769Z] > git --version # 'git version 2.25.1' [2023-05-02T19:25:20.785Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T19:25:22.060Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-02T19:25:22.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T19:25:22.060Z] Dload Upload Total Spent Left Speed [2023-05-02T19:25:22.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-05-02T19:25:22.739Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-02T19:25:23.096Z] + sudo tee /etc/docker/daemon.new [2023-05-02T19:25:23.096Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-02T19:25:23.096Z] { [2023-05-02T19:25:23.096Z] "registry-mirrors": [ [2023-05-02T19:25:23.096Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-02T19:25:23.096Z] ], [2023-05-02T19:25:23.096Z] "bip": "10.250.0.254/24", [2023-05-02T19:25:23.096Z] "hosts": [ [2023-05-02T19:25:23.096Z] "tcp://0.0.0.0:5555", [2023-05-02T19:25:23.096Z] "unix:///var/run/docker.sock" [2023-05-02T19:25:23.096Z] ], [2023-05-02T19:25:23.096Z] "mtu": 1458, [2023-05-02T19:25:23.096Z] "selinux-enabled": true, [2023-05-02T19:25:23.096Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-02T19:25:23.096Z] } [Pipeline] sh [2023-05-02T19:25:23.446Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-02T19:25:23.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T19:25:42.279Z] provisioning config files... [2023-05-02T19:25:42.310Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2929977841446547603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:25:42.744Z] ---> docker-login.sh [2023-05-02T19:25:42.744Z] nexus3.edgexfoundry.org:10001 [2023-05-02T19:25:43.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:25:43.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:25:43.287Z] Configure a credential helper to remove this warning. See [2023-05-02T19:25:43.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:25:43.287Z] [2023-05-02T19:25:43.287Z] Login Succeeded [2023-05-02T19:25:43.287Z] nexus3.edgexfoundry.org:10002 [2023-05-02T19:25:43.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:25:43.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:25:43.826Z] Configure a credential helper to remove this warning. See [2023-05-02T19:25:43.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:25:43.826Z] [2023-05-02T19:25:43.826Z] Login Succeeded [2023-05-02T19:25:43.826Z] nexus3.edgexfoundry.org:10003 [2023-05-02T19:25:44.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:25:44.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:25:44.097Z] Configure a credential helper to remove this warning. See [2023-05-02T19:25:44.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:25:44.097Z] [2023-05-02T19:25:44.097Z] Login Succeeded [2023-05-02T19:25:44.097Z] nexus3.edgexfoundry.org:10004 [2023-05-02T19:25:44.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:25:44.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:25:44.370Z] Configure a credential helper to remove this warning. See [2023-05-02T19:25:44.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:25:44.370Z] [2023-05-02T19:25:44.371Z] Login Succeeded [2023-05-02T19:25:44.371Z] docker.io [2023-05-02T19:25:44.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T19:25:44.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T19:25:44.912Z] Configure a credential helper to remove this warning. See [2023-05-02T19:25:44.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T19:25:44.912Z] [2023-05-02T19:25:44.912Z] Login Succeeded [2023-05-02T19:25:44.912Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T19:25:44.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T19:25:45.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T19:25:45.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T19:25:45.426Z] ========================================================= [2023-05-02T19:25:45.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-02T19:25:45.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:25:45.954Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-02T19:25:46.543Z] Sending build context to Docker daemon 14.21MB [2023-05-02T19:25:46.543Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T19:25:46.543Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T19:25:46.543Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-02T19:25:46.543Z] c41833b44d91: Pulling fs layer [2023-05-02T19:25:46.543Z] ed15518f5707: Pulling fs layer [2023-05-02T19:25:46.543Z] feae8fd75edb: Pulling fs layer [2023-05-02T19:25:46.543Z] 242c74f7c9fa: Pulling fs layer [2023-05-02T19:25:46.543Z] 3cdef696dda3: Pulling fs layer [2023-05-02T19:25:46.543Z] 2ced38df9373: Pulling fs layer [2023-05-02T19:25:46.543Z] 58f1dce35555: Pulling fs layer [2023-05-02T19:25:46.543Z] 242c74f7c9fa: Waiting [2023-05-02T19:25:46.543Z] 3cdef696dda3: Waiting [2023-05-02T19:25:46.543Z] 2ced38df9373: Waiting [2023-05-02T19:25:46.543Z] 58f1dce35555: Waiting [2023-05-02T19:25:46.816Z] ed15518f5707: Verifying Checksum [2023-05-02T19:25:46.816Z] ed15518f5707: Download complete [2023-05-02T19:25:46.816Z] 242c74f7c9fa: Download complete [2023-05-02T19:25:46.816Z] 3cdef696dda3: Verifying Checksum [2023-05-02T19:25:46.816Z] 3cdef696dda3: Download complete [2023-05-02T19:25:46.816Z] c41833b44d91: Verifying Checksum [2023-05-02T19:25:46.816Z] c41833b44d91: Download complete [2023-05-02T19:25:47.790Z] c41833b44d91: Pull complete [2023-05-02T19:25:48.068Z] 58f1dce35555: Verifying Checksum [2023-05-02T19:25:48.068Z] 58f1dce35555: Download complete [2023-05-02T19:25:48.348Z] ed15518f5707: Pull complete [2023-05-02T19:25:49.321Z] feae8fd75edb: Verifying Checksum [2023-05-02T19:25:49.321Z] feae8fd75edb: Download complete [2023-05-02T19:25:49.321Z] 2ced38df9373: Verifying Checksum [2023-05-02T19:25:49.321Z] 2ced38df9373: Download complete [2023-05-02T19:25:59.447Z] feae8fd75edb: Pull complete [2023-05-02T19:25:59.448Z] 242c74f7c9fa: Pull complete [2023-05-02T19:25:59.448Z] 3cdef696dda3: Pull complete [2023-05-02T19:26:06.104Z] 2ced38df9373: Pull complete [2023-05-02T19:26:09.449Z] 58f1dce35555: Pull complete [2023-05-02T19:26:09.449Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-02T19:26:09.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-02T19:26:09.449Z] ---> fadd8f120f05 [2023-05-02T19:26:09.449Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T19:26:10.865Z] ---> Running in 0b9ee883c854 [2023-05-02T19:26:11.132Z] Removing intermediate container 0b9ee883c854 [2023-05-02T19:26:11.132Z] ---> 698fff7d5a03 [2023-05-02T19:26:11.132Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T19:26:11.132Z] ---> Running in 12d13c9360ad [2023-05-02T19:26:11.400Z] Removing intermediate container 12d13c9360ad [2023-05-02T19:26:11.400Z] ---> c6d7595900c7 [2023-05-02T19:26:11.400Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T19:26:11.400Z] ---> Running in c62887e50ec2 [2023-05-02T19:26:11.685Z] Removing intermediate container c62887e50ec2 [2023-05-02T19:26:11.685Z] ---> 61795aef3b9d [2023-05-02T19:26:11.685Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T19:26:11.957Z] ---> Running in 6eea730a8b09 [2023-05-02T19:26:12.225Z] Removing intermediate container 6eea730a8b09 [2023-05-02T19:26:12.225Z] ---> 852e7b8a4764 [2023-05-02T19:26:12.225Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-02T19:26:12.225Z] ---> Running in b38382e1586d [2023-05-02T19:26:12.494Z] Removing intermediate container b38382e1586d [2023-05-02T19:26:12.494Z] ---> aa1327440c99 [2023-05-02T19:26:12.494Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T19:26:12.760Z] ---> Running in 03aeaf418d02 [2023-05-02T19:26:13.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T19:26:14.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T19:26:15.277Z] OK: 263 MiB in 53 packages [2023-05-02T19:26:16.246Z] Removing intermediate container 03aeaf418d02 [2023-05-02T19:26:16.246Z] ---> 5075f8dad178 [2023-05-02T19:26:16.246Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-02T19:26:16.514Z] ---> Running in e18edd5f6359 [2023-05-02T19:26:16.782Z] Removing intermediate container e18edd5f6359 [2023-05-02T19:26:16.782Z] ---> e86f1803b52f [2023-05-02T19:26:16.782Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-02T19:26:17.383Z] ---> c07f9684883a [2023-05-02T19:26:17.383Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T19:26:17.383Z] ---> Running in faa1211c8468 [2023-05-02T19:27:25.306Z] Removing intermediate container faa1211c8468 [2023-05-02T19:27:25.306Z] ---> 14d0c6ec431f [2023-05-02T19:27:25.306Z] Step 12/13 : COPY . . [2023-05-02T19:27:25.306Z] ---> 8359c75e2cc9 [2023-05-02T19:27:25.306Z] Step 13/13 : RUN ${MAKE} [2023-05-02T19:27:25.306Z] ---> Running in ca5c5133d928 [2023-05-02T19:27:25.306Z] noop [2023-05-02T19:27:25.306Z] Removing intermediate container ca5c5133d928 [2023-05-02T19:27:25.306Z] ---> f1cb99ce2bbf [2023-05-02T19:27:25.306Z] Successfully built f1cb99ce2bbf [2023-05-02T19:27:25.306Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:27:25.796Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T19:27:25.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:27:26.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-12455 does not seem to be running inside a container [2023-05-02T19:27:26.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-02T19:27:27.356Z] $ docker top f6c48416efa9fa1cd201113356e4d9ed36ae80e563e9492be24c120eda830471 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T19:27:28.235Z] + go version [2023-05-02T19:27:28.235Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-02T19:27:28.268Z] $ docker stop --time=1 f6c48416efa9fa1cd201113356e4d9ed36ae80e563e9492be24c120eda830471 [2023-05-02T19:27:29.889Z] $ docker rm -f --volumes f6c48416efa9fa1cd201113356e4d9ed36ae80e563e9492be24c120eda830471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:27:30.727Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T19:27:30.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:27:30.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-12455 does not seem to be running inside a container [2023-05-02T19:27:31.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-02T19:27:32.148Z] $ docker top 5e24f87d5b0d9c36c0ed8fac33a8250934edc5ac4379b063d5b24d47df178001 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T19:27:33.005Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-02T19:27:33.840Z] + make test [2023-05-02T19:27:33.840Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T19:28:06.267Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-02T19:30:12.936Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-02T19:30:14.349Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-02T19:30:16.957Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 32.1% of statements [2023-05-02T19:30:31.958Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.024s coverage: 86.5% of statements [2023-05-02T19:30:31.958Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-02T19:30:31.958Z] go vet ./... [2023-05-02T19:30:58.697Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T19:30:58.697Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T19:30:58.697Z] ./bin/test-attribution-txt.sh [2023-05-02T19:30:58.697Z] An attribution for github.com/google/btree is missing from Attribution.txt, please add [2023-05-02T19:30:58.697Z] An attribution for github.com/kr/pretty is missing from Attribution.txt, please add [Pipeline] echo [2023-05-02T19:30:58.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T19:30:58.773Z] $ docker stop --time=1 5e24f87d5b0d9c36c0ed8fac33a8250934edc5ac4379b063d5b24d47df178001 [2023-05-02T19:31:00.522Z] $ docker rm -f --volumes 5e24f87d5b0d9c36c0ed8fac33a8250934edc5ac4379b063d5b24d47df178001 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T19:31:01.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T19:31:01.732Z] Warning: overwriting stash ‘coverage-report’ [2023-05-02T19:31:02.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T19:31:02.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T19:31:03.294Z] + ls -al . [2023-05-02T19:31:03.294Z] total 228 [2023-05-02T19:31:03.294Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 19:27 . [2023-05-02T19:31:03.294Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:25 .. [2023-05-02T19:31:03.294Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 19:25 .git [2023-05-02T19:31:03.294Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 19:25 .github [2023-05-02T19:31:03.294Z] -rw-rw-r-- 1 jenkins jenkins 496 May 2 19:25 .gitignore [2023-05-02T19:31:03.294Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 19:25 .golangci.yml [2023-05-02T19:31:03.294Z] -rw-rw-r-- 1 jenkins jenkins 9861 May 2 19:25 Attribution.txt [2023-05-02T19:31:03.294Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 2 19:25 CHANGELOG.md [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 2 19:25 Dockerfile [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 19:25 GOVERNANCE.md [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 734 May 2 19:25 Jenkinsfile [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 2 19:25 LICENSE [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 2 19:25 Makefile [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 625 May 2 19:25 OWNERS.md [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 2 19:25 README.md [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 19:21 VERSION [2023-05-02T19:31:03.295Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 19:25 bin [2023-05-02T19:31:03.295Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 19:25 cmd [2023-05-02T19:31:03.295Z] -rw-r--r-- 1 jenkins jenkins 80464 May 2 19:30 coverage.out [2023-05-02T19:31:03.295Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:25 doc [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 2 19:25 go.mod [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 2 19:25 go.sum [2023-05-02T19:31:03.295Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:25 internal [2023-05-02T19:31:03.295Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 19:25 snap [2023-05-02T19:31:03.295Z] -rw-rw-r-- 1 jenkins jenkins 236 May 2 19:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:31:03.738Z] + 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=368d8b89130b295f0f6a05347d1e242a9a8adc29 --label arch=arm64 --label version=0.0.0 . [2023-05-02T19:31:04.327Z] Sending build context to Docker daemon 14.29MB [2023-05-02T19:31:04.327Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T19:31:04.327Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-02T19:31:04.327Z] ---> f1cb99ce2bbf [2023-05-02T19:31:04.327Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-02T19:31:04.327Z] ---> Running in bc457ffd22eb [2023-05-02T19:31:04.596Z] Removing intermediate container bc457ffd22eb [2023-05-02T19:31:04.596Z] ---> ece74ea8f826 [2023-05-02T19:31:04.596Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T19:31:04.862Z] ---> Running in 0064c81b41bc [2023-05-02T19:31:04.862Z] Removing intermediate container 0064c81b41bc [2023-05-02T19:31:04.862Z] ---> cb46cba86f66 [2023-05-02T19:31:04.862Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T19:31:05.130Z] ---> Running in f297bdf4a1e9 [2023-05-02T19:31:05.399Z] Removing intermediate container f297bdf4a1e9 [2023-05-02T19:31:05.399Z] ---> c6d06e59bcbc [2023-05-02T19:31:05.399Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T19:31:05.399Z] ---> Running in 189d87c9ef17 [2023-05-02T19:31:05.674Z] Removing intermediate container 189d87c9ef17 [2023-05-02T19:31:05.674Z] ---> beb2cada96c6 [2023-05-02T19:31:05.674Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-02T19:31:05.674Z] ---> Running in 255c9cd24ba5 [2023-05-02T19:31:05.946Z] Removing intermediate container 255c9cd24ba5 [2023-05-02T19:31:05.946Z] ---> 3a00466b3856 [2023-05-02T19:31:05.946Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T19:31:06.220Z] ---> Running in 8947879671e1 [2023-05-02T19:31:07.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T19:31:07.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T19:31:08.750Z] OK: 263 MiB in 53 packages [2023-05-02T19:31:09.335Z] Removing intermediate container 8947879671e1 [2023-05-02T19:31:09.335Z] ---> a1670b11d9c7 [2023-05-02T19:31:09.335Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-02T19:31:09.601Z] ---> Running in 57e4f1ba7f04 [2023-05-02T19:31:09.868Z] Removing intermediate container 57e4f1ba7f04 [2023-05-02T19:31:09.868Z] ---> aebdeb52c0e2 [2023-05-02T19:31:09.868Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-02T19:31:11.903Z] ---> b527879866ab [2023-05-02T19:31:11.903Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T19:31:11.903Z] ---> Running in 695e335b6f96 [2023-05-02T19:31:14.491Z] Removing intermediate container 695e335b6f96 [2023-05-02T19:31:14.491Z] ---> 3e1b07848341 [2023-05-02T19:31:14.491Z] Step 12/26 : COPY . . [2023-05-02T19:31:15.911Z] ---> 860b34fde207 [2023-05-02T19:31:15.911Z] Step 13/26 : RUN ${MAKE} [2023-05-02T19:31:15.911Z] ---> Running in 251801d55cd2 [2023-05-02T19:31:16.498Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-02T19:33:38.228Z] Removing intermediate container 251801d55cd2 [2023-05-02T19:33:38.229Z] ---> fcfdcb619f21 [2023-05-02T19:33:38.229Z] Step 14/26 : FROM alpine:3.17 [2023-05-02T19:33:38.229Z] 3.17: Pulling from library/alpine [2023-05-02T19:33:38.229Z] c41833b44d91: Already exists [2023-05-02T19:33:38.229Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T19:33:38.229Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T19:33:38.229Z] ---> 51e60588ff2c [2023-05-02T19:33:38.229Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-02T19:33:38.229Z] ---> Running in 007399de6ebe [2023-05-02T19:33:38.229Z] Removing intermediate container 007399de6ebe [2023-05-02T19:33:38.229Z] ---> 18dd999e594b [2023-05-02T19:33:38.229Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-02T19:33:38.229Z] ---> Running in 76cbbceda3f8 [2023-05-02T19:33:38.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T19:33:38.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T19:33:38.229Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-02T19:33:38.229Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T19:33:38.229Z] OK: 8 MiB in 16 packages [2023-05-02T19:33:38.229Z] Removing intermediate container 76cbbceda3f8 [2023-05-02T19:33:38.229Z] ---> d4f85a912553 [2023-05-02T19:33:38.229Z] Step 17/26 : WORKDIR / [2023-05-02T19:33:38.229Z] ---> Running in de9e8c42a0a7 [2023-05-02T19:33:38.229Z] Removing intermediate container de9e8c42a0a7 [2023-05-02T19:33:38.229Z] ---> 3cf700abc8dd [2023-05-02T19:33:38.229Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-02T19:33:38.229Z] ---> 0202039d6cdf [2023-05-02T19:33:38.229Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-02T19:33:38.229Z] ---> d875127b0182 [2023-05-02T19:33:38.229Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-02T19:33:38.229Z] ---> 594a0bcb8793 [2023-05-02T19:33:38.229Z] Step 21/26 : EXPOSE 59984 [2023-05-02T19:33:38.229Z] ---> Running in 5aebf12c8795 [2023-05-02T19:33:38.229Z] Removing intermediate container 5aebf12c8795 [2023-05-02T19:33:38.229Z] ---> 7532e84e9e73 [2023-05-02T19:33:38.229Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-02T19:33:38.229Z] ---> Running in 66492dfc7d45 [2023-05-02T19:33:38.229Z] Removing intermediate container 66492dfc7d45 [2023-05-02T19:33:38.229Z] ---> 27d4f17fa919 [2023-05-02T19:33:38.229Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-02T19:33:38.229Z] ---> Running in 3f923251d606 [2023-05-02T19:33:38.229Z] Removing intermediate container 3f923251d606 [2023-05-02T19:33:38.229Z] ---> 66712d828652 [2023-05-02T19:33:38.229Z] Step 24/26 : LABEL arch=arm64 [2023-05-02T19:33:38.229Z] ---> Running in 0ae1ae800fe0 [2023-05-02T19:33:38.815Z] Removing intermediate container 0ae1ae800fe0 [2023-05-02T19:33:38.815Z] ---> b3a0c9f36423 [2023-05-02T19:33:38.815Z] Step 25/26 : LABEL git_sha=368d8b89130b295f0f6a05347d1e242a9a8adc29 [2023-05-02T19:33:38.815Z] ---> Running in a467d75a8edb [2023-05-02T19:33:39.086Z] Removing intermediate container a467d75a8edb [2023-05-02T19:33:39.086Z] ---> 8e90935eba30 [2023-05-02T19:33:39.086Z] Step 26/26 : LABEL version=0.0.0 [2023-05-02T19:33:39.086Z] ---> Running in 5644f3481d6f [2023-05-02T19:33:39.356Z] Removing intermediate container 5644f3481d6f [2023-05-02T19:33:39.356Z] ---> 3de94de7f853 [2023-05-02T19:33:39.356Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T19:33:39.624Z] Successfully built 3de94de7f853 [2023-05-02T19:33:39.624Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:33:40.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T19:33:40.470Z] [2023-05-02T19:33:40.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:33:40.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T19:33:40.911Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-02T19:33:40.911Z] 8998bd30e6a1: Pulling fs layer [2023-05-02T19:33:40.911Z] 04944245beec: Pulling fs layer [2023-05-02T19:33:40.911Z] 699f458cf7ca: Pulling fs layer [2023-05-02T19:33:40.911Z] 765212b225bb: Pulling fs layer [2023-05-02T19:33:40.911Z] f23df028b6ca: Pulling fs layer [2023-05-02T19:33:40.911Z] d65c8cfc05b1: Pulling fs layer [2023-05-02T19:33:40.911Z] 2437ff75d9bd: Pulling fs layer [2023-05-02T19:33:40.911Z] 765212b225bb: Waiting [2023-05-02T19:33:40.911Z] f23df028b6ca: Waiting [2023-05-02T19:33:40.911Z] d65c8cfc05b1: Waiting [2023-05-02T19:33:40.911Z] 2437ff75d9bd: Waiting [2023-05-02T19:33:41.188Z] 04944245beec: Verifying Checksum [2023-05-02T19:33:41.188Z] 04944245beec: Download complete [2023-05-02T19:33:41.188Z] 765212b225bb: Verifying Checksum [2023-05-02T19:33:41.188Z] 765212b225bb: Download complete [2023-05-02T19:33:41.188Z] f23df028b6ca: Verifying Checksum [2023-05-02T19:33:41.188Z] f23df028b6ca: Download complete [2023-05-02T19:33:41.188Z] d65c8cfc05b1: Verifying Checksum [2023-05-02T19:33:41.188Z] d65c8cfc05b1: Download complete [2023-05-02T19:33:41.460Z] 699f458cf7ca: Verifying Checksum [2023-05-02T19:33:41.460Z] 699f458cf7ca: Download complete [2023-05-02T19:33:42.048Z] 8998bd30e6a1: Verifying Checksum [2023-05-02T19:33:42.048Z] 8998bd30e6a1: Download complete [2023-05-02T19:33:44.660Z] 2437ff75d9bd: Verifying Checksum [2023-05-02T19:33:46.611Z] 8998bd30e6a1: Pull complete [2023-05-02T19:33:46.611Z] 04944245beec: Pull complete [2023-05-02T19:33:48.041Z] 699f458cf7ca: Pull complete [2023-05-02T19:33:48.314Z] 765212b225bb: Pull complete [2023-05-02T19:33:48.900Z] f23df028b6ca: Pull complete [2023-05-02T19:33:49.172Z] d65c8cfc05b1: Pull complete [2023-05-02T19:34:04.179Z] 2437ff75d9bd: Pull complete [2023-05-02T19:34:04.179Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-02T19:34:04.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T19:34:04.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:34:04.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-12455 does not seem to be running inside a container [2023-05-02T19:34:04.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-02T19:34:08.070Z] $ docker top 0ef7845f004ade03e7b20298da65509509985e876ab7d1e48f5d65a2a8182b6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:09.031Z] ---> job-cost.sh [2023-05-02T19:34:09.031Z] lf-activate-venv: SKIPPING [2023-05-02T19:34:09.031Z] INFO: No Stack... [2023-05-02T19:34:09.615Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-02T19:34:10.199Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T19:34:10.865Z] + + catcut -d, -f6 [2023-05-02T19:34:10.865Z] /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-05-02T19:34:10.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [2023-05-02T19:34:10.953Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] did not exist. Created. [2023-05-02T19:34:10.954Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T19:34:11.689Z] /w/workspace/device-onvif-camera/1@tmp/durable-c289e48a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-02T19:34:12.366Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-02T19:34:12.403Z] Warning: overwriting stash ‘stack-cost’ [2023-05-02T19:34:12.458Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T19:34:12.476Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T19:34:12.566Z] $ docker stop --time=1 0ef7845f004ade03e7b20298da65509509985e876ab7d1e48f5d65a2a8182b6b [2023-05-02T19:34:14.091Z] $ docker rm -f --volumes 0ef7845f004ade03e7b20298da65509509985e876ab7d1e48f5d65a2a8182b6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-02T19:34:15.282Z] provisioning config files... [2023-05-02T19:34:15.306Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config7855542947028584928tmp [Pipeline] { [Pipeline] sh [2023-05-02T19:34:15.634Z] + set +x [2023-05-02T19:34:15.634Z] + curl -s https://codecov.io/bash [2023-05-02T19:34:15.634Z] + bash -s -- [2023-05-02T19:34:15.634Z] [2023-05-02T19:34:15.634Z] _____ _ [2023-05-02T19:34:15.634Z] / ____| | | [2023-05-02T19:34:15.634Z] | | ___ __| | ___ ___ _____ __ [2023-05-02T19:34:15.634Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-02T19:34:15.634Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-02T19:34:15.634Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-02T19:34:15.634Z] Bash-1.0.6 [2023-05-02T19:34:15.634Z] [2023-05-02T19:34:15.634Z] [2023-05-02T19:34:15.634Z] ==> git version 2.25.1 found [2023-05-02T19:34:15.634Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-02T19:34:15.634Z] Release-Date: 2020-01-08 [2023-05-02T19:34:15.634Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-02T19:34:15.634Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-02T19:34:15.634Z] ==> Jenkins CI detected. [2023-05-02T19:34:15.634Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-333 [2023-05-02T19:34:15.634Z] project root: . [2023-05-02T19:34:15.634Z] --> token set from env [2023-05-02T19:34:15.634Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-02T19:34:15.894Z] ==> Running gcov in . (disable via -X gcov) [2023-05-02T19:34:15.894Z] ==> Python coveragepy not found [2023-05-02T19:34:15.894Z] ==> Searching for coverage reports in: [2023-05-02T19:34:15.894Z] + . [2023-05-02T19:34:15.894Z] -> Found 1 reports [2023-05-02T19:34:15.894Z] ==> Detecting git/mercurial file structure [2023-05-02T19:34:15.894Z] ==> Reading reports [2023-05-02T19:34:15.894Z] + ./coverage.out bytes=80464 [2023-05-02T19:34:15.894Z] ==> Appending adjustments [2023-05-02T19:34:15.894Z] https://docs.codecov.io/docs/fixing-reports [2023-05-02T19:34:15.894Z] + Found adjustments [2023-05-02T19:34:15.894Z] ==> Gzipping contents [2023-05-02T19:34:15.894Z] 12K /tmp/codecov.32dMRN.gz [2023-05-02T19:34:15.894Z] ==> Uploading reports [2023-05-02T19:34:15.894Z] url: https://codecov.io [2023-05-02T19:34:15.894Z] query: branch=PR-333&commit=368d8b89130b295f0f6a05347d1e242a9a8adc29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-05-02T19:34:16.154Z] -> Pinging Codecov [2023-05-02T19:34:16.154Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-333&commit=368d8b89130b295f0f6a05347d1e242a9a8adc29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-05-02T19:34:16.154Z] -> Uploading to [2023-05-02T19:34:16.154Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-02/F29A59C45E3A92E06B3E522C9905F8EF/368d8b89130b295f0f6a05347d1e242a9a8adc29/5c2f9ab0-2df1-43e6-8b53-10696560317d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T193416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e47c9a6fb15197f0275dd6155fcc23db9528d414363f04f62c4e5168f803e254 [2023-05-02T19:34:16.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T19:34:16.154Z] Dload Upload Total Spent Left Speed [2023-05-02T19:34:16.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10687 0 0 100 10687 0 44344 --:--:-- --:--:-- --:--:-- 44529 [2023-05-02T19:34:16.416Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/368d8b89130b295f0f6a05347d1e242a9a8adc29 [Pipeline] } [2023-05-02T19:34:16.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-02T19:34:18.282Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-333/archives ] [2023-05-02T19:34:18.282Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives [2023-05-02T19:34:18.282Z] total 16 [2023-05-02T19:34:18.282Z] drwxr-xr-x 3 root root 4096 May 2 19:23 . [2023-05-02T19:34:18.282Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 19:23 .. [2023-05-02T19:34:18.282Z] drwxr-xr-x 2 root root 4096 May 2 19:23 cost [2023-05-02T19:34:18.282Z] -rw-r--r-- 1 root root 91 May 2 19:23 cost.csv [2023-05-02T19:34:18.282Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-333/archives [2023-05-02T19:34:18.282Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives [2023-05-02T19:34:18.282Z] total 16 [2023-05-02T19:34:18.282Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 19:23 . [2023-05-02T19:34:18.282Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 19:23 .. [2023-05-02T19:34:18.282Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 19:23 cost [2023-05-02T19:34:18.282Z] -rw-r--r-- 1 jenkins jenkins 91 May 2 19:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:18.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:19.520Z] ---> package-listing.sh [2023-05-02T19:34:19.521Z] ++ facter osfamily [2023-05-02T19:34:19.521Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-02T19:34:19.782Z] + OS_FAMILY=debian [2023-05-02T19:34:19.782Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-333 [2023-05-02T19:34:19.782Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-02T19:34:19.782Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-02T19:34:19.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-02T19:34:19.782Z] + PACKAGES=/tmp/packages_start.txt [2023-05-02T19:34:19.782Z] + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' [2023-05-02T19:34:19.782Z] + PACKAGES=/tmp/packages_end.txt [2023-05-02T19:34:19.782Z] + case "${OS_FAMILY}" in [2023-05-02T19:34:19.782Z] + dpkg -l [2023-05-02T19:34:19.782Z] + grep '^ii' [2023-05-02T19:34:19.782Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-02T19:34:19.782Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-02T19:34:19.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-02T19:34:19.782Z] + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' [2023-05-02T19:34:19.782Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-333/archives/ [2023-05-02T19:34:19.782Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-333/archives/ [Pipeline] echo [2023-05-02T19:34:19.814Z] 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-02T19:34:20.105Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T19:34:20.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T19:34:20.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T19:34:20.991Z] prd-ubuntu20.04-docker-8c-8g-12454 does not seem to be running inside a container [2023-05-02T19:34:21.023Z] $ 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-333/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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-02T19:34:21.230Z] $ docker top 2e839d184bc5c526da746d76306a7fb8d6b235bb24df6aef882c6aeca67b20cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T19:34:21.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-02T19:34:21.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-02T19:34:22.270Z] + ls /var/log/sa-host [2023-05-02T19:34:22.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T19:34:22.432Z] provisioning config files... [2023-05-02T19:34:22.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config14401901277419371551tmp [Pipeline] { [Pipeline] echo [2023-05-02T19:34:22.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:22.830Z] ---> create-netrc.sh [Pipeline] } [2023-05-02T19:34:22.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:23.270Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-02T19:34:23.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:23.628Z] ---> sudo-logs.sh [2023-05-02T19:34:23.629Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-02T19:34:23.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:24.033Z] ---> job-cost.sh [2023-05-02T19:34:24.033Z] lf-activate-venv: SKIPPING [2023-05-02T19:34:24.033Z] DEBUG: total: 0.2199999988079071 [2023-05-02T19:34:24.033Z] INFO: Retrieving Stack Cost... [2023-05-02T19:34:24.609Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T19:34:24.867Z] INFO: Archiving Costs [Pipeline] echo [2023-05-02T19:34:24.900Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T19:34:25.238Z] ---> logs-deploy.sh [2023-05-02T19:34:25.238Z] lf-activate-venv: SKIPPING [2023-05-02T19:34:25.238Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-333/1 [2023-05-02T19:34:25.238Z] INFO: archiving workspace using pattern(s): [2023-05-02T19:34:26.176Z] Archives upload complete. [2023-05-02T19:34:26.176Z] INFO: archiving logs to Nexus