Pull request #210 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d+ac647965ab1b942a087d699135cd6fee27db47f4 (17bbfb5ffce9cdb0f496c7408ce9cca0251f879a) 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-ssh2048855990034821179.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-ssh8277996081609921334.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-210/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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17538969489476354426.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-ssh14678331889894157337.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-210/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-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2782449578753574154.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 Running on prd-ubuntu20.04-docker-8c-8g-1894 in /w/workspace/undry_device-onvif-camera_PR-210 [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-210 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d > 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/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 Merge succeeded, producing 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d Checking out Revision 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d (PR-210) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git rev-list --no-walk f6eb3024e45870f228bada2f7b48045a500ee5d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T17:52:02.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T17:52:02.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T17:52:02.663Z] ========================================================= [2023-01-11T17:52:02.663Z] EdgeX Global Pipelines Version Info [2023-01-11T17:52:02.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:52:03.370Z] ------------------- [2023-01-11T17:52:03.370Z] stable info: [2023-01-11T17:52:03.370Z] ------------------- [2023-01-11T17:52:03.370Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T17:52:03.370Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:52:03.370Z] Message: update stable to v1.0.244 [2023-01-11T17:52:03.940Z] ------------------- [2023-01-11T17:52:03.940Z] experimental info: [2023-01-11T17:52:03.940Z] ------------------- [2023-01-11T17:52:03.940Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T17:52:03.940Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:52:03.940Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T17:52:04.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-11T17:52:04.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-11T17:52:04.106Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T17:52:04.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T17:52:04.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T17:52:04.136Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T17:52:04.146Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T17:52:04.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T17:52:04.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T17:52:04.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T17:52:04.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T17:52:04.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-11T17:52:04.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T17:52:04.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T17:52:04.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:52:04.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:52:04.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:52:04.293Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:52:04.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T17:52:04.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T17:52:04.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-11T17:52:04.345Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-11T17:52:04.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T17:52:04.375Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T17:52:04.393Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T17:52:04.403Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T17:52:04.416Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T17:52:04.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo [2023-01-11T17:52:04.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo [2023-01-11T17:52:04.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo [2023-01-11T17:52:04.467Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo [2023-01-11T17:52:04.479Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02bb8f7 [Pipeline] echo [2023-01-11T17:52:04.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:52:04.539Z] provisioning config files... [2023-01-11T17:52:04.552Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config1956790365890776549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:52:04.854Z] ---> docker-login.sh [2023-01-11T17:52:04.854Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:52:05.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:05.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:05.115Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:05.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:05.115Z] [2023-01-11T17:52:05.115Z] Login Succeeded [2023-01-11T17:52:05.115Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:52:05.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:05.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:05.115Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:05.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:05.115Z] [2023-01-11T17:52:05.115Z] Login Succeeded [2023-01-11T17:52:05.115Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:52:05.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:05.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:05.376Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:05.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:05.376Z] [2023-01-11T17:52:05.376Z] Login Succeeded [2023-01-11T17:52:05.376Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:52:05.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:05.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:05.376Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:05.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:05.376Z] [2023-01-11T17:52:05.376Z] Login Succeeded [2023-01-11T17:52:05.376Z] docker.io [2023-01-11T17:52:05.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:05.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:05.636Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:05.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:05.636Z] [2023-01-11T17:52:05.636Z] Login Succeeded [2023-01-11T17:52:05.636Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:52:05.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T17:52:06.003Z] + git rev-list -1 --merges 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d~1..02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo [2023-01-11T17:52:06.050Z] -----------> git rev-list -1 --merges 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d~1..02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [false] [Pipeline] sh [2023-01-11T17:52:06.341Z] + git log --format=format:%s -1 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo [2023-01-11T17:52:06.356Z] ========================================================= [2023-01-11T17:52:06.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T17:52:06.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:52:06.672Z] + git log --format=format:%s -1 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo [2023-01-11T17:52:06.682Z] [semverPrep] GIT_COMMIT: 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T17:52:06.691Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T17:52:07.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T17:52:07.038Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T17:52:07.038Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T17:52:07.038Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T17:52:07.038Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T17:52:07.038Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T17:52:07.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:07.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:52:07.390Z] [2023-01-11T17:52:07.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:07.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:52:07.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T17:52:07.689Z] b85a868b505f: Pulling fs layer [2023-01-11T17:52:07.689Z] e2be974225ed: Pulling fs layer [2023-01-11T17:52:07.689Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T17:52:07.689Z] 988bab9f4d93: Pulling fs layer [2023-01-11T17:52:07.689Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T17:52:07.689Z] eaf3925da568: Pulling fs layer [2023-01-11T17:52:07.689Z] bab4dde63d76: Pulling fs layer [2023-01-11T17:52:07.689Z] bde34c3a00c8: Pulling fs layer [2023-01-11T17:52:07.689Z] b352a97aabf1: Pulling fs layer [2023-01-11T17:52:07.689Z] 4872d77fe225: Pulling fs layer [2023-01-11T17:52:07.689Z] 5851b861e8e6: Pulling fs layer [2023-01-11T17:52:07.689Z] 988bab9f4d93: Waiting [2023-01-11T17:52:07.689Z] 1469e6f7b9e6: Waiting [2023-01-11T17:52:07.689Z] eaf3925da568: Waiting [2023-01-11T17:52:07.689Z] bab4dde63d76: Waiting [2023-01-11T17:52:07.689Z] bde34c3a00c8: Waiting [2023-01-11T17:52:07.689Z] b352a97aabf1: Waiting [2023-01-11T17:52:07.689Z] 4872d77fe225: Waiting [2023-01-11T17:52:07.689Z] 5851b861e8e6: Waiting [2023-01-11T17:52:07.689Z] e2be974225ed: Download complete [2023-01-11T17:52:07.689Z] 988bab9f4d93: Verifying Checksum [2023-01-11T17:52:07.689Z] 988bab9f4d93: Download complete [2023-01-11T17:52:07.950Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T17:52:07.950Z] 339a4e72a1f5: Download complete [2023-01-11T17:52:07.950Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T17:52:07.950Z] 1469e6f7b9e6: Download complete [2023-01-11T17:52:07.950Z] eaf3925da568: Verifying Checksum [2023-01-11T17:52:07.950Z] eaf3925da568: Download complete [2023-01-11T17:52:07.950Z] bde34c3a00c8: Verifying Checksum [2023-01-11T17:52:07.950Z] bde34c3a00c8: Download complete [2023-01-11T17:52:07.950Z] b352a97aabf1: Download complete [2023-01-11T17:52:07.950Z] 4872d77fe225: Verifying Checksum [2023-01-11T17:52:07.950Z] 4872d77fe225: Download complete [2023-01-11T17:52:07.950Z] 5851b861e8e6: Verifying Checksum [2023-01-11T17:52:07.950Z] 5851b861e8e6: Download complete [2023-01-11T17:52:07.950Z] b85a868b505f: Verifying Checksum [2023-01-11T17:52:07.950Z] b85a868b505f: Download complete [2023-01-11T17:52:08.211Z] bab4dde63d76: Download complete [2023-01-11T17:52:09.150Z] b85a868b505f: Pull complete [2023-01-11T17:52:09.150Z] e2be974225ed: Pull complete [2023-01-11T17:52:09.718Z] 339a4e72a1f5: Pull complete [2023-01-11T17:52:09.718Z] 988bab9f4d93: Pull complete [2023-01-11T17:52:09.978Z] 1469e6f7b9e6: Pull complete [2023-01-11T17:52:09.978Z] eaf3925da568: Pull complete [2023-01-11T17:52:11.887Z] bab4dde63d76: Pull complete [2023-01-11T17:52:11.887Z] bde34c3a00c8: Pull complete [2023-01-11T17:52:11.887Z] b352a97aabf1: Pull complete [2023-01-11T17:52:11.887Z] 4872d77fe225: Pull complete [2023-01-11T17:52:12.154Z] 5851b861e8e6: Pull complete [2023-01-11T17:52:12.154Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T17:52:12.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:52:12.154Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:52:12.232Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2023-01-11T17:52:12.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T17:52:13.617Z] $ docker top 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 -eo pid,comm [2023-01-11T17:52:13.669Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T17:52:13.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T17:52:13.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:52:13.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:52:13.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:52:13.878Z] $ docker exec 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent [2023-01-11T17:52:13.990Z] SSH_AUTH_SOCK=/tmp/ssh-UA7XTjQWglTt/agent.33 [2023-01-11T17:52:13.990Z] SSH_AGENT_PID=39 [2023-01-11T17:52:13.997Z] Running ssh-add (command line suppressed) [2023-01-11T17:52:14.096Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_5706313472913711698.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_5706313472913711698.key) [2023-01-11T17:52:14.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:52:14.392Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T17:52:14.407Z] $ docker exec --env ******** --env ******** 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent -k [2023-01-11T17:52:14.510Z] unset SSH_AUTH_SOCK; [2023-01-11T17:52:14.510Z] unset SSH_AGENT_PID; [2023-01-11T17:52:14.511Z] echo Agent pid 39 killed; [2023-01-11T17:52:14.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T17:52:14.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:52:14.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:52:14.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:52:14.655Z] $ docker exec 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent [2023-01-11T17:52:14.760Z] SSH_AUTH_SOCK=/tmp/ssh-c8r4xn0oWqTz/agent.71 [2023-01-11T17:52:14.760Z] SSH_AGENT_PID=78 [2023-01-11T17:52:14.765Z] Running ssh-add (command line suppressed) [2023-01-11T17:52:14.860Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_14383773424581178266.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_14383773424581178266.key) [2023-01-11T17:52:14.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:52:15.153Z] + git semver init [2023-01-11T17:52:15.412Z] 2023-01-11 17:52:15,333 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T17:52:15.412Z] 2023-01-11 17:52:15,334 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-210/.semver [2023-01-11T17:52:15.412Z] 2023-01-11 17:52:15,335 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-210/.semver [2023-01-11T17:52:15.412Z] 2023-01-11 17:52:15,335 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-210/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-210, universal_newlines=False, shell=None, istream=None) [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,170 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-210/.git/info/exclude [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 with force:False [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,170 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,174 [execute] INFO git cat-file --batch-check [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,181 [execute] INFO git cat-file --batch [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:52:16.348Z] 2023-01-11 17:52:16,184 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 [2023-01-11T17:52:16.348Z] 0.0.0 [Pipeline] } [2023-01-11T17:52:16.360Z] $ docker exec --env ******** --env ******** 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent -k [2023-01-11T17:52:16.455Z] unset SSH_AUTH_SOCK; [2023-01-11T17:52:16.456Z] unset SSH_AGENT_PID; [2023-01-11T17:52:16.456Z] echo Agent pid 78 killed; [2023-01-11T17:52:16.465Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T17:52:16.871Z] + git semver [Pipeline] } [2023-01-11T17:52:17.143Z] $ docker stop --time=1 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 [2023-01-11T17:52:18.456Z] $ docker rm -f --volumes 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:52:18.792Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T17:52:19.000Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T17:52:19.003Z] [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-01-11T17:52:19.174Z] provisioning config files... [2023-01-11T17:52:19.184Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config13202670100197999113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:52:19.481Z] ---> docker-login.sh [2023-01-11T17:52:19.481Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:52:19.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:19.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:19.481Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:19.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:19.481Z] [2023-01-11T17:52:19.481Z] Login Succeeded [2023-01-11T17:52:19.481Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:52:19.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:19.739Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:19.739Z] [2023-01-11T17:52:19.739Z] Login Succeeded [2023-01-11T17:52:19.739Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:52:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:19.739Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:19.739Z] [2023-01-11T17:52:19.739Z] Login Succeeded [2023-01-11T17:52:19.739Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:52:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:19.739Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:19.739Z] [2023-01-11T17:52:19.739Z] Login Succeeded [2023-01-11T17:52:19.999Z] docker.io [2023-01-11T17:52:19.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:20.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:20.259Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:20.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:20.259Z] [2023-01-11T17:52:20.259Z] Login Succeeded [2023-01-11T17:52:20.259Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:52:20.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:52:20.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:52:20.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:52:20.352Z] ========================================================= [2023-01-11T17:52:20.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T17:52:20.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:20.679Z] + 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-01-11T17:52:20.679Z] Sending build context to Docker daemon 27.68MB [2023-01-11T17:52:20.679Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:52:20.679Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-11T17:52:21.246Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T17:52:21.246Z] 213ec9aee27d: Pulling fs layer [2023-01-11T17:52:21.246Z] 4583459ba037: Pulling fs layer [2023-01-11T17:52:21.246Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T17:52:21.246Z] 53926ce57604: Pulling fs layer [2023-01-11T17:52:21.246Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T17:52:21.246Z] 22ff95d597cd: Pulling fs layer [2023-01-11T17:52:21.246Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T17:52:21.246Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T17:52:21.246Z] a7acece74701: Pulling fs layer [2023-01-11T17:52:21.246Z] 53926ce57604: Waiting [2023-01-11T17:52:21.246Z] 22ff95d597cd: Waiting [2023-01-11T17:52:21.246Z] 12d6caf4c0d1: Waiting [2023-01-11T17:52:21.246Z] 21b2b0c7a3f4: Waiting [2023-01-11T17:52:21.246Z] 96b7cbca73a9: Waiting [2023-01-11T17:52:21.246Z] a7acece74701: Waiting [2023-01-11T17:52:21.246Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T17:52:21.246Z] 93c1e223e6f2: Download complete [2023-01-11T17:52:21.246Z] 4583459ba037: Download complete [2023-01-11T17:52:21.246Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T17:52:21.246Z] 21b2b0c7a3f4: Download complete [2023-01-11T17:52:21.246Z] 22ff95d597cd: Download complete [2023-01-11T17:52:21.246Z] 213ec9aee27d: Verifying Checksum [2023-01-11T17:52:21.246Z] 213ec9aee27d: Download complete [2023-01-11T17:52:21.507Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T17:52:21.507Z] 12d6caf4c0d1: Download complete [2023-01-11T17:52:21.507Z] 213ec9aee27d: Pull complete [2023-01-11T17:52:21.772Z] 4583459ba037: Pull complete [2023-01-11T17:52:21.772Z] 93c1e223e6f2: Pull complete [2023-01-11T17:52:22.032Z] a7acece74701: Verifying Checksum [2023-01-11T17:52:22.032Z] a7acece74701: Download complete [2023-01-11T17:52:22.032Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T17:52:22.032Z] 96b7cbca73a9: Download complete [2023-01-11T17:52:22.187Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1899 in /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] { [Pipeline] ws [2023-01-11T17:52:22.201Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-01-11T17:52:22.236Z] The recommended git tool is: git [2023-01-11T17:52:22.289Z] 53926ce57604: Verifying Checksum [2023-01-11T17:52:22.289Z] 53926ce57604: Download complete [2023-01-11T17:52:26.472Z] 53926ce57604: Pull complete [2023-01-11T17:52:26.472Z] 21b2b0c7a3f4: Pull complete [2023-01-11T17:52:26.472Z] 22ff95d597cd: Pull complete [2023-01-11T17:52:26.472Z] 12d6caf4c0d1: Pull complete [2023-01-11T17:52:28.825Z] using credential edgex-jenkins-ssh [2023-01-11T17:52:28.845Z] Cloning the remote Git repository [2023-01-11T17:52:29.012Z] 96b7cbca73a9: Pull complete [2023-01-11T17:52:29.270Z] a7acece74701: Pull complete [2023-01-11T17:52:29.270Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T17:52:29.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T17:52:29.270Z] ---> db6d94c90886 [2023-01-11T17:52:29.270Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:52:28.897Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-11T17:52:28.992Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-01-11T17:52:29.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-11T17:52:29.162Z] > git --version # timeout=10 [2023-01-11T17:52:29.185Z] > git --version # 'git version 2.25.1' [2023-01-11T17:52:29.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:29.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:52:30.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-11T17:52:30.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:52:31.175Z] ---> Running in 0635d90fc4dc [2023-01-11T17:52:31.434Z] Removing intermediate container 0635d90fc4dc [2023-01-11T17:52:31.434Z] ---> 70dd2bcdb08a [2023-01-11T17:52:31.434Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:52:31.434Z] ---> Running in b6c3594125fd [2023-01-11T17:52:31.434Z] Removing intermediate container b6c3594125fd [2023-01-11T17:52:31.434Z] ---> c7d3a842fd21 [2023-01-11T17:52:31.434Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-11T17:52:31.434Z] ---> Running in db201ba66a56 [2023-01-11T17:52:31.693Z] Removing intermediate container db201ba66a56 [2023-01-11T17:52:31.693Z] ---> 863c7d354a37 [2023-01-11T17:52:31.693Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:52:31.693Z] ---> Running in fa6b338fc890 [2023-01-11T17:52:31.693Z] Removing intermediate container fa6b338fc890 [2023-01-11T17:52:31.693Z] ---> 6b3b0857af10 [2023-01-11T17:52:31.693Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-11T17:52:31.951Z] ---> Running in d5c3352f06c8 [2023-01-11T17:52:31.951Z] Removing intermediate container d5c3352f06c8 [2023-01-11T17:52:31.951Z] ---> 4917a781cbcb [2023-01-11T17:52:31.951Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:52:31.951Z] ---> Running in 6626359962e4 [2023-01-11T17:52:32.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:52:32.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:52:32.469Z] OK: 211 MiB in 51 packages [2023-01-11T17:52:32.508Z] Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [2023-01-11T17:52:31.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-11T17:52:31.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-11T17:52:31.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:31.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T17:52:32.528Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:52:32.550Z] > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 [2023-01-11T17:52:32.989Z] Merge succeeded, producing 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [2023-01-11T17:52:32.989Z] Checking out Revision 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d (PR-210) [2023-01-11T17:52:33.036Z] Removing intermediate container 6626359962e4 [2023-01-11T17:52:33.036Z] ---> e50fc1016296 [2023-01-11T17:52:33.036Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-11T17:52:33.036Z] ---> Running in 56120b57aa84 [2023-01-11T17:52:33.036Z] Removing intermediate container 56120b57aa84 [2023-01-11T17:52:33.036Z] ---> 3a8fecc79e38 [2023-01-11T17:52:33.036Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-11T17:52:33.295Z] ---> 57099620dbfe [2023-01-11T17:52:33.295Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:52:33.295Z] ---> Running in 216cbf826300 [2023-01-11T17:52:32.882Z] > git remote # timeout=10 [2023-01-11T17:52:32.900Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T17:52:32.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:52:32.934Z] > git merge ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 [2023-01-11T17:52:32.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T17:52:32.996Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:52:33.012Z] > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 [2023-01-11T17:52:37.026Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:52:37.865Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T17:52:37.865Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:52:37.865Z] Dload Upload Total Spent Left Speed [2023-01-11T17:52:38.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 31798 0 --:--:-- --:--:-- --:--:-- 31798 [Pipeline] sh [2023-01-11T17:52:38.928Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T17:52:39.265Z] + sudo tee /etc/docker/daemon.new [2023-01-11T17:52:39.265Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T17:52:39.265Z] { [2023-01-11T17:52:39.265Z] "registry-mirrors": [ [2023-01-11T17:52:39.265Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T17:52:39.265Z] ], [2023-01-11T17:52:39.265Z] "bip": "10.250.0.254/24", [2023-01-11T17:52:39.265Z] "hosts": [ [2023-01-11T17:52:39.265Z] "tcp://0.0.0.0:5555", [2023-01-11T17:52:39.265Z] "unix:///var/run/docker.sock" [2023-01-11T17:52:39.265Z] ], [2023-01-11T17:52:39.265Z] "mtu": 1458, [2023-01-11T17:52:39.265Z] "selinux-enabled": true, [2023-01-11T17:52:39.265Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T17:52:39.265Z] } [Pipeline] sh [2023-01-11T17:52:39.598Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T17:52:39.932Z] + sudo service docker restart [2023-01-11T17:52:51.372Z] Removing intermediate container 216cbf826300 [2023-01-11T17:52:51.372Z] ---> a7714c9c7562 [2023-01-11T17:52:51.372Z] Step 12/13 : COPY . . [2023-01-11T17:52:51.938Z] ---> b73e2e39b1d9 [2023-01-11T17:52:51.938Z] Step 13/13 : RUN ${MAKE} [2023-01-11T17:52:51.938Z] ---> Running in d57123b83c6d [2023-01-11T17:52:52.199Z] noop [2023-01-11T17:52:52.457Z] Removing intermediate container d57123b83c6d [2023-01-11T17:52:52.457Z] ---> 13875ef64784 [2023-01-11T17:52:52.457Z] Successfully built 13875ef64784 [2023-01-11T17:52:52.457Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:52.759Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:52:52.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:52:52.823Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2023-01-11T17:52:52.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 ******** ci-base-image-x86_64 cat [2023-01-11T17:52:53.226Z] $ docker top 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:52:53.566Z] + go version [2023-01-11T17:52:53.566Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T17:52:53.578Z] $ docker stop --time=1 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 [2023-01-11T17:52:54.866Z] $ docker rm -f --volumes 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:52:55.277Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:52:55.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:52:55.348Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2023-01-11T17:52:55.376Z] $ 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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 ******** ci-base-image-x86_64 cat [2023-01-11T17:52:55.777Z] $ docker top d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:52:56.160Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:52:56.454Z] + make test [2023-01-11T17:52:56.454Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T17:52:56.712Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:52:58.218Z] provisioning config files... [2023-01-11T17:52:58.247Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config12514902514378198071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:52:58.606Z] ---> docker-login.sh [2023-01-11T17:52:58.606Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:52:59.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:59.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:59.204Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:59.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:59.204Z] [2023-01-11T17:52:59.204Z] Login Succeeded [2023-01-11T17:52:59.204Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:52:59.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:52:59.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:52:59.744Z] Configure a credential helper to remove this warning. See [2023-01-11T17:52:59.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:52:59.744Z] [2023-01-11T17:52:59.744Z] Login Succeeded [2023-01-11T17:52:59.744Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:52:59.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:53:00.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:53:00.025Z] Configure a credential helper to remove this warning. See [2023-01-11T17:53:00.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:53:00.025Z] [2023-01-11T17:53:00.025Z] Login Succeeded [2023-01-11T17:53:00.025Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:53:00.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:53:00.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:53:00.304Z] Configure a credential helper to remove this warning. See [2023-01-11T17:53:00.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:53:00.304Z] [2023-01-11T17:53:00.304Z] Login Succeeded [2023-01-11T17:53:00.304Z] docker.io [2023-01-11T17:53:00.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:53:00.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:53:00.847Z] Configure a credential helper to remove this warning. See [2023-01-11T17:53:00.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:53:00.847Z] [2023-01-11T17:53:00.847Z] Login Succeeded [2023-01-11T17:53:00.847Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:53:00.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:53:01.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:53:01.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:53:01.207Z] ========================================================= [2023-01-11T17:53:01.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T17:53:01.207Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:53:01.563Z] + 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-01-11T17:53:02.150Z] Sending build context to Docker daemon 20.55MB [2023-01-11T17:53:02.151Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:53:02.151Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-11T17:53:02.423Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T17:53:02.423Z] 9b18e9b68314: Pulling fs layer [2023-01-11T17:53:02.423Z] 35d82f9e3411: Pulling fs layer [2023-01-11T17:53:02.423Z] e16973657156: Pulling fs layer [2023-01-11T17:53:02.423Z] fc693d55d65f: Pulling fs layer [2023-01-11T17:53:02.423Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T17:53:02.423Z] dda99020689f: Pulling fs layer [2023-01-11T17:53:02.423Z] db1c61fa0a46: Pulling fs layer [2023-01-11T17:53:02.423Z] 891c053d2c06: Pulling fs layer [2023-01-11T17:53:02.423Z] dda99020689f: Waiting [2023-01-11T17:53:02.423Z] fc693d55d65f: Waiting [2023-01-11T17:53:02.423Z] 7e9fc2657dce: Waiting [2023-01-11T17:53:02.423Z] db1c61fa0a46: Waiting [2023-01-11T17:53:02.423Z] 891c053d2c06: Waiting [2023-01-11T17:53:02.423Z] e16973657156: Verifying Checksum [2023-01-11T17:53:02.423Z] e16973657156: Download complete [2023-01-11T17:53:02.423Z] 35d82f9e3411: Verifying Checksum [2023-01-11T17:53:02.423Z] 35d82f9e3411: Download complete [2023-01-11T17:53:02.423Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T17:53:02.423Z] 7e9fc2657dce: Download complete [2023-01-11T17:53:02.423Z] dda99020689f: Verifying Checksum [2023-01-11T17:53:02.423Z] dda99020689f: Download complete [2023-01-11T17:53:02.423Z] 9b18e9b68314: Verifying Checksum [2023-01-11T17:53:02.423Z] 9b18e9b68314: Download complete [2023-01-11T17:53:03.398Z] 9b18e9b68314: Pull complete [2023-01-11T17:53:03.674Z] 891c053d2c06: Verifying Checksum [2023-01-11T17:53:03.674Z] 891c053d2c06: Download complete [2023-01-11T17:53:03.947Z] 35d82f9e3411: Pull complete [2023-01-11T17:53:04.221Z] e16973657156: Pull complete [2023-01-11T17:53:04.814Z] db1c61fa0a46: Download complete [2023-01-11T17:53:05.403Z] fc693d55d65f: Verifying Checksum [2023-01-11T17:53:05.404Z] fc693d55d65f: Download complete [2023-01-11T17:53:08.912Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-11T17:53:10.815Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements [2023-01-11T17:53:10.815Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-11T17:53:10.815Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.484s coverage: 86.5% of statements [2023-01-11T17:53:17.729Z] fc693d55d65f: Pull complete [2023-01-11T17:53:17.729Z] 7e9fc2657dce: Pull complete [2023-01-11T17:53:17.729Z] dda99020689f: Pull complete [2023-01-11T17:53:18.927Z] 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-01-11T17:53:18.927Z] go vet ./... [2023-01-11T17:53:22.008Z] db1c61fa0a46: Pull complete [2023-01-11T17:53:22.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:53:22.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:53:22.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:53:22.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:53:22.241Z] $ docker stop --time=1 d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a [2023-01-11T17:53:23.972Z] 891c053d2c06: Pull complete [2023-01-11T17:53:23.973Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T17:53:23.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T17:53:23.973Z] ---> f96f9c87975a [2023-01-11T17:53:23.973Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:53:24.111Z] $ docker rm -f --volumes d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:53:24.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:53:24.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T17:53:25.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:53:25.321Z] + ls -al . [2023-01-11T17:53:25.321Z] total 248 [2023-01-11T17:53:25.321Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:52 . [2023-01-11T17:53:25.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 .. [2023-01-11T17:53:25.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:53 .git [2023-01-11T17:53:25.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 .github [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 17:51 .gitignore [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:51 .golangci.yml [2023-01-11T17:53:25.321Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:52 .semver [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 17:51 Attribution.txt [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 17:51 CHANGELOG.md [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 17:51 Dockerfile [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:51 GOVERNANCE.md [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 17:51 Jenkinsfile [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 17:51 LICENSE [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 17:51 Makefile [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 17:51 OWNERS.md [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 17:51 README.md [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:52 VERSION [2023-01-11T17:53:25.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 bin [2023-01-11T17:53:25.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 cmd [2023-01-11T17:53:25.321Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 17:53 coverage.out [2023-01-11T17:53:25.321Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:51 doc [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 17:51 go.mod [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 17:51 go.sum [2023-01-11T17:53:25.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 internal [2023-01-11T17:53:25.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 snap [2023-01-11T17:53:25.321Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:53:25.630Z] + 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=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d --label arch=amd64 --label version=0.0.0 . [2023-01-11T17:53:25.630Z] Sending build context to Docker daemon 27.76MB [2023-01-11T17:53:25.630Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:53:25.630Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-11T17:53:25.630Z] ---> 13875ef64784 [2023-01-11T17:53:25.630Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:53:25.890Z] ---> Running in 827f606b4c46 [2023-01-11T17:53:25.890Z] Removing intermediate container 827f606b4c46 [2023-01-11T17:53:25.890Z] ---> 50f81bf3918a [2023-01-11T17:53:25.890Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:53:25.890Z] ---> Running in d40835eaa871 [2023-01-11T17:53:26.155Z] Removing intermediate container d40835eaa871 [2023-01-11T17:53:26.155Z] ---> 305bed63e3d3 [2023-01-11T17:53:26.155Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-11T17:53:26.155Z] ---> Running in 792635ccb4cb [2023-01-11T17:53:26.155Z] Removing intermediate container 792635ccb4cb [2023-01-11T17:53:26.155Z] ---> 6cb2ed8d96d0 [2023-01-11T17:53:26.155Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:53:26.414Z] ---> Running in 9d0339ed4ffc [2023-01-11T17:53:26.414Z] Removing intermediate container 9d0339ed4ffc [2023-01-11T17:53:26.414Z] ---> f489b27f4f9b [2023-01-11T17:53:26.414Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-11T17:53:26.414Z] ---> Running in 9248887cd44f [2023-01-11T17:53:26.414Z] Removing intermediate container 9248887cd44f [2023-01-11T17:53:26.414Z] ---> 89a365addce8 [2023-01-11T17:53:26.414Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:53:26.601Z] ---> Running in 80e829362e9a [2023-01-11T17:53:26.601Z] Removing intermediate container 80e829362e9a [2023-01-11T17:53:26.601Z] ---> b8e72768379c [2023-01-11T17:53:26.601Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:53:26.672Z] ---> Running in 4fb37ba8126a [2023-01-11T17:53:26.871Z] ---> Running in 2cd12657041a [2023-01-11T17:53:26.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:53:26.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:53:27.141Z] Removing intermediate container 2cd12657041a [2023-01-11T17:53:27.141Z] ---> 5e0a800c5052 [2023-01-11T17:53:27.141Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-11T17:53:27.141Z] ---> Running in 38ab73bb9659 [2023-01-11T17:53:27.189Z] OK: 211 MiB in 51 packages [2023-01-11T17:53:27.410Z] Removing intermediate container 38ab73bb9659 [2023-01-11T17:53:27.410Z] ---> d5170fc007cb [2023-01-11T17:53:27.410Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:53:27.679Z] ---> Running in 760f048f1795 [2023-01-11T17:53:27.949Z] Removing intermediate container 760f048f1795 [2023-01-11T17:53:27.949Z] ---> 3d87d07d4712 [2023-01-11T17:53:27.949Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-11T17:53:27.949Z] ---> Running in 0a162dd4e30e [2023-01-11T17:53:28.126Z] Removing intermediate container 4fb37ba8126a [2023-01-11T17:53:28.126Z] ---> d70db99cea0f [2023-01-11T17:53:28.126Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-11T17:53:28.126Z] ---> Running in be5a59c4618d [2023-01-11T17:53:28.386Z] Removing intermediate container be5a59c4618d [2023-01-11T17:53:28.386Z] ---> edd7ed1da42a [2023-01-11T17:53:28.386Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-11T17:53:28.386Z] ---> 020b398abdb3 [2023-01-11T17:53:28.386Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:53:28.386Z] ---> Running in 7afc01f56524 [2023-01-11T17:53:28.534Z] Removing intermediate container 0a162dd4e30e [2023-01-11T17:53:28.534Z] ---> f6a36fc60f5a [2023-01-11T17:53:28.534Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:53:28.534Z] ---> Running in f137a2447ac9 [2023-01-11T17:53:29.323Z] Removing intermediate container 7afc01f56524 [2023-01-11T17:53:29.323Z] ---> 7986eaaa9521 [2023-01-11T17:53:29.323Z] Step 12/26 : COPY . . [2023-01-11T17:53:29.892Z] ---> 42f398547133 [2023-01-11T17:53:29.892Z] Step 13/26 : RUN ${MAKE} [2023-01-11T17:53:29.892Z] ---> Running in d2caff57941d [2023-01-11T17:53:29.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:53:29.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:53:30.151Z] 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-01-11T17:53:30.924Z] OK: 221 MiB in 51 packages [2023-01-11T17:53:32.339Z] Removing intermediate container f137a2447ac9 [2023-01-11T17:53:32.339Z] ---> 021465ebf4d6 [2023-01-11T17:53:32.339Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-11T17:53:32.339Z] ---> Running in b95f9268d047 [2023-01-11T17:53:32.609Z] Removing intermediate container b95f9268d047 [2023-01-11T17:53:32.609Z] ---> edab9a927fc8 [2023-01-11T17:53:32.609Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-11T17:53:33.194Z] ---> 450fb6db4c9f [2023-01-11T17:53:33.194Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:53:33.464Z] ---> Running in b739789ff43c [2023-01-11T17:53:52.081Z] Removing intermediate container d2caff57941d [2023-01-11T17:53:52.081Z] ---> 4c4e2b0f8e0e [2023-01-11T17:53:52.081Z] Step 14/26 : FROM alpine:3.16 [2023-01-11T17:53:52.340Z] 3.16: Pulling from library/alpine [2023-01-11T17:53:52.340Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T17:53:52.598Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T17:53:52.598Z] ca7dd9ec2225: Download complete [2023-01-11T17:53:52.598Z] ca7dd9ec2225: Pull complete [2023-01-11T17:53:52.598Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T17:53:52.598Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T17:53:52.598Z] ---> bfe296a52501 [2023-01-11T17:53:52.598Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-11T17:53:52.860Z] ---> Running in 668a520291c0 [2023-01-11T17:53:53.118Z] Removing intermediate container 668a520291c0 [2023-01-11T17:53:53.118Z] ---> 4f8a22c9b83a [2023-01-11T17:53:53.118Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-11T17:53:53.118Z] ---> Running in 7bdaee66f960 [2023-01-11T17:53:53.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:53:53.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:53:53.898Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T17:53:53.898Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:53:53.898Z] OK: 6 MiB in 15 packages [2023-01-11T17:53:54.573Z] Removing intermediate container 7bdaee66f960 [2023-01-11T17:53:54.573Z] ---> 88ed11c5ea23 [2023-01-11T17:53:54.573Z] Step 17/26 : WORKDIR / [2023-01-11T17:53:54.573Z] ---> Running in 2001148c5171 [2023-01-11T17:53:54.573Z] Removing intermediate container 2001148c5171 [2023-01-11T17:53:54.573Z] ---> ca6b7e35f0a1 [2023-01-11T17:53:54.573Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-11T17:53:55.516Z] ---> 6499ffb47085 [2023-01-11T17:53:55.516Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-11T17:53:55.516Z] ---> c5dec85f27a7 [2023-01-11T17:53:55.516Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-11T17:53:55.776Z] ---> 3caa3ffea508 [2023-01-11T17:53:55.777Z] Step 21/26 : EXPOSE 59984 [2023-01-11T17:53:55.777Z] ---> Running in 11f7cdf3c48c [2023-01-11T17:53:56.036Z] Removing intermediate container 11f7cdf3c48c [2023-01-11T17:53:56.036Z] ---> ca0acb084a0a [2023-01-11T17:53:56.036Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-11T17:53:56.036Z] ---> Running in 367223c5ec5e [2023-01-11T17:53:56.036Z] Removing intermediate container 367223c5ec5e [2023-01-11T17:53:56.036Z] ---> 1c131502ce00 [2023-01-11T17:53:56.036Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T17:53:56.036Z] ---> Running in f948abce1f32 [2023-01-11T17:53:56.295Z] Removing intermediate container f948abce1f32 [2023-01-11T17:53:56.295Z] ---> fbf2418ef072 [2023-01-11T17:53:56.295Z] Step 24/26 : LABEL arch=amd64 [2023-01-11T17:53:56.295Z] ---> Running in 8cb09bf7802f [2023-01-11T17:53:56.554Z] Removing intermediate container 8cb09bf7802f [2023-01-11T17:53:56.554Z] ---> 7f256ad67ef4 [2023-01-11T17:53:56.554Z] Step 25/26 : LABEL git_sha=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [2023-01-11T17:53:56.554Z] ---> Running in d8313fdeeba3 [2023-01-11T17:53:56.814Z] Removing intermediate container d8313fdeeba3 [2023-01-11T17:53:56.814Z] ---> fe3c5778dbf6 [2023-01-11T17:53:56.814Z] Step 26/26 : LABEL version=0.0.0 [2023-01-11T17:53:56.814Z] ---> Running in 1f31c852dbff [2023-01-11T17:53:56.814Z] Removing intermediate container 1f31c852dbff [2023-01-11T17:53:56.814Z] ---> 582d00d51e78 [2023-01-11T17:53:56.814Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:53:56.814Z] Successfully built 582d00d51e78 [2023-01-11T17:53:56.814Z] 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-01-11T17:53:57.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:53:57.242Z] [2023-01-11T17:53:57.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:53:57.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:53:57.540Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T17:53:57.540Z] 5eb5b503b376: Pulling fs layer [2023-01-11T17:53:57.540Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T17:53:57.540Z] ec43610c2a17: Pulling fs layer [2023-01-11T17:53:57.540Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T17:53:57.540Z] 33b1e0a273af: Pulling fs layer [2023-01-11T17:53:57.540Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T17:53:57.540Z] 2f39f015ded8: Pulling fs layer [2023-01-11T17:53:57.540Z] 3a2ae6a8a46f: Waiting [2023-01-11T17:53:57.540Z] 33b1e0a273af: Waiting [2023-01-11T17:53:57.540Z] 5d3b04190fa2: Waiting [2023-01-11T17:53:57.540Z] 2f39f015ded8: Waiting [2023-01-11T17:53:57.540Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T17:53:57.540Z] 5c69ac0246d0: Download complete [2023-01-11T17:53:57.540Z] 3a2ae6a8a46f: Download complete [2023-01-11T17:53:57.799Z] 33b1e0a273af: Verifying Checksum [2023-01-11T17:53:57.799Z] 33b1e0a273af: Download complete [2023-01-11T17:53:57.799Z] ec43610c2a17: Verifying Checksum [2023-01-11T17:53:57.799Z] ec43610c2a17: Download complete [2023-01-11T17:53:57.799Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T17:53:57.799Z] 5d3b04190fa2: Download complete [2023-01-11T17:53:57.799Z] 5eb5b503b376: Verifying Checksum [2023-01-11T17:53:57.799Z] 5eb5b503b376: Download complete [2023-01-11T17:53:58.732Z] 2f39f015ded8: Download complete [2023-01-11T17:53:59.298Z] 5eb5b503b376: Pull complete [2023-01-11T17:53:59.298Z] 5c69ac0246d0: Pull complete [2023-01-11T17:53:59.863Z] ec43610c2a17: Pull complete [2023-01-11T17:53:59.863Z] 3a2ae6a8a46f: Pull complete [2023-01-11T17:54:00.121Z] 33b1e0a273af: Pull complete [2023-01-11T17:54:00.121Z] 5d3b04190fa2: Pull complete [2023-01-11T17:54:05.383Z] 2f39f015ded8: Pull complete [2023-01-11T17:54:05.383Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T17:54:05.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:54:05.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:54:05.461Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2023-01-11T17:54:05.490Z] $ 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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T17:54:07.547Z] $ docker top 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:54:07.919Z] ---> job-cost.sh [2023-01-11T17:54:07.919Z] lf-activate-venv: SKIPPING [2023-01-11T17:54:07.919Z] INFO: No Stack... [2023-01-11T17:54:08.177Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:54:08.743Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:54:09.027Z] + cat /w/workspace/undry_device-onvif-camera_PR-210/archives/cost.csv [2023-01-11T17:54:09.027Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:54:09.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [2023-01-11T17:54:09.051Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] did not exist. Created. [2023-01-11T17:54:09.051Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:54:09.344Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T17:54:09.378Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:54:09.384Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:54:09.400Z] $ docker stop --time=1 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 [2023-01-11T17:54:10.568Z] $ docker rm -f --volumes 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T17:54:29.929Z] Removing intermediate container b739789ff43c [2023-01-11T17:54:29.929Z] ---> f53dba76b175 [2023-01-11T17:54:29.929Z] Step 12/13 : COPY . . [2023-01-11T17:54:29.929Z] ---> 57b40ba9b5ab [2023-01-11T17:54:29.929Z] Step 13/13 : RUN ${MAKE} [2023-01-11T17:54:29.929Z] ---> Running in 1302110b21cf [2023-01-11T17:54:30.517Z] noop [2023-01-11T17:54:31.116Z] Removing intermediate container 1302110b21cf [2023-01-11T17:54:31.116Z] ---> ee3f990800ba [2023-01-11T17:54:31.116Z] Successfully built ee3f990800ba [2023-01-11T17:54:31.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:54:31.481Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:54:31.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:54:31.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2023-01-11T17:54:31.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2023-01-11T17:54:33.008Z] $ docker top a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:54:33.848Z] + go version [2023-01-11T17:54:33.848Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T17:54:33.869Z] $ docker stop --time=1 a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 [2023-01-11T17:54:35.630Z] $ docker rm -f --volumes a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:54:36.180Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:54:36.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:54:36.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2023-01-11T17:54:36.453Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2023-01-11T17:54:37.862Z] $ docker top 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:54:38.709Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:54:39.368Z] + make test [2023-01-11T17:54:39.368Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T17:54:41.321Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-11T17:56:33.051Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-11T17:56:33.051Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 29.3% of statements [2023-01-11T17:56:33.051Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-11T17:56:48.120Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.597s coverage: 86.5% of statements [2023-01-11T17:56:48.391Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T17:56:48.391Z] go vet ./... [2023-01-11T17:57:27.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:57:27.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:57:27.354Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:57:27.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:57:27.388Z] $ docker stop --time=1 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e [2023-01-11T17:57:29.692Z] $ docker rm -f --volumes 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:57:30.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:57:30.874Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T17:57:31.631Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:57:32.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:57:32.360Z] + ls -al . [2023-01-11T17:57:32.360Z] total 244 [2023-01-11T17:57:32.360Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 17:54 . [2023-01-11T17:57:32.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 .. [2023-01-11T17:57:32.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:52 .git [2023-01-11T17:57:32.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 .github [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 17:52 .gitignore [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:52 .golangci.yml [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 17:52 Attribution.txt [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 17:52 CHANGELOG.md [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 17:52 Dockerfile [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:52 GOVERNANCE.md [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 17:52 Jenkinsfile [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 17:52 LICENSE [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 17:52 Makefile [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 17:52 OWNERS.md [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 17:52 README.md [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:52 VERSION [2023-01-11T17:57:32.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:52 bin [2023-01-11T17:57:32.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 cmd [2023-01-11T17:57:32.360Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 17:56 coverage.out [2023-01-11T17:57:32.360Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:52 doc [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 17:52 go.mod [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 17:52 go.sum [2023-01-11T17:57:32.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 internal [2023-01-11T17:57:32.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 snap [2023-01-11T17:57:32.360Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:57:32.708Z] + 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=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d --label arch=arm64 --label version=0.0.0 . [2023-01-11T17:57:33.682Z] Sending build context to Docker daemon 20.63MB [2023-01-11T17:57:33.682Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:57:33.682Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-11T17:57:33.682Z] ---> ee3f990800ba [2023-01-11T17:57:33.682Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:57:33.682Z] ---> Running in d2be8ef4a3de [2023-01-11T17:57:34.274Z] Removing intermediate container d2be8ef4a3de [2023-01-11T17:57:34.274Z] ---> 590b789648fc [2023-01-11T17:57:34.274Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:57:34.274Z] ---> Running in 328ed05cc1c5 [2023-01-11T17:57:34.545Z] Removing intermediate container 328ed05cc1c5 [2023-01-11T17:57:34.545Z] ---> c84e8fa80989 [2023-01-11T17:57:34.545Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-11T17:57:34.827Z] ---> Running in 551310ddafd6 [2023-01-11T17:57:35.097Z] Removing intermediate container 551310ddafd6 [2023-01-11T17:57:35.097Z] ---> 0b3d44ae3e49 [2023-01-11T17:57:35.097Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:57:35.097Z] ---> Running in 0113a9d3c48f [2023-01-11T17:57:35.369Z] Removing intermediate container 0113a9d3c48f [2023-01-11T17:57:35.369Z] ---> 896dc27a5851 [2023-01-11T17:57:35.369Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-11T17:57:35.646Z] ---> Running in cc47c6790c79 [2023-01-11T17:57:35.917Z] Removing intermediate container cc47c6790c79 [2023-01-11T17:57:35.917Z] ---> ce64533ecb67 [2023-01-11T17:57:35.917Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:57:35.917Z] ---> Running in 842ce5ed83d1 [2023-01-11T17:57:38.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:57:39.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:57:40.534Z] OK: 221 MiB in 51 packages [2023-01-11T17:57:41.518Z] Removing intermediate container 842ce5ed83d1 [2023-01-11T17:57:41.518Z] ---> 59c780aa2a97 [2023-01-11T17:57:41.518Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-11T17:57:41.791Z] ---> Running in 3cd088817e31 [2023-01-11T17:57:42.382Z] Removing intermediate container 3cd088817e31 [2023-01-11T17:57:42.382Z] ---> 91d31cfe0230 [2023-01-11T17:57:42.382Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-11T17:57:43.374Z] ---> ad94a7e6eb6a [2023-01-11T17:57:43.374Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:57:43.374Z] ---> Running in 286b0c3f39cd [2023-01-11T17:57:48.767Z] Removing intermediate container 286b0c3f39cd [2023-01-11T17:57:48.767Z] ---> c04a68c91432 [2023-01-11T17:57:48.767Z] Step 12/26 : COPY . . [2023-01-11T17:57:52.369Z] ---> d4357b421e89 [2023-01-11T17:57:52.369Z] Step 13/26 : RUN ${MAKE} [2023-01-11T17:57:52.369Z] ---> Running in dae23911cdac [2023-01-11T17:57:53.835Z] 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-01-11T18:00:30.639Z] Removing intermediate container dae23911cdac [2023-01-11T18:00:30.639Z] ---> 1cc759389211 [2023-01-11T18:00:30.639Z] Step 14/26 : FROM alpine:3.16 [2023-01-11T18:00:30.639Z] 3.16: Pulling from library/alpine [2023-01-11T18:00:30.639Z] 6875df1f5354: Pulling fs layer [2023-01-11T18:00:30.639Z] 6875df1f5354: Verifying Checksum [2023-01-11T18:00:30.639Z] 6875df1f5354: Pull complete [2023-01-11T18:00:30.639Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T18:00:30.639Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T18:00:30.639Z] ---> 2b4661558fb8 [2023-01-11T18:00:30.639Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-11T18:00:30.639Z] ---> Running in c186c614e6ed [2023-01-11T18:00:30.639Z] Removing intermediate container c186c614e6ed [2023-01-11T18:00:30.639Z] ---> a6b81d8b7f82 [2023-01-11T18:00:30.639Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-11T18:00:30.639Z] ---> Running in 0038ca636059 [2023-01-11T18:00:30.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:00:30.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:00:30.639Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T18:00:30.639Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:00:30.639Z] OK: 5 MiB in 15 packages [2023-01-11T18:00:30.639Z] Removing intermediate container 0038ca636059 [2023-01-11T18:00:30.639Z] ---> f0fe3b5991ab [2023-01-11T18:00:30.639Z] Step 17/26 : WORKDIR / [2023-01-11T18:00:30.639Z] ---> Running in 7f6730a6d496 [2023-01-11T18:00:30.639Z] Removing intermediate container 7f6730a6d496 [2023-01-11T18:00:30.639Z] ---> db9b4dea5b35 [2023-01-11T18:00:30.639Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-11T18:00:30.639Z] ---> 43ceaf773954 [2023-01-11T18:00:30.639Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-11T18:00:30.639Z] ---> 03047afcbfa6 [2023-01-11T18:00:30.639Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-11T18:00:30.639Z] ---> 4e3333346b89 [2023-01-11T18:00:30.639Z] Step 21/26 : EXPOSE 59984 [2023-01-11T18:00:30.639Z] ---> Running in 59abe4902701 [2023-01-11T18:00:30.639Z] Removing intermediate container 59abe4902701 [2023-01-11T18:00:30.639Z] ---> 1619c7f0ae89 [2023-01-11T18:00:30.639Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-11T18:00:30.639Z] ---> Running in 722265c79d47 [2023-01-11T18:00:30.639Z] Removing intermediate container 722265c79d47 [2023-01-11T18:00:30.639Z] ---> 2b0d8c4ef36d [2023-01-11T18:00:30.639Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T18:00:30.639Z] ---> Running in b8b37a1d9638 [2023-01-11T18:00:30.639Z] Removing intermediate container b8b37a1d9638 [2023-01-11T18:00:30.639Z] ---> 487e1368648c [2023-01-11T18:00:30.639Z] Step 24/26 : LABEL arch=arm64 [2023-01-11T18:00:30.639Z] ---> Running in 04879b17b7dc [2023-01-11T18:00:30.639Z] Removing intermediate container 04879b17b7dc [2023-01-11T18:00:30.639Z] ---> e7b004b2dd18 [2023-01-11T18:00:30.639Z] Step 25/26 : LABEL git_sha=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [2023-01-11T18:00:30.639Z] ---> Running in 0641fe37b0ca [2023-01-11T18:00:30.639Z] Removing intermediate container 0641fe37b0ca [2023-01-11T18:00:30.639Z] ---> 1f2cecfa7416 [2023-01-11T18:00:30.639Z] Step 26/26 : LABEL version=0.0.0 [2023-01-11T18:00:30.639Z] ---> Running in 2fe9942e8d98 [2023-01-11T18:00:30.639Z] Removing intermediate container 2fe9942e8d98 [2023-01-11T18:00:30.639Z] ---> 3997ca5dd66a [2023-01-11T18:00:30.639Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:00:30.639Z] Successfully built 3997ca5dd66a [2023-01-11T18:00:30.639Z] 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-01-11T18:00:31.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:00:31.057Z] [2023-01-11T18:00:31.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:00:31.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:00:31.385Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T18:00:31.385Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T18:00:31.385Z] 04944245beec: Pulling fs layer [2023-01-11T18:00:31.385Z] 699f458cf7ca: Pulling fs layer [2023-01-11T18:00:31.385Z] 765212b225bb: Pulling fs layer [2023-01-11T18:00:31.385Z] f23df028b6ca: Pulling fs layer [2023-01-11T18:00:31.385Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T18:00:31.385Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T18:00:31.385Z] f23df028b6ca: Waiting [2023-01-11T18:00:31.385Z] d65c8cfc05b1: Waiting [2023-01-11T18:00:31.385Z] 2437ff75d9bd: Waiting [2023-01-11T18:00:31.385Z] 765212b225bb: Waiting [2023-01-11T18:00:31.654Z] 04944245beec: Verifying Checksum [2023-01-11T18:00:31.654Z] 04944245beec: Download complete [2023-01-11T18:00:31.654Z] 765212b225bb: Verifying Checksum [2023-01-11T18:00:31.654Z] 765212b225bb: Download complete [2023-01-11T18:00:31.654Z] f23df028b6ca: Verifying Checksum [2023-01-11T18:00:31.654Z] f23df028b6ca: Download complete [2023-01-11T18:00:31.654Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T18:00:31.654Z] d65c8cfc05b1: Download complete [2023-01-11T18:00:31.922Z] 699f458cf7ca: Verifying Checksum [2023-01-11T18:00:31.922Z] 699f458cf7ca: Download complete [2023-01-11T18:00:32.190Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T18:00:32.190Z] 8998bd30e6a1: Download complete [2023-01-11T18:00:34.131Z] 2437ff75d9bd: Download complete [2023-01-11T18:00:36.070Z] 8998bd30e6a1: Pull complete [2023-01-11T18:00:36.336Z] 04944245beec: Pull complete [2023-01-11T18:00:37.743Z] 699f458cf7ca: Pull complete [2023-01-11T18:00:38.010Z] 765212b225bb: Pull complete [2023-01-11T18:00:38.592Z] f23df028b6ca: Pull complete [2023-01-11T18:00:38.862Z] d65c8cfc05b1: Pull complete [2023-01-11T18:00:53.841Z] 2437ff75d9bd: Pull complete [2023-01-11T18:00:53.841Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T18:00:53.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:00:53.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:00:54.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2023-01-11T18:00:54.107Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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:arm64 cat [2023-01-11T18:00:56.933Z] $ docker top 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:00:57.796Z] ---> job-cost.sh [2023-01-11T18:00:57.796Z] lf-activate-venv: SKIPPING [2023-01-11T18:00:57.796Z] INFO: No Stack... [2023-01-11T18:00:58.378Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T18:00:58.963Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:00:59.289Z] + + catcut /w/workspace/device-onvif-camera/2/archives/cost.csv -d, [2023-01-11T18:00:59.289Z] -f6 [Pipeline] lock [2023-01-11T18:00:59.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [2023-01-11T18:00:59.631Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] did not exist. Created. [2023-01-11T18:00:59.631Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:01:00.297Z] /w/workspace/device-onvif-camera/2@tmp/durable-f30dbd45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T18:01:00.948Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T18:01:00.966Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T18:01:01.048Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:01:01.055Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:01:01.071Z] $ docker stop --time=1 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 [2023-01-11T18:01:02.589Z] $ docker rm -f --volumes 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 [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-01-11T18:01:02.959Z] provisioning config files... [2023-01-11T18:01:02.966Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config5078212475019018086tmp [Pipeline] { [Pipeline] sh [2023-01-11T18:01:03.251Z] + set +x [2023-01-11T18:01:03.251Z] + curl -s https://codecov.io/bash [2023-01-11T18:01:03.251Z] + bash -s -- [2023-01-11T18:01:03.251Z] [2023-01-11T18:01:03.251Z] _____ _ [2023-01-11T18:01:03.251Z] / ____| | | [2023-01-11T18:01:03.251Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T18:01:03.251Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T18:01:03.251Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T18:01:03.251Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T18:01:03.251Z] Bash-1.0.6 [2023-01-11T18:01:03.251Z] [2023-01-11T18:01:03.251Z] [2023-01-11T18:01:03.251Z] ==> git version 2.25.1 found [2023-01-11T18:01:03.251Z] ==> 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-01-11T18:01:03.251Z] Release-Date: 2020-01-08 [2023-01-11T18:01:03.251Z] 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-01-11T18:01:03.251Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T18:01:03.251Z] ==> Jenkins CI detected. [2023-01-11T18:01:03.251Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-210 [2023-01-11T18:01:03.251Z] project root: . [2023-01-11T18:01:03.251Z] --> token set from env [2023-01-11T18:01:03.251Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T18:01:03.251Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T18:01:03.251Z] ==> Python coveragepy not found [2023-01-11T18:01:03.251Z] ==> Searching for coverage reports in: [2023-01-11T18:01:03.251Z] + . [2023-01-11T18:01:03.251Z] -> Found 1 reports [2023-01-11T18:01:03.251Z] ==> Detecting git/mercurial file structure [2023-01-11T18:01:03.251Z] ==> Reading reports [2023-01-11T18:01:03.251Z] + ./coverage.out bytes=79184 [2023-01-11T18:01:03.251Z] ==> Appending adjustments [2023-01-11T18:01:03.251Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T18:01:03.510Z] + Found adjustments [2023-01-11T18:01:03.510Z] ==> Gzipping contents [2023-01-11T18:01:03.510Z] 12K /tmp/codecov.16yvv7.gz [2023-01-11T18:01:03.510Z] ==> Uploading reports [2023-01-11T18:01:03.510Z] url: https://codecov.io [2023-01-11T18:01:03.510Z] query: branch=PR-210&commit=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=210&job=&cmd_args= [2023-01-11T18:01:03.510Z] -> Pinging Codecov [2023-01-11T18:01:03.510Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-210&commit=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=210&job=&cmd_args= [2023-01-11T18:01:04.449Z] -> Uploading to [2023-01-11T18:01:04.449Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/F29A59C45E3A92E06B3E522C9905F8EF/02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d/e405d958-9572-4164-8d14-d038adf1f7bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T180104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1c88b03f84b26246439e646805ca197e76e91e5343a39cc97602b7744838eba [2023-01-11T18:01:04.449Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:01:04.449Z] Dload Upload Total Spent Left Speed [2023-01-11T18:01:04.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10874 0 0 100 10874 0 53303 --:--:-- --:--:-- --:--:-- 53303 100 10874 0 0 100 10874 0 48981 --:--:-- --:--:-- --:--:-- 48762 [2023-01-11T18:01:04.708Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] } [2023-01-11T18:01:04.715Z] 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-01-11T18:01:05.369Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-210/archives ] [2023-01-11T18:01:05.369Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives [2023-01-11T18:01:05.369Z] total 16 [2023-01-11T18:01:05.369Z] drwxr-xr-x 3 root root 4096 Jan 11 17:54 . [2023-01-11T18:01:05.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:54 .. [2023-01-11T18:01:05.369Z] drwxr-xr-x 2 root root 4096 Jan 11 17:54 cost [2023-01-11T18:01:05.369Z] -rw-r--r-- 1 root root 91 Jan 11 17:54 cost.csv [2023-01-11T18:01:05.369Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-210/archives [2023-01-11T18:01:05.369Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives [2023-01-11T18:01:05.369Z] total 16 [2023-01-11T18:01:05.369Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:54 . [2023-01-11T18:01:05.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:54 .. [2023-01-11T18:01:05.369Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:54 cost [2023-01-11T18:01:05.369Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 11 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:05.662Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:06.522Z] ---> package-listing.sh [2023-01-11T18:01:06.522Z] ++ facter osfamily [2023-01-11T18:01:06.522Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T18:01:06.782Z] + OS_FAMILY=debian [2023-01-11T18:01:06.782Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-210 [2023-01-11T18:01:06.782Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T18:01:06.782Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T18:01:06.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T18:01:06.782Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T18:01:06.782Z] + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' [2023-01-11T18:01:06.782Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T18:01:06.782Z] + case "${OS_FAMILY}" in [2023-01-11T18:01:06.782Z] + dpkg -l [2023-01-11T18:01:06.782Z] + grep '^ii' [2023-01-11T18:01:06.782Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T18:01:06.782Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T18:01:06.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T18:01:06.782Z] + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' [2023-01-11T18:01:06.782Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-210/archives/ [2023-01-11T18:01:06.782Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-210/archives/ [Pipeline] echo [2023-01-11T18:01:06.839Z] 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-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T18:01:07.115Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:01:07.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:01:07.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:01:07.737Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2023-01-11T18:01:07.772Z] $ 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-210/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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T18:01:07.981Z] $ docker top 131e8e5da35efd79ccf0c2ee7be84af8457098b2559222c8751affe7c316f3e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:01:08.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T18:01:08.611Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T18:01:08.898Z] + ls /var/log/sa-host [2023-01-11T18:01:08.898Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:01:08.958Z] provisioning config files... [2023-01-11T18:01:08.965Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config16447340033058227759tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:01:08.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:09.262Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T18:01:09.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:09.585Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T18:01:09.594Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:09.885Z] ---> sudo-logs.sh [2023-01-11T18:01:09.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T18:01:09.918Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:10.200Z] ---> job-cost.sh [2023-01-11T18:01:10.201Z] lf-activate-venv: SKIPPING [2023-01-11T18:01:10.201Z] DEBUG: total: 0.2199999988079071 [2023-01-11T18:01:10.201Z] INFO: Retrieving Stack Cost... [2023-01-11T18:01:10.465Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:01:11.035Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T18:01:11.048Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:01:11.330Z] ---> logs-deploy.sh [2023-01-11T18:01:11.330Z] lf-activate-venv: SKIPPING [2023-01-11T18:01:11.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-210/2 [2023-01-11T18:01:11.330Z] INFO: archiving workspace using pattern(s): [2023-01-11T18:01:12.267Z] Archives upload complete. [2023-01-11T18:01:12.267Z] INFO: archiving logs to Nexus