Pull request #347 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f98012d7d0d49bdee7157353e7b34a4041fe70f7 rather than 9a3f494788b3c6a4ec7e716860646a09193c47be Obtained Jenkinsfile from f98012d7d0d49bdee7157353e7b34a4041fe70f7 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-ssh10841331324448239234.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9220887815270261051.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9966645331215865169.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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15741825024187553885.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh17704985881224635513.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16096216087645524696.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14572 in /w/workspace/undry_device-onvif-camera_PR-347 [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-347 # 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 f98012d7d0d49bdee7157353e7b34a4041fe70f7 into PR head commit 9a3f494788b3c6a4ec7e716860646a09193c47be Merge succeeded, producing ba6cd6ef80fe169f416bb50f13b133867c90c8a6 Checking out Revision ba6cd6ef80fe169f416bb50f13b133867c90c8a6 (PR-347) > 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a3f494788b3c6a4ec7e716860646a09193c47be # 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 f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba6cd6ef80fe169f416bb50f13b133867c90c8a6 # timeout=10 Commit message: "Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T23:17:35.424Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T23:17:35.597Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T23:17:35.704Z] ========================================================= [2023-05-08T23:17:35.704Z] EdgeX Global Pipelines Version Info [2023-05-08T23:17:35.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:17:36.822Z] ------------------- [2023-05-08T23:17:36.822Z] stable info: [2023-05-08T23:17:36.822Z] ------------------- [2023-05-08T23:17:36.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T23:17:36.822Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T23:17:36.822Z] Message: update stable to v1.0.249 [2023-05-08T23:17:37.081Z] ------------------- [2023-05-08T23:17:37.081Z] experimental info: [2023-05-08T23:17:37.081Z] ------------------- [2023-05-08T23:17:37.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T23:17:37.081Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T23:17:37.081Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T23:17:37.409Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-08T23:17:37.458Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-08T23:17:37.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T23:17:37.542Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T23:17:37.581Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T23:17:37.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T23:17:37.667Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T23:17:37.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T23:17:37.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T23:17:37.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T23:17:37.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T23:17:37.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-08T23:17:37.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T23:17:37.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T23:17:37.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T23:17:38.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T23:17:38.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T23:17:38.098Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T23:17:38.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T23:17:38.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T23:17:38.211Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T23:17:38.250Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-08T23:17:38.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T23:17:38.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T23:17:38.370Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T23:17:38.412Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T23:17:38.449Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T23:17:38.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo [2023-05-08T23:17:38.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo [2023-05-08T23:17:38.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo [2023-05-08T23:17:38.615Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [Pipeline] echo [2023-05-08T23:17:38.658Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba6cd6e [Pipeline] echo [2023-05-08T23:17:38.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T23:17:38.812Z] provisioning config files... [2023-05-08T23:17:38.826Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config12887759371720748704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:17:39.175Z] ---> docker-login.sh [2023-05-08T23:17:39.175Z] nexus3.edgexfoundry.org:10001 [2023-05-08T23:17:39.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:39.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:39.437Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:39.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:39.437Z] [2023-05-08T23:17:39.437Z] Login Succeeded [2023-05-08T23:17:39.437Z] nexus3.edgexfoundry.org:10002 [2023-05-08T23:17:39.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:39.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:39.437Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:39.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:39.437Z] [2023-05-08T23:17:39.437Z] Login Succeeded [2023-05-08T23:17:39.437Z] nexus3.edgexfoundry.org:10003 [2023-05-08T23:17:39.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:39.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:39.698Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:39.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:39.698Z] [2023-05-08T23:17:39.698Z] Login Succeeded [2023-05-08T23:17:39.698Z] nexus3.edgexfoundry.org:10004 [2023-05-08T23:17:39.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:39.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:39.698Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:39.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:39.698Z] [2023-05-08T23:17:39.698Z] Login Succeeded [2023-05-08T23:17:39.698Z] docker.io [2023-05-08T23:17:39.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:39.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:39.963Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:39.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:39.963Z] [2023-05-08T23:17:39.963Z] Login Succeeded [2023-05-08T23:17:39.963Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T23:17:40.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T23:17:40.617Z] + git rev-list -1 --merges ba6cd6ef80fe169f416bb50f13b133867c90c8a6~1..ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [Pipeline] echo [2023-05-08T23:17:40.680Z] -----------> git rev-list -1 --merges ba6cd6ef80fe169f416bb50f13b133867c90c8a6~1..ba6cd6ef80fe169f416bb50f13b133867c90c8a6 ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [2023-05-08T23:17:40.680Z] ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [false] [Pipeline] sh [2023-05-08T23:17:40.986Z] + git log --format=format:%s -1 ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [Pipeline] echo [2023-05-08T23:17:41.024Z] ========================================================= [2023-05-08T23:17:41.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T23:17:41.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T23:17:41.516Z] + git log --format=format:%s -1 ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [Pipeline] echo [2023-05-08T23:17:41.558Z] [semverPrep] GIT_COMMIT: ba6cd6ef80fe169f416bb50f13b133867c90c8a6, Commit Message: Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD [Pipeline] echo [2023-05-08T23:17:41.584Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T23:17:41.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T23:17:41.949Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T23:17:41.949Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T23:17:41.949Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T23:17:41.949Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T23:17:41.949Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T23:17:41.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:17:42.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T23:17:42.369Z] [2023-05-08T23:17:42.369Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:17:42.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T23:17:42.737Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T23:17:42.737Z] b85a868b505f: Pulling fs layer [2023-05-08T23:17:42.737Z] e2be974225ed: Pulling fs layer [2023-05-08T23:17:42.737Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T23:17:42.737Z] 988bab9f4d93: Pulling fs layer [2023-05-08T23:17:42.737Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T23:17:42.737Z] eaf3925da568: Pulling fs layer [2023-05-08T23:17:42.737Z] bab4dde63d76: Pulling fs layer [2023-05-08T23:17:42.737Z] bde34c3a00c8: Pulling fs layer [2023-05-08T23:17:42.737Z] b352a97aabf1: Pulling fs layer [2023-05-08T23:17:42.737Z] 4872d77fe225: Pulling fs layer [2023-05-08T23:17:42.737Z] 5851b861e8e6: Pulling fs layer [2023-05-08T23:17:42.737Z] bab4dde63d76: Waiting [2023-05-08T23:17:42.737Z] bde34c3a00c8: Waiting [2023-05-08T23:17:42.737Z] 988bab9f4d93: Waiting [2023-05-08T23:17:42.737Z] b352a97aabf1: Waiting [2023-05-08T23:17:42.737Z] 1469e6f7b9e6: Waiting [2023-05-08T23:17:42.737Z] 4872d77fe225: Waiting [2023-05-08T23:17:42.737Z] eaf3925da568: Waiting [2023-05-08T23:17:42.737Z] e2be974225ed: Verifying Checksum [2023-05-08T23:17:42.737Z] e2be974225ed: Download complete [2023-05-08T23:17:42.737Z] 988bab9f4d93: Verifying Checksum [2023-05-08T23:17:42.737Z] 988bab9f4d93: Download complete [2023-05-08T23:17:42.997Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T23:17:42.997Z] 1469e6f7b9e6: Download complete [2023-05-08T23:17:42.997Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T23:17:42.997Z] 339a4e72a1f5: Download complete [2023-05-08T23:17:42.997Z] eaf3925da568: Verifying Checksum [2023-05-08T23:17:42.997Z] eaf3925da568: Download complete [2023-05-08T23:17:42.997Z] bde34c3a00c8: Verifying Checksum [2023-05-08T23:17:42.997Z] bde34c3a00c8: Download complete [2023-05-08T23:17:42.997Z] b352a97aabf1: Verifying Checksum [2023-05-08T23:17:42.997Z] b352a97aabf1: Download complete [2023-05-08T23:17:42.997Z] 4872d77fe225: Verifying Checksum [2023-05-08T23:17:42.997Z] 4872d77fe225: Download complete [2023-05-08T23:17:42.997Z] 5851b861e8e6: Verifying Checksum [2023-05-08T23:17:42.997Z] 5851b861e8e6: Download complete [2023-05-08T23:17:42.997Z] b85a868b505f: Verifying Checksum [2023-05-08T23:17:42.997Z] b85a868b505f: Download complete [2023-05-08T23:17:43.257Z] bab4dde63d76: Verifying Checksum [2023-05-08T23:17:43.257Z] bab4dde63d76: Download complete [2023-05-08T23:17:44.207Z] b85a868b505f: Pull complete [2023-05-08T23:17:44.207Z] e2be974225ed: Pull complete [2023-05-08T23:17:44.774Z] 339a4e72a1f5: Pull complete [2023-05-08T23:17:44.774Z] 988bab9f4d93: Pull complete [2023-05-08T23:17:45.033Z] 1469e6f7b9e6: Pull complete [2023-05-08T23:17:45.033Z] eaf3925da568: Pull complete [2023-05-08T23:17:46.412Z] bab4dde63d76: Pull complete [2023-05-08T23:17:46.671Z] bde34c3a00c8: Pull complete [2023-05-08T23:17:46.671Z] b352a97aabf1: Pull complete [2023-05-08T23:17:46.671Z] 4872d77fe225: Pull complete [2023-05-08T23:17:46.932Z] 5851b861e8e6: Pull complete [2023-05-08T23:17:46.932Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T23:17:46.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T23:17:46.932Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:17:47.165Z] prd-ubuntu20.04-docker-8c-8g-14572 does not seem to be running inside a container [2023-05-08T23:17:47.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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-devops/py-git-semver:0.1.4 cat [2023-05-08T23:17:50.160Z] $ docker top 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff -eo pid,comm [2023-05-08T23:17:50.243Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-08T23:17:50.243Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T23:17:50.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T23:17:50.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T23:17:50.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T23:17:50.521Z] $ docker exec 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff ssh-agent [2023-05-08T23:17:50.626Z] SSH_AUTH_SOCK=/tmp/ssh-XmPTyeWLOaTX/agent.32 [2023-05-08T23:17:50.626Z] SSH_AGENT_PID=38 [2023-05-08T23:17:50.632Z] Running ssh-add (command line suppressed) [2023-05-08T23:17:50.723Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_13144992732557878604.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_13144992732557878604.key) [2023-05-08T23:17:50.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T23:17:51.073Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T23:17:51.095Z] $ docker exec --env ******** --env ******** 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff ssh-agent -k [2023-05-08T23:17:51.190Z] unset SSH_AUTH_SOCK; [2023-05-08T23:17:51.191Z] unset SSH_AGENT_PID; [2023-05-08T23:17:51.191Z] echo Agent pid 38 killed; [2023-05-08T23:17:51.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T23:17:51.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T23:17:51.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T23:17:51.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T23:17:51.420Z] $ docker exec 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff ssh-agent [2023-05-08T23:17:51.528Z] SSH_AUTH_SOCK=/tmp/ssh-UoMYVehaTqT2/agent.71 [2023-05-08T23:17:51.528Z] SSH_AGENT_PID=77 [2023-05-08T23:17:51.536Z] Running ssh-add (command line suppressed) [2023-05-08T23:17:51.642Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_16352505639425020287.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_16352505639425020287.key) [2023-05-08T23:17:51.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T23:17:51.986Z] + git semver init [2023-05-08T23:17:52.245Z] 2023-05-08 23:17:52,158 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T23:17:52.245Z] 2023-05-08 23:17:52,158 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver [2023-05-08T23:17:52.245Z] 2023-05-08 23:17:52,159 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver [2023-05-08T23:17:52.245Z] 2023-05-08 23:17:52,159 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:52,993 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:52,993 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:52,993 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:52,997 [execute] INFO git cat-file --batch-check [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:52,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:53,004 [execute] INFO git cat-file --batch [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:53,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T23:17:53.186Z] 2023-05-08 23:17:53,009 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 [2023-05-08T23:17:53.186Z] 0.0.0 [Pipeline] } [2023-05-08T23:17:53.211Z] $ docker exec --env ******** --env ******** 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff ssh-agent -k [2023-05-08T23:17:53.312Z] unset SSH_AUTH_SOCK; [2023-05-08T23:17:53.312Z] unset SSH_AGENT_PID; [2023-05-08T23:17:53.313Z] echo Agent pid 77 killed; [2023-05-08T23:17:53.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T23:17:53.738Z] + git semver [Pipeline] } [2023-05-08T23:17:54.022Z] $ docker stop --time=1 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff [2023-05-08T23:17:55.291Z] $ docker rm -f --volumes 7869b1dcb7d2d6cf7a18d28f2ff89aaf6deaa446a7b2eba53e0867eee17cb7ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T23:17:55.701Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T23:17:55.970Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T23:17:55.988Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T23:17:56.513Z] provisioning config files... [2023-05-08T23:17:56.524Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config3822142801358132365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:17:56.864Z] ---> docker-login.sh [2023-05-08T23:17:56.865Z] nexus3.edgexfoundry.org:10001 [2023-05-08T23:17:56.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:56.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:56.865Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:56.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:56.865Z] [2023-05-08T23:17:56.865Z] Login Succeeded [2023-05-08T23:17:56.865Z] nexus3.edgexfoundry.org:10002 [2023-05-08T23:17:56.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:56.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:56.865Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:56.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:56.865Z] [2023-05-08T23:17:56.865Z] Login Succeeded [2023-05-08T23:17:56.865Z] nexus3.edgexfoundry.org:10003 [2023-05-08T23:17:57.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:57.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:57.124Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:57.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:57.124Z] [2023-05-08T23:17:57.124Z] Login Succeeded [2023-05-08T23:17:57.124Z] nexus3.edgexfoundry.org:10004 [2023-05-08T23:17:57.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:57.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:57.124Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:57.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:57.124Z] [2023-05-08T23:17:57.124Z] Login Succeeded [2023-05-08T23:17:57.124Z] docker.io [2023-05-08T23:17:57.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:17:57.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:17:57.386Z] Configure a credential helper to remove this warning. See [2023-05-08T23:17:57.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:17:57.386Z] [2023-05-08T23:17:57.386Z] Login Succeeded [2023-05-08T23:17:57.386Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T23:17:57.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T23:17:57.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T23:17:57.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T23:17:57.653Z] ========================================================= [2023-05-08T23:17:57.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T23:17:57.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:17:58.108Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T23:17:58.108Z] Sending build context to Docker daemon 21.96MB [2023-05-08T23:17:58.108Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T23:17:58.108Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T23:17:58.108Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T23:17:58.108Z] f56be85fc22e: Pulling fs layer [2023-05-08T23:17:58.108Z] 85791d961cd3: Pulling fs layer [2023-05-08T23:17:58.108Z] d694b5ae8c79: Pulling fs layer [2023-05-08T23:17:58.108Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T23:17:58.108Z] 4d19c01a9841: Pulling fs layer [2023-05-08T23:17:58.108Z] 9f32a84ed3da: Waiting [2023-05-08T23:17:58.108Z] 9325e15d5711: Pulling fs layer [2023-05-08T23:17:58.108Z] 556b6ee489ea: Pulling fs layer [2023-05-08T23:17:58.108Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T23:17:58.108Z] 4d19c01a9841: Waiting [2023-05-08T23:17:58.108Z] c5a4b2cf53e6: Waiting [2023-05-08T23:17:58.108Z] 556b6ee489ea: Waiting [2023-05-08T23:17:58.108Z] 9325e15d5711: Waiting [2023-05-08T23:17:58.367Z] 85791d961cd3: Download complete [2023-05-08T23:17:58.367Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T23:17:58.367Z] 9f32a84ed3da: Download complete [2023-05-08T23:17:58.367Z] 4d19c01a9841: Download complete [2023-05-08T23:17:58.367Z] f56be85fc22e: Verifying Checksum [2023-05-08T23:17:58.367Z] f56be85fc22e: Download complete [2023-05-08T23:17:58.367Z] 9325e15d5711: Verifying Checksum [2023-05-08T23:17:58.367Z] 9325e15d5711: Download complete [2023-05-08T23:17:58.367Z] f56be85fc22e: Pull complete [2023-05-08T23:17:58.626Z] 85791d961cd3: Pull complete [2023-05-08T23:17:58.884Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T23:17:58.884Z] c5a4b2cf53e6: Download complete [2023-05-08T23:17:58.884Z] d694b5ae8c79: Verifying Checksum [2023-05-08T23:17:58.884Z] d694b5ae8c79: Download complete [2023-05-08T23:17:59.142Z] 556b6ee489ea: Download complete [2023-05-08T23:18:01.682Z] d694b5ae8c79: Pull complete [2023-05-08T23:18:01.682Z] 9f32a84ed3da: Pull complete [2023-05-08T23:18:01.941Z] 4d19c01a9841: Pull complete [2023-05-08T23:18:01.941Z] 9325e15d5711: Pull complete [2023-05-08T23:18:04.474Z] 556b6ee489ea: Pull complete [2023-05-08T23:18:05.041Z] c5a4b2cf53e6: Pull complete [2023-05-08T23:18:05.041Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T23:18:05.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T23:18:05.041Z] ---> c4be618373d6 [2023-05-08T23:18:05.041Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T23:18:08.325Z] ---> Running in bca35137b512 [2023-05-08T23:18:08.325Z] Removing intermediate container bca35137b512 [2023-05-08T23:18:08.325Z] ---> 398271f1b2ec [2023-05-08T23:18:08.325Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T23:18:08.325Z] ---> Running in 05c67677b018 [2023-05-08T23:18:08.325Z] Removing intermediate container 05c67677b018 [2023-05-08T23:18:08.325Z] ---> 041e99e25db8 [2023-05-08T23:18:08.325Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-08T23:18:08.325Z] ---> Running in 4a17956fdba5 [2023-05-08T23:18:08.584Z] Removing intermediate container 4a17956fdba5 [2023-05-08T23:18:08.584Z] ---> 49c909ff7f8c [2023-05-08T23:18:08.584Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T23:18:08.584Z] ---> Running in 6943cc0425f2 [2023-05-08T23:18:08.584Z] Removing intermediate container 6943cc0425f2 [2023-05-08T23:18:08.584Z] ---> 870645dabf82 [2023-05-08T23:18:08.584Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-08T23:18:08.584Z] ---> Running in c99ca730b98e [2023-05-08T23:18:08.584Z] Removing intermediate container c99ca730b98e [2023-05-08T23:18:08.584Z] ---> 1ee8a2bcff38 [2023-05-08T23:18:08.584Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T23:18:08.584Z] ---> Running in b97d2fa19885 [2023-05-08T23:18:08.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T23:18:09.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T23:18:09.423Z] OK: 265 MiB in 53 packages [2023-05-08T23:18:09.682Z] Removing intermediate container b97d2fa19885 [2023-05-08T23:18:09.682Z] ---> 0e5ed42c089a [2023-05-08T23:18:09.682Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-08T23:18:09.682Z] ---> Running in d2d37aec5487 [2023-05-08T23:18:09.940Z] Removing intermediate container d2d37aec5487 [2023-05-08T23:18:09.940Z] ---> f0dd2045c8b4 [2023-05-08T23:18:09.940Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-08T23:18:09.940Z] ---> 2d940c997eb9 [2023-05-08T23:18:09.940Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T23:18:09.940Z] ---> Running in f61d43e788cf [2023-05-08T23:18:11.354Z] Still waiting to schedule task [2023-05-08T23:18:11.355Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-08T23:18:56.624Z] Removing intermediate container f61d43e788cf [2023-05-08T23:18:56.624Z] ---> 4f21573fac1b [2023-05-08T23:18:56.624Z] Step 12/13 : COPY . . [2023-05-08T23:18:56.624Z] ---> 2aa43f4fc354 [2023-05-08T23:18:56.624Z] Step 13/13 : RUN ${MAKE} [2023-05-08T23:18:56.624Z] ---> Running in 2d1a5319a0bf [2023-05-08T23:18:56.624Z] noop [2023-05-08T23:18:56.624Z] Removing intermediate container 2d1a5319a0bf [2023-05-08T23:18:56.624Z] ---> d13456862693 [2023-05-08T23:18:56.624Z] Successfully built d13456862693 [2023-05-08T23:18:56.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:18:57.066Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T23:18:57.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:18:57.215Z] prd-ubuntu20.04-docker-8c-8g-14572 does not seem to be running inside a container [2023-05-08T23:18:57.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T23:18:57.588Z] $ docker top d9ebf9526946057fdd6025b2a8a0ad76e2b91be1650ed5abe21c94c6658f4830 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T23:18:57.973Z] + go version [2023-05-08T23:18:57.973Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T23:18:58.010Z] $ docker stop --time=1 d9ebf9526946057fdd6025b2a8a0ad76e2b91be1650ed5abe21c94c6658f4830 [2023-05-08T23:18:59.238Z] $ docker rm -f --volumes d9ebf9526946057fdd6025b2a8a0ad76e2b91be1650ed5abe21c94c6658f4830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:18:59.909Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T23:18:59.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:19:00.052Z] prd-ubuntu20.04-docker-8c-8g-14572 does not seem to be running inside a container [2023-05-08T23:19:00.084Z] $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T23:19:00.381Z] $ docker top 960960e501eaa322f8b09901ee15a8d62409bcb389427be81b01c222259fe3bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T23:19:00.777Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh [2023-05-08T23:19:01.136Z] + make test [2023-05-08T23:19:01.136Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T23:19:06.404Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-08T23:19:16.366Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-08T23:19:16.366Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-08T23:19:17.743Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.1% of statements [2023-05-08T23:19:17.743Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.346s coverage: 86.5% of statements [2023-05-08T23:19:24.297Z] go vet ./... [2023-05-08T23:19:28.480Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T23:19:28.480Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T23:19:28.480Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T23:19:28.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T23:19:28.549Z] $ docker stop --time=1 960960e501eaa322f8b09901ee15a8d62409bcb389427be81b01c222259fe3bf [2023-05-08T23:19:31.239Z] $ docker rm -f --volumes 960960e501eaa322f8b09901ee15a8d62409bcb389427be81b01c222259fe3bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T23:19:31.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T23:19:31.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T23:19:32.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T23:19:32.982Z] + ls -al . [2023-05-08T23:19:32.982Z] total 232 [2023-05-08T23:19:32.982Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 23:19 . [2023-05-08T23:19:32.982Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:17 .. [2023-05-08T23:19:32.982Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:17 .git [2023-05-08T23:19:32.982Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:17 .github [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:17 .gitignore [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:17 .golangci.yml [2023-05-08T23:19:32.982Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:17 .semver [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:17 Attribution.txt [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:17 CHANGELOG.md [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:17 Dockerfile [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:17 GOVERNANCE.md [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:17 Jenkinsfile [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:17 LICENSE [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:17 Makefile [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:17 OWNERS.md [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:17 README.md [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 23:17 VERSION [2023-05-08T23:19:32.982Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:17 bin [2023-05-08T23:19:32.982Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:17 cmd [2023-05-08T23:19:32.982Z] -rw-r--r-- 1 jenkins jenkins 79191 May 8 23:19 coverage.out [2023-05-08T23:19:32.982Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:17 doc [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:17 go.mod [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:17 go.sum [2023-05-08T23:19:32.982Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:17 internal [2023-05-08T23:19:32.982Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:17 snap [2023-05-08T23:19:32.982Z] -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:19:33.400Z] + 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=ba6cd6ef80fe169f416bb50f13b133867c90c8a6 --label arch=amd64 --label version=0.0.0 . [2023-05-08T23:19:33.400Z] Sending build context to Docker daemon 22.04MB [2023-05-08T23:19:33.400Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T23:19:33.400Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-08T23:19:33.400Z] ---> d13456862693 [2023-05-08T23:19:33.400Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-08T23:19:33.660Z] ---> Running in e9cd12b53e9b [2023-05-08T23:19:33.660Z] Removing intermediate container e9cd12b53e9b [2023-05-08T23:19:33.660Z] ---> 963aa1f32efd [2023-05-08T23:19:33.660Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T23:19:33.660Z] ---> Running in 1ca23a29e2f2 [2023-05-08T23:19:33.919Z] Removing intermediate container 1ca23a29e2f2 [2023-05-08T23:19:33.919Z] ---> e309536f3858 [2023-05-08T23:19:33.919Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-08T23:19:33.919Z] ---> Running in 3bc9f496704d [2023-05-08T23:19:33.919Z] Removing intermediate container 3bc9f496704d [2023-05-08T23:19:33.919Z] ---> 3a81a0c4af2d [2023-05-08T23:19:33.919Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T23:19:33.919Z] ---> Running in ff4d79d68c04 [2023-05-08T23:19:33.919Z] Removing intermediate container ff4d79d68c04 [2023-05-08T23:19:33.919Z] ---> 0a19ebe76e44 [2023-05-08T23:19:33.919Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-08T23:19:33.919Z] ---> Running in 9e09c62661c8 [2023-05-08T23:19:34.178Z] Removing intermediate container 9e09c62661c8 [2023-05-08T23:19:34.178Z] ---> 13fffe72c1f1 [2023-05-08T23:19:34.178Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T23:19:34.178Z] ---> Running in bbcdb4f58d12 [2023-05-08T23:19:34.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T23:19:34.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T23:19:34.697Z] OK: 265 MiB in 53 packages [2023-05-08T23:19:34.956Z] Removing intermediate container bbcdb4f58d12 [2023-05-08T23:19:34.956Z] ---> 0a3ba2c17d6f [2023-05-08T23:19:34.956Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-08T23:19:34.956Z] ---> Running in 9722ea815bb6 [2023-05-08T23:19:34.956Z] Removing intermediate container 9722ea815bb6 [2023-05-08T23:19:34.956Z] ---> 1a7689778e90 [2023-05-08T23:19:34.956Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-08T23:19:35.214Z] ---> eb6b1fcfb7e7 [2023-05-08T23:19:35.214Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T23:19:35.214Z] ---> Running in 8eecb6915180 [2023-05-08T23:19:35.781Z] Removing intermediate container 8eecb6915180 [2023-05-08T23:19:35.781Z] ---> 2cf52d9f9cb9 [2023-05-08T23:19:35.781Z] Step 12/26 : COPY . . [2023-05-08T23:19:36.385Z] ---> bf2279b90e3d [2023-05-08T23:19:36.385Z] Step 13/26 : RUN ${MAKE} [2023-05-08T23:19:36.385Z] ---> Running in b1e6006c7299 [2023-05-08T23:19:36.643Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-08T23:19:47.204Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14573 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws [2023-05-08T23:19:47.262Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-08T23:19:47.335Z] The recommended git tool is: git [2023-05-08T23:19:52.605Z] using credential edgex-jenkins-ssh [2023-05-08T23:19:52.633Z] Cloning the remote Git repository [2023-05-08T23:19:52.670Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-08T23:19:52.754Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-08T23:19:52.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-08T23:19:52.898Z] > git --version # timeout=10 [2023-05-08T23:19:52.920Z] > git --version # 'git version 2.25.1' [2023-05-08T23:19:52.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T23:19:53.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T23:19:54.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-08T23:19:54.525Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T23:19:54.984Z] Removing intermediate container b1e6006c7299 [2023-05-08T23:19:54.984Z] ---> 70b0370bf1bc [2023-05-08T23:19:54.984Z] Step 14/26 : FROM alpine:3.17 [2023-05-08T23:19:54.984Z] 3.17: Pulling from library/alpine [2023-05-08T23:19:54.984Z] f56be85fc22e: Already exists [2023-05-08T23:19:54.984Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T23:19:54.984Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T23:19:54.984Z] ---> 9ed4aefc74f6 [2023-05-08T23:19:54.984Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T23:19:54.984Z] ---> Running in 5cb1b6add578 [2023-05-08T23:19:54.984Z] Removing intermediate container 5cb1b6add578 [2023-05-08T23:19:54.984Z] ---> 21720048296d [2023-05-08T23:19:54.984Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-08T23:19:54.984Z] ---> Running in 0efd504bd722 [2023-05-08T23:19:54.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T23:19:55.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T23:19:55.252Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T23:19:55.252Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T23:19:55.512Z] OK: 7 MiB in 16 packages [2023-05-08T23:19:55.771Z] Removing intermediate container 0efd504bd722 [2023-05-08T23:19:55.771Z] ---> 5f2b904bdc09 [2023-05-08T23:19:55.771Z] Step 17/26 : WORKDIR / [2023-05-08T23:19:55.771Z] ---> Running in b491a7d98fea [2023-05-08T23:19:55.771Z] Removing intermediate container b491a7d98fea [2023-05-08T23:19:55.771Z] ---> 0a5a0c2a7e01 [2023-05-08T23:19:55.771Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-08T23:19:55.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-08T23:19:55.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-08T23:19:55.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T23:19:55.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T23:19:56.292Z] Merging remotes/origin/main commit f98012d7d0d49bdee7157353e7b34a4041fe70f7 into PR head commit 9a3f494788b3c6a4ec7e716860646a09193c47be [2023-05-08T23:19:56.342Z] ---> d8e9c91b51f3 [2023-05-08T23:19:56.342Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-08T23:19:56.605Z] ---> 903b87e859af [2023-05-08T23:19:56.605Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-08T23:19:56.605Z] ---> dd64047d43e0 [2023-05-08T23:19:56.605Z] Step 21/26 : EXPOSE 59984 [2023-05-08T23:19:56.605Z] ---> Running in 717f1b8753e4 [2023-05-08T23:19:56.865Z] Removing intermediate container 717f1b8753e4 [2023-05-08T23:19:56.865Z] ---> cb7e623721fc [2023-05-08T23:19:56.865Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-08T23:19:56.865Z] ---> Running in f0430d19c140 [2023-05-08T23:19:56.865Z] Removing intermediate container f0430d19c140 [2023-05-08T23:19:56.865Z] ---> 7199190836ea [2023-05-08T23:19:56.865Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T23:19:56.865Z] ---> Running in 00bb4d866c57 [2023-05-08T23:19:56.865Z] Removing intermediate container 00bb4d866c57 [2023-05-08T23:19:56.865Z] ---> b9c2d97343e6 [2023-05-08T23:19:56.865Z] Step 24/26 : LABEL arch=amd64 [2023-05-08T23:19:56.865Z] ---> Running in dcf0369eb435 [2023-05-08T23:19:56.967Z] Merge succeeded, producing 6a656956388baf6eb67e8350e3dcdaf376783fa7 [2023-05-08T23:19:56.968Z] Checking out Revision 6a656956388baf6eb67e8350e3dcdaf376783fa7 (PR-347) [2023-05-08T23:19:57.127Z] Removing intermediate container dcf0369eb435 [2023-05-08T23:19:57.127Z] ---> bb8611311752 [2023-05-08T23:19:57.127Z] Step 25/26 : LABEL git_sha=ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [2023-05-08T23:19:57.127Z] ---> Running in a964fa6f2372 [2023-05-08T23:19:57.127Z] Removing intermediate container a964fa6f2372 [2023-05-08T23:19:57.127Z] ---> de6686de4a48 [2023-05-08T23:19:57.127Z] Step 26/26 : LABEL version=0.0.0 [2023-05-08T23:19:57.127Z] ---> Running in 22f51d3f3a2e [2023-05-08T23:19:57.127Z] Removing intermediate container 22f51d3f3a2e [2023-05-08T23:19:57.127Z] ---> eac2a8b19c57 [2023-05-08T23:19:57.127Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T23:19:57.127Z] Successfully built eac2a8b19c57 [2023-05-08T23:19:57.127Z] 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 [2023-05-08T23:19:56.308Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T23:19:56.383Z] > git checkout -f 9a3f494788b3c6a4ec7e716860646a09193c47be # timeout=10 [2023-05-08T23:19:56.555Z] > git remote # timeout=10 [2023-05-08T23:19:56.573Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T23:19:56.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T23:19:56.620Z] > git merge f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 [2023-05-08T23:19:56.942Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T23:19:56.970Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T23:19:56.986Z] > git checkout -f 6a656956388baf6eb67e8350e3dcdaf376783fa7 # timeout=10 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:19:58.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T23:19:58.028Z] [2023-05-08T23:19:58.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:19:58.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T23:19:58.406Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T23:19:58.406Z] 5eb5b503b376: Pulling fs layer [2023-05-08T23:19:58.406Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T23:19:58.406Z] ec43610c2a17: Pulling fs layer [2023-05-08T23:19:58.406Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T23:19:58.406Z] 33b1e0a273af: Pulling fs layer [2023-05-08T23:19:58.406Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T23:19:58.406Z] 2f39f015ded8: Pulling fs layer [2023-05-08T23:19:58.406Z] 2f39f015ded8: Waiting [2023-05-08T23:19:58.406Z] 5d3b04190fa2: Waiting [2023-05-08T23:19:58.406Z] 3a2ae6a8a46f: Waiting [2023-05-08T23:19:58.406Z] 5c69ac0246d0: Download complete [2023-05-08T23:19:58.406Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T23:19:58.406Z] 3a2ae6a8a46f: Download complete [2023-05-08T23:19:58.406Z] ec43610c2a17: Verifying Checksum [2023-05-08T23:19:58.406Z] ec43610c2a17: Download complete [2023-05-08T23:19:58.406Z] 33b1e0a273af: Verifying Checksum [2023-05-08T23:19:58.406Z] 33b1e0a273af: Download complete [2023-05-08T23:19:58.406Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T23:19:58.406Z] 5d3b04190fa2: Download complete [2023-05-08T23:19:58.663Z] 5eb5b503b376: Download complete [2023-05-08T23:19:59.231Z] 2f39f015ded8: Verifying Checksum [2023-05-08T23:19:59.231Z] 2f39f015ded8: Download complete [2023-05-08T23:19:59.798Z] 5eb5b503b376: Pull complete [2023-05-08T23:19:59.798Z] 5c69ac0246d0: Pull complete [2023-05-08T23:20:00.060Z] ec43610c2a17: Pull complete [2023-05-08T23:20:00.060Z] 3a2ae6a8a46f: Pull complete [2023-05-08T23:20:00.320Z] 33b1e0a273af: Pull complete [2023-05-08T23:20:00.320Z] 5d3b04190fa2: Pull complete [2023-05-08T23:20:00.690Z] Commit message: "Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD" [2023-05-08T23:20:00.690Z] First time build. Skipping changelog. [2023-05-08T23:20:00.734Z] > git --version # timeout=10 [2023-05-08T23:20:00.745Z] > git --version # 'git version 2.25.1' [2023-05-08T23:20:00.763Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T23:20:01.180Z] [2023-05-08T23:20:01.180Z] GitHub has been notified of this commit’s build result [2023-05-08T23:20:01.180Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T23:20:01.908Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T23:20:01.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T23:20:01.909Z] Dload Upload Total Spent Left Speed [2023-05-08T23:20:01.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-05-08T23:20:02.642Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T23:20:03.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T23:20:03.002Z] + sudo tee /etc/docker/daemon.new [2023-05-08T23:20:03.002Z] { [2023-05-08T23:20:03.002Z] "registry-mirrors": [ [2023-05-08T23:20:03.002Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T23:20:03.002Z] ], [2023-05-08T23:20:03.002Z] "bip": "10.250.0.254/24", [2023-05-08T23:20:03.002Z] "hosts": [ [2023-05-08T23:20:03.002Z] "tcp://0.0.0.0:5555", [2023-05-08T23:20:03.002Z] "unix:///var/run/docker.sock" [2023-05-08T23:20:03.002Z] ], [2023-05-08T23:20:03.002Z] "mtu": 1458, [2023-05-08T23:20:03.002Z] "selinux-enabled": true, [2023-05-08T23:20:03.002Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T23:20:03.002Z] } [Pipeline] sh [2023-05-08T23:20:03.361Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T23:20:03.725Z] + sudo service docker restart [2023-05-08T23:20:04.503Z] 2f39f015ded8: Pull complete [2023-05-08T23:20:04.503Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T23:20:04.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T23:20:04.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:20:04.738Z] prd-ubuntu20.04-docker-8c-8g-14572 does not seem to be running inside a container [2023-05-08T23:20:04.772Z] $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T23:20:06.807Z] $ docker top 13755dbf4f6bce5ebabf1d46d64776fd735857ea2e82873cb803f3cc9a4884db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:20:07.287Z] ---> job-cost.sh [2023-05-08T23:20:07.287Z] lf-activate-venv: SKIPPING [2023-05-08T23:20:07.287Z] INFO: No Stack... [2023-05-08T23:20:07.550Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T23:20:07.810Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T23:20:08.128Z] + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv [2023-05-08T23:20:08.128Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T23:20:08.171Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [2023-05-08T23:20:08.177Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] did not exist. Created. [2023-05-08T23:20:08.177Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T23:20:08.564Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T23:20:08.626Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T23:20:08.643Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T23:20:08.722Z] $ docker stop --time=1 13755dbf4f6bce5ebabf1d46d64776fd735857ea2e82873cb803f3cc9a4884db [2023-05-08T23:20:09.876Z] $ docker rm -f --volumes 13755dbf4f6bce5ebabf1d46d64776fd735857ea2e82873cb803f3cc9a4884db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T23:20:22.065Z] provisioning config files... [2023-05-08T23:20:22.095Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7573291258249003464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:20:22.486Z] ---> docker-login.sh [2023-05-08T23:20:22.487Z] nexus3.edgexfoundry.org:10001 [2023-05-08T23:20:22.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:20:23.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:20:23.031Z] Configure a credential helper to remove this warning. See [2023-05-08T23:20:23.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:20:23.031Z] [2023-05-08T23:20:23.031Z] Login Succeeded [2023-05-08T23:20:23.031Z] nexus3.edgexfoundry.org:10002 [2023-05-08T23:20:23.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:20:23.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:20:23.571Z] Configure a credential helper to remove this warning. See [2023-05-08T23:20:23.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:20:23.571Z] [2023-05-08T23:20:23.571Z] Login Succeeded [2023-05-08T23:20:23.571Z] nexus3.edgexfoundry.org:10003 [2023-05-08T23:20:23.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:20:23.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:20:23.840Z] Configure a credential helper to remove this warning. See [2023-05-08T23:20:23.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:20:23.840Z] [2023-05-08T23:20:23.840Z] Login Succeeded [2023-05-08T23:20:23.840Z] nexus3.edgexfoundry.org:10004 [2023-05-08T23:20:24.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:20:24.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:20:24.112Z] Configure a credential helper to remove this warning. See [2023-05-08T23:20:24.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:20:24.112Z] [2023-05-08T23:20:24.112Z] Login Succeeded [2023-05-08T23:20:24.112Z] docker.io [2023-05-08T23:20:24.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T23:20:24.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T23:20:24.679Z] Configure a credential helper to remove this warning. See [2023-05-08T23:20:24.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T23:20:24.679Z] [2023-05-08T23:20:24.679Z] Login Succeeded [2023-05-08T23:20:24.679Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T23:20:24.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T23:20:25.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T23:20:25.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T23:20:25.197Z] ========================================================= [2023-05-08T23:20:25.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T23:20:25.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:20:25.775Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T23:20:26.049Z] Sending build context to Docker daemon 14.61MB [2023-05-08T23:20:26.049Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T23:20:26.049Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T23:20:26.333Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T23:20:26.333Z] c41833b44d91: Pulling fs layer [2023-05-08T23:20:26.333Z] ed15518f5707: Pulling fs layer [2023-05-08T23:20:26.333Z] feae8fd75edb: Pulling fs layer [2023-05-08T23:20:26.333Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T23:20:26.333Z] 3cdef696dda3: Pulling fs layer [2023-05-08T23:20:26.333Z] 2ced38df9373: Pulling fs layer [2023-05-08T23:20:26.333Z] 58f1dce35555: Pulling fs layer [2023-05-08T23:20:26.333Z] 3cdef696dda3: Waiting [2023-05-08T23:20:26.333Z] 2ced38df9373: Waiting [2023-05-08T23:20:26.333Z] 242c74f7c9fa: Waiting [2023-05-08T23:20:26.333Z] 58f1dce35555: Waiting [2023-05-08T23:20:26.333Z] ed15518f5707: Verifying Checksum [2023-05-08T23:20:26.333Z] ed15518f5707: Download complete [2023-05-08T23:20:26.333Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T23:20:26.333Z] 242c74f7c9fa: Download complete [2023-05-08T23:20:26.333Z] 3cdef696dda3: Verifying Checksum [2023-05-08T23:20:26.333Z] 3cdef696dda3: Download complete [2023-05-08T23:20:26.333Z] c41833b44d91: Verifying Checksum [2023-05-08T23:20:26.333Z] c41833b44d91: Download complete [2023-05-08T23:20:27.345Z] c41833b44d91: Pull complete [2023-05-08T23:20:27.931Z] 58f1dce35555: Verifying Checksum [2023-05-08T23:20:27.931Z] 58f1dce35555: Download complete [2023-05-08T23:20:27.931Z] ed15518f5707: Pull complete [2023-05-08T23:20:28.897Z] feae8fd75edb: Verifying Checksum [2023-05-08T23:20:28.897Z] feae8fd75edb: Download complete [2023-05-08T23:20:28.897Z] 2ced38df9373: Verifying Checksum [2023-05-08T23:20:28.897Z] 2ced38df9373: Download complete [2023-05-08T23:20:39.083Z] feae8fd75edb: Pull complete [2023-05-08T23:20:39.351Z] 242c74f7c9fa: Pull complete [2023-05-08T23:20:39.619Z] 3cdef696dda3: Pull complete [2023-05-08T23:20:46.280Z] 2ced38df9373: Pull complete [2023-05-08T23:20:48.247Z] 58f1dce35555: Pull complete [2023-05-08T23:20:48.518Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T23:20:48.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T23:20:48.518Z] ---> fadd8f120f05 [2023-05-08T23:20:48.518Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T23:20:50.459Z] ---> Running in 492bcd0d582a [2023-05-08T23:20:50.459Z] Removing intermediate container 492bcd0d582a [2023-05-08T23:20:50.459Z] ---> 1224df0d34fd [2023-05-08T23:20:50.459Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T23:20:50.459Z] ---> Running in 308f050a67ab [2023-05-08T23:20:50.727Z] Removing intermediate container 308f050a67ab [2023-05-08T23:20:50.727Z] ---> a81ea19633cb [2023-05-08T23:20:50.727Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-08T23:20:50.994Z] ---> Running in 2dfb899f8d13 [2023-05-08T23:20:51.262Z] Removing intermediate container 2dfb899f8d13 [2023-05-08T23:20:51.262Z] ---> f9577ee7b748 [2023-05-08T23:20:51.262Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T23:20:51.262Z] ---> Running in 2c9edbe92633 [2023-05-08T23:20:51.533Z] Removing intermediate container 2c9edbe92633 [2023-05-08T23:20:51.533Z] ---> db44a5cb087a [2023-05-08T23:20:51.533Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-08T23:20:51.533Z] ---> Running in 075aacc58725 [2023-05-08T23:20:51.802Z] Removing intermediate container 075aacc58725 [2023-05-08T23:20:51.802Z] ---> a4057dafec1d [2023-05-08T23:20:51.802Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T23:20:51.802Z] ---> Running in 38fed05e047d [2023-05-08T23:20:52.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T23:20:53.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T23:20:54.840Z] OK: 263 MiB in 53 packages [2023-05-08T23:20:55.479Z] Removing intermediate container 38fed05e047d [2023-05-08T23:20:55.479Z] ---> 80bc094b3956 [2023-05-08T23:20:55.479Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-08T23:20:55.479Z] ---> Running in 69fe2c001303 [2023-05-08T23:20:55.746Z] Removing intermediate container 69fe2c001303 [2023-05-08T23:20:55.746Z] ---> 90cfc4e18634 [2023-05-08T23:20:55.746Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-08T23:20:56.335Z] ---> 9331af178895 [2023-05-08T23:20:56.335Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T23:20:56.335Z] ---> Running in 60d929e50b29 [2023-05-08T23:22:04.278Z] Removing intermediate container 60d929e50b29 [2023-05-08T23:22:04.278Z] ---> 83a3ee183bdd [2023-05-08T23:22:04.278Z] Step 12/13 : COPY . . [2023-05-08T23:22:04.278Z] ---> b9be9cf4189e [2023-05-08T23:22:04.278Z] Step 13/13 : RUN ${MAKE} [2023-05-08T23:22:04.278Z] ---> Running in 354b6609bcb0 [2023-05-08T23:22:04.278Z] noop [2023-05-08T23:22:04.278Z] Removing intermediate container 354b6609bcb0 [2023-05-08T23:22:04.278Z] ---> 5ac087a67b08 [2023-05-08T23:22:04.278Z] Successfully built 5ac087a67b08 [2023-05-08T23:22:04.278Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:22:04.755Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T23:22:04.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:22:05.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-14573 does not seem to be running inside a container [2023-05-08T23:22:05.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T23:22:06.223Z] $ docker top 9cf504e71b8de45d037c4e63af57ebda2c70cd803301fe46ae59e24b44bc0480 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T23:22:07.097Z] + go version [2023-05-08T23:22:07.097Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T23:22:07.128Z] $ docker stop --time=1 9cf504e71b8de45d037c4e63af57ebda2c70cd803301fe46ae59e24b44bc0480 [2023-05-08T23:22:08.706Z] $ docker rm -f --volumes 9cf504e71b8de45d037c4e63af57ebda2c70cd803301fe46ae59e24b44bc0480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:22:09.587Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T23:22:09.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:22:09.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-14573 does not seem to be running inside a container [2023-05-08T23:22:09.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T23:22:11.064Z] $ docker top e84bfe5dd520075e12730ab230527472496eeaee3cc91b4fe74e1222cf8dd236 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T23:22:11.966Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T23:22:12.374Z] + make test [2023-05-08T23:22:12.649Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T23:22:45.018Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-08T23:24:51.710Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-08T23:24:51.710Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-08T23:24:54.323Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.262s coverage: 31.1% of statements [2023-05-08T23:25:21.180Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.055s coverage: 86.5% of statements [2023-05-08T23:25:21.180Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T23:25:21.180Z] go vet ./... [2023-05-08T23:25:53.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T23:25:53.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T23:25:53.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T23:25:53.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T23:25:53.698Z] $ docker stop --time=1 e84bfe5dd520075e12730ab230527472496eeaee3cc91b4fe74e1222cf8dd236 [2023-05-08T23:25:55.567Z] $ docker rm -f --volumes e84bfe5dd520075e12730ab230527472496eeaee3cc91b4fe74e1222cf8dd236 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T23:25:56.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T23:25:57.027Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T23:25:57.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T23:25:58.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T23:25:58.747Z] + ls -al . [2023-05-08T23:25:58.747Z] total 228 [2023-05-08T23:25:58.747Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 23:22 . [2023-05-08T23:25:58.747Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:19 .. [2023-05-08T23:25:58.747Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:19 .git [2023-05-08T23:25:58.747Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:19 .github [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:19 .gitignore [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:19 .golangci.yml [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:19 Attribution.txt [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:19 CHANGELOG.md [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:19 Dockerfile [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:19 GOVERNANCE.md [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:19 Jenkinsfile [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:19 LICENSE [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:19 Makefile [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:19 OWNERS.md [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:19 README.md [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 23:17 VERSION [2023-05-08T23:25:58.747Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:19 bin [2023-05-08T23:25:58.747Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:19 cmd [2023-05-08T23:25:58.747Z] -rw-r--r-- 1 jenkins jenkins 79191 May 8 23:25 coverage.out [2023-05-08T23:25:58.747Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:19 doc [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:19 go.mod [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:19 go.sum [2023-05-08T23:25:58.747Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:19 internal [2023-05-08T23:25:58.747Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:19 snap [2023-05-08T23:25:58.747Z] -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:25:59.188Z] + 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=6a656956388baf6eb67e8350e3dcdaf376783fa7 --label arch=arm64 --label version=0.0.0 . [2023-05-08T23:25:59.802Z] Sending build context to Docker daemon 14.69MB [2023-05-08T23:25:59.802Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T23:25:59.802Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-08T23:25:59.802Z] ---> 5ac087a67b08 [2023-05-08T23:25:59.802Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-08T23:26:00.767Z] ---> Running in e82db4d8556b [2023-05-08T23:26:01.044Z] Removing intermediate container e82db4d8556b [2023-05-08T23:26:01.044Z] ---> d004049e5262 [2023-05-08T23:26:01.044Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T23:26:01.044Z] ---> Running in c7b19299b39d [2023-05-08T23:26:01.313Z] Removing intermediate container c7b19299b39d [2023-05-08T23:26:01.313Z] ---> a3fd3bece9ce [2023-05-08T23:26:01.313Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-08T23:26:01.584Z] ---> Running in 22d8ddde1a89 [2023-05-08T23:26:01.853Z] Removing intermediate container 22d8ddde1a89 [2023-05-08T23:26:01.853Z] ---> b37f40a56f2f [2023-05-08T23:26:01.853Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T23:26:02.126Z] ---> Running in c4d56b1c22f1 [2023-05-08T23:26:02.396Z] Removing intermediate container c4d56b1c22f1 [2023-05-08T23:26:02.396Z] ---> 8ec5546a7acb [2023-05-08T23:26:02.396Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-08T23:26:02.396Z] ---> Running in 447939f763ec [2023-05-08T23:26:02.697Z] Removing intermediate container 447939f763ec [2023-05-08T23:26:02.697Z] ---> 09dc7f38e7c7 [2023-05-08T23:26:02.697Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T23:26:02.966Z] ---> Running in aa0ba3c3cd50 [2023-05-08T23:26:03.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T23:26:04.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T23:26:05.930Z] OK: 263 MiB in 53 packages [2023-05-08T23:26:06.520Z] Removing intermediate container aa0ba3c3cd50 [2023-05-08T23:26:06.520Z] ---> e29feb2266bc [2023-05-08T23:26:06.520Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-08T23:26:06.520Z] ---> Running in dc38e6f1fd44 [2023-05-08T23:26:06.789Z] Removing intermediate container dc38e6f1fd44 [2023-05-08T23:26:06.789Z] ---> 17ddb9b603f0 [2023-05-08T23:26:06.789Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-08T23:26:07.378Z] ---> 0fa6d8a8b6f4 [2023-05-08T23:26:07.378Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T23:26:07.378Z] ---> Running in 61a924aedf80 [2023-05-08T23:26:10.005Z] Removing intermediate container 61a924aedf80 [2023-05-08T23:26:10.005Z] ---> b39efba60bf1 [2023-05-08T23:26:10.005Z] Step 12/26 : COPY . . [2023-05-08T23:26:15.359Z] ---> 9f3b74d2b2db [2023-05-08T23:26:15.359Z] Step 13/26 : RUN ${MAKE} [2023-05-08T23:26:15.359Z] ---> Running in 9232329642f7 [2023-05-08T23:26:15.948Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-08T23:28:52.741Z] Removing intermediate container 9232329642f7 [2023-05-08T23:28:52.741Z] ---> 5ea0ce646594 [2023-05-08T23:28:52.741Z] Step 14/26 : FROM alpine:3.17 [2023-05-08T23:28:52.741Z] 3.17: Pulling from library/alpine [2023-05-08T23:28:52.741Z] c41833b44d91: Already exists [2023-05-08T23:28:52.741Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T23:28:52.741Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T23:28:52.741Z] ---> 51e60588ff2c [2023-05-08T23:28:52.741Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T23:28:52.741Z] ---> Running in 4709863189fc [2023-05-08T23:28:52.741Z] Removing intermediate container 4709863189fc [2023-05-08T23:28:52.741Z] ---> 203674d06015 [2023-05-08T23:28:52.741Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-08T23:28:52.741Z] ---> Running in d4a48ff7084a [2023-05-08T23:28:52.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T23:28:52.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T23:28:52.741Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T23:28:52.741Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T23:28:52.741Z] OK: 8 MiB in 16 packages [2023-05-08T23:28:52.741Z] Removing intermediate container d4a48ff7084a [2023-05-08T23:28:52.741Z] ---> f8e74e338230 [2023-05-08T23:28:52.741Z] Step 17/26 : WORKDIR / [2023-05-08T23:28:52.741Z] ---> Running in d4819fa9541b [2023-05-08T23:28:52.741Z] Removing intermediate container d4819fa9541b [2023-05-08T23:28:52.741Z] ---> bf1e2b72c5f0 [2023-05-08T23:28:52.741Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-08T23:28:52.741Z] ---> bf293c3f8795 [2023-05-08T23:28:52.741Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-08T23:28:52.741Z] ---> 78f457834462 [2023-05-08T23:28:52.741Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-08T23:28:52.741Z] ---> 1e43dab313d8 [2023-05-08T23:28:52.741Z] Step 21/26 : EXPOSE 59984 [2023-05-08T23:28:52.741Z] ---> Running in 3069325deb2f [2023-05-08T23:28:52.741Z] Removing intermediate container 3069325deb2f [2023-05-08T23:28:52.741Z] ---> 91c03bcdab63 [2023-05-08T23:28:52.741Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-08T23:28:52.741Z] ---> Running in afd8eeb657a4 [2023-05-08T23:28:52.741Z] Removing intermediate container afd8eeb657a4 [2023-05-08T23:28:52.741Z] ---> dc19931c85df [2023-05-08T23:28:52.741Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T23:28:52.741Z] ---> Running in 3def40b21820 [2023-05-08T23:28:52.741Z] Removing intermediate container 3def40b21820 [2023-05-08T23:28:52.741Z] ---> df16b325f4a3 [2023-05-08T23:28:52.741Z] Step 24/26 : LABEL arch=arm64 [2023-05-08T23:28:52.741Z] ---> Running in 8e84de2ff599 [2023-05-08T23:28:52.741Z] Removing intermediate container 8e84de2ff599 [2023-05-08T23:28:52.741Z] ---> fb60cd615111 [2023-05-08T23:28:52.741Z] Step 25/26 : LABEL git_sha=6a656956388baf6eb67e8350e3dcdaf376783fa7 [2023-05-08T23:28:52.741Z] ---> Running in 6cf3fdc67fbd [2023-05-08T23:28:53.011Z] Removing intermediate container 6cf3fdc67fbd [2023-05-08T23:28:53.011Z] ---> c9baedbb0138 [2023-05-08T23:28:53.011Z] Step 26/26 : LABEL version=0.0.0 [2023-05-08T23:28:53.011Z] ---> Running in 691c3be3a5a5 [2023-05-08T23:28:53.283Z] Removing intermediate container 691c3be3a5a5 [2023-05-08T23:28:53.283Z] ---> 432da6cb9f74 [2023-05-08T23:28:53.283Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T23:28:53.555Z] Successfully built 432da6cb9f74 [2023-05-08T23:28:53.555Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:28:54.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T23:28:54.485Z] [2023-05-08T23:28:54.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:28:54.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T23:28:55.195Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T23:28:55.195Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T23:28:55.195Z] 04944245beec: Pulling fs layer [2023-05-08T23:28:55.195Z] 699f458cf7ca: Pulling fs layer [2023-05-08T23:28:55.195Z] 765212b225bb: Pulling fs layer [2023-05-08T23:28:55.195Z] f23df028b6ca: Pulling fs layer [2023-05-08T23:28:55.195Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T23:28:55.195Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T23:28:55.195Z] 765212b225bb: Waiting [2023-05-08T23:28:55.195Z] f23df028b6ca: Waiting [2023-05-08T23:28:55.195Z] d65c8cfc05b1: Waiting [2023-05-08T23:28:55.195Z] 04944245beec: Verifying Checksum [2023-05-08T23:28:55.195Z] 04944245beec: Download complete [2023-05-08T23:28:55.195Z] 765212b225bb: Verifying Checksum [2023-05-08T23:28:55.195Z] 765212b225bb: Download complete [2023-05-08T23:28:55.195Z] f23df028b6ca: Verifying Checksum [2023-05-08T23:28:55.195Z] f23df028b6ca: Download complete [2023-05-08T23:28:55.195Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T23:28:55.195Z] d65c8cfc05b1: Download complete [2023-05-08T23:28:55.468Z] 699f458cf7ca: Verifying Checksum [2023-05-08T23:28:55.468Z] 699f458cf7ca: Download complete [2023-05-08T23:28:55.737Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T23:28:55.737Z] 8998bd30e6a1: Download complete [2023-05-08T23:28:58.330Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T23:28:58.330Z] 2437ff75d9bd: Download complete [2023-05-08T23:28:59.743Z] 8998bd30e6a1: Pull complete [2023-05-08T23:29:00.344Z] 04944245beec: Pull complete [2023-05-08T23:29:01.755Z] 699f458cf7ca: Pull complete [2023-05-08T23:29:01.755Z] 765212b225bb: Pull complete [2023-05-08T23:29:02.719Z] f23df028b6ca: Pull complete [2023-05-08T23:29:02.987Z] d65c8cfc05b1: Pull complete [2023-05-08T23:29:18.000Z] 2437ff75d9bd: Pull complete [2023-05-08T23:29:18.000Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T23:29:18.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T23:29:18.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:29:18.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-14573 does not seem to be running inside a container [2023-05-08T23:29:18.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T23:29:21.481Z] $ docker top 508abaa60c2f2975975de2de73f1a989d87a2ee35332cae1227d683af4d0950a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:22.426Z] ---> job-cost.sh [2023-05-08T23:29:22.427Z] lf-activate-venv: SKIPPING [2023-05-08T23:29:22.427Z] INFO: No Stack... [2023-05-08T23:29:23.011Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T23:29:23.973Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T23:29:24.644Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, [2023-05-08T23:29:24.644Z] -f6 [Pipeline] lock [2023-05-08T23:29:24.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [2023-05-08T23:29:24.742Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] did not exist. Created. [2023-05-08T23:29:24.743Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T23:29:25.244Z] /w/workspace/device-onvif-camera/1@tmp/durable-bd2873ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T23:29:25.647Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T23:29:25.689Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T23:29:25.745Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T23:29:25.765Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T23:29:25.857Z] $ docker stop --time=1 508abaa60c2f2975975de2de73f1a989d87a2ee35332cae1227d683af4d0950a [2023-05-08T23:29:27.387Z] $ docker rm -f --volumes 508abaa60c2f2975975de2de73f1a989d87a2ee35332cae1227d683af4d0950a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-08T23:29:28.513Z] provisioning config files... [2023-05-08T23:29:28.522Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config1250511275883657669tmp [Pipeline] { [Pipeline] sh [2023-05-08T23:29:28.880Z] + set +x [2023-05-08T23:29:28.880Z] + curl -s https://codecov.io/bash [2023-05-08T23:29:28.880Z] + bash -s -- [2023-05-08T23:29:28.880Z] [2023-05-08T23:29:28.880Z] _____ _ [2023-05-08T23:29:28.880Z] / ____| | | [2023-05-08T23:29:28.880Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T23:29:28.880Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T23:29:28.880Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T23:29:28.880Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T23:29:28.880Z] Bash-1.0.6 [2023-05-08T23:29:28.880Z] [2023-05-08T23:29:28.880Z] [2023-05-08T23:29:28.880Z] ==> git version 2.25.1 found [2023-05-08T23:29:28.880Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-08T23:29:28.880Z] Release-Date: 2020-01-08 [2023-05-08T23:29:28.880Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-08T23:29:28.880Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T23:29:28.880Z] ==> Jenkins CI detected. [2023-05-08T23:29:28.880Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-347 [2023-05-08T23:29:28.880Z] project root: . [2023-05-08T23:29:28.880Z] --> token set from env [2023-05-08T23:29:28.880Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T23:29:28.880Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T23:29:28.880Z] ==> Python coveragepy not found [2023-05-08T23:29:28.880Z] ==> Searching for coverage reports in: [2023-05-08T23:29:28.880Z] + . [2023-05-08T23:29:28.880Z] -> Found 1 reports [2023-05-08T23:29:28.880Z] ==> Detecting git/mercurial file structure [2023-05-08T23:29:29.140Z] ==> Reading reports [2023-05-08T23:29:29.140Z] + ./coverage.out bytes=79191 [2023-05-08T23:29:29.140Z] ==> Appending adjustments [2023-05-08T23:29:29.140Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T23:29:29.140Z] + Found adjustments [2023-05-08T23:29:29.140Z] ==> Gzipping contents [2023-05-08T23:29:29.140Z] 12K /tmp/codecov.Zv83Zu.gz [2023-05-08T23:29:29.140Z] ==> Uploading reports [2023-05-08T23:29:29.140Z] url: https://codecov.io [2023-05-08T23:29:29.140Z] query: branch=PR-347&commit=ba6cd6ef80fe169f416bb50f13b133867c90c8a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= [2023-05-08T23:29:29.140Z] -> Pinging Codecov [2023-05-08T23:29:29.140Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=ba6cd6ef80fe169f416bb50f13b133867c90c8a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= [2023-05-08T23:29:29.400Z] -> Uploading to [2023-05-08T23:29:29.400Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/F29A59C45E3A92E06B3E522C9905F8EF/ba6cd6ef80fe169f416bb50f13b133867c90c8a6/a28ce14a-1773-4df9-9b30-f0572fb1bcc7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T232929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=413a1e7cbb4e6dc32674a0ea7c524fa22e1cc1a2ff2fd0e2afcee5bdedc95fce [2023-05-08T23:29:29.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T23:29:29.400Z] Dload Upload Total Spent Left Speed [2023-05-08T23:29:29.660Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 51812 --:--:-- --:--:-- --:--:-- 51812 [2023-05-08T23:29:29.660Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ba6cd6ef80fe169f416bb50f13b133867c90c8a6 [Pipeline] } [2023-05-08T23:29:29.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-08T23:29:31.720Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] [2023-05-08T23:29:31.720Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives [2023-05-08T23:29:31.720Z] total 16 [2023-05-08T23:29:31.720Z] drwxr-xr-x 3 root root 4096 May 8 23:20 . [2023-05-08T23:29:31.720Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:20 .. [2023-05-08T23:29:31.720Z] drwxr-xr-x 2 root root 4096 May 8 23:20 cost [2023-05-08T23:29:31.720Z] -rw-r--r-- 1 root root 91 May 8 23:20 cost.csv [2023-05-08T23:29:31.720Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives [2023-05-08T23:29:31.720Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives [2023-05-08T23:29:31.720Z] total 16 [2023-05-08T23:29:31.720Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:20 . [2023-05-08T23:29:31.720Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:20 .. [2023-05-08T23:29:31.720Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 23:20 cost [2023-05-08T23:29:31.720Z] -rw-r--r-- 1 jenkins jenkins 91 May 8 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:32.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:32.945Z] ---> package-listing.sh [2023-05-08T23:29:32.945Z] ++ facter osfamily [2023-05-08T23:29:32.945Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T23:29:33.204Z] + OS_FAMILY=debian [2023-05-08T23:29:33.204Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-347 [2023-05-08T23:29:33.204Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T23:29:33.204Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T23:29:33.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T23:29:33.204Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T23:29:33.204Z] + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' [2023-05-08T23:29:33.204Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T23:29:33.204Z] + case "${OS_FAMILY}" in [2023-05-08T23:29:33.204Z] + dpkg -l [2023-05-08T23:29:33.204Z] + grep '^ii' [2023-05-08T23:29:33.204Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T23:29:33.204Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T23:29:33.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T23:29:33.204Z] + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' [2023-05-08T23:29:33.204Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ [2023-05-08T23:29:33.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo [2023-05-08T23:29:33.240Z] 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T23:29:33.536Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T23:29:34.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T23:29:34.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T23:29:34.326Z] prd-ubuntu20.04-docker-8c-8g-14572 does not seem to be running inside a container [2023-05-08T23:29:34.363Z] $ 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-347/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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T23:29:34.556Z] $ docker top 0abc48fd62a491be5988488e4bc009f65cd9e7cf38fda5863fb96573ca50b94c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T23:29:34.952Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T23:29:35.265Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T23:29:35.578Z] + ls /var/log/sa-host [2023-05-08T23:29:35.578Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T23:29:35.827Z] provisioning config files... [2023-05-08T23:29:35.836Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config10715642967801337196tmp [Pipeline] { [Pipeline] echo [2023-05-08T23:29:35.893Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:36.205Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T23:29:36.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:36.666Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T23:29:36.700Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:37.015Z] ---> sudo-logs.sh [2023-05-08T23:29:37.015Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T23:29:37.102Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:37.422Z] ---> job-cost.sh [2023-05-08T23:29:37.423Z] lf-activate-venv: SKIPPING [2023-05-08T23:29:37.423Z] DEBUG: total: 0.2199999988079071 [2023-05-08T23:29:37.423Z] INFO: Retrieving Stack Cost... [2023-05-08T23:29:37.682Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T23:29:38.083Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T23:29:38.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T23:29:38.437Z] ---> logs-deploy.sh [2023-05-08T23:29:38.437Z] lf-activate-venv: SKIPPING [2023-05-08T23:29:38.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/1 [2023-05-08T23:29:38.437Z] INFO: archiving workspace using pattern(s): [2023-05-08T23:29:39.400Z] Archives upload complete. [2023-05-08T23:29:39.400Z] INFO: archiving logs to Nexus