Pull request #239 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 Einse57 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than ceb52f563926af8f88bd777a0edb74e9b5712f5c Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh7847006042599622285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11763385537644689317.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-239/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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3681600174921360031.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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9193352065285314404.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14753083397529880796.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-239/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-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14688198283463036679.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7395 in /w/workspace/undry_device-onvif-camera_PR-239 [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-239 # 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/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ceb52f563926af8f88bd777a0edb74e9b5712f5c Merge succeeded, producing ceb52f563926af8f88bd777a0edb74e9b5712f5c Checking out Revision ceb52f563926af8f88bd777a0edb74e9b5712f5c (PR-239) > git config core.sparsecheckout # timeout=10 > git checkout -f ceb52f563926af8f88bd777a0edb74e9b5712f5c # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ceb52f563926af8f88bd777a0edb74e9b5712f5c # timeout=10 Commit message: "Added notes and fixes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T22:15:01.066Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T22:15:01.245Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T22:15:01.345Z] ========================================================= [2023-02-24T22:15:01.345Z] EdgeX Global Pipelines Version Info [2023-02-24T22:15:01.345Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:15:02.481Z] ------------------- [2023-02-24T22:15:02.481Z] stable info: [2023-02-24T22:15:02.481Z] ------------------- [2023-02-24T22:15:02.481Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T22:15:02.481Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T22:15:02.481Z] Message: update stable to v1.0.244 [2023-02-24T22:15:02.740Z] ------------------- [2023-02-24T22:15:02.740Z] experimental info: [2023-02-24T22:15:02.740Z] ------------------- [2023-02-24T22:15:02.740Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T22:15:02.740Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T22:15:02.740Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T22:15:03.009Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-24T22:15:03.054Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-24T22:15:03.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T22:15:03.136Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T22:15:03.171Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T22:15:03.211Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T22:15:03.251Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T22:15:03.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-24T22:15:03.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T22:15:03.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T22:15:03.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T22:15:03.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-24T22:15:03.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T22:15:03.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T22:15:03.556Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T22:15:03.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T22:15:03.633Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T22:15:03.670Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T22:15:03.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T22:15:03.749Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T22:15:03.786Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T22:15:03.826Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-24T22:15:03.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T22:15:03.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T22:15:03.942Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T22:15:03.982Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T22:15:04.026Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T22:15:04.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo [2023-02-24T22:15:04.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo [2023-02-24T22:15:04.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo [2023-02-24T22:15:04.194Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ceb52f563926af8f88bd777a0edb74e9b5712f5c [Pipeline] echo [2023-02-24T22:15:04.235Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ceb52f5 [Pipeline] echo [2023-02-24T22:15:04.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T22:15:04.389Z] provisioning config files... [2023-02-24T22:15:04.404Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-239@tmp/config14538301061340225160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:15:04.755Z] ---> docker-login.sh [2023-02-24T22:15:04.755Z] nexus3.edgexfoundry.org:10001 [2023-02-24T22:15:05.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:05.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:05.274Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:05.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:05.274Z] [2023-02-24T22:15:05.274Z] Login Succeeded [2023-02-24T22:15:05.274Z] nexus3.edgexfoundry.org:10002 [2023-02-24T22:15:05.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:05.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:05.274Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:05.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:05.274Z] [2023-02-24T22:15:05.274Z] Login Succeeded [2023-02-24T22:15:05.274Z] nexus3.edgexfoundry.org:10003 [2023-02-24T22:15:05.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:05.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:05.536Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:05.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:05.536Z] [2023-02-24T22:15:05.536Z] Login Succeeded [2023-02-24T22:15:05.536Z] nexus3.edgexfoundry.org:10004 [2023-02-24T22:15:05.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:05.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:05.536Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:05.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:05.536Z] [2023-02-24T22:15:05.536Z] Login Succeeded [2023-02-24T22:15:05.536Z] docker.io [2023-02-24T22:15:05.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:05.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:05.800Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:05.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:05.800Z] [2023-02-24T22:15:05.800Z] Login Succeeded [2023-02-24T22:15:05.800Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T22:15:05.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T22:15:06.441Z] + git rev-list -1 --merges ceb52f563926af8f88bd777a0edb74e9b5712f5c~1..ceb52f563926af8f88bd777a0edb74e9b5712f5c [Pipeline] echo [2023-02-24T22:15:06.504Z] -----------> git rev-list -1 --merges ceb52f563926af8f88bd777a0edb74e9b5712f5c~1..ceb52f563926af8f88bd777a0edb74e9b5712f5c ceb52f563926af8f88bd777a0edb74e9b5712f5c [false] [Pipeline] sh [2023-02-24T22:15:06.811Z] + git log --format=format:%s -1 ceb52f563926af8f88bd777a0edb74e9b5712f5c [Pipeline] echo [2023-02-24T22:15:06.848Z] ========================================================= [2023-02-24T22:15:06.848Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T22:15:06.848Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T22:15:07.296Z] + git log --format=format:%s -1 ceb52f563926af8f88bd777a0edb74e9b5712f5c [Pipeline] echo [2023-02-24T22:15:07.327Z] [semverPrep] GIT_COMMIT: ceb52f563926af8f88bd777a0edb74e9b5712f5c, Commit Message: Added notes and fixes [Pipeline] echo [2023-02-24T22:15:07.357Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T22:15:07.752Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T22:15:07.752Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T22:15:07.752Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T22:15:07.752Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T22:15:07.752Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T22:15:07.752Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T22:15:07.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:15:08.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T22:15:08.244Z] [2023-02-24T22:15:08.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:15:08.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T22:15:08.622Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T22:15:08.622Z] b85a868b505f: Pulling fs layer [2023-02-24T22:15:08.622Z] e2be974225ed: Pulling fs layer [2023-02-24T22:15:08.622Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T22:15:08.622Z] 988bab9f4d93: Pulling fs layer [2023-02-24T22:15:08.622Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T22:15:08.622Z] eaf3925da568: Pulling fs layer [2023-02-24T22:15:08.622Z] bab4dde63d76: Pulling fs layer [2023-02-24T22:15:08.622Z] bde34c3a00c8: Pulling fs layer [2023-02-24T22:15:08.622Z] b352a97aabf1: Pulling fs layer [2023-02-24T22:15:08.622Z] 4872d77fe225: Pulling fs layer [2023-02-24T22:15:08.622Z] 5851b861e8e6: Pulling fs layer [2023-02-24T22:15:08.622Z] 988bab9f4d93: Waiting [2023-02-24T22:15:08.622Z] 1469e6f7b9e6: Waiting [2023-02-24T22:15:08.622Z] eaf3925da568: Waiting [2023-02-24T22:15:08.622Z] 4872d77fe225: Waiting [2023-02-24T22:15:08.622Z] 5851b861e8e6: Waiting [2023-02-24T22:15:08.622Z] bab4dde63d76: Waiting [2023-02-24T22:15:08.622Z] bde34c3a00c8: Waiting [2023-02-24T22:15:08.622Z] e2be974225ed: Verifying Checksum [2023-02-24T22:15:08.622Z] e2be974225ed: Download complete [2023-02-24T22:15:08.622Z] 988bab9f4d93: Verifying Checksum [2023-02-24T22:15:08.622Z] 988bab9f4d93: Download complete [2023-02-24T22:15:08.884Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T22:15:08.884Z] 1469e6f7b9e6: Download complete [2023-02-24T22:15:08.884Z] eaf3925da568: Download complete [2023-02-24T22:15:08.884Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T22:15:08.884Z] 339a4e72a1f5: Download complete [2023-02-24T22:15:08.884Z] bde34c3a00c8: Verifying Checksum [2023-02-24T22:15:08.884Z] bde34c3a00c8: Download complete [2023-02-24T22:15:08.884Z] b352a97aabf1: Verifying Checksum [2023-02-24T22:15:08.884Z] b352a97aabf1: Download complete [2023-02-24T22:15:08.884Z] 4872d77fe225: Verifying Checksum [2023-02-24T22:15:08.884Z] 4872d77fe225: Download complete [2023-02-24T22:15:08.884Z] 5851b861e8e6: Verifying Checksum [2023-02-24T22:15:08.884Z] 5851b861e8e6: Download complete [2023-02-24T22:15:08.884Z] b85a868b505f: Verifying Checksum [2023-02-24T22:15:08.884Z] b85a868b505f: Download complete [2023-02-24T22:15:09.143Z] bab4dde63d76: Verifying Checksum [2023-02-24T22:15:09.143Z] bab4dde63d76: Download complete [2023-02-24T22:15:10.081Z] b85a868b505f: Pull complete [2023-02-24T22:15:10.340Z] e2be974225ed: Pull complete [2023-02-24T22:15:10.912Z] 339a4e72a1f5: Pull complete [2023-02-24T22:15:10.912Z] 988bab9f4d93: Pull complete [2023-02-24T22:15:11.200Z] 1469e6f7b9e6: Pull complete [2023-02-24T22:15:11.200Z] eaf3925da568: Pull complete [2023-02-24T22:15:13.161Z] bab4dde63d76: Pull complete [2023-02-24T22:15:13.161Z] bde34c3a00c8: Pull complete [2023-02-24T22:15:13.421Z] b352a97aabf1: Pull complete [2023-02-24T22:15:13.421Z] 4872d77fe225: Pull complete [2023-02-24T22:15:13.421Z] 5851b861e8e6: Pull complete [2023-02-24T22:15:13.421Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T22:15:13.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T22:15:13.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:15:13.641Z] prd-ubuntu20.04-docker-8c-8g-7395 does not seem to be running inside a container [2023-02-24T22:15:13.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-239 -v /w/workspace/undry_device-onvif-camera_PR-239:/w/workspace/undry_device-onvif-camera_PR-239:rw,z -v /w/workspace/undry_device-onvif-camera_PR-239@tmp:/w/workspace/undry_device-onvif-camera_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T22:15:15.906Z] $ docker top 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 -eo pid,comm [2023-02-24T22:15:15.957Z] 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-02-24T22:15:15.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T22:15:16.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T22:15:16.087Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T22:15:16.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T22:15:16.204Z] $ docker exec 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 ssh-agent [2023-02-24T22:15:16.312Z] SSH_AUTH_SOCK=/tmp/ssh-C3Nq2qdhKx4I/agent.32 [2023-02-24T22:15:16.312Z] SSH_AGENT_PID=38 [2023-02-24T22:15:16.318Z] Running ssh-add (command line suppressed) [2023-02-24T22:15:16.422Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-239@tmp/private_key_5342224808967072844.key (/w/workspace/undry_device-onvif-camera_PR-239@tmp/private_key_5342224808967072844.key) [2023-02-24T22:15:16.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T22:15:16.766Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T22:15:16.789Z] $ docker exec --env ******** --env ******** 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 ssh-agent -k [2023-02-24T22:15:16.885Z] unset SSH_AUTH_SOCK; [2023-02-24T22:15:16.886Z] unset SSH_AGENT_PID; [2023-02-24T22:15:16.886Z] echo Agent pid 38 killed; [2023-02-24T22:15:16.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T22:15:17.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T22:15:17.000Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T22:15:17.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T22:15:17.113Z] $ docker exec 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 ssh-agent [2023-02-24T22:15:17.223Z] SSH_AUTH_SOCK=/tmp/ssh-t90DHY2TbBLM/agent.70 [2023-02-24T22:15:17.223Z] SSH_AGENT_PID=76 [2023-02-24T22:15:17.226Z] Running ssh-add (command line suppressed) [2023-02-24T22:15:17.338Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-239@tmp/private_key_17699513146437636745.key (/w/workspace/undry_device-onvif-camera_PR-239@tmp/private_key_17699513146437636745.key) [2023-02-24T22:15:17.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T22:15:17.688Z] + git semver init [2023-02-24T22:15:17.951Z] 2023-02-24 22:15:17,875 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T22:15:17.951Z] 2023-02-24 22:15:17,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-239/.semver [2023-02-24T22:15:17.951Z] 2023-02-24 22:15:17,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-239/.semver [2023-02-24T22:15:17.951Z] 2023-02-24 22:15:17,876 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-239/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-239, universal_newlines=False, shell=None, istream=None) [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:18,999 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-239/.git/info/exclude [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,000 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-239/.semver/PR-239 with force:False [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,000 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-239/.semver/PR-239 [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,005 [execute] INFO git cat-file --batch-check [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,014 [execute] INFO git cat-file --batch [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T22:15:19.332Z] 2023-02-24 22:15:19,021 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-239/.semver/PR-239 [2023-02-24T22:15:19.332Z] 0.0.0 [Pipeline] } [2023-02-24T22:15:19.357Z] $ docker exec --env ******** --env ******** 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 ssh-agent -k [2023-02-24T22:15:19.456Z] unset SSH_AUTH_SOCK; [2023-02-24T22:15:19.457Z] unset SSH_AGENT_PID; [2023-02-24T22:15:19.457Z] echo Agent pid 76 killed; [2023-02-24T22:15:19.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T22:15:19.886Z] + git semver [Pipeline] } [2023-02-24T22:15:20.169Z] $ docker stop --time=1 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 [2023-02-24T22:15:21.443Z] $ docker rm -f --volumes 92c9822f836c1e8f1fefdbd4ec44faa67637434dd5dbe3b391d5e5394b9b8985 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T22:15:21.831Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T22:15:22.092Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T22:15:22.110Z] [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-02-24T22:15:22.741Z] provisioning config files... [2023-02-24T22:15:22.749Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-239@tmp/config1627414926716814325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:15:23.099Z] ---> docker-login.sh [2023-02-24T22:15:23.099Z] nexus3.edgexfoundry.org:10001 [2023-02-24T22:15:23.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:23.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:23.099Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:23.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:23.099Z] [2023-02-24T22:15:23.099Z] Login Succeeded [2023-02-24T22:15:23.099Z] nexus3.edgexfoundry.org:10002 [2023-02-24T22:15:23.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:23.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:23.099Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:23.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:23.099Z] [2023-02-24T22:15:23.099Z] Login Succeeded [2023-02-24T22:15:23.099Z] nexus3.edgexfoundry.org:10003 [2023-02-24T22:15:23.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:23.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:23.358Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:23.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:23.358Z] [2023-02-24T22:15:23.358Z] Login Succeeded [2023-02-24T22:15:23.358Z] nexus3.edgexfoundry.org:10004 [2023-02-24T22:15:23.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:23.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:23.358Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:23.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:23.358Z] [2023-02-24T22:15:23.358Z] Login Succeeded [2023-02-24T22:15:23.358Z] docker.io [2023-02-24T22:15:23.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:15:23.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:15:23.618Z] Configure a credential helper to remove this warning. See [2023-02-24T22:15:23.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:15:23.618Z] [2023-02-24T22:15:23.618Z] Login Succeeded [2023-02-24T22:15:23.618Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T22:15:23.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T22:15:23.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T22:15:23.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T22:15:23.914Z] ========================================================= [2023-02-24T22:15:23.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T22:15:23.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:15:24.394Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T22:15:24.394Z] Sending build context to Docker daemon 27.73MB [2023-02-24T22:15:24.394Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T22:15:24.394Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-24T22:15:24.669Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T22:15:24.669Z] 213ec9aee27d: Pulling fs layer [2023-02-24T22:15:24.669Z] 4583459ba037: Pulling fs layer [2023-02-24T22:15:24.669Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T22:15:24.669Z] 53926ce57604: Pulling fs layer [2023-02-24T22:15:24.669Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T22:15:24.669Z] 22ff95d597cd: Pulling fs layer [2023-02-24T22:15:24.669Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T22:15:24.669Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T22:15:24.669Z] a7acece74701: Pulling fs layer [2023-02-24T22:15:24.669Z] 12d6caf4c0d1: Waiting [2023-02-24T22:15:24.669Z] 53926ce57604: Waiting [2023-02-24T22:15:24.669Z] 21b2b0c7a3f4: Waiting [2023-02-24T22:15:24.669Z] a7acece74701: Waiting [2023-02-24T22:15:24.669Z] 22ff95d597cd: Waiting [2023-02-24T22:15:24.669Z] 93c1e223e6f2: Download complete [2023-02-24T22:15:24.669Z] 4583459ba037: Verifying Checksum [2023-02-24T22:15:24.669Z] 4583459ba037: Download complete [2023-02-24T22:15:24.669Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-24T22:15:24.669Z] 21b2b0c7a3f4: Download complete [2023-02-24T22:15:24.669Z] 22ff95d597cd: Verifying Checksum [2023-02-24T22:15:24.669Z] 22ff95d597cd: Download complete [2023-02-24T22:15:24.669Z] 213ec9aee27d: Verifying Checksum [2023-02-24T22:15:24.669Z] 213ec9aee27d: Download complete [2023-02-24T22:15:24.669Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T22:15:24.669Z] 12d6caf4c0d1: Download complete [2023-02-24T22:15:24.934Z] 213ec9aee27d: Pull complete [2023-02-24T22:15:24.934Z] 4583459ba037: Pull complete [2023-02-24T22:15:24.934Z] 93c1e223e6f2: Pull complete [2023-02-24T22:15:25.509Z] a7acece74701: Verifying Checksum [2023-02-24T22:15:25.509Z] a7acece74701: Download complete [2023-02-24T22:15:25.510Z] 53926ce57604: Download complete [2023-02-24T22:15:25.510Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T22:15:25.510Z] 96b7cbca73a9: Download complete [2023-02-24T22:15:28.800Z] 53926ce57604: Pull complete [2023-02-24T22:15:29.058Z] 21b2b0c7a3f4: Pull complete [2023-02-24T22:15:29.058Z] 22ff95d597cd: Pull complete [2023-02-24T22:15:29.059Z] 12d6caf4c0d1: Pull complete [2023-02-24T22:15:31.594Z] 96b7cbca73a9: Pull complete [2023-02-24T22:15:32.162Z] a7acece74701: Pull complete [2023-02-24T22:15:32.162Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T22:15:32.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T22:15:32.162Z] ---> db6d94c90886 [2023-02-24T22:15:32.162Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-24T22:15:35.469Z] ---> Running in 3e018f615b96 [2023-02-24T22:15:35.727Z] Removing intermediate container 3e018f615b96 [2023-02-24T22:15:35.727Z] ---> bc79862a35d5 [2023-02-24T22:15:35.727Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T22:15:35.727Z] ---> Running in 50750b69cf4b [2023-02-24T22:15:35.727Z] Removing intermediate container 50750b69cf4b [2023-02-24T22:15:35.727Z] ---> 24a937c7c1fe [2023-02-24T22:15:35.727Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T22:15:35.727Z] ---> Running in 227b53bf11a8 [2023-02-24T22:15:35.987Z] Removing intermediate container 227b53bf11a8 [2023-02-24T22:15:35.987Z] ---> 3a2549da3010 [2023-02-24T22:15:35.987Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T22:15:35.987Z] ---> Running in 02500049b7ab [2023-02-24T22:15:35.987Z] Removing intermediate container 02500049b7ab [2023-02-24T22:15:35.987Z] ---> 93354319cb59 [2023-02-24T22:15:35.987Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-24T22:15:35.987Z] ---> Running in 8bf82648225e [2023-02-24T22:15:35.987Z] Removing intermediate container 8bf82648225e [2023-02-24T22:15:35.987Z] ---> 02fb335884b8 [2023-02-24T22:15:35.987Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T22:15:36.246Z] ---> Running in 3fbe2e34b7ea [2023-02-24T22:15:36.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T22:15:36.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T22:15:36.763Z] OK: 211 MiB in 51 packages [2023-02-24T22:15:37.021Z] Removing intermediate container 3fbe2e34b7ea [2023-02-24T22:15:37.021Z] ---> f3854232a513 [2023-02-24T22:15:37.021Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-24T22:15:37.021Z] ---> Running in 9df539399be4 [2023-02-24T22:15:37.278Z] Removing intermediate container 9df539399be4 [2023-02-24T22:15:37.278Z] ---> 3b4facc78e79 [2023-02-24T22:15:37.278Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-24T22:15:37.278Z] ---> 4aaa3bd15d6f [2023-02-24T22:15:37.278Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T22:15:37.278Z] ---> Running in bc9b8c03ec29 [2023-02-24T22:15:37.547Z] Still waiting to schedule task [2023-02-24T22:15:37.547Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-24T22:16:09.360Z] Removing intermediate container bc9b8c03ec29 [2023-02-24T22:16:09.360Z] ---> be647bdec14d [2023-02-24T22:16:09.360Z] Step 12/13 : COPY . . [2023-02-24T22:16:09.360Z] ---> 4c95f87d1a6d [2023-02-24T22:16:09.360Z] Step 13/13 : RUN ${MAKE} [2023-02-24T22:16:09.360Z] ---> Running in de43230d9fb9 [2023-02-24T22:16:09.360Z] noop [2023-02-24T22:16:09.929Z] Removing intermediate container de43230d9fb9 [2023-02-24T22:16:09.929Z] ---> ce76a950e277 [2023-02-24T22:16:09.929Z] Successfully built ce76a950e277 [2023-02-24T22:16:09.929Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:16:10.377Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T22:16:10.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:16:10.531Z] prd-ubuntu20.04-docker-8c-8g-7395 does not seem to be running inside a container [2023-02-24T22:16:10.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-239 -v /w/workspace/undry_device-onvif-camera_PR-239:/w/workspace/undry_device-onvif-camera_PR-239:rw,z -v /w/workspace/undry_device-onvif-camera_PR-239@tmp:/w/workspace/undry_device-onvif-camera_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-24T22:16:10.883Z] $ docker top d5c6344de0d47e50548d22b4ccd3f9698dff97ee14de8c4adb771a6995429387 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T22:16:11.264Z] + go version [2023-02-24T22:16:11.264Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T22:16:11.298Z] $ docker stop --time=1 d5c6344de0d47e50548d22b4ccd3f9698dff97ee14de8c4adb771a6995429387 [2023-02-24T22:16:12.581Z] $ docker rm -f --volumes d5c6344de0d47e50548d22b4ccd3f9698dff97ee14de8c4adb771a6995429387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:16:13.254Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T22:16:13.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:16:13.394Z] prd-ubuntu20.04-docker-8c-8g-7395 does not seem to be running inside a container [2023-02-24T22:16:13.427Z] $ 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-239 -v /w/workspace/undry_device-onvif-camera_PR-239:/w/workspace/undry_device-onvif-camera_PR-239:rw,z -v /w/workspace/undry_device-onvif-camera_PR-239@tmp:/w/workspace/undry_device-onvif-camera_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-24T22:16:13.746Z] $ docker top bbccdf5bb82d28e8851d2891bb15be7acba29d23129748f352bf2dfa5745a712 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T22:16:14.130Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-239 [Pipeline] fileExists [Pipeline] sh [2023-02-24T22:16:14.477Z] + make test [2023-02-24T22:16:14.477Z] go test ./... -coverprofile=coverage.out ./... [2023-02-24T22:16:14.734Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-24T22:16:26.928Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-24T22:16:28.304Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements [2023-02-24T22:16:28.304Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-24T22:16:28.304Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.586s coverage: 86.5% of statements [2023-02-24T22:16:36.413Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T22:16:36.413Z] go vet ./... [2023-02-24T22:16:39.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T22:16:39.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T22:16:39.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T22:16:39.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T22:16:39.787Z] $ docker stop --time=1 bbccdf5bb82d28e8851d2891bb15be7acba29d23129748f352bf2dfa5745a712 [2023-02-24T22:16:42.675Z] $ docker rm -f --volumes bbccdf5bb82d28e8851d2891bb15be7acba29d23129748f352bf2dfa5745a712 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T22:16:43.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T22:16:43.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T22:16:43.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T22:16:44.234Z] + ls -al . [2023-02-24T22:16:44.234Z] total 236 [2023-02-24T22:16:44.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 22:16 . [2023-02-24T22:16:44.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:14 .. [2023-02-24T22:16:44.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 22:16 .git [2023-02-24T22:16:44.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:14 .github [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 24 22:14 .gitignore [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 22:14 .golangci.yml [2023-02-24T22:16:44.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:15 .semver [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 24 22:14 Attribution.txt [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 24 22:14 CHANGELOG.md [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 24 22:14 Dockerfile [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 22:14 GOVERNANCE.md [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 24 22:14 Jenkinsfile [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 24 22:14 LICENSE [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 24 22:14 Makefile [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 24 22:14 OWNERS.md [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 24 22:14 README.md [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 22:15 VERSION [2023-02-24T22:16:44.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 22:14 bin [2023-02-24T22:16:44.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:14 cmd [2023-02-24T22:16:44.234Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 24 22:16 coverage.out [2023-02-24T22:16:44.234Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 22:14 doc [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 24 22:14 go.mod [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 24 22:14 go.sum [2023-02-24T22:16:44.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:14 internal [2023-02-24T22:16:44.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:14 snap [2023-02-24T22:16:44.234Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 24 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:16:44.649Z] + 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=ceb52f563926af8f88bd777a0edb74e9b5712f5c --label arch=amd64 --label version=0.0.0 . [2023-02-24T22:16:44.649Z] Sending build context to Docker daemon 27.81MB [2023-02-24T22:16:44.649Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T22:16:44.649Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-24T22:16:44.649Z] ---> ce76a950e277 [2023-02-24T22:16:44.649Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-24T22:16:45.218Z] ---> Running in 943d0c964534 [2023-02-24T22:16:45.218Z] Removing intermediate container 943d0c964534 [2023-02-24T22:16:45.218Z] ---> d545da39ee44 [2023-02-24T22:16:45.218Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T22:16:45.218Z] ---> Running in 1bc0eec905a8 [2023-02-24T22:16:45.218Z] Removing intermediate container 1bc0eec905a8 [2023-02-24T22:16:45.218Z] ---> 27c1ae918b58 [2023-02-24T22:16:45.218Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T22:16:45.482Z] ---> Running in 2f0e6191009b [2023-02-24T22:16:45.482Z] Removing intermediate container 2f0e6191009b [2023-02-24T22:16:45.482Z] ---> 1bbd47d65c92 [2023-02-24T22:16:45.482Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T22:16:45.482Z] ---> Running in 6a7259ef6684 [2023-02-24T22:16:45.482Z] Removing intermediate container 6a7259ef6684 [2023-02-24T22:16:45.482Z] ---> e8acaee70a0d [2023-02-24T22:16:45.482Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-24T22:16:45.482Z] ---> Running in 16cfe1b1d445 [2023-02-24T22:16:45.740Z] Removing intermediate container 16cfe1b1d445 [2023-02-24T22:16:45.740Z] ---> 49fd1619ec7c [2023-02-24T22:16:45.740Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T22:16:45.740Z] ---> Running in 0a08a8ac6b55 [2023-02-24T22:16:45.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T22:16:45.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T22:16:46.257Z] OK: 211 MiB in 51 packages [2023-02-24T22:16:46.826Z] Removing intermediate container 0a08a8ac6b55 [2023-02-24T22:16:46.826Z] ---> 9c0a0bfbcabd [2023-02-24T22:16:46.826Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-24T22:16:46.826Z] ---> Running in f968e93af90b [2023-02-24T22:16:46.826Z] Removing intermediate container f968e93af90b [2023-02-24T22:16:46.826Z] ---> 3e7e1b1be0ab [2023-02-24T22:16:46.826Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-24T22:16:46.826Z] ---> 18981fde8d8f [2023-02-24T22:16:46.826Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T22:16:46.826Z] ---> Running in 2802fc5467a5 [2023-02-24T22:16:47.761Z] Removing intermediate container 2802fc5467a5 [2023-02-24T22:16:47.761Z] ---> d607999c6b43 [2023-02-24T22:16:47.761Z] Step 12/26 : COPY . . [2023-02-24T22:16:48.922Z] ---> 74a885c3161f [2023-02-24T22:16:48.923Z] Step 13/26 : RUN ${MAKE} [2023-02-24T22:16:48.923Z] ---> Running in 3a66eabc00ce [2023-02-24T22:16:48.923Z] 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-02-24T22:17:09.839Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7396 in /w/workspace/undry_device-onvif-camera_PR-239 [Pipeline] { [Pipeline] ws [2023-02-24T22:17:09.897Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-24T22:17:09.985Z] The recommended git tool is: git [2023-02-24T22:17:10.893Z] Removing intermediate container 3a66eabc00ce [2023-02-24T22:17:10.893Z] ---> afdb029af787 [2023-02-24T22:17:10.893Z] Step 14/26 : FROM alpine:3.16 [2023-02-24T22:17:10.893Z] 3.16: Pulling from library/alpine [2023-02-24T22:17:10.893Z] ef5531b6e74e: Pulling fs layer [2023-02-24T22:17:10.893Z] ef5531b6e74e: Verifying Checksum [2023-02-24T22:17:10.893Z] ef5531b6e74e: Download complete [2023-02-24T22:17:10.893Z] ef5531b6e74e: Pull complete [2023-02-24T22:17:10.893Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T22:17:10.893Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T22:17:10.893Z] ---> dfd21b5a31f5 [2023-02-24T22:17:10.893Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-24T22:17:10.893Z] ---> Running in 6fb19a1f4500 [2023-02-24T22:17:11.152Z] Removing intermediate container 6fb19a1f4500 [2023-02-24T22:17:11.152Z] ---> 3a6c2f23e252 [2023-02-24T22:17:11.152Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-24T22:17:11.152Z] ---> Running in a8830d8205ac [2023-02-24T22:17:11.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T22:17:11.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T22:17:11.672Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T22:17:11.672Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T22:17:11.672Z] OK: 6 MiB in 15 packages [2023-02-24T22:17:12.239Z] Removing intermediate container a8830d8205ac [2023-02-24T22:17:12.239Z] ---> 0b736060df3e [2023-02-24T22:17:12.239Z] Step 17/26 : WORKDIR / [2023-02-24T22:17:12.239Z] ---> Running in a04da2184e6c [2023-02-24T22:17:12.239Z] Removing intermediate container a04da2184e6c [2023-02-24T22:17:12.240Z] ---> e8f9e27805e0 [2023-02-24T22:17:12.240Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-24T22:17:13.199Z] ---> 36b34d1587cd [2023-02-24T22:17:13.199Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-24T22:17:13.199Z] ---> 37076f60e307 [2023-02-24T22:17:13.199Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-24T22:17:13.199Z] ---> 344e6e350f3d [2023-02-24T22:17:13.199Z] Step 21/26 : EXPOSE 59984 [2023-02-24T22:17:13.459Z] ---> Running in c68cd44e00a1 [2023-02-24T22:17:13.459Z] Removing intermediate container c68cd44e00a1 [2023-02-24T22:17:13.459Z] ---> a5d7d0110960 [2023-02-24T22:17:13.459Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-24T22:17:13.459Z] ---> Running in 42175a5bbb3d [2023-02-24T22:17:13.459Z] Removing intermediate container 42175a5bbb3d [2023-02-24T22:17:13.459Z] ---> a2d32c9a235b [2023-02-24T22:17:13.459Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T22:17:13.459Z] ---> Running in 77f25054530a [2023-02-24T22:17:13.717Z] Removing intermediate container 77f25054530a [2023-02-24T22:17:13.717Z] ---> 4a2dc8585e43 [2023-02-24T22:17:13.717Z] Step 24/26 : LABEL arch=amd64 [2023-02-24T22:17:13.717Z] ---> Running in 3304ad2b6887 [2023-02-24T22:17:13.717Z] Removing intermediate container 3304ad2b6887 [2023-02-24T22:17:13.717Z] ---> ad0cd5f4febe [2023-02-24T22:17:13.717Z] Step 25/26 : LABEL git_sha=ceb52f563926af8f88bd777a0edb74e9b5712f5c [2023-02-24T22:17:13.717Z] ---> Running in f3f566a9033c [2023-02-24T22:17:13.717Z] Removing intermediate container f3f566a9033c [2023-02-24T22:17:13.717Z] ---> cf6c6ada5233 [2023-02-24T22:17:13.717Z] Step 26/26 : LABEL version=0.0.0 [2023-02-24T22:17:13.717Z] ---> Running in c70fad3cdc6c [2023-02-24T22:17:13.976Z] Removing intermediate container c70fad3cdc6c [2023-02-24T22:17:13.976Z] ---> 3d4c05b88a6a [2023-02-24T22:17:13.976Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T22:17:13.976Z] Successfully built 3d4c05b88a6a [2023-02-24T22:17:13.976Z] 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-02-24T22:17:14.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T22:17:14.808Z] [2023-02-24T22:17:14.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:17:15.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T22:17:15.184Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T22:17:15.184Z] 5eb5b503b376: Pulling fs layer [2023-02-24T22:17:15.184Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T22:17:15.184Z] ec43610c2a17: Pulling fs layer [2023-02-24T22:17:15.184Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T22:17:15.184Z] 33b1e0a273af: Pulling fs layer [2023-02-24T22:17:15.184Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T22:17:15.184Z] 2f39f015ded8: Pulling fs layer [2023-02-24T22:17:15.184Z] 2f39f015ded8: Waiting [2023-02-24T22:17:15.184Z] 33b1e0a273af: Waiting [2023-02-24T22:17:15.184Z] 3a2ae6a8a46f: Waiting [2023-02-24T22:17:15.184Z] 5d3b04190fa2: Waiting [2023-02-24T22:17:15.184Z] 5c69ac0246d0: Verifying Checksum [2023-02-24T22:17:15.184Z] 5c69ac0246d0: Download complete [2023-02-24T22:17:15.184Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T22:17:15.184Z] 3a2ae6a8a46f: Download complete [2023-02-24T22:17:15.367Z] using credential edgex-jenkins-ssh [2023-02-24T22:17:15.382Z] Cloning the remote Git repository [2023-02-24T22:17:15.443Z] ec43610c2a17: Verifying Checksum [2023-02-24T22:17:15.443Z] ec43610c2a17: Download complete [2023-02-24T22:17:15.443Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T22:17:15.443Z] 5d3b04190fa2: Download complete [2023-02-24T22:17:15.443Z] 33b1e0a273af: Verifying Checksum [2023-02-24T22:17:15.443Z] 33b1e0a273af: Download complete [2023-02-24T22:17:15.443Z] 5eb5b503b376: Verifying Checksum [2023-02-24T22:17:15.443Z] 5eb5b503b376: Download complete [2023-02-24T22:17:16.007Z] 2f39f015ded8: Download complete [2023-02-24T22:17:15.431Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T22:17:15.532Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-24T22:17:15.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T22:17:15.677Z] > git --version # timeout=10 [2023-02-24T22:17:15.699Z] > git --version # 'git version 2.25.1' [2023-02-24T22:17:15.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T22:17:15.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T22:17:16.573Z] 5eb5b503b376: Pull complete [2023-02-24T22:17:16.831Z] 5c69ac0246d0: Pull complete [2023-02-24T22:17:17.090Z] ec43610c2a17: Pull complete [2023-02-24T22:17:17.090Z] 3a2ae6a8a46f: Pull complete [2023-02-24T22:17:17.348Z] 33b1e0a273af: Pull complete [2023-02-24T22:17:17.348Z] 5d3b04190fa2: Pull complete [2023-02-24T22:17:17.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-24T22:17:17.206Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T22:17:18.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-24T22:17:18.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T22:17:18.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T22:17:18.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T22:17:18.811Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ceb52f563926af8f88bd777a0edb74e9b5712f5c [2023-02-24T22:17:19.271Z] Merge succeeded, producing ceb52f563926af8f88bd777a0edb74e9b5712f5c [2023-02-24T22:17:19.272Z] Checking out Revision ceb52f563926af8f88bd777a0edb74e9b5712f5c (PR-239) [2023-02-24T22:17:18.834Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T22:17:18.864Z] > git checkout -f ceb52f563926af8f88bd777a0edb74e9b5712f5c # timeout=10 [2023-02-24T22:17:19.169Z] > git remote # timeout=10 [2023-02-24T22:17:19.185Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T22:17:19.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T22:17:19.219Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-24T22:17:19.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T22:17:19.283Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T22:17:19.296Z] > git checkout -f ceb52f563926af8f88bd777a0edb74e9b5712f5c # timeout=10 [2023-02-24T22:17:21.535Z] 2f39f015ded8: Pull complete [2023-02-24T22:17:21.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T22:17:21.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T22:17:21.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:17:21.763Z] prd-ubuntu20.04-docker-8c-8g-7395 does not seem to be running inside a container [2023-02-24T22:17:21.796Z] $ 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-239 -v /w/workspace/undry_device-onvif-camera_PR-239:/w/workspace/undry_device-onvif-camera_PR-239:rw,z -v /w/workspace/undry_device-onvif-camera_PR-239@tmp:/w/workspace/undry_device-onvif-camera_PR-239@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-02-24T22:17:22.938Z] Commit message: "Added notes and fixes" [2023-02-24T22:17:22.997Z] > git --version # timeout=10 [2023-02-24T22:17:23.016Z] > git --version # 'git version 2.25.1' [2023-02-24T22:17:23.035Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T22:17:23.518Z] [2023-02-24T22:17:23.518Z] GitHub has been notified of this commit’s build result [2023-02-24T22:17:23.518Z] [2023-02-24T22:17:26.913Z] $ docker top fe5e293b2ba14dd15feb9e1e7780bdf0dbf8650ab0eeef54eb4ee915ec53b3d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T22:17:27.357Z] ---> job-cost.sh [2023-02-24T22:17:27.357Z] lf-activate-venv: SKIPPING [2023-02-24T22:17:27.357Z] INFO: No Stack... [2023-02-24T22:17:27.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T22:17:27.789Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T22:17:27.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T22:17:27.789Z] Dload Upload Total Spent Left Speed [2023-02-24T22:17:27.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68924 [2023-02-24T22:17:27.873Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T22:17:28.184Z] + cat /w/workspace/undry_device-onvif-camera_PR-239/archives/cost.csv [2023-02-24T22:17:28.184Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T22:17:28.223Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [2023-02-24T22:17:28.227Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] did not exist. Created. [2023-02-24T22:17:28.227Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2023-02-24T22:17:28.597Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T22:17:28.678Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T22:17:28.765Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T22:17:28.792Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T22:17:28.885Z] $ docker stop --time=1 fe5e293b2ba14dd15feb9e1e7780bdf0dbf8650ab0eeef54eb4ee915ec53b3d7 [2023-02-24T22:17:28.943Z] + sudo tee /etc/docker/daemon.new [2023-02-24T22:17:28.943Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T22:17:28.943Z] { [2023-02-24T22:17:28.943Z] "registry-mirrors": [ [2023-02-24T22:17:28.943Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T22:17:28.943Z] ], [2023-02-24T22:17:28.943Z] "bip": "10.250.0.254/24", [2023-02-24T22:17:28.943Z] "hosts": [ [2023-02-24T22:17:28.943Z] "tcp://0.0.0.0:5555", [2023-02-24T22:17:28.943Z] "unix:///var/run/docker.sock" [2023-02-24T22:17:28.943Z] ], [2023-02-24T22:17:28.943Z] "mtu": 1458, [2023-02-24T22:17:28.943Z] "selinux-enabled": true, [2023-02-24T22:17:28.943Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T22:17:28.943Z] } [2023-02-24T22:17:30.032Z] $ docker rm -f --volumes fe5e293b2ba14dd15feb9e1e7780bdf0dbf8650ab0eeef54eb4ee915ec53b3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T22:17:30.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T22:17:30.852Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T22:17:49.164Z] provisioning config files... [2023-02-24T22:17:49.194Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3800145222986821988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:17:49.583Z] ---> docker-login.sh [2023-02-24T22:17:49.583Z] nexus3.edgexfoundry.org:10001 [2023-02-24T22:17:49.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:17:50.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:17:50.121Z] Configure a credential helper to remove this warning. See [2023-02-24T22:17:50.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:17:50.121Z] [2023-02-24T22:17:50.121Z] Login Succeeded [2023-02-24T22:17:50.121Z] nexus3.edgexfoundry.org:10002 [2023-02-24T22:17:50.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:17:50.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:17:50.390Z] Configure a credential helper to remove this warning. See [2023-02-24T22:17:50.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:17:50.390Z] [2023-02-24T22:17:50.390Z] Login Succeeded [2023-02-24T22:17:50.390Z] nexus3.edgexfoundry.org:10003 [2023-02-24T22:17:50.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:17:50.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:17:50.925Z] Configure a credential helper to remove this warning. See [2023-02-24T22:17:50.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:17:50.926Z] [2023-02-24T22:17:50.926Z] Login Succeeded [2023-02-24T22:17:50.926Z] nexus3.edgexfoundry.org:10004 [2023-02-24T22:17:51.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:17:51.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:17:51.199Z] Configure a credential helper to remove this warning. See [2023-02-24T22:17:51.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:17:51.199Z] [2023-02-24T22:17:51.199Z] Login Succeeded [2023-02-24T22:17:51.199Z] docker.io [2023-02-24T22:17:51.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T22:17:51.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T22:17:51.736Z] Configure a credential helper to remove this warning. See [2023-02-24T22:17:51.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T22:17:51.736Z] [2023-02-24T22:17:51.736Z] Login Succeeded [2023-02-24T22:17:51.736Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T22:17:51.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T22:17:52.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T22:17:52.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T22:17:52.190Z] ========================================================= [2023-02-24T22:17:52.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T22:17:52.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:17:52.693Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T22:17:53.281Z] Sending build context to Docker daemon 20.56MB [2023-02-24T22:17:53.281Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T22:17:53.281Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-24T22:17:55.872Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T22:17:55.872Z] 9b18e9b68314: Pulling fs layer [2023-02-24T22:17:55.872Z] 35d82f9e3411: Pulling fs layer [2023-02-24T22:17:55.872Z] e16973657156: Pulling fs layer [2023-02-24T22:17:55.872Z] fc693d55d65f: Pulling fs layer [2023-02-24T22:17:55.872Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T22:17:55.872Z] dda99020689f: Pulling fs layer [2023-02-24T22:17:55.872Z] db1c61fa0a46: Pulling fs layer [2023-02-24T22:17:55.872Z] 891c053d2c06: Pulling fs layer [2023-02-24T22:17:55.872Z] fc693d55d65f: Waiting [2023-02-24T22:17:55.872Z] 7e9fc2657dce: Waiting [2023-02-24T22:17:55.872Z] dda99020689f: Waiting [2023-02-24T22:17:55.872Z] db1c61fa0a46: Waiting [2023-02-24T22:17:55.872Z] 891c053d2c06: Waiting [2023-02-24T22:17:55.872Z] e16973657156: Verifying Checksum [2023-02-24T22:17:55.872Z] e16973657156: Download complete [2023-02-24T22:17:55.872Z] 35d82f9e3411: Verifying Checksum [2023-02-24T22:17:55.872Z] 35d82f9e3411: Download complete [2023-02-24T22:17:55.872Z] 7e9fc2657dce: Verifying Checksum [2023-02-24T22:17:55.872Z] 7e9fc2657dce: Download complete [2023-02-24T22:17:55.872Z] dda99020689f: Verifying Checksum [2023-02-24T22:17:55.872Z] dda99020689f: Download complete [2023-02-24T22:17:55.872Z] 9b18e9b68314: Verifying Checksum [2023-02-24T22:17:55.872Z] 9b18e9b68314: Download complete [2023-02-24T22:17:56.460Z] 9b18e9b68314: Pull complete [2023-02-24T22:17:56.730Z] 891c053d2c06: Verifying Checksum [2023-02-24T22:17:56.730Z] 891c053d2c06: Download complete [2023-02-24T22:17:56.998Z] 35d82f9e3411: Pull complete [2023-02-24T22:17:57.587Z] e16973657156: Pull complete [2023-02-24T22:17:57.864Z] db1c61fa0a46: Verifying Checksum [2023-02-24T22:17:57.864Z] db1c61fa0a46: Download complete [2023-02-24T22:17:58.451Z] fc693d55d65f: Verifying Checksum [2023-02-24T22:17:58.451Z] fc693d55d65f: Download complete [2023-02-24T22:18:10.772Z] fc693d55d65f: Pull complete [2023-02-24T22:18:10.772Z] 7e9fc2657dce: Pull complete [2023-02-24T22:18:10.772Z] dda99020689f: Pull complete [2023-02-24T22:18:16.151Z] db1c61fa0a46: Pull complete [2023-02-24T22:18:18.091Z] 891c053d2c06: Pull complete [2023-02-24T22:18:18.091Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T22:18:18.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T22:18:18.091Z] ---> f96f9c87975a [2023-02-24T22:18:18.091Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-24T22:18:20.045Z] ---> Running in ded91169ef4c [2023-02-24T22:18:20.045Z] Removing intermediate container ded91169ef4c [2023-02-24T22:18:20.045Z] ---> 6cf9ca941cd6 [2023-02-24T22:18:20.045Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T22:18:20.045Z] ---> Running in 3ba7261b5c81 [2023-02-24T22:18:20.315Z] Removing intermediate container 3ba7261b5c81 [2023-02-24T22:18:20.315Z] ---> 53e90d65d09f [2023-02-24T22:18:20.315Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T22:18:20.583Z] ---> Running in 13928a6e7c88 [2023-02-24T22:18:20.858Z] Removing intermediate container 13928a6e7c88 [2023-02-24T22:18:20.858Z] ---> fdba3800ef9c [2023-02-24T22:18:20.858Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T22:18:20.858Z] ---> Running in c49ad37d4f3f [2023-02-24T22:18:21.126Z] Removing intermediate container c49ad37d4f3f [2023-02-24T22:18:21.126Z] ---> becb6bbe560f [2023-02-24T22:18:21.126Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-24T22:18:21.126Z] ---> Running in 205b0990cebe [2023-02-24T22:18:21.714Z] Removing intermediate container 205b0990cebe [2023-02-24T22:18:21.714Z] ---> ba643e223393 [2023-02-24T22:18:21.714Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T22:18:21.714Z] ---> Running in 9c05df170026 [2023-02-24T22:18:22.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T22:18:23.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T22:18:24.258Z] OK: 221 MiB in 51 packages [2023-02-24T22:18:25.216Z] Removing intermediate container 9c05df170026 [2023-02-24T22:18:25.216Z] ---> 0e2332cefedb [2023-02-24T22:18:25.216Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-24T22:18:25.216Z] ---> Running in fa470797eb1d [2023-02-24T22:18:25.484Z] Removing intermediate container fa470797eb1d [2023-02-24T22:18:25.484Z] ---> a886b61bde8e [2023-02-24T22:18:25.484Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-24T22:18:25.750Z] ---> 602ea44bd31d [2023-02-24T22:18:25.750Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T22:18:26.019Z] ---> Running in 806dc738d787 [2023-02-24T22:19:33.886Z] Removing intermediate container 806dc738d787 [2023-02-24T22:19:33.886Z] ---> 0f7062c68af7 [2023-02-24T22:19:33.886Z] Step 12/13 : COPY . . [2023-02-24T22:19:33.886Z] ---> a462582c1646 [2023-02-24T22:19:33.886Z] Step 13/13 : RUN ${MAKE} [2023-02-24T22:19:33.886Z] ---> Running in 6f4bc2709cad [2023-02-24T22:19:33.886Z] noop [2023-02-24T22:19:33.887Z] Removing intermediate container 6f4bc2709cad [2023-02-24T22:19:33.887Z] ---> ffb0d0fc4228 [2023-02-24T22:19:33.887Z] Successfully built ffb0d0fc4228 [2023-02-24T22:19:33.887Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:19:34.415Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T22:19:34.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:19:34.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-7396 does not seem to be running inside a container [2023-02-24T22:19:34.729Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-24T22:19:35.842Z] $ docker top de54d1deaf383b51cbdae9c3e67d488275fae9f2f06bfd1a29826d19cf2a4b44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T22:19:36.708Z] + go version [2023-02-24T22:19:36.708Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T22:19:36.737Z] $ docker stop --time=1 de54d1deaf383b51cbdae9c3e67d488275fae9f2f06bfd1a29826d19cf2a4b44 [2023-02-24T22:19:38.350Z] $ docker rm -f --volumes de54d1deaf383b51cbdae9c3e67d488275fae9f2f06bfd1a29826d19cf2a4b44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:19:39.152Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T22:19:39.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:19:39.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-7396 does not seem to be running inside a container [2023-02-24T22:19:39.535Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-24T22:19:40.709Z] $ docker top 80e9812b75b7dfe3aa2ad02ad63472528a4b6b540a2f2ae471e6d02c61fb4daa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T22:19:41.578Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-24T22:19:41.965Z] + make test [2023-02-24T22:19:41.965Z] go test ./... -coverprofile=coverage.out ./... [2023-02-24T22:19:43.914Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-24T22:21:20.564Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-24T22:21:20.564Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 29.3% of statements [2023-02-24T22:21:20.564Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-24T22:21:38.804Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.197s coverage: 86.5% of statements [2023-02-24T22:21:38.804Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T22:21:38.804Z] go vet ./... [2023-02-24T22:22:11.037Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T22:22:11.037Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T22:22:11.037Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T22:22:11.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T22:22:11.160Z] $ docker stop --time=1 80e9812b75b7dfe3aa2ad02ad63472528a4b6b540a2f2ae471e6d02c61fb4daa [2023-02-24T22:22:13.018Z] $ docker rm -f --volumes 80e9812b75b7dfe3aa2ad02ad63472528a4b6b540a2f2ae471e6d02c61fb4daa [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T22:22:14.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T22:22:14.103Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T22:22:14.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T22:22:15.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T22:22:15.565Z] + ls -al . [2023-02-24T22:22:15.565Z] total 232 [2023-02-24T22:22:15.565Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 22:19 . [2023-02-24T22:22:15.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:17 .. [2023-02-24T22:22:15.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 22:17 .git [2023-02-24T22:22:15.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:17 .github [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 24 22:17 .gitignore [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 22:17 .golangci.yml [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 24 22:17 Attribution.txt [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 24 22:17 CHANGELOG.md [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 24 22:17 Dockerfile [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 22:17 GOVERNANCE.md [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 24 22:17 Jenkinsfile [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 24 22:17 LICENSE [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 24 22:17 Makefile [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 24 22:17 OWNERS.md [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 24 22:17 README.md [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 22:15 VERSION [2023-02-24T22:22:15.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 22:17 bin [2023-02-24T22:22:15.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:17 cmd [2023-02-24T22:22:15.565Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 24 22:21 coverage.out [2023-02-24T22:22:15.565Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 22:17 doc [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 24 22:17 go.mod [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 24 22:17 go.sum [2023-02-24T22:22:15.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:17 internal [2023-02-24T22:22:15.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:17 snap [2023-02-24T22:22:15.565Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 24 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:22:15.981Z] + 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=ceb52f563926af8f88bd777a0edb74e9b5712f5c --label arch=arm64 --label version=0.0.0 . [2023-02-24T22:22:16.568Z] Sending build context to Docker daemon 20.64MB [2023-02-24T22:22:16.569Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T22:22:16.569Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-24T22:22:16.569Z] ---> ffb0d0fc4228 [2023-02-24T22:22:16.569Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-24T22:22:16.837Z] ---> Running in a298a006455d [2023-02-24T22:22:17.104Z] Removing intermediate container a298a006455d [2023-02-24T22:22:17.104Z] ---> 7e9e2f02c8ed [2023-02-24T22:22:17.104Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T22:22:17.104Z] ---> Running in 24fd70fe6c60 [2023-02-24T22:22:17.373Z] Removing intermediate container 24fd70fe6c60 [2023-02-24T22:22:17.373Z] ---> d10d54274383 [2023-02-24T22:22:17.373Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T22:22:17.373Z] ---> Running in f18d4764d61b [2023-02-24T22:22:17.970Z] Removing intermediate container f18d4764d61b [2023-02-24T22:22:17.970Z] ---> 8a20ca8fac71 [2023-02-24T22:22:17.970Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T22:22:17.970Z] ---> Running in d7ba15bb017e [2023-02-24T22:22:18.238Z] Removing intermediate container d7ba15bb017e [2023-02-24T22:22:18.238Z] ---> 412bc4804b7d [2023-02-24T22:22:18.238Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-24T22:22:18.238Z] ---> Running in e8a1920213fa [2023-02-24T22:22:18.505Z] Removing intermediate container e8a1920213fa [2023-02-24T22:22:18.505Z] ---> 4ea81a1d9a0e [2023-02-24T22:22:18.505Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T22:22:18.505Z] ---> Running in a6e85f5db3e7 [2023-02-24T22:22:19.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T22:22:20.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T22:22:21.020Z] OK: 221 MiB in 51 packages [2023-02-24T22:22:21.611Z] Removing intermediate container a6e85f5db3e7 [2023-02-24T22:22:21.611Z] ---> 0df9691d1082 [2023-02-24T22:22:21.611Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-24T22:22:21.879Z] ---> Running in a3c7e1d98c04 [2023-02-24T22:22:22.149Z] Removing intermediate container a3c7e1d98c04 [2023-02-24T22:22:22.149Z] ---> a8bcae0a3171 [2023-02-24T22:22:22.149Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-24T22:22:22.738Z] ---> 1e3a5623bbd3 [2023-02-24T22:22:22.738Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T22:22:22.738Z] ---> Running in 3f9c9b553085 [2023-02-24T22:22:27.123Z] Removing intermediate container 3f9c9b553085 [2023-02-24T22:22:27.123Z] ---> a51f689407cf [2023-02-24T22:22:27.123Z] Step 12/26 : COPY . . [2023-02-24T22:22:29.139Z] ---> 77e6fface675 [2023-02-24T22:22:29.139Z] Step 13/26 : RUN ${MAKE} [2023-02-24T22:22:29.139Z] ---> Running in e8bd1e194f20 [2023-02-24T22:22:29.729Z] 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-02-24T22:24:51.442Z] Removing intermediate container e8bd1e194f20 [2023-02-24T22:24:51.442Z] ---> 6c1238fe5823 [2023-02-24T22:24:51.442Z] Step 14/26 : FROM alpine:3.16 [2023-02-24T22:24:51.442Z] 3.16: Pulling from library/alpine [2023-02-24T22:24:51.442Z] 3760b48202b3: Pulling fs layer [2023-02-24T22:24:51.442Z] 3760b48202b3: Verifying Checksum [2023-02-24T22:24:51.442Z] 3760b48202b3: Download complete [2023-02-24T22:24:51.442Z] 3760b48202b3: Pull complete [2023-02-24T22:24:51.442Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T22:24:51.442Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T22:24:51.442Z] ---> 4c81e5bf8899 [2023-02-24T22:24:51.442Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-24T22:24:51.442Z] ---> Running in c8e0b644427b [2023-02-24T22:24:51.442Z] Removing intermediate container c8e0b644427b [2023-02-24T22:24:51.442Z] ---> f4b2314a2ca9 [2023-02-24T22:24:51.442Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-24T22:24:51.442Z] ---> Running in 7914552d17a0 [2023-02-24T22:24:51.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T22:24:51.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T22:24:51.442Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T22:24:51.442Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T22:24:51.442Z] OK: 5 MiB in 15 packages [2023-02-24T22:24:51.442Z] Removing intermediate container 7914552d17a0 [2023-02-24T22:24:51.442Z] ---> a583e739e1f9 [2023-02-24T22:24:51.442Z] Step 17/26 : WORKDIR / [2023-02-24T22:24:51.442Z] ---> Running in 1647a4b8f7bd [2023-02-24T22:24:51.442Z] Removing intermediate container 1647a4b8f7bd [2023-02-24T22:24:51.442Z] ---> 4bd79ee3980a [2023-02-24T22:24:51.442Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-24T22:24:52.405Z] ---> 740d13aa5418 [2023-02-24T22:24:52.405Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-24T22:24:52.673Z] ---> 701409537b4a [2023-02-24T22:24:52.673Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-24T22:24:53.255Z] ---> e8e41456d3a9 [2023-02-24T22:24:53.255Z] Step 21/26 : EXPOSE 59984 [2023-02-24T22:24:53.255Z] ---> Running in cea18e5f7385 [2023-02-24T22:24:53.521Z] Removing intermediate container cea18e5f7385 [2023-02-24T22:24:53.521Z] ---> 653af6b4ff2f [2023-02-24T22:24:53.521Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-24T22:24:53.521Z] ---> Running in a56442e9bbef [2023-02-24T22:24:53.788Z] Removing intermediate container a56442e9bbef [2023-02-24T22:24:53.788Z] ---> c65ada9e71ae [2023-02-24T22:24:53.788Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T22:24:54.074Z] ---> Running in f3f5a36495f8 [2023-02-24T22:24:54.347Z] Removing intermediate container f3f5a36495f8 [2023-02-24T22:24:54.347Z] ---> 161cc3b08d2e [2023-02-24T22:24:54.347Z] Step 24/26 : LABEL arch=arm64 [2023-02-24T22:24:54.347Z] ---> Running in 3cbea8b8038a [2023-02-24T22:24:54.614Z] Removing intermediate container 3cbea8b8038a [2023-02-24T22:24:54.614Z] ---> 219530174c3d [2023-02-24T22:24:54.614Z] Step 25/26 : LABEL git_sha=ceb52f563926af8f88bd777a0edb74e9b5712f5c [2023-02-24T22:24:54.614Z] ---> Running in 74372099ef71 [2023-02-24T22:24:54.882Z] Removing intermediate container 74372099ef71 [2023-02-24T22:24:54.882Z] ---> 3be92b2d689e [2023-02-24T22:24:54.882Z] Step 26/26 : LABEL version=0.0.0 [2023-02-24T22:24:55.157Z] ---> Running in 091d3d8fe70e [2023-02-24T22:24:55.432Z] Removing intermediate container 091d3d8fe70e [2023-02-24T22:24:55.432Z] ---> e488e173afdb [2023-02-24T22:24:55.432Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T22:24:55.432Z] Successfully built e488e173afdb [2023-02-24T22:24:55.432Z] 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-02-24T22:24:56.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T22:24:56.182Z] [2023-02-24T22:24:56.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:24:56.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T22:24:56.577Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T22:24:56.577Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T22:24:56.577Z] 04944245beec: Pulling fs layer [2023-02-24T22:24:56.577Z] 699f458cf7ca: Pulling fs layer [2023-02-24T22:24:56.577Z] 765212b225bb: Pulling fs layer [2023-02-24T22:24:56.577Z] f23df028b6ca: Pulling fs layer [2023-02-24T22:24:56.577Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T22:24:56.577Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T22:24:56.577Z] 765212b225bb: Waiting [2023-02-24T22:24:56.577Z] f23df028b6ca: Waiting [2023-02-24T22:24:56.577Z] d65c8cfc05b1: Waiting [2023-02-24T22:24:56.577Z] 2437ff75d9bd: Waiting [2023-02-24T22:24:56.846Z] 04944245beec: Verifying Checksum [2023-02-24T22:24:56.846Z] 04944245beec: Download complete [2023-02-24T22:24:56.846Z] 765212b225bb: Verifying Checksum [2023-02-24T22:24:56.846Z] 765212b225bb: Download complete [2023-02-24T22:24:56.846Z] f23df028b6ca: Verifying Checksum [2023-02-24T22:24:56.846Z] f23df028b6ca: Download complete [2023-02-24T22:24:56.846Z] d65c8cfc05b1: Download complete [2023-02-24T22:24:56.846Z] 699f458cf7ca: Verifying Checksum [2023-02-24T22:24:56.846Z] 699f458cf7ca: Download complete [2023-02-24T22:24:57.431Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T22:24:57.431Z] 8998bd30e6a1: Download complete [2023-02-24T22:24:59.377Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T22:24:59.377Z] 2437ff75d9bd: Download complete [2023-02-24T22:25:01.320Z] 8998bd30e6a1: Pull complete [2023-02-24T22:25:01.587Z] 04944245beec: Pull complete [2023-02-24T22:25:02.997Z] 699f458cf7ca: Pull complete [2023-02-24T22:25:03.265Z] 765212b225bb: Pull complete [2023-02-24T22:25:03.846Z] f23df028b6ca: Pull complete [2023-02-24T22:25:04.113Z] d65c8cfc05b1: Pull complete [2023-02-24T22:25:19.106Z] 2437ff75d9bd: Pull complete [2023-02-24T22:25:19.106Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T22:25:19.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T22:25:19.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:25:19.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-7396 does not seem to be running inside a container [2023-02-24T22:25:19.454Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-24T22:25:21.989Z] $ docker top 7e91fba96b6c269c943a33a2396d2fd6a91ff365c809417a779232c274290295 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:22.924Z] ---> job-cost.sh [2023-02-24T22:25:22.925Z] lf-activate-venv: SKIPPING [2023-02-24T22:25:22.925Z] INFO: No Stack... [2023-02-24T22:25:23.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T22:25:24.090Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T22:25:24.437Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-24T22:25:24.704Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T22:25:24.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [2023-02-24T22:25:24.795Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] did not exist. Created. [2023-02-24T22:25:24.795Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T22:25:25.509Z] /w/workspace/device-onvif-camera/1@tmp/durable-8ac853d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T22:25:26.186Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T22:25:26.220Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T22:25:26.283Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T22:25:26.298Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T22:25:26.358Z] $ docker stop --time=1 7e91fba96b6c269c943a33a2396d2fd6a91ff365c809417a779232c274290295 [2023-02-24T22:25:27.844Z] $ docker rm -f --volumes 7e91fba96b6c269c943a33a2396d2fd6a91ff365c809417a779232c274290295 [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-02-24T22:25:28.813Z] provisioning config files... [2023-02-24T22:25:28.820Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-239@tmp/config13678041672540772197tmp [Pipeline] { [Pipeline] sh [2023-02-24T22:25:29.149Z] + set +x [2023-02-24T22:25:29.149Z] + bash -s -- [2023-02-24T22:25:29.149Z] + curl -s https://codecov.io/bash [2023-02-24T22:25:29.149Z] [2023-02-24T22:25:29.149Z] _____ _ [2023-02-24T22:25:29.149Z] / ____| | | [2023-02-24T22:25:29.149Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T22:25:29.149Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T22:25:29.149Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T22:25:29.149Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T22:25:29.149Z] Bash-1.0.6 [2023-02-24T22:25:29.149Z] [2023-02-24T22:25:29.149Z] [2023-02-24T22:25:29.149Z] ==> git version 2.25.1 found [2023-02-24T22:25:29.149Z] ==> 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-02-24T22:25:29.149Z] Release-Date: 2020-01-08 [2023-02-24T22:25:29.149Z] 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-02-24T22:25:29.149Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T22:25:29.149Z] ==> Jenkins CI detected. [2023-02-24T22:25:29.149Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-239 [2023-02-24T22:25:29.149Z] project root: . [2023-02-24T22:25:29.149Z] --> token set from env [2023-02-24T22:25:29.149Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T22:25:29.408Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T22:25:29.408Z] ==> Python coveragepy not found [2023-02-24T22:25:29.408Z] ==> Searching for coverage reports in: [2023-02-24T22:25:29.408Z] + . [2023-02-24T22:25:29.408Z] -> Found 1 reports [2023-02-24T22:25:29.408Z] ==> Detecting git/mercurial file structure [2023-02-24T22:25:29.408Z] ==> Reading reports [2023-02-24T22:25:29.408Z] + ./coverage.out bytes=79184 [2023-02-24T22:25:29.408Z] ==> Appending adjustments [2023-02-24T22:25:29.408Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T22:25:29.408Z] + Found adjustments [2023-02-24T22:25:29.408Z] ==> Gzipping contents [2023-02-24T22:25:29.408Z] 12K /tmp/codecov.wmbZSv.gz [2023-02-24T22:25:29.408Z] ==> Uploading reports [2023-02-24T22:25:29.408Z] url: https://codecov.io [2023-02-24T22:25:29.408Z] query: branch=PR-239&commit=ceb52f563926af8f88bd777a0edb74e9b5712f5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=239&job=&cmd_args= [2023-02-24T22:25:29.408Z] -> Pinging Codecov [2023-02-24T22:25:29.408Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-239&commit=ceb52f563926af8f88bd777a0edb74e9b5712f5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=239&job=&cmd_args= [2023-02-24T22:25:29.668Z] -> Uploading to [2023-02-24T22:25:29.668Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/F29A59C45E3A92E06B3E522C9905F8EF/ceb52f563926af8f88bd777a0edb74e9b5712f5c/338846a2-551a-4450-900e-4bc4a6a55a61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T222529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42d64fa51814868b64fd643980de6627b9725b574cae0c42b87c1336f59b5140 [2023-02-24T22:25:29.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T22:25:29.668Z] Dload Upload Total Spent Left Speed [2023-02-24T22:25:29.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10810 0 0 100 10810 0 41417 --:--:-- --:--:-- --:--:-- 41417 [2023-02-24T22:25:29.932Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ceb52f563926af8f88bd777a0edb74e9b5712f5c [Pipeline] } [2023-02-24T22:25:29.959Z] 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-02-24T22:25:31.708Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-239/archives ] [2023-02-24T22:25:31.708Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-239/archives [2023-02-24T22:25:31.708Z] total 16 [2023-02-24T22:25:31.708Z] drwxr-xr-x 3 root root 4096 Feb 24 22:17 . [2023-02-24T22:25:31.708Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 22:17 .. [2023-02-24T22:25:31.708Z] drwxr-xr-x 2 root root 4096 Feb 24 22:17 cost [2023-02-24T22:25:31.708Z] -rw-r--r-- 1 root root 91 Feb 24 22:17 cost.csv [2023-02-24T22:25:31.708Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-239/archives [2023-02-24T22:25:31.708Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-239/archives [2023-02-24T22:25:31.708Z] total 16 [2023-02-24T22:25:31.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:17 . [2023-02-24T22:25:31.708Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 22:17 .. [2023-02-24T22:25:31.708Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 22:17 cost [2023-02-24T22:25:31.708Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 24 22:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:32.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:32.928Z] ---> package-listing.sh [2023-02-24T22:25:32.928Z] ++ facter osfamily [2023-02-24T22:25:32.928Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T22:25:33.187Z] + OS_FAMILY=debian [2023-02-24T22:25:33.187Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-239 [2023-02-24T22:25:33.187Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T22:25:33.187Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T22:25:33.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T22:25:33.187Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T22:25:33.187Z] + '[' /w/workspace/undry_device-onvif-camera_PR-239 ']' [2023-02-24T22:25:33.187Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T22:25:33.187Z] + case "${OS_FAMILY}" in [2023-02-24T22:25:33.187Z] + dpkg -l [2023-02-24T22:25:33.187Z] + grep '^ii' [2023-02-24T22:25:33.187Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T22:25:33.187Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T22:25:33.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T22:25:33.187Z] + '[' /w/workspace/undry_device-onvif-camera_PR-239 ']' [2023-02-24T22:25:33.187Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-239/archives/ [2023-02-24T22:25:33.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-239/archives/ [Pipeline] echo [2023-02-24T22:25:33.218Z] 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-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T22:25:33.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T22:25:34.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T22:25:34.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T22:25:34.277Z] prd-ubuntu20.04-docker-8c-8g-7395 does not seem to be running inside a container [2023-02-24T22:25:34.313Z] $ 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-239/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-239 -v /w/workspace/undry_device-onvif-camera_PR-239:/w/workspace/undry_device-onvif-camera_PR-239:rw,z -v /w/workspace/undry_device-onvif-camera_PR-239@tmp:/w/workspace/undry_device-onvif-camera_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-24T22:25:34.524Z] $ docker top 760a146123aee875a90c3ef485af023c5d4af049739410eb755b158280a20b9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T22:25:34.903Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T22:25:35.217Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T22:25:35.526Z] + ls /var/log/sa-host [2023-02-24T22:25:35.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T22:25:35.734Z] provisioning config files... [2023-02-24T22:25:35.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-239@tmp/config12694869678477560892tmp [Pipeline] { [Pipeline] echo [2023-02-24T22:25:35.791Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:36.101Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T22:25:36.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:36.522Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T22:25:36.554Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:36.868Z] ---> sudo-logs.sh [2023-02-24T22:25:36.868Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T22:25:36.949Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:37.260Z] ---> job-cost.sh [2023-02-24T22:25:37.261Z] lf-activate-venv: SKIPPING [2023-02-24T22:25:37.261Z] DEBUG: total: 0.2199999988079071 [2023-02-24T22:25:37.261Z] INFO: Retrieving Stack Cost... [2023-02-24T22:25:37.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T22:25:38.089Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T22:25:38.123Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T22:25:38.435Z] ---> logs-deploy.sh [2023-02-24T22:25:38.435Z] lf-activate-venv: SKIPPING [2023-02-24T22:25:38.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-239/1 [2023-02-24T22:25:38.435Z] INFO: archiving workspace using pattern(s): [2023-02-24T22:25:39.369Z] Archives upload complete. [2023-02-24T22:25:39.369Z] INFO: archiving logs to Nexus