Pull request #91 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2ac0656f1c720f0ab4eba7386d31c91d08757e36+8374ad439d5c8571ae7424cc77de71a785d5a0ca (46e18850502e9f00719f5a99945160a6da295147) 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-ssh7123003366721735614.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-ssh5644546164096541639.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh667488628771627867.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15971561568409639775.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12243811950673223490.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6481084236955895066.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-15488 in /w/workspace/oundry_device-onvif-camera_PR-91 [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-91 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 2ac0656f1c720f0ab4eba7386d31c91d08757e36 Merge succeeded, producing 2ac0656f1c720f0ab4eba7386d31c91d08757e36 Checking out Revision 2ac0656f1c720f0ab4eba7386d31c91d08757e36 (PR-91) > 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/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # timeout=10 Commit message: "fix: run status checks for each device in parallel" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T23:52:52.656Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T23:52:52.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T23:52:52.939Z] ========================================================= [2022-06-23T23:52:52.939Z] EdgeX Global Pipelines Version Info [2022-06-23T23:52:52.939Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-23T23:52:53.740Z] ------------------- [2022-06-23T23:52:53.740Z] stable info: [2022-06-23T23:52:53.740Z] ------------------- [2022-06-23T23:52:53.740Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T23:52:53.740Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T23:52:53.740Z] Message: update stable to v1.0.234 [2022-06-23T23:52:54.313Z] ------------------- [2022-06-23T23:52:54.313Z] experimental info: [2022-06-23T23:52:54.313Z] ------------------- [2022-06-23T23:52:54.313Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T23:52:54.313Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T23:52:54.313Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T23:52:54.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-23T23:52:54.714Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-23T23:52:54.751Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T23:52:54.791Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T23:52:54.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T23:52:54.864Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T23:52:54.904Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T23:52:54.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T23:52:54.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T23:52:55.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T23:52:55.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T23:52:55.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-23T23:52:55.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T23:52:55.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T23:52:55.205Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T23:52:55.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T23:52:55.282Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T23:52:55.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T23:52:55.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T23:52:55.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T23:52:55.435Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T23:52:55.477Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T23:52:55.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T23:52:55.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T23:52:55.591Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T23:52:55.631Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T23:52:55.669Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T23:52:55.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2022-06-23T23:52:55.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2022-06-23T23:52:55.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2022-06-23T23:52:55.826Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [Pipeline] echo [2022-06-23T23:52:55.862Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ac0656 [Pipeline] echo [2022-06-23T23:52:55.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T23:52:56.005Z] provisioning config files... [2022-06-23T23:52:56.022Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config1006841071410139423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T23:52:56.363Z] ---> docker-login.sh [2022-06-23T23:52:56.363Z] nexus3.edgexfoundry.org:10001 [2022-06-23T23:52:56.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:52:56.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:52:56.626Z] Configure a credential helper to remove this warning. See [2022-06-23T23:52:56.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:52:56.626Z] [2022-06-23T23:52:56.626Z] Login Succeeded [2022-06-23T23:52:56.626Z] nexus3.edgexfoundry.org:10002 [2022-06-23T23:52:56.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:52:56.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:52:56.887Z] Configure a credential helper to remove this warning. See [2022-06-23T23:52:56.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:52:56.887Z] [2022-06-23T23:52:56.887Z] Login Succeeded [2022-06-23T23:52:56.887Z] nexus3.edgexfoundry.org:10003 [2022-06-23T23:52:56.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:52:57.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:52:57.150Z] Configure a credential helper to remove this warning. See [2022-06-23T23:52:57.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:52:57.150Z] [2022-06-23T23:52:57.150Z] Login Succeeded [2022-06-23T23:52:57.150Z] nexus3.edgexfoundry.org:10004 [2022-06-23T23:52:57.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:52:57.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:52:57.150Z] Configure a credential helper to remove this warning. See [2022-06-23T23:52:57.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:52:57.150Z] [2022-06-23T23:52:57.150Z] Login Succeeded [2022-06-23T23:52:57.150Z] docker.io [2022-06-23T23:52:57.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:52:57.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:52:57.673Z] Configure a credential helper to remove this warning. See [2022-06-23T23:52:57.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:52:57.673Z] [2022-06-23T23:52:57.673Z] Login Succeeded [2022-06-23T23:52:57.673Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T23:52:57.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T23:52:58.325Z] + git rev-list -1 --merges 2ac0656f1c720f0ab4eba7386d31c91d08757e36~1..2ac0656f1c720f0ab4eba7386d31c91d08757e36 [Pipeline] echo [2022-06-23T23:52:58.387Z] -----------> git rev-list -1 --merges 2ac0656f1c720f0ab4eba7386d31c91d08757e36~1..2ac0656f1c720f0ab4eba7386d31c91d08757e36 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [false] [Pipeline] sh [2022-06-23T23:52:58.702Z] + git log --format=format:%s -1 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [Pipeline] echo [2022-06-23T23:52:58.736Z] ========================================================= [2022-06-23T23:52:58.736Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T23:52:58.736Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T23:52:59.164Z] + git log --format=format:%s -1 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [Pipeline] echo [2022-06-23T23:52:59.200Z] [semverPrep] GIT_COMMIT: 2ac0656f1c720f0ab4eba7386d31c91d08757e36, Commit Message: fix: run status checks for each device in parallel [Pipeline] echo [2022-06-23T23:52:59.229Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T23:52:59.617Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T23:52:59.617Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T23:52:59.617Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T23:52:59.617Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T23:52:59.617Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T23:52:59.617Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T23:52:59.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:53:00.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T23:53:00.121Z] [2022-06-23T23:53:00.121Z] 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-23T23:53:00.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T23:53:00.517Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T23:53:00.517Z] 42c077c10790: Pulling fs layer [2022-06-23T23:53:00.517Z] f63e77b7563a: Pulling fs layer [2022-06-23T23:53:00.517Z] bd5fdadae976: Pulling fs layer [2022-06-23T23:53:00.517Z] 205491f53016: Pulling fs layer [2022-06-23T23:53:00.517Z] df18705c85c3: Pulling fs layer [2022-06-23T23:53:00.517Z] bdb3f477010e: Pulling fs layer [2022-06-23T23:53:00.517Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T23:53:00.517Z] 205491f53016: Waiting [2022-06-23T23:53:00.517Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T23:53:00.517Z] bdb8f0575790: Pulling fs layer [2022-06-23T23:53:00.517Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T23:53:00.517Z] 2343380bae48: Pulling fs layer [2022-06-23T23:53:00.517Z] 2c6e9b1d212d: Waiting [2022-06-23T23:53:00.517Z] c8a8fc8e1c8f: Waiting [2022-06-23T23:53:00.517Z] 386e3cb2ff24: Waiting [2022-06-23T23:53:00.517Z] bdb8f0575790: Waiting [2022-06-23T23:53:00.517Z] 2343380bae48: Waiting [2022-06-23T23:53:00.517Z] bdb3f477010e: Waiting [2022-06-23T23:53:00.517Z] f63e77b7563a: Verifying Checksum [2022-06-23T23:53:00.517Z] f63e77b7563a: Download complete [2022-06-23T23:53:00.517Z] 205491f53016: Verifying Checksum [2022-06-23T23:53:00.517Z] 205491f53016: Download complete [2022-06-23T23:53:00.779Z] df18705c85c3: Verifying Checksum [2022-06-23T23:53:00.779Z] df18705c85c3: Download complete [2022-06-23T23:53:00.779Z] bdb3f477010e: Verifying Checksum [2022-06-23T23:53:00.779Z] bdb3f477010e: Download complete [2022-06-23T23:53:00.779Z] bd5fdadae976: Verifying Checksum [2022-06-23T23:53:00.779Z] bd5fdadae976: Download complete [2022-06-23T23:53:00.779Z] 2c6e9b1d212d: Verifying Checksum [2022-06-23T23:53:00.779Z] 2c6e9b1d212d: Download complete [2022-06-23T23:53:00.779Z] bdb8f0575790: Verifying Checksum [2022-06-23T23:53:00.779Z] bdb8f0575790: Download complete [2022-06-23T23:53:00.779Z] 386e3cb2ff24: Download complete [2022-06-23T23:53:00.779Z] 42c077c10790: Verifying Checksum [2022-06-23T23:53:00.779Z] 42c077c10790: Download complete [2022-06-23T23:53:01.039Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-23T23:53:01.039Z] c8a8fc8e1c8f: Download complete [2022-06-23T23:53:02.426Z] 42c077c10790: Pull complete [2022-06-23T23:53:02.426Z] f63e77b7563a: Pull complete [2022-06-23T23:53:02.999Z] bd5fdadae976: Pull complete [2022-06-23T23:53:02.999Z] 205491f53016: Pull complete [2022-06-23T23:53:03.260Z] df18705c85c3: Pull complete [2022-06-23T23:53:03.522Z] bdb3f477010e: Pull complete [2022-06-23T23:53:05.444Z] c8a8fc8e1c8f: Pull complete [2022-06-23T23:53:05.705Z] 2c6e9b1d212d: Pull complete [2022-06-23T23:53:05.705Z] bdb8f0575790: Pull complete [2022-06-23T23:53:05.969Z] 386e3cb2ff24: Pull complete [2022-06-23T23:53:05.969Z] 2343380bae48: Pull complete [2022-06-23T23:53:05.969Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T23:53:05.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T23:53:05.969Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:53:06.205Z] prd-ubuntu20.04-docker-8c-8g-15488 does not seem to be running inside a container [2022-06-23T23:53:06.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T23:53:07.845Z] $ docker top 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 -eo pid,comm [2022-06-23T23:53:07.917Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-23T23:53:07.917Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T23:53:08.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T23:53:08.061Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T23:53:08.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T23:53:08.215Z] $ docker exec 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 ssh-agent [2022-06-23T23:53:08.345Z] SSH_AUTH_SOCK=/tmp/ssh-OwV3SsKMAyqE/agent.34 [2022-06-23T23:53:08.345Z] SSH_AGENT_PID=40 [2022-06-23T23:53:08.352Z] Running ssh-add (command line suppressed) [2022-06-23T23:53:08.484Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6679067166069411546.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6679067166069411546.key) [2022-06-23T23:53:08.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T23:53:08.829Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T23:53:08.858Z] $ docker exec --env ******** --env ******** 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 ssh-agent -k [2022-06-23T23:53:08.980Z] unset SSH_AUTH_SOCK; [2022-06-23T23:53:08.980Z] unset SSH_AGENT_PID; [2022-06-23T23:53:08.980Z] echo Agent pid 40 killed; [2022-06-23T23:53:08.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T23:53:09.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T23:53:09.085Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T23:53:09.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T23:53:09.225Z] $ docker exec 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 ssh-agent [2022-06-23T23:53:09.359Z] SSH_AUTH_SOCK=/tmp/ssh-aylC8n3bnA4n/agent.72 [2022-06-23T23:53:09.359Z] SSH_AGENT_PID=78 [2022-06-23T23:53:09.365Z] Running ssh-add (command line suppressed) [2022-06-23T23:53:09.496Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_1504064728806464232.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_1504064728806464232.key) [2022-06-23T23:53:09.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T23:53:09.843Z] + git semver init [2022-06-23T23:53:10.105Z] 2022-06-23 23:53:10,054 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T23:53:10.105Z] 2022-06-23 23:53:10,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-91/.semver [2022-06-23T23:53:10.105Z] 2022-06-23 23:53:10,055 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-91/.semver [2022-06-23T23:53:10.105Z] 2022-06-23 23:53:10,055 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-91/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91, universal_newlines=False, shell=None, istream=None) [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,754 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-91/.git/info/exclude [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,755 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 with force:False [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,755 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,760 [execute] INFO git cat-file --batch-check [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,767 [execute] INFO git cat-file --batch [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T23:53:11.055Z] 2022-06-23 23:53:10,774 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 [2022-06-23T23:53:11.055Z] 0.0.0 [Pipeline] } [2022-06-23T23:53:11.085Z] $ docker exec --env ******** --env ******** 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 ssh-agent -k [2022-06-23T23:53:11.215Z] unset SSH_AUTH_SOCK; [2022-06-23T23:53:11.215Z] unset SSH_AGENT_PID; [2022-06-23T23:53:11.215Z] echo Agent pid 78 killed; [2022-06-23T23:53:11.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T23:53:11.634Z] + git semver [Pipeline] } [2022-06-23T23:53:11.929Z] $ docker stop --time=1 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 [2022-06-23T23:53:13.251Z] $ docker rm -f 9f2918df3d33e3e0ca63f9c24e66e2bc1d12f82c5532f3687b5e5c3ab5eff735 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T23:53:13.674Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T23:53:14.000Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T23:53:14.018Z] [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-23T23:53:14.607Z] provisioning config files... [2022-06-23T23:53:14.619Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config6193800694138570423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T23:53:14.968Z] ---> docker-login.sh [2022-06-23T23:53:14.969Z] nexus3.edgexfoundry.org:10001 [2022-06-23T23:53:14.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:53:14.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:53:14.969Z] Configure a credential helper to remove this warning. See [2022-06-23T23:53:14.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:53:14.969Z] [2022-06-23T23:53:14.969Z] Login Succeeded [2022-06-23T23:53:14.969Z] nexus3.edgexfoundry.org:10002 [2022-06-23T23:53:14.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:53:15.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:53:15.229Z] Configure a credential helper to remove this warning. See [2022-06-23T23:53:15.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:53:15.229Z] [2022-06-23T23:53:15.229Z] Login Succeeded [2022-06-23T23:53:15.229Z] nexus3.edgexfoundry.org:10003 [2022-06-23T23:53:15.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:53:15.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:53:15.229Z] Configure a credential helper to remove this warning. See [2022-06-23T23:53:15.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:53:15.229Z] [2022-06-23T23:53:15.229Z] Login Succeeded [2022-06-23T23:53:15.229Z] nexus3.edgexfoundry.org:10004 [2022-06-23T23:53:15.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:53:15.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:53:15.494Z] Configure a credential helper to remove this warning. See [2022-06-23T23:53:15.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:53:15.494Z] [2022-06-23T23:53:15.494Z] Login Succeeded [2022-06-23T23:53:15.494Z] docker.io [2022-06-23T23:53:15.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:53:15.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:53:15.758Z] Configure a credential helper to remove this warning. See [2022-06-23T23:53:15.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:53:15.758Z] [2022-06-23T23:53:15.758Z] Login Succeeded [2022-06-23T23:53:15.758Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T23:53:15.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T23:53:15.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T23:53:16.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T23:53:16.045Z] ========================================================= [2022-06-23T23:53:16.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T23:53:16.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:53:16.523Z] + 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-23T23:53:16.523Z] Sending build context to Docker daemon 8.772MB [2022-06-23T23:53:16.523Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T23:53:16.523Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T23:53:16.523Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T23:53:16.523Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T23:53:16.523Z] 666ba61612fd: Pulling fs layer [2022-06-23T23:53:16.523Z] 8ed8ca486205: Pulling fs layer [2022-06-23T23:53:16.523Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T23:53:16.523Z] c516ae0d96e1: Pulling fs layer [2022-06-23T23:53:16.523Z] 684cea983483: Pulling fs layer [2022-06-23T23:53:16.523Z] dd3240ac7de5: Pulling fs layer [2022-06-23T23:53:16.523Z] b1e948a4e11c: Pulling fs layer [2022-06-23T23:53:16.523Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T23:53:16.523Z] 646ad004c059: Pulling fs layer [2022-06-23T23:53:16.523Z] cc1cd167ecdc: Waiting [2022-06-23T23:53:16.523Z] c516ae0d96e1: Waiting [2022-06-23T23:53:16.523Z] 684cea983483: Waiting [2022-06-23T23:53:16.523Z] 646ad004c059: Waiting [2022-06-23T23:53:16.524Z] dd3240ac7de5: Waiting [2022-06-23T23:53:16.524Z] a8fd76ee1af6: Waiting [2022-06-23T23:53:16.524Z] 8ed8ca486205: Verifying Checksum [2022-06-23T23:53:16.524Z] 8ed8ca486205: Download complete [2022-06-23T23:53:16.789Z] 666ba61612fd: Verifying Checksum [2022-06-23T23:53:16.789Z] 666ba61612fd: Download complete [2022-06-23T23:53:16.789Z] c516ae0d96e1: Verifying Checksum [2022-06-23T23:53:16.789Z] c516ae0d96e1: Download complete [2022-06-23T23:53:16.789Z] 684cea983483: Verifying Checksum [2022-06-23T23:53:16.789Z] 684cea983483: Download complete [2022-06-23T23:53:16.789Z] dd3240ac7de5: Download complete [2022-06-23T23:53:16.789Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T23:53:16.789Z] 59bf1c3509f3: Download complete [2022-06-23T23:53:16.789Z] b1e948a4e11c: Verifying Checksum [2022-06-23T23:53:16.789Z] b1e948a4e11c: Download complete [2022-06-23T23:53:17.051Z] 59bf1c3509f3: Pull complete [2022-06-23T23:53:17.051Z] 666ba61612fd: Pull complete [2022-06-23T23:53:17.051Z] 8ed8ca486205: Pull complete [2022-06-23T23:53:17.313Z] 646ad004c059: Verifying Checksum [2022-06-23T23:53:17.313Z] 646ad004c059: Download complete [2022-06-23T23:53:17.313Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T23:53:17.313Z] a8fd76ee1af6: Download complete [2022-06-23T23:53:17.573Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T23:53:17.573Z] cc1cd167ecdc: Download complete [2022-06-23T23:53:21.770Z] cc1cd167ecdc: Pull complete [2022-06-23T23:53:21.770Z] c516ae0d96e1: Pull complete [2022-06-23T23:53:21.770Z] 684cea983483: Pull complete [2022-06-23T23:53:21.770Z] dd3240ac7de5: Pull complete [2022-06-23T23:53:22.030Z] b1e948a4e11c: Pull complete [2022-06-23T23:53:24.575Z] a8fd76ee1af6: Pull complete [2022-06-23T23:53:25.145Z] 646ad004c059: Pull complete [2022-06-23T23:53:25.145Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T23:53:25.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T23:53:25.145Z] ---> 8f69c11f6b0c [2022-06-23T23:53:25.145Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T23:53:27.077Z] ---> Running in bad9c90698ee [2022-06-23T23:53:27.077Z] Removing intermediate container bad9c90698ee [2022-06-23T23:53:27.077Z] ---> aa0e7058de11 [2022-06-23T23:53:27.077Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T23:53:27.077Z] ---> Running in bef559e7521f [2022-06-23T23:53:27.077Z] Removing intermediate container bef559e7521f [2022-06-23T23:53:27.077Z] ---> b7e4ef718c6f [2022-06-23T23:53:27.077Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T23:53:27.077Z] ---> Running in 052c12e2bb05 [2022-06-23T23:53:27.338Z] Removing intermediate container 052c12e2bb05 [2022-06-23T23:53:27.338Z] ---> 8e8d024ececc [2022-06-23T23:53:27.338Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T23:53:27.338Z] ---> Running in 3089d9acfda2 [2022-06-23T23:53:27.338Z] Removing intermediate container 3089d9acfda2 [2022-06-23T23:53:27.338Z] ---> 0ffe5f34ede2 [2022-06-23T23:53:27.338Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T23:53:27.600Z] ---> Running in a19d47b7fea7 [2022-06-23T23:53:28.172Z] Removing intermediate container a19d47b7fea7 [2022-06-23T23:53:28.172Z] ---> 77cbe68610b8 [2022-06-23T23:53:28.172Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T23:53:28.172Z] ---> Running in 2d63c4109a54 [2022-06-23T23:53:28.432Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T23:53:29.376Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T23:53:29.422Z] Still waiting to schedule task [2022-06-23T23:53:29.423Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T23:53:29.636Z] OK: 221 MiB in 52 packages [2022-06-23T23:53:29.900Z] Removing intermediate container 2d63c4109a54 [2022-06-23T23:53:29.900Z] ---> 7beb0a1d6443 [2022-06-23T23:53:29.900Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T23:53:30.167Z] ---> Running in ee2377fa453c [2022-06-23T23:53:30.167Z] Removing intermediate container ee2377fa453c [2022-06-23T23:53:30.167Z] ---> 6ba1d706c6ef [2022-06-23T23:53:30.167Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T23:53:30.428Z] ---> f39395592bb9 [2022-06-23T23:53:30.428Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T23:53:30.428Z] ---> Running in 67e1146d3b80 [2022-06-23T23:54:17.163Z] Removing intermediate container 67e1146d3b80 [2022-06-23T23:54:17.163Z] ---> 5b14192ecf23 [2022-06-23T23:54:17.163Z] Step 12/13 : COPY . . [2022-06-23T23:54:17.163Z] ---> 77e7df348bca [2022-06-23T23:54:17.163Z] Step 13/13 : RUN ${MAKE} [2022-06-23T23:54:17.163Z] ---> Running in 7208604e59f0 [2022-06-23T23:54:17.163Z] noop [2022-06-23T23:54:17.163Z] Removing intermediate container 7208604e59f0 [2022-06-23T23:54:17.163Z] ---> 1e6a473b8ea6 [2022-06-23T23:54:17.163Z] Successfully built 1e6a473b8ea6 [2022-06-23T23:54:17.163Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:54:17.603Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T23:54:17.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:54:17.768Z] prd-ubuntu20.04-docker-8c-8g-15488 does not seem to be running inside a container [2022-06-23T23:54:17.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T23:54:18.205Z] $ docker top 9cd82c90867df3b4fe5c897cba5766a1bee62fd19880898a0f6238e82b3c93f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T23:54:18.615Z] + go version [2022-06-23T23:54:18.615Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T23:54:18.650Z] $ docker stop --time=1 9cd82c90867df3b4fe5c897cba5766a1bee62fd19880898a0f6238e82b3c93f6 [2022-06-23T23:54:19.936Z] $ docker rm -f 9cd82c90867df3b4fe5c897cba5766a1bee62fd19880898a0f6238e82b3c93f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:54:20.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T23:54:20.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:54:20.902Z] prd-ubuntu20.04-docker-8c-8g-15488 does not seem to be running inside a container [2022-06-23T23:54:20.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T23:54:21.370Z] $ docker top db56a51c6738c1fde6455ddc9cc7dd23ce3b984b53b8f673eb64c4d1d83ee988 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T23:54:21.838Z] + make test [2022-06-23T23:54:21.838Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T23:54:22.098Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T23:54:34.314Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T23:54:34.314Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-23T23:54:37.621Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.622s coverage: 13.8% of statements [2022-06-23T23:54:45.757Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T23:54:49.965Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T23:54:49.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T23:54:49.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T23:54:50.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T23:54:50.037Z] $ docker stop --time=1 db56a51c6738c1fde6455ddc9cc7dd23ce3b984b53b8f673eb64c4d1d83ee988 [2022-06-23T23:54:51.768Z] $ docker rm -f db56a51c6738c1fde6455ddc9cc7dd23ce3b984b53b8f673eb64c4d1d83ee988 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T23:54:52.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T23:54:52.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T23:54:53.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T23:54:53.372Z] + ls -al . [2022-06-23T23:54:53.373Z] total 236 [2022-06-23T23:54:53.373Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 23:54 . [2022-06-23T23:54:53.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:52 .. [2022-06-23T23:54:53.373Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 23:53 .git [2022-06-23T23:54:53.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 23:52 .github [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 23:52 .gitignore [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 23:52 .golangci.yml [2022-06-23T23:54:53.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 23:53 .semver [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 23:52 Attribution.txt [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 23:52 CHANGELOG.md [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 23:52 Dockerfile [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 23:52 GOVERNANCE.md [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 23:52 Jenkinsfile [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 23:52 LICENSE [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 23:52 Makefile [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 23:52 OWNERS.md [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 23:52 README.md [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 23:53 VERSION [2022-06-23T23:54:53.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 23:52 bin [2022-06-23T23:54:53.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 23:52 cmd [2022-06-23T23:54:53.373Z] -rw-r--r-- 1 jenkins jenkins 59668 Jun 23 23:54 coverage.out [2022-06-23T23:54:53.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:52 doc [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 23:52 go.mod [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 23:52 go.sum [2022-06-23T23:54:53.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:52 internal [2022-06-23T23:54:53.373Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:54:53.759Z] + 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=2ac0656f1c720f0ab4eba7386d31c91d08757e36 --label arch=amd64 --label version=0.0.0 . [2022-06-23T23:54:53.759Z] Sending build context to Docker daemon 8.832MB [2022-06-23T23:54:53.759Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T23:54:53.759Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T23:54:53.759Z] ---> 1e6a473b8ea6 [2022-06-23T23:54:53.759Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T23:54:54.020Z] ---> Running in e217b9d1129e [2022-06-23T23:54:54.020Z] Removing intermediate container e217b9d1129e [2022-06-23T23:54:54.020Z] ---> 468dca9349f9 [2022-06-23T23:54:54.020Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T23:54:54.284Z] ---> Running in 05c2f45100bf [2022-06-23T23:54:54.284Z] Removing intermediate container 05c2f45100bf [2022-06-23T23:54:54.284Z] ---> 23fb7b7b3824 [2022-06-23T23:54:54.284Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T23:54:54.284Z] ---> Running in 7431e2e60000 [2022-06-23T23:54:54.545Z] Removing intermediate container 7431e2e60000 [2022-06-23T23:54:54.545Z] ---> 7eaf529921e4 [2022-06-23T23:54:54.545Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T23:54:54.545Z] ---> Running in 6fd760139a17 [2022-06-23T23:54:54.805Z] Removing intermediate container 6fd760139a17 [2022-06-23T23:54:54.805Z] ---> f7a4ffd9d384 [2022-06-23T23:54:54.805Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T23:54:54.805Z] ---> Running in b2921b810046 [2022-06-23T23:54:55.748Z] Removing intermediate container b2921b810046 [2022-06-23T23:54:55.748Z] ---> 40ba9b04e821 [2022-06-23T23:54:55.748Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T23:54:55.748Z] ---> Running in c718ced141d8 [2022-06-23T23:54:55.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T23:54:56.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T23:54:56.951Z] OK: 221 MiB in 52 packages [2022-06-23T23:54:57.211Z] Removing intermediate container c718ced141d8 [2022-06-23T23:54:57.211Z] ---> 6e99429d7b48 [2022-06-23T23:54:57.211Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T23:54:57.473Z] ---> Running in f68dc439129a [2022-06-23T23:54:57.473Z] Removing intermediate container f68dc439129a [2022-06-23T23:54:57.473Z] ---> da0ec8d787fb [2022-06-23T23:54:57.473Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T23:54:57.733Z] ---> c5bf9be4b0dd [2022-06-23T23:54:57.733Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T23:54:57.733Z] ---> Running in 3632485a88f6 [2022-06-23T23:54:58.308Z] Removing intermediate container 3632485a88f6 [2022-06-23T23:54:58.308Z] ---> 05f13d954920 [2022-06-23T23:54:58.308Z] Step 12/26 : COPY . . [2022-06-23T23:54:58.881Z] ---> db28f41d4821 [2022-06-23T23:54:58.881Z] Step 13/26 : RUN ${MAKE} [2022-06-23T23:54:58.881Z] ---> Running in 42dc1622ea13 [2022-06-23T23:54:59.141Z] 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-23T23:55:04.360Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15489 in /w/workspace/oundry_device-onvif-camera_PR-91 [Pipeline] { [Pipeline] ws [2022-06-23T23:55:04.404Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-23T23:55:04.483Z] Selected Git installation does not exist. Using Default [2022-06-23T23:55:04.483Z] The recommended git tool is: NONE [2022-06-23T23:55:11.894Z] using credential edgex-jenkins-ssh [2022-06-23T23:55:11.916Z] Cloning the remote Git repository [2022-06-23T23:55:11.994Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T23:55:12.079Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-23T23:55:12.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T23:55:12.189Z] > git --version # timeout=10 [2022-06-23T23:55:12.228Z] > git --version # 'git version 2.25.1' [2022-06-23T23:55:12.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T23:55:12.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T23:55:13.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T23:55:13.260Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T23:55:13.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T23:55:13.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T23:55:13.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T23:55:13.454Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-23T23:55:14.008Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [2022-06-23T23:55:14.583Z] Merge succeeded, producing 2ac0656f1c720f0ab4eba7386d31c91d08757e36 [2022-06-23T23:55:14.583Z] Checking out Revision 2ac0656f1c720f0ab4eba7386d31c91d08757e36 (PR-91) [2022-06-23T23:55:14.035Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T23:55:14.075Z] > git checkout -f 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # timeout=10 [2022-06-23T23:55:14.452Z] > git remote # timeout=10 [2022-06-23T23:55:14.483Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T23:55:14.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T23:55:14.521Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-23T23:55:14.554Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T23:55:14.593Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T23:55:14.614Z] > git checkout -f 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # timeout=10 [2022-06-23T23:55:19.102Z] Commit message: "fix: run status checks for each device in parallel" [2022-06-23T23:55:19.163Z] > git --version # timeout=10 [2022-06-23T23:55:19.173Z] > git --version # 'git version 2.25.1' [2022-06-23T23:55:19.191Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T23:55:20.293Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T23:55:20.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T23:55:20.293Z] Dload Upload Total Spent Left Speed [2022-06-23T23:55:20.293Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 90762 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh [2022-06-23T23:55:20.975Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T23:55:21.106Z] Removing intermediate container 42dc1622ea13 [2022-06-23T23:55:21.106Z] ---> b81e2f7a0abf [2022-06-23T23:55:21.106Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T23:55:21.330Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T23:55:21.330Z] + sudo tee /etc/docker/daemon.new [2022-06-23T23:55:21.330Z] { [2022-06-23T23:55:21.330Z] "registry-mirrors": [ [2022-06-23T23:55:21.330Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T23:55:21.330Z] ], [2022-06-23T23:55:21.330Z] "bip": "10.250.0.254/24", [2022-06-23T23:55:21.330Z] "hosts": [ [2022-06-23T23:55:21.330Z] "tcp://0.0.0.0:5555", [2022-06-23T23:55:21.330Z] "unix:///var/run/docker.sock" [2022-06-23T23:55:21.330Z] ], [2022-06-23T23:55:21.330Z] "mtu": 1458, [2022-06-23T23:55:21.330Z] "selinux-enabled": true, [2022-06-23T23:55:21.330Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T23:55:21.330Z] } [Pipeline] sh [2022-06-23T23:55:21.367Z] 3.15: Pulling from library/alpine [2022-06-23T23:55:21.627Z] df9b9388f04a: Pulling fs layer [2022-06-23T23:55:21.754Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T23:55:21.887Z] df9b9388f04a: Verifying Checksum [2022-06-23T23:55:21.887Z] df9b9388f04a: Download complete [2022-06-23T23:55:21.887Z] df9b9388f04a: Pull complete [2022-06-23T23:55:21.887Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T23:55:21.887Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T23:55:21.887Z] ---> 0ac33e5f5afa [2022-06-23T23:55:21.887Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T23:55:21.887Z] ---> Running in 5b3641824f22 [2022-06-23T23:55:22.114Z] + sudo service docker restart [2022-06-23T23:55:22.146Z] Removing intermediate container 5b3641824f22 [2022-06-23T23:55:22.146Z] ---> 993fb1ad40e4 [2022-06-23T23:55:22.146Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T23:55:22.146Z] ---> Running in d1fc9913fe97 [2022-06-23T23:55:22.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T23:55:22.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T23:55:22.672Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T23:55:22.672Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T23:55:22.935Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T23:55:22.935Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T23:55:22.935Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T23:55:22.935Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T23:55:22.935Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T23:55:22.935Z] OK: 8 MiB in 20 packages [2022-06-23T23:55:23.196Z] Removing intermediate container d1fc9913fe97 [2022-06-23T23:55:23.196Z] ---> 8057d04ecafe [2022-06-23T23:55:23.196Z] Step 17/26 : WORKDIR / [2022-06-23T23:55:23.457Z] ---> Running in a67f18f2955f [2022-06-23T23:55:23.457Z] Removing intermediate container a67f18f2955f [2022-06-23T23:55:23.457Z] ---> cffd90f11034 [2022-06-23T23:55:23.457Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T23:55:24.029Z] ---> 0037e591f40a [2022-06-23T23:55:24.029Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T23:55:24.291Z] ---> dbf49c088684 [2022-06-23T23:55:24.291Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T23:55:24.291Z] ---> a7927b0fec2f [2022-06-23T23:55:24.291Z] Step 21/26 : EXPOSE 59984 [2022-06-23T23:55:24.556Z] ---> Running in 99b759b8e1db [2022-06-23T23:55:24.556Z] Removing intermediate container 99b759b8e1db [2022-06-23T23:55:24.556Z] ---> 57f71f94833a [2022-06-23T23:55:24.556Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T23:55:24.556Z] ---> Running in 373850843c73 [2022-06-23T23:55:24.816Z] Removing intermediate container 373850843c73 [2022-06-23T23:55:24.816Z] ---> f1559f9586e9 [2022-06-23T23:55:24.816Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T23:55:24.816Z] ---> Running in 4a7ce12b219e [2022-06-23T23:55:24.816Z] Removing intermediate container 4a7ce12b219e [2022-06-23T23:55:24.816Z] ---> d42fd6bb8e06 [2022-06-23T23:55:24.816Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T23:55:24.816Z] ---> Running in 8bbb85f96ff5 [2022-06-23T23:55:25.078Z] Removing intermediate container 8bbb85f96ff5 [2022-06-23T23:55:25.078Z] ---> 29a849608c07 [2022-06-23T23:55:25.078Z] Step 25/26 : LABEL git_sha=2ac0656f1c720f0ab4eba7386d31c91d08757e36 [2022-06-23T23:55:25.078Z] ---> Running in bb0e826bf03a [2022-06-23T23:55:25.078Z] Removing intermediate container bb0e826bf03a [2022-06-23T23:55:25.078Z] ---> 762e4b7aa701 [2022-06-23T23:55:25.078Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T23:55:25.078Z] ---> Running in 22c7604944dc [2022-06-23T23:55:25.339Z] Removing intermediate container 22c7604944dc [2022-06-23T23:55:25.339Z] ---> 21543ea46976 [2022-06-23T23:55:25.339Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T23:55:25.339Z] Successfully built 21543ea46976 [2022-06-23T23:55:25.339Z] 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-23T23:55:26.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T23:55:26.203Z] [2022-06-23T23:55:26.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:55:26.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T23:55:26.585Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T23:55:26.585Z] 5eb5b503b376: Pulling fs layer [2022-06-23T23:55:26.585Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T23:55:26.585Z] ec43610c2a17: Pulling fs layer [2022-06-23T23:55:26.585Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T23:55:26.585Z] 33b1e0a273af: Pulling fs layer [2022-06-23T23:55:26.585Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T23:55:26.585Z] 2f39f015ded8: Pulling fs layer [2022-06-23T23:55:26.585Z] 33b1e0a273af: Waiting [2022-06-23T23:55:26.585Z] 5d3b04190fa2: Waiting [2022-06-23T23:55:26.585Z] 3a2ae6a8a46f: Waiting [2022-06-23T23:55:26.585Z] 2f39f015ded8: Waiting [2022-06-23T23:55:26.585Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T23:55:26.585Z] 5c69ac0246d0: Download complete [2022-06-23T23:55:26.585Z] 3a2ae6a8a46f: Download complete [2022-06-23T23:55:26.585Z] 33b1e0a273af: Verifying Checksum [2022-06-23T23:55:26.585Z] 33b1e0a273af: Download complete [2022-06-23T23:55:26.847Z] ec43610c2a17: Verifying Checksum [2022-06-23T23:55:26.847Z] ec43610c2a17: Download complete [2022-06-23T23:55:26.847Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T23:55:26.847Z] 5d3b04190fa2: Download complete [2022-06-23T23:55:26.847Z] 5eb5b503b376: Download complete [2022-06-23T23:55:27.417Z] 2f39f015ded8: Download complete [2022-06-23T23:55:28.357Z] 5eb5b503b376: Pull complete [2022-06-23T23:55:28.357Z] 5c69ac0246d0: Pull complete [2022-06-23T23:55:28.927Z] ec43610c2a17: Pull complete [2022-06-23T23:55:28.927Z] 3a2ae6a8a46f: Pull complete [2022-06-23T23:55:29.187Z] 33b1e0a273af: Pull complete [2022-06-23T23:55:29.187Z] 5d3b04190fa2: Pull complete [2022-06-23T23:55:34.468Z] 2f39f015ded8: Pull complete [2022-06-23T23:55:34.468Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T23:55:34.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T23:55:34.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:55:34.711Z] prd-ubuntu20.04-docker-8c-8g-15488 does not seem to be running inside a container [2022-06-23T23:55:34.748Z] $ 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-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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-23T23:55:36.659Z] $ docker top 7006d68fd57aee1f85d2df0c84eb0edef310f6c51689c61ae52df67ce49837f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T23:55:37.143Z] ---> job-cost.sh [2022-06-23T23:55:37.143Z] lf-activate-venv: SKIPPING [2022-06-23T23:55:37.143Z] INFO: No Stack... [2022-06-23T23:55:37.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T23:55:37.975Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T23:55:38.293Z] + cat /w/workspace/oundry_device-onvif-camera_PR-91/archives/cost.csv [2022-06-23T23:55:38.293Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T23:55:38.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [2022-06-23T23:55:38.336Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] did not exist. Created. [2022-06-23T23:55:38.336Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T23:55:38.731Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T23:55:38.779Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T23:55:38.809Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T23:55:38.897Z] $ docker stop --time=1 7006d68fd57aee1f85d2df0c84eb0edef310f6c51689c61ae52df67ce49837f7 [2022-06-23T23:55:40.078Z] $ docker rm -f 7006d68fd57aee1f85d2df0c84eb0edef310f6c51689c61ae52df67ce49837f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T23:55:40.531Z] provisioning config files... [2022-06-23T23:55:40.555Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5739630725600863313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T23:55:40.955Z] ---> docker-login.sh [2022-06-23T23:55:40.955Z] nexus3.edgexfoundry.org:10001 [2022-06-23T23:55:41.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:55:41.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:55:41.842Z] Configure a credential helper to remove this warning. See [2022-06-23T23:55:41.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:55:41.842Z] [2022-06-23T23:55:41.842Z] Login Succeeded [2022-06-23T23:55:41.842Z] nexus3.edgexfoundry.org:10002 [2022-06-23T23:55:42.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:55:42.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:55:42.117Z] Configure a credential helper to remove this warning. See [2022-06-23T23:55:42.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:55:42.117Z] [2022-06-23T23:55:42.117Z] Login Succeeded [2022-06-23T23:55:42.390Z] nexus3.edgexfoundry.org:10003 [2022-06-23T23:55:42.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:55:42.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:55:42.665Z] Configure a credential helper to remove this warning. See [2022-06-23T23:55:42.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:55:42.665Z] [2022-06-23T23:55:42.665Z] Login Succeeded [2022-06-23T23:55:42.665Z] nexus3.edgexfoundry.org:10004 [2022-06-23T23:55:42.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:55:43.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:55:43.219Z] Configure a credential helper to remove this warning. See [2022-06-23T23:55:43.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:55:43.219Z] [2022-06-23T23:55:43.219Z] Login Succeeded [2022-06-23T23:55:43.219Z] docker.io [2022-06-23T23:55:43.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T23:55:43.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T23:55:43.767Z] Configure a credential helper to remove this warning. See [2022-06-23T23:55:43.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T23:55:43.767Z] [2022-06-23T23:55:43.767Z] Login Succeeded [2022-06-23T23:55:44.042Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T23:55:44.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T23:55:44.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T23:55:44.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T23:55:44.517Z] ========================================================= [2022-06-23T23:55:44.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T23:55:44.517Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:55:45.021Z] + 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-23T23:55:45.296Z] Sending build context to Docker daemon 5.976MB [2022-06-23T23:55:45.575Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T23:55:45.575Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T23:55:45.575Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T23:55:45.575Z] 9b3977197b4f: Pulling fs layer [2022-06-23T23:55:45.575Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T23:55:45.575Z] 94645a83ff95: Pulling fs layer [2022-06-23T23:55:45.575Z] e6fb740bc735: Pulling fs layer [2022-06-23T23:55:45.575Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T23:55:45.575Z] 355e64cbe906: Pulling fs layer [2022-06-23T23:55:45.575Z] 63ab81a10011: Pulling fs layer [2022-06-23T23:55:45.575Z] 555d1d1c4555: Pulling fs layer [2022-06-23T23:55:45.575Z] 7d9057610161: Pulling fs layer [2022-06-23T23:55:45.575Z] e6fb740bc735: Waiting [2022-06-23T23:55:45.575Z] 3a77bd46dcc9: Waiting [2022-06-23T23:55:45.575Z] 355e64cbe906: Waiting [2022-06-23T23:55:45.575Z] 63ab81a10011: Waiting [2022-06-23T23:55:45.575Z] 7d9057610161: Waiting [2022-06-23T23:55:45.575Z] 555d1d1c4555: Waiting [2022-06-23T23:55:45.575Z] 94645a83ff95: Verifying Checksum [2022-06-23T23:55:45.575Z] 94645a83ff95: Download complete [2022-06-23T23:55:45.575Z] 1a89e8eeedd5: Verifying Checksum [2022-06-23T23:55:45.575Z] 1a89e8eeedd5: Download complete [2022-06-23T23:55:45.575Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T23:55:45.575Z] 3a77bd46dcc9: Download complete [2022-06-23T23:55:45.575Z] 355e64cbe906: Verifying Checksum [2022-06-23T23:55:45.575Z] 355e64cbe906: Download complete [2022-06-23T23:55:45.575Z] 9b3977197b4f: Download complete [2022-06-23T23:55:45.852Z] 63ab81a10011: Verifying Checksum [2022-06-23T23:55:45.852Z] 63ab81a10011: Download complete [2022-06-23T23:55:46.456Z] 9b3977197b4f: Pull complete [2022-06-23T23:55:46.738Z] 7d9057610161: Verifying Checksum [2022-06-23T23:55:46.738Z] 7d9057610161: Download complete [2022-06-23T23:55:47.340Z] 1a89e8eeedd5: Pull complete [2022-06-23T23:55:47.617Z] 94645a83ff95: Pull complete [2022-06-23T23:55:47.895Z] 555d1d1c4555: Verifying Checksum [2022-06-23T23:55:47.895Z] 555d1d1c4555: Download complete [2022-06-23T23:55:48.493Z] e6fb740bc735: Verifying Checksum [2022-06-23T23:55:48.493Z] e6fb740bc735: Download complete [2022-06-23T23:56:00.915Z] e6fb740bc735: Pull complete [2022-06-23T23:56:00.915Z] 3a77bd46dcc9: Pull complete [2022-06-23T23:56:00.915Z] 355e64cbe906: Pull complete [2022-06-23T23:56:00.915Z] 63ab81a10011: Pull complete [2022-06-23T23:56:07.639Z] 555d1d1c4555: Pull complete [2022-06-23T23:56:09.615Z] 7d9057610161: Pull complete [2022-06-23T23:56:09.615Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T23:56:09.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T23:56:09.615Z] ---> 819e984ddca1 [2022-06-23T23:56:09.615Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T23:56:11.053Z] ---> Running in b0f491a77c62 [2022-06-23T23:56:11.053Z] Removing intermediate container b0f491a77c62 [2022-06-23T23:56:11.053Z] ---> ecb5a4c6bbb9 [2022-06-23T23:56:11.053Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T23:56:11.329Z] ---> Running in ed5e95ff84d4 [2022-06-23T23:56:11.602Z] Removing intermediate container ed5e95ff84d4 [2022-06-23T23:56:11.602Z] ---> 2915f97b3b3e [2022-06-23T23:56:11.602Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T23:56:11.602Z] ---> Running in 480a417a4f63 [2022-06-23T23:56:11.887Z] Removing intermediate container 480a417a4f63 [2022-06-23T23:56:11.887Z] ---> 5cf33fe9678c [2022-06-23T23:56:11.887Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T23:56:11.887Z] ---> Running in abbf3b91d114 [2022-06-23T23:56:12.503Z] Removing intermediate container abbf3b91d114 [2022-06-23T23:56:12.503Z] ---> f9ebc8840a0c [2022-06-23T23:56:12.503Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T23:56:12.503Z] ---> Running in 7bb7d70bcfb4 [2022-06-23T23:56:14.479Z] Removing intermediate container 7bb7d70bcfb4 [2022-06-23T23:56:14.479Z] ---> 4c97d17ddf2c [2022-06-23T23:56:14.479Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T23:56:14.479Z] ---> Running in 1b62a5ad521a [2022-06-23T23:56:15.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T23:56:16.060Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T23:56:17.046Z] OK: 220 MiB in 52 packages [2022-06-23T23:56:18.031Z] Removing intermediate container 1b62a5ad521a [2022-06-23T23:56:18.031Z] ---> ca32b643e3e6 [2022-06-23T23:56:18.031Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T23:56:18.031Z] ---> Running in 9191ff280882 [2022-06-23T23:56:19.476Z] Removing intermediate container 9191ff280882 [2022-06-23T23:56:19.476Z] ---> d6419814bf23 [2022-06-23T23:56:19.476Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T23:56:20.078Z] ---> d35779f498e8 [2022-06-23T23:56:20.078Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T23:56:20.078Z] ---> Running in 340a54989cb6 [2022-06-23T23:57:07.080Z] Removing intermediate container 340a54989cb6 [2022-06-23T23:57:07.080Z] ---> f151123bbb2f [2022-06-23T23:57:07.080Z] Step 12/13 : COPY . . [2022-06-23T23:57:07.080Z] ---> 090389c571ad [2022-06-23T23:57:07.080Z] Step 13/13 : RUN ${MAKE} [2022-06-23T23:57:07.080Z] ---> Running in 452774facc37 [2022-06-23T23:57:07.080Z] noop [2022-06-23T23:57:07.677Z] Removing intermediate container 452774facc37 [2022-06-23T23:57:07.677Z] ---> afafca097296 [2022-06-23T23:57:07.677Z] Successfully built afafca097296 [2022-06-23T23:57:07.677Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:57:08.165Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T23:57:08.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:57:08.466Z] prd-ubuntu20.04-docker-arm64-4c-16g-15489 does not seem to be running inside a container [2022-06-23T23:57:08.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T23:57:09.810Z] $ docker top fbf430c62731b73d90aabb15ba37ff846ce9ea1f132099a1e862a63e6ba948b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T23:57:10.744Z] + go version [2022-06-23T23:57:10.745Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T23:57:10.782Z] $ docker stop --time=1 fbf430c62731b73d90aabb15ba37ff846ce9ea1f132099a1e862a63e6ba948b4 [2022-06-23T23:57:12.445Z] $ docker rm -f fbf430c62731b73d90aabb15ba37ff846ce9ea1f132099a1e862a63e6ba948b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:57:13.373Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T23:57:13.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T23:57:13.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-15489 does not seem to be running inside a container [2022-06-23T23:57:13.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T23:57:15.051Z] $ docker top d6cb7662c3d4183ea557945326be7f148e407a5c0ccd4fb04f2fb270ea842361 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T23:57:16.019Z] + make test [2022-06-23T23:57:16.019Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T23:57:18.008Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T23:58:54.911Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T23:58:54.911Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.2% of statements [2022-06-23T23:59:03.199Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.805s coverage: 13.8% of statements [2022-06-23T23:59:03.808Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T23:59:03.808Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T23:59:36.170Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T23:59:36.170Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T23:59:36.170Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T23:59:36.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T23:59:36.243Z] $ docker stop --time=1 d6cb7662c3d4183ea557945326be7f148e407a5c0ccd4fb04f2fb270ea842361 [2022-06-23T23:59:37.971Z] $ docker rm -f d6cb7662c3d4183ea557945326be7f148e407a5c0ccd4fb04f2fb270ea842361 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T23:59:38.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T23:59:38.999Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T23:59:39.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T23:59:40.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T23:59:40.454Z] + ls -al . [2022-06-23T23:59:40.454Z] total 232 [2022-06-23T23:59:40.454Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 23:59 . [2022-06-23T23:59:40.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:55 .. [2022-06-23T23:59:40.454Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 23:55 .git [2022-06-23T23:59:40.454Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 23:55 .github [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 23:55 .gitignore [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 23:55 .golangci.yml [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 23:55 Attribution.txt [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 23:55 CHANGELOG.md [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 23:55 Dockerfile [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 23:55 GOVERNANCE.md [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 23:55 Jenkinsfile [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 23:55 LICENSE [2022-06-23T23:59:40.454Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 23:55 Makefile [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 23:55 OWNERS.md [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 23:55 README.md [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 23:53 VERSION [2022-06-23T23:59:40.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 23:55 bin [2022-06-23T23:59:40.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 23:55 cmd [2022-06-23T23:59:40.455Z] -rw-r--r-- 1 jenkins jenkins 59668 Jun 23 23:59 coverage.out [2022-06-23T23:59:40.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:55 doc [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 23:55 go.mod [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 23:55 go.sum [2022-06-23T23:59:40.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 23:55 internal [2022-06-23T23:59:40.455Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T23:59:40.887Z] + 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=2ac0656f1c720f0ab4eba7386d31c91d08757e36 --label arch=arm64 --label version=0.0.0 . [2022-06-23T23:59:41.160Z] Sending build context to Docker daemon 6.036MB [2022-06-23T23:59:41.432Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T23:59:41.432Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T23:59:41.432Z] ---> afafca097296 [2022-06-23T23:59:41.432Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T23:59:41.432Z] ---> Running in 4141a7409b46 [2022-06-23T23:59:41.706Z] Removing intermediate container 4141a7409b46 [2022-06-23T23:59:41.706Z] ---> 9ad7eab6d5cd [2022-06-23T23:59:41.706Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T23:59:41.706Z] ---> Running in 8c3654703ff4 [2022-06-23T23:59:42.310Z] Removing intermediate container 8c3654703ff4 [2022-06-23T23:59:42.310Z] ---> 99e5cbc083f2 [2022-06-23T23:59:42.310Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T23:59:42.310Z] ---> Running in 3d5c78d7cffd [2022-06-23T23:59:42.584Z] Removing intermediate container 3d5c78d7cffd [2022-06-23T23:59:42.584Z] ---> 3f4add826cca [2022-06-23T23:59:42.584Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T23:59:42.584Z] ---> Running in 112012b0a739 [2022-06-23T23:59:42.861Z] Removing intermediate container 112012b0a739 [2022-06-23T23:59:42.861Z] ---> fb519ce8a411 [2022-06-23T23:59:42.861Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T23:59:42.861Z] ---> Running in b5254d55405a [2022-06-23T23:59:44.840Z] Removing intermediate container b5254d55405a [2022-06-23T23:59:44.840Z] ---> d9139c97c7bd [2022-06-23T23:59:44.840Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T23:59:44.840Z] ---> Running in 6a2094731c34 [2022-06-23T23:59:45.821Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T23:59:46.791Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T23:59:47.386Z] OK: 220 MiB in 52 packages [2022-06-23T23:59:48.380Z] Removing intermediate container 6a2094731c34 [2022-06-23T23:59:48.380Z] ---> 26fb1823a3af [2022-06-23T23:59:48.380Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T23:59:48.380Z] ---> Running in dee36a9093a0 [2022-06-23T23:59:48.654Z] Removing intermediate container dee36a9093a0 [2022-06-23T23:59:48.654Z] ---> 44ac4c205580 [2022-06-23T23:59:48.654Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T23:59:48.932Z] ---> ec1f583ca201 [2022-06-23T23:59:48.932Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T23:59:49.212Z] ---> Running in 79bd1a9d65d3 [2022-06-23T23:59:51.196Z] Removing intermediate container 79bd1a9d65d3 [2022-06-23T23:59:51.196Z] ---> d61b2d37ef6a [2022-06-23T23:59:51.196Z] Step 12/26 : COPY . . [2022-06-23T23:59:52.175Z] ---> efb7104f9483 [2022-06-23T23:59:52.175Z] Step 13/26 : RUN ${MAKE} [2022-06-23T23:59:52.175Z] ---> Running in 17a9b77a2cf5 [2022-06-23T23:59:53.163Z] 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-24T00:02:00.087Z] Removing intermediate container 17a9b77a2cf5 [2022-06-24T00:02:00.087Z] ---> bc84770a206b [2022-06-24T00:02:00.087Z] Step 14/26 : FROM alpine:3.15 [2022-06-24T00:02:00.087Z] 3.15: Pulling from library/alpine [2022-06-24T00:02:00.087Z] 9981e73032c8: Pulling fs layer [2022-06-24T00:02:00.087Z] 9981e73032c8: Verifying Checksum [2022-06-24T00:02:00.087Z] 9981e73032c8: Download complete [2022-06-24T00:02:00.087Z] 9981e73032c8: Pull complete [2022-06-24T00:02:00.087Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-24T00:02:00.087Z] Status: Downloaded newer image for alpine:3.15 [2022-06-24T00:02:00.087Z] ---> 3fb3c9af89a9 [2022-06-24T00:02:00.087Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-24T00:02:00.087Z] ---> Running in f22c03379747 [2022-06-24T00:02:00.087Z] Removing intermediate container f22c03379747 [2022-06-24T00:02:00.087Z] ---> 29ea9fca8ea3 [2022-06-24T00:02:00.087Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-24T00:02:00.087Z] ---> Running in e9802d95023e [2022-06-24T00:02:00.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T00:02:00.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T00:02:00.087Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-24T00:02:00.087Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-24T00:02:00.087Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-24T00:02:00.087Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-24T00:02:00.087Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-24T00:02:00.087Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-24T00:02:00.087Z] Executing busybox-1.34.1-r5.trigger [2022-06-24T00:02:00.087Z] OK: 8 MiB in 20 packages [2022-06-24T00:02:00.087Z] Removing intermediate container e9802d95023e [2022-06-24T00:02:00.087Z] ---> 2a06d01671dc [2022-06-24T00:02:00.087Z] Step 17/26 : WORKDIR / [2022-06-24T00:02:00.087Z] ---> Running in 8ab8e223841a [2022-06-24T00:02:00.087Z] Removing intermediate container 8ab8e223841a [2022-06-24T00:02:00.087Z] ---> 53ddecc1672f [2022-06-24T00:02:00.087Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-24T00:02:00.087Z] ---> 98f19550fd79 [2022-06-24T00:02:00.087Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-24T00:02:00.362Z] ---> 8edf8d52fd39 [2022-06-24T00:02:00.362Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-24T00:02:00.961Z] ---> d26b23439f5f [2022-06-24T00:02:00.961Z] Step 21/26 : EXPOSE 59984 [2022-06-24T00:02:00.961Z] ---> Running in 42625bde14be [2022-06-24T00:02:01.236Z] Removing intermediate container 42625bde14be [2022-06-24T00:02:01.236Z] ---> 6054d36e5ad6 [2022-06-24T00:02:01.236Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-24T00:02:01.236Z] ---> Running in 3b2fc30b0a21 [2022-06-24T00:02:01.518Z] Removing intermediate container 3b2fc30b0a21 [2022-06-24T00:02:01.518Z] ---> 2872c5fb1f58 [2022-06-24T00:02:01.518Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-24T00:02:01.797Z] ---> Running in 146893057c5f [2022-06-24T00:02:02.070Z] Removing intermediate container 146893057c5f [2022-06-24T00:02:02.070Z] ---> 4dbdab4dcb3b [2022-06-24T00:02:02.070Z] Step 24/26 : LABEL arch=arm64 [2022-06-24T00:02:02.070Z] ---> Running in 167d3ea7d78d [2022-06-24T00:02:02.344Z] Removing intermediate container 167d3ea7d78d [2022-06-24T00:02:02.344Z] ---> eebb31a518a3 [2022-06-24T00:02:02.344Z] Step 25/26 : LABEL git_sha=2ac0656f1c720f0ab4eba7386d31c91d08757e36 [2022-06-24T00:02:02.344Z] ---> Running in 3cefd46e5e20 [2022-06-24T00:02:02.623Z] Removing intermediate container 3cefd46e5e20 [2022-06-24T00:02:02.623Z] ---> 7d298730ac0b [2022-06-24T00:02:02.623Z] Step 26/26 : LABEL version=0.0.0 [2022-06-24T00:02:02.897Z] ---> Running in e6b9408aef13 [2022-06-24T00:02:03.170Z] Removing intermediate container e6b9408aef13 [2022-06-24T00:02:03.170Z] ---> 891ee4700859 [2022-06-24T00:02:03.170Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-24T00:02:03.170Z] Successfully built 891ee4700859 [2022-06-24T00:02:03.170Z] 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-24T00:02:03.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T00:02:03.979Z] [2022-06-24T00:02:03.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T00:02:04.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T00:02:04.694Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T00:02:04.694Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T00:02:04.694Z] 04944245beec: Pulling fs layer [2022-06-24T00:02:04.694Z] 699f458cf7ca: Pulling fs layer [2022-06-24T00:02:04.694Z] 765212b225bb: Pulling fs layer [2022-06-24T00:02:04.694Z] f23df028b6ca: Pulling fs layer [2022-06-24T00:02:04.694Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T00:02:04.694Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T00:02:04.694Z] 765212b225bb: Waiting [2022-06-24T00:02:04.694Z] f23df028b6ca: Waiting [2022-06-24T00:02:04.694Z] d65c8cfc05b1: Waiting [2022-06-24T00:02:04.694Z] 2437ff75d9bd: Waiting [2022-06-24T00:02:04.694Z] 04944245beec: Verifying Checksum [2022-06-24T00:02:04.694Z] 04944245beec: Download complete [2022-06-24T00:02:04.694Z] 765212b225bb: Download complete [2022-06-24T00:02:04.694Z] f23df028b6ca: Verifying Checksum [2022-06-24T00:02:04.694Z] f23df028b6ca: Download complete [2022-06-24T00:02:04.694Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T00:02:04.694Z] d65c8cfc05b1: Download complete [2022-06-24T00:02:04.973Z] 699f458cf7ca: Verifying Checksum [2022-06-24T00:02:04.973Z] 699f458cf7ca: Download complete [2022-06-24T00:02:05.250Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T00:02:05.250Z] 8998bd30e6a1: Download complete [2022-06-24T00:02:07.875Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T00:02:07.875Z] 2437ff75d9bd: Download complete [2022-06-24T00:02:09.857Z] 8998bd30e6a1: Pull complete [2022-06-24T00:02:10.134Z] 04944245beec: Pull complete [2022-06-24T00:02:11.579Z] 699f458cf7ca: Pull complete [2022-06-24T00:02:11.579Z] 765212b225bb: Pull complete [2022-06-24T00:02:12.562Z] f23df028b6ca: Pull complete [2022-06-24T00:02:12.838Z] d65c8cfc05b1: Pull complete [2022-06-24T00:02:27.955Z] 2437ff75d9bd: Pull complete [2022-06-24T00:02:27.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T00:02:27.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T00:02:27.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T00:02:28.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-15489 does not seem to be running inside a container [2022-06-24T00:02:28.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-24T00:02:31.034Z] $ docker top bb094601d76c4b9c5b913bfbcf5bb19be2c3c4bb21e9f5f68ec7b78d70a0f9e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:02:32.018Z] ---> job-cost.sh [2022-06-24T00:02:32.018Z] lf-activate-venv: SKIPPING [2022-06-24T00:02:32.018Z] INFO: No Stack... [2022-06-24T00:02:32.294Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T00:02:33.274Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T00:02:33.956Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-24T00:02:33.956Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T00:02:34.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [2022-06-24T00:02:34.080Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] did not exist. Created. [2022-06-24T00:02:34.080Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T00:02:34.822Z] /w/workspace/device-onvif-camera/1@tmp/durable-ec53654d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T00:02:35.515Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T00:02:35.550Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T00:02:35.598Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T00:02:35.620Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T00:02:35.696Z] $ docker stop --time=1 bb094601d76c4b9c5b913bfbcf5bb19be2c3c4bb21e9f5f68ec7b78d70a0f9e1 [2022-06-24T00:02:37.222Z] $ docker rm -f bb094601d76c4b9c5b913bfbcf5bb19be2c3c4bb21e9f5f68ec7b78d70a0f9e1 [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-24T00:02:38.197Z] provisioning config files... [2022-06-24T00:02:38.205Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config1217565146038553458tmp [Pipeline] { [Pipeline] sh [2022-06-24T00:02:38.534Z] + set +x [2022-06-24T00:02:38.535Z] + + curl -s https://codecov.io/bash [2022-06-24T00:02:38.535Z] bash -s -- [2022-06-24T00:02:38.535Z] [2022-06-24T00:02:38.535Z] _____ _ [2022-06-24T00:02:38.535Z] / ____| | | [2022-06-24T00:02:38.535Z] | | ___ __| | ___ ___ _____ __ [2022-06-24T00:02:38.535Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-24T00:02:38.535Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-24T00:02:38.535Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-24T00:02:38.535Z] Bash-1.0.6 [2022-06-24T00:02:38.535Z] [2022-06-24T00:02:38.535Z] [2022-06-24T00:02:38.535Z] ==> git version 2.25.1 found [2022-06-24T00:02:38.535Z] ==> 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-24T00:02:38.535Z] Release-Date: 2020-01-08 [2022-06-24T00:02:38.535Z] 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-24T00:02:38.535Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-24T00:02:38.535Z] ==> Jenkins CI detected. [2022-06-24T00:02:38.535Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-91 [2022-06-24T00:02:38.535Z] project root: . [2022-06-24T00:02:38.535Z] --> token set from env [2022-06-24T00:02:38.535Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-24T00:02:38.535Z] ==> Running gcov in . (disable via -X gcov) [2022-06-24T00:02:38.535Z] ==> Python coveragepy not found [2022-06-24T00:02:38.535Z] ==> Searching for coverage reports in: [2022-06-24T00:02:38.535Z] + . [2022-06-24T00:02:38.535Z] -> Found 1 reports [2022-06-24T00:02:38.535Z] ==> Detecting git/mercurial file structure [2022-06-24T00:02:38.535Z] ==> Reading reports [2022-06-24T00:02:38.535Z] + ./coverage.out bytes=59668 [2022-06-24T00:02:38.535Z] ==> Appending adjustments [2022-06-24T00:02:38.535Z] https://docs.codecov.io/docs/fixing-reports [2022-06-24T00:02:38.795Z] + Found adjustments [2022-06-24T00:02:38.795Z] ==> Gzipping contents [2022-06-24T00:02:38.795Z] 8.0K /tmp/codecov.ytb8Os.gz [2022-06-24T00:02:38.795Z] ==> Uploading reports [2022-06-24T00:02:38.795Z] url: https://codecov.io [2022-06-24T00:02:38.795Z] query: branch=PR-91&commit=2ac0656f1c720f0ab4eba7386d31c91d08757e36&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=91&job=&cmd_args= [2022-06-24T00:02:38.795Z] -> Pinging Codecov [2022-06-24T00:02:38.795Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-91&commit=2ac0656f1c720f0ab4eba7386d31c91d08757e36&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=91&job=&cmd_args= [2022-06-24T00:02:39.055Z] -> Uploading to [2022-06-24T00:02:39.055Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-24/F29A59C45E3A92E06B3E522C9905F8EF/2ac0656f1c720f0ab4eba7386d31c91d08757e36/190c93ec-b6df-4408-9322-7fde130889ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220624T000238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f41fa0d28f522374ccb7026cb2326375a25f21554c41dec1f38cb93eccf8bb8 [2022-06-24T00:02:39.055Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T00:02:39.055Z] Dload Upload Total Spent Left Speed [2022-06-24T00:02:39.315Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7603 0 0 100 7603 0 33200 --:--:-- --:--:-- --:--:-- 33056 100 7603 0 0 100 7603 0 27952 --:--:-- --:--:-- --:--:-- 27849 [2022-06-24T00:02:39.315Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2ac0656f1c720f0ab4eba7386d31c91d08757e36 [Pipeline] } [2022-06-24T00:02:39.344Z] 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-24T00:02:41.070Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-91/archives ] [2022-06-24T00:02:41.070Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-24T00:02:41.070Z] total 16 [2022-06-24T00:02:41.070Z] drwxr-xr-x 3 root root 4096 Jun 23 23:55 . [2022-06-24T00:02:41.070Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 23:55 .. [2022-06-24T00:02:41.070Z] drwxr-xr-x 2 root root 4096 Jun 23 23:55 cost [2022-06-24T00:02:41.070Z] -rw-r--r-- 1 root root 89 Jun 23 23:55 cost.csv [2022-06-24T00:02:41.070Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-24T00:02:41.070Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-24T00:02:41.070Z] total 16 [2022-06-24T00:02:41.070Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 23:55 . [2022-06-24T00:02:41.070Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 23:55 .. [2022-06-24T00:02:41.070Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 23:55 cost [2022-06-24T00:02:41.070Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 23:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:04.630Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:05.524Z] ---> package-listing.sh [2022-06-24T00:03:05.524Z] ++ facter osfamily [2022-06-24T00:03:05.524Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T00:03:05.785Z] + OS_FAMILY=debian [2022-06-24T00:03:05.785Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-91 [2022-06-24T00:03:05.785Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T00:03:05.785Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T00:03:05.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T00:03:05.785Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T00:03:05.785Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' [2022-06-24T00:03:05.785Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T00:03:05.785Z] + case "${OS_FAMILY}" in [2022-06-24T00:03:05.785Z] + dpkg -l [2022-06-24T00:03:05.785Z] + grep '^ii' [2022-06-24T00:03:05.785Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T00:03:05.785Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T00:03:05.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T00:03:05.785Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' [2022-06-24T00:03:05.785Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [2022-06-24T00:03:05.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [Pipeline] echo [2022-06-24T00:03:05.823Z] 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-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-24T00:03:06.118Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T00:03:06.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T00:03:06.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T00:03:06.908Z] prd-ubuntu20.04-docker-8c-8g-15488 does not seem to be running inside a container [2022-06-24T00:03:06.947Z] $ 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-91/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-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T00:03:07.193Z] $ docker top 1ff8c179217dd5825cab8fa2a8f2e11b8411c42c7b4b6ca5ec1dbc37a4fa9713 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T00:03:07.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T00:03:07.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T00:03:08.234Z] + ls /var/log/sa-host [2022-06-24T00:03:08.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T00:03:08.424Z] provisioning config files... [2022-06-24T00:03:08.434Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config2575934588126366826tmp [Pipeline] { [Pipeline] echo [2022-06-24T00:03:08.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:08.791Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T00:03:08.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:09.226Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T00:03:09.260Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:09.571Z] ---> sudo-logs.sh [2022-06-24T00:03:09.571Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T00:03:09.660Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:09.968Z] ---> job-cost.sh [2022-06-24T00:03:09.968Z] lf-activate-venv: SKIPPING [2022-06-24T00:03:09.968Z] DEBUG: total: 0.2199999988079071 [2022-06-24T00:03:09.968Z] INFO: Retrieving Stack Cost... [2022-06-24T00:03:10.231Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T00:03:10.802Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T00:03:10.837Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T00:03:11.147Z] ---> logs-deploy.sh [2022-06-24T00:03:11.147Z] lf-activate-venv: SKIPPING [2022-06-24T00:03:11.147Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-91/1 [2022-06-24T00:03:11.147Z] INFO: archiving workspace using pattern(s): [2022-06-24T00:03:12.086Z] Archives upload complete. [2022-06-24T00:03:12.086Z] INFO: archiving logs to Nexus