Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 534d54d80dfdf3cc40f745c878f64c5fa0889f6b+78b20017cd6d168da65a59796ad356de40fef842 (eb0432e17cabce8c4e0b497bf857f34b0a536c9d) 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-ssh17719478242394604800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh9068223319295741355.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-77/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-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9041953096671898217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15821572835642344817.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-77/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-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11365173527618943731.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2385 in /w/workspace/oundry_device-onvif-camera_PR-77 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-77 # 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 78b20017cd6d168da65a59796ad356de40fef842 into PR head commit 534d54d80dfdf3cc40f745c878f64c5fa0889f6b Merge succeeded, producing d294649dd3c9e6343319687f1c4878187362b3b0 Checking out Revision d294649dd3c9e6343319687f1c4878187362b3b0 (PR-77) > 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/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78b20017cd6d168da65a59796ad356de40fef842 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d294649dd3c9e6343319687f1c4878187362b3b0 # timeout=10 Commit message: "Merge commit '78b20017cd6d168da65a59796ad356de40fef842' into HEAD" > git rev-list --no-walk 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-14T10:10:19.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-14T10:10:19.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-14T10:10:19.582Z] ========================================================= [2022-06-14T10:10:19.582Z] EdgeX Global Pipelines Version Info [2022-06-14T10:10:19.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:10:20.350Z] ------------------- [2022-06-14T10:10:20.350Z] stable info: [2022-06-14T10:10:20.351Z] ------------------- [2022-06-14T10:10:20.351Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-14T10:10:20.351Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T10:10:20.351Z] Message: update stable to v1.0.234 [2022-06-14T10:10:20.924Z] ------------------- [2022-06-14T10:10:20.924Z] experimental info: [2022-06-14T10:10:20.924Z] ------------------- [2022-06-14T10:10:20.924Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-14T10:10:20.924Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T10:10:20.924Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-14T10:10:21.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-14T10:10:21.193Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-14T10:10:21.205Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-14T10:10:21.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-14T10:10:21.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-14T10:10:21.240Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-14T10:10:21.251Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-14T10:10:21.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-14T10:10:21.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-14T10:10:21.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-14T10:10:21.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-14T10:10:21.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-14T10:10:21.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-14T10:10:21.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-14T10:10:21.342Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T10:10:21.355Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T10:10:21.367Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T10:10:21.377Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T10:10:21.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-14T10:10:21.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-14T10:10:21.411Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-14T10:10:21.422Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-14T10:10:21.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-14T10:10:21.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-14T10:10:21.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-14T10:10:21.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-14T10:10:21.475Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-14T10:10:21.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2022-06-14T10:10:21.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2022-06-14T10:10:21.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2022-06-14T10:10:21.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d294649dd3c9e6343319687f1c4878187362b3b0 [Pipeline] echo [2022-06-14T10:10:21.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d294649 [Pipeline] echo [2022-06-14T10:10:21.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T10:10:21.587Z] provisioning config files... [2022-06-14T10:10:21.602Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config943792477801620176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:10:21.950Z] ---> docker-login.sh [2022-06-14T10:10:21.950Z] nexus3.edgexfoundry.org:10001 [2022-06-14T10:10:22.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:22.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:22.210Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:22.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:22.210Z] [2022-06-14T10:10:22.210Z] Login Succeeded [2022-06-14T10:10:22.210Z] nexus3.edgexfoundry.org:10002 [2022-06-14T10:10:22.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:22.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:22.472Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:22.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:22.472Z] [2022-06-14T10:10:22.472Z] Login Succeeded [2022-06-14T10:10:22.472Z] nexus3.edgexfoundry.org:10003 [2022-06-14T10:10:22.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:22.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:22.472Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:22.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:22.472Z] [2022-06-14T10:10:22.472Z] Login Succeeded [2022-06-14T10:10:22.733Z] nexus3.edgexfoundry.org:10004 [2022-06-14T10:10:22.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:22.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:22.733Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:22.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:22.733Z] [2022-06-14T10:10:22.733Z] Login Succeeded [2022-06-14T10:10:22.733Z] docker.io [2022-06-14T10:10:22.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:23.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:23.306Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:23.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:23.306Z] [2022-06-14T10:10:23.306Z] Login Succeeded [2022-06-14T10:10:23.306Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T10:10:23.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-14T10:10:23.689Z] + git rev-list -1 --merges d294649dd3c9e6343319687f1c4878187362b3b0~1..d294649dd3c9e6343319687f1c4878187362b3b0 [Pipeline] echo [2022-06-14T10:10:23.721Z] -----------> git rev-list -1 --merges d294649dd3c9e6343319687f1c4878187362b3b0~1..d294649dd3c9e6343319687f1c4878187362b3b0 d294649dd3c9e6343319687f1c4878187362b3b0 [2022-06-14T10:10:23.721Z] d294649dd3c9e6343319687f1c4878187362b3b0 [false] [Pipeline] sh [2022-06-14T10:10:24.018Z] + git log --format=format:%s -1 d294649dd3c9e6343319687f1c4878187362b3b0 [Pipeline] echo [2022-06-14T10:10:24.036Z] ========================================================= [2022-06-14T10:10:24.036Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-14T10:10:24.036Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T10:10:24.365Z] + git log --format=format:%s -1 d294649dd3c9e6343319687f1c4878187362b3b0 [Pipeline] echo [2022-06-14T10:10:24.376Z] [semverPrep] GIT_COMMIT: d294649dd3c9e6343319687f1c4878187362b3b0, Commit Message: Merge commit '78b20017cd6d168da65a59796ad356de40fef842' into HEAD [Pipeline] echo [2022-06-14T10:10:24.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-14T10:10:24.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-14T10:10:24.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-14T10:10:24.760Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-14T10:10:24.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-14T10:10:24.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-14T10:10:24.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-14T10:10:24.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:10:25.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T10:10:25.174Z] [2022-06-14T10:10:25.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:10:25.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T10:10:25.481Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-14T10:10:25.481Z] 42c077c10790: Pulling fs layer [2022-06-14T10:10:25.481Z] f63e77b7563a: Pulling fs layer [2022-06-14T10:10:25.481Z] bd5fdadae976: Pulling fs layer [2022-06-14T10:10:25.481Z] 205491f53016: Pulling fs layer [2022-06-14T10:10:25.481Z] df18705c85c3: Pulling fs layer [2022-06-14T10:10:25.481Z] bdb3f477010e: Pulling fs layer [2022-06-14T10:10:25.481Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-14T10:10:25.481Z] 2c6e9b1d212d: Pulling fs layer [2022-06-14T10:10:25.481Z] bdb8f0575790: Pulling fs layer [2022-06-14T10:10:25.481Z] 386e3cb2ff24: Pulling fs layer [2022-06-14T10:10:25.481Z] 2343380bae48: Pulling fs layer [2022-06-14T10:10:25.481Z] df18705c85c3: Waiting [2022-06-14T10:10:25.481Z] 2c6e9b1d212d: Waiting [2022-06-14T10:10:25.481Z] bdb3f477010e: Waiting [2022-06-14T10:10:25.481Z] 386e3cb2ff24: Waiting [2022-06-14T10:10:25.481Z] bdb8f0575790: Waiting [2022-06-14T10:10:25.481Z] c8a8fc8e1c8f: Waiting [2022-06-14T10:10:25.481Z] f63e77b7563a: Verifying Checksum [2022-06-14T10:10:25.481Z] f63e77b7563a: Download complete [2022-06-14T10:10:25.481Z] 205491f53016: Verifying Checksum [2022-06-14T10:10:25.481Z] 205491f53016: Download complete [2022-06-14T10:10:25.741Z] bd5fdadae976: Verifying Checksum [2022-06-14T10:10:25.741Z] bd5fdadae976: Download complete [2022-06-14T10:10:25.741Z] df18705c85c3: Verifying Checksum [2022-06-14T10:10:25.741Z] df18705c85c3: Download complete [2022-06-14T10:10:25.741Z] bdb3f477010e: Verifying Checksum [2022-06-14T10:10:25.741Z] bdb3f477010e: Download complete [2022-06-14T10:10:25.741Z] 2c6e9b1d212d: Verifying Checksum [2022-06-14T10:10:25.741Z] 2c6e9b1d212d: Download complete [2022-06-14T10:10:25.741Z] bdb8f0575790: Download complete [2022-06-14T10:10:25.741Z] 386e3cb2ff24: Verifying Checksum [2022-06-14T10:10:25.741Z] 386e3cb2ff24: Download complete [2022-06-14T10:10:25.741Z] 2343380bae48: Verifying Checksum [2022-06-14T10:10:25.741Z] 2343380bae48: Download complete [2022-06-14T10:10:25.741Z] 42c077c10790: Verifying Checksum [2022-06-14T10:10:25.741Z] 42c077c10790: Download complete [2022-06-14T10:10:26.001Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-14T10:10:26.001Z] c8a8fc8e1c8f: Download complete [2022-06-14T10:10:27.389Z] 42c077c10790: Pull complete [2022-06-14T10:10:27.389Z] f63e77b7563a: Pull complete [2022-06-14T10:10:27.962Z] bd5fdadae976: Pull complete [2022-06-14T10:10:27.962Z] 205491f53016: Pull complete [2022-06-14T10:10:28.228Z] df18705c85c3: Pull complete [2022-06-14T10:10:28.228Z] bdb3f477010e: Pull complete [2022-06-14T10:10:30.770Z] c8a8fc8e1c8f: Pull complete [2022-06-14T10:10:30.770Z] 2c6e9b1d212d: Pull complete [2022-06-14T10:10:30.770Z] bdb8f0575790: Pull complete [2022-06-14T10:10:30.770Z] 386e3cb2ff24: Pull complete [2022-06-14T10:10:30.770Z] 2343380bae48: Pull complete [2022-06-14T10:10:30.770Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-14T10:10:30.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T10:10:30.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:10:30.886Z] prd-ubuntu20.04-docker-8c-8g-2385 does not seem to be running inside a container [2022-06-14T10:10:30.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-14T10:10:32.319Z] $ docker top e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-14T10:10:32.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T10:10:32.429Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T10:10:32.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T10:10:32.586Z] $ docker exec e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 ssh-agent [2022-06-14T10:10:32.712Z] SSH_AUTH_SOCK=/tmp/ssh-ifw0RLY3nzGs/agent.34 [2022-06-14T10:10:32.712Z] SSH_AGENT_PID=40 [2022-06-14T10:10:32.719Z] Running ssh-add (command line suppressed) [2022-06-14T10:10:32.842Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_6192185047029929827.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_6192185047029929827.key) [2022-06-14T10:10:32.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T10:10:33.149Z] + git tag --points-at HEAD [Pipeline] } [2022-06-14T10:10:33.180Z] $ docker exec --env ******** --env ******** e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 ssh-agent -k [2022-06-14T10:10:33.285Z] unset SSH_AUTH_SOCK; [2022-06-14T10:10:33.286Z] unset SSH_AGENT_PID; [2022-06-14T10:10:33.286Z] echo Agent pid 40 killed; [2022-06-14T10:10:33.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-14T10:10:33.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T10:10:33.321Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T10:10:33.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T10:10:33.466Z] $ docker exec e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 ssh-agent [2022-06-14T10:10:33.604Z] SSH_AUTH_SOCK=/tmp/ssh-1sfEeWdIl2jG/agent.72 [2022-06-14T10:10:33.604Z] SSH_AGENT_PID=78 [2022-06-14T10:10:33.609Z] Running ssh-add (command line suppressed) [2022-06-14T10:10:33.744Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_3145083679209855005.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_3145083679209855005.key) [2022-06-14T10:10:33.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T10:10:34.049Z] + git semver init [2022-06-14T10:10:34.318Z] 2022-06-14 10:10:34,269 [run_init] DEBUG init version:0.0.0 force:False [2022-06-14T10:10:34.318Z] 2022-06-14 10:10:34,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-14T10:10:34.318Z] 2022-06-14 10:10:34,270 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-14T10:10:34.318Z] 2022-06-14 10:10:34,271 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-77/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77, universal_newlines=False, shell=None, istream=None) [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,957 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-77/.git/info/exclude [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 with force:False [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,958 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,961 [execute] INFO git cat-file --batch-check [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,969 [execute] INFO git cat-file --batch [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-14T10:10:35.273Z] 2022-06-14 10:10:34,976 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-14T10:10:35.273Z] 0.0.0 [Pipeline] } [2022-06-14T10:10:35.292Z] $ docker exec --env ******** --env ******** e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 ssh-agent -k [2022-06-14T10:10:35.404Z] unset SSH_AUTH_SOCK; [2022-06-14T10:10:35.404Z] unset SSH_AGENT_PID; [2022-06-14T10:10:35.405Z] echo Agent pid 78 killed; [2022-06-14T10:10:35.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-14T10:10:35.715Z] + git semver [Pipeline] } [2022-06-14T10:10:35.995Z] $ docker stop --time=1 e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 [2022-06-14T10:10:37.362Z] $ docker rm -f e8d5a7c841e6d455b706d395b022941a25006712dfae5fc6e498681bdfe92ba7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T10:10:37.702Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-14T10:10:37.967Z] Stashed 1 file(s) [Pipeline] echo [2022-06-14T10:10:37.970Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T10:10:38.091Z] provisioning config files... [2022-06-14T10:10:38.101Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config6204965163638919641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:10:38.400Z] ---> docker-login.sh [2022-06-14T10:10:38.401Z] nexus3.edgexfoundry.org:10001 [2022-06-14T10:10:38.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:38.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:38.401Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:38.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:38.401Z] [2022-06-14T10:10:38.401Z] Login Succeeded [2022-06-14T10:10:38.401Z] nexus3.edgexfoundry.org:10002 [2022-06-14T10:10:38.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:38.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:38.666Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:38.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:38.666Z] [2022-06-14T10:10:38.666Z] Login Succeeded [2022-06-14T10:10:38.666Z] nexus3.edgexfoundry.org:10003 [2022-06-14T10:10:38.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:38.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:38.666Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:38.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:38.666Z] [2022-06-14T10:10:38.666Z] Login Succeeded [2022-06-14T10:10:38.666Z] nexus3.edgexfoundry.org:10004 [2022-06-14T10:10:38.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:38.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:38.928Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:38.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:38.928Z] [2022-06-14T10:10:38.928Z] Login Succeeded [2022-06-14T10:10:38.928Z] docker.io [2022-06-14T10:10:38.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:10:39.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:10:39.190Z] Configure a credential helper to remove this warning. See [2022-06-14T10:10:39.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:10:39.190Z] [2022-06-14T10:10:39.190Z] Login Succeeded [2022-06-14T10:10:39.190Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T10:10:39.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T10:10:39.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T10:10:39.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T10:10:39.291Z] ========================================================= [2022-06-14T10:10:39.291Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-14T10:10:39.291Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:10:39.618Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-14T10:10:39.618Z] Sending build context to Docker daemon 8.748MB [2022-06-14T10:10:39.618Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T10:10:39.618Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-14T10:10:39.618Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-14T10:10:39.618Z] 59bf1c3509f3: Pulling fs layer [2022-06-14T10:10:39.618Z] 666ba61612fd: Pulling fs layer [2022-06-14T10:10:39.618Z] 8ed8ca486205: Pulling fs layer [2022-06-14T10:10:39.618Z] cc1cd167ecdc: Pulling fs layer [2022-06-14T10:10:39.618Z] c516ae0d96e1: Pulling fs layer [2022-06-14T10:10:39.618Z] 684cea983483: Pulling fs layer [2022-06-14T10:10:39.618Z] cc1cd167ecdc: Waiting [2022-06-14T10:10:39.618Z] dd3240ac7de5: Pulling fs layer [2022-06-14T10:10:39.618Z] c516ae0d96e1: Waiting [2022-06-14T10:10:39.618Z] 684cea983483: Waiting [2022-06-14T10:10:39.618Z] b1e948a4e11c: Pulling fs layer [2022-06-14T10:10:39.618Z] a8fd76ee1af6: Pulling fs layer [2022-06-14T10:10:39.618Z] 646ad004c059: Pulling fs layer [2022-06-14T10:10:39.618Z] dd3240ac7de5: Waiting [2022-06-14T10:10:39.618Z] b1e948a4e11c: Waiting [2022-06-14T10:10:39.618Z] a8fd76ee1af6: Waiting [2022-06-14T10:10:39.618Z] 646ad004c059: Waiting [2022-06-14T10:10:39.879Z] 8ed8ca486205: Verifying Checksum [2022-06-14T10:10:39.879Z] 8ed8ca486205: Download complete [2022-06-14T10:10:39.879Z] 666ba61612fd: Verifying Checksum [2022-06-14T10:10:39.879Z] 666ba61612fd: Download complete [2022-06-14T10:10:39.879Z] c516ae0d96e1: Verifying Checksum [2022-06-14T10:10:39.879Z] c516ae0d96e1: Download complete [2022-06-14T10:10:39.879Z] 684cea983483: Download complete [2022-06-14T10:10:39.879Z] dd3240ac7de5: Verifying Checksum [2022-06-14T10:10:39.879Z] dd3240ac7de5: Download complete [2022-06-14T10:10:39.879Z] 59bf1c3509f3: Verifying Checksum [2022-06-14T10:10:39.879Z] 59bf1c3509f3: Download complete [2022-06-14T10:10:39.879Z] b1e948a4e11c: Verifying Checksum [2022-06-14T10:10:39.879Z] b1e948a4e11c: Download complete [2022-06-14T10:10:39.879Z] 59bf1c3509f3: Pull complete [2022-06-14T10:10:40.140Z] 666ba61612fd: Pull complete [2022-06-14T10:10:40.140Z] 8ed8ca486205: Pull complete [2022-06-14T10:10:40.400Z] 646ad004c059: Verifying Checksum [2022-06-14T10:10:40.400Z] 646ad004c059: Download complete [2022-06-14T10:10:40.660Z] cc1cd167ecdc: Verifying Checksum [2022-06-14T10:10:40.660Z] cc1cd167ecdc: Download complete [2022-06-14T10:10:40.660Z] a8fd76ee1af6: Verifying Checksum [2022-06-14T10:10:40.660Z] a8fd76ee1af6: Download complete [2022-06-14T10:10:44.862Z] cc1cd167ecdc: Pull complete [2022-06-14T10:10:44.862Z] c516ae0d96e1: Pull complete [2022-06-14T10:10:44.862Z] 684cea983483: Pull complete [2022-06-14T10:10:44.862Z] dd3240ac7de5: Pull complete [2022-06-14T10:10:44.862Z] b1e948a4e11c: Pull complete [2022-06-14T10:10:47.408Z] a8fd76ee1af6: Pull complete [2022-06-14T10:10:48.348Z] 646ad004c059: Pull complete [2022-06-14T10:10:48.348Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-14T10:10:48.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-14T10:10:48.348Z] ---> 8f69c11f6b0c [2022-06-14T10:10:48.348Z] Step 3/13 : ARG MAKE="make build" [2022-06-14T10:10:49.746Z] ---> Running in 6587b61b4d21 [2022-06-14T10:10:49.746Z] Removing intermediate container 6587b61b4d21 [2022-06-14T10:10:49.746Z] ---> 5b35963f5a95 [2022-06-14T10:10:49.746Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T10:10:49.746Z] ---> Running in ed54e42f3ace [2022-06-14T10:10:50.005Z] Removing intermediate container ed54e42f3ace [2022-06-14T10:10:50.005Z] ---> 76ee03d64828 [2022-06-14T10:10:50.005Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T10:10:50.005Z] ---> Running in 28987267b23c [2022-06-14T10:10:50.005Z] Removing intermediate container 28987267b23c [2022-06-14T10:10:50.005Z] ---> dfab15c77d8e [2022-06-14T10:10:50.005Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-14T10:10:50.005Z] ---> Running in cc998d301d51 [2022-06-14T10:10:50.266Z] Removing intermediate container cc998d301d51 [2022-06-14T10:10:50.266Z] ---> 0fec1144b35c [2022-06-14T10:10:50.266Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T10:10:50.266Z] ---> Running in cd5607da347e [2022-06-14T10:10:50.836Z] Removing intermediate container cd5607da347e [2022-06-14T10:10:50.836Z] ---> d6d1f36333a1 [2022-06-14T10:10:50.836Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T10:10:50.836Z] ---> Running in cd12b062742f [2022-06-14T10:10:51.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T10:10:52.048Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T10:10:52.307Z] OK: 221 MiB in 52 packages [2022-06-14T10:10:52.568Z] Removing intermediate container cd12b062742f [2022-06-14T10:10:52.568Z] ---> e9c01afd39a6 [2022-06-14T10:10:52.568Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-14T10:10:52.844Z] ---> Running in 7f90c4d573ac [2022-06-14T10:10:52.844Z] Removing intermediate container 7f90c4d573ac [2022-06-14T10:10:52.844Z] ---> 0eb8ec9e13f1 [2022-06-14T10:10:52.844Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-14T10:10:52.844Z] ---> 45bae39e7b67 [2022-06-14T10:10:52.844Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T10:10:53.061Z] Still waiting to schedule task [2022-06-14T10:10:53.061Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-14T10:10:53.104Z] ---> Running in 3f530dcd56b2 [2022-06-14T10:11:19.712Z] Removing intermediate container 3f530dcd56b2 [2022-06-14T10:11:19.712Z] ---> 92ab2241151e [2022-06-14T10:11:19.712Z] Step 12/13 : COPY . . [2022-06-14T10:11:19.712Z] ---> 7e3c8407fbdf [2022-06-14T10:11:19.712Z] Step 13/13 : RUN ${MAKE} [2022-06-14T10:11:19.712Z] ---> Running in ca9f7f6eb81c [2022-06-14T10:11:19.712Z] noop [2022-06-14T10:11:19.712Z] Removing intermediate container ca9f7f6eb81c [2022-06-14T10:11:19.712Z] ---> 8a2a3e0ea8cb [2022-06-14T10:11:19.712Z] Successfully built 8a2a3e0ea8cb [2022-06-14T10:11:19.712Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:11:20.036Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T10:11:20.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:11:20.135Z] prd-ubuntu20.04-docker-8c-8g-2385 does not seem to be running inside a container [2022-06-14T10:11:20.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-14T10:11:20.625Z] $ docker top 88f5e24fd15b32f915498e66b6b17b8bb07a74897575f345e19a94352903a6a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T10:11:21.032Z] + go version [2022-06-14T10:11:21.032Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-14T10:11:21.050Z] $ docker stop --time=1 88f5e24fd15b32f915498e66b6b17b8bb07a74897575f345e19a94352903a6a4 [2022-06-14T10:11:22.376Z] $ docker rm -f 88f5e24fd15b32f915498e66b6b17b8bb07a74897575f345e19a94352903a6a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:11:22.805Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T10:11:22.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:11:22.890Z] prd-ubuntu20.04-docker-8c-8g-2385 does not seem to be running inside a container [2022-06-14T10:11:22.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-14T10:11:23.348Z] $ docker top 7ba8eeecea32629e57274ae894b5f23fb17315c9553c6bbb31c8391400241db9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T10:11:23.715Z] + make test [2022-06-14T10:11:23.715Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-14T10:11:23.977Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-14T10:11:36.200Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-14T10:11:36.200Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.013s coverage: 1.2% of statements [2022-06-14T10:11:38.740Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.082s coverage: 13.8% of statements [2022-06-14T10:11:46.857Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T10:11:51.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T10:11:51.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T10:11:51.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T10:11:51.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T10:11:51.653Z] $ docker stop --time=1 7ba8eeecea32629e57274ae894b5f23fb17315c9553c6bbb31c8391400241db9 [2022-06-14T10:11:53.382Z] $ docker rm -f 7ba8eeecea32629e57274ae894b5f23fb17315c9553c6bbb31c8391400241db9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T10:11:53.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T10:11:53.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-14T10:11:54.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T10:11:54.685Z] + ls -al . [2022-06-14T10:11:54.685Z] total 236 [2022-06-14T10:11:54.685Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 14 10:11 . [2022-06-14T10:11:54.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:10 .. [2022-06-14T10:11:54.685Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 10:10 .git [2022-06-14T10:11:54.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 10:10 .github [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 14 10:10 .gitignore [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 14 10:10 .golangci.yml [2022-06-14T10:11:54.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 10:10 .semver [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 14 10:10 Attribution.txt [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 14 10:10 CHANGELOG.md [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 14 10:10 Dockerfile [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 10:10 GOVERNANCE.md [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 10:10 Jenkinsfile [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 14 10:10 LICENSE [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 14 10:10 Makefile [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 14 10:10 OWNERS.md [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 14 10:10 README.md [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 10:10 VERSION [2022-06-14T10:11:54.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 10:10 bin [2022-06-14T10:11:54.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 10:10 cmd [2022-06-14T10:11:54.685Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 14 10:11 coverage.out [2022-06-14T10:11:54.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:10 doc [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 14 10:10 go.mod [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 37502 Jun 14 10:10 go.sum [2022-06-14T10:11:54.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:10 internal [2022-06-14T10:11:54.685Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 14 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:11:54.998Z] + 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=d294649dd3c9e6343319687f1c4878187362b3b0 --label arch=amd64 --label version=0.0.0 . [2022-06-14T10:11:54.998Z] Sending build context to Docker daemon 8.808MB [2022-06-14T10:11:54.998Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T10:11:54.998Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T10:11:54.998Z] ---> 8a2a3e0ea8cb [2022-06-14T10:11:54.998Z] Step 3/26 : ARG MAKE="make build" [2022-06-14T10:11:55.258Z] ---> Running in 7b011ecb1474 [2022-06-14T10:11:55.258Z] Removing intermediate container 7b011ecb1474 [2022-06-14T10:11:55.258Z] ---> d4c3609a8a0a [2022-06-14T10:11:55.258Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T10:11:55.258Z] ---> Running in fe865f71af1f [2022-06-14T10:11:55.258Z] Removing intermediate container fe865f71af1f [2022-06-14T10:11:55.258Z] ---> ba997e277d99 [2022-06-14T10:11:55.258Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T10:11:55.531Z] ---> Running in 81132276546f [2022-06-14T10:11:55.531Z] Removing intermediate container 81132276546f [2022-06-14T10:11:55.531Z] ---> 83020e8cd4b3 [2022-06-14T10:11:55.531Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-14T10:11:55.531Z] ---> Running in cf6d035e2e5b [2022-06-14T10:11:55.531Z] Removing intermediate container cf6d035e2e5b [2022-06-14T10:11:55.531Z] ---> 2e843d9942c2 [2022-06-14T10:11:55.531Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T10:11:55.791Z] ---> Running in 516305e1e1ba [2022-06-14T10:11:56.366Z] Removing intermediate container 516305e1e1ba [2022-06-14T10:11:56.366Z] ---> 65f0e2917010 [2022-06-14T10:11:56.366Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T10:11:56.366Z] ---> Running in cd381cb67414 [2022-06-14T10:11:56.627Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T10:11:57.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T10:11:57.831Z] OK: 221 MiB in 52 packages [2022-06-14T10:11:58.090Z] Removing intermediate container cd381cb67414 [2022-06-14T10:11:58.090Z] ---> 0a1733a1a327 [2022-06-14T10:11:58.090Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-14T10:11:58.349Z] ---> Running in e0186aebb4a4 [2022-06-14T10:11:58.349Z] Removing intermediate container e0186aebb4a4 [2022-06-14T10:11:58.349Z] ---> 84435ae9c321 [2022-06-14T10:11:58.349Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-14T10:11:58.609Z] ---> 7d33248c9c04 [2022-06-14T10:11:58.609Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T10:11:58.609Z] ---> Running in 5c3b22662505 [2022-06-14T10:11:59.178Z] Removing intermediate container 5c3b22662505 [2022-06-14T10:11:59.178Z] ---> 53194b5c9cc2 [2022-06-14T10:11:59.178Z] Step 12/26 : COPY . . [2022-06-14T10:11:59.748Z] ---> 3fce3894826b [2022-06-14T10:11:59.748Z] Step 13/26 : RUN ${MAKE} [2022-06-14T10:11:59.748Z] ---> Running in 88edc5b96469 [2022-06-14T10:12:00.006Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-14T10:12:24.792Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2387 in /w/workspace/oundry_device-onvif-camera_PR-77 [Pipeline] { [Pipeline] ws [2022-06-14T10:12:24.805Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-06-14T10:12:24.846Z] Selected Git installation does not exist. Using Default [2022-06-14T10:12:24.846Z] The recommended git tool is: NONE [2022-06-14T10:12:26.571Z] Removing intermediate container 88edc5b96469 [2022-06-14T10:12:26.571Z] ---> 5b630ef8841e [2022-06-14T10:12:26.571Z] Step 14/26 : FROM alpine:3.15 [2022-06-14T10:12:26.571Z] 3.15: Pulling from library/alpine [2022-06-14T10:12:26.571Z] df9b9388f04a: Pulling fs layer [2022-06-14T10:12:26.571Z] df9b9388f04a: Verifying Checksum [2022-06-14T10:12:26.571Z] df9b9388f04a: Pull complete [2022-06-14T10:12:26.571Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-14T10:12:26.571Z] Status: Downloaded newer image for alpine:3.15 [2022-06-14T10:12:26.571Z] ---> 0ac33e5f5afa [2022-06-14T10:12:26.571Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-14T10:12:26.571Z] ---> Running in 1ded53e4601e [2022-06-14T10:12:26.571Z] Removing intermediate container 1ded53e4601e [2022-06-14T10:12:26.571Z] ---> f19a853e5bc5 [2022-06-14T10:12:26.571Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T10:12:26.571Z] ---> Running in 9a5e2ac69c22 [2022-06-14T10:12:26.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T10:12:26.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T10:12:26.571Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T10:12:26.571Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-14T10:12:26.571Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T10:12:26.571Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-14T10:12:26.571Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T10:12:26.571Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T10:12:26.571Z] Executing busybox-1.34.1-r5.trigger [2022-06-14T10:12:26.571Z] OK: 8 MiB in 20 packages [2022-06-14T10:12:26.571Z] Removing intermediate container 9a5e2ac69c22 [2022-06-14T10:12:26.571Z] ---> d15444a8eaec [2022-06-14T10:12:26.571Z] Step 17/26 : WORKDIR / [2022-06-14T10:12:26.571Z] ---> Running in f10301336132 [2022-06-14T10:12:26.571Z] Removing intermediate container f10301336132 [2022-06-14T10:12:26.571Z] ---> 6155936f069b [2022-06-14T10:12:26.571Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-14T10:12:26.571Z] ---> b0d52f637965 [2022-06-14T10:12:26.571Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-14T10:12:26.571Z] ---> 50779fd9d256 [2022-06-14T10:12:26.571Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-14T10:12:26.571Z] ---> 652ab424e781 [2022-06-14T10:12:26.572Z] Step 21/26 : EXPOSE 59984 [2022-06-14T10:12:26.572Z] ---> Running in e5d3d048e663 [2022-06-14T10:12:26.572Z] Removing intermediate container e5d3d048e663 [2022-06-14T10:12:26.572Z] ---> 076ef1a0e5f5 [2022-06-14T10:12:26.572Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-14T10:12:26.572Z] ---> Running in bcca635cb35f [2022-06-14T10:12:26.572Z] Removing intermediate container bcca635cb35f [2022-06-14T10:12:26.572Z] ---> 7e519c28958a [2022-06-14T10:12:26.572Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T10:12:26.572Z] ---> Running in a4088f1896f9 [2022-06-14T10:12:26.572Z] Removing intermediate container a4088f1896f9 [2022-06-14T10:12:26.572Z] ---> 1a1c50ba14a8 [2022-06-14T10:12:26.572Z] Step 24/26 : LABEL arch=amd64 [2022-06-14T10:12:26.572Z] ---> Running in 995aeb0f27a1 [2022-06-14T10:12:26.572Z] Removing intermediate container 995aeb0f27a1 [2022-06-14T10:12:26.572Z] ---> ab93028df547 [2022-06-14T10:12:26.572Z] Step 25/26 : LABEL git_sha=d294649dd3c9e6343319687f1c4878187362b3b0 [2022-06-14T10:12:26.572Z] ---> Running in 0a1a403f5425 [2022-06-14T10:12:26.572Z] Removing intermediate container 0a1a403f5425 [2022-06-14T10:12:26.572Z] ---> ecc230ac59fe [2022-06-14T10:12:26.572Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T10:12:26.572Z] ---> Running in f0462350d171 [2022-06-14T10:12:26.572Z] Removing intermediate container f0462350d171 [2022-06-14T10:12:26.572Z] ---> 9f2ace63fe26 [2022-06-14T10:12:26.572Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T10:12:26.572Z] Successfully built 9f2ace63fe26 [2022-06-14T10:12:26.572Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:12:27.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T10:12:27.022Z] [2022-06-14T10:12:27.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:12:27.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T10:12:27.337Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-14T10:12:27.337Z] 5eb5b503b376: Pulling fs layer [2022-06-14T10:12:27.337Z] 5c69ac0246d0: Pulling fs layer [2022-06-14T10:12:27.337Z] ec43610c2a17: Pulling fs layer [2022-06-14T10:12:27.337Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-14T10:12:27.337Z] 33b1e0a273af: Pulling fs layer [2022-06-14T10:12:27.337Z] 5d3b04190fa2: Pulling fs layer [2022-06-14T10:12:27.337Z] 2f39f015ded8: Pulling fs layer [2022-06-14T10:12:27.337Z] 33b1e0a273af: Waiting [2022-06-14T10:12:27.337Z] 5d3b04190fa2: Waiting [2022-06-14T10:12:27.337Z] 2f39f015ded8: Waiting [2022-06-14T10:12:27.337Z] 3a2ae6a8a46f: Waiting [2022-06-14T10:12:27.337Z] 5c69ac0246d0: Download complete [2022-06-14T10:12:27.337Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-14T10:12:27.337Z] 3a2ae6a8a46f: Download complete [2022-06-14T10:12:27.337Z] 33b1e0a273af: Verifying Checksum [2022-06-14T10:12:27.337Z] 33b1e0a273af: Download complete [2022-06-14T10:12:27.337Z] 5d3b04190fa2: Verifying Checksum [2022-06-14T10:12:27.337Z] 5d3b04190fa2: Download complete [2022-06-14T10:12:27.337Z] ec43610c2a17: Verifying Checksum [2022-06-14T10:12:27.337Z] ec43610c2a17: Download complete [2022-06-14T10:12:27.595Z] 5eb5b503b376: Verifying Checksum [2022-06-14T10:12:27.595Z] 5eb5b503b376: Download complete [2022-06-14T10:12:28.163Z] 2f39f015ded8: Download complete [2022-06-14T10:12:29.100Z] 5eb5b503b376: Pull complete [2022-06-14T10:12:29.100Z] 5c69ac0246d0: Pull complete [2022-06-14T10:12:29.668Z] ec43610c2a17: Pull complete [2022-06-14T10:12:29.668Z] 3a2ae6a8a46f: Pull complete [2022-06-14T10:12:29.927Z] 33b1e0a273af: Pull complete [2022-06-14T10:12:29.927Z] 5d3b04190fa2: Pull complete [2022-06-14T10:12:32.132Z] using credential edgex-jenkins-ssh [2022-06-14T10:12:32.156Z] Cloning the remote Git repository [2022-06-14T10:12:32.275Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-14T10:12:32.355Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-06-14T10:12:32.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-14T10:12:32.453Z] > git --version # timeout=10 [2022-06-14T10:12:32.502Z] > git --version # 'git version 2.25.1' [2022-06-14T10:12:32.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T10:12:32.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T10:12:34.335Z] Merging remotes/origin/main commit 78b20017cd6d168da65a59796ad356de40fef842 into PR head commit 534d54d80dfdf3cc40f745c878f64c5fa0889f6b [2022-06-14T10:12:33.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-14T10:12:33.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T10:12:33.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-14T10:12:33.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-14T10:12:33.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T10:12:33.891Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-14T10:12:34.354Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T10:12:34.380Z] > git checkout -f 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # timeout=10 [2022-06-14T10:12:34.832Z] Merge succeeded, producing e38ac52691ab06881740a7fea051eb446b26a705 [2022-06-14T10:12:34.833Z] Checking out Revision e38ac52691ab06881740a7fea051eb446b26a705 (PR-77) [2022-06-14T10:12:35.206Z] 2f39f015ded8: Pull complete [2022-06-14T10:12:35.206Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-14T10:12:35.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T10:12:35.206Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:12:35.306Z] prd-ubuntu20.04-docker-8c-8g-2385 does not seem to be running inside a container [2022-06-14T10:12:35.348Z] $ 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/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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 [2022-06-14T10:12:34.536Z] > git remote # timeout=10 [2022-06-14T10:12:34.566Z] > git config --get remote.origin.url # timeout=10 [2022-06-14T10:12:34.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T10:12:34.612Z] > git merge 78b20017cd6d168da65a59796ad356de40fef842 # timeout=10 [2022-06-14T10:12:34.809Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-14T10:12:34.842Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T10:12:34.854Z] > git checkout -f e38ac52691ab06881740a7fea051eb446b26a705 # timeout=10 [2022-06-14T10:12:37.222Z] $ docker top 860d604fb19a0308be4439cb2425cbf009a0aaecd28fd7d33dcec62dc4b818ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:12:37.644Z] ---> job-cost.sh [2022-06-14T10:12:37.644Z] lf-activate-venv: SKIPPING [2022-06-14T10:12:37.644Z] INFO: No Stack... [2022-06-14T10:12:37.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T10:12:38.478Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T10:12:38.836Z] + cat /w/workspace/oundry_device-onvif-camera_PR-77/archives/cost.csv [2022-06-14T10:12:38.836Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T10:12:38.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [2022-06-14T10:12:38.870Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] did not exist. Created. [2022-06-14T10:12:38.870Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T10:12:39.120Z] Commit message: "Merge commit '78b20017cd6d168da65a59796ad356de40fef842' into HEAD" [2022-06-14T10:12:39.132Z] > git rev-list --no-walk 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # timeout=10 [2022-06-14T10:12:39.219Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-14T10:12:39.242Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T10:12:39.251Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T10:12:39.276Z] $ docker stop --time=1 860d604fb19a0308be4439cb2425cbf009a0aaecd28fd7d33dcec62dc4b818ab [2022-06-14T10:12:39.492Z] [2022-06-14T10:12:39.492Z] GitHub has been notified of this commit’s build result [2022-06-14T10:12:39.492Z] [2022-06-14T10:12:40.442Z] $ docker rm -f 860d604fb19a0308be4439cb2425cbf009a0aaecd28fd7d33dcec62dc4b818ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T10:12:41.116Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-14T10:12:41.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T10:12:41.117Z] Dload Upload Total Spent Left Speed [2022-06-14T10:12:41.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-06-14T10:12:41.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-14T10:12:42.202Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-14T10:12:42.202Z] + sudo tee /etc/docker/daemon.new [2022-06-14T10:12:42.202Z] { [2022-06-14T10:12:42.202Z] "registry-mirrors": [ [2022-06-14T10:12:42.202Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-14T10:12:42.202Z] ], [2022-06-14T10:12:42.202Z] "bip": "10.250.0.254/24", [2022-06-14T10:12:42.202Z] "hosts": [ [2022-06-14T10:12:42.202Z] "tcp://0.0.0.0:5555", [2022-06-14T10:12:42.203Z] "unix:///var/run/docker.sock" [2022-06-14T10:12:42.203Z] ], [2022-06-14T10:12:42.203Z] "mtu": 1458, [2022-06-14T10:12:42.203Z] "selinux-enabled": true, [2022-06-14T10:12:42.203Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-14T10:12:42.203Z] } [Pipeline] sh [2022-06-14T10:12:42.543Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-14T10:12:42.874Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T10:13:01.361Z] provisioning config files... [2022-06-14T10:13:01.386Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config4606573904719364827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:13:01.742Z] ---> docker-login.sh [2022-06-14T10:13:01.742Z] nexus3.edgexfoundry.org:10001 [2022-06-14T10:13:02.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:13:02.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:13:02.614Z] Configure a credential helper to remove this warning. See [2022-06-14T10:13:02.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:13:02.614Z] [2022-06-14T10:13:02.614Z] Login Succeeded [2022-06-14T10:13:02.614Z] nexus3.edgexfoundry.org:10002 [2022-06-14T10:13:02.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:13:03.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:13:03.161Z] Configure a credential helper to remove this warning. See [2022-06-14T10:13:03.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:13:03.161Z] [2022-06-14T10:13:03.161Z] Login Succeeded [2022-06-14T10:13:03.161Z] nexus3.edgexfoundry.org:10003 [2022-06-14T10:13:03.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:13:03.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:13:03.436Z] Configure a credential helper to remove this warning. See [2022-06-14T10:13:03.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:13:03.436Z] [2022-06-14T10:13:03.436Z] Login Succeeded [2022-06-14T10:13:03.436Z] nexus3.edgexfoundry.org:10004 [2022-06-14T10:13:04.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:13:04.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:13:04.037Z] Configure a credential helper to remove this warning. See [2022-06-14T10:13:04.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:13:04.037Z] [2022-06-14T10:13:04.037Z] Login Succeeded [2022-06-14T10:13:04.037Z] docker.io [2022-06-14T10:13:04.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T10:13:04.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T10:13:04.906Z] Configure a credential helper to remove this warning. See [2022-06-14T10:13:04.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T10:13:04.906Z] [2022-06-14T10:13:04.906Z] Login Succeeded [2022-06-14T10:13:04.906Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T10:13:04.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T10:13:05.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T10:13:05.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T10:13:05.212Z] ========================================================= [2022-06-14T10:13:05.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-14T10:13:05.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:13:05.568Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-14T10:13:05.846Z] Sending build context to Docker daemon 5.961MB [2022-06-14T10:13:06.126Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T10:13:06.126Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-14T10:13:06.126Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-14T10:13:06.126Z] 9b3977197b4f: Pulling fs layer [2022-06-14T10:13:06.126Z] 1a89e8eeedd5: Pulling fs layer [2022-06-14T10:13:06.126Z] 94645a83ff95: Pulling fs layer [2022-06-14T10:13:06.126Z] e6fb740bc735: Pulling fs layer [2022-06-14T10:13:06.126Z] 3a77bd46dcc9: Pulling fs layer [2022-06-14T10:13:06.126Z] 355e64cbe906: Pulling fs layer [2022-06-14T10:13:06.126Z] 63ab81a10011: Pulling fs layer [2022-06-14T10:13:06.126Z] 555d1d1c4555: Pulling fs layer [2022-06-14T10:13:06.126Z] 7d9057610161: Pulling fs layer [2022-06-14T10:13:06.126Z] e6fb740bc735: Waiting [2022-06-14T10:13:06.126Z] 3a77bd46dcc9: Waiting [2022-06-14T10:13:06.126Z] 355e64cbe906: Waiting [2022-06-14T10:13:06.126Z] 63ab81a10011: Waiting [2022-06-14T10:13:06.126Z] 555d1d1c4555: Waiting [2022-06-14T10:13:06.126Z] 7d9057610161: Waiting [2022-06-14T10:13:06.126Z] 94645a83ff95: Verifying Checksum [2022-06-14T10:13:06.126Z] 94645a83ff95: Download complete [2022-06-14T10:13:06.126Z] 1a89e8eeedd5: Verifying Checksum [2022-06-14T10:13:06.126Z] 1a89e8eeedd5: Download complete [2022-06-14T10:13:06.126Z] 3a77bd46dcc9: Download complete [2022-06-14T10:13:06.126Z] 355e64cbe906: Verifying Checksum [2022-06-14T10:13:06.126Z] 355e64cbe906: Download complete [2022-06-14T10:13:06.126Z] 9b3977197b4f: Verifying Checksum [2022-06-14T10:13:06.126Z] 63ab81a10011: Verifying Checksum [2022-06-14T10:13:06.126Z] 63ab81a10011: Download complete [2022-06-14T10:13:07.117Z] 9b3977197b4f: Pull complete [2022-06-14T10:13:07.396Z] 7d9057610161: Verifying Checksum [2022-06-14T10:13:07.396Z] 7d9057610161: Download complete [2022-06-14T10:13:07.678Z] 1a89e8eeedd5: Pull complete [2022-06-14T10:13:08.278Z] 94645a83ff95: Pull complete [2022-06-14T10:13:08.278Z] 555d1d1c4555: Verifying Checksum [2022-06-14T10:13:08.278Z] 555d1d1c4555: Download complete [2022-06-14T10:13:09.257Z] e6fb740bc735: Verifying Checksum [2022-06-14T10:13:09.257Z] e6fb740bc735: Download complete [2022-06-14T10:13:21.674Z] e6fb740bc735: Pull complete [2022-06-14T10:13:21.674Z] 3a77bd46dcc9: Pull complete [2022-06-14T10:13:21.674Z] 355e64cbe906: Pull complete [2022-06-14T10:13:21.674Z] 63ab81a10011: Pull complete [2022-06-14T10:13:28.407Z] 555d1d1c4555: Pull complete [2022-06-14T10:13:29.856Z] 7d9057610161: Pull complete [2022-06-14T10:13:29.856Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-14T10:13:29.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-14T10:13:29.856Z] ---> 819e984ddca1 [2022-06-14T10:13:29.856Z] Step 3/13 : ARG MAKE="make build" [2022-06-14T10:13:30.848Z] ---> Running in 19afb2fcd6d3 [2022-06-14T10:13:30.848Z] Removing intermediate container 19afb2fcd6d3 [2022-06-14T10:13:30.848Z] ---> 29cf3e3967bc [2022-06-14T10:13:30.848Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T10:13:30.848Z] ---> Running in 78315ff1caac [2022-06-14T10:13:31.452Z] Removing intermediate container 78315ff1caac [2022-06-14T10:13:31.452Z] ---> 86ba8d33afc7 [2022-06-14T10:13:31.452Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T10:13:31.452Z] ---> Running in def805a91046 [2022-06-14T10:13:31.730Z] Removing intermediate container def805a91046 [2022-06-14T10:13:31.730Z] ---> 1318015d6284 [2022-06-14T10:13:31.730Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-14T10:13:31.730Z] ---> Running in b57f4c787049 [2022-06-14T10:13:32.012Z] Removing intermediate container b57f4c787049 [2022-06-14T10:13:32.012Z] ---> 99ee9d16c0e0 [2022-06-14T10:13:32.012Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T10:13:32.296Z] ---> Running in f2089b7cbb6c [2022-06-14T10:13:34.280Z] Removing intermediate container f2089b7cbb6c [2022-06-14T10:13:34.280Z] ---> c7fa4baa7fda [2022-06-14T10:13:34.280Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T10:13:34.280Z] ---> Running in 40953353bd99 [2022-06-14T10:13:34.879Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T10:13:35.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T10:13:36.853Z] OK: 220 MiB in 52 packages [2022-06-14T10:13:37.839Z] Removing intermediate container 40953353bd99 [2022-06-14T10:13:37.839Z] ---> b16b564cf4dc [2022-06-14T10:13:37.839Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-14T10:13:37.839Z] ---> Running in 9afe94727dc6 [2022-06-14T10:13:38.112Z] Removing intermediate container 9afe94727dc6 [2022-06-14T10:13:38.112Z] ---> 4a6e1d775ca6 [2022-06-14T10:13:38.112Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-14T10:13:38.708Z] ---> 6222d453ed39 [2022-06-14T10:13:38.708Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T10:13:38.708Z] ---> Running in e3d6e997f0e7 [2022-06-14T10:14:25.717Z] Removing intermediate container e3d6e997f0e7 [2022-06-14T10:14:25.717Z] ---> 6bb7eadb49f1 [2022-06-14T10:14:25.717Z] Step 12/13 : COPY . . [2022-06-14T10:14:26.702Z] ---> 458ab2dc9af4 [2022-06-14T10:14:26.702Z] Step 13/13 : RUN ${MAKE} [2022-06-14T10:14:26.702Z] ---> Running in 53c8854eefef [2022-06-14T10:14:27.693Z] noop [2022-06-14T10:14:28.671Z] Removing intermediate container 53c8854eefef [2022-06-14T10:14:28.671Z] ---> 46502880ab73 [2022-06-14T10:14:28.671Z] Successfully built 46502880ab73 [2022-06-14T10:14:28.671Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:14:29.043Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T10:14:29.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:14:29.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-2387 does not seem to be running inside a container [2022-06-14T10:14:29.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-14T10:14:30.722Z] $ docker top 5620574564f941b0e8f19530d5e08e8555d08856830c9f18de70c90d01373378 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T10:14:31.637Z] + go version [2022-06-14T10:14:31.637Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-14T10:14:31.672Z] $ docker stop --time=1 5620574564f941b0e8f19530d5e08e8555d08856830c9f18de70c90d01373378 [2022-06-14T10:14:33.350Z] $ docker rm -f 5620574564f941b0e8f19530d5e08e8555d08856830c9f18de70c90d01373378 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:14:33.970Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T10:14:33.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:14:34.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-2387 does not seem to be running inside a container [2022-06-14T10:14:34.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-14T10:14:35.755Z] $ docker top e2cfb3fa60484c202f51315697ad1cf4157ce85b678bc9c43fb2775f78a1fe81 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T10:14:36.721Z] + make test [2022-06-14T10:14:36.721Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-14T10:14:38.712Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-14T10:16:15.582Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-14T10:16:15.582Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.083s coverage: 1.2% of statements [2022-06-14T10:16:28.001Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.418s coverage: 13.8% of statements [2022-06-14T10:16:28.001Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-14T10:16:28.001Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T10:17:00.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T10:17:00.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T10:17:00.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T10:17:00.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T10:17:00.448Z] $ docker stop --time=1 e2cfb3fa60484c202f51315697ad1cf4157ce85b678bc9c43fb2775f78a1fe81 [2022-06-14T10:17:02.303Z] $ docker rm -f e2cfb3fa60484c202f51315697ad1cf4157ce85b678bc9c43fb2775f78a1fe81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T10:17:03.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T10:17:03.367Z] Warning: overwriting stash ‘coverage-report’ [2022-06-14T10:17:03.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T10:17:04.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T10:17:04.641Z] + ls -al . [2022-06-14T10:17:04.641Z] total 232 [2022-06-14T10:17:04.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 10:16 . [2022-06-14T10:17:04.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:12 .. [2022-06-14T10:17:04.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 10:12 .git [2022-06-14T10:17:04.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 10:12 .github [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 14 10:12 .gitignore [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 14 10:12 .golangci.yml [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 14 10:12 Attribution.txt [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 14 10:12 CHANGELOG.md [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 14 10:12 Dockerfile [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 10:12 GOVERNANCE.md [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 10:12 Jenkinsfile [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 14 10:12 LICENSE [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 14 10:12 Makefile [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 14 10:12 OWNERS.md [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 14 10:12 README.md [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 10:10 VERSION [2022-06-14T10:17:04.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 10:12 bin [2022-06-14T10:17:04.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 10:12 cmd [2022-06-14T10:17:04.641Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 14 10:16 coverage.out [2022-06-14T10:17:04.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:12 doc [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 14 10:12 go.mod [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 37502 Jun 14 10:12 go.sum [2022-06-14T10:17:04.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 10:12 internal [2022-06-14T10:17:04.641Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 14 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:17:05.004Z] + 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=e38ac52691ab06881740a7fea051eb446b26a705 --label arch=arm64 --label version=0.0.0 . [2022-06-14T10:17:05.277Z] Sending build context to Docker daemon 6.022MB [2022-06-14T10:17:05.551Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T10:17:05.551Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T10:17:05.551Z] ---> 46502880ab73 [2022-06-14T10:17:05.551Z] Step 3/26 : ARG MAKE="make build" [2022-06-14T10:17:05.551Z] ---> Running in 6a7a8447b4ff [2022-06-14T10:17:05.833Z] Removing intermediate container 6a7a8447b4ff [2022-06-14T10:17:05.833Z] ---> d5d5b56fe0f7 [2022-06-14T10:17:05.833Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T10:17:05.833Z] ---> Running in 3f848a9d1232 [2022-06-14T10:17:06.438Z] Removing intermediate container 3f848a9d1232 [2022-06-14T10:17:06.438Z] ---> b20c0544844d [2022-06-14T10:17:06.438Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T10:17:06.438Z] ---> Running in 22fa493ae40a [2022-06-14T10:17:06.711Z] Removing intermediate container 22fa493ae40a [2022-06-14T10:17:06.711Z] ---> 1d8e822c9461 [2022-06-14T10:17:06.711Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-14T10:17:06.711Z] ---> Running in 7614e116057a [2022-06-14T10:17:06.986Z] Removing intermediate container 7614e116057a [2022-06-14T10:17:06.986Z] ---> 96f3c35debfa [2022-06-14T10:17:06.986Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T10:17:06.986Z] ---> Running in aef5557e9c72 [2022-06-14T10:17:08.983Z] Removing intermediate container aef5557e9c72 [2022-06-14T10:17:08.983Z] ---> f10271c72ed3 [2022-06-14T10:17:08.983Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T10:17:08.983Z] ---> Running in 209126bd7004 [2022-06-14T10:17:09.969Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T10:17:10.943Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T10:17:12.381Z] OK: 220 MiB in 52 packages [2022-06-14T10:17:12.983Z] Removing intermediate container 209126bd7004 [2022-06-14T10:17:12.983Z] ---> 06adb182d494 [2022-06-14T10:17:12.983Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-14T10:17:12.983Z] ---> Running in dcd8a8454a8c [2022-06-14T10:17:13.276Z] Removing intermediate container dcd8a8454a8c [2022-06-14T10:17:13.276Z] ---> 9cb8a4498176 [2022-06-14T10:17:13.276Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-14T10:17:13.872Z] ---> 459e6a00533e [2022-06-14T10:17:13.872Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T10:17:14.146Z] ---> Running in a59fbb39c6bf [2022-06-14T10:17:16.126Z] Removing intermediate container a59fbb39c6bf [2022-06-14T10:17:16.126Z] ---> ec3de0cec8f2 [2022-06-14T10:17:16.126Z] Step 12/26 : COPY . . [2022-06-14T10:17:17.107Z] ---> 4d596554619c [2022-06-14T10:17:17.107Z] Step 13/26 : RUN ${MAKE} [2022-06-14T10:17:17.107Z] ---> Running in 92ac9f6d2be5 [2022-06-14T10:17:18.093Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-14T10:19:39.982Z] Removing intermediate container 92ac9f6d2be5 [2022-06-14T10:19:39.982Z] ---> 929ac418cc63 [2022-06-14T10:19:39.982Z] Step 14/26 : FROM alpine:3.15 [2022-06-14T10:19:39.982Z] 3.15: Pulling from library/alpine [2022-06-14T10:19:39.982Z] 9981e73032c8: Pulling fs layer [2022-06-14T10:19:39.982Z] 9981e73032c8: Verifying Checksum [2022-06-14T10:19:39.982Z] 9981e73032c8: Download complete [2022-06-14T10:19:39.982Z] 9981e73032c8: Pull complete [2022-06-14T10:19:39.982Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-14T10:19:39.982Z] Status: Downloaded newer image for alpine:3.15 [2022-06-14T10:19:39.982Z] ---> 3fb3c9af89a9 [2022-06-14T10:19:39.982Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-14T10:19:39.982Z] ---> Running in 71bd22d143f9 [2022-06-14T10:19:39.982Z] Removing intermediate container 71bd22d143f9 [2022-06-14T10:19:39.982Z] ---> d885294c00bf [2022-06-14T10:19:39.982Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T10:19:39.982Z] ---> Running in 21d28dad6d01 [2022-06-14T10:19:39.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T10:19:39.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T10:19:39.982Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T10:19:39.982Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-14T10:19:39.982Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T10:19:39.982Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-14T10:19:39.982Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T10:19:39.982Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T10:19:39.982Z] Executing busybox-1.34.1-r5.trigger [2022-06-14T10:19:39.982Z] OK: 8 MiB in 20 packages [2022-06-14T10:19:39.982Z] Removing intermediate container 21d28dad6d01 [2022-06-14T10:19:39.982Z] ---> ae4c4d922922 [2022-06-14T10:19:39.982Z] Step 17/26 : WORKDIR / [2022-06-14T10:19:39.982Z] ---> Running in 874619ba46e5 [2022-06-14T10:19:39.982Z] Removing intermediate container 874619ba46e5 [2022-06-14T10:19:39.982Z] ---> e279b2998684 [2022-06-14T10:19:39.982Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-14T10:19:39.982Z] ---> 30173a84aeee [2022-06-14T10:19:39.982Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-14T10:19:39.982Z] ---> b67b6d103a9c [2022-06-14T10:19:39.982Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-14T10:19:39.982Z] ---> 58a408ac1cf6 [2022-06-14T10:19:39.982Z] Step 21/26 : EXPOSE 59984 [2022-06-14T10:19:39.982Z] ---> Running in 193d08b67c5c [2022-06-14T10:19:39.982Z] Removing intermediate container 193d08b67c5c [2022-06-14T10:19:39.982Z] ---> 711d5a12b6e1 [2022-06-14T10:19:39.982Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-14T10:19:39.982Z] ---> Running in 88ed2dd05fd7 [2022-06-14T10:19:39.982Z] Removing intermediate container 88ed2dd05fd7 [2022-06-14T10:19:39.982Z] ---> 95392f096e09 [2022-06-14T10:19:39.982Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T10:19:39.982Z] ---> Running in 9aa7402aae77 [2022-06-14T10:19:39.982Z] Removing intermediate container 9aa7402aae77 [2022-06-14T10:19:39.982Z] ---> b6df96c2cbb3 [2022-06-14T10:19:39.982Z] Step 24/26 : LABEL arch=arm64 [2022-06-14T10:19:39.982Z] ---> Running in 0a68eb5e227a [2022-06-14T10:19:39.982Z] Removing intermediate container 0a68eb5e227a [2022-06-14T10:19:39.982Z] ---> 7e0a265dd19a [2022-06-14T10:19:39.982Z] Step 25/26 : LABEL git_sha=e38ac52691ab06881740a7fea051eb446b26a705 [2022-06-14T10:19:39.982Z] ---> Running in b7d630c9e507 [2022-06-14T10:19:39.982Z] Removing intermediate container b7d630c9e507 [2022-06-14T10:19:39.982Z] ---> 7d79fec955a8 [2022-06-14T10:19:39.982Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T10:19:39.982Z] ---> Running in cf435854171e [2022-06-14T10:19:39.982Z] Removing intermediate container cf435854171e [2022-06-14T10:19:39.982Z] ---> 252f9741637e [2022-06-14T10:19:39.982Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T10:19:39.982Z] Successfully built 252f9741637e [2022-06-14T10:19:39.982Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:19:40.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T10:19:40.426Z] [2022-06-14T10:19:40.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:19:40.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T10:19:41.048Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-14T10:19:41.048Z] 8998bd30e6a1: Pulling fs layer [2022-06-14T10:19:41.048Z] 04944245beec: Pulling fs layer [2022-06-14T10:19:41.048Z] 699f458cf7ca: Pulling fs layer [2022-06-14T10:19:41.048Z] 765212b225bb: Pulling fs layer [2022-06-14T10:19:41.048Z] f23df028b6ca: Pulling fs layer [2022-06-14T10:19:41.048Z] d65c8cfc05b1: Pulling fs layer [2022-06-14T10:19:41.048Z] 2437ff75d9bd: Pulling fs layer [2022-06-14T10:19:41.048Z] 765212b225bb: Waiting [2022-06-14T10:19:41.048Z] d65c8cfc05b1: Waiting [2022-06-14T10:19:41.048Z] f23df028b6ca: Waiting [2022-06-14T10:19:41.048Z] 2437ff75d9bd: Waiting [2022-06-14T10:19:41.048Z] 04944245beec: Verifying Checksum [2022-06-14T10:19:41.048Z] 04944245beec: Download complete [2022-06-14T10:19:41.048Z] 765212b225bb: Verifying Checksum [2022-06-14T10:19:41.048Z] 765212b225bb: Download complete [2022-06-14T10:19:41.048Z] f23df028b6ca: Verifying Checksum [2022-06-14T10:19:41.048Z] f23df028b6ca: Download complete [2022-06-14T10:19:41.048Z] d65c8cfc05b1: Verifying Checksum [2022-06-14T10:19:41.048Z] d65c8cfc05b1: Download complete [2022-06-14T10:19:41.329Z] 699f458cf7ca: Verifying Checksum [2022-06-14T10:19:41.329Z] 699f458cf7ca: Download complete [2022-06-14T10:19:41.605Z] 8998bd30e6a1: Verifying Checksum [2022-06-14T10:19:41.605Z] 8998bd30e6a1: Download complete [2022-06-14T10:19:44.227Z] 2437ff75d9bd: Verifying Checksum [2022-06-14T10:19:44.227Z] 2437ff75d9bd: Download complete [2022-06-14T10:19:46.203Z] 8998bd30e6a1: Pull complete [2022-06-14T10:19:46.475Z] 04944245beec: Pull complete [2022-06-14T10:19:48.583Z] 699f458cf7ca: Pull complete [2022-06-14T10:19:48.855Z] 765212b225bb: Pull complete [2022-06-14T10:19:49.840Z] f23df028b6ca: Pull complete [2022-06-14T10:19:50.114Z] d65c8cfc05b1: Pull complete [2022-06-14T10:20:05.206Z] 2437ff75d9bd: Pull complete [2022-06-14T10:20:05.206Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-14T10:20:05.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T10:20:05.206Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:20:05.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-2387 does not seem to be running inside a container [2022-06-14T10:20:05.546Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-14T10:20:08.073Z] $ docker top 515126236c6117dc72278274bacbd9e02409e5c8600c4e89a48529f16ac8c218 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:08.955Z] ---> job-cost.sh [2022-06-14T10:20:08.955Z] lf-activate-venv: SKIPPING [2022-06-14T10:20:08.955Z] INFO: No Stack... [2022-06-14T10:20:09.546Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-14T10:20:10.139Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T10:20:10.793Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-06-14T10:20:10.793Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T10:20:10.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [2022-06-14T10:20:10.829Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] did not exist. Created. [2022-06-14T10:20:10.829Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T10:20:11.497Z] /w/workspace/device-onvif-camera/6@tmp/durable-3d91ccbe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-14T10:20:12.175Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-14T10:20:12.204Z] Warning: overwriting stash ‘stack-cost’ [2022-06-14T10:20:12.248Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T10:20:12.254Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T10:20:12.285Z] $ docker stop --time=1 515126236c6117dc72278274bacbd9e02409e5c8600c4e89a48529f16ac8c218 [2022-06-14T10:20:13.774Z] $ docker rm -f 515126236c6117dc72278274bacbd9e02409e5c8600c4e89a48529f16ac8c218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-14T10:20:14.225Z] provisioning config files... [2022-06-14T10:20:14.234Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config6901413116913663457tmp [Pipeline] { [Pipeline] sh [2022-06-14T10:20:14.537Z] + set +x [2022-06-14T10:20:14.537Z] + curl -s https://codecov.io/bash [2022-06-14T10:20:14.537Z] + bash -s -- [2022-06-14T10:20:14.537Z] [2022-06-14T10:20:14.537Z] _____ _ [2022-06-14T10:20:14.537Z] / ____| | | [2022-06-14T10:20:14.537Z] | | ___ __| | ___ ___ _____ __ [2022-06-14T10:20:14.537Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-14T10:20:14.537Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-14T10:20:14.537Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-14T10:20:14.537Z] Bash-1.0.6 [2022-06-14T10:20:14.537Z] [2022-06-14T10:20:14.537Z] [2022-06-14T10:20:14.537Z] ==> git version 2.25.1 found [2022-06-14T10:20:14.537Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-14T10:20:14.537Z] Release-Date: 2020-01-08 [2022-06-14T10:20:14.537Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-14T10:20:14.537Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-14T10:20:14.537Z] ==> Jenkins CI detected. [2022-06-14T10:20:14.537Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-77 [2022-06-14T10:20:14.537Z] project root: . [2022-06-14T10:20:14.537Z] --> token set from env [2022-06-14T10:20:14.537Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-14T10:20:14.537Z] ==> Running gcov in . (disable via -X gcov) [2022-06-14T10:20:14.537Z] ==> Python coveragepy not found [2022-06-14T10:20:14.537Z] ==> Searching for coverage reports in: [2022-06-14T10:20:14.537Z] + . [2022-06-14T10:20:14.537Z] -> Found 1 reports [2022-06-14T10:20:14.537Z] ==> Detecting git/mercurial file structure [2022-06-14T10:20:14.799Z] ==> Reading reports [2022-06-14T10:20:14.799Z] + ./coverage.out bytes=59480 [2022-06-14T10:20:14.799Z] ==> Appending adjustments [2022-06-14T10:20:14.799Z] https://docs.codecov.io/docs/fixing-reports [2022-06-14T10:20:14.799Z] + Found adjustments [2022-06-14T10:20:14.799Z] ==> Gzipping contents [2022-06-14T10:20:14.799Z] 8.0K /tmp/codecov.lU0utF.gz [2022-06-14T10:20:14.799Z] ==> Uploading reports [2022-06-14T10:20:14.799Z] url: https://codecov.io [2022-06-14T10:20:14.799Z] query: branch=PR-77&commit=d294649dd3c9e6343319687f1c4878187362b3b0&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-77%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-06-14T10:20:14.799Z] -> Pinging Codecov [2022-06-14T10:20:14.799Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-77&commit=d294649dd3c9e6343319687f1c4878187362b3b0&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-77%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-06-14T10:20:15.060Z] -> Uploading to [2022-06-14T10:20:15.060Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-14/F29A59C45E3A92E06B3E522C9905F8EF/d294649dd3c9e6343319687f1c4878187362b3b0/e62caac5-4e68-44fe-9074-3719721c5586.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220614%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220614T102014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=338cef06e3dd92d696ae5d2de74fe61c73bc32a5983cc7f8a1be9c0d075bb325 [2022-06-14T10:20:15.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T10:20:15.060Z] Dload Upload Total Spent Left Speed [2022-06-14T10:20:15.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7645 0 0 100 7645 0 37475 --:--:-- --:--:-- --:--:-- 37292 100 7645 0 0 100 7645 0 33095 --:--:-- --:--:-- --:--:-- 32952 [2022-06-14T10:20:15.320Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d294649dd3c9e6343319687f1c4878187362b3b0 [Pipeline] } [2022-06-14T10:20:15.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-14T10:20:16.033Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-77/archives ] [2022-06-14T10:20:16.033Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-14T10:20:16.033Z] total 16 [2022-06-14T10:20:16.033Z] drwxr-xr-x 3 root root 4096 Jun 14 10:12 . [2022-06-14T10:20:16.033Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 10:12 .. [2022-06-14T10:20:16.033Z] drwxr-xr-x 2 root root 4096 Jun 14 10:12 cost [2022-06-14T10:20:16.033Z] -rw-r--r-- 1 root root 89 Jun 14 10:12 cost.csv [2022-06-14T10:20:16.033Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-14T10:20:16.033Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-14T10:20:16.033Z] total 16 [2022-06-14T10:20:16.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 10:12 . [2022-06-14T10:20:16.033Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 10:12 .. [2022-06-14T10:20:16.033Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 14 10:12 cost [2022-06-14T10:20:16.033Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 14 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:16.334Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:17.209Z] ---> package-listing.sh [2022-06-14T10:20:17.209Z] ++ facter osfamily [2022-06-14T10:20:17.209Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-14T10:20:17.470Z] + OS_FAMILY=debian [2022-06-14T10:20:17.470Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-77 [2022-06-14T10:20:17.470Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-14T10:20:17.470Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-14T10:20:17.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-14T10:20:17.470Z] + PACKAGES=/tmp/packages_start.txt [2022-06-14T10:20:17.470Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-14T10:20:17.470Z] + PACKAGES=/tmp/packages_end.txt [2022-06-14T10:20:17.470Z] + case "${OS_FAMILY}" in [2022-06-14T10:20:17.470Z] + dpkg -l [2022-06-14T10:20:17.470Z] + grep '^ii' [2022-06-14T10:20:17.470Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-14T10:20:17.470Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-14T10:20:17.470Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-14T10:20:17.470Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-14T10:20:17.470Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [2022-06-14T10:20:17.470Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [Pipeline] echo [2022-06-14T10:20:17.482Z] 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/oundry_device-onvif-camera_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-14T10:20:17.762Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T10:20:18.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T10:20:18.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T10:20:18.414Z] prd-ubuntu20.04-docker-8c-8g-2385 does not seem to be running inside a container [2022-06-14T10:20:18.454Z] $ 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/oundry_device-onvif-camera_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-14T10:20:18.686Z] $ docker top 4bab67bce6df8bb5973d042d61db29475df89bbb8b2d58c745e40681ac095601 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T10:20:19.051Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-14T10:20:19.341Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-14T10:20:19.632Z] + ls /var/log/sa-host [2022-06-14T10:20:19.632Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T10:20:19.787Z] provisioning config files... [2022-06-14T10:20:19.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config4396654603694326830tmp [Pipeline] { [Pipeline] echo [2022-06-14T10:20:19.813Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:20.105Z] ---> create-netrc.sh [Pipeline] } [2022-06-14T10:20:20.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:20.446Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-14T10:20:20.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:20.746Z] ---> sudo-logs.sh [2022-06-14T10:20:20.746Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-14T10:20:20.780Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:21.071Z] ---> job-cost.sh [2022-06-14T10:20:21.071Z] lf-activate-venv: SKIPPING [2022-06-14T10:20:21.071Z] DEBUG: total: 0.2199999988079071 [2022-06-14T10:20:21.071Z] INFO: Retrieving Stack Cost... [2022-06-14T10:20:21.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T10:20:21.910Z] INFO: Archiving Costs [Pipeline] echo [2022-06-14T10:20:21.923Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T10:20:22.211Z] ---> logs-deploy.sh [2022-06-14T10:20:22.211Z] lf-activate-venv: SKIPPING [2022-06-14T10:20:22.211Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-77/6 [2022-06-14T10:20:22.211Z] INFO: archiving workspace using pattern(s): [2022-06-14T10:20:23.152Z] Archives upload complete. [2022-06-14T10:20:23.152Z] INFO: archiving logs to Nexus