Pull request #255 event 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 vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f65ca887385793521c5f561c8b8ec0758ab43644 rather than 49099016006d3ca65e66c2d27a6ca8b5f9052e4b Obtained Jenkinsfile from f65ca887385793521c5f561c8b8ec0758ab43644 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-ssh12153484919322419995.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1091465754435939387.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-255/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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14075324982478638596.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3963188811763337425.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-255/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-255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16055848839897023910.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8826 in /w/workspace/undry_device-onvif-camera_PR-255 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-255 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f65ca887385793521c5f561c8b8ec0758ab43644 into PR head commit 49099016006d3ca65e66c2d27a6ca8b5f9052e4b Merge succeeded, producing 9554d40eb5f55f132d434f72283da95ee4858514 Checking out Revision 9554d40eb5f55f132d434f72283da95ee4858514 (PR-255) > git config core.sparsecheckout # timeout=10 > git checkout -f 49099016006d3ca65e66c2d27a6ca8b5f9052e4b # 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 f65ca887385793521c5f561c8b8ec0758ab43644 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9554d40eb5f55f132d434f72283da95ee4858514 # timeout=10 Commit message: "Merge commit 'f65ca887385793521c5f561c8b8ec0758ab43644' into HEAD" > git rev-list --no-walk 49099016006d3ca65e66c2d27a6ca8b5f9052e4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T16:42:20.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T16:42:20.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T16:42:20.517Z] ========================================================= [2023-03-08T16:42:20.517Z] EdgeX Global Pipelines Version Info [2023-03-08T16:42:20.517Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:42:21.232Z] ------------------- [2023-03-08T16:42:21.232Z] stable info: [2023-03-08T16:42:21.232Z] ------------------- [2023-03-08T16:42:21.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T16:42:21.232Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T16:42:21.232Z] Message: update stable to v1.0.244 [2023-03-08T16:42:21.800Z] ------------------- [2023-03-08T16:42:21.800Z] experimental info: [2023-03-08T16:42:21.800Z] ------------------- [2023-03-08T16:42:21.800Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T16:42:21.800Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T16:42:21.800Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T16:42:21.969Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-08T16:42:21.986Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-08T16:42:22.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T16:42:22.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T16:42:22.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T16:42:22.042Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T16:42:22.061Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T16:42:22.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T16:42:22.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T16:42:22.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T16:42:22.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T16:42:22.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-08T16:42:22.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T16:42:22.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T16:42:22.188Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T16:42:22.204Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T16:42:22.217Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T16:42:22.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T16:42:22.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T16:42:22.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T16:42:22.295Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T16:42:22.313Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-08T16:42:22.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T16:42:22.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T16:42:22.378Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T16:42:22.396Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T16:42:22.417Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T16:42:22.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-255 [Pipeline] echo [2023-03-08T16:42:22.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-255 [Pipeline] echo [2023-03-08T16:42:22.460Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-255 [Pipeline] echo [2023-03-08T16:42:22.474Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9554d40eb5f55f132d434f72283da95ee4858514 [Pipeline] echo [2023-03-08T16:42:22.486Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9554d40 [Pipeline] echo [2023-03-08T16:42:22.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:42:22.550Z] provisioning config files... [2023-03-08T16:42:22.562Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-255@tmp/config12246960004691584551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:42:22.870Z] ---> docker-login.sh [2023-03-08T16:42:22.870Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:42:23.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:23.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:23.129Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:23.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:23.129Z] [2023-03-08T16:42:23.129Z] Login Succeeded [2023-03-08T16:42:23.129Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:42:23.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:23.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:23.388Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:23.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:23.388Z] [2023-03-08T16:42:23.388Z] Login Succeeded [2023-03-08T16:42:23.388Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:42:23.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:23.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:23.388Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:23.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:23.388Z] [2023-03-08T16:42:23.388Z] Login Succeeded [2023-03-08T16:42:23.388Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:42:23.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:23.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:23.648Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:23.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:23.648Z] [2023-03-08T16:42:23.648Z] Login Succeeded [2023-03-08T16:42:23.648Z] docker.io [2023-03-08T16:42:23.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:23.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:23.908Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:23.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:23.908Z] [2023-03-08T16:42:23.908Z] Login Succeeded [2023-03-08T16:42:23.908Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:42:23.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T16:42:24.323Z] + git rev-list -1 --merges 9554d40eb5f55f132d434f72283da95ee4858514~1..9554d40eb5f55f132d434f72283da95ee4858514 [Pipeline] echo [2023-03-08T16:42:24.372Z] -----------> git rev-list -1 --merges 9554d40eb5f55f132d434f72283da95ee4858514~1..9554d40eb5f55f132d434f72283da95ee4858514 9554d40eb5f55f132d434f72283da95ee4858514 [2023-03-08T16:42:24.372Z] 9554d40eb5f55f132d434f72283da95ee4858514 [false] [Pipeline] sh [2023-03-08T16:42:24.659Z] + git log --format=format:%s -1 9554d40eb5f55f132d434f72283da95ee4858514 [Pipeline] echo [2023-03-08T16:42:24.676Z] ========================================================= [2023-03-08T16:42:24.676Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T16:42:24.676Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:42:25.023Z] + git log --format=format:%s -1 9554d40eb5f55f132d434f72283da95ee4858514 [Pipeline] echo [2023-03-08T16:42:25.036Z] [semverPrep] GIT_COMMIT: 9554d40eb5f55f132d434f72283da95ee4858514, Commit Message: Merge commit 'f65ca887385793521c5f561c8b8ec0758ab43644' into HEAD [Pipeline] echo [2023-03-08T16:42:25.051Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T16:42:25.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T16:42:25.430Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T16:42:25.430Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T16:42:25.430Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T16:42:25.430Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T16:42:25.430Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T16:42:25.430Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:42:25.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:42:25.861Z] [2023-03-08T16:42:25.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:42:26.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:42:26.168Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T16:42:26.168Z] b85a868b505f: Pulling fs layer [2023-03-08T16:42:26.168Z] e2be974225ed: Pulling fs layer [2023-03-08T16:42:26.168Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T16:42:26.168Z] 988bab9f4d93: Pulling fs layer [2023-03-08T16:42:26.168Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T16:42:26.168Z] eaf3925da568: Pulling fs layer [2023-03-08T16:42:26.168Z] bab4dde63d76: Pulling fs layer [2023-03-08T16:42:26.168Z] bde34c3a00c8: Pulling fs layer [2023-03-08T16:42:26.168Z] b352a97aabf1: Pulling fs layer [2023-03-08T16:42:26.168Z] 4872d77fe225: Pulling fs layer [2023-03-08T16:42:26.168Z] 5851b861e8e6: Pulling fs layer [2023-03-08T16:42:26.168Z] 988bab9f4d93: Waiting [2023-03-08T16:42:26.168Z] 1469e6f7b9e6: Waiting [2023-03-08T16:42:26.168Z] eaf3925da568: Waiting [2023-03-08T16:42:26.168Z] 4872d77fe225: Waiting [2023-03-08T16:42:26.168Z] 5851b861e8e6: Waiting [2023-03-08T16:42:26.168Z] bab4dde63d76: Waiting [2023-03-08T16:42:26.168Z] b352a97aabf1: Waiting [2023-03-08T16:42:26.168Z] bde34c3a00c8: Waiting [2023-03-08T16:42:26.168Z] e2be974225ed: Verifying Checksum [2023-03-08T16:42:26.168Z] e2be974225ed: Download complete [2023-03-08T16:42:26.168Z] 988bab9f4d93: Verifying Checksum [2023-03-08T16:42:26.168Z] 988bab9f4d93: Download complete [2023-03-08T16:42:26.431Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T16:42:26.431Z] 1469e6f7b9e6: Download complete [2023-03-08T16:42:26.431Z] eaf3925da568: Verifying Checksum [2023-03-08T16:42:26.431Z] eaf3925da568: Download complete [2023-03-08T16:42:26.431Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T16:42:26.431Z] 339a4e72a1f5: Download complete [2023-03-08T16:42:26.431Z] bde34c3a00c8: Download complete [2023-03-08T16:42:26.431Z] b352a97aabf1: Verifying Checksum [2023-03-08T16:42:26.431Z] b352a97aabf1: Download complete [2023-03-08T16:42:26.431Z] 4872d77fe225: Verifying Checksum [2023-03-08T16:42:26.431Z] 4872d77fe225: Download complete [2023-03-08T16:42:26.431Z] 5851b861e8e6: Verifying Checksum [2023-03-08T16:42:26.431Z] 5851b861e8e6: Download complete [2023-03-08T16:42:26.431Z] b85a868b505f: Verifying Checksum [2023-03-08T16:42:26.431Z] b85a868b505f: Download complete [2023-03-08T16:42:26.691Z] bab4dde63d76: Verifying Checksum [2023-03-08T16:42:26.691Z] bab4dde63d76: Download complete [2023-03-08T16:42:27.629Z] b85a868b505f: Pull complete [2023-03-08T16:42:27.888Z] e2be974225ed: Pull complete [2023-03-08T16:42:28.457Z] 339a4e72a1f5: Pull complete [2023-03-08T16:42:28.457Z] 988bab9f4d93: Pull complete [2023-03-08T16:42:28.716Z] 1469e6f7b9e6: Pull complete [2023-03-08T16:42:28.716Z] eaf3925da568: Pull complete [2023-03-08T16:42:30.625Z] bab4dde63d76: Pull complete [2023-03-08T16:42:30.626Z] bde34c3a00c8: Pull complete [2023-03-08T16:42:30.626Z] b352a97aabf1: Pull complete [2023-03-08T16:42:30.626Z] 4872d77fe225: Pull complete [2023-03-08T16:42:30.885Z] 5851b861e8e6: Pull complete [2023-03-08T16:42:30.885Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T16:42:30.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:42:30.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:42:30.983Z] prd-ubuntu20.04-docker-8c-8g-8826 does not seem to be running inside a container [2023-03-08T16:42:31.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-255 -v /w/workspace/undry_device-onvif-camera_PR-255:/w/workspace/undry_device-onvif-camera_PR-255:rw,z -v /w/workspace/undry_device-onvif-camera_PR-255@tmp:/w/workspace/undry_device-onvif-camera_PR-255@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 [2023-03-08T16:42:32.426Z] $ docker top 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T16:42:32.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T16:42:32.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T16:42:32.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T16:42:32.674Z] $ docker exec 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 ssh-agent [2023-03-08T16:42:32.780Z] SSH_AUTH_SOCK=/tmp/ssh-rVSu9eZompBT/agent.31 [2023-03-08T16:42:32.780Z] SSH_AGENT_PID=37 [2023-03-08T16:42:32.797Z] Running ssh-add (command line suppressed) [2023-03-08T16:42:32.904Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-255@tmp/private_key_13073939033395854844.key (/w/workspace/undry_device-onvif-camera_PR-255@tmp/private_key_13073939033395854844.key) [2023-03-08T16:42:32.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T16:42:33.206Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T16:42:33.225Z] $ docker exec --env ******** --env ******** 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 ssh-agent -k [2023-03-08T16:42:33.328Z] unset SSH_AUTH_SOCK; [2023-03-08T16:42:33.329Z] unset SSH_AGENT_PID; [2023-03-08T16:42:33.329Z] echo Agent pid 37 killed; [2023-03-08T16:42:33.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T16:42:33.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T16:42:33.356Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T16:42:33.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T16:42:33.486Z] $ docker exec 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 ssh-agent [2023-03-08T16:42:33.603Z] SSH_AUTH_SOCK=/tmp/ssh-nKeQgHyAgAwv/agent.69 [2023-03-08T16:42:33.603Z] SSH_AGENT_PID=75 [2023-03-08T16:42:33.607Z] Running ssh-add (command line suppressed) [2023-03-08T16:42:33.717Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-255@tmp/private_key_12356852352641799907.key (/w/workspace/undry_device-onvif-camera_PR-255@tmp/private_key_12356852352641799907.key) [2023-03-08T16:42:33.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T16:42:34.019Z] + git semver init [2023-03-08T16:42:34.279Z] 2023-03-08 16:42:34,266 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T16:42:34.279Z] 2023-03-08 16:42:34,267 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-255/.semver [2023-03-08T16:42:34.279Z] 2023-03-08 16:42:34,267 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-255/.semver [2023-03-08T16:42:34.279Z] 2023-03-08 16:42:34,267 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-255/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-255, universal_newlines=False, shell=None, istream=None) [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,201 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-255/.git/info/exclude [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-255/.semver/PR-255 with force:False [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,202 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-255/.semver/PR-255 [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,204 [execute] INFO git cat-file --batch-check [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,210 [execute] INFO git cat-file --batch [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T16:42:35.215Z] 2023-03-08 16:42:35,216 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-255/.semver/PR-255 [2023-03-08T16:42:35.215Z] 0.0.0 [Pipeline] } [2023-03-08T16:42:35.488Z] $ docker exec --env ******** --env ******** 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 ssh-agent -k [2023-03-08T16:42:35.594Z] unset SSH_AUTH_SOCK; [2023-03-08T16:42:35.594Z] unset SSH_AGENT_PID; [2023-03-08T16:42:35.594Z] echo Agent pid 75 killed; [2023-03-08T16:42:35.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T16:42:35.914Z] + git semver [Pipeline] } [2023-03-08T16:42:36.190Z] $ docker stop --time=1 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 [2023-03-08T16:42:37.505Z] $ docker rm -f --volumes 264fbf3670661b9f1b1e32602a71545380d7e6240e72e584b114eb3055c24966 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:42:37.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T16:42:38.073Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T16:42:38.076Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:42:38.253Z] provisioning config files... [2023-03-08T16:42:38.262Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-255@tmp/config12619379066378853661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:42:38.556Z] ---> docker-login.sh [2023-03-08T16:42:38.556Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:42:38.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:38.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:38.556Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:38.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:38.556Z] [2023-03-08T16:42:38.556Z] Login Succeeded [2023-03-08T16:42:38.556Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:42:38.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:38.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:38.556Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:38.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:38.556Z] [2023-03-08T16:42:38.556Z] Login Succeeded [2023-03-08T16:42:38.556Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:42:38.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:38.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:38.814Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:38.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:38.814Z] [2023-03-08T16:42:38.814Z] Login Succeeded [2023-03-08T16:42:38.814Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:42:38.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:38.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:38.814Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:38.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:38.814Z] [2023-03-08T16:42:38.814Z] Login Succeeded [2023-03-08T16:42:38.814Z] docker.io [2023-03-08T16:42:39.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:42:39.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:42:39.332Z] Configure a credential helper to remove this warning. See [2023-03-08T16:42:39.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:42:39.332Z] [2023-03-08T16:42:39.332Z] Login Succeeded [2023-03-08T16:42:39.332Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:42:39.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T16:42:39.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:42:39.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:42:39.504Z] ========================================================= [2023-03-08T16:42:39.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T16:42:39.504Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:42:39.811Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T16:42:39.811Z] Sending build context to Docker daemon 27.88MB [2023-03-08T16:42:39.811Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:42:39.811Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-08T16:42:40.072Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T16:42:40.072Z] 213ec9aee27d: Pulling fs layer [2023-03-08T16:42:40.072Z] 4583459ba037: Pulling fs layer [2023-03-08T16:42:40.072Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T16:42:40.072Z] 53926ce57604: Pulling fs layer [2023-03-08T16:42:40.072Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T16:42:40.072Z] 22ff95d597cd: Pulling fs layer [2023-03-08T16:42:40.072Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T16:42:40.072Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T16:42:40.072Z] a7acece74701: Pulling fs layer [2023-03-08T16:42:40.072Z] 53926ce57604: Waiting [2023-03-08T16:42:40.072Z] 21b2b0c7a3f4: Waiting [2023-03-08T16:42:40.072Z] 22ff95d597cd: Waiting [2023-03-08T16:42:40.072Z] 12d6caf4c0d1: Waiting [2023-03-08T16:42:40.072Z] 96b7cbca73a9: Waiting [2023-03-08T16:42:40.072Z] a7acece74701: Waiting [2023-03-08T16:42:40.072Z] 93c1e223e6f2: Download complete [2023-03-08T16:42:40.072Z] 4583459ba037: Verifying Checksum [2023-03-08T16:42:40.072Z] 4583459ba037: Download complete [2023-03-08T16:42:40.072Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T16:42:40.072Z] 21b2b0c7a3f4: Download complete [2023-03-08T16:42:40.072Z] 22ff95d597cd: Verifying Checksum [2023-03-08T16:42:40.072Z] 22ff95d597cd: Download complete [2023-03-08T16:42:40.072Z] 213ec9aee27d: Verifying Checksum [2023-03-08T16:42:40.072Z] 213ec9aee27d: Download complete [2023-03-08T16:42:40.338Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T16:42:40.338Z] 12d6caf4c0d1: Download complete [2023-03-08T16:42:40.338Z] 213ec9aee27d: Pull complete [2023-03-08T16:42:40.599Z] 4583459ba037: Pull complete [2023-03-08T16:42:40.599Z] 93c1e223e6f2: Pull complete [2023-03-08T16:42:40.600Z] a7acece74701: Verifying Checksum [2023-03-08T16:42:40.600Z] a7acece74701: Download complete [2023-03-08T16:42:40.860Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T16:42:40.860Z] 96b7cbca73a9: Download complete [2023-03-08T16:42:41.118Z] 53926ce57604: Verifying Checksum [2023-03-08T16:42:41.118Z] 53926ce57604: Download complete [2023-03-08T16:42:45.303Z] 53926ce57604: Pull complete [2023-03-08T16:42:45.303Z] 21b2b0c7a3f4: Pull complete [2023-03-08T16:42:45.303Z] 22ff95d597cd: Pull complete [2023-03-08T16:42:45.303Z] 12d6caf4c0d1: Pull complete [2023-03-08T16:42:47.836Z] 96b7cbca73a9: Pull complete [2023-03-08T16:42:48.409Z] a7acece74701: Pull complete [2023-03-08T16:42:48.409Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T16:42:48.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T16:42:48.409Z] ---> db6d94c90886 [2023-03-08T16:42:48.409Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-08T16:42:50.315Z] ---> Running in 0a0912d6fba6 [2023-03-08T16:42:50.315Z] Removing intermediate container 0a0912d6fba6 [2023-03-08T16:42:50.315Z] ---> 0d85b5309aa4 [2023-03-08T16:42:50.315Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T16:42:50.315Z] ---> Running in d2e752d5f137 [2023-03-08T16:42:50.315Z] Removing intermediate container d2e752d5f137 [2023-03-08T16:42:50.315Z] ---> 86a9cfb13835 [2023-03-08T16:42:50.315Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-08T16:42:50.315Z] ---> Running in 527474b05eb6 [2023-03-08T16:42:50.575Z] Removing intermediate container 527474b05eb6 [2023-03-08T16:42:50.575Z] ---> cb227f948e12 [2023-03-08T16:42:50.575Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T16:42:50.575Z] ---> Running in 2739d6e8b8de [2023-03-08T16:42:50.575Z] Removing intermediate container 2739d6e8b8de [2023-03-08T16:42:50.575Z] ---> 2d701398c992 [2023-03-08T16:42:50.575Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-08T16:42:50.575Z] ---> Running in 284a803aa925 [2023-03-08T16:42:50.837Z] Removing intermediate container 284a803aa925 [2023-03-08T16:42:50.837Z] ---> 7a5e7d3fc895 [2023-03-08T16:42:50.837Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T16:42:50.837Z] ---> Running in 6928ceb39486 [2023-03-08T16:42:51.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:42:51.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:42:51.612Z] OK: 211 MiB in 51 packages [2023-03-08T16:42:51.870Z] Removing intermediate container 6928ceb39486 [2023-03-08T16:42:51.870Z] ---> 5a1f779a7867 [2023-03-08T16:42:51.870Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-08T16:42:51.870Z] ---> Running in 505c473803ba [2023-03-08T16:42:52.129Z] Removing intermediate container 505c473803ba [2023-03-08T16:42:52.129Z] ---> 36a61024d909 [2023-03-08T16:42:52.129Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-08T16:42:52.129Z] ---> f225af0a8e7b [2023-03-08T16:42:52.129Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:42:52.129Z] ---> Running in c295dc2900ea [2023-03-08T16:42:53.195Z] Still waiting to schedule task [2023-03-08T16:42:53.195Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-08T16:43:24.196Z] Removing intermediate container c295dc2900ea [2023-03-08T16:43:24.196Z] ---> 4dbd91e86cc4 [2023-03-08T16:43:24.196Z] Step 12/13 : COPY . . [2023-03-08T16:43:24.196Z] ---> 5715bf3883bb [2023-03-08T16:43:24.196Z] Step 13/13 : RUN ${MAKE} [2023-03-08T16:43:24.196Z] ---> Running in 9a3fb527efec [2023-03-08T16:43:24.196Z] noop [2023-03-08T16:43:24.196Z] Removing intermediate container 9a3fb527efec [2023-03-08T16:43:24.196Z] ---> e5858f0f9929 [2023-03-08T16:43:24.196Z] Successfully built e5858f0f9929 [2023-03-08T16:43:24.196Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:43:24.499Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T16:43:24.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:43:24.566Z] prd-ubuntu20.04-docker-8c-8g-8826 does not seem to be running inside a container [2023-03-08T16:43:24.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-255 -v /w/workspace/undry_device-onvif-camera_PR-255:/w/workspace/undry_device-onvif-camera_PR-255:rw,z -v /w/workspace/undry_device-onvif-camera_PR-255@tmp:/w/workspace/undry_device-onvif-camera_PR-255@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 [2023-03-08T16:43:24.950Z] $ docker top 50ef76722d3291ddaa3c04b3c065ea57709415fa37991538047fe25330990f3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:43:25.298Z] + go version [2023-03-08T16:43:25.298Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T16:43:25.312Z] $ docker stop --time=1 50ef76722d3291ddaa3c04b3c065ea57709415fa37991538047fe25330990f3e [2023-03-08T16:43:26.591Z] $ docker rm -f --volumes 50ef76722d3291ddaa3c04b3c065ea57709415fa37991538047fe25330990f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:43:26.996Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T16:43:26.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:43:27.065Z] prd-ubuntu20.04-docker-8c-8g-8826 does not seem to be running inside a container [2023-03-08T16:43:27.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-255 -v /w/workspace/undry_device-onvif-camera_PR-255:/w/workspace/undry_device-onvif-camera_PR-255:rw,z -v /w/workspace/undry_device-onvif-camera_PR-255@tmp:/w/workspace/undry_device-onvif-camera_PR-255@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 [2023-03-08T16:43:27.466Z] $ docker top bb65a877b79ab59d8efcce6500330734c99ca83bb0108088a96d63dce9405f48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:43:27.809Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-255 [Pipeline] fileExists [Pipeline] sh [2023-03-08T16:43:28.105Z] + make test [2023-03-08T16:43:28.105Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T16:43:28.670Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-08T16:43:40.873Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-08T16:43:42.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 30.5% of statements [2023-03-08T16:43:42.770Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-08T16:43:42.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.789s coverage: 86.5% of statements [2023-03-08T16:43:50.878Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-08T16:43:50.878Z] go vet ./... [2023-03-08T16:43:54.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T16:43:54.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T16:43:54.155Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T16:43:54.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T16:43:54.185Z] $ docker stop --time=1 bb65a877b79ab59d8efcce6500330734c99ca83bb0108088a96d63dce9405f48 [2023-03-08T16:43:55.893Z] $ docker rm -f --volumes bb65a877b79ab59d8efcce6500330734c99ca83bb0108088a96d63dce9405f48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:43:56.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T16:43:56.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T16:43:56.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T16:43:57.251Z] + ls -al . [2023-03-08T16:43:57.251Z] total 232 [2023-03-08T16:43:57.251Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 16:43 . [2023-03-08T16:43:57.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:42 .. [2023-03-08T16:43:57.251Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 16:43 .git [2023-03-08T16:43:57.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:42 .github [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 8 16:42 .gitignore [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 16:42 .golangci.yml [2023-03-08T16:43:57.251Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 16:42 .semver [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 8 16:42 Attribution.txt [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 8 16:42 CHANGELOG.md [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 8 16:42 Dockerfile [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 16:42 GOVERNANCE.md [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 8 16:42 Jenkinsfile [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 8 16:42 LICENSE [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 8 16:42 Makefile [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 8 16:42 OWNERS.md [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 8 16:42 README.md [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 16:42 VERSION [2023-03-08T16:43:57.251Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:42 bin [2023-03-08T16:43:57.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:42 cmd [2023-03-08T16:43:57.251Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 8 16:43 coverage.out [2023-03-08T16:43:57.251Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 16:42 doc [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 8 16:42 go.mod [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 8 16:42 go.sum [2023-03-08T16:43:57.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:42 internal [2023-03-08T16:43:57.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:42 snap [2023-03-08T16:43:57.251Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 8 16:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:43:57.557Z] + 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=9554d40eb5f55f132d434f72283da95ee4858514 --label arch=amd64 --label version=0.0.0 . [2023-03-08T16:43:57.557Z] Sending build context to Docker daemon 27.96MB [2023-03-08T16:43:57.557Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:43:57.557Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-08T16:43:57.557Z] ---> e5858f0f9929 [2023-03-08T16:43:57.557Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-08T16:43:57.816Z] ---> Running in 1f072cf85da2 [2023-03-08T16:43:57.816Z] Removing intermediate container 1f072cf85da2 [2023-03-08T16:43:57.816Z] ---> 1ad64e9b5d98 [2023-03-08T16:43:57.816Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T16:43:58.074Z] ---> Running in 6ffafb5205f5 [2023-03-08T16:43:58.074Z] Removing intermediate container 6ffafb5205f5 [2023-03-08T16:43:58.074Z] ---> 707a1f1b578a [2023-03-08T16:43:58.074Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-08T16:43:58.074Z] ---> Running in 6866e956b64a [2023-03-08T16:43:58.332Z] Removing intermediate container 6866e956b64a [2023-03-08T16:43:58.332Z] ---> 1f3914fbe7a0 [2023-03-08T16:43:58.332Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T16:43:58.332Z] ---> Running in 1f4c1fd7dd13 [2023-03-08T16:43:58.332Z] Removing intermediate container 1f4c1fd7dd13 [2023-03-08T16:43:58.332Z] ---> 63cd9d4f9b95 [2023-03-08T16:43:58.332Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-08T16:43:58.332Z] ---> Running in d392ed4068a8 [2023-03-08T16:43:58.332Z] Removing intermediate container d392ed4068a8 [2023-03-08T16:43:58.332Z] ---> 94a584ab2203 [2023-03-08T16:43:58.332Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T16:43:58.592Z] ---> Running in c94bdf45b04d [2023-03-08T16:43:58.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:43:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:43:59.367Z] OK: 211 MiB in 51 packages [2023-03-08T16:43:59.626Z] Removing intermediate container c94bdf45b04d [2023-03-08T16:43:59.626Z] ---> b215513af467 [2023-03-08T16:43:59.626Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-08T16:43:59.626Z] ---> Running in 1babf8a9435f [2023-03-08T16:43:59.883Z] Removing intermediate container 1babf8a9435f [2023-03-08T16:43:59.883Z] ---> 30d02f5048f1 [2023-03-08T16:43:59.883Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-08T16:43:59.883Z] ---> 3a310abae4a0 [2023-03-08T16:43:59.883Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:43:59.883Z] ---> Running in 72f34f9364ef [2023-03-08T16:44:00.818Z] Removing intermediate container 72f34f9364ef [2023-03-08T16:44:00.818Z] ---> 68f71f22f2f2 [2023-03-08T16:44:00.818Z] Step 12/26 : COPY . . [2023-03-08T16:44:01.754Z] ---> 356e48eecd0d [2023-03-08T16:44:01.754Z] Step 13/26 : RUN ${MAKE} [2023-03-08T16:44:01.754Z] ---> Running in 472dc635bc81 [2023-03-08T16:44:02.016Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-08T16:44:23.096Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8827 in /w/workspace/undry_device-onvif-camera_PR-255 [Pipeline] { [Pipeline] ws [2023-03-08T16:44:23.110Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2023-03-08T16:44:23.140Z] The recommended git tool is: git [2023-03-08T16:44:23.934Z] Removing intermediate container 472dc635bc81 [2023-03-08T16:44:23.934Z] ---> f030e48dfa32 [2023-03-08T16:44:23.934Z] Step 14/26 : FROM alpine:3.16 [2023-03-08T16:44:23.934Z] 3.16: Pulling from library/alpine [2023-03-08T16:44:23.934Z] ef5531b6e74e: Pulling fs layer [2023-03-08T16:44:23.934Z] ef5531b6e74e: Verifying Checksum [2023-03-08T16:44:23.934Z] ef5531b6e74e: Download complete [2023-03-08T16:44:23.934Z] ef5531b6e74e: Pull complete [2023-03-08T16:44:23.934Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T16:44:23.934Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T16:44:23.934Z] ---> dfd21b5a31f5 [2023-03-08T16:44:23.934Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-08T16:44:23.934Z] ---> Running in 66778ab8216b [2023-03-08T16:44:23.934Z] Removing intermediate container 66778ab8216b [2023-03-08T16:44:23.934Z] ---> 837520e893e2 [2023-03-08T16:44:23.934Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-08T16:44:23.934Z] ---> Running in 880f141165a6 [2023-03-08T16:44:23.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:44:23.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:44:23.934Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T16:44:23.934Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T16:44:23.934Z] OK: 6 MiB in 15 packages [2023-03-08T16:44:24.191Z] Removing intermediate container 880f141165a6 [2023-03-08T16:44:24.191Z] ---> b7c3a075a53c [2023-03-08T16:44:24.191Z] Step 17/26 : WORKDIR / [2023-03-08T16:44:24.191Z] ---> Running in 4b4c12aa8a7e [2023-03-08T16:44:24.191Z] Removing intermediate container 4b4c12aa8a7e [2023-03-08T16:44:24.191Z] ---> b262ae2405c1 [2023-03-08T16:44:24.191Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-08T16:44:24.755Z] ---> ac9d35fa95f2 [2023-03-08T16:44:24.755Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-08T16:44:25.015Z] ---> 7e35f3ac272c [2023-03-08T16:44:25.015Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-08T16:44:25.274Z] ---> 5e329e541072 [2023-03-08T16:44:25.274Z] Step 21/26 : EXPOSE 59984 [2023-03-08T16:44:25.274Z] ---> Running in bfe39ded9613 [2023-03-08T16:44:25.274Z] Removing intermediate container bfe39ded9613 [2023-03-08T16:44:25.274Z] ---> 973b188ed7ef [2023-03-08T16:44:25.274Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-08T16:44:25.274Z] ---> Running in 8483b3529108 [2023-03-08T16:44:25.532Z] Removing intermediate container 8483b3529108 [2023-03-08T16:44:25.532Z] ---> 0a355e805591 [2023-03-08T16:44:25.532Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T16:44:25.532Z] ---> Running in 32744122acc1 [2023-03-08T16:44:25.532Z] Removing intermediate container 32744122acc1 [2023-03-08T16:44:25.532Z] ---> 9cf7a495ce72 [2023-03-08T16:44:25.532Z] Step 24/26 : LABEL arch=amd64 [2023-03-08T16:44:25.790Z] ---> Running in 13acea7adcc7 [2023-03-08T16:44:25.790Z] Removing intermediate container 13acea7adcc7 [2023-03-08T16:44:25.790Z] ---> 50fc35e46aaf [2023-03-08T16:44:25.790Z] Step 25/26 : LABEL git_sha=9554d40eb5f55f132d434f72283da95ee4858514 [2023-03-08T16:44:25.790Z] ---> Running in 7b2aae2ecf07 [2023-03-08T16:44:26.048Z] Removing intermediate container 7b2aae2ecf07 [2023-03-08T16:44:26.048Z] ---> f8ca6a6d729d [2023-03-08T16:44:26.048Z] Step 26/26 : LABEL version=0.0.0 [2023-03-08T16:44:26.048Z] ---> Running in 8263d6609fb8 [2023-03-08T16:44:26.048Z] Removing intermediate container 8263d6609fb8 [2023-03-08T16:44:26.048Z] ---> 7304f5f15a64 [2023-03-08T16:44:26.048Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T16:44:26.048Z] Successfully built 7304f5f15a64 [2023-03-08T16:44:26.048Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:44:26.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:44:26.484Z] [2023-03-08T16:44:26.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:44:26.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:44:26.779Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T16:44:26.779Z] 5eb5b503b376: Pulling fs layer [2023-03-08T16:44:26.779Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T16:44:26.779Z] ec43610c2a17: Pulling fs layer [2023-03-08T16:44:26.779Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T16:44:26.779Z] 33b1e0a273af: Pulling fs layer [2023-03-08T16:44:26.779Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T16:44:26.779Z] 2f39f015ded8: Pulling fs layer [2023-03-08T16:44:26.779Z] 5d3b04190fa2: Waiting [2023-03-08T16:44:26.779Z] 3a2ae6a8a46f: Waiting [2023-03-08T16:44:26.779Z] 33b1e0a273af: Waiting [2023-03-08T16:44:26.779Z] 2f39f015ded8: Waiting [2023-03-08T16:44:26.779Z] 5c69ac0246d0: Download complete [2023-03-08T16:44:26.779Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T16:44:26.779Z] 3a2ae6a8a46f: Download complete [2023-03-08T16:44:27.042Z] 33b1e0a273af: Verifying Checksum [2023-03-08T16:44:27.042Z] 33b1e0a273af: Download complete [2023-03-08T16:44:27.042Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T16:44:27.042Z] 5d3b04190fa2: Download complete [2023-03-08T16:44:27.042Z] ec43610c2a17: Verifying Checksum [2023-03-08T16:44:27.042Z] ec43610c2a17: Download complete [2023-03-08T16:44:27.042Z] 5eb5b503b376: Verifying Checksum [2023-03-08T16:44:27.042Z] 5eb5b503b376: Download complete [2023-03-08T16:44:27.974Z] 2f39f015ded8: Download complete [2023-03-08T16:44:28.232Z] 5eb5b503b376: Pull complete [2023-03-08T16:44:28.491Z] 5c69ac0246d0: Pull complete [2023-03-08T16:44:29.057Z] ec43610c2a17: Pull complete [2023-03-08T16:44:29.057Z] 3a2ae6a8a46f: Pull complete [2023-03-08T16:44:29.314Z] 33b1e0a273af: Pull complete [2023-03-08T16:44:29.314Z] 5d3b04190fa2: Pull complete [2023-03-08T16:44:29.944Z] using credential edgex-jenkins-ssh [2023-03-08T16:44:29.964Z] Cloning the remote Git repository [2023-03-08T16:44:30.007Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-08T16:44:30.085Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2023-03-08T16:44:30.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-08T16:44:30.240Z] > git --version # timeout=10 [2023-03-08T16:44:30.263Z] > git --version # 'git version 2.25.1' [2023-03-08T16:44:30.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:44:30.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T16:44:31.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-08T16:44:31.846Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T16:44:33.348Z] Merging remotes/origin/main commit f65ca887385793521c5f561c8b8ec0758ab43644 into PR head commit 49099016006d3ca65e66c2d27a6ca8b5f9052e4b [2023-03-08T16:44:33.495Z] 2f39f015ded8: Pull complete [2023-03-08T16:44:33.495Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T16:44:33.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:44:33.495Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2023-03-08T16:44:32.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-08T16:44:32.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-08T16:44:32.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:44:32.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T16:44:33.365Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T16:44:33.383Z] > git checkout -f 49099016006d3ca65e66c2d27a6ca8b5f9052e4b # timeout=10 [Pipeline] withDockerContainer [2023-03-08T16:44:33.575Z] prd-ubuntu20.04-docker-8c-8g-8826 does not seem to be running inside a container [2023-03-08T16:44:33.606Z] $ 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-255 -v /w/workspace/undry_device-onvif-camera_PR-255:/w/workspace/undry_device-onvif-camera_PR-255:rw,z -v /w/workspace/undry_device-onvif-camera_PR-255@tmp:/w/workspace/undry_device-onvif-camera_PR-255@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 [2023-03-08T16:44:34.229Z] Merge succeeded, producing c705313687b10441d2d58c512f6e4167d275ae95 [2023-03-08T16:44:34.229Z] Checking out Revision c705313687b10441d2d58c512f6e4167d275ae95 (PR-255) [2023-03-08T16:44:33.683Z] > git remote # timeout=10 [2023-03-08T16:44:33.700Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T16:44:33.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:44:33.734Z] > git merge f65ca887385793521c5f561c8b8ec0758ab43644 # timeout=10 [2023-03-08T16:44:34.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T16:44:34.234Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T16:44:34.250Z] > git checkout -f c705313687b10441d2d58c512f6e4167d275ae95 # timeout=10 [2023-03-08T16:44:35.512Z] $ docker top 68333c7e86db73d6cdd5447074cc8d3e4a7e406f06c2d5450b2087a86aa38e8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:44:35.911Z] ---> job-cost.sh [2023-03-08T16:44:35.911Z] lf-activate-venv: SKIPPING [2023-03-08T16:44:35.911Z] INFO: No Stack... [2023-03-08T16:44:36.169Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T16:44:36.428Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T16:44:36.716Z] + cat /w/workspace/undry_device-onvif-camera_PR-255/archives/cost.csv [2023-03-08T16:44:36.716Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T16:44:36.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [2023-03-08T16:44:36.738Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] did not exist. Created. [2023-03-08T16:44:36.738Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T16:44:37.042Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T16:44:37.086Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T16:44:37.093Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T16:44:37.112Z] $ docker stop --time=1 68333c7e86db73d6cdd5447074cc8d3e4a7e406f06c2d5450b2087a86aa38e8b [2023-03-08T16:44:37.689Z] Commit message: "Merge commit 'f65ca887385793521c5f561c8b8ec0758ab43644' into HEAD" [2023-03-08T16:44:37.695Z] > git rev-list --no-walk 49099016006d3ca65e66c2d27a6ca8b5f9052e4b # timeout=10 [2023-03-08T16:44:38.067Z] [2023-03-08T16:44:38.067Z] GitHub has been notified of this commit’s build result [2023-03-08T16:44:38.067Z] [2023-03-08T16:44:38.260Z] $ docker rm -f --volumes 68333c7e86db73d6cdd5447074cc8d3e4a7e406f06c2d5450b2087a86aa38e8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:44:38.871Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T16:44:38.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T16:44:38.871Z] Dload Upload Total Spent Left Speed [2023-03-08T16:44:38.871Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-03-08T16:44:39.573Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T16:44:39.904Z] + sudo tee /etc/docker/daemon.new [2023-03-08T16:44:39.904Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T16:44:39.904Z] { [2023-03-08T16:44:39.904Z] "registry-mirrors": [ [2023-03-08T16:44:39.904Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T16:44:39.904Z] ], [2023-03-08T16:44:39.904Z] "bip": "10.250.0.254/24", [2023-03-08T16:44:39.904Z] "hosts": [ [2023-03-08T16:44:39.904Z] "tcp://0.0.0.0:5555", [2023-03-08T16:44:39.904Z] "unix:///var/run/docker.sock" [2023-03-08T16:44:39.904Z] ], [2023-03-08T16:44:39.904Z] "mtu": 1458, [2023-03-08T16:44:39.904Z] "selinux-enabled": true, [2023-03-08T16:44:39.904Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T16:44:39.904Z] } [Pipeline] sh [2023-03-08T16:44:40.239Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T16:44:40.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:44:58.840Z] provisioning config files... [2023-03-08T16:44:58.865Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config12066140370441590005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:44:59.215Z] ---> docker-login.sh [2023-03-08T16:44:59.216Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:44:59.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:44:59.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:44:59.812Z] Configure a credential helper to remove this warning. See [2023-03-08T16:44:59.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:44:59.812Z] [2023-03-08T16:44:59.812Z] Login Succeeded [2023-03-08T16:44:59.812Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:45:00.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:00.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:00.368Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:00.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:00.368Z] [2023-03-08T16:45:00.368Z] Login Succeeded [2023-03-08T16:45:00.368Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:45:00.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:00.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:00.642Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:00.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:00.642Z] [2023-03-08T16:45:00.642Z] Login Succeeded [2023-03-08T16:45:00.642Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:45:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:00.912Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:00.912Z] [2023-03-08T16:45:00.912Z] Login Succeeded [2023-03-08T16:45:01.185Z] docker.io [2023-03-08T16:45:01.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:01.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:01.457Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:01.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:01.457Z] [2023-03-08T16:45:01.457Z] Login Succeeded [2023-03-08T16:45:01.457Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:45:01.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T16:45:01.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:45:01.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:45:01.750Z] ========================================================= [2023-03-08T16:45:01.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T16:45:01.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:45:02.090Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T16:45:02.685Z] Sending build context to Docker daemon 20.65MB [2023-03-08T16:45:02.685Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:45:02.685Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-08T16:45:02.952Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T16:45:02.952Z] 9b18e9b68314: Pulling fs layer [2023-03-08T16:45:02.952Z] 35d82f9e3411: Pulling fs layer [2023-03-08T16:45:02.952Z] e16973657156: Pulling fs layer [2023-03-08T16:45:02.952Z] fc693d55d65f: Pulling fs layer [2023-03-08T16:45:02.952Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T16:45:02.952Z] dda99020689f: Pulling fs layer [2023-03-08T16:45:02.952Z] db1c61fa0a46: Pulling fs layer [2023-03-08T16:45:02.952Z] 891c053d2c06: Pulling fs layer [2023-03-08T16:45:02.952Z] dda99020689f: Waiting [2023-03-08T16:45:02.952Z] db1c61fa0a46: Waiting [2023-03-08T16:45:02.952Z] fc693d55d65f: Waiting [2023-03-08T16:45:02.952Z] 7e9fc2657dce: Waiting [2023-03-08T16:45:02.952Z] 891c053d2c06: Waiting [2023-03-08T16:45:02.952Z] e16973657156: Verifying Checksum [2023-03-08T16:45:02.952Z] e16973657156: Download complete [2023-03-08T16:45:02.952Z] 35d82f9e3411: Verifying Checksum [2023-03-08T16:45:02.952Z] 35d82f9e3411: Download complete [2023-03-08T16:45:02.952Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T16:45:02.952Z] 7e9fc2657dce: Download complete [2023-03-08T16:45:02.952Z] dda99020689f: Verifying Checksum [2023-03-08T16:45:02.952Z] dda99020689f: Download complete [2023-03-08T16:45:02.952Z] 9b18e9b68314: Verifying Checksum [2023-03-08T16:45:02.952Z] 9b18e9b68314: Download complete [2023-03-08T16:45:03.936Z] 9b18e9b68314: Pull complete [2023-03-08T16:45:04.207Z] 891c053d2c06: Verifying Checksum [2023-03-08T16:45:04.207Z] 891c053d2c06: Download complete [2023-03-08T16:45:04.480Z] 35d82f9e3411: Pull complete [2023-03-08T16:45:04.751Z] e16973657156: Pull complete [2023-03-08T16:45:05.338Z] db1c61fa0a46: Verifying Checksum [2023-03-08T16:45:05.338Z] db1c61fa0a46: Download complete [2023-03-08T16:45:05.930Z] fc693d55d65f: Verifying Checksum [2023-03-08T16:45:05.930Z] fc693d55d65f: Download complete [2023-03-08T16:45:18.259Z] fc693d55d65f: Pull complete [2023-03-08T16:45:18.259Z] 7e9fc2657dce: Pull complete [2023-03-08T16:45:18.259Z] dda99020689f: Pull complete [2023-03-08T16:45:24.934Z] db1c61fa0a46: Pull complete [2023-03-08T16:45:26.900Z] 891c053d2c06: Pull complete [2023-03-08T16:45:26.900Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T16:45:26.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T16:45:26.900Z] ---> f96f9c87975a [2023-03-08T16:45:26.900Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-08T16:45:28.850Z] ---> Running in 1f812fb06e36 [2023-03-08T16:45:28.850Z] Removing intermediate container 1f812fb06e36 [2023-03-08T16:45:28.850Z] ---> 9925ee08c4a4 [2023-03-08T16:45:28.850Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T16:45:28.850Z] ---> Running in 7967db79bf1b [2023-03-08T16:45:29.118Z] Removing intermediate container 7967db79bf1b [2023-03-08T16:45:29.118Z] ---> 57b41c1cf686 [2023-03-08T16:45:29.118Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-08T16:45:29.118Z] ---> Running in e242cfccd76a [2023-03-08T16:45:29.702Z] Removing intermediate container e242cfccd76a [2023-03-08T16:45:29.702Z] ---> c5b6de36c626 [2023-03-08T16:45:29.702Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T16:45:29.702Z] ---> Running in 763fc5e8771d [2023-03-08T16:45:29.972Z] Removing intermediate container 763fc5e8771d [2023-03-08T16:45:29.972Z] ---> 1136f88b3d1d [2023-03-08T16:45:29.972Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-08T16:45:29.972Z] ---> Running in b2f55af8c2bf [2023-03-08T16:45:30.238Z] Removing intermediate container b2f55af8c2bf [2023-03-08T16:45:30.238Z] ---> 1d39ef7b29d8 [2023-03-08T16:45:30.238Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T16:45:30.505Z] ---> Running in 1293044d3f81 [2023-03-08T16:45:31.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:45:31.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:45:32.694Z] OK: 221 MiB in 51 packages [2023-03-08T16:45:33.653Z] Removing intermediate container 1293044d3f81 [2023-03-08T16:45:33.653Z] ---> 7b9fcaaad8e5 [2023-03-08T16:45:33.653Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-08T16:45:33.920Z] ---> Running in 7fa0a19e7aa6 [2023-03-08T16:45:34.186Z] Removing intermediate container 7fa0a19e7aa6 [2023-03-08T16:45:34.186Z] ---> 84a7328ce9b0 [2023-03-08T16:45:34.186Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-08T16:45:34.771Z] ---> a9e289acbf10 [2023-03-08T16:45:34.771Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:45:34.771Z] ---> Running in 220a581e47f8 [2023-03-08T16:46:42.630Z] Removing intermediate container 220a581e47f8 [2023-03-08T16:46:42.630Z] ---> eeb11139c899 [2023-03-08T16:46:42.630Z] Step 12/13 : COPY . . [2023-03-08T16:46:42.630Z] ---> 86ef118ccdb9 [2023-03-08T16:46:42.630Z] Step 13/13 : RUN ${MAKE} [2023-03-08T16:46:42.630Z] ---> Running in 994ab6e88cea [2023-03-08T16:46:42.630Z] noop [2023-03-08T16:46:42.630Z] Removing intermediate container 994ab6e88cea [2023-03-08T16:46:42.630Z] ---> 12736e98ee74 [2023-03-08T16:46:42.630Z] Successfully built 12736e98ee74 [2023-03-08T16:46:42.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:46:42.983Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T16:46:42.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:46:43.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-8827 does not seem to be running inside a container [2023-03-08T16:46:43.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-03-08T16:46:44.466Z] $ docker top c8eed4bb11cf4a0ea51f0855cc012527863c5d109256f7131a62800f64bb7cb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:46:45.313Z] + go version [2023-03-08T16:46:45.313Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T16:46:45.331Z] $ docker stop --time=1 c8eed4bb11cf4a0ea51f0855cc012527863c5d109256f7131a62800f64bb7cb8 [2023-03-08T16:46:46.979Z] $ docker rm -f --volumes c8eed4bb11cf4a0ea51f0855cc012527863c5d109256f7131a62800f64bb7cb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:46:47.508Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T16:46:47.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:46:47.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-8827 does not seem to be running inside a container [2023-03-08T16:46:47.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-03-08T16:46:48.985Z] $ docker top 2ab4b50e4e592663a01fd2e316a2e3dbf6e1c4caae20ad3d4dac17635a7bca2e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:46:51.359Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-03-08T16:46:51.689Z] + make test [2023-03-08T16:46:51.689Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T16:46:53.654Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-08T16:48:30.298Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-08T16:48:30.298Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.187s coverage: 30.5% of statements [2023-03-08T16:48:30.299Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-08T16:48:45.317Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.988s coverage: 86.5% of statements [2023-03-08T16:48:45.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T16:48:45.595Z] go vet ./... [2023-03-08T16:49:21.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T16:49:21.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T16:49:21.019Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T16:49:21.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T16:49:21.061Z] $ docker stop --time=1 2ab4b50e4e592663a01fd2e316a2e3dbf6e1c4caae20ad3d4dac17635a7bca2e [2023-03-08T16:49:22.804Z] $ docker rm -f --volumes 2ab4b50e4e592663a01fd2e316a2e3dbf6e1c4caae20ad3d4dac17635a7bca2e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:49:23.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T16:49:23.848Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T16:49:24.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:49:24.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T16:49:25.338Z] + ls -al . [2023-03-08T16:49:25.338Z] total 228 [2023-03-08T16:49:25.338Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 16:46 . [2023-03-08T16:49:25.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:44 .. [2023-03-08T16:49:25.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 16:44 .git [2023-03-08T16:49:25.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:44 .github [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 8 16:44 .gitignore [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 16:44 .golangci.yml [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 8 16:44 Attribution.txt [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 8 16:44 CHANGELOG.md [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 8 16:44 Dockerfile [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 16:44 GOVERNANCE.md [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 8 16:44 Jenkinsfile [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 8 16:44 LICENSE [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 8 16:44 Makefile [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 8 16:44 OWNERS.md [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 8 16:44 README.md [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 16:42 VERSION [2023-03-08T16:49:25.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:44 bin [2023-03-08T16:49:25.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:44 cmd [2023-03-08T16:49:25.338Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 8 16:48 coverage.out [2023-03-08T16:49:25.338Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 16:44 doc [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 8 16:44 go.mod [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 8 16:44 go.sum [2023-03-08T16:49:25.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:44 internal [2023-03-08T16:49:25.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:44 snap [2023-03-08T16:49:25.338Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 8 16:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:49:25.753Z] + 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=c705313687b10441d2d58c512f6e4167d275ae95 --label arch=arm64 --label version=0.0.0 . [2023-03-08T16:49:26.736Z] Sending build context to Docker daemon 20.73MB [2023-03-08T16:49:26.736Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:49:26.736Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-08T16:49:26.736Z] ---> 12736e98ee74 [2023-03-08T16:49:26.736Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-08T16:49:27.018Z] ---> Running in fcfb95c81511 [2023-03-08T16:49:27.290Z] Removing intermediate container fcfb95c81511 [2023-03-08T16:49:27.290Z] ---> 90ba36b3b7f0 [2023-03-08T16:49:27.290Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T16:49:27.558Z] ---> Running in 092b64567fc8 [2023-03-08T16:49:27.827Z] Removing intermediate container 092b64567fc8 [2023-03-08T16:49:27.827Z] ---> 824fd3b7dfdf [2023-03-08T16:49:27.827Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-08T16:49:28.094Z] ---> Running in 7256ce53bcf7 [2023-03-08T16:49:28.360Z] Removing intermediate container 7256ce53bcf7 [2023-03-08T16:49:28.360Z] ---> 43ac8d4f9fa1 [2023-03-08T16:49:28.360Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T16:49:28.360Z] ---> Running in 09a237396dfb [2023-03-08T16:49:28.945Z] Removing intermediate container 09a237396dfb [2023-03-08T16:49:28.945Z] ---> ea8f43b87431 [2023-03-08T16:49:28.945Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-08T16:49:28.945Z] ---> Running in aa89bba3c98a [2023-03-08T16:49:29.530Z] Removing intermediate container aa89bba3c98a [2023-03-08T16:49:29.530Z] ---> 490d4352ae27 [2023-03-08T16:49:29.530Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T16:49:29.530Z] ---> Running in 23e4503366bd [2023-03-08T16:49:30.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:49:30.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:49:31.712Z] OK: 221 MiB in 51 packages [2023-03-08T16:49:32.675Z] Removing intermediate container 23e4503366bd [2023-03-08T16:49:32.675Z] ---> 0c21d7227852 [2023-03-08T16:49:32.675Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-08T16:49:32.675Z] ---> Running in c42b023c5d99 [2023-03-08T16:49:32.941Z] Removing intermediate container c42b023c5d99 [2023-03-08T16:49:32.941Z] ---> 66bb420db8be [2023-03-08T16:49:32.941Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-08T16:49:33.532Z] ---> 20957ccf4a50 [2023-03-08T16:49:33.532Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:49:33.532Z] ---> Running in c5d61b5f656e [2023-03-08T16:49:37.788Z] Removing intermediate container c5d61b5f656e [2023-03-08T16:49:37.788Z] ---> 4421a0d9ec97 [2023-03-08T16:49:37.788Z] Step 12/26 : COPY . . [2023-03-08T16:49:41.135Z] ---> ffe29c0034b0 [2023-03-08T16:49:41.135Z] Step 13/26 : RUN ${MAKE} [2023-03-08T16:49:41.135Z] ---> Running in e55050df7b55 [2023-03-08T16:49:42.103Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-08T16:52:03.795Z] Removing intermediate container e55050df7b55 [2023-03-08T16:52:03.795Z] ---> 3cc198d56d6f [2023-03-08T16:52:03.795Z] Step 14/26 : FROM alpine:3.16 [2023-03-08T16:52:03.795Z] 3.16: Pulling from library/alpine [2023-03-08T16:52:03.795Z] 3760b48202b3: Pulling fs layer [2023-03-08T16:52:03.795Z] 3760b48202b3: Verifying Checksum [2023-03-08T16:52:03.795Z] 3760b48202b3: Download complete [2023-03-08T16:52:03.795Z] 3760b48202b3: Pull complete [2023-03-08T16:52:03.795Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T16:52:03.795Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T16:52:03.795Z] ---> 4c81e5bf8899 [2023-03-08T16:52:03.795Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-08T16:52:03.795Z] ---> Running in 01be8398d88e [2023-03-08T16:52:03.795Z] Removing intermediate container 01be8398d88e [2023-03-08T16:52:03.795Z] ---> f4edf413a3e9 [2023-03-08T16:52:03.795Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-08T16:52:03.795Z] ---> Running in 7aa63dadd6c9 [2023-03-08T16:52:03.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:52:03.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:52:03.795Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T16:52:03.795Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T16:52:03.795Z] OK: 5 MiB in 15 packages [2023-03-08T16:52:03.795Z] Removing intermediate container 7aa63dadd6c9 [2023-03-08T16:52:03.795Z] ---> d7f8018825ca [2023-03-08T16:52:03.795Z] Step 17/26 : WORKDIR / [2023-03-08T16:52:03.795Z] ---> Running in 186740c92577 [2023-03-08T16:52:03.796Z] Removing intermediate container 186740c92577 [2023-03-08T16:52:03.796Z] ---> 5b8c282d490f [2023-03-08T16:52:03.796Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-08T16:52:03.796Z] ---> f7da221fb45c [2023-03-08T16:52:03.796Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-08T16:52:05.204Z] ---> b2b3211433c8 [2023-03-08T16:52:05.204Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-08T16:52:05.471Z] ---> c095a4f12e5a [2023-03-08T16:52:05.471Z] Step 21/26 : EXPOSE 59984 [2023-03-08T16:52:05.471Z] ---> Running in 360191a0fe58 [2023-03-08T16:52:05.742Z] Removing intermediate container 360191a0fe58 [2023-03-08T16:52:05.742Z] ---> 89f4d80a053e [2023-03-08T16:52:05.742Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-08T16:52:05.742Z] ---> Running in 5162d91a8c5b [2023-03-08T16:52:06.008Z] Removing intermediate container 5162d91a8c5b [2023-03-08T16:52:06.008Z] ---> 5ad9130c0806 [2023-03-08T16:52:06.008Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T16:52:06.276Z] ---> Running in 0aa1b4fff197 [2023-03-08T16:52:06.544Z] Removing intermediate container 0aa1b4fff197 [2023-03-08T16:52:06.544Z] ---> acb59add90a4 [2023-03-08T16:52:06.544Z] Step 24/26 : LABEL arch=arm64 [2023-03-08T16:52:06.544Z] ---> Running in dd7bd20fabba [2023-03-08T16:52:06.808Z] Removing intermediate container dd7bd20fabba [2023-03-08T16:52:06.808Z] ---> 0683c775b008 [2023-03-08T16:52:06.808Z] Step 25/26 : LABEL git_sha=c705313687b10441d2d58c512f6e4167d275ae95 [2023-03-08T16:52:06.808Z] ---> Running in 349d8449db55 [2023-03-08T16:52:07.075Z] Removing intermediate container 349d8449db55 [2023-03-08T16:52:07.075Z] ---> e8b4782fe8fc [2023-03-08T16:52:07.075Z] Step 26/26 : LABEL version=0.0.0 [2023-03-08T16:52:07.075Z] ---> Running in 1d972e72ad5c [2023-03-08T16:52:07.341Z] Removing intermediate container 1d972e72ad5c [2023-03-08T16:52:07.341Z] ---> 334d5fa0e94b [2023-03-08T16:52:07.341Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T16:52:07.607Z] Successfully built 334d5fa0e94b [2023-03-08T16:52:07.607Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:52:08.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:52:08.042Z] [2023-03-08T16:52:08.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:52:08.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:52:08.369Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T16:52:08.369Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T16:52:08.369Z] 04944245beec: Pulling fs layer [2023-03-08T16:52:08.369Z] 699f458cf7ca: Pulling fs layer [2023-03-08T16:52:08.369Z] 765212b225bb: Pulling fs layer [2023-03-08T16:52:08.369Z] f23df028b6ca: Pulling fs layer [2023-03-08T16:52:08.369Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T16:52:08.369Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T16:52:08.369Z] 765212b225bb: Waiting [2023-03-08T16:52:08.369Z] f23df028b6ca: Waiting [2023-03-08T16:52:08.369Z] d65c8cfc05b1: Waiting [2023-03-08T16:52:08.369Z] 2437ff75d9bd: Waiting [2023-03-08T16:52:08.640Z] 04944245beec: Verifying Checksum [2023-03-08T16:52:08.640Z] 04944245beec: Download complete [2023-03-08T16:52:08.640Z] 765212b225bb: Verifying Checksum [2023-03-08T16:52:08.640Z] 765212b225bb: Download complete [2023-03-08T16:52:08.640Z] f23df028b6ca: Verifying Checksum [2023-03-08T16:52:08.640Z] f23df028b6ca: Download complete [2023-03-08T16:52:08.640Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T16:52:08.640Z] d65c8cfc05b1: Download complete [2023-03-08T16:52:08.640Z] 699f458cf7ca: Verifying Checksum [2023-03-08T16:52:08.640Z] 699f458cf7ca: Download complete [2023-03-08T16:52:09.227Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T16:52:09.227Z] 8998bd30e6a1: Download complete [2023-03-08T16:52:11.814Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T16:52:11.814Z] 2437ff75d9bd: Download complete [2023-03-08T16:52:13.225Z] 8998bd30e6a1: Pull complete [2023-03-08T16:52:13.494Z] 04944245beec: Pull complete [2023-03-08T16:52:14.901Z] 699f458cf7ca: Pull complete [2023-03-08T16:52:15.170Z] 765212b225bb: Pull complete [2023-03-08T16:52:16.134Z] f23df028b6ca: Pull complete [2023-03-08T16:52:16.134Z] d65c8cfc05b1: Pull complete [2023-03-08T16:52:31.124Z] 2437ff75d9bd: Pull complete [2023-03-08T16:52:31.124Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T16:52:31.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:52:31.124Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:52:31.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-8827 does not seem to be running inside a container [2023-03-08T16:52:31.365Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-03-08T16:52:34.136Z] $ docker top 0be4c466207d87ad9968cc3e5a2285a221602753015835f174e2daa8908be5b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:34.990Z] ---> job-cost.sh [2023-03-08T16:52:34.990Z] lf-activate-venv: SKIPPING [2023-03-08T16:52:34.990Z] INFO: No Stack... [2023-03-08T16:52:35.256Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T16:52:36.216Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T16:52:36.852Z] + cut -d, -f6 [2023-03-08T16:52:36.852Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2023-03-08T16:52:36.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [2023-03-08T16:52:36.922Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] did not exist. Created. [2023-03-08T16:52:36.922Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T16:52:37.577Z] /w/workspace/device-onvif-camera/3@tmp/durable-700b1b0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T16:52:38.228Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T16:52:38.250Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T16:52:38.314Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T16:52:38.321Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-255-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T16:52:38.332Z] $ docker stop --time=1 0be4c466207d87ad9968cc3e5a2285a221602753015835f174e2daa8908be5b7 [2023-03-08T16:52:39.839Z] $ docker rm -f --volumes 0be4c466207d87ad9968cc3e5a2285a221602753015835f174e2daa8908be5b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-08T16:52:40.237Z] provisioning config files... [2023-03-08T16:52:40.244Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-255@tmp/config9081008516134511495tmp [Pipeline] { [Pipeline] sh [2023-03-08T16:52:40.533Z] + set +x [2023-03-08T16:52:40.533Z] + curl -s https://codecov.io/bash [2023-03-08T16:52:40.533Z] + bash -s -- [2023-03-08T16:52:40.533Z] [2023-03-08T16:52:40.533Z] _____ _ [2023-03-08T16:52:40.533Z] / ____| | | [2023-03-08T16:52:40.533Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T16:52:40.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T16:52:40.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T16:52:40.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T16:52:40.533Z] Bash-1.0.6 [2023-03-08T16:52:40.533Z] [2023-03-08T16:52:40.533Z] [2023-03-08T16:52:40.533Z] ==> git version 2.25.1 found [2023-03-08T16:52:40.533Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-08T16:52:40.533Z] Release-Date: 2020-01-08 [2023-03-08T16:52:40.533Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-08T16:52:40.533Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T16:52:40.533Z] ==> Jenkins CI detected. [2023-03-08T16:52:40.533Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-255 [2023-03-08T16:52:40.533Z] project root: . [2023-03-08T16:52:40.533Z] --> token set from env [2023-03-08T16:52:40.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T16:52:40.533Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T16:52:40.533Z] ==> Python coveragepy not found [2023-03-08T16:52:40.533Z] ==> Searching for coverage reports in: [2023-03-08T16:52:40.533Z] + . [2023-03-08T16:52:40.533Z] -> Found 1 reports [2023-03-08T16:52:40.533Z] ==> Detecting git/mercurial file structure [2023-03-08T16:52:40.792Z] ==> Reading reports [2023-03-08T16:52:40.792Z] + ./coverage.out bytes=76650 [2023-03-08T16:52:40.792Z] ==> Appending adjustments [2023-03-08T16:52:40.792Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T16:52:40.792Z] + Found adjustments [2023-03-08T16:52:40.792Z] ==> Gzipping contents [2023-03-08T16:52:40.792Z] 12K /tmp/codecov.Da3bNP.gz [2023-03-08T16:52:40.792Z] ==> Uploading reports [2023-03-08T16:52:40.792Z] url: https://codecov.io [2023-03-08T16:52:40.792Z] query: branch=PR-255&commit=9554d40eb5f55f132d434f72283da95ee4858514&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-255%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-03-08T16:52:40.792Z] -> Pinging Codecov [2023-03-08T16:52:40.792Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-255&commit=9554d40eb5f55f132d434f72283da95ee4858514&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-255%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-03-08T16:52:41.052Z] -> Uploading to [2023-03-08T16:52:41.052Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/F29A59C45E3A92E06B3E522C9905F8EF/9554d40eb5f55f132d434f72283da95ee4858514/d8875683-ac3f-4995-9596-a9d7b5dbc565.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T165240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=382390cb1363f02db379398bc77aa52699cdeef4d5d55d7e70afe387da7400f6 [2023-03-08T16:52:41.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T16:52:41.052Z] Dload Upload Total Spent Left Speed [2023-03-08T16:52:41.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10507 0 0 100 10507 0 51758 --:--:-- --:--:-- --:--:-- 51504 100 10507 0 0 100 10507 0 41042 --:--:-- --:--:-- --:--:-- 40883 [2023-03-08T16:52:41.312Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9554d40eb5f55f132d434f72283da95ee4858514 [Pipeline] } [2023-03-08T16:52:41.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-08T16:52:42.060Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-255/archives ] [2023-03-08T16:52:42.060Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-255/archives [2023-03-08T16:52:42.060Z] total 16 [2023-03-08T16:52:42.060Z] drwxr-xr-x 3 root root 4096 Mar 8 16:44 . [2023-03-08T16:52:42.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 16:44 .. [2023-03-08T16:52:42.060Z] drwxr-xr-x 2 root root 4096 Mar 8 16:44 cost [2023-03-08T16:52:42.060Z] -rw-r--r-- 1 root root 91 Mar 8 16:44 cost.csv [2023-03-08T16:52:42.060Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-255/archives [2023-03-08T16:52:42.060Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-255/archives [2023-03-08T16:52:42.060Z] total 16 [2023-03-08T16:52:42.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 16:44 . [2023-03-08T16:52:42.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 16:44 .. [2023-03-08T16:52:42.060Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 16:44 cost [2023-03-08T16:52:42.060Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 8 16:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:42.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:43.203Z] ---> package-listing.sh [2023-03-08T16:52:43.204Z] ++ facter osfamily [2023-03-08T16:52:43.204Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T16:52:43.462Z] + OS_FAMILY=debian [2023-03-08T16:52:43.462Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-255 [2023-03-08T16:52:43.462Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T16:52:43.462Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T16:52:43.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T16:52:43.462Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T16:52:43.462Z] + '[' /w/workspace/undry_device-onvif-camera_PR-255 ']' [2023-03-08T16:52:43.462Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T16:52:43.462Z] + case "${OS_FAMILY}" in [2023-03-08T16:52:43.462Z] + dpkg -l [2023-03-08T16:52:43.462Z] + grep '^ii' [2023-03-08T16:52:43.462Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T16:52:43.462Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T16:52:43.462Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T16:52:43.462Z] + '[' /w/workspace/undry_device-onvif-camera_PR-255 ']' [2023-03-08T16:52:43.462Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-255/archives/ [2023-03-08T16:52:43.462Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-255/archives/ [Pipeline] echo [2023-03-08T16:52:43.472Z] 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-255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T16:52:43.758Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:52:44.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:52:44.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:52:44.382Z] prd-ubuntu20.04-docker-8c-8g-8826 does not seem to be running inside a container [2023-03-08T16:52:44.415Z] $ 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-255/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-255 -v /w/workspace/undry_device-onvif-camera_PR-255:/w/workspace/undry_device-onvif-camera_PR-255:rw,z -v /w/workspace/undry_device-onvif-camera_PR-255@tmp:/w/workspace/undry_device-onvif-camera_PR-255@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 [2023-03-08T16:52:44.620Z] $ docker top 7d3264d230f258e571d953b7f46af1b50babbe1e4d2fbf6000987bd013174d7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:52:44.965Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T16:52:45.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T16:52:45.537Z] + ls /var/log/sa-host [2023-03-08T16:52:45.537Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:52:45.684Z] provisioning config files... [2023-03-08T16:52:45.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-255@tmp/config15294978880292810253tmp [Pipeline] { [Pipeline] echo [2023-03-08T16:52:45.707Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:45.987Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T16:52:45.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:46.317Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T16:52:46.325Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:46.608Z] ---> sudo-logs.sh [2023-03-08T16:52:46.608Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T16:52:46.633Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:46.916Z] ---> job-cost.sh [2023-03-08T16:52:46.916Z] lf-activate-venv: SKIPPING [2023-03-08T16:52:46.916Z] DEBUG: total: 0.2199999988079071 [2023-03-08T16:52:46.916Z] INFO: Retrieving Stack Cost... [2023-03-08T16:52:47.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T16:52:47.742Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T16:52:47.754Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:52:48.037Z] ---> logs-deploy.sh [2023-03-08T16:52:48.037Z] lf-activate-venv: SKIPPING [2023-03-08T16:52:48.037Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-255/3 [2023-03-08T16:52:48.037Z] INFO: archiving workspace using pattern(s): [2023-03-08T16:52:48.976Z] Archives upload complete. [2023-03-08T16:52:49.235Z] INFO: archiving logs to Nexus