Pull request #271 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 b19be15f1aae5ce963d99b90e51172ceff0b476d rather than 071f2239afe20f4521c1bb307ea9e3a12944da39 Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh830667508482427443.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14899735554712482486.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-271/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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6277264076331526924.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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17064604587453237456.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15806762890562336140.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-271/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-271/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10284606757543460930.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2491 in /w/workspace/undry_device-onvif-camera_PR-271 [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-271 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 071f2239afe20f4521c1bb307ea9e3a12944da39 Merge succeeded, producing 071f2239afe20f4521c1bb307ea9e3a12944da39 Checking out Revision 071f2239afe20f4521c1bb307ea9e3a12944da39 (PR-271) > git config core.sparsecheckout # timeout=10 > git checkout -f 071f2239afe20f4521c1bb307ea9e3a12944da39 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 071f2239afe20f4521c1bb307ea9e3a12944da39 # timeout=10 Commit message: "docs: add warning to main branch and link to levski" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T18:20:38.199Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T18:20:38.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T18:20:38.439Z] ========================================================= [2023-03-16T18:20:38.440Z] EdgeX Global Pipelines Version Info [2023-03-16T18:20:38.440Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:20:39.175Z] ------------------- [2023-03-16T18:20:39.175Z] stable info: [2023-03-16T18:20:39.175Z] ------------------- [2023-03-16T18:20:39.175Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T18:20:39.175Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T18:20:39.175Z] Message: update stable to v1.0.245 [2023-03-16T18:20:39.744Z] ------------------- [2023-03-16T18:20:39.744Z] experimental info: [2023-03-16T18:20:39.744Z] ------------------- [2023-03-16T18:20:39.744Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T18:20:39.744Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T18:20:39.744Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T18:20:40.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T18:20:40.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T18:20:40.070Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T18:20:40.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T18:20:40.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T18:20:40.184Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T18:20:40.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T18:20:40.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T18:20:40.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T18:20:40.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T18:20:40.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T18:20:40.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T18:20:40.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T18:20:40.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T18:20:40.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T18:20:40.552Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T18:20:40.587Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T18:20:40.626Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T18:20:40.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T18:20:40.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T18:20:40.742Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T18:20:40.783Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T18:20:40.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T18:20:40.860Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T18:20:40.894Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T18:20:40.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T18:20:40.975Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T18:20:41.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo [2023-03-16T18:20:41.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo [2023-03-16T18:20:41.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo [2023-03-16T18:20:41.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] echo [2023-03-16T18:20:41.170Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 071f223 [Pipeline] echo [2023-03-16T18:20:41.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T18:20:41.322Z] provisioning config files... [2023-03-16T18:20:41.337Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config2354721204679986447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:20:41.676Z] ---> docker-login.sh [2023-03-16T18:20:41.676Z] nexus3.edgexfoundry.org:10001 [2023-03-16T18:20:41.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:41.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:41.937Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:41.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:41.937Z] [2023-03-16T18:20:41.937Z] Login Succeeded [2023-03-16T18:20:41.937Z] nexus3.edgexfoundry.org:10002 [2023-03-16T18:20:42.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:42.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:42.197Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:42.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:42.197Z] [2023-03-16T18:20:42.197Z] Login Succeeded [2023-03-16T18:20:42.197Z] nexus3.edgexfoundry.org:10003 [2023-03-16T18:20:42.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:42.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:42.197Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:42.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:42.197Z] [2023-03-16T18:20:42.197Z] Login Succeeded [2023-03-16T18:20:42.197Z] nexus3.edgexfoundry.org:10004 [2023-03-16T18:20:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:42.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:42.458Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:42.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:42.458Z] [2023-03-16T18:20:42.458Z] Login Succeeded [2023-03-16T18:20:42.458Z] docker.io [2023-03-16T18:20:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:42.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:42.718Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:42.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:42.718Z] [2023-03-16T18:20:42.718Z] Login Succeeded [2023-03-16T18:20:42.718Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T18:20:42.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T18:20:43.340Z] + git rev-list -1 --merges 071f2239afe20f4521c1bb307ea9e3a12944da39~1..071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] echo [2023-03-16T18:20:43.399Z] -----------> git rev-list -1 --merges 071f2239afe20f4521c1bb307ea9e3a12944da39~1..071f2239afe20f4521c1bb307ea9e3a12944da39 071f2239afe20f4521c1bb307ea9e3a12944da39 [false] [Pipeline] sh [2023-03-16T18:20:43.705Z] + git log --format=format:%s -1 071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] echo [2023-03-16T18:20:43.740Z] ========================================================= [2023-03-16T18:20:43.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T18:20:43.740Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T18:20:44.164Z] + git log --format=format:%s -1 071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] echo [2023-03-16T18:20:44.193Z] [semverPrep] GIT_COMMIT: 071f2239afe20f4521c1bb307ea9e3a12944da39, Commit Message: docs: add warning to main branch and link to levski [Pipeline] echo [2023-03-16T18:20:44.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T18:20:44.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T18:20:44.614Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T18:20:44.614Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T18:20:44.614Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T18:20:44.614Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T18:20:44.614Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T18:20:44.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:20:45.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T18:20:45.094Z] [2023-03-16T18:20:45.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:20:45.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T18:20:45.466Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T18:20:45.466Z] b85a868b505f: Pulling fs layer [2023-03-16T18:20:45.466Z] e2be974225ed: Pulling fs layer [2023-03-16T18:20:45.466Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T18:20:45.466Z] 988bab9f4d93: Pulling fs layer [2023-03-16T18:20:45.466Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T18:20:45.466Z] eaf3925da568: Pulling fs layer [2023-03-16T18:20:45.466Z] bab4dde63d76: Pulling fs layer [2023-03-16T18:20:45.466Z] bde34c3a00c8: Pulling fs layer [2023-03-16T18:20:45.466Z] b352a97aabf1: Pulling fs layer [2023-03-16T18:20:45.466Z] 4872d77fe225: Pulling fs layer [2023-03-16T18:20:45.466Z] eaf3925da568: Waiting [2023-03-16T18:20:45.466Z] bde34c3a00c8: Waiting [2023-03-16T18:20:45.466Z] bab4dde63d76: Waiting [2023-03-16T18:20:45.466Z] b352a97aabf1: Waiting [2023-03-16T18:20:45.466Z] 988bab9f4d93: Waiting [2023-03-16T18:20:45.466Z] 1469e6f7b9e6: Waiting [2023-03-16T18:20:45.466Z] 5851b861e8e6: Pulling fs layer [2023-03-16T18:20:45.466Z] 5851b861e8e6: Waiting [2023-03-16T18:20:45.466Z] e2be974225ed: Verifying Checksum [2023-03-16T18:20:45.466Z] e2be974225ed: Download complete [2023-03-16T18:20:45.466Z] 988bab9f4d93: Verifying Checksum [2023-03-16T18:20:45.466Z] 988bab9f4d93: Download complete [2023-03-16T18:20:45.727Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T18:20:45.727Z] 1469e6f7b9e6: Download complete [2023-03-16T18:20:45.727Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T18:20:45.727Z] 339a4e72a1f5: Download complete [2023-03-16T18:20:45.727Z] eaf3925da568: Verifying Checksum [2023-03-16T18:20:45.727Z] eaf3925da568: Download complete [2023-03-16T18:20:45.727Z] bde34c3a00c8: Verifying Checksum [2023-03-16T18:20:45.727Z] bde34c3a00c8: Download complete [2023-03-16T18:20:45.727Z] b352a97aabf1: Download complete [2023-03-16T18:20:45.727Z] 4872d77fe225: Verifying Checksum [2023-03-16T18:20:45.727Z] 4872d77fe225: Download complete [2023-03-16T18:20:45.727Z] 5851b861e8e6: Download complete [2023-03-16T18:20:45.727Z] b85a868b505f: Verifying Checksum [2023-03-16T18:20:45.727Z] b85a868b505f: Download complete [2023-03-16T18:20:45.986Z] bab4dde63d76: Verifying Checksum [2023-03-16T18:20:45.986Z] bab4dde63d76: Download complete [2023-03-16T18:20:46.921Z] b85a868b505f: Pull complete [2023-03-16T18:20:47.180Z] e2be974225ed: Pull complete [2023-03-16T18:20:47.443Z] 339a4e72a1f5: Pull complete [2023-03-16T18:20:47.703Z] 988bab9f4d93: Pull complete [2023-03-16T18:20:48.005Z] 1469e6f7b9e6: Pull complete [2023-03-16T18:20:48.005Z] eaf3925da568: Pull complete [2023-03-16T18:20:49.939Z] bab4dde63d76: Pull complete [2023-03-16T18:20:49.939Z] bde34c3a00c8: Pull complete [2023-03-16T18:20:49.939Z] b352a97aabf1: Pull complete [2023-03-16T18:20:49.939Z] 4872d77fe225: Pull complete [2023-03-16T18:20:49.939Z] 5851b861e8e6: Pull complete [2023-03-16T18:20:49.939Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T18:20:49.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T18:20:49.939Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:20:50.147Z] prd-ubuntu20.04-docker-8c-8g-2491 does not seem to be running inside a container [2023-03-16T18:20:50.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T18:20:52.952Z] $ docker top a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 -eo pid,comm [2023-03-16T18:20:53.003Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T18:20:53.003Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T18:20:53.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T18:20:53.121Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T18:20:53.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T18:20:53.243Z] $ docker exec a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 ssh-agent [2023-03-16T18:20:53.351Z] SSH_AUTH_SOCK=/tmp/ssh-1tYA7pS02avH/agent.31 [2023-03-16T18:20:53.351Z] SSH_AGENT_PID=37 [2023-03-16T18:20:53.358Z] Running ssh-add (command line suppressed) [2023-03-16T18:20:53.471Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_5081619967457436629.key (/w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_5081619967457436629.key) [2023-03-16T18:20:53.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T18:20:53.815Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T18:20:53.847Z] $ docker exec --env ******** --env ******** a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 ssh-agent -k [2023-03-16T18:20:53.955Z] unset SSH_AUTH_SOCK; [2023-03-16T18:20:53.956Z] unset SSH_AGENT_PID; [2023-03-16T18:20:53.956Z] echo Agent pid 37 killed; [2023-03-16T18:20:53.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T18:20:54.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T18:20:54.046Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T18:20:54.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T18:20:54.163Z] $ docker exec a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 ssh-agent [2023-03-16T18:20:54.271Z] SSH_AUTH_SOCK=/tmp/ssh-i5utvnNlvbPV/agent.69 [2023-03-16T18:20:54.271Z] SSH_AGENT_PID=75 [2023-03-16T18:20:54.275Z] Running ssh-add (command line suppressed) [2023-03-16T18:20:54.375Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_18021537715980615565.key (/w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_18021537715980615565.key) [2023-03-16T18:20:54.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T18:20:54.707Z] + git semver init [2023-03-16T18:20:54.966Z] 2023-03-16 18:20:54,879 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T18:20:54.966Z] 2023-03-16 18:20:54,880 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-271/.semver [2023-03-16T18:20:54.966Z] 2023-03-16 18:20:54,881 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-271/.semver [2023-03-16T18:20:54.966Z] 2023-03-16 18:20:54,881 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-271/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-271, universal_newlines=False, shell=None, istream=None) [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,793 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-271/.git/info/exclude [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 with force:False [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,794 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,798 [execute] INFO git cat-file --batch-check [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,804 [execute] INFO git cat-file --batch [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T18:20:55.901Z] 2023-03-16 18:20:55,810 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 [2023-03-16T18:20:55.901Z] 0.0.0 [Pipeline] } [2023-03-16T18:20:55.928Z] $ docker exec --env ******** --env ******** a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 ssh-agent -k [2023-03-16T18:20:56.032Z] unset SSH_AUTH_SOCK; [2023-03-16T18:20:56.033Z] unset SSH_AGENT_PID; [2023-03-16T18:20:56.033Z] echo Agent pid 75 killed; [2023-03-16T18:20:56.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T18:20:56.473Z] + git semver [Pipeline] } [2023-03-16T18:20:56.758Z] $ docker stop --time=1 a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 [2023-03-16T18:20:58.035Z] $ docker rm -f --volumes a42dffe8f25054ef6bbace47bba67beb57d9686a2a36554ac8ef4a3dbf6ed703 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T18:20:58.428Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T18:20:58.702Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T18:20:58.722Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T18:20:59.247Z] provisioning config files... [2023-03-16T18:20:59.257Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config10458555429698479432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:20:59.598Z] ---> docker-login.sh [2023-03-16T18:20:59.599Z] nexus3.edgexfoundry.org:10001 [2023-03-16T18:20:59.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:59.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:59.599Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:59.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:59.599Z] [2023-03-16T18:20:59.599Z] Login Succeeded [2023-03-16T18:20:59.599Z] nexus3.edgexfoundry.org:10002 [2023-03-16T18:20:59.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:59.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:59.599Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:59.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:59.599Z] [2023-03-16T18:20:59.599Z] Login Succeeded [2023-03-16T18:20:59.599Z] nexus3.edgexfoundry.org:10003 [2023-03-16T18:20:59.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:59.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:59.858Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:59.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:59.858Z] [2023-03-16T18:20:59.858Z] Login Succeeded [2023-03-16T18:20:59.858Z] nexus3.edgexfoundry.org:10004 [2023-03-16T18:20:59.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:20:59.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:20:59.858Z] Configure a credential helper to remove this warning. See [2023-03-16T18:20:59.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:20:59.858Z] [2023-03-16T18:20:59.858Z] Login Succeeded [2023-03-16T18:20:59.858Z] docker.io [2023-03-16T18:20:59.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:21:00.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:21:00.117Z] Configure a credential helper to remove this warning. See [2023-03-16T18:21:00.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:21:00.117Z] [2023-03-16T18:21:00.117Z] Login Succeeded [2023-03-16T18:21:00.117Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T18:21:00.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T18:21:00.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T18:21:00.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T18:21:00.395Z] ========================================================= [2023-03-16T18:21:00.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T18:21:00.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:21:00.859Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T18:21:00.859Z] Sending build context to Docker daemon 27.88MB [2023-03-16T18:21:00.859Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T18:21:00.859Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T18:21:01.134Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T18:21:01.134Z] 63b65145d645: Pulling fs layer [2023-03-16T18:21:01.134Z] a2d21d5440eb: Pulling fs layer [2023-03-16T18:21:01.134Z] 935e6c44a52c: Pulling fs layer [2023-03-16T18:21:01.134Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T18:21:01.134Z] 30dea6a524f1: Pulling fs layer [2023-03-16T18:21:01.134Z] a2aff8979fd8: Pulling fs layer [2023-03-16T18:21:01.134Z] 6808be2612f2: Pulling fs layer [2023-03-16T18:21:01.134Z] f25807f1079a: Pulling fs layer [2023-03-16T18:21:01.134Z] 94cc34f8dd06: Waiting [2023-03-16T18:21:01.134Z] 30dea6a524f1: Waiting [2023-03-16T18:21:01.134Z] a2aff8979fd8: Waiting [2023-03-16T18:21:01.134Z] 6808be2612f2: Waiting [2023-03-16T18:21:01.134Z] f25807f1079a: Waiting [2023-03-16T18:21:01.134Z] a2d21d5440eb: Verifying Checksum [2023-03-16T18:21:01.134Z] a2d21d5440eb: Download complete [2023-03-16T18:21:01.134Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T18:21:01.134Z] 94cc34f8dd06: Download complete [2023-03-16T18:21:01.134Z] 30dea6a524f1: Download complete [2023-03-16T18:21:01.134Z] 63b65145d645: Download complete [2023-03-16T18:21:01.134Z] a2aff8979fd8: Verifying Checksum [2023-03-16T18:21:01.134Z] a2aff8979fd8: Download complete [2023-03-16T18:21:01.400Z] 63b65145d645: Pull complete [2023-03-16T18:21:01.400Z] a2d21d5440eb: Pull complete [2023-03-16T18:21:01.662Z] f25807f1079a: Verifying Checksum [2023-03-16T18:21:01.662Z] f25807f1079a: Download complete [2023-03-16T18:21:01.921Z] 935e6c44a52c: Verifying Checksum [2023-03-16T18:21:01.921Z] 935e6c44a52c: Download complete [2023-03-16T18:21:01.921Z] 6808be2612f2: Verifying Checksum [2023-03-16T18:21:01.921Z] 6808be2612f2: Download complete [2023-03-16T18:21:05.210Z] 935e6c44a52c: Pull complete [2023-03-16T18:21:05.469Z] 94cc34f8dd06: Pull complete [2023-03-16T18:21:05.469Z] 30dea6a524f1: Pull complete [2023-03-16T18:21:05.469Z] a2aff8979fd8: Pull complete [2023-03-16T18:21:08.007Z] 6808be2612f2: Pull complete [2023-03-16T18:21:08.941Z] f25807f1079a: Pull complete [2023-03-16T18:21:08.941Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T18:21:08.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T18:21:08.941Z] ---> 3b553350e43f [2023-03-16T18:21:08.941Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T18:21:14.091Z] Still waiting to schedule task [2023-03-16T18:21:14.091Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-16T18:21:14.212Z] ---> Running in fe2e4098ced4 [2023-03-16T18:21:14.212Z] Removing intermediate container fe2e4098ced4 [2023-03-16T18:21:14.212Z] ---> 9d94dbd8e432 [2023-03-16T18:21:14.212Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T18:21:14.212Z] ---> Running in 8c578f9c66a5 [2023-03-16T18:21:14.212Z] Removing intermediate container 8c578f9c66a5 [2023-03-16T18:21:14.212Z] ---> f4a91ed076ae [2023-03-16T18:21:14.212Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T18:21:14.212Z] ---> Running in ab0579661016 [2023-03-16T18:21:14.212Z] Removing intermediate container ab0579661016 [2023-03-16T18:21:14.212Z] ---> 3f3a2c42ef64 [2023-03-16T18:21:14.212Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T18:21:14.212Z] ---> Running in f6b3db1c5e0c [2023-03-16T18:21:14.212Z] Removing intermediate container f6b3db1c5e0c [2023-03-16T18:21:14.212Z] ---> 3b215e990953 [2023-03-16T18:21:14.212Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T18:21:14.212Z] ---> Running in a31c0d63c160 [2023-03-16T18:21:14.212Z] Removing intermediate container a31c0d63c160 [2023-03-16T18:21:14.212Z] ---> 9e2a1249573c [2023-03-16T18:21:14.212Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T18:21:14.212Z] ---> Running in 249fa551fd4b [2023-03-16T18:21:14.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T18:21:14.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T18:21:14.730Z] OK: 265 MiB in 53 packages [2023-03-16T18:21:15.299Z] Removing intermediate container 249fa551fd4b [2023-03-16T18:21:15.299Z] ---> 42e10e901d19 [2023-03-16T18:21:15.299Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T18:21:15.299Z] ---> Running in b4b1b7ef20b4 [2023-03-16T18:21:15.299Z] Removing intermediate container b4b1b7ef20b4 [2023-03-16T18:21:15.299Z] ---> 3aeb4b7ba4e8 [2023-03-16T18:21:15.299Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T18:21:15.299Z] ---> 19c548887676 [2023-03-16T18:21:15.299Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T18:21:15.299Z] ---> Running in 8e1e4fa4d9c8 [2023-03-16T18:21:54.049Z] Removing intermediate container 8e1e4fa4d9c8 [2023-03-16T18:21:54.049Z] ---> 1b1a57715d4d [2023-03-16T18:21:54.049Z] Step 12/13 : COPY . . [2023-03-16T18:21:54.049Z] ---> 0906ff260be2 [2023-03-16T18:21:54.049Z] Step 13/13 : RUN ${MAKE} [2023-03-16T18:21:54.049Z] ---> Running in 4965e0eaf9c5 [2023-03-16T18:21:54.049Z] noop [2023-03-16T18:21:54.049Z] Removing intermediate container 4965e0eaf9c5 [2023-03-16T18:21:54.049Z] ---> 2ffe1b95e3d4 [2023-03-16T18:21:54.049Z] Successfully built 2ffe1b95e3d4 [2023-03-16T18:21:54.049Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:21:54.501Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T18:21:54.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:21:54.663Z] prd-ubuntu20.04-docker-8c-8g-2491 does not seem to be running inside a container [2023-03-16T18:21:54.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T18:21:55.042Z] $ docker top 3884ac3951b58bbfc92f0b0ba632478b4576cbfe064b7ef268452736a17c56d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T18:21:55.429Z] + go version [2023-03-16T18:21:55.429Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T18:21:55.469Z] $ docker stop --time=1 3884ac3951b58bbfc92f0b0ba632478b4576cbfe064b7ef268452736a17c56d7 [2023-03-16T18:21:56.732Z] $ docker rm -f --volumes 3884ac3951b58bbfc92f0b0ba632478b4576cbfe064b7ef268452736a17c56d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:21:57.445Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T18:21:57.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:21:57.599Z] prd-ubuntu20.04-docker-8c-8g-2491 does not seem to be running inside a container [2023-03-16T18:21:57.637Z] $ 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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T18:21:57.980Z] $ docker top 05a0ff7206829621006d2da74cf9a260ccf209d6c1d81046c704f07cb4266d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T18:21:58.370Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-271 [Pipeline] fileExists [Pipeline] sh [2023-03-16T18:21:58.730Z] + make test [2023-03-16T18:21:58.730Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T18:22:04.003Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T18:22:13.966Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T18:22:14.533Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T18:22:16.435Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 30.5% of statements [2023-03-16T18:22:16.435Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.156s coverage: 86.5% of statements [2023-03-16T18:22:22.990Z] go vet ./... [2023-03-16T18:22:27.179Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T18:22:27.179Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T18:22:27.179Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T18:22:27.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T18:22:27.251Z] $ docker stop --time=1 05a0ff7206829621006d2da74cf9a260ccf209d6c1d81046c704f07cb4266d4e [2023-03-16T18:22:31.008Z] $ docker rm -f --volumes 05a0ff7206829621006d2da74cf9a260ccf209d6c1d81046c704f07cb4266d4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T18:22:31.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T18:22:31.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T18:22:32.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T18:22:32.565Z] + ls -al . [2023-03-16T18:22:32.565Z] total 232 [2023-03-16T18:22:32.565Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 18:21 . [2023-03-16T18:22:32.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:20 .. [2023-03-16T18:22:32.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 18:20 .git [2023-03-16T18:22:32.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:20 .github [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 18:20 .gitignore [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 18:20 .golangci.yml [2023-03-16T18:22:32.565Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 18:20 .semver [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 18:20 Attribution.txt [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 18:20 CHANGELOG.md [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 18:20 Dockerfile [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 18:20 GOVERNANCE.md [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 18:20 Jenkinsfile [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 18:20 LICENSE [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 18:20 Makefile [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 18:20 OWNERS.md [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 6332 Mar 16 18:20 README.md [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 18:20 VERSION [2023-03-16T18:22:32.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 18:20 bin [2023-03-16T18:22:32.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:20 cmd [2023-03-16T18:22:32.565Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 18:22 coverage.out [2023-03-16T18:22:32.565Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 18:20 doc [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 18:20 go.mod [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 18:20 go.sum [2023-03-16T18:22:32.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:20 internal [2023-03-16T18:22:32.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:20 snap [2023-03-16T18:22:32.565Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:22:32.951Z] + 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=071f2239afe20f4521c1bb307ea9e3a12944da39 --label arch=amd64 --label version=0.0.0 . [2023-03-16T18:22:32.951Z] Sending build context to Docker daemon 27.96MB [2023-03-16T18:22:32.951Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T18:22:32.951Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T18:22:32.951Z] ---> 2ffe1b95e3d4 [2023-03-16T18:22:32.951Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T18:22:33.518Z] ---> Running in b56e8cc42661 [2023-03-16T18:22:33.518Z] Removing intermediate container b56e8cc42661 [2023-03-16T18:22:33.518Z] ---> 53a0a36e8f2f [2023-03-16T18:22:33.518Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T18:22:33.518Z] ---> Running in 0830ab3df344 [2023-03-16T18:22:33.518Z] Removing intermediate container 0830ab3df344 [2023-03-16T18:22:33.518Z] ---> ebf3a085081d [2023-03-16T18:22:33.518Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T18:22:33.777Z] ---> Running in a79881156e54 [2023-03-16T18:22:33.777Z] Removing intermediate container a79881156e54 [2023-03-16T18:22:33.777Z] ---> 65d029cee296 [2023-03-16T18:22:33.777Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T18:22:33.777Z] ---> Running in 03f4bad874a5 [2023-03-16T18:22:33.777Z] Removing intermediate container 03f4bad874a5 [2023-03-16T18:22:33.777Z] ---> 46f9a4d96eea [2023-03-16T18:22:33.777Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T18:22:33.777Z] ---> Running in 1d3ff8e8e169 [2023-03-16T18:22:34.038Z] Removing intermediate container 1d3ff8e8e169 [2023-03-16T18:22:34.038Z] ---> 1d3cfacd57c4 [2023-03-16T18:22:34.038Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T18:22:34.038Z] ---> Running in 6c1c1b67b1b4 [2023-03-16T18:22:34.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T18:22:34.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T18:22:34.556Z] OK: 265 MiB in 53 packages [2023-03-16T18:22:34.815Z] Removing intermediate container 6c1c1b67b1b4 [2023-03-16T18:22:34.815Z] ---> d6f4dfeaba14 [2023-03-16T18:22:34.815Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T18:22:34.815Z] ---> Running in 46198188d3ba [2023-03-16T18:22:34.815Z] Removing intermediate container 46198188d3ba [2023-03-16T18:22:34.815Z] ---> 5d7e3c8d7e69 [2023-03-16T18:22:34.815Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T18:22:35.076Z] ---> 1ef22e69b373 [2023-03-16T18:22:35.076Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T18:22:35.076Z] ---> Running in 46aee63ed2d2 [2023-03-16T18:22:36.012Z] Removing intermediate container 46aee63ed2d2 [2023-03-16T18:22:36.012Z] ---> acc9b1b11e15 [2023-03-16T18:22:36.012Z] Step 12/26 : COPY . . [2023-03-16T18:22:36.582Z] ---> 8bbb49de7435 [2023-03-16T18:22:36.582Z] Step 13/26 : RUN ${MAKE} [2023-03-16T18:22:36.582Z] ---> Running in 36db97eb4ef7 [2023-03-16T18:22:36.843Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-16T18:22:51.920Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2492 in /w/workspace/undry_device-onvif-camera_PR-271 [Pipeline] { [Pipeline] ws [2023-03-16T18:22:51.970Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-16T18:22:52.052Z] The recommended git tool is: git [2023-03-16T18:22:57.222Z] using credential edgex-jenkins-ssh [2023-03-16T18:22:57.245Z] Cloning the remote Git repository [2023-03-16T18:22:57.284Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T18:22:57.391Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-16T18:22:57.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T18:22:57.563Z] > git --version # timeout=10 [2023-03-16T18:22:57.592Z] > git --version # 'git version 2.25.1' [2023-03-16T18:22:57.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T18:22:57.763Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T18:22:58.768Z] Removing intermediate container 36db97eb4ef7 [2023-03-16T18:22:58.768Z] ---> c0f7870143bb [2023-03-16T18:22:58.768Z] Step 14/26 : FROM alpine:3.17 [2023-03-16T18:22:58.768Z] 3.17: Pulling from library/alpine [2023-03-16T18:22:58.768Z] 63b65145d645: Already exists [2023-03-16T18:22:58.768Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T18:22:58.768Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T18:22:58.768Z] ---> b2aa39c304c2 [2023-03-16T18:22:58.768Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T18:22:58.768Z] ---> Running in a4c9dc45db50 [2023-03-16T18:22:58.768Z] Removing intermediate container a4c9dc45db50 [2023-03-16T18:22:58.768Z] ---> 213f346a1e3b [2023-03-16T18:22:58.768Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-16T18:22:58.768Z] ---> Running in 868dd3db8536 [2023-03-16T18:22:58.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T18:22:58.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T18:22:58.768Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T18:22:58.768Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T18:22:58.768Z] OK: 7 MiB in 16 packages [2023-03-16T18:22:58.768Z] Removing intermediate container 868dd3db8536 [2023-03-16T18:22:58.768Z] ---> bd14f24cbc31 [2023-03-16T18:22:58.768Z] Step 17/26 : WORKDIR / [2023-03-16T18:22:58.768Z] ---> Running in 070faa060ed2 [2023-03-16T18:22:58.768Z] Removing intermediate container 070faa060ed2 [2023-03-16T18:22:58.768Z] ---> 75c2b06f4050 [2023-03-16T18:22:58.768Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T18:22:59.338Z] ---> bf8de8073024 [2023-03-16T18:22:59.338Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T18:22:59.596Z] ---> 5481b7c7fcac [2023-03-16T18:22:59.596Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T18:22:59.596Z] ---> 44e289358db0 [2023-03-16T18:22:59.596Z] Step 21/26 : EXPOSE 59984 [2023-03-16T18:22:59.596Z] ---> Running in f3940842b032 [2023-03-16T18:22:59.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T18:22:59.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T18:22:59.854Z] Removing intermediate container f3940842b032 [2023-03-16T18:22:59.854Z] ---> 67487051d69b [2023-03-16T18:22:59.854Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T18:22:59.854Z] ---> Running in ff0fd91bafae [2023-03-16T18:22:59.854Z] Removing intermediate container ff0fd91bafae [2023-03-16T18:22:59.854Z] ---> b36df595d062 [2023-03-16T18:22:59.854Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T18:22:59.854Z] ---> Running in 5a0ecd7ae72e [2023-03-16T18:22:59.854Z] Removing intermediate container 5a0ecd7ae72e [2023-03-16T18:22:59.854Z] ---> c1149fe3fc09 [2023-03-16T18:22:59.854Z] Step 24/26 : LABEL arch=amd64 [2023-03-16T18:22:59.854Z] ---> Running in d5882aa54c89 [2023-03-16T18:23:00.113Z] Removing intermediate container d5882aa54c89 [2023-03-16T18:23:00.113Z] ---> ee11fd483707 [2023-03-16T18:23:00.113Z] Step 25/26 : LABEL git_sha=071f2239afe20f4521c1bb307ea9e3a12944da39 [2023-03-16T18:23:00.113Z] ---> Running in 9b5cd06a44cf [2023-03-16T18:23:00.113Z] Removing intermediate container 9b5cd06a44cf [2023-03-16T18:23:00.113Z] ---> d54e7febf363 [2023-03-16T18:23:00.113Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T18:23:00.113Z] ---> Running in ba50ad1b8177 [2023-03-16T18:23:00.113Z] Removing intermediate container ba50ad1b8177 [2023-03-16T18:23:00.113Z] ---> b2708570472b [2023-03-16T18:23:00.113Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T18:23:00.113Z] Successfully built b2708570472b [2023-03-16T18:23:00.113Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [2023-03-16T18:23:00.622Z] Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:23:00.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T18:23:00.960Z] [2023-03-16T18:23:00.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2023-03-16T18:22:59.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T18:23:00.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T18:23:00.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T18:23:00.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T18:23:00.634Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T18:23:00.711Z] > git checkout -f 071f2239afe20f4521c1bb307ea9e3a12944da39 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:23:01.139Z] Merge succeeded, producing 071f2239afe20f4521c1bb307ea9e3a12944da39 [2023-03-16T18:23:01.140Z] Checking out Revision 071f2239afe20f4521c1bb307ea9e3a12944da39 (PR-271) [2023-03-16T18:23:01.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T18:23:01.339Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T18:23:01.339Z] 5eb5b503b376: Pulling fs layer [2023-03-16T18:23:01.339Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T18:23:01.339Z] ec43610c2a17: Pulling fs layer [2023-03-16T18:23:01.339Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T18:23:01.339Z] 33b1e0a273af: Pulling fs layer [2023-03-16T18:23:01.339Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T18:23:01.339Z] 2f39f015ded8: Pulling fs layer [2023-03-16T18:23:01.339Z] 3a2ae6a8a46f: Waiting [2023-03-16T18:23:01.339Z] 33b1e0a273af: Waiting [2023-03-16T18:23:01.339Z] 2f39f015ded8: Waiting [2023-03-16T18:23:01.339Z] 5d3b04190fa2: Waiting [2023-03-16T18:23:01.339Z] 5c69ac0246d0: Download complete [2023-03-16T18:23:01.339Z] 3a2ae6a8a46f: Download complete [2023-03-16T18:23:01.600Z] 33b1e0a273af: Verifying Checksum [2023-03-16T18:23:01.600Z] 33b1e0a273af: Download complete [2023-03-16T18:23:01.600Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T18:23:01.600Z] 5d3b04190fa2: Download complete [2023-03-16T18:23:01.600Z] ec43610c2a17: Verifying Checksum [2023-03-16T18:23:01.600Z] ec43610c2a17: Download complete [2023-03-16T18:23:01.600Z] 5eb5b503b376: Verifying Checksum [2023-03-16T18:23:01.600Z] 5eb5b503b376: Download complete [2023-03-16T18:23:02.168Z] 2f39f015ded8: Download complete [2023-03-16T18:23:01.017Z] > git remote # timeout=10 [2023-03-16T18:23:01.039Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T18:23:01.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T18:23:01.078Z] > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [2023-03-16T18:23:01.104Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T18:23:01.141Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T18:23:01.158Z] > git checkout -f 071f2239afe20f4521c1bb307ea9e3a12944da39 # timeout=10 [2023-03-16T18:23:02.734Z] 5eb5b503b376: Pull complete [2023-03-16T18:23:02.734Z] 5c69ac0246d0: Pull complete [2023-03-16T18:23:03.299Z] ec43610c2a17: Pull complete [2023-03-16T18:23:03.299Z] 3a2ae6a8a46f: Pull complete [2023-03-16T18:23:03.557Z] 33b1e0a273af: Pull complete [2023-03-16T18:23:03.557Z] 5d3b04190fa2: Pull complete [2023-03-16T18:23:05.013Z] Commit message: "docs: add warning to main branch and link to levski" [2023-03-16T18:23:05.057Z] > git --version # timeout=10 [2023-03-16T18:23:05.068Z] > git --version # 'git version 2.25.1' [2023-03-16T18:23:05.081Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T18:23:05.678Z] [2023-03-16T18:23:05.678Z] GitHub has been notified of this commit’s build result [2023-03-16T18:23:05.678Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T18:23:06.389Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T18:23:06.390Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T18:23:06.390Z] Dload Upload Total Spent Left Speed [2023-03-16T18:23:06.390Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-16T18:23:07.079Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T18:23:07.418Z] + sudo tee /etc/docker/daemon.new [2023-03-16T18:23:07.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T18:23:07.418Z] { [2023-03-16T18:23:07.418Z] "registry-mirrors": [ [2023-03-16T18:23:07.418Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T18:23:07.418Z] ], [2023-03-16T18:23:07.418Z] "bip": "10.250.0.254/24", [2023-03-16T18:23:07.418Z] "hosts": [ [2023-03-16T18:23:07.418Z] "tcp://0.0.0.0:5555", [2023-03-16T18:23:07.418Z] "unix:///var/run/docker.sock" [2023-03-16T18:23:07.418Z] ], [2023-03-16T18:23:07.418Z] "mtu": 1458, [2023-03-16T18:23:07.418Z] "selinux-enabled": true, [2023-03-16T18:23:07.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T18:23:07.418Z] } [Pipeline] sh [2023-03-16T18:23:07.746Z] 2f39f015ded8: Pull complete [2023-03-16T18:23:07.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T18:23:07.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T18:23:07.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2023-03-16T18:23:07.777Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:23:08.061Z] prd-ubuntu20.04-docker-8c-8g-2491 does not seem to be running inside a container [2023-03-16T18:23:08.099Z] $ 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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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-03-16T18:23:08.202Z] + sudo service docker restart [2023-03-16T18:23:11.845Z] $ docker top fd59d0d4ec41eac0e1702efe8b31f4315ea417b85db69a2c81478cb33bda5260 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:23:12.340Z] ---> job-cost.sh [2023-03-16T18:23:12.340Z] lf-activate-venv: SKIPPING [2023-03-16T18:23:12.340Z] INFO: No Stack... [2023-03-16T18:23:12.965Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T18:23:13.225Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T18:23:13.548Z] + + catcut /w/workspace/undry_device-onvif-camera_PR-271/archives/cost.csv -d, [2023-03-16T18:23:13.548Z] -f6 [Pipeline] lock [2023-03-16T18:23:13.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [2023-03-16T18:23:13.592Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] did not exist. Created. [2023-03-16T18:23:13.592Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T18:23:13.983Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T18:23:14.033Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T18:23:14.064Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T18:23:14.136Z] $ docker stop --time=1 fd59d0d4ec41eac0e1702efe8b31f4315ea417b85db69a2c81478cb33bda5260 [2023-03-16T18:23:15.299Z] $ docker rm -f --volumes fd59d0d4ec41eac0e1702efe8b31f4315ea417b85db69a2c81478cb33bda5260 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T18:23:26.525Z] provisioning config files... [2023-03-16T18:23:26.556Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9501730583384330209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:23:26.937Z] ---> docker-login.sh [2023-03-16T18:23:26.937Z] nexus3.edgexfoundry.org:10001 [2023-03-16T18:23:27.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:23:27.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:23:27.477Z] Configure a credential helper to remove this warning. See [2023-03-16T18:23:27.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:23:27.477Z] [2023-03-16T18:23:27.477Z] Login Succeeded [2023-03-16T18:23:27.477Z] nexus3.edgexfoundry.org:10002 [2023-03-16T18:23:27.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:23:28.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:23:28.015Z] Configure a credential helper to remove this warning. See [2023-03-16T18:23:28.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:23:28.015Z] [2023-03-16T18:23:28.015Z] Login Succeeded [2023-03-16T18:23:28.015Z] nexus3.edgexfoundry.org:10003 [2023-03-16T18:23:28.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:23:28.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:23:28.286Z] Configure a credential helper to remove this warning. See [2023-03-16T18:23:28.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:23:28.286Z] [2023-03-16T18:23:28.286Z] Login Succeeded [2023-03-16T18:23:28.286Z] nexus3.edgexfoundry.org:10004 [2023-03-16T18:23:28.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:23:28.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:23:28.558Z] Configure a credential helper to remove this warning. See [2023-03-16T18:23:28.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:23:28.558Z] [2023-03-16T18:23:28.558Z] Login Succeeded [2023-03-16T18:23:28.558Z] docker.io [2023-03-16T18:23:28.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T18:23:29.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T18:23:29.095Z] Configure a credential helper to remove this warning. See [2023-03-16T18:23:29.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T18:23:29.095Z] [2023-03-16T18:23:29.095Z] Login Succeeded [2023-03-16T18:23:29.095Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T18:23:29.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T18:23:29.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T18:23:29.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T18:23:29.540Z] ========================================================= [2023-03-16T18:23:29.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T18:23:29.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:23:30.019Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T18:23:30.605Z] Sending build context to Docker daemon 20.63MB [2023-03-16T18:23:30.887Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T18:23:30.887Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T18:23:30.887Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T18:23:30.887Z] af6eaf76a39c: Pulling fs layer [2023-03-16T18:23:30.887Z] 55522c791124: Pulling fs layer [2023-03-16T18:23:30.887Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T18:23:30.887Z] 169dfbe0d373: Pulling fs layer [2023-03-16T18:23:30.887Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T18:23:30.887Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T18:23:30.887Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T18:23:30.887Z] e1ff8fa3b103: Waiting [2023-03-16T18:23:30.887Z] 52ebb69f0ebf: Waiting [2023-03-16T18:23:30.887Z] 5abe8eddf0d5: Waiting [2023-03-16T18:23:30.887Z] 169dfbe0d373: Waiting [2023-03-16T18:23:30.887Z] 55522c791124: Verifying Checksum [2023-03-16T18:23:30.887Z] 55522c791124: Download complete [2023-03-16T18:23:30.887Z] 169dfbe0d373: Verifying Checksum [2023-03-16T18:23:30.887Z] 169dfbe0d373: Download complete [2023-03-16T18:23:31.159Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T18:23:31.159Z] e1ff8fa3b103: Download complete [2023-03-16T18:23:31.159Z] af6eaf76a39c: Download complete [2023-03-16T18:23:32.146Z] af6eaf76a39c: Pull complete [2023-03-16T18:23:32.146Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T18:23:32.146Z] 5abe8eddf0d5: Download complete [2023-03-16T18:23:32.420Z] 55522c791124: Pull complete [2023-03-16T18:23:33.387Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T18:23:33.387Z] ce5c4a1c91eb: Download complete [2023-03-16T18:23:33.387Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T18:23:33.387Z] 52ebb69f0ebf: Download complete [2023-03-16T18:23:43.488Z] ce5c4a1c91eb: Pull complete [2023-03-16T18:23:43.489Z] 169dfbe0d373: Pull complete [2023-03-16T18:23:43.759Z] e1ff8fa3b103: Pull complete [2023-03-16T18:23:50.421Z] 52ebb69f0ebf: Pull complete [2023-03-16T18:23:51.012Z] 5abe8eddf0d5: Pull complete [2023-03-16T18:23:51.013Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T18:23:51.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T18:23:51.013Z] ---> 6cb57ee374ae [2023-03-16T18:23:51.013Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T18:23:52.971Z] ---> Running in 9d3eb6fcfc75 [2023-03-16T18:23:53.238Z] Removing intermediate container 9d3eb6fcfc75 [2023-03-16T18:23:53.238Z] ---> 1397b8f97f1f [2023-03-16T18:23:53.238Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T18:23:53.238Z] ---> Running in 44ef8fa5d0a2 [2023-03-16T18:23:53.507Z] Removing intermediate container 44ef8fa5d0a2 [2023-03-16T18:23:53.507Z] ---> a43ab12c078b [2023-03-16T18:23:53.507Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T18:23:53.507Z] ---> Running in 53e1aafd9b0c [2023-03-16T18:23:54.093Z] Removing intermediate container 53e1aafd9b0c [2023-03-16T18:23:54.093Z] ---> 308089ca1a4c [2023-03-16T18:23:54.093Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T18:23:54.093Z] ---> Running in 36a37aa650cd [2023-03-16T18:23:54.360Z] Removing intermediate container 36a37aa650cd [2023-03-16T18:23:54.360Z] ---> a956fa9fe24a [2023-03-16T18:23:54.360Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T18:23:54.360Z] ---> Running in bfa8689a0007 [2023-03-16T18:23:54.627Z] Removing intermediate container bfa8689a0007 [2023-03-16T18:23:54.627Z] ---> 26e5ad823d38 [2023-03-16T18:23:54.627Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T18:23:54.895Z] ---> Running in 7de21e5e77ca [2023-03-16T18:23:55.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T18:23:56.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T18:23:57.403Z] OK: 263 MiB in 53 packages [2023-03-16T18:23:58.366Z] Removing intermediate container 7de21e5e77ca [2023-03-16T18:23:58.366Z] ---> 7070aaac5103 [2023-03-16T18:23:58.366Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T18:23:58.366Z] ---> Running in 9c37691f9e56 [2023-03-16T18:23:58.954Z] Removing intermediate container 9c37691f9e56 [2023-03-16T18:23:58.954Z] ---> 3bff446414b2 [2023-03-16T18:23:58.954Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T18:23:59.220Z] ---> 33eed3f68fba [2023-03-16T18:23:59.220Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T18:23:59.492Z] ---> Running in 94d714d52060 [2023-03-16T18:25:07.364Z] Removing intermediate container 94d714d52060 [2023-03-16T18:25:07.364Z] ---> eeb21c56b3ed [2023-03-16T18:25:07.364Z] Step 12/13 : COPY . . [2023-03-16T18:25:07.364Z] ---> 33a2a7cc7038 [2023-03-16T18:25:07.364Z] Step 13/13 : RUN ${MAKE} [2023-03-16T18:25:07.364Z] ---> Running in 1c416ecba1f6 [2023-03-16T18:25:07.364Z] noop [2023-03-16T18:25:07.364Z] Removing intermediate container 1c416ecba1f6 [2023-03-16T18:25:07.364Z] ---> 96dff4e33d83 [2023-03-16T18:25:07.364Z] Successfully built 96dff4e33d83 [2023-03-16T18:25:07.364Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:25:08.088Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T18:25:08.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:25:08.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-2492 does not seem to be running inside a container [2023-03-16T18:25:08.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T18:25:09.634Z] $ docker top d32bf0c502c4941625bd2bd86824528605d21e1632c5733ba6fa8bebabc12f66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T18:25:10.509Z] + go version [2023-03-16T18:25:10.510Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T18:25:10.546Z] $ docker stop --time=1 d32bf0c502c4941625bd2bd86824528605d21e1632c5733ba6fa8bebabc12f66 [2023-03-16T18:25:14.153Z] $ docker rm -f --volumes d32bf0c502c4941625bd2bd86824528605d21e1632c5733ba6fa8bebabc12f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:25:14.940Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T18:25:14.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:25:15.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-2492 does not seem to be running inside a container [2023-03-16T18:25:15.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T18:25:16.379Z] $ docker top 0454bf0f98ab135ddb416eb5b4040f8b6c4551a83a176289df6fcd9e58f80af3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T18:25:16.942Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T18:25:17.650Z] + make test [2023-03-16T18:25:17.650Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T18:25:49.873Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T18:27:56.537Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T18:27:56.537Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T18:27:57.942Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 30.5% of statements [2023-03-16T18:28:20.022Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.235s coverage: 86.5% of statements [2023-03-16T18:28:20.601Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T18:28:20.601Z] go vet ./... [2023-03-16T18:28:47.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T18:28:47.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T18:28:47.527Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T18:28:47.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T18:28:47.597Z] $ docker stop --time=1 0454bf0f98ab135ddb416eb5b4040f8b6c4551a83a176289df6fcd9e58f80af3 [2023-03-16T18:28:49.378Z] $ docker rm -f --volumes 0454bf0f98ab135ddb416eb5b4040f8b6c4551a83a176289df6fcd9e58f80af3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T18:28:50.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T18:28:50.624Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T18:28:51.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T18:28:51.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T18:28:52.187Z] + ls -al . [2023-03-16T18:28:52.187Z] total 228 [2023-03-16T18:28:52.187Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 18:25 . [2023-03-16T18:28:52.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:22 .. [2023-03-16T18:28:52.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 18:23 .git [2023-03-16T18:28:52.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:23 .github [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 18:23 .gitignore [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 18:23 .golangci.yml [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 18:23 Attribution.txt [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 18:23 CHANGELOG.md [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 18:23 Dockerfile [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 18:23 GOVERNANCE.md [2023-03-16T18:28:52.187Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 18:23 Jenkinsfile [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 18:23 LICENSE [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 18:23 Makefile [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 18:23 OWNERS.md [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 6332 Mar 16 18:23 README.md [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 18:20 VERSION [2023-03-16T18:28:52.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 18:23 bin [2023-03-16T18:28:52.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:23 cmd [2023-03-16T18:28:52.188Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 18:28 coverage.out [2023-03-16T18:28:52.188Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 18:23 doc [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 18:23 go.mod [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 18:23 go.sum [2023-03-16T18:28:52.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:23 internal [2023-03-16T18:28:52.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:23 snap [2023-03-16T18:28:52.188Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:28:52.620Z] + 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=071f2239afe20f4521c1bb307ea9e3a12944da39 --label arch=arm64 --label version=0.0.0 . [2023-03-16T18:28:53.217Z] Sending build context to Docker daemon 20.71MB [2023-03-16T18:28:53.217Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T18:28:53.217Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T18:28:53.217Z] ---> 96dff4e33d83 [2023-03-16T18:28:53.217Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T18:28:53.485Z] ---> Running in bac20613c9e4 [2023-03-16T18:28:53.752Z] Removing intermediate container bac20613c9e4 [2023-03-16T18:28:53.752Z] ---> c4aaf86b4185 [2023-03-16T18:28:53.752Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T18:28:53.752Z] ---> Running in 0a83f1fd53df [2023-03-16T18:28:54.022Z] Removing intermediate container 0a83f1fd53df [2023-03-16T18:28:54.022Z] ---> 1eb486d64d45 [2023-03-16T18:28:54.022Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T18:28:54.022Z] ---> Running in 49eaf469c669 [2023-03-16T18:28:54.291Z] Removing intermediate container 49eaf469c669 [2023-03-16T18:28:54.291Z] ---> b1b72767380d [2023-03-16T18:28:54.291Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T18:28:54.559Z] ---> Running in c2a9145d18fe [2023-03-16T18:28:54.827Z] Removing intermediate container c2a9145d18fe [2023-03-16T18:28:54.827Z] ---> 343dfb6bed95 [2023-03-16T18:28:54.827Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T18:28:54.827Z] ---> Running in dc5cf4dfc685 [2023-03-16T18:28:55.095Z] Removing intermediate container dc5cf4dfc685 [2023-03-16T18:28:55.095Z] ---> 6707f16471c5 [2023-03-16T18:28:55.095Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T18:28:55.095Z] ---> Running in a91f0dedce12 [2023-03-16T18:28:56.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T18:28:56.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T18:28:57.609Z] OK: 263 MiB in 53 packages [2023-03-16T18:28:58.579Z] Removing intermediate container a91f0dedce12 [2023-03-16T18:28:58.579Z] ---> f2691cca3f3f [2023-03-16T18:28:58.579Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T18:28:58.579Z] ---> Running in 0baa0293b7cd [2023-03-16T18:28:58.847Z] Removing intermediate container 0baa0293b7cd [2023-03-16T18:28:58.847Z] ---> f6ef060af9fe [2023-03-16T18:28:58.847Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T18:28:59.431Z] ---> 8f56f427afcc [2023-03-16T18:28:59.431Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T18:28:59.431Z] ---> Running in aeb00dcaff2a [2023-03-16T18:29:02.015Z] Removing intermediate container aeb00dcaff2a [2023-03-16T18:29:02.015Z] ---> 72bc821f9a99 [2023-03-16T18:29:02.015Z] Step 12/26 : COPY . . [2023-03-16T18:29:03.958Z] ---> 39d5aef8a4d6 [2023-03-16T18:29:03.958Z] Step 13/26 : RUN ${MAKE} [2023-03-16T18:29:03.958Z] ---> Running in 18703581e95f [2023-03-16T18:29:04.919Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-16T18:31:26.647Z] Removing intermediate container 18703581e95f [2023-03-16T18:31:26.647Z] ---> 66fc3da4e417 [2023-03-16T18:31:26.647Z] Step 14/26 : FROM alpine:3.17 [2023-03-16T18:31:26.647Z] 3.17: Pulling from library/alpine [2023-03-16T18:31:26.647Z] af6eaf76a39c: Already exists [2023-03-16T18:31:26.647Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T18:31:26.647Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T18:31:26.647Z] ---> d74e625d9115 [2023-03-16T18:31:26.647Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T18:31:26.647Z] ---> Running in 0f4af5abbefc [2023-03-16T18:31:26.647Z] Removing intermediate container 0f4af5abbefc [2023-03-16T18:31:26.647Z] ---> 50fc675a8f2c [2023-03-16T18:31:26.647Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-16T18:31:26.647Z] ---> Running in 1b98282ce7a8 [2023-03-16T18:31:26.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T18:31:26.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T18:31:27.609Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T18:31:27.609Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T18:31:27.609Z] OK: 8 MiB in 16 packages [2023-03-16T18:31:28.569Z] Removing intermediate container 1b98282ce7a8 [2023-03-16T18:31:28.569Z] ---> 223743b24739 [2023-03-16T18:31:28.569Z] Step 17/26 : WORKDIR / [2023-03-16T18:31:28.569Z] ---> Running in 12a1b28d6379 [2023-03-16T18:31:28.837Z] Removing intermediate container 12a1b28d6379 [2023-03-16T18:31:28.837Z] ---> ee5506eb2e15 [2023-03-16T18:31:28.837Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T18:31:33.094Z] ---> 4c2e1c1afaea [2023-03-16T18:31:33.094Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T18:31:33.094Z] ---> 2813288d1667 [2023-03-16T18:31:33.094Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T18:31:33.362Z] ---> bd207f8d2325 [2023-03-16T18:31:33.362Z] Step 21/26 : EXPOSE 59984 [2023-03-16T18:31:33.362Z] ---> Running in a7e863e992d4 [2023-03-16T18:31:33.628Z] Removing intermediate container a7e863e992d4 [2023-03-16T18:31:33.628Z] ---> 5bf0ca7fbeba [2023-03-16T18:31:33.628Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T18:31:33.906Z] ---> Running in 2b75a493ab91 [2023-03-16T18:31:33.906Z] Removing intermediate container 2b75a493ab91 [2023-03-16T18:31:33.906Z] ---> 6bd5182fe69c [2023-03-16T18:31:33.906Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T18:31:34.173Z] ---> Running in 9f1c286e38d5 [2023-03-16T18:31:34.439Z] Removing intermediate container 9f1c286e38d5 [2023-03-16T18:31:34.439Z] ---> 06fcfa6ace95 [2023-03-16T18:31:34.439Z] Step 24/26 : LABEL arch=arm64 [2023-03-16T18:31:34.439Z] ---> Running in fb10e487c46f [2023-03-16T18:31:34.706Z] Removing intermediate container fb10e487c46f [2023-03-16T18:31:34.706Z] ---> 690f3ad565c9 [2023-03-16T18:31:34.706Z] Step 25/26 : LABEL git_sha=071f2239afe20f4521c1bb307ea9e3a12944da39 [2023-03-16T18:31:34.706Z] ---> Running in d9298e11bc8c [2023-03-16T18:31:34.976Z] Removing intermediate container d9298e11bc8c [2023-03-16T18:31:34.976Z] ---> eeb596816a30 [2023-03-16T18:31:34.976Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T18:31:34.976Z] ---> Running in 6ceec1648e66 [2023-03-16T18:31:35.243Z] Removing intermediate container 6ceec1648e66 [2023-03-16T18:31:35.243Z] ---> 7aa01f780372 [2023-03-16T18:31:35.243Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T18:31:35.509Z] Successfully built 7aa01f780372 [2023-03-16T18:31:35.509Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:31:36.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T18:31:36.367Z] [2023-03-16T18:31:36.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:31:36.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T18:31:36.765Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T18:31:36.765Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T18:31:36.765Z] 04944245beec: Pulling fs layer [2023-03-16T18:31:36.765Z] 699f458cf7ca: Pulling fs layer [2023-03-16T18:31:36.765Z] 765212b225bb: Pulling fs layer [2023-03-16T18:31:36.765Z] f23df028b6ca: Pulling fs layer [2023-03-16T18:31:36.765Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T18:31:36.765Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T18:31:36.765Z] f23df028b6ca: Waiting [2023-03-16T18:31:36.765Z] 2437ff75d9bd: Waiting [2023-03-16T18:31:37.040Z] 04944245beec: Verifying Checksum [2023-03-16T18:31:37.040Z] 04944245beec: Download complete [2023-03-16T18:31:37.040Z] 765212b225bb: Verifying Checksum [2023-03-16T18:31:37.040Z] 765212b225bb: Download complete [2023-03-16T18:31:37.040Z] f23df028b6ca: Download complete [2023-03-16T18:31:37.040Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T18:31:37.040Z] d65c8cfc05b1: Download complete [2023-03-16T18:31:37.308Z] 699f458cf7ca: Verifying Checksum [2023-03-16T18:31:37.308Z] 699f458cf7ca: Download complete [2023-03-16T18:31:37.589Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T18:31:37.589Z] 8998bd30e6a1: Download complete [2023-03-16T18:31:40.172Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T18:31:40.172Z] 2437ff75d9bd: Download complete [2023-03-16T18:31:41.584Z] 8998bd30e6a1: Pull complete [2023-03-16T18:31:42.167Z] 04944245beec: Pull complete [2023-03-16T18:31:43.578Z] 699f458cf7ca: Pull complete [2023-03-16T18:31:43.578Z] 765212b225bb: Pull complete [2023-03-16T18:31:46.229Z] f23df028b6ca: Pull complete [2023-03-16T18:31:46.229Z] d65c8cfc05b1: Pull complete [2023-03-16T18:32:01.229Z] 2437ff75d9bd: Pull complete [2023-03-16T18:32:01.229Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T18:32:01.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T18:32:01.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:32:01.563Z] prd-ubuntu20.04-docker-arm64-4c-16g-2492 does not seem to be running inside a container [2023-03-16T18:32:01.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T18:32:04.137Z] $ docker top 9e52685685b89fd1a32fb6356e65e4537ded7590278324fbbaaa0e442c46332c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:04.723Z] ---> job-cost.sh [2023-03-16T18:32:04.991Z] lf-activate-venv: SKIPPING [2023-03-16T18:32:04.991Z] INFO: No Stack... [2023-03-16T18:32:05.256Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T18:32:06.215Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T18:32:06.554Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-16T18:32:06.554Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T18:32:06.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [2023-03-16T18:32:06.630Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] did not exist. Created. [2023-03-16T18:32:06.630Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T18:32:07.030Z] /w/workspace/device-onvif-camera/1@tmp/durable-0c09a92a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T18:32:07.390Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T18:32:07.425Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T18:32:07.481Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T18:32:07.495Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T18:32:07.577Z] $ docker stop --time=1 9e52685685b89fd1a32fb6356e65e4537ded7590278324fbbaaa0e442c46332c [2023-03-16T18:32:09.062Z] $ docker rm -f --volumes 9e52685685b89fd1a32fb6356e65e4537ded7590278324fbbaaa0e442c46332c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-16T18:32:10.044Z] provisioning config files... [2023-03-16T18:32:10.055Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config13609256025090346044tmp [Pipeline] { [Pipeline] sh [2023-03-16T18:32:10.384Z] + set +x [2023-03-16T18:32:10.384Z] + curl -s https://codecov.io/bash [2023-03-16T18:32:10.384Z] + bash -s -- [2023-03-16T18:32:10.643Z] [2023-03-16T18:32:10.643Z] _____ _ [2023-03-16T18:32:10.643Z] / ____| | | [2023-03-16T18:32:10.643Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T18:32:10.643Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T18:32:10.643Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T18:32:10.643Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T18:32:10.643Z] Bash-1.0.6 [2023-03-16T18:32:10.643Z] [2023-03-16T18:32:10.643Z] [2023-03-16T18:32:10.643Z] ==> git version 2.25.1 found [2023-03-16T18:32:10.643Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-16T18:32:10.643Z] Release-Date: 2020-01-08 [2023-03-16T18:32:10.643Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T18:32:10.643Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T18:32:10.643Z] ==> Jenkins CI detected. [2023-03-16T18:32:10.643Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-271 [2023-03-16T18:32:10.643Z] project root: . [2023-03-16T18:32:10.643Z] --> token set from env [2023-03-16T18:32:10.643Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T18:32:10.643Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T18:32:10.643Z] ==> Python coveragepy not found [2023-03-16T18:32:10.643Z] ==> Searching for coverage reports in: [2023-03-16T18:32:10.643Z] + . [2023-03-16T18:32:10.643Z] -> Found 1 reports [2023-03-16T18:32:10.643Z] ==> Detecting git/mercurial file structure [2023-03-16T18:32:10.643Z] ==> Reading reports [2023-03-16T18:32:10.643Z] + ./coverage.out bytes=76650 [2023-03-16T18:32:10.643Z] ==> Appending adjustments [2023-03-16T18:32:10.643Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T18:32:10.903Z] + Found adjustments [2023-03-16T18:32:10.903Z] ==> Gzipping contents [2023-03-16T18:32:10.903Z] 12K /tmp/codecov.7hnwMs.gz [2023-03-16T18:32:10.903Z] ==> Uploading reports [2023-03-16T18:32:10.903Z] url: https://codecov.io [2023-03-16T18:32:10.904Z] query: branch=PR-271&commit=071f2239afe20f4521c1bb307ea9e3a12944da39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-03-16T18:32:10.904Z] -> Pinging Codecov [2023-03-16T18:32:10.904Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-271&commit=071f2239afe20f4521c1bb307ea9e3a12944da39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-03-16T18:32:11.164Z] -> Uploading to [2023-03-16T18:32:11.164Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/071f2239afe20f4521c1bb307ea9e3a12944da39/9845af49-7f21-4e91-aea4-544217971a5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T183210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93da7dc10d4bbc7f740a22c3857121e3c73f40ba2ffce65f0ef50080b52bc083 [2023-03-16T18:32:11.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T18:32:11.164Z] Dload Upload Total Spent Left Speed [2023-03-16T18:32:11.424Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 28289 --:--:-- --:--:-- --:--:-- 28289 [2023-03-16T18:32:11.424Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/071f2239afe20f4521c1bb307ea9e3a12944da39 [Pipeline] } [2023-03-16T18:32:11.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T18:32:13.382Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-271/archives ] [2023-03-16T18:32:13.382Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-271/archives [2023-03-16T18:32:13.382Z] total 16 [2023-03-16T18:32:13.382Z] drwxr-xr-x 3 root root 4096 Mar 16 18:23 . [2023-03-16T18:32:13.382Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 18:23 .. [2023-03-16T18:32:13.382Z] drwxr-xr-x 2 root root 4096 Mar 16 18:23 cost [2023-03-16T18:32:13.382Z] -rw-r--r-- 1 root root 91 Mar 16 18:23 cost.csv [2023-03-16T18:32:13.382Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-271/archives [2023-03-16T18:32:13.382Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-271/archives [2023-03-16T18:32:13.382Z] total 16 [2023-03-16T18:32:13.382Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 18:23 . [2023-03-16T18:32:13.382Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 18:23 .. [2023-03-16T18:32:13.382Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 18:23 cost [2023-03-16T18:32:13.382Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 18:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:13.706Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:14.602Z] ---> package-listing.sh [2023-03-16T18:32:14.602Z] ++ facter osfamily [2023-03-16T18:32:14.602Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T18:32:14.861Z] + OS_FAMILY=debian [2023-03-16T18:32:14.861Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-271 [2023-03-16T18:32:14.861Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T18:32:14.861Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T18:32:14.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T18:32:14.861Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T18:32:14.861Z] + '[' /w/workspace/undry_device-onvif-camera_PR-271 ']' [2023-03-16T18:32:14.861Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T18:32:14.861Z] + case "${OS_FAMILY}" in [2023-03-16T18:32:14.861Z] + dpkg -l [2023-03-16T18:32:14.861Z] + grep '^ii' [2023-03-16T18:32:14.861Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T18:32:14.861Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T18:32:14.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T18:32:14.861Z] + '[' /w/workspace/undry_device-onvif-camera_PR-271 ']' [2023-03-16T18:32:14.861Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-271/archives/ [2023-03-16T18:32:14.861Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-271/archives/ [Pipeline] echo [2023-03-16T18:32:14.897Z] 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T18:32:15.183Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T18:32:15.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T18:32:15.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T18:32:15.686Z] prd-ubuntu20.04-docker-8c-8g-2491 does not seem to be running inside a container [2023-03-16T18:32:15.714Z] $ 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-271/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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T18:32:15.904Z] $ docker top fd490a2a9140c034c001d85840f4a8acc30e40448fcb929955dcb411417daf95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T18:32:16.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T18:32:16.574Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T18:32:16.881Z] + ls /var/log/sa-host [2023-03-16T18:32:16.881Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T18:32:17.086Z] provisioning config files... [2023-03-16T18:32:17.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config1348870937480542164tmp [Pipeline] { [Pipeline] echo [2023-03-16T18:32:17.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:17.450Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T18:32:17.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:17.876Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T18:32:17.906Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:18.211Z] ---> sudo-logs.sh [2023-03-16T18:32:18.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T18:32:18.295Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:18.600Z] ---> job-cost.sh [2023-03-16T18:32:18.600Z] lf-activate-venv: SKIPPING [2023-03-16T18:32:18.600Z] DEBUG: total: 0.2199999988079071 [2023-03-16T18:32:18.600Z] INFO: Retrieving Stack Cost... [2023-03-16T18:32:19.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T18:32:19.428Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T18:32:19.457Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T18:32:19.763Z] ---> logs-deploy.sh [2023-03-16T18:32:19.763Z] lf-activate-venv: SKIPPING [2023-03-16T18:32:19.763Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-271/1 [2023-03-16T18:32:19.763Z] INFO: archiving workspace using pattern(s): [2023-03-16T18:32:20.698Z] Archives upload complete. [2023-03-16T18:32:20.698Z] INFO: archiving logs to Nexus