Pull request #270 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1eee78246ddadf080ca918d3282e63ea352734bf+b19be15f1aae5ce963d99b90e51172ceff0b476d (b5a7b7dd5baed7b1dd6221ed131e569984efa7e6) 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-ssh15000651092536665055.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14012444454080684090.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6276471515710401911.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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh50399880977586173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16334682870439852481.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11834449002460649701.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2480 in /w/workspace/undry_device-onvif-camera_PR-270 [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-270 # 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 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf Merge succeeded, producing 1eee78246ddadf080ca918d3282e63ea352734bf Checking out Revision 1eee78246ddadf080ca918d3282e63ea352734bf (PR-270) > 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T16:29:53.205Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T16:29:53.375Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T16:29:53.471Z] ========================================================= [2023-03-16T16:29:53.471Z] EdgeX Global Pipelines Version Info [2023-03-16T16:29:53.471Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:29:54.233Z] ------------------- [2023-03-16T16:29:54.233Z] stable info: [2023-03-16T16:29:54.233Z] ------------------- [2023-03-16T16:29:54.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T16:29:54.233Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T16:29:54.233Z] Message: update stable to v1.0.245 [2023-03-16T16:29:54.803Z] ------------------- [2023-03-16T16:29:54.803Z] experimental info: [2023-03-16T16:29:54.803Z] ------------------- [2023-03-16T16:29:54.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T16:29:54.803Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T16:29:54.803Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T16:29:55.110Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T16:29:55.152Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T16:29:55.193Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T16:29:55.234Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T16:29:55.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T16:29:55.314Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T16:29:55.353Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T16:29:55.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T16:29:55.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T16:29:55.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T16:29:55.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T16:29:55.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T16:29:55.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T16:29:55.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T16:29:55.677Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T16:29:55.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T16:29:55.754Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T16:29:55.790Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T16:29:55.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T16:29:55.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T16:29:55.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T16:29:55.954Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T16:29:55.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T16:29:56.033Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T16:29:56.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T16:29:56.111Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T16:29:56.147Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T16:29:56.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo [2023-03-16T16:29:56.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo [2023-03-16T16:29:56.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo [2023-03-16T16:29:56.366Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1eee78246ddadf080ca918d3282e63ea352734bf [Pipeline] echo [2023-03-16T16:29:56.399Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1eee782 [Pipeline] echo [2023-03-16T16:29:56.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T16:29:56.539Z] provisioning config files... [2023-03-16T16:29:56.552Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config5109460156348390251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:29:56.886Z] ---> docker-login.sh [2023-03-16T16:29:56.886Z] nexus3.edgexfoundry.org:10001 [2023-03-16T16:29:57.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:29:57.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:29:57.145Z] Configure a credential helper to remove this warning. See [2023-03-16T16:29:57.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:29:57.145Z] [2023-03-16T16:29:57.145Z] Login Succeeded [2023-03-16T16:29:57.145Z] nexus3.edgexfoundry.org:10002 [2023-03-16T16:29:57.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:29:57.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:29:57.145Z] Configure a credential helper to remove this warning. See [2023-03-16T16:29:57.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:29:57.146Z] [2023-03-16T16:29:57.146Z] Login Succeeded [2023-03-16T16:29:57.146Z] nexus3.edgexfoundry.org:10003 [2023-03-16T16:29:57.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:29:57.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:29:57.405Z] Configure a credential helper to remove this warning. See [2023-03-16T16:29:57.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:29:57.405Z] [2023-03-16T16:29:57.405Z] Login Succeeded [2023-03-16T16:29:57.405Z] nexus3.edgexfoundry.org:10004 [2023-03-16T16:29:57.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:29:57.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:29:57.405Z] Configure a credential helper to remove this warning. See [2023-03-16T16:29:57.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:29:57.406Z] [2023-03-16T16:29:57.406Z] Login Succeeded [2023-03-16T16:29:57.406Z] docker.io [2023-03-16T16:29:57.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:29:57.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:29:57.926Z] Configure a credential helper to remove this warning. See [2023-03-16T16:29:57.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:29:57.926Z] [2023-03-16T16:29:57.926Z] Login Succeeded [2023-03-16T16:29:57.926Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T16:29:57.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T16:29:58.553Z] + git rev-list -1 --merges 1eee78246ddadf080ca918d3282e63ea352734bf~1..1eee78246ddadf080ca918d3282e63ea352734bf [Pipeline] echo [2023-03-16T16:29:58.615Z] -----------> git rev-list -1 --merges 1eee78246ddadf080ca918d3282e63ea352734bf~1..1eee78246ddadf080ca918d3282e63ea352734bf 1eee78246ddadf080ca918d3282e63ea352734bf [false] [Pipeline] sh [2023-03-16T16:29:58.923Z] + git log --format=format:%s -1 1eee78246ddadf080ca918d3282e63ea352734bf [Pipeline] echo [2023-03-16T16:29:58.954Z] ========================================================= [2023-03-16T16:29:58.954Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T16:29:58.954Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T16:29:59.374Z] + git log --format=format:%s -1 1eee78246ddadf080ca918d3282e63ea352734bf [Pipeline] echo [2023-03-16T16:29:59.404Z] [semverPrep] GIT_COMMIT: 1eee78246ddadf080ca918d3282e63ea352734bf, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo [2023-03-16T16:29:59.432Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T16:29:59.799Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T16:29:59.799Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T16:29:59.799Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T16:29:59.799Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T16:29:59.799Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T16:29:59.799Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T16:29:59.799Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:30:00.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T16:30:00.205Z] [2023-03-16T16:30:00.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:30:00.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T16:30:00.569Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T16:30:00.569Z] b85a868b505f: Pulling fs layer [2023-03-16T16:30:00.569Z] e2be974225ed: Pulling fs layer [2023-03-16T16:30:00.569Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T16:30:00.569Z] 988bab9f4d93: Pulling fs layer [2023-03-16T16:30:00.569Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T16:30:00.569Z] eaf3925da568: Pulling fs layer [2023-03-16T16:30:00.569Z] bab4dde63d76: Pulling fs layer [2023-03-16T16:30:00.569Z] bde34c3a00c8: Pulling fs layer [2023-03-16T16:30:00.569Z] b352a97aabf1: Pulling fs layer [2023-03-16T16:30:00.569Z] 4872d77fe225: Pulling fs layer [2023-03-16T16:30:00.569Z] 5851b861e8e6: Pulling fs layer [2023-03-16T16:30:00.569Z] bab4dde63d76: Waiting [2023-03-16T16:30:00.569Z] 4872d77fe225: Waiting [2023-03-16T16:30:00.569Z] 1469e6f7b9e6: Waiting [2023-03-16T16:30:00.569Z] 5851b861e8e6: Waiting [2023-03-16T16:30:00.569Z] eaf3925da568: Waiting [2023-03-16T16:30:00.569Z] b352a97aabf1: Waiting [2023-03-16T16:30:00.569Z] bde34c3a00c8: Waiting [2023-03-16T16:30:00.569Z] 988bab9f4d93: Waiting [2023-03-16T16:30:00.569Z] e2be974225ed: Verifying Checksum [2023-03-16T16:30:00.569Z] e2be974225ed: Download complete [2023-03-16T16:30:00.569Z] 988bab9f4d93: Verifying Checksum [2023-03-16T16:30:00.569Z] 988bab9f4d93: Download complete [2023-03-16T16:30:00.830Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T16:30:00.830Z] 1469e6f7b9e6: Download complete [2023-03-16T16:30:00.830Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T16:30:00.830Z] 339a4e72a1f5: Download complete [2023-03-16T16:30:00.830Z] eaf3925da568: Verifying Checksum [2023-03-16T16:30:00.830Z] eaf3925da568: Download complete [2023-03-16T16:30:00.830Z] bde34c3a00c8: Download complete [2023-03-16T16:30:00.830Z] b352a97aabf1: Download complete [2023-03-16T16:30:00.830Z] 4872d77fe225: Verifying Checksum [2023-03-16T16:30:00.830Z] 4872d77fe225: Download complete [2023-03-16T16:30:00.830Z] 5851b861e8e6: Verifying Checksum [2023-03-16T16:30:00.830Z] 5851b861e8e6: Download complete [2023-03-16T16:30:00.830Z] b85a868b505f: Verifying Checksum [2023-03-16T16:30:00.830Z] b85a868b505f: Download complete [2023-03-16T16:30:01.089Z] bab4dde63d76: Verifying Checksum [2023-03-16T16:30:01.089Z] bab4dde63d76: Download complete [2023-03-16T16:30:02.030Z] b85a868b505f: Pull complete [2023-03-16T16:30:02.294Z] e2be974225ed: Pull complete [2023-03-16T16:30:02.874Z] 339a4e72a1f5: Pull complete [2023-03-16T16:30:02.874Z] 988bab9f4d93: Pull complete [2023-03-16T16:30:03.133Z] 1469e6f7b9e6: Pull complete [2023-03-16T16:30:03.133Z] eaf3925da568: Pull complete [2023-03-16T16:30:05.035Z] bab4dde63d76: Pull complete [2023-03-16T16:30:05.299Z] bde34c3a00c8: Pull complete [2023-03-16T16:30:05.299Z] b352a97aabf1: Pull complete [2023-03-16T16:30:05.560Z] 4872d77fe225: Pull complete [2023-03-16T16:30:05.560Z] 5851b861e8e6: Pull complete [2023-03-16T16:30:05.560Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T16:30:05.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T16:30:05.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:30:05.765Z] prd-ubuntu20.04-docker-8c-8g-2480 does not seem to be running inside a container [2023-03-16T16:30:05.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@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-03-16T16:30:07.482Z] $ docker top 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 -eo pid,comm [2023-03-16T16:30:07.535Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T16:30:07.535Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T16:30:07.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T16:30:07.674Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T16:30:07.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T16:30:07.789Z] $ docker exec 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 ssh-agent [2023-03-16T16:30:07.916Z] SSH_AUTH_SOCK=/tmp/ssh-XgOfF5IWg1Sp/agent.33 [2023-03-16T16:30:07.916Z] SSH_AGENT_PID=39 [2023-03-16T16:30:07.928Z] Running ssh-add (command line suppressed) [2023-03-16T16:30:08.026Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_16290108145154715283.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_16290108145154715283.key) [2023-03-16T16:30:08.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T16:30:08.369Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T16:30:08.397Z] $ docker exec --env ******** --env ******** 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 ssh-agent -k [2023-03-16T16:30:08.486Z] unset SSH_AUTH_SOCK; [2023-03-16T16:30:08.487Z] unset SSH_AGENT_PID; [2023-03-16T16:30:08.487Z] echo Agent pid 39 killed; [2023-03-16T16:30:08.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T16:30:08.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T16:30:08.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T16:30:08.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T16:30:08.678Z] $ docker exec 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 ssh-agent [2023-03-16T16:30:08.784Z] SSH_AUTH_SOCK=/tmp/ssh-UWIKf5pUdvhf/agent.72 [2023-03-16T16:30:08.784Z] SSH_AGENT_PID=78 [2023-03-16T16:30:08.789Z] Running ssh-add (command line suppressed) [2023-03-16T16:30:08.902Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_4209802807106439928.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_4209802807106439928.key) [2023-03-16T16:30:08.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T16:30:09.243Z] + git semver init [2023-03-16T16:30:09.505Z] 2023-03-16 16:30:09,437 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T16:30:09.505Z] 2023-03-16 16:30:09,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-270/.semver [2023-03-16T16:30:09.505Z] 2023-03-16 16:30:09,438 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-270/.semver [2023-03-16T16:30:09.505Z] 2023-03-16 16:30:09,438 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-270/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-270, universal_newlines=False, shell=None, istream=None) [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,282 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-270/.git/info/exclude [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,283 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 with force:False [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,283 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,286 [execute] INFO git cat-file --batch-check [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,291 [execute] INFO git cat-file --batch [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T16:30:10.444Z] 2023-03-16 16:30:10,297 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 [2023-03-16T16:30:10.444Z] 0.0.0 [Pipeline] } [2023-03-16T16:30:10.479Z] $ docker exec --env ******** --env ******** 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 ssh-agent -k [2023-03-16T16:30:10.592Z] unset SSH_AUTH_SOCK; [2023-03-16T16:30:10.592Z] unset SSH_AGENT_PID; [2023-03-16T16:30:10.592Z] echo Agent pid 78 killed; [2023-03-16T16:30:10.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T16:30:11.029Z] + git semver [Pipeline] } [2023-03-16T16:30:11.316Z] $ docker stop --time=1 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 [2023-03-16T16:30:12.648Z] $ docker rm -f --volumes 18e4dfa13906b2a3f882b6addff4fc94399924ee6b83f01e5fc3ab9eea3adc99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T16:30:13.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T16:30:13.315Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T16:30:13.336Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T16:30:13.901Z] provisioning config files... [2023-03-16T16:30:13.913Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config12047393949413155636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:30:14.259Z] ---> docker-login.sh [2023-03-16T16:30:14.259Z] nexus3.edgexfoundry.org:10001 [2023-03-16T16:30:14.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:30:14.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:30:14.259Z] Configure a credential helper to remove this warning. See [2023-03-16T16:30:14.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:30:14.259Z] [2023-03-16T16:30:14.259Z] Login Succeeded [2023-03-16T16:30:14.259Z] nexus3.edgexfoundry.org:10002 [2023-03-16T16:30:14.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:30:14.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:30:14.259Z] Configure a credential helper to remove this warning. See [2023-03-16T16:30:14.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:30:14.259Z] [2023-03-16T16:30:14.259Z] Login Succeeded [2023-03-16T16:30:14.259Z] nexus3.edgexfoundry.org:10003 [2023-03-16T16:30:14.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:30:14.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:30:14.518Z] Configure a credential helper to remove this warning. See [2023-03-16T16:30:14.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:30:14.518Z] [2023-03-16T16:30:14.518Z] Login Succeeded [2023-03-16T16:30:14.518Z] nexus3.edgexfoundry.org:10004 [2023-03-16T16:30:14.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:30:14.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:30:14.518Z] Configure a credential helper to remove this warning. See [2023-03-16T16:30:14.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:30:14.518Z] [2023-03-16T16:30:14.518Z] Login Succeeded [2023-03-16T16:30:14.518Z] docker.io [2023-03-16T16:30:14.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:30:14.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:30:14.778Z] Configure a credential helper to remove this warning. See [2023-03-16T16:30:14.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:30:14.778Z] [2023-03-16T16:30:14.778Z] Login Succeeded [2023-03-16T16:30:14.778Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T16:30:14.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T16:30:14.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T16:30:15.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T16:30:15.056Z] ========================================================= [2023-03-16T16:30:15.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T16:30:15.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:30:15.523Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T16:30:15.523Z] Sending build context to Docker daemon 27.88MB [2023-03-16T16:30:15.523Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T16:30:15.523Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T16:30:15.784Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T16:30:15.784Z] 63b65145d645: Pulling fs layer [2023-03-16T16:30:15.784Z] a2d21d5440eb: Pulling fs layer [2023-03-16T16:30:15.784Z] 935e6c44a52c: Pulling fs layer [2023-03-16T16:30:15.784Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T16:30:15.784Z] 30dea6a524f1: Pulling fs layer [2023-03-16T16:30:15.784Z] a2aff8979fd8: Pulling fs layer [2023-03-16T16:30:15.784Z] 6808be2612f2: Pulling fs layer [2023-03-16T16:30:15.784Z] f25807f1079a: Pulling fs layer [2023-03-16T16:30:15.784Z] 94cc34f8dd06: Waiting [2023-03-16T16:30:15.784Z] 30dea6a524f1: Waiting [2023-03-16T16:30:15.784Z] a2aff8979fd8: Waiting [2023-03-16T16:30:15.784Z] 6808be2612f2: Waiting [2023-03-16T16:30:15.784Z] f25807f1079a: Waiting [2023-03-16T16:30:15.784Z] a2d21d5440eb: Verifying Checksum [2023-03-16T16:30:15.784Z] a2d21d5440eb: Download complete [2023-03-16T16:30:15.784Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T16:30:15.784Z] 94cc34f8dd06: Download complete [2023-03-16T16:30:15.784Z] 30dea6a524f1: Verifying Checksum [2023-03-16T16:30:15.784Z] 30dea6a524f1: Download complete [2023-03-16T16:30:15.784Z] 63b65145d645: Verifying Checksum [2023-03-16T16:30:15.784Z] 63b65145d645: Download complete [2023-03-16T16:30:15.784Z] a2aff8979fd8: Verifying Checksum [2023-03-16T16:30:16.050Z] 63b65145d645: Pull complete [2023-03-16T16:30:16.050Z] a2d21d5440eb: Pull complete [2023-03-16T16:30:16.643Z] f25807f1079a: Verifying Checksum [2023-03-16T16:30:16.643Z] f25807f1079a: Download complete [2023-03-16T16:30:16.902Z] 935e6c44a52c: Verifying Checksum [2023-03-16T16:30:16.902Z] 935e6c44a52c: Download complete [2023-03-16T16:30:16.902Z] 6808be2612f2: Verifying Checksum [2023-03-16T16:30:16.902Z] 6808be2612f2: Download complete [2023-03-16T16:30:21.088Z] 935e6c44a52c: Pull complete [2023-03-16T16:30:21.088Z] 94cc34f8dd06: Pull complete [2023-03-16T16:30:21.088Z] 30dea6a524f1: Pull complete [2023-03-16T16:30:21.088Z] a2aff8979fd8: Pull complete [2023-03-16T16:30:23.618Z] 6808be2612f2: Pull complete [2023-03-16T16:30:24.184Z] f25807f1079a: Pull complete [2023-03-16T16:30:24.184Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T16:30:24.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T16:30:24.184Z] ---> 3b553350e43f [2023-03-16T16:30:24.184Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T16:30:26.101Z] ---> Running in 545e7fe116fc [2023-03-16T16:30:26.369Z] Removing intermediate container 545e7fe116fc [2023-03-16T16:30:26.369Z] ---> 9e18ef085d37 [2023-03-16T16:30:26.369Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T16:30:26.369Z] ---> Running in 8b9e839709a0 [2023-03-16T16:30:26.369Z] Removing intermediate container 8b9e839709a0 [2023-03-16T16:30:26.369Z] ---> 6272e8268c47 [2023-03-16T16:30:26.369Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T16:30:26.627Z] ---> Running in 7d9c95508784 [2023-03-16T16:30:26.627Z] Removing intermediate container 7d9c95508784 [2023-03-16T16:30:26.627Z] ---> 1ec8a004d58e [2023-03-16T16:30:26.627Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T16:30:26.627Z] ---> Running in aa1e8575bca6 [2023-03-16T16:30:26.885Z] Removing intermediate container aa1e8575bca6 [2023-03-16T16:30:26.885Z] ---> ec71574f18d7 [2023-03-16T16:30:26.885Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T16:30:26.885Z] ---> Running in 37935c7cfdb9 [2023-03-16T16:30:26.885Z] Removing intermediate container 37935c7cfdb9 [2023-03-16T16:30:26.885Z] ---> 2103f161e203 [2023-03-16T16:30:26.885Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T16:30:27.144Z] ---> Running in 3a8633e0bd23 [2023-03-16T16:30:27.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T16:30:27.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T16:30:27.662Z] OK: 265 MiB in 53 packages [2023-03-16T16:30:28.229Z] Removing intermediate container 3a8633e0bd23 [2023-03-16T16:30:28.229Z] ---> d19ffd4d1676 [2023-03-16T16:30:28.229Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T16:30:28.229Z] ---> Running in f22c4667eee0 [2023-03-16T16:30:28.229Z] Removing intermediate container f22c4667eee0 [2023-03-16T16:30:28.229Z] ---> c0930567bed5 [2023-03-16T16:30:28.229Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T16:30:28.487Z] ---> 296ed3f92402 [2023-03-16T16:30:28.487Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T16:30:28.487Z] ---> Running in 12daf8e69dae [2023-03-16T16:30:28.732Z] Still waiting to schedule task [2023-03-16T16:30:28.732Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2481’ is offline [2023-03-16T16:30:50.427Z] Removing intermediate container 12daf8e69dae [2023-03-16T16:30:50.427Z] ---> 19331aa8e5eb [2023-03-16T16:30:50.427Z] Step 12/13 : COPY . . [2023-03-16T16:30:50.685Z] ---> fd708c45724a [2023-03-16T16:30:50.685Z] Step 13/13 : RUN ${MAKE} [2023-03-16T16:30:50.943Z] ---> Running in 3d4e1c540b04 [2023-03-16T16:30:51.209Z] noop [2023-03-16T16:30:51.468Z] Removing intermediate container 3d4e1c540b04 [2023-03-16T16:30:51.468Z] ---> 0fa11fd42c13 [2023-03-16T16:30:51.468Z] Successfully built 0fa11fd42c13 [2023-03-16T16:30:51.468Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:30:51.908Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T16:30:51.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:30:52.051Z] prd-ubuntu20.04-docker-8c-8g-2480 does not seem to be running inside a container [2023-03-16T16:30:52.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@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-03-16T16:30:52.477Z] $ docker top b584d12a9d3defa9af6df9fc6882cb4b9d141e041734a915a45fb3488827b897 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T16:30:52.863Z] + go version [2023-03-16T16:30:52.864Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T16:30:52.900Z] $ docker stop --time=1 b584d12a9d3defa9af6df9fc6882cb4b9d141e041734a915a45fb3488827b897 [2023-03-16T16:30:54.192Z] $ docker rm -f --volumes b584d12a9d3defa9af6df9fc6882cb4b9d141e041734a915a45fb3488827b897 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:30:54.916Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T16:30:54.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:30:55.065Z] prd-ubuntu20.04-docker-8c-8g-2480 does not seem to be running inside a container [2023-03-16T16:30:55.101Z] $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@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-03-16T16:30:55.466Z] $ docker top 9ad56d10abd7d5c0f199fa9d8eb7e5e56ed7c46d848d0729b2a9a2e66fb78e5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T16:30:55.848Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] fileExists [Pipeline] sh [2023-03-16T16:30:56.199Z] + make test [2023-03-16T16:30:56.199Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T16:31:01.461Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T16:31:11.421Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T16:31:11.421Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T16:31:13.951Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 30.5% of statements [2023-03-16T16:31:15.323Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.744s coverage: 86.5% of statements [2023-03-16T16:31:23.429Z] go vet ./... [2023-03-16T16:31:25.962Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T16:31:25.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T16:31:25.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T16:31:26.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T16:31:26.280Z] $ docker stop --time=1 9ad56d10abd7d5c0f199fa9d8eb7e5e56ed7c46d848d0729b2a9a2e66fb78e5a [2023-03-16T16:31:28.525Z] $ docker rm -f --volumes 9ad56d10abd7d5c0f199fa9d8eb7e5e56ed7c46d848d0729b2a9a2e66fb78e5a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T16:31:29.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T16:31:29.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T16:31:29.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T16:31:30.036Z] + ls -al . [2023-03-16T16:31:30.036Z] total 232 [2023-03-16T16:31:30.036Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 16:30 . [2023-03-16T16:31:30.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:29 .. [2023-03-16T16:31:30.036Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:30 .git [2023-03-16T16:31:30.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:29 .github [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 16:29 .gitignore [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 16:29 .golangci.yml [2023-03-16T16:31:30.036Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:30 .semver [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 16:29 Attribution.txt [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 16:29 CHANGELOG.md [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 16:29 Dockerfile [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:29 GOVERNANCE.md [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 16:29 Jenkinsfile [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 16:29 LICENSE [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 16:29 Makefile [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 16:29 OWNERS.md [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 16:29 README.md [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:30 VERSION [2023-03-16T16:31:30.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:29 bin [2023-03-16T16:31:30.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:29 cmd [2023-03-16T16:31:30.036Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 16:31 coverage.out [2023-03-16T16:31:30.036Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 16:29 doc [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 16:29 go.mod [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 16:29 go.sum [2023-03-16T16:31:30.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:29 internal [2023-03-16T16:31:30.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:29 snap [2023-03-16T16:31:30.036Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 16:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:31:30.422Z] + 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=1eee78246ddadf080ca918d3282e63ea352734bf --label arch=amd64 --label version=0.0.0 . [2023-03-16T16:31:30.422Z] Sending build context to Docker daemon 27.96MB [2023-03-16T16:31:30.422Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T16:31:30.422Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T16:31:30.422Z] ---> 0fa11fd42c13 [2023-03-16T16:31:30.422Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T16:31:30.680Z] ---> Running in f5d19e0ed8b6 [2023-03-16T16:31:30.680Z] Removing intermediate container f5d19e0ed8b6 [2023-03-16T16:31:30.680Z] ---> 448123212977 [2023-03-16T16:31:30.680Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T16:31:30.680Z] ---> Running in 4317b19fdb4f [2023-03-16T16:31:30.939Z] Removing intermediate container 4317b19fdb4f [2023-03-16T16:31:30.939Z] ---> 90dbeca47d29 [2023-03-16T16:31:30.939Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T16:31:30.939Z] ---> Running in bb5be66d437b [2023-03-16T16:31:30.939Z] Removing intermediate container bb5be66d437b [2023-03-16T16:31:30.939Z] ---> 0ff6f90dbcdb [2023-03-16T16:31:30.939Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T16:31:30.939Z] ---> Running in 97657e4237b6 [2023-03-16T16:31:31.195Z] Removing intermediate container 97657e4237b6 [2023-03-16T16:31:31.195Z] ---> 9728eb6ede26 [2023-03-16T16:31:31.195Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T16:31:31.195Z] ---> Running in 9131d4a3d404 [2023-03-16T16:31:31.195Z] Removing intermediate container 9131d4a3d404 [2023-03-16T16:31:31.195Z] ---> 307f6f525414 [2023-03-16T16:31:31.195Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T16:31:31.195Z] ---> Running in e3ffaeddc31e [2023-03-16T16:31:31.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T16:31:31.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T16:31:31.971Z] OK: 265 MiB in 53 packages [2023-03-16T16:31:32.538Z] Removing intermediate container e3ffaeddc31e [2023-03-16T16:31:32.538Z] ---> 525e666b0252 [2023-03-16T16:31:32.538Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T16:31:32.538Z] ---> Running in 6b4e0a1be070 [2023-03-16T16:31:32.538Z] Removing intermediate container 6b4e0a1be070 [2023-03-16T16:31:32.538Z] ---> f15cbb4ac985 [2023-03-16T16:31:32.538Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T16:31:32.538Z] ---> c2661579d34f [2023-03-16T16:31:32.538Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T16:31:32.797Z] ---> Running in dcecdf3519fa [2023-03-16T16:31:33.732Z] Removing intermediate container dcecdf3519fa [2023-03-16T16:31:33.732Z] ---> 633fa7458b41 [2023-03-16T16:31:33.732Z] Step 12/26 : COPY . . [2023-03-16T16:31:34.303Z] ---> 5f350f61eaf8 [2023-03-16T16:31:34.303Z] Step 13/26 : RUN ${MAKE} [2023-03-16T16:31:34.303Z] ---> Running in 41ccc4b35f0b [2023-03-16T16:31:34.561Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-16T16:31:52.640Z] Removing intermediate container 41ccc4b35f0b [2023-03-16T16:31:52.640Z] ---> 665258372261 [2023-03-16T16:31:52.640Z] Step 14/26 : FROM alpine:3.17 [2023-03-16T16:31:52.899Z] 3.17: Pulling from library/alpine [2023-03-16T16:31:52.899Z] 63b65145d645: Already exists [2023-03-16T16:31:52.899Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T16:31:53.156Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T16:31:53.156Z] ---> b2aa39c304c2 [2023-03-16T16:31:53.156Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T16:31:53.156Z] ---> Running in cc7eb6d3dc3d [2023-03-16T16:31:53.156Z] Removing intermediate container cc7eb6d3dc3d [2023-03-16T16:31:53.156Z] ---> 50cc0fde59f9 [2023-03-16T16:31:53.156Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-16T16:31:53.156Z] ---> Running in a8cfc3c21dd1 [2023-03-16T16:31:53.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T16:31:53.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T16:31:53.932Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T16:31:53.932Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T16:31:53.932Z] OK: 7 MiB in 16 packages [2023-03-16T16:31:54.498Z] Removing intermediate container a8cfc3c21dd1 [2023-03-16T16:31:54.498Z] ---> 4e0d126a58ee [2023-03-16T16:31:54.498Z] Step 17/26 : WORKDIR / [2023-03-16T16:31:54.498Z] ---> Running in 06b41491b125 [2023-03-16T16:31:54.498Z] Removing intermediate container 06b41491b125 [2023-03-16T16:31:54.498Z] ---> 264cfda3263d [2023-03-16T16:31:54.498Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T16:31:55.069Z] ---> 4a65b51e2b4a [2023-03-16T16:31:55.069Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T16:31:55.069Z] ---> b78e8cb70179 [2023-03-16T16:31:55.069Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T16:31:55.342Z] ---> 2d91c2b307e6 [2023-03-16T16:31:55.342Z] Step 21/26 : EXPOSE 59984 [2023-03-16T16:31:55.342Z] ---> Running in 8e497fe4df59 [2023-03-16T16:31:55.342Z] Removing intermediate container 8e497fe4df59 [2023-03-16T16:31:55.342Z] ---> c06482b07466 [2023-03-16T16:31:55.342Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T16:31:55.601Z] ---> Running in 7971431152b4 [2023-03-16T16:31:55.601Z] Removing intermediate container 7971431152b4 [2023-03-16T16:31:55.601Z] ---> fda40be9f7eb [2023-03-16T16:31:55.601Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T16:31:55.601Z] ---> Running in 5f11f93f6bbc [2023-03-16T16:31:55.601Z] Removing intermediate container 5f11f93f6bbc [2023-03-16T16:31:55.601Z] ---> 9e02feb81797 [2023-03-16T16:31:55.601Z] Step 24/26 : LABEL arch=amd64 [2023-03-16T16:31:55.861Z] ---> Running in 3dd2e534e0da [2023-03-16T16:31:55.861Z] Removing intermediate container 3dd2e534e0da [2023-03-16T16:31:55.861Z] ---> 20cd5ed850ea [2023-03-16T16:31:55.861Z] Step 25/26 : LABEL git_sha=1eee78246ddadf080ca918d3282e63ea352734bf [2023-03-16T16:31:55.861Z] ---> Running in 95a89f8c5a20 [2023-03-16T16:31:55.861Z] Removing intermediate container 95a89f8c5a20 [2023-03-16T16:31:55.861Z] ---> 18ebc28741f6 [2023-03-16T16:31:55.861Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T16:31:56.120Z] ---> Running in b7585d26d74d [2023-03-16T16:31:56.120Z] Removing intermediate container b7585d26d74d [2023-03-16T16:31:56.120Z] ---> bccc5626f720 [2023-03-16T16:31:56.120Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T16:31:56.120Z] Successfully built bccc5626f720 [2023-03-16T16:31:56.120Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:31:56.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T16:31:56.981Z] [2023-03-16T16:31:56.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:31:57.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T16:31:57.360Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T16:31:57.360Z] 5eb5b503b376: Pulling fs layer [2023-03-16T16:31:57.360Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T16:31:57.360Z] ec43610c2a17: Pulling fs layer [2023-03-16T16:31:57.360Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T16:31:57.360Z] 33b1e0a273af: Pulling fs layer [2023-03-16T16:31:57.360Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T16:31:57.360Z] 2f39f015ded8: Pulling fs layer [2023-03-16T16:31:57.360Z] 33b1e0a273af: Waiting [2023-03-16T16:31:57.360Z] 3a2ae6a8a46f: Waiting [2023-03-16T16:31:57.360Z] 5c69ac0246d0: Download complete [2023-03-16T16:31:57.360Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T16:31:57.360Z] 3a2ae6a8a46f: Download complete [2023-03-16T16:31:57.624Z] 33b1e0a273af: Verifying Checksum [2023-03-16T16:31:57.624Z] 33b1e0a273af: Download complete [2023-03-16T16:31:57.624Z] 5d3b04190fa2: Download complete [2023-03-16T16:31:57.624Z] ec43610c2a17: Verifying Checksum [2023-03-16T16:31:57.624Z] ec43610c2a17: Download complete [2023-03-16T16:31:57.624Z] 5eb5b503b376: Verifying Checksum [2023-03-16T16:31:57.624Z] 5eb5b503b376: Download complete [2023-03-16T16:31:58.189Z] 2f39f015ded8: Download complete [2023-03-16T16:31:58.757Z] 5eb5b503b376: Pull complete [2023-03-16T16:31:59.015Z] 5c69ac0246d0: Pull complete [2023-03-16T16:31:59.582Z] ec43610c2a17: Pull complete [2023-03-16T16:31:59.582Z] 3a2ae6a8a46f: Pull complete [2023-03-16T16:31:59.841Z] 33b1e0a273af: Pull complete [2023-03-16T16:31:59.841Z] 5d3b04190fa2: Pull complete [2023-03-16T16:32:04.024Z] 2f39f015ded8: Pull complete [2023-03-16T16:32:04.024Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T16:32:04.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T16:32:04.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:32:04.237Z] prd-ubuntu20.04-docker-8c-8g-2480 does not seem to be running inside a container [2023-03-16T16:32:04.271Z] $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@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-03-16T16:32:06.354Z] $ docker top 6c7c5a4590c536468d4884ab4412fe5f79e91cc48bd88c65e281373ea64e59f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:32:06.779Z] ---> job-cost.sh [2023-03-16T16:32:06.779Z] lf-activate-venv: SKIPPING [2023-03-16T16:32:06.779Z] INFO: No Stack... [2023-03-16T16:32:07.038Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T16:32:07.298Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T16:32:07.619Z] + cat /w/workspace/undry_device-onvif-camera_PR-270/archives/cost.csv [2023-03-16T16:32:07.619Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T16:32:07.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [2023-03-16T16:32:07.661Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] did not exist. Created. [2023-03-16T16:32:07.661Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T16:32:08.039Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T16:32:08.094Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T16:32:08.119Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T16:32:08.189Z] $ docker stop --time=1 6c7c5a4590c536468d4884ab4412fe5f79e91cc48bd88c65e281373ea64e59f8 [2023-03-16T16:32:09.408Z] $ docker rm -f --volumes 6c7c5a4590c536468d4884ab4412fe5f79e91cc48bd88c65e281373ea64e59f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T16:32:56.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2483 in /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] { [Pipeline] ws [2023-03-16T16:32:56.848Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-16T16:32:56.928Z] The recommended git tool is: git [2023-03-16T16:33:03.425Z] using credential edgex-jenkins-ssh [2023-03-16T16:33:03.447Z] Cloning the remote Git repository [2023-03-16T16:33:03.511Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T16:33:03.629Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-16T16:33:03.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T16:33:03.803Z] > git --version # timeout=10 [2023-03-16T16:33:03.828Z] > git --version # 'git version 2.25.1' [2023-03-16T16:33:03.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T16:33:04.012Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T16:33:05.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T16:33:05.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T16:33:06.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T16:33:06.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T16:33:06.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T16:33:06.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T16:33:07.267Z] Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf [2023-03-16T16:33:07.824Z] Merge succeeded, producing 1eee78246ddadf080ca918d3282e63ea352734bf [2023-03-16T16:33:07.825Z] Checking out Revision 1eee78246ddadf080ca918d3282e63ea352734bf (PR-270) [2023-03-16T16:33:07.288Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T16:33:07.383Z] > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 [2023-03-16T16:33:07.709Z] > git remote # timeout=10 [2023-03-16T16:33:07.729Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T16:33:07.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T16:33:07.772Z] > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [2023-03-16T16:33:07.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T16:33:07.833Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T16:33:07.848Z] > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 [2023-03-16T16:33:11.759Z] Commit message: "refactor(snap): Update command and metadata sourcing" [2023-03-16T16:33:11.818Z] > git --version # timeout=10 [2023-03-16T16:33:11.831Z] > git --version # 'git version 2.25.1' [2023-03-16T16:33:11.852Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T16:33:13.014Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T16:33:13.015Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T16:33:13.015Z] Dload Upload Total Spent Left Speed [2023-03-16T16:33:13.015Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-03-16T16:33:13.756Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T16:33:14.111Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T16:33:14.111Z] + sudo tee /etc/docker/daemon.new [2023-03-16T16:33:14.111Z] { [2023-03-16T16:33:14.111Z] "registry-mirrors": [ [2023-03-16T16:33:14.111Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T16:33:14.111Z] ], [2023-03-16T16:33:14.111Z] "bip": "10.250.0.254/24", [2023-03-16T16:33:14.111Z] "hosts": [ [2023-03-16T16:33:14.111Z] "tcp://0.0.0.0:5555", [2023-03-16T16:33:14.111Z] "unix:///var/run/docker.sock" [2023-03-16T16:33:14.111Z] ], [2023-03-16T16:33:14.111Z] "mtu": 1458, [2023-03-16T16:33:14.111Z] "selinux-enabled": true, [2023-03-16T16:33:14.111Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T16:33:14.111Z] } [Pipeline] sh [2023-03-16T16:33:14.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T16:33:14.801Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T16:33:33.138Z] provisioning config files... [2023-03-16T16:33:33.171Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9118616295041794837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:33:33.555Z] ---> docker-login.sh [2023-03-16T16:33:33.555Z] nexus3.edgexfoundry.org:10001 [2023-03-16T16:33:34.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:33:34.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:33:34.147Z] Configure a credential helper to remove this warning. See [2023-03-16T16:33:34.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:33:34.147Z] [2023-03-16T16:33:34.147Z] Login Succeeded [2023-03-16T16:33:34.147Z] nexus3.edgexfoundry.org:10002 [2023-03-16T16:33:34.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:33:34.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:33:34.686Z] Configure a credential helper to remove this warning. See [2023-03-16T16:33:34.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:33:34.686Z] [2023-03-16T16:33:34.686Z] Login Succeeded [2023-03-16T16:33:34.686Z] nexus3.edgexfoundry.org:10003 [2023-03-16T16:33:34.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:33:34.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:33:34.955Z] Configure a credential helper to remove this warning. See [2023-03-16T16:33:34.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:33:34.955Z] [2023-03-16T16:33:34.955Z] Login Succeeded [2023-03-16T16:33:34.955Z] nexus3.edgexfoundry.org:10004 [2023-03-16T16:33:35.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:33:35.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:33:35.226Z] Configure a credential helper to remove this warning. See [2023-03-16T16:33:35.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:33:35.226Z] [2023-03-16T16:33:35.226Z] Login Succeeded [2023-03-16T16:33:35.226Z] docker.io [2023-03-16T16:33:35.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T16:33:35.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T16:33:35.765Z] Configure a credential helper to remove this warning. See [2023-03-16T16:33:35.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T16:33:35.765Z] [2023-03-16T16:33:35.765Z] Login Succeeded [2023-03-16T16:33:35.765Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T16:33:35.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T16:33:36.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T16:33:36.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T16:33:36.226Z] ========================================================= [2023-03-16T16:33:36.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T16:33:36.226Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:33:36.732Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T16:33:37.328Z] Sending build context to Docker daemon 20.62MB [2023-03-16T16:33:37.328Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T16:33:37.328Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T16:33:37.328Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T16:33:37.328Z] af6eaf76a39c: Pulling fs layer [2023-03-16T16:33:37.328Z] 55522c791124: Pulling fs layer [2023-03-16T16:33:37.328Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T16:33:37.328Z] 169dfbe0d373: Pulling fs layer [2023-03-16T16:33:37.328Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T16:33:37.328Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T16:33:37.328Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T16:33:37.328Z] e1ff8fa3b103: Waiting [2023-03-16T16:33:37.328Z] 52ebb69f0ebf: Waiting [2023-03-16T16:33:37.328Z] 5abe8eddf0d5: Waiting [2023-03-16T16:33:37.328Z] 169dfbe0d373: Waiting [2023-03-16T16:33:37.606Z] 55522c791124: Verifying Checksum [2023-03-16T16:33:37.606Z] 55522c791124: Download complete [2023-03-16T16:33:37.606Z] 169dfbe0d373: Verifying Checksum [2023-03-16T16:33:37.606Z] 169dfbe0d373: Download complete [2023-03-16T16:33:37.606Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T16:33:37.606Z] e1ff8fa3b103: Download complete [2023-03-16T16:33:37.606Z] af6eaf76a39c: Verifying Checksum [2023-03-16T16:33:37.606Z] af6eaf76a39c: Download complete [2023-03-16T16:33:39.047Z] af6eaf76a39c: Pull complete [2023-03-16T16:33:39.047Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T16:33:39.047Z] 5abe8eddf0d5: Download complete [2023-03-16T16:33:39.319Z] 55522c791124: Pull complete [2023-03-16T16:33:40.292Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T16:33:40.292Z] ce5c4a1c91eb: Download complete [2023-03-16T16:33:40.292Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T16:33:40.292Z] 52ebb69f0ebf: Download complete [2023-03-16T16:33:50.371Z] ce5c4a1c91eb: Pull complete [2023-03-16T16:33:50.371Z] 169dfbe0d373: Pull complete [2023-03-16T16:33:50.371Z] e1ff8fa3b103: Pull complete [2023-03-16T16:33:58.584Z] 52ebb69f0ebf: Pull complete [2023-03-16T16:33:59.550Z] 5abe8eddf0d5: Pull complete [2023-03-16T16:33:59.550Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T16:33:59.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T16:33:59.550Z] ---> 6cb57ee374ae [2023-03-16T16:33:59.550Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T16:34:01.525Z] ---> Running in 15a5f05aa5c9 [2023-03-16T16:34:01.797Z] Removing intermediate container 15a5f05aa5c9 [2023-03-16T16:34:01.797Z] ---> 0ffb0e83b93f [2023-03-16T16:34:01.797Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T16:34:02.071Z] ---> Running in 7b722add4a54 [2023-03-16T16:34:02.347Z] Removing intermediate container 7b722add4a54 [2023-03-16T16:34:02.347Z] ---> e9eb566a76d0 [2023-03-16T16:34:02.347Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T16:34:02.347Z] ---> Running in bee58d24c03b [2023-03-16T16:34:02.617Z] Removing intermediate container bee58d24c03b [2023-03-16T16:34:02.617Z] ---> fa29b6a00371 [2023-03-16T16:34:02.617Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T16:34:02.886Z] ---> Running in 8817c245d564 [2023-03-16T16:34:03.157Z] Removing intermediate container 8817c245d564 [2023-03-16T16:34:03.157Z] ---> 5cde849a9ed4 [2023-03-16T16:34:03.157Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T16:34:03.157Z] ---> Running in 2149c4e9ec21 [2023-03-16T16:34:03.429Z] Removing intermediate container 2149c4e9ec21 [2023-03-16T16:34:03.429Z] ---> c755d1fcda7b [2023-03-16T16:34:03.429Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T16:34:03.703Z] ---> Running in feae4afb9e8d [2023-03-16T16:34:04.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T16:34:05.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T16:34:06.677Z] OK: 263 MiB in 53 packages [2023-03-16T16:34:07.267Z] Removing intermediate container feae4afb9e8d [2023-03-16T16:34:07.267Z] ---> bf6cf34abcc2 [2023-03-16T16:34:07.267Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T16:34:07.537Z] ---> Running in 107aa5f4842f [2023-03-16T16:34:07.806Z] Removing intermediate container 107aa5f4842f [2023-03-16T16:34:07.806Z] ---> 4fa8af4ec6e0 [2023-03-16T16:34:07.806Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T16:34:08.392Z] ---> 0f42f4566ae5 [2023-03-16T16:34:08.392Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T16:34:08.392Z] ---> Running in d79aa1dd1028 [2023-03-16T16:35:16.324Z] Removing intermediate container d79aa1dd1028 [2023-03-16T16:35:16.324Z] ---> 4b67959d65ca [2023-03-16T16:35:16.324Z] Step 12/13 : COPY . . [2023-03-16T16:35:16.324Z] ---> 8cb962968739 [2023-03-16T16:35:16.324Z] Step 13/13 : RUN ${MAKE} [2023-03-16T16:35:16.324Z] ---> Running in 05b22b61d569 [2023-03-16T16:35:16.324Z] noop [2023-03-16T16:35:16.324Z] Removing intermediate container 05b22b61d569 [2023-03-16T16:35:16.324Z] ---> 81765372c2ac [2023-03-16T16:35:16.324Z] Successfully built 81765372c2ac [2023-03-16T16:35:16.324Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:35:16.816Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T16:35:16.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:35:17.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container [2023-03-16T16:35:17.197Z] $ 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-03-16T16:35:18.477Z] $ docker top 9c16914e6a792edf41c5a63cca58bbbad03624ecc0ab49ca98fab600a1b9963d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T16:35:19.408Z] + go version [2023-03-16T16:35:19.408Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T16:35:19.459Z] $ docker stop --time=1 9c16914e6a792edf41c5a63cca58bbbad03624ecc0ab49ca98fab600a1b9963d [2023-03-16T16:35:21.165Z] $ docker rm -f --volumes 9c16914e6a792edf41c5a63cca58bbbad03624ecc0ab49ca98fab600a1b9963d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:35:22.028Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T16:35:22.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:35:22.295Z] prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container [2023-03-16T16:35:22.372Z] $ 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-03-16T16:35:23.677Z] $ docker top db48aa6f47761ceabdef1752568c072c3ac34b72b856a0f82c239ccd93371ca0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T16:35:24.586Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T16:35:25.309Z] + make test [2023-03-16T16:35:25.309Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T16:36:04.228Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T16:38:41.610Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T16:38:41.610Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T16:38:41.610Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.209s coverage: 30.5% of statements [2023-03-16T16:39:08.299Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.682s coverage: 86.5% of statements [2023-03-16T16:39:08.299Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T16:39:08.299Z] go vet ./... [2023-03-16T16:39:40.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T16:39:40.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T16:39:40.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T16:39:40.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T16:39:40.662Z] $ docker stop --time=1 db48aa6f47761ceabdef1752568c072c3ac34b72b856a0f82c239ccd93371ca0 [2023-03-16T16:39:42.451Z] $ docker rm -f --volumes db48aa6f47761ceabdef1752568c072c3ac34b72b856a0f82c239ccd93371ca0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T16:39:43.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T16:39:43.768Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T16:39:44.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T16:39:44.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T16:39:45.262Z] + ls -al . [2023-03-16T16:39:45.262Z] total 228 [2023-03-16T16:39:45.262Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:35 . [2023-03-16T16:39:45.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:33 .. [2023-03-16T16:39:45.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:33 .git [2023-03-16T16:39:45.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:33 .github [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 16:33 .gitignore [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 16:33 .golangci.yml [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 16:33 Attribution.txt [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 16:33 CHANGELOG.md [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 16:33 Dockerfile [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:33 GOVERNANCE.md [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 16:33 Jenkinsfile [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 16:33 LICENSE [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 16:33 Makefile [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 16:33 OWNERS.md [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 16:33 README.md [2023-03-16T16:39:45.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:30 VERSION [2023-03-16T16:39:45.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:33 bin [2023-03-16T16:39:45.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:33 cmd [2023-03-16T16:39:45.263Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 16:39 coverage.out [2023-03-16T16:39:45.263Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 16:33 doc [2023-03-16T16:39:45.263Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 16:33 go.mod [2023-03-16T16:39:45.263Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 16:33 go.sum [2023-03-16T16:39:45.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:33 internal [2023-03-16T16:39:45.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:33 snap [2023-03-16T16:39:45.263Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 16:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:39:45.680Z] + 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=1eee78246ddadf080ca918d3282e63ea352734bf --label arch=arm64 --label version=0.0.0 . [2023-03-16T16:39:46.266Z] Sending build context to Docker daemon 20.7MB [2023-03-16T16:39:46.266Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T16:39:46.266Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T16:39:46.266Z] ---> 81765372c2ac [2023-03-16T16:39:46.266Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T16:39:46.535Z] ---> Running in a355644cc612 [2023-03-16T16:39:46.802Z] Removing intermediate container a355644cc612 [2023-03-16T16:39:46.802Z] ---> 1f0efb604107 [2023-03-16T16:39:46.802Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T16:39:46.802Z] ---> Running in c5f1a560c5e4 [2023-03-16T16:39:47.070Z] Removing intermediate container c5f1a560c5e4 [2023-03-16T16:39:47.070Z] ---> 22936b20d743 [2023-03-16T16:39:47.070Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T16:39:47.348Z] ---> Running in 7102f765b708 [2023-03-16T16:39:47.616Z] Removing intermediate container 7102f765b708 [2023-03-16T16:39:47.616Z] ---> 759313ea1933 [2023-03-16T16:39:47.616Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T16:39:47.616Z] ---> Running in 8cc6b1ce3f1e [2023-03-16T16:39:47.884Z] Removing intermediate container 8cc6b1ce3f1e [2023-03-16T16:39:47.884Z] ---> f7c80b9fe53f [2023-03-16T16:39:47.884Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T16:39:47.884Z] ---> Running in d7b8acdeb69c [2023-03-16T16:39:48.152Z] Removing intermediate container d7b8acdeb69c [2023-03-16T16:39:48.152Z] ---> 6768567fc607 [2023-03-16T16:39:48.152Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T16:39:48.422Z] ---> Running in 3f4f402b58b4 [2023-03-16T16:39:49.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T16:39:50.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T16:39:51.040Z] OK: 263 MiB in 53 packages [2023-03-16T16:39:52.065Z] Removing intermediate container 3f4f402b58b4 [2023-03-16T16:39:52.065Z] ---> fc8b0dcd18d9 [2023-03-16T16:39:52.065Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T16:39:52.065Z] ---> Running in 53308e2bf204 [2023-03-16T16:39:52.337Z] Removing intermediate container 53308e2bf204 [2023-03-16T16:39:52.337Z] ---> cacb89bcc70d [2023-03-16T16:39:52.337Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T16:39:52.934Z] ---> 9c4db7681df9 [2023-03-16T16:39:52.935Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T16:39:52.935Z] ---> Running in 6908992914c9 [2023-03-16T16:39:55.561Z] Removing intermediate container 6908992914c9 [2023-03-16T16:39:55.561Z] ---> 85d4f4357dee [2023-03-16T16:39:55.561Z] Step 12/26 : COPY . . [2023-03-16T16:39:58.908Z] ---> db1887071dd5 [2023-03-16T16:39:58.908Z] Step 13/26 : RUN ${MAKE} [2023-03-16T16:39:58.908Z] ---> Running in 755eddcbb70e [2023-03-16T16:39:59.869Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-16T16:42:36.593Z] Removing intermediate container 755eddcbb70e [2023-03-16T16:42:36.593Z] ---> eaf1dc719f13 [2023-03-16T16:42:36.593Z] Step 14/26 : FROM alpine:3.17 [2023-03-16T16:42:36.593Z] 3.17: Pulling from library/alpine [2023-03-16T16:42:36.593Z] af6eaf76a39c: Already exists [2023-03-16T16:42:36.593Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T16:42:36.593Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T16:42:36.593Z] ---> d74e625d9115 [2023-03-16T16:42:36.593Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T16:42:36.593Z] ---> Running in df99e6048057 [2023-03-16T16:42:36.593Z] Removing intermediate container df99e6048057 [2023-03-16T16:42:36.593Z] ---> 1b6f8bbbf998 [2023-03-16T16:42:36.593Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-16T16:42:36.593Z] ---> Running in 1457c2c14925 [2023-03-16T16:42:36.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T16:42:36.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T16:42:36.593Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T16:42:36.593Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T16:42:36.593Z] OK: 8 MiB in 16 packages [2023-03-16T16:42:36.593Z] Removing intermediate container 1457c2c14925 [2023-03-16T16:42:36.593Z] ---> f339ffb070bc [2023-03-16T16:42:36.593Z] Step 17/26 : WORKDIR / [2023-03-16T16:42:36.593Z] ---> Running in 2f05a9cf021d [2023-03-16T16:42:36.593Z] Removing intermediate container 2f05a9cf021d [2023-03-16T16:42:36.593Z] ---> 68352596a6bf [2023-03-16T16:42:36.593Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T16:42:36.593Z] ---> 2ab2ea051d54 [2023-03-16T16:42:36.593Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T16:42:36.593Z] ---> 426746fa0e55 [2023-03-16T16:42:36.593Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T16:42:36.593Z] ---> 014e3b4618a4 [2023-03-16T16:42:36.593Z] Step 21/26 : EXPOSE 59984 [2023-03-16T16:42:36.593Z] ---> Running in 74fc218869a0 [2023-03-16T16:42:36.593Z] Removing intermediate container 74fc218869a0 [2023-03-16T16:42:36.593Z] ---> d038afd5e743 [2023-03-16T16:42:36.593Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T16:42:36.593Z] ---> Running in c7c9af1daf3e [2023-03-16T16:42:36.593Z] Removing intermediate container c7c9af1daf3e [2023-03-16T16:42:36.593Z] ---> 51e502d4ff82 [2023-03-16T16:42:36.593Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T16:42:36.593Z] ---> Running in 6568235c4389 [2023-03-16T16:42:36.593Z] Removing intermediate container 6568235c4389 [2023-03-16T16:42:36.593Z] ---> bf800ce1a91c [2023-03-16T16:42:36.593Z] Step 24/26 : LABEL arch=arm64 [2023-03-16T16:42:36.593Z] ---> Running in f1e918883409 [2023-03-16T16:42:36.593Z] Removing intermediate container f1e918883409 [2023-03-16T16:42:36.593Z] ---> 18d5ef5962a0 [2023-03-16T16:42:36.593Z] Step 25/26 : LABEL git_sha=1eee78246ddadf080ca918d3282e63ea352734bf [2023-03-16T16:42:36.593Z] ---> Running in 7bc9305ddf39 [2023-03-16T16:42:36.593Z] Removing intermediate container 7bc9305ddf39 [2023-03-16T16:42:36.593Z] ---> 6e62cddb30ec [2023-03-16T16:42:36.593Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T16:42:36.593Z] ---> Running in 14a0d55fbdb4 [2023-03-16T16:42:36.593Z] Removing intermediate container 14a0d55fbdb4 [2023-03-16T16:42:36.593Z] ---> 9b492d80087a [2023-03-16T16:42:36.593Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T16:42:36.593Z] Successfully built 9b492d80087a [2023-03-16T16:42:36.593Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:42:37.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T16:42:37.380Z] [2023-03-16T16:42:37.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:42:37.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T16:42:37.786Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T16:42:37.786Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T16:42:37.786Z] 04944245beec: Pulling fs layer [2023-03-16T16:42:37.786Z] 699f458cf7ca: Pulling fs layer [2023-03-16T16:42:37.786Z] 765212b225bb: Pulling fs layer [2023-03-16T16:42:37.786Z] f23df028b6ca: Pulling fs layer [2023-03-16T16:42:37.786Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T16:42:37.786Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T16:42:37.786Z] 765212b225bb: Waiting [2023-03-16T16:42:37.786Z] f23df028b6ca: Waiting [2023-03-16T16:42:37.786Z] d65c8cfc05b1: Waiting [2023-03-16T16:42:37.786Z] 2437ff75d9bd: Waiting [2023-03-16T16:42:38.054Z] 04944245beec: Verifying Checksum [2023-03-16T16:42:38.054Z] 04944245beec: Download complete [2023-03-16T16:42:38.054Z] 765212b225bb: Verifying Checksum [2023-03-16T16:42:38.054Z] 765212b225bb: Download complete [2023-03-16T16:42:38.054Z] f23df028b6ca: Verifying Checksum [2023-03-16T16:42:38.054Z] f23df028b6ca: Download complete [2023-03-16T16:42:38.054Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T16:42:38.054Z] d65c8cfc05b1: Download complete [2023-03-16T16:42:38.322Z] 699f458cf7ca: Verifying Checksum [2023-03-16T16:42:38.322Z] 699f458cf7ca: Download complete [2023-03-16T16:42:38.590Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T16:42:38.590Z] 8998bd30e6a1: Download complete [2023-03-16T16:42:41.176Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T16:42:41.176Z] 2437ff75d9bd: Download complete [2023-03-16T16:42:42.583Z] 8998bd30e6a1: Pull complete [2023-03-16T16:42:42.848Z] 04944245beec: Pull complete [2023-03-16T16:42:43.806Z] 699f458cf7ca: Pull complete [2023-03-16T16:42:44.073Z] 765212b225bb: Pull complete [2023-03-16T16:42:45.031Z] f23df028b6ca: Pull complete [2023-03-16T16:42:45.031Z] d65c8cfc05b1: Pull complete [2023-03-16T16:42:57.325Z] 2437ff75d9bd: Pull complete [2023-03-16T16:42:57.325Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T16:42:57.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T16:42:57.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:42:57.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container [2023-03-16T16:42:57.698Z] $ 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-03-16T16:43:00.284Z] $ docker top 7daa5d29571eeee9351b777d0e7c45acc085d80fd2db0f1c7d1a9d5a5e736eb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:00.846Z] ---> job-cost.sh [2023-03-16T16:43:01.112Z] lf-activate-venv: SKIPPING [2023-03-16T16:43:01.112Z] INFO: No Stack... [2023-03-16T16:43:01.382Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T16:43:02.341Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T16:43:02.677Z] + cut -d, -f6 [2023-03-16T16:43:02.677Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-03-16T16:43:02.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [2023-03-16T16:43:02.763Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] did not exist. Created. [2023-03-16T16:43:02.763Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T16:43:03.172Z] /w/workspace/device-onvif-camera/1@tmp/durable-e6e104dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T16:43:03.518Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T16:43:03.556Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T16:43:03.618Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T16:43:03.632Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T16:43:03.707Z] $ docker stop --time=1 7daa5d29571eeee9351b777d0e7c45acc085d80fd2db0f1c7d1a9d5a5e736eb7 [2023-03-16T16:43:05.196Z] $ docker rm -f --volumes 7daa5d29571eeee9351b777d0e7c45acc085d80fd2db0f1c7d1a9d5a5e736eb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-16T16:43:06.063Z] provisioning config files... [2023-03-16T16:43:06.071Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config2635138532328414302tmp [Pipeline] { [Pipeline] sh [2023-03-16T16:43:06.445Z] + set +x [2023-03-16T16:43:06.445Z] + curl -s https://codecov.io/bash [2023-03-16T16:43:06.445Z] + bash -s -- [2023-03-16T16:43:06.445Z] [2023-03-16T16:43:06.445Z] _____ _ [2023-03-16T16:43:06.445Z] / ____| | | [2023-03-16T16:43:06.445Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T16:43:06.445Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T16:43:06.445Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T16:43:06.445Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T16:43:06.445Z] Bash-1.0.6 [2023-03-16T16:43:06.445Z] [2023-03-16T16:43:06.445Z] [2023-03-16T16:43:06.445Z] ==> git version 2.25.1 found [2023-03-16T16:43:06.445Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-16T16:43:06.445Z] Release-Date: 2020-01-08 [2023-03-16T16:43:06.445Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T16:43:06.445Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T16:43:06.445Z] ==> Jenkins CI detected. [2023-03-16T16:43:06.445Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-270 [2023-03-16T16:43:06.445Z] project root: . [2023-03-16T16:43:06.445Z] --> token set from env [2023-03-16T16:43:06.445Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T16:43:06.446Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T16:43:06.446Z] ==> Python coveragepy not found [2023-03-16T16:43:06.446Z] ==> Searching for coverage reports in: [2023-03-16T16:43:06.446Z] + . [2023-03-16T16:43:06.446Z] -> Found 1 reports [2023-03-16T16:43:06.446Z] ==> Detecting git/mercurial file structure [2023-03-16T16:43:06.446Z] ==> Reading reports [2023-03-16T16:43:06.446Z] + ./coverage.out bytes=76650 [2023-03-16T16:43:06.446Z] ==> Appending adjustments [2023-03-16T16:43:06.446Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T16:43:06.705Z] + Found adjustments [2023-03-16T16:43:06.705Z] ==> Gzipping contents [2023-03-16T16:43:06.705Z] 12K /tmp/codecov.b0BxOB.gz [2023-03-16T16:43:06.705Z] ==> Uploading reports [2023-03-16T16:43:06.705Z] url: https://codecov.io [2023-03-16T16:43:06.705Z] query: branch=PR-270&commit=1eee78246ddadf080ca918d3282e63ea352734bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-03-16T16:43:06.705Z] -> Pinging Codecov [2023-03-16T16:43:06.705Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-270&commit=1eee78246ddadf080ca918d3282e63ea352734bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-03-16T16:43:06.965Z] -> Uploading to [2023-03-16T16:43:06.965Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/1eee78246ddadf080ca918d3282e63ea352734bf/1a8fc457-b81b-4686-bb00-ada2f719be28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T164306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2a5ea2c6e7c33df2c4bcf0c27ff3c85a7329fe71c3918dc74b078198601a331 [2023-03-16T16:43:06.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T16:43:06.965Z] Dload Upload Total Spent Left Speed [2023-03-16T16:43:07.224Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 51004 --:--:-- --:--:-- --:--:-- 50754 100 10354 0 0 100 10354 0 44437 --:--:-- --:--:-- --:--:-- 44247 [2023-03-16T16:43:07.224Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1eee78246ddadf080ca918d3282e63ea352734bf [Pipeline] } [2023-03-16T16:43:07.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T16:43:08.891Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-270/archives ] [2023-03-16T16:43:08.891Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives [2023-03-16T16:43:08.891Z] total 16 [2023-03-16T16:43:08.891Z] drwxr-xr-x 3 root root 4096 Mar 16 16:32 . [2023-03-16T16:43:08.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:32 .. [2023-03-16T16:43:08.891Z] drwxr-xr-x 2 root root 4096 Mar 16 16:32 cost [2023-03-16T16:43:08.891Z] -rw-r--r-- 1 root root 91 Mar 16 16:32 cost.csv [2023-03-16T16:43:08.891Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-270/archives [2023-03-16T16:43:08.891Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives [2023-03-16T16:43:08.891Z] total 16 [2023-03-16T16:43:08.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:32 . [2023-03-16T16:43:08.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:32 .. [2023-03-16T16:43:08.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 16:32 cost [2023-03-16T16:43:08.891Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 16:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:09.219Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:10.112Z] ---> package-listing.sh [2023-03-16T16:43:10.113Z] ++ facter osfamily [2023-03-16T16:43:10.113Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T16:43:10.371Z] + OS_FAMILY=debian [2023-03-16T16:43:10.371Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-270 [2023-03-16T16:43:10.371Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T16:43:10.371Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T16:43:10.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T16:43:10.371Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T16:43:10.371Z] + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' [2023-03-16T16:43:10.371Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T16:43:10.371Z] + case "${OS_FAMILY}" in [2023-03-16T16:43:10.371Z] + dpkg -l [2023-03-16T16:43:10.371Z] + grep '^ii' [2023-03-16T16:43:10.371Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T16:43:10.371Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T16:43:10.371Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T16:43:10.371Z] + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' [2023-03-16T16:43:10.371Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-270/archives/ [2023-03-16T16:43:10.371Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-270/archives/ [Pipeline] echo [2023-03-16T16:43:10.404Z] 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T16:43:10.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T16:43:11.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T16:43:11.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T16:43:11.445Z] prd-ubuntu20.04-docker-8c-8g-2480 does not seem to be running inside a container [2023-03-16T16:43:11.476Z] $ 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-270/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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T16:43:11.703Z] $ docker top a63ea7eed3cff7899f21c7b90edcb3dc5eab1a8e7e560d5002e944f45ce8cb75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T16:43:12.083Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T16:43:12.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T16:43:12.702Z] + ls /var/log/sa-host [2023-03-16T16:43:12.702Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T16:43:12.823Z] provisioning config files... [2023-03-16T16:43:12.833Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config4512605783090053610tmp [Pipeline] { [Pipeline] echo [2023-03-16T16:43:12.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:13.186Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T16:43:13.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:13.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T16:43:13.625Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:13.937Z] ---> sudo-logs.sh [2023-03-16T16:43:13.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T16:43:14.011Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:14.320Z] ---> job-cost.sh [2023-03-16T16:43:14.320Z] lf-activate-venv: SKIPPING [2023-03-16T16:43:14.320Z] DEBUG: total: 0.2199999988079071 [2023-03-16T16:43:14.320Z] INFO: Retrieving Stack Cost... [2023-03-16T16:43:14.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T16:43:15.147Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T16:43:15.179Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T16:43:15.488Z] ---> logs-deploy.sh [2023-03-16T16:43:15.489Z] lf-activate-venv: SKIPPING [2023-03-16T16:43:15.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-270/1 [2023-03-16T16:43:15.489Z] INFO: archiving workspace using pattern(s): [2023-03-16T16:43:16.425Z] Archives upload complete. [2023-03-16T16:43:16.425Z] INFO: archiving logs to Nexus