Pull request #115 updated 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from a40ef26af377679c87f438593d4957b9e4c80b07+61db847f3a653629f088db74e60b4b80a5f1cdc2 (ecdf01401f5148186a5b40d1114f5498f21e46cc) 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-ssh2439986485928869685.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16562014001738075003.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17149713750366018818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh7405608616520993833.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7430638870321584389.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20739 in /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-115 # 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 Merging remotes/origin/main commit 61db847f3a653629f088db74e60b4b80a5f1cdc2 into PR head commit a40ef26af377679c87f438593d4957b9e4c80b07 Merge succeeded, producing bf12ad469762d34459b58fdc80dac18158894479 Checking out Revision bf12ad469762d34459b58fdc80dac18158894479 (PR-115) > 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a40ef26af377679c87f438593d4957b9e4c80b07 # 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 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf12ad469762d34459b58fdc80dac18158894479 # timeout=10 Commit message: "Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD" > git rev-list --no-walk c731155c996751ce8688b3d9003b2c1f31f6efe6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-22T00:32:29.690Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-22T00:32:29.745Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-22T00:32:29.760Z] ========================================================= [2022-07-22T00:32:29.760Z] EdgeX Global Pipelines Version Info [2022-07-22T00:32:29.760Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:32:30.512Z] ------------------- [2022-07-22T00:32:30.512Z] stable info: [2022-07-22T00:32:30.512Z] ------------------- [2022-07-22T00:32:30.512Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T00:32:30.512Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T00:32:30.512Z] Message: update stable to v1.0.238 [2022-07-22T00:32:31.085Z] ------------------- [2022-07-22T00:32:31.085Z] experimental info: [2022-07-22T00:32:31.085Z] ------------------- [2022-07-22T00:32:31.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T00:32:31.085Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T00:32:31.085Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-22T00:32:31.329Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-22T00:32:31.342Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-22T00:32:31.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-22T00:32:31.363Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-22T00:32:31.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-22T00:32:31.386Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-22T00:32:31.398Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-22T00:32:31.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-22T00:32:31.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-22T00:32:31.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-22T00:32:31.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-22T00:32:31.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-22T00:32:31.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-22T00:32:31.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-22T00:32:31.494Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T00:32:31.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T00:32:31.518Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T00:32:31.533Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T00:32:31.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-22T00:32:31.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-22T00:32:31.569Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-22T00:32:31.586Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-22T00:32:31.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-22T00:32:31.608Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-22T00:32:31.616Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-22T00:32:31.624Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-22T00:32:31.632Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-22T00:32:31.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-07-22T00:32:31.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-07-22T00:32:31.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-07-22T00:32:31.691Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf12ad469762d34459b58fdc80dac18158894479 [Pipeline] echo [2022-07-22T00:32:31.701Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf12ad4 [Pipeline] echo [2022-07-22T00:32:31.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T00:32:31.754Z] provisioning config files... [2022-07-22T00:32:31.769Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config5013728568219827417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:32:32.075Z] ---> docker-login.sh [2022-07-22T00:32:32.075Z] nexus3.edgexfoundry.org:10001 [2022-07-22T00:32:32.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:32.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:32.338Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:32.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:32.338Z] [2022-07-22T00:32:32.338Z] Login Succeeded [2022-07-22T00:32:32.338Z] nexus3.edgexfoundry.org:10002 [2022-07-22T00:32:32.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:32.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:32.601Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:32.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:32.601Z] [2022-07-22T00:32:32.601Z] Login Succeeded [2022-07-22T00:32:32.601Z] nexus3.edgexfoundry.org:10003 [2022-07-22T00:32:32.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:32.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:32.863Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:32.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:32.863Z] [2022-07-22T00:32:32.863Z] Login Succeeded [2022-07-22T00:32:32.863Z] nexus3.edgexfoundry.org:10004 [2022-07-22T00:32:32.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:32.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:32.863Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:32.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:32.863Z] [2022-07-22T00:32:32.863Z] Login Succeeded [2022-07-22T00:32:32.863Z] docker.io [2022-07-22T00:32:33.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:33.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:33.385Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:33.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:33.385Z] [2022-07-22T00:32:33.385Z] Login Succeeded [2022-07-22T00:32:33.385Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T00:32:33.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-22T00:32:33.772Z] + git rev-list -1 --merges bf12ad469762d34459b58fdc80dac18158894479~1..bf12ad469762d34459b58fdc80dac18158894479 [Pipeline] echo [2022-07-22T00:32:33.800Z] -----------> git rev-list -1 --merges bf12ad469762d34459b58fdc80dac18158894479~1..bf12ad469762d34459b58fdc80dac18158894479 bf12ad469762d34459b58fdc80dac18158894479 [2022-07-22T00:32:33.800Z] bf12ad469762d34459b58fdc80dac18158894479 [false] [Pipeline] sh [2022-07-22T00:32:34.090Z] + git log --format=format:%s -1 bf12ad469762d34459b58fdc80dac18158894479 [Pipeline] echo [2022-07-22T00:32:34.108Z] ========================================================= [2022-07-22T00:32:34.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-22T00:32:34.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T00:32:34.448Z] + git log --format=format:%s -1 bf12ad469762d34459b58fdc80dac18158894479 [Pipeline] echo [2022-07-22T00:32:34.462Z] [semverPrep] GIT_COMMIT: bf12ad469762d34459b58fdc80dac18158894479, Commit Message: Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD [Pipeline] echo [2022-07-22T00:32:34.472Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-22T00:32:34.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T00:32:34.819Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-22T00:32:34.819Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-22T00:32:34.819Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-22T00:32:34.819Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-22T00:32:34.819Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-22T00:32:34.819Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:32:35.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T00:32:35.176Z] [2022-07-22T00:32:35.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:32:35.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T00:32:35.481Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-22T00:32:35.481Z] b85a868b505f: Pulling fs layer [2022-07-22T00:32:35.481Z] e2be974225ed: Pulling fs layer [2022-07-22T00:32:35.481Z] 339a4e72a1f5: Pulling fs layer [2022-07-22T00:32:35.481Z] 988bab9f4d93: Pulling fs layer [2022-07-22T00:32:35.481Z] 1469e6f7b9e6: Pulling fs layer [2022-07-22T00:32:35.481Z] eaf3925da568: Pulling fs layer [2022-07-22T00:32:35.481Z] bab4dde63d76: Pulling fs layer [2022-07-22T00:32:35.481Z] bde34c3a00c8: Pulling fs layer [2022-07-22T00:32:35.481Z] b352a97aabf1: Pulling fs layer [2022-07-22T00:32:35.481Z] 4872d77fe225: Pulling fs layer [2022-07-22T00:32:35.481Z] 5851b861e8e6: Pulling fs layer [2022-07-22T00:32:35.481Z] bab4dde63d76: Waiting [2022-07-22T00:32:35.481Z] bde34c3a00c8: Waiting [2022-07-22T00:32:35.481Z] 5851b861e8e6: Waiting [2022-07-22T00:32:35.481Z] 4872d77fe225: Waiting [2022-07-22T00:32:35.481Z] 988bab9f4d93: Waiting [2022-07-22T00:32:35.481Z] 1469e6f7b9e6: Waiting [2022-07-22T00:32:35.481Z] b352a97aabf1: Waiting [2022-07-22T00:32:35.481Z] eaf3925da568: Waiting [2022-07-22T00:32:35.481Z] e2be974225ed: Verifying Checksum [2022-07-22T00:32:35.481Z] e2be974225ed: Download complete [2022-07-22T00:32:35.481Z] 988bab9f4d93: Verifying Checksum [2022-07-22T00:32:35.481Z] 988bab9f4d93: Download complete [2022-07-22T00:32:35.742Z] 339a4e72a1f5: Verifying Checksum [2022-07-22T00:32:35.742Z] 339a4e72a1f5: Download complete [2022-07-22T00:32:35.742Z] 1469e6f7b9e6: Verifying Checksum [2022-07-22T00:32:35.742Z] 1469e6f7b9e6: Download complete [2022-07-22T00:32:35.742Z] eaf3925da568: Verifying Checksum [2022-07-22T00:32:35.742Z] eaf3925da568: Download complete [2022-07-22T00:32:35.742Z] bde34c3a00c8: Verifying Checksum [2022-07-22T00:32:35.742Z] bde34c3a00c8: Download complete [2022-07-22T00:32:35.742Z] b352a97aabf1: Verifying Checksum [2022-07-22T00:32:35.742Z] b352a97aabf1: Download complete [2022-07-22T00:32:35.742Z] 4872d77fe225: Verifying Checksum [2022-07-22T00:32:35.742Z] 4872d77fe225: Download complete [2022-07-22T00:32:35.742Z] 5851b861e8e6: Verifying Checksum [2022-07-22T00:32:35.742Z] 5851b861e8e6: Download complete [2022-07-22T00:32:35.742Z] b85a868b505f: Download complete [2022-07-22T00:32:36.001Z] bab4dde63d76: Verifying Checksum [2022-07-22T00:32:36.001Z] bab4dde63d76: Download complete [2022-07-22T00:32:36.941Z] b85a868b505f: Pull complete [2022-07-22T00:32:37.204Z] e2be974225ed: Pull complete [2022-07-22T00:32:37.773Z] 339a4e72a1f5: Pull complete [2022-07-22T00:32:37.773Z] 988bab9f4d93: Pull complete [2022-07-22T00:32:38.033Z] 1469e6f7b9e6: Pull complete [2022-07-22T00:32:38.033Z] eaf3925da568: Pull complete [2022-07-22T00:32:39.951Z] bab4dde63d76: Pull complete [2022-07-22T00:32:39.951Z] bde34c3a00c8: Pull complete [2022-07-22T00:32:39.951Z] b352a97aabf1: Pull complete [2022-07-22T00:32:40.214Z] 4872d77fe225: Pull complete [2022-07-22T00:32:40.214Z] 5851b861e8e6: Pull complete [2022-07-22T00:32:40.214Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-22T00:32:40.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T00:32:40.214Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:32:40.324Z] prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container [2022-07-22T00:32:40.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T00:32:41.800Z] $ docker top 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 -eo pid,comm [2022-07-22T00:32:41.864Z] 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). [2022-07-22T00:32:41.864Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T00:32:41.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T00:32:41.905Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T00:32:42.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T00:32:42.047Z] $ docker exec 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 ssh-agent [2022-07-22T00:32:42.180Z] SSH_AUTH_SOCK=/tmp/ssh-ZO8CJgHHInhN/agent.33 [2022-07-22T00:32:42.180Z] SSH_AGENT_PID=39 [2022-07-22T00:32:42.186Z] Running ssh-add (command line suppressed) [2022-07-22T00:32:42.300Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_7976497637051208452.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_7976497637051208452.key) [2022-07-22T00:32:42.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T00:32:42.604Z] + git tag --points-at HEAD [Pipeline] } [2022-07-22T00:32:42.631Z] $ docker exec --env ******** --env ******** 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 ssh-agent -k [2022-07-22T00:32:42.750Z] unset SSH_AUTH_SOCK; [2022-07-22T00:32:42.751Z] unset SSH_AGENT_PID; [2022-07-22T00:32:42.751Z] echo Agent pid 39 killed; [2022-07-22T00:32:42.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-22T00:32:42.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T00:32:42.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T00:32:42.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T00:32:42.918Z] $ docker exec 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 ssh-agent [2022-07-22T00:32:43.050Z] SSH_AUTH_SOCK=/tmp/ssh-wi7TbJvWJ3LS/agent.74 [2022-07-22T00:32:43.050Z] SSH_AGENT_PID=80 [2022-07-22T00:32:43.056Z] Running ssh-add (command line suppressed) [2022-07-22T00:32:43.179Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_2193503096508829107.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_2193503096508829107.key) [2022-07-22T00:32:43.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T00:32:43.481Z] + git semver init [2022-07-22T00:32:43.743Z] 2022-07-22 00:32:43,666 [run_init] DEBUG init version:0.0.0 force:False [2022-07-22T00:32:43.743Z] 2022-07-22 00:32:43,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-22T00:32:43.743Z] 2022-07-22 00:32:43,667 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-22T00:32:43.743Z] 2022-07-22 00:32:43,667 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-115/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-115, universal_newlines=False, shell=None, istream=None) [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,408 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-115/.git/info/exclude [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,409 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 with force:False [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,409 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,413 [execute] INFO git cat-file --batch-check [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,419 [execute] INFO git cat-file --batch [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T00:32:44.686Z] 2022-07-22 00:32:44,425 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-22T00:32:44.686Z] 0.0.0 [Pipeline] } [2022-07-22T00:32:44.702Z] $ docker exec --env ******** --env ******** 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 ssh-agent -k [2022-07-22T00:32:44.807Z] unset SSH_AUTH_SOCK; [2022-07-22T00:32:44.808Z] unset SSH_AGENT_PID; [2022-07-22T00:32:44.808Z] echo Agent pid 80 killed; [2022-07-22T00:32:44.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T00:32:45.135Z] + git semver [Pipeline] } [2022-07-22T00:32:45.416Z] $ docker stop --time=1 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 [2022-07-22T00:32:46.787Z] $ docker rm -f 6a42ad21121773d9132a72ae8b90225fb4978bc4d5f4142b09f70fc74782db47 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T00:32:47.135Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-22T00:32:47.378Z] Stashed 1 file(s) [Pipeline] echo [2022-07-22T00:32:47.380Z] [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 [2022-07-22T00:32:47.516Z] provisioning config files... [2022-07-22T00:32:47.526Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config2324533628129372356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:32:47.822Z] ---> docker-login.sh [2022-07-22T00:32:47.822Z] nexus3.edgexfoundry.org:10001 [2022-07-22T00:32:47.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:47.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:47.822Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:47.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:47.822Z] [2022-07-22T00:32:47.822Z] Login Succeeded [2022-07-22T00:32:47.822Z] nexus3.edgexfoundry.org:10002 [2022-07-22T00:32:47.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:48.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:48.082Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:48.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:48.082Z] [2022-07-22T00:32:48.082Z] Login Succeeded [2022-07-22T00:32:48.082Z] nexus3.edgexfoundry.org:10003 [2022-07-22T00:32:48.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:48.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:48.082Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:48.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:48.082Z] [2022-07-22T00:32:48.082Z] Login Succeeded [2022-07-22T00:32:48.082Z] nexus3.edgexfoundry.org:10004 [2022-07-22T00:32:48.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:48.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:48.342Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:48.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:48.342Z] [2022-07-22T00:32:48.342Z] Login Succeeded [2022-07-22T00:32:48.342Z] docker.io [2022-07-22T00:32:48.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:32:48.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:32:48.602Z] Configure a credential helper to remove this warning. See [2022-07-22T00:32:48.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:32:48.603Z] [2022-07-22T00:32:48.603Z] Login Succeeded [2022-07-22T00:32:48.603Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T00:32:48.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T00:32:48.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T00:32:48.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T00:32:48.684Z] ========================================================= [2022-07-22T00:32:48.684Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-22T00:32:48.685Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:32:49.005Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T00:32:49.005Z] Sending build context to Docker daemon 20.03MB [2022-07-22T00:32:49.005Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T00:32:49.005Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T00:32:49.266Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-22T00:32:49.267Z] 2408cc74d12b: Pulling fs layer [2022-07-22T00:32:49.267Z] ea60b727a1ce: Pulling fs layer [2022-07-22T00:32:49.267Z] 30c4a7721957: Pulling fs layer [2022-07-22T00:32:49.267Z] 370296b7ddb6: Pulling fs layer [2022-07-22T00:32:49.267Z] 7c6cee850709: Pulling fs layer [2022-07-22T00:32:49.267Z] 39a5fcdaea64: Pulling fs layer [2022-07-22T00:32:49.267Z] d94ebbe4e438: Pulling fs layer [2022-07-22T00:32:49.267Z] bcfd1f05c69d: Pulling fs layer [2022-07-22T00:32:49.267Z] 59ccb84bbe0f: Pulling fs layer [2022-07-22T00:32:49.267Z] 370296b7ddb6: Waiting [2022-07-22T00:32:49.267Z] 7c6cee850709: Waiting [2022-07-22T00:32:49.267Z] bcfd1f05c69d: Waiting [2022-07-22T00:32:49.267Z] 59ccb84bbe0f: Waiting [2022-07-22T00:32:49.267Z] d94ebbe4e438: Waiting [2022-07-22T00:32:49.267Z] 39a5fcdaea64: Waiting [2022-07-22T00:32:49.267Z] 30c4a7721957: Verifying Checksum [2022-07-22T00:32:49.267Z] 30c4a7721957: Download complete [2022-07-22T00:32:49.267Z] ea60b727a1ce: Download complete [2022-07-22T00:32:49.267Z] 7c6cee850709: Download complete [2022-07-22T00:32:49.267Z] 39a5fcdaea64: Verifying Checksum [2022-07-22T00:32:49.267Z] 39a5fcdaea64: Download complete [2022-07-22T00:32:49.267Z] 2408cc74d12b: Verifying Checksum [2022-07-22T00:32:49.267Z] 2408cc74d12b: Download complete [2022-07-22T00:32:49.267Z] d94ebbe4e438: Verifying Checksum [2022-07-22T00:32:49.267Z] d94ebbe4e438: Download complete [2022-07-22T00:32:49.529Z] 2408cc74d12b: Pull complete [2022-07-22T00:32:49.529Z] ea60b727a1ce: Pull complete [2022-07-22T00:32:49.790Z] 30c4a7721957: Pull complete [2022-07-22T00:32:49.790Z] 59ccb84bbe0f: Verifying Checksum [2022-07-22T00:32:50.050Z] bcfd1f05c69d: Verifying Checksum [2022-07-22T00:32:50.050Z] bcfd1f05c69d: Download complete [2022-07-22T00:32:50.050Z] 370296b7ddb6: Download complete [2022-07-22T00:32:54.256Z] 370296b7ddb6: Pull complete [2022-07-22T00:32:54.516Z] 7c6cee850709: Pull complete [2022-07-22T00:32:54.516Z] 39a5fcdaea64: Pull complete [2022-07-22T00:32:54.516Z] d94ebbe4e438: Pull complete [2022-07-22T00:32:57.057Z] bcfd1f05c69d: Pull complete [2022-07-22T00:32:57.626Z] 59ccb84bbe0f: Pull complete [2022-07-22T00:32:57.626Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-22T00:32:57.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-22T00:32:57.626Z] ---> a4fb48ad2a94 [2022-07-22T00:32:57.626Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T00:32:59.542Z] ---> Running in d6ae3f4aa6f9 [2022-07-22T00:32:59.542Z] Removing intermediate container d6ae3f4aa6f9 [2022-07-22T00:32:59.542Z] ---> edaab9d5b036 [2022-07-22T00:32:59.542Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T00:32:59.542Z] ---> Running in 5ba0c90ae809 [2022-07-22T00:32:59.542Z] Removing intermediate container 5ba0c90ae809 [2022-07-22T00:32:59.542Z] ---> 5a97e4d8838c [2022-07-22T00:32:59.542Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T00:32:59.542Z] ---> Running in 408e4f84c569 [2022-07-22T00:32:59.802Z] Removing intermediate container 408e4f84c569 [2022-07-22T00:32:59.802Z] ---> b210654a3f2e [2022-07-22T00:32:59.802Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T00:32:59.802Z] ---> Running in d69f5ec63323 [2022-07-22T00:32:59.802Z] Removing intermediate container d69f5ec63323 [2022-07-22T00:32:59.802Z] ---> d25db00db245 [2022-07-22T00:32:59.802Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T00:32:59.802Z] ---> Running in f588eabbf4a5 [2022-07-22T00:33:00.374Z] Removing intermediate container f588eabbf4a5 [2022-07-22T00:33:00.374Z] ---> 2df0d7c3c16c [2022-07-22T00:33:00.374Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T00:33:00.374Z] ---> Running in 347c3b09c536 [2022-07-22T00:33:00.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T00:33:01.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T00:33:02.093Z] OK: 211 MiB in 51 packages [2022-07-22T00:33:02.356Z] Removing intermediate container 347c3b09c536 [2022-07-22T00:33:02.356Z] ---> 21f8a0672516 [2022-07-22T00:33:02.356Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T00:33:02.356Z] ---> Running in f39dc36599c9 [2022-07-22T00:33:02.476Z] Still waiting to schedule task [2022-07-22T00:33:02.476Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20733’ [2022-07-22T00:33:02.616Z] Removing intermediate container f39dc36599c9 [2022-07-22T00:33:02.616Z] ---> bcb25e506594 [2022-07-22T00:33:02.616Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T00:33:02.616Z] ---> f61ba9ad9573 [2022-07-22T00:33:02.616Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T00:33:02.616Z] ---> Running in 5a440514b04a [2022-07-22T00:33:17.524Z] Removing intermediate container 5a440514b04a [2022-07-22T00:33:17.524Z] ---> fb3fdbd28580 [2022-07-22T00:33:17.524Z] Step 12/13 : COPY . . [2022-07-22T00:33:17.524Z] ---> a6126a019b7f [2022-07-22T00:33:17.524Z] Step 13/13 : RUN ${MAKE} [2022-07-22T00:33:17.524Z] ---> Running in 987f18345ad7 [2022-07-22T00:33:17.524Z] noop [2022-07-22T00:33:17.784Z] Removing intermediate container 987f18345ad7 [2022-07-22T00:33:17.784Z] ---> dc490cedeeb6 [2022-07-22T00:33:17.784Z] Successfully built dc490cedeeb6 [2022-07-22T00:33:17.784Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:33:18.103Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T00:33:18.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:33:18.184Z] prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container [2022-07-22T00:33:18.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T00:33:18.656Z] $ docker top 30e63d58ebeca5f20b9615fc1077ff7388ca94028b2523166caaa32bc627ff2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T00:33:19.015Z] + go version [2022-07-22T00:33:19.015Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-22T00:33:19.030Z] $ docker stop --time=1 30e63d58ebeca5f20b9615fc1077ff7388ca94028b2523166caaa32bc627ff2a [2022-07-22T00:33:20.340Z] $ docker rm -f 30e63d58ebeca5f20b9615fc1077ff7388ca94028b2523166caaa32bc627ff2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:33:20.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T00:33:20.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:33:20.840Z] prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container [2022-07-22T00:33:20.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-22T00:33:21.287Z] $ docker top d628a969121f344691dc629c79f13600de34a07e9afbfbff842cd5758fd406a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T00:33:21.655Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-07-22T00:33:21.957Z] + make test [2022-07-22T00:33:21.957Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T00:33:22.216Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T00:33:32.196Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T00:33:32.765Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 10.7% of statements [2022-07-22T00:33:32.765Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T00:33:36.057Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.862s coverage: 13.8% of statements [2022-07-22T00:33:42.641Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T00:33:45.181Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T00:33:45.181Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T00:33:45.181Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T00:33:45.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T00:33:45.473Z] $ docker stop --time=1 d628a969121f344691dc629c79f13600de34a07e9afbfbff842cd5758fd406a8 [2022-07-22T00:33:47.369Z] $ docker rm -f d628a969121f344691dc629c79f13600de34a07e9afbfbff842cd5758fd406a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T00:33:47.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T00:33:47.875Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-22T00:33:48.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T00:33:48.626Z] + ls -al . [2022-07-22T00:33:48.626Z] total 232 [2022-07-22T00:33:48.626Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 00:33 . [2022-07-22T00:33:48.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:32 .. [2022-07-22T00:33:48.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:33 .git [2022-07-22T00:33:48.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:32 .github [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 00:32 .gitignore [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 00:32 .golangci.yml [2022-07-22T00:33:48.626Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 00:32 .semver [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 00:32 Attribution.txt [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 00:32 CHANGELOG.md [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 00:32 Dockerfile [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 00:32 GOVERNANCE.md [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 00:32 Jenkinsfile [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 00:32 LICENSE [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 00:32 Makefile [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 00:32 OWNERS.md [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 00:32 README.md [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 00:32 VERSION [2022-07-22T00:33:48.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:32 bin [2022-07-22T00:33:48.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:32 cmd [2022-07-22T00:33:48.626Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 00:33 coverage.out [2022-07-22T00:33:48.626Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 00:32 doc [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 00:32 go.mod [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 00:32 go.sum [2022-07-22T00:33:48.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:32 internal [2022-07-22T00:33:48.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:32 snap [2022-07-22T00:33:48.626Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:33:48.930Z] + 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=bf12ad469762d34459b58fdc80dac18158894479 --label arch=amd64 --label version=0.0.0 . [2022-07-22T00:33:48.930Z] Sending build context to Docker daemon 20.11MB [2022-07-22T00:33:48.930Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T00:33:48.930Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T00:33:48.930Z] ---> dc490cedeeb6 [2022-07-22T00:33:48.930Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T00:33:49.191Z] ---> Running in d08393c0aca1 [2022-07-22T00:33:49.191Z] Removing intermediate container d08393c0aca1 [2022-07-22T00:33:49.191Z] ---> 775449e90003 [2022-07-22T00:33:49.191Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T00:33:49.191Z] ---> Running in 562c81ca05c4 [2022-07-22T00:33:49.451Z] Removing intermediate container 562c81ca05c4 [2022-07-22T00:33:49.451Z] ---> bab9543d484b [2022-07-22T00:33:49.451Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T00:33:49.451Z] ---> Running in b7fe68de1d00 [2022-07-22T00:33:49.451Z] Removing intermediate container b7fe68de1d00 [2022-07-22T00:33:49.451Z] ---> 6d6cb24ae094 [2022-07-22T00:33:49.451Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T00:33:49.451Z] ---> Running in 8a83cdbf520d [2022-07-22T00:33:49.712Z] Removing intermediate container 8a83cdbf520d [2022-07-22T00:33:49.712Z] ---> 4d1d6f4b70f1 [2022-07-22T00:33:49.712Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T00:33:49.712Z] ---> Running in c50f43ba1e61 [2022-07-22T00:33:50.283Z] Removing intermediate container c50f43ba1e61 [2022-07-22T00:33:50.283Z] ---> 126b0629ffa4 [2022-07-22T00:33:50.283Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T00:33:50.283Z] ---> Running in af7f6cff2a39 [2022-07-22T00:33:50.545Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T00:33:51.488Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T00:33:51.749Z] OK: 211 MiB in 51 packages [2022-07-22T00:33:52.317Z] Removing intermediate container af7f6cff2a39 [2022-07-22T00:33:52.317Z] ---> b2d8dc4e5620 [2022-07-22T00:33:52.317Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T00:33:52.317Z] ---> Running in f1ff6639a633 [2022-07-22T00:33:52.317Z] Removing intermediate container f1ff6639a633 [2022-07-22T00:33:52.317Z] ---> 619e46e2484b [2022-07-22T00:33:52.318Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T00:33:52.577Z] ---> c98c8c968378 [2022-07-22T00:33:52.577Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T00:33:52.577Z] ---> Running in 2eca66320928 [2022-07-22T00:33:53.147Z] Removing intermediate container 2eca66320928 [2022-07-22T00:33:53.147Z] ---> 90f5ebdd3ac6 [2022-07-22T00:33:53.147Z] Step 12/26 : COPY . . [2022-07-22T00:33:53.716Z] ---> 958ebf022c7c [2022-07-22T00:33:53.716Z] Step 13/26 : RUN ${MAKE} [2022-07-22T00:33:53.716Z] ---> Running in 5fbcc664c370 [2022-07-22T00:33:53.975Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T00:34:15.915Z] Removing intermediate container 5fbcc664c370 [2022-07-22T00:34:15.915Z] ---> 4d66d51136e0 [2022-07-22T00:34:15.915Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T00:34:15.915Z] 3.15: Pulling from library/alpine [2022-07-22T00:34:15.915Z] ab6db1bc80d0: Pulling fs layer [2022-07-22T00:34:15.915Z] ab6db1bc80d0: Verifying Checksum [2022-07-22T00:34:15.915Z] ab6db1bc80d0: Download complete [2022-07-22T00:34:15.915Z] ab6db1bc80d0: Pull complete [2022-07-22T00:34:15.915Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T00:34:15.915Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T00:34:15.915Z] ---> 2720e26172a0 [2022-07-22T00:34:15.915Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T00:34:15.915Z] ---> Running in 0c91c5bc51b8 [2022-07-22T00:34:15.915Z] Removing intermediate container 0c91c5bc51b8 [2022-07-22T00:34:15.915Z] ---> a9db377f1ed5 [2022-07-22T00:34:15.915Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T00:34:15.915Z] ---> Running in fe3f671b5536 [2022-07-22T00:34:15.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-22T00:34:15.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-22T00:34:15.916Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T00:34:15.916Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T00:34:15.916Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T00:34:15.916Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T00:34:15.916Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T00:34:15.916Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T00:34:15.916Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T00:34:15.916Z] OK: 8 MiB in 20 packages [2022-07-22T00:34:15.916Z] Removing intermediate container fe3f671b5536 [2022-07-22T00:34:15.916Z] ---> b5fb867ca7ae [2022-07-22T00:34:15.916Z] Step 17/26 : WORKDIR / [2022-07-22T00:34:15.916Z] ---> Running in f0c7c13526d9 [2022-07-22T00:34:16.175Z] Removing intermediate container f0c7c13526d9 [2022-07-22T00:34:16.175Z] ---> c35b3bb168e6 [2022-07-22T00:34:16.175Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T00:34:16.744Z] ---> f46e91886552 [2022-07-22T00:34:16.744Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T00:34:16.744Z] ---> b604bf431df4 [2022-07-22T00:34:16.744Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T00:34:17.006Z] ---> db0dd56d250f [2022-07-22T00:34:17.006Z] Step 21/26 : EXPOSE 59984 [2022-07-22T00:34:17.006Z] ---> Running in 4020c56522b1 [2022-07-22T00:34:17.006Z] Removing intermediate container 4020c56522b1 [2022-07-22T00:34:17.006Z] ---> 4a46407e2a38 [2022-07-22T00:34:17.006Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T00:34:17.267Z] ---> Running in 918c9b4e75f9 [2022-07-22T00:34:17.267Z] Removing intermediate container 918c9b4e75f9 [2022-07-22T00:34:17.267Z] ---> 3aebd6b1b7c6 [2022-07-22T00:34:17.267Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T00:34:17.267Z] ---> Running in bb6e3bf14174 [2022-07-22T00:34:17.267Z] Removing intermediate container bb6e3bf14174 [2022-07-22T00:34:17.267Z] ---> 2d974806d97b [2022-07-22T00:34:17.267Z] Step 24/26 : LABEL arch=amd64 [2022-07-22T00:34:17.527Z] ---> Running in 27efd0117c67 [2022-07-22T00:34:17.527Z] Removing intermediate container 27efd0117c67 [2022-07-22T00:34:17.527Z] ---> a48e80a0f08f [2022-07-22T00:34:17.527Z] Step 25/26 : LABEL git_sha=bf12ad469762d34459b58fdc80dac18158894479 [2022-07-22T00:34:17.527Z] ---> Running in 3c0fc1c2f25d [2022-07-22T00:34:17.527Z] Removing intermediate container 3c0fc1c2f25d [2022-07-22T00:34:17.527Z] ---> f56470b4d5e5 [2022-07-22T00:34:17.527Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T00:34:17.788Z] ---> Running in fb7362243a20 [2022-07-22T00:34:17.788Z] Removing intermediate container fb7362243a20 [2022-07-22T00:34:17.788Z] ---> 716251d65084 [2022-07-22T00:34:17.788Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T00:34:17.788Z] Successfully built 716251d65084 [2022-07-22T00:34:17.788Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:34:18.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T00:34:18.217Z] [2022-07-22T00:34:18.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:34:18.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T00:34:18.519Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-22T00:34:18.519Z] 5eb5b503b376: Pulling fs layer [2022-07-22T00:34:18.519Z] 5c69ac0246d0: Pulling fs layer [2022-07-22T00:34:18.519Z] ec43610c2a17: Pulling fs layer [2022-07-22T00:34:18.519Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-22T00:34:18.519Z] 33b1e0a273af: Pulling fs layer [2022-07-22T00:34:18.519Z] 5d3b04190fa2: Pulling fs layer [2022-07-22T00:34:18.519Z] 2f39f015ded8: Pulling fs layer [2022-07-22T00:34:18.519Z] 3a2ae6a8a46f: Waiting [2022-07-22T00:34:18.519Z] 2f39f015ded8: Waiting [2022-07-22T00:34:18.519Z] 5d3b04190fa2: Waiting [2022-07-22T00:34:18.519Z] 5c69ac0246d0: Download complete [2022-07-22T00:34:18.519Z] 3a2ae6a8a46f: Download complete [2022-07-22T00:34:18.519Z] 33b1e0a273af: Verifying Checksum [2022-07-22T00:34:18.519Z] 33b1e0a273af: Download complete [2022-07-22T00:34:18.519Z] 5d3b04190fa2: Download complete [2022-07-22T00:34:18.519Z] ec43610c2a17: Verifying Checksum [2022-07-22T00:34:18.519Z] ec43610c2a17: Download complete [2022-07-22T00:34:18.777Z] 5eb5b503b376: Verifying Checksum [2022-07-22T00:34:18.777Z] 5eb5b503b376: Download complete [2022-07-22T00:34:19.346Z] 2f39f015ded8: Download complete [2022-07-22T00:34:20.283Z] 5eb5b503b376: Pull complete [2022-07-22T00:34:20.283Z] 5c69ac0246d0: Pull complete [2022-07-22T00:34:20.851Z] ec43610c2a17: Pull complete [2022-07-22T00:34:20.851Z] 3a2ae6a8a46f: Pull complete [2022-07-22T00:34:21.109Z] 33b1e0a273af: Pull complete [2022-07-22T00:34:21.109Z] 5d3b04190fa2: Pull complete [2022-07-22T00:34:25.298Z] 2f39f015ded8: Pull complete [2022-07-22T00:34:25.298Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-22T00:34:25.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T00:34:25.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:34:25.383Z] prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container [2022-07-22T00:34:25.425Z] $ 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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T00:34:27.154Z] $ docker top 719c1c2a411517f265ad14c8624c33e45497b001df21ebdc1a51b953a768bbf8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:34:27.538Z] ---> job-cost.sh [2022-07-22T00:34:27.538Z] lf-activate-venv: SKIPPING [2022-07-22T00:34:27.538Z] INFO: No Stack... [2022-07-22T00:34:27.796Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T00:34:28.366Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T00:34:28.655Z] + cat /w/workspace/undry_device-onvif-camera_PR-115/archives/cost.csv [2022-07-22T00:34:28.656Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T00:34:28.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [2022-07-22T00:34:28.678Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] did not exist. Created. [2022-07-22T00:34:28.678Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T00:34:28.977Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-22T00:34:29.008Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T00:34:29.014Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T00:34:29.035Z] $ docker stop --time=1 719c1c2a411517f265ad14c8624c33e45497b001df21ebdc1a51b953a768bbf8 [2022-07-22T00:34:30.221Z] $ docker rm -f 719c1c2a411517f265ad14c8624c33e45497b001df21ebdc1a51b953a768bbf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-22T00:35:49.225Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20741 in /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-07-22T00:35:49.238Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-07-22T00:35:49.291Z] Selected Git installation does not exist. Using Default [2022-07-22T00:35:49.291Z] The recommended git tool is: NONE [2022-07-22T00:35:57.533Z] using credential edgex-jenkins-ssh [2022-07-22T00:35:57.560Z] Cloning the remote Git repository [2022-07-22T00:35:57.749Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T00:35:57.913Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-07-22T00:35:58.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T00:35:58.066Z] > git --version # timeout=10 [2022-07-22T00:35:58.101Z] > git --version # 'git version 2.25.1' [2022-07-22T00:35:58.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T00:35:58.240Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T00:35:59.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T00:35:59.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T00:35:59.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T00:36:00.462Z] Merging remotes/origin/main commit 61db847f3a653629f088db74e60b4b80a5f1cdc2 into PR head commit a40ef26af377679c87f438593d4957b9e4c80b07 [2022-07-22T00:35:59.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T00:35:59.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T00:35:59.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-22T00:36:00.562Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T00:36:00.615Z] > git checkout -f a40ef26af377679c87f438593d4957b9e4c80b07 # timeout=10 [2022-07-22T00:36:00.953Z] > git remote # timeout=10 [2022-07-22T00:36:00.988Z] > git config --get remote.origin.url # timeout=10 [2022-07-22T00:36:01.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T00:36:01.016Z] > git merge 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 [2022-07-22T00:36:01.316Z] Merge succeeded, producing 8a70e82783519e9ed28501b2f01ff7d5bf3115b9 [2022-07-22T00:36:01.317Z] Checking out Revision 8a70e82783519e9ed28501b2f01ff7d5bf3115b9 (PR-115) [2022-07-22T00:36:01.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-22T00:36:01.329Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T00:36:01.341Z] > git checkout -f 8a70e82783519e9ed28501b2f01ff7d5bf3115b9 # timeout=10 [2022-07-22T00:36:05.955Z] Commit message: "Merge commit '61db847f3a653629f088db74e60b4b80a5f1cdc2' into HEAD" [2022-07-22T00:36:05.969Z] > git rev-list --no-walk c731155c996751ce8688b3d9003b2c1f31f6efe6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T00:36:06.903Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-22T00:36:06.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T00:36:06.903Z] Dload Upload Total Spent Left Speed [2022-07-22T00:36:06.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 156k 0 --:--:-- --:--:-- --:--:-- 156k [Pipeline] sh [2022-07-22T00:36:07.579Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-22T00:36:07.930Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-07-22T00:36:07.930Z] /etc/docker/daemon.new [2022-07-22T00:36:07.930Z] { [2022-07-22T00:36:07.930Z] "registry-mirrors": [ [2022-07-22T00:36:07.930Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-22T00:36:07.930Z] ], [2022-07-22T00:36:07.930Z] "bip": "10.250.0.254/24", [2022-07-22T00:36:07.930Z] "hosts": [ [2022-07-22T00:36:07.930Z] "tcp://0.0.0.0:5555", [2022-07-22T00:36:07.930Z] "unix:///var/run/docker.sock" [2022-07-22T00:36:07.930Z] ], [2022-07-22T00:36:07.930Z] "mtu": 1458, [2022-07-22T00:36:07.930Z] "selinux-enabled": true, [2022-07-22T00:36:07.930Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-22T00:36:07.930Z] } [Pipeline] sh [2022-07-22T00:36:08.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-22T00:36:08.803Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T00:36:27.311Z] provisioning config files... [2022-07-22T00:36:27.338Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config7933962163250565485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:36:27.710Z] ---> docker-login.sh [2022-07-22T00:36:27.710Z] nexus3.edgexfoundry.org:10001 [2022-07-22T00:36:28.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:36:28.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:36:28.585Z] Configure a credential helper to remove this warning. See [2022-07-22T00:36:28.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:36:28.585Z] [2022-07-22T00:36:28.585Z] Login Succeeded [2022-07-22T00:36:28.585Z] nexus3.edgexfoundry.org:10002 [2022-07-22T00:36:28.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:36:29.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:36:29.141Z] Configure a credential helper to remove this warning. See [2022-07-22T00:36:29.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:36:29.141Z] [2022-07-22T00:36:29.141Z] Login Succeeded [2022-07-22T00:36:29.141Z] nexus3.edgexfoundry.org:10003 [2022-07-22T00:36:29.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:36:29.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:36:29.697Z] Configure a credential helper to remove this warning. See [2022-07-22T00:36:29.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:36:29.697Z] [2022-07-22T00:36:29.697Z] Login Succeeded [2022-07-22T00:36:29.697Z] nexus3.edgexfoundry.org:10004 [2022-07-22T00:36:29.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:36:29.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:36:29.978Z] Configure a credential helper to remove this warning. See [2022-07-22T00:36:29.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:36:29.978Z] [2022-07-22T00:36:29.978Z] Login Succeeded [2022-07-22T00:36:29.978Z] docker.io [2022-07-22T00:36:30.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T00:36:30.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T00:36:30.849Z] Configure a credential helper to remove this warning. See [2022-07-22T00:36:30.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T00:36:30.849Z] [2022-07-22T00:36:30.849Z] Login Succeeded [2022-07-22T00:36:30.849Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T00:36:30.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T00:36:31.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T00:36:31.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T00:36:31.154Z] ========================================================= [2022-07-22T00:36:31.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-22T00:36:31.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:36:31.511Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T00:36:32.107Z] Sending build context to Docker daemon 13.69MB [2022-07-22T00:36:32.107Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T00:36:32.107Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T00:36:32.401Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-22T00:36:32.401Z] b3c136eddcbf: Pulling fs layer [2022-07-22T00:36:32.401Z] c0a3192eca97: Pulling fs layer [2022-07-22T00:36:32.401Z] a050256f5b6f: Pulling fs layer [2022-07-22T00:36:32.401Z] 656be50a0ddc: Pulling fs layer [2022-07-22T00:36:32.401Z] 2bbca73fdf42: Pulling fs layer [2022-07-22T00:36:32.401Z] 46d945488cbd: Pulling fs layer [2022-07-22T00:36:32.401Z] 8a5474983e97: Pulling fs layer [2022-07-22T00:36:32.401Z] 329c88fbcd65: Pulling fs layer [2022-07-22T00:36:32.401Z] 8a5474983e97: Waiting [2022-07-22T00:36:32.401Z] 46d945488cbd: Waiting [2022-07-22T00:36:32.401Z] 329c88fbcd65: Waiting [2022-07-22T00:36:32.401Z] 656be50a0ddc: Waiting [2022-07-22T00:36:32.401Z] 2bbca73fdf42: Waiting [2022-07-22T00:36:32.401Z] a050256f5b6f: Verifying Checksum [2022-07-22T00:36:32.401Z] a050256f5b6f: Download complete [2022-07-22T00:36:32.401Z] c0a3192eca97: Verifying Checksum [2022-07-22T00:36:32.401Z] c0a3192eca97: Download complete [2022-07-22T00:36:32.401Z] 2bbca73fdf42: Verifying Checksum [2022-07-22T00:36:32.401Z] 2bbca73fdf42: Download complete [2022-07-22T00:36:32.401Z] 46d945488cbd: Download complete [2022-07-22T00:36:32.401Z] b3c136eddcbf: Verifying Checksum [2022-07-22T00:36:33.410Z] b3c136eddcbf: Pull complete [2022-07-22T00:36:33.410Z] 329c88fbcd65: Verifying Checksum [2022-07-22T00:36:33.410Z] 329c88fbcd65: Download complete [2022-07-22T00:36:34.022Z] c0a3192eca97: Pull complete [2022-07-22T00:36:34.297Z] a050256f5b6f: Pull complete [2022-07-22T00:36:34.571Z] 8a5474983e97: Verifying Checksum [2022-07-22T00:36:34.571Z] 8a5474983e97: Download complete [2022-07-22T00:36:35.553Z] 656be50a0ddc: Verifying Checksum [2022-07-22T00:36:35.553Z] 656be50a0ddc: Download complete [2022-07-22T00:36:47.976Z] 656be50a0ddc: Pull complete [2022-07-22T00:36:48.250Z] 2bbca73fdf42: Pull complete [2022-07-22T00:36:48.524Z] 46d945488cbd: Pull complete [2022-07-22T00:36:55.253Z] 8a5474983e97: Pull complete [2022-07-22T00:36:57.228Z] 329c88fbcd65: Pull complete [2022-07-22T00:36:57.228Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-22T00:36:57.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-22T00:36:57.228Z] ---> ff4287adb874 [2022-07-22T00:36:57.228Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T00:36:59.221Z] ---> Running in ce58fc3ac9c3 [2022-07-22T00:36:59.221Z] Removing intermediate container ce58fc3ac9c3 [2022-07-22T00:36:59.221Z] ---> 35ffbe4915d8 [2022-07-22T00:36:59.221Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T00:36:59.493Z] ---> Running in 9dd82d11fc11 [2022-07-22T00:36:59.768Z] Removing intermediate container 9dd82d11fc11 [2022-07-22T00:36:59.768Z] ---> dddc2903a7c9 [2022-07-22T00:36:59.768Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T00:36:59.768Z] ---> Running in f164c1223e07 [2022-07-22T00:37:00.041Z] Removing intermediate container f164c1223e07 [2022-07-22T00:37:00.042Z] ---> ae4f5be4b9a0 [2022-07-22T00:37:00.042Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T00:37:00.042Z] ---> Running in d7cfbae360bb [2022-07-22T00:37:00.318Z] Removing intermediate container d7cfbae360bb [2022-07-22T00:37:00.318Z] ---> b3ebd2634a63 [2022-07-22T00:37:00.318Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T00:37:00.591Z] ---> Running in dc4e82a249d6 [2022-07-22T00:37:02.573Z] Removing intermediate container dc4e82a249d6 [2022-07-22T00:37:02.573Z] ---> cb1ba385f791 [2022-07-22T00:37:02.573Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T00:37:02.573Z] ---> Running in 6b8f2bda647a [2022-07-22T00:37:03.170Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T00:37:04.613Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T00:37:05.617Z] OK: 221 MiB in 51 packages [2022-07-22T00:37:06.618Z] Removing intermediate container 6b8f2bda647a [2022-07-22T00:37:06.618Z] ---> 635c92792e32 [2022-07-22T00:37:06.618Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T00:37:06.618Z] ---> Running in 3aa78ff9d670 [2022-07-22T00:37:06.892Z] Removing intermediate container 3aa78ff9d670 [2022-07-22T00:37:06.892Z] ---> 3cc68ec05f8d [2022-07-22T00:37:06.892Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T00:37:07.488Z] ---> c8969c9ecbb9 [2022-07-22T00:37:07.488Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T00:37:07.488Z] ---> Running in 2885711a525f [2022-07-22T00:37:54.464Z] Removing intermediate container 2885711a525f [2022-07-22T00:37:54.464Z] ---> 6ab26540e8b7 [2022-07-22T00:37:54.464Z] Step 12/13 : COPY . . [2022-07-22T00:37:55.447Z] ---> 68f464f25d1e [2022-07-22T00:37:55.447Z] Step 13/13 : RUN ${MAKE} [2022-07-22T00:37:55.447Z] ---> Running in 393690c05aa2 [2022-07-22T00:37:56.425Z] noop [2022-07-22T00:37:57.411Z] Removing intermediate container 393690c05aa2 [2022-07-22T00:37:57.411Z] ---> 85d972d2afc2 [2022-07-22T00:37:57.411Z] Successfully built 85d972d2afc2 [2022-07-22T00:37:57.411Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:37:57.776Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T00:37:57.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:37:58.022Z] prd-ubuntu20.04-docker-arm64-4c-16g-20741 does not seem to be running inside a container [2022-07-22T00:37:58.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T00:37:59.351Z] $ docker top 9764c7df3dbb32f3f4797744f611dfe826b2dee306769a1754989d37b15eaf24 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T00:38:00.256Z] + go version [2022-07-22T00:38:00.256Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-22T00:38:00.282Z] $ docker stop --time=1 9764c7df3dbb32f3f4797744f611dfe826b2dee306769a1754989d37b15eaf24 [2022-07-22T00:38:01.948Z] $ docker rm -f 9764c7df3dbb32f3f4797744f611dfe826b2dee306769a1754989d37b15eaf24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:38:02.573Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T00:38:02.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:38:02.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-20741 does not seem to be running inside a container [2022-07-22T00:38:02.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T00:38:04.163Z] $ docker top c2f196dd85516cee2eab7a4015b2364ca254acbd36c4a441e7468c8324a446a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T00:38:05.087Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-07-22T00:38:05.757Z] + make test [2022-07-22T00:38:05.757Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T00:38:07.737Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T00:39:44.622Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T00:39:44.622Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.7% of statements [2022-07-22T00:39:44.622Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T00:40:06.850Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.352s coverage: 13.8% of statements [2022-07-22T00:40:06.850Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-22T00:40:06.850Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T00:40:29.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T00:40:29.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T00:40:29.345Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T00:40:32.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T00:40:32.782Z] $ docker stop --time=1 c2f196dd85516cee2eab7a4015b2364ca254acbd36c4a441e7468c8324a446a5 [2022-07-22T00:40:34.558Z] $ docker rm -f c2f196dd85516cee2eab7a4015b2364ca254acbd36c4a441e7468c8324a446a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T00:40:35.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T00:40:35.580Z] Warning: overwriting stash ‘coverage-report’ [2022-07-22T00:40:36.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T00:40:36.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T00:40:36.892Z] + ls -al . [2022-07-22T00:40:36.893Z] total 228 [2022-07-22T00:40:36.893Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 00:40 . [2022-07-22T00:40:36.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:35 .. [2022-07-22T00:40:36.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:36 .git [2022-07-22T00:40:36.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:36 .github [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 00:36 .gitignore [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 00:36 .golangci.yml [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 00:36 Attribution.txt [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 00:36 CHANGELOG.md [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 00:36 Dockerfile [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 00:36 GOVERNANCE.md [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 00:36 Jenkinsfile [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 00:36 LICENSE [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 00:36 Makefile [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 00:36 OWNERS.md [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 00:36 README.md [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 00:32 VERSION [2022-07-22T00:40:36.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:36 bin [2022-07-22T00:40:36.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:36 cmd [2022-07-22T00:40:36.893Z] -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 00:40 coverage.out [2022-07-22T00:40:36.893Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 00:36 doc [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 00:36 go.mod [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 00:36 go.sum [2022-07-22T00:40:36.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:36 internal [2022-07-22T00:40:36.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:36 snap [2022-07-22T00:40:36.893Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 00:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:40:37.248Z] + 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=8a70e82783519e9ed28501b2f01ff7d5bf3115b9 --label arch=arm64 --label version=0.0.0 . [2022-07-22T00:40:37.843Z] Sending build context to Docker daemon 13.76MB [2022-07-22T00:40:37.843Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T00:40:37.843Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T00:40:37.843Z] ---> 85d972d2afc2 [2022-07-22T00:40:37.843Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T00:40:38.117Z] ---> Running in ed82e52f3776 [2022-07-22T00:40:38.389Z] Removing intermediate container ed82e52f3776 [2022-07-22T00:40:38.389Z] ---> 4357129f0eef [2022-07-22T00:40:38.389Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T00:40:38.389Z] ---> Running in 111164de9450 [2022-07-22T00:40:38.662Z] Removing intermediate container 111164de9450 [2022-07-22T00:40:38.662Z] ---> 455dcf43e9ee [2022-07-22T00:40:38.662Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T00:40:38.662Z] ---> Running in 8da95601b53c [2022-07-22T00:40:38.938Z] Removing intermediate container 8da95601b53c [2022-07-22T00:40:38.938Z] ---> d0eddd5b331e [2022-07-22T00:40:38.938Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T00:40:39.217Z] ---> Running in 7a221fa4bce3 [2022-07-22T00:40:39.487Z] Removing intermediate container 7a221fa4bce3 [2022-07-22T00:40:39.487Z] ---> fa2a40e185a5 [2022-07-22T00:40:39.487Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T00:40:39.487Z] ---> Running in 94dd9024549a [2022-07-22T00:40:41.463Z] Removing intermediate container 94dd9024549a [2022-07-22T00:40:41.463Z] ---> 8c148e3874fa [2022-07-22T00:40:41.463Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T00:40:41.463Z] ---> Running in 77e76f0c7536 [2022-07-22T00:40:42.055Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T00:40:43.027Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T00:40:44.008Z] OK: 221 MiB in 51 packages [2022-07-22T00:40:44.989Z] Removing intermediate container 77e76f0c7536 [2022-07-22T00:40:44.989Z] ---> 8b255854ded7 [2022-07-22T00:40:44.989Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T00:40:44.989Z] ---> Running in 56f1cee408ed [2022-07-22T00:40:45.261Z] Removing intermediate container 56f1cee408ed [2022-07-22T00:40:45.261Z] ---> 1102cfee17d3 [2022-07-22T00:40:45.261Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T00:40:45.862Z] ---> 795d92539537 [2022-07-22T00:40:45.862Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T00:40:45.862Z] ---> Running in 824f8931240c [2022-07-22T00:40:47.836Z] Removing intermediate container 824f8931240c [2022-07-22T00:40:47.836Z] ---> f6c6380bf219 [2022-07-22T00:40:47.836Z] Step 12/26 : COPY . . [2022-07-22T00:40:49.270Z] ---> ca716f7dfa26 [2022-07-22T00:40:49.270Z] Step 13/26 : RUN ${MAKE} [2022-07-22T00:40:49.270Z] ---> Running in 3e17b3b348f6 [2022-07-22T00:40:50.246Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T00:43:12.122Z] Removing intermediate container 3e17b3b348f6 [2022-07-22T00:43:12.122Z] ---> 1f6b3017192e [2022-07-22T00:43:12.122Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T00:43:12.122Z] 3.15: Pulling from library/alpine [2022-07-22T00:43:12.122Z] e0295fd11fe2: Pulling fs layer [2022-07-22T00:43:12.122Z] e0295fd11fe2: Verifying Checksum [2022-07-22T00:43:12.122Z] e0295fd11fe2: Download complete [2022-07-22T00:43:12.122Z] e0295fd11fe2: Pull complete [2022-07-22T00:43:12.122Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T00:43:12.122Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T00:43:12.122Z] ---> 60f2846fe774 [2022-07-22T00:43:12.122Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T00:43:12.122Z] ---> Running in f41e3e0a089c [2022-07-22T00:43:12.122Z] Removing intermediate container f41e3e0a089c [2022-07-22T00:43:12.122Z] ---> 078309f55f70 [2022-07-22T00:43:12.122Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T00:43:12.122Z] ---> Running in 53a859d33116 [2022-07-22T00:43:12.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-22T00:43:12.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-22T00:43:12.122Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T00:43:12.122Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T00:43:12.122Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T00:43:12.122Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T00:43:12.122Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T00:43:12.122Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T00:43:12.122Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T00:43:12.122Z] OK: 8 MiB in 20 packages [2022-07-22T00:43:12.122Z] Removing intermediate container 53a859d33116 [2022-07-22T00:43:12.122Z] ---> c0e573219598 [2022-07-22T00:43:12.122Z] Step 17/26 : WORKDIR / [2022-07-22T00:43:12.122Z] ---> Running in eb6052537ff7 [2022-07-22T00:43:12.122Z] Removing intermediate container eb6052537ff7 [2022-07-22T00:43:12.122Z] ---> abd22b87c0b3 [2022-07-22T00:43:12.122Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T00:43:13.098Z] ---> e44bb111e76b [2022-07-22T00:43:13.098Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T00:43:13.694Z] ---> 0f18b220af46 [2022-07-22T00:43:13.694Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T00:43:14.292Z] ---> 5676eef78947 [2022-07-22T00:43:14.292Z] Step 21/26 : EXPOSE 59984 [2022-07-22T00:43:14.292Z] ---> Running in b83b98b3fcc8 [2022-07-22T00:43:14.573Z] Removing intermediate container b83b98b3fcc8 [2022-07-22T00:43:14.573Z] ---> cc4a7d75a6f0 [2022-07-22T00:43:14.573Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T00:43:14.845Z] ---> Running in 0289f0a59aa7 [2022-07-22T00:43:15.119Z] Removing intermediate container 0289f0a59aa7 [2022-07-22T00:43:15.119Z] ---> 55d8afe0e606 [2022-07-22T00:43:15.119Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T00:43:15.119Z] ---> Running in cffb8f502d94 [2022-07-22T00:43:15.390Z] Removing intermediate container cffb8f502d94 [2022-07-22T00:43:15.390Z] ---> fe81571d7abd [2022-07-22T00:43:15.390Z] Step 24/26 : LABEL arch=arm64 [2022-07-22T00:43:15.390Z] ---> Running in ab1eaed96f21 [2022-07-22T00:43:15.671Z] Removing intermediate container ab1eaed96f21 [2022-07-22T00:43:15.671Z] ---> 2e1b4ed91f5d [2022-07-22T00:43:15.671Z] Step 25/26 : LABEL git_sha=8a70e82783519e9ed28501b2f01ff7d5bf3115b9 [2022-07-22T00:43:15.946Z] ---> Running in af348999baa9 [2022-07-22T00:43:16.249Z] Removing intermediate container af348999baa9 [2022-07-22T00:43:16.249Z] ---> dfdc2dc1e81e [2022-07-22T00:43:16.249Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T00:43:16.249Z] ---> Running in 0781f6ab96f2 [2022-07-22T00:43:16.530Z] Removing intermediate container 0781f6ab96f2 [2022-07-22T00:43:16.530Z] ---> 6cfd04e92bdc [2022-07-22T00:43:16.530Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T00:43:16.530Z] Successfully built 6cfd04e92bdc [2022-07-22T00:43:16.530Z] 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 [2022-07-22T00:43:17.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T00:43:17.054Z] [2022-07-22T00:43:17.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:43:17.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T00:43:17.705Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-22T00:43:17.705Z] 8998bd30e6a1: Pulling fs layer [2022-07-22T00:43:17.705Z] 04944245beec: Pulling fs layer [2022-07-22T00:43:17.705Z] 699f458cf7ca: Pulling fs layer [2022-07-22T00:43:17.705Z] 765212b225bb: Pulling fs layer [2022-07-22T00:43:17.705Z] f23df028b6ca: Pulling fs layer [2022-07-22T00:43:17.705Z] d65c8cfc05b1: Pulling fs layer [2022-07-22T00:43:17.705Z] 2437ff75d9bd: Pulling fs layer [2022-07-22T00:43:17.705Z] 765212b225bb: Waiting [2022-07-22T00:43:17.705Z] f23df028b6ca: Waiting [2022-07-22T00:43:17.705Z] d65c8cfc05b1: Waiting [2022-07-22T00:43:17.705Z] 2437ff75d9bd: Waiting [2022-07-22T00:43:17.705Z] 04944245beec: Verifying Checksum [2022-07-22T00:43:17.705Z] 04944245beec: Download complete [2022-07-22T00:43:17.705Z] 765212b225bb: Download complete [2022-07-22T00:43:17.705Z] f23df028b6ca: Verifying Checksum [2022-07-22T00:43:17.705Z] f23df028b6ca: Download complete [2022-07-22T00:43:17.705Z] d65c8cfc05b1: Verifying Checksum [2022-07-22T00:43:17.705Z] d65c8cfc05b1: Download complete [2022-07-22T00:43:17.979Z] 699f458cf7ca: Verifying Checksum [2022-07-22T00:43:17.979Z] 699f458cf7ca: Download complete [2022-07-22T00:43:18.254Z] 8998bd30e6a1: Verifying Checksum [2022-07-22T00:43:18.254Z] 8998bd30e6a1: Download complete [2022-07-22T00:43:20.876Z] 2437ff75d9bd: Verifying Checksum [2022-07-22T00:43:20.876Z] 2437ff75d9bd: Download complete [2022-07-22T00:43:22.306Z] 8998bd30e6a1: Pull complete [2022-07-22T00:43:22.900Z] 04944245beec: Pull complete [2022-07-22T00:43:24.336Z] 699f458cf7ca: Pull complete [2022-07-22T00:43:24.608Z] 765212b225bb: Pull complete [2022-07-22T00:43:25.584Z] f23df028b6ca: Pull complete [2022-07-22T00:43:25.585Z] d65c8cfc05b1: Pull complete [2022-07-22T00:43:40.658Z] 2437ff75d9bd: Pull complete [2022-07-22T00:43:40.658Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-22T00:43:40.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T00:43:40.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:43:40.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-20741 does not seem to be running inside a container [2022-07-22T00:43:41.005Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-22T00:43:43.560Z] $ docker top 740b0211f75a86a2655803207adc25a945ef4b4c760667d81560a7af384c6ade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:44.479Z] ---> job-cost.sh [2022-07-22T00:43:44.479Z] lf-activate-venv: SKIPPING [2022-07-22T00:43:44.479Z] INFO: No Stack... [2022-07-22T00:43:45.071Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-22T00:43:45.663Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T00:43:46.327Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-07-22T00:43:46.328Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T00:43:46.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [2022-07-22T00:43:46.364Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] did not exist. Created. [2022-07-22T00:43:46.364Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T00:43:47.035Z] /w/workspace/device-onvif-camera/4@tmp/durable-5a882068/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-22T00:43:47.707Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-22T00:43:47.734Z] Warning: overwriting stash ‘stack-cost’ [2022-07-22T00:43:47.789Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T00:43:47.796Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T00:43:47.818Z] $ docker stop --time=1 740b0211f75a86a2655803207adc25a945ef4b4c760667d81560a7af384c6ade [2022-07-22T00:43:49.330Z] $ docker rm -f 740b0211f75a86a2655803207adc25a945ef4b4c760667d81560a7af384c6ade [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 [2022-07-22T00:43:49.761Z] provisioning config files... [2022-07-22T00:43:49.771Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config7983113774728851019tmp [Pipeline] { [Pipeline] sh [2022-07-22T00:43:50.073Z] + set +x [2022-07-22T00:43:50.073Z] + curl -s https://codecov.io/bash [2022-07-22T00:43:50.073Z] + bash -s -- [2022-07-22T00:43:50.073Z] [2022-07-22T00:43:50.073Z] _____ _ [2022-07-22T00:43:50.073Z] / ____| | | [2022-07-22T00:43:50.073Z] | | ___ __| | ___ ___ _____ __ [2022-07-22T00:43:50.073Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-22T00:43:50.073Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-22T00:43:50.073Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-22T00:43:50.073Z] Bash-1.0.6 [2022-07-22T00:43:50.073Z] [2022-07-22T00:43:50.073Z] [2022-07-22T00:43:50.073Z] ==> git version 2.25.1 found [2022-07-22T00:43:50.073Z] ==> 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 [2022-07-22T00:43:50.073Z] Release-Date: 2020-01-08 [2022-07-22T00:43:50.073Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-22T00:43:50.073Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-22T00:43:50.073Z] ==> Jenkins CI detected. [2022-07-22T00:43:50.073Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-115 [2022-07-22T00:43:50.073Z] project root: . [2022-07-22T00:43:50.073Z] --> token set from env [2022-07-22T00:43:50.073Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-22T00:43:50.073Z] ==> Running gcov in . (disable via -X gcov) [2022-07-22T00:43:50.073Z] ==> Python coveragepy not found [2022-07-22T00:43:50.073Z] ==> Searching for coverage reports in: [2022-07-22T00:43:50.073Z] + . [2022-07-22T00:43:50.073Z] -> Found 1 reports [2022-07-22T00:43:50.073Z] ==> Detecting git/mercurial file structure [2022-07-22T00:43:50.073Z] ==> Reading reports [2022-07-22T00:43:50.073Z] + ./coverage.out bytes=76665 [2022-07-22T00:43:50.073Z] ==> Appending adjustments [2022-07-22T00:43:50.073Z] https://docs.codecov.io/docs/fixing-reports [2022-07-22T00:43:50.333Z] + Found adjustments [2022-07-22T00:43:50.333Z] ==> Gzipping contents [2022-07-22T00:43:50.333Z] 12K /tmp/codecov.a1MmGB.gz [2022-07-22T00:43:50.333Z] ==> Uploading reports [2022-07-22T00:43:50.333Z] url: https://codecov.io [2022-07-22T00:43:50.333Z] query: branch=PR-115&commit=bf12ad469762d34459b58fdc80dac18158894479&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-22T00:43:50.333Z] -> Pinging Codecov [2022-07-22T00:43:50.333Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-115&commit=bf12ad469762d34459b58fdc80dac18158894479&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-22T00:43:50.594Z] -> Uploading to [2022-07-22T00:43:50.594Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/bf12ad469762d34459b58fdc80dac18158894479/16ba3591-c08f-4974-883b-cc4964341abf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T004350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c67a3584f748f368206aabe8bbba1e4459a698845fe71095c653bb47fb58af68 [2022-07-22T00:43:50.594Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T00:43:50.594Z] Dload Upload Total Spent Left Speed [2022-07-22T00:43:50.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10352 0 0 100 10352 0 50995 --:--:-- --:--:-- --:--:-- 50745 100 10352 0 0 100 10352 0 42253 --:--:-- --:--:-- --:--:-- 42253 [2022-07-22T00:43:50.854Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/bf12ad469762d34459b58fdc80dac18158894479 [Pipeline] } [2022-07-22T00:43:50.862Z] 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 [2022-07-22T00:43:51.529Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-115/archives ] [2022-07-22T00:43:51.529Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T00:43:51.529Z] total 16 [2022-07-22T00:43:51.529Z] drwxr-xr-x 3 root root 4096 Jul 22 00:34 . [2022-07-22T00:43:51.529Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 00:34 .. [2022-07-22T00:43:51.529Z] drwxr-xr-x 2 root root 4096 Jul 22 00:34 cost [2022-07-22T00:43:51.529Z] -rw-r--r-- 1 root root 90 Jul 22 00:34 cost.csv [2022-07-22T00:43:51.529Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T00:43:51.529Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-22T00:43:51.529Z] total 16 [2022-07-22T00:43:51.529Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 00:34 . [2022-07-22T00:43:51.529Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 00:34 .. [2022-07-22T00:43:51.529Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 00:34 cost [2022-07-22T00:43:51.529Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 22 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:51.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:52.679Z] ---> package-listing.sh [2022-07-22T00:43:52.679Z] ++ facter osfamily [2022-07-22T00:43:52.679Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-22T00:43:52.939Z] + OS_FAMILY=debian [2022-07-22T00:43:52.939Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-115 [2022-07-22T00:43:52.939Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-22T00:43:52.939Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-22T00:43:52.939Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-22T00:43:52.939Z] + PACKAGES=/tmp/packages_start.txt [2022-07-22T00:43:52.939Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-22T00:43:52.939Z] + PACKAGES=/tmp/packages_end.txt [2022-07-22T00:43:52.939Z] + case "${OS_FAMILY}" in [2022-07-22T00:43:52.939Z] + dpkg -l [2022-07-22T00:43:52.939Z] + grep '^ii' [2022-07-22T00:43:52.939Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-22T00:43:52.939Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-22T00:43:52.939Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-22T00:43:52.939Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-22T00:43:52.939Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-115/archives/ [2022-07-22T00:43:52.939Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-115/archives/ [Pipeline] echo [2022-07-22T00:43:52.951Z] 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-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-22T00:43:53.240Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T00:43:53.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T00:43:53.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T00:43:53.895Z] prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container [2022-07-22T00:43:53.934Z] $ 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-115/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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T00:43:54.180Z] $ docker top aa44752c70efce0c749b86cf0720c2ef49ba2017b78ae3fbf86965dfbdc12928 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T00:43:54.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-22T00:43:54.831Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-22T00:43:55.119Z] + ls /var/log/sa-host [2022-07-22T00:43:55.119Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T00:43:55.194Z] provisioning config files... [2022-07-22T00:43:55.203Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config5505155440677627887tmp [Pipeline] { [Pipeline] echo [2022-07-22T00:43:55.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:55.500Z] ---> create-netrc.sh [Pipeline] } [2022-07-22T00:43:55.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:55.840Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-22T00:43:55.848Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:56.131Z] ---> sudo-logs.sh [2022-07-22T00:43:56.131Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-22T00:43:56.158Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:56.458Z] ---> job-cost.sh [2022-07-22T00:43:56.458Z] lf-activate-venv: SKIPPING [2022-07-22T00:43:56.458Z] DEBUG: total: 0.2199999988079071 [2022-07-22T00:43:56.458Z] INFO: Retrieving Stack Cost... [2022-07-22T00:43:57.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T00:43:57.288Z] INFO: Archiving Costs [Pipeline] echo [2022-07-22T00:43:57.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T00:43:57.582Z] ---> logs-deploy.sh [2022-07-22T00:43:57.582Z] lf-activate-venv: SKIPPING [2022-07-22T00:43:57.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-115/4 [2022-07-22T00:43:57.582Z] INFO: archiving workspace using pattern(s): [2022-07-22T00:43:58.522Z] Archives upload complete. [2022-07-22T00:43:58.522Z] INFO: archiving logs to Nexus