Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 91b64afb3be730d92232b12e9c94e2c43b52d870+73afea3ace466341e80d38fe07fac6720914120d (fd024b8d319b1bd030157a6ee63addd74e561b4c) 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-ssh14483646228238798040.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-ssh3436210093851436888.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1973579769561255495.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16878140759583051044.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8406524128842234236.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-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-usb-camera-settings PROJECT: device-usb-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-usb-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 ‘prd-ubuntu20.04-docker-8c-8g-16485’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16487 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 91b64afb3be730d92232b12e9c94e2c43b52d870 Merge succeeded, producing f734813f37683fc511e70351bfb746b73d2d3bd7 Checking out Revision f734813f37683fc511e70351bfb746b73d2d3bd7 (PR-30) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91b64afb3be730d92232b12e9c94e2c43b52d870 # 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 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f734813f37683fc511e70351bfb746b73d2d3bd7 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-30T13:00:07.946Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-30T13:00:08.007Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-30T13:00:08.023Z] ========================================================= [2022-06-30T13:00:08.023Z] EdgeX Global Pipelines Version Info [2022-06-30T13:00:08.023Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:00:09.270Z] ------------------- [2022-06-30T13:00:09.270Z] stable info: [2022-06-30T13:00:09.270Z] ------------------- [2022-06-30T13:00:09.270Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-30T13:00:09.270Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-30T13:00:09.270Z] Message: update stable to v1.0.234 [2022-06-30T13:00:09.531Z] ------------------- [2022-06-30T13:00:09.531Z] experimental info: [2022-06-30T13:00:09.531Z] ------------------- [2022-06-30T13:00:09.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-30T13:00:09.531Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-30T13:00:09.531Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-30T13:00:09.730Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-30T13:00:09.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-30T13:00:09.757Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-30T13:00:09.771Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-30T13:00:09.781Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-30T13:00:09.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-30T13:00:09.805Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-30T13:00:09.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-30T13:00:09.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-30T13:00:09.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-30T13:00:09.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-30T13:00:09.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-30T13:00:09.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-30T13:00:09.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-30T13:00:09.913Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T13:00:09.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T13:00:09.935Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T13:00:09.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T13:00:09.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-30T13:00:09.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-30T13:00:09.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-30T13:00:09.976Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-30T13:00:09.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-30T13:00:10.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-30T13:00:10.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-30T13:00:10.017Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-30T13:00:10.025Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-30T13:00:10.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-06-30T13:00:10.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-06-30T13:00:10.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-06-30T13:00:10.069Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo [2022-06-30T13:00:10.083Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f734813 [Pipeline] echo [2022-06-30T13:00:10.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T13:00:10.132Z] provisioning config files... [2022-06-30T13:00:10.145Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config922103015839646684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:00:10.452Z] ---> docker-login.sh [2022-06-30T13:00:10.452Z] nexus3.edgexfoundry.org:10001 [2022-06-30T13:00:10.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:10.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:10.714Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:10.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:10.714Z] [2022-06-30T13:00:10.714Z] Login Succeeded [2022-06-30T13:00:10.714Z] nexus3.edgexfoundry.org:10002 [2022-06-30T13:00:10.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:10.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:10.979Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:10.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:10.979Z] [2022-06-30T13:00:10.979Z] Login Succeeded [2022-06-30T13:00:10.979Z] nexus3.edgexfoundry.org:10003 [2022-06-30T13:00:10.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:10.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:10.979Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:10.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:10.979Z] [2022-06-30T13:00:10.979Z] Login Succeeded [2022-06-30T13:00:10.979Z] nexus3.edgexfoundry.org:10004 [2022-06-30T13:00:11.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:11.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:11.240Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:11.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:11.240Z] [2022-06-30T13:00:11.240Z] Login Succeeded [2022-06-30T13:00:11.240Z] docker.io [2022-06-30T13:00:11.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:11.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:11.814Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:11.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:11.814Z] [2022-06-30T13:00:11.814Z] Login Succeeded [2022-06-30T13:00:11.814Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T13:00:11.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-30T13:00:12.214Z] + git rev-list -1 --merges f734813f37683fc511e70351bfb746b73d2d3bd7~1..f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo [2022-06-30T13:00:12.245Z] -----------> git rev-list -1 --merges f734813f37683fc511e70351bfb746b73d2d3bd7~1..f734813f37683fc511e70351bfb746b73d2d3bd7 f734813f37683fc511e70351bfb746b73d2d3bd7 [2022-06-30T13:00:12.245Z] f734813f37683fc511e70351bfb746b73d2d3bd7 [false] [Pipeline] sh [2022-06-30T13:00:12.542Z] + git log --format=format:%s -1 f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo [2022-06-30T13:00:12.559Z] ========================================================= [2022-06-30T13:00:12.559Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-30T13:00:12.559Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T13:00:12.894Z] + git log --format=format:%s -1 f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo [2022-06-30T13:00:12.908Z] [semverPrep] GIT_COMMIT: f734813f37683fc511e70351bfb746b73d2d3bd7, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo [2022-06-30T13:00:12.918Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-30T13:00:13.335Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T13:00:13.335Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-30T13:00:13.335Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-30T13:00:13.335Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-30T13:00:13.335Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-30T13:00:13.335Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-30T13:00:13.335Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:00:13.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T13:00:13.695Z] [2022-06-30T13:00:13.695Z] 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-30T13:00:14.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T13:00:14.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-30T13:00:14.001Z] 42c077c10790: Pulling fs layer [2022-06-30T13:00:14.001Z] f63e77b7563a: Pulling fs layer [2022-06-30T13:00:14.001Z] bd5fdadae976: Pulling fs layer [2022-06-30T13:00:14.001Z] 205491f53016: Pulling fs layer [2022-06-30T13:00:14.001Z] df18705c85c3: Pulling fs layer [2022-06-30T13:00:14.001Z] bdb3f477010e: Pulling fs layer [2022-06-30T13:00:14.001Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-30T13:00:14.001Z] 2c6e9b1d212d: Pulling fs layer [2022-06-30T13:00:14.001Z] bdb8f0575790: Pulling fs layer [2022-06-30T13:00:14.001Z] 386e3cb2ff24: Pulling fs layer [2022-06-30T13:00:14.001Z] 2343380bae48: Pulling fs layer [2022-06-30T13:00:14.001Z] c8a8fc8e1c8f: Waiting [2022-06-30T13:00:14.001Z] 2c6e9b1d212d: Waiting [2022-06-30T13:00:14.001Z] 205491f53016: Waiting [2022-06-30T13:00:14.001Z] df18705c85c3: Waiting [2022-06-30T13:00:14.001Z] bdb3f477010e: Waiting [2022-06-30T13:00:14.001Z] bdb8f0575790: Waiting [2022-06-30T13:00:14.001Z] 386e3cb2ff24: Waiting [2022-06-30T13:00:14.001Z] f63e77b7563a: Verifying Checksum [2022-06-30T13:00:14.001Z] f63e77b7563a: Download complete [2022-06-30T13:00:14.001Z] 205491f53016: Verifying Checksum [2022-06-30T13:00:14.001Z] 205491f53016: Download complete [2022-06-30T13:00:14.262Z] df18705c85c3: Verifying Checksum [2022-06-30T13:00:14.262Z] df18705c85c3: Download complete [2022-06-30T13:00:14.262Z] bdb3f477010e: Verifying Checksum [2022-06-30T13:00:14.262Z] bdb3f477010e: Download complete [2022-06-30T13:00:14.262Z] bd5fdadae976: Verifying Checksum [2022-06-30T13:00:14.262Z] bd5fdadae976: Download complete [2022-06-30T13:00:14.262Z] 2c6e9b1d212d: Verifying Checksum [2022-06-30T13:00:14.262Z] 2c6e9b1d212d: Download complete [2022-06-30T13:00:14.262Z] bdb8f0575790: Verifying Checksum [2022-06-30T13:00:14.262Z] 386e3cb2ff24: Download complete [2022-06-30T13:00:14.262Z] 2343380bae48: Verifying Checksum [2022-06-30T13:00:14.262Z] 2343380bae48: Download complete [2022-06-30T13:00:14.262Z] 42c077c10790: Download complete [2022-06-30T13:00:14.522Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-30T13:00:14.522Z] c8a8fc8e1c8f: Download complete [2022-06-30T13:00:15.903Z] 42c077c10790: Pull complete [2022-06-30T13:00:15.903Z] f63e77b7563a: Pull complete [2022-06-30T13:00:16.474Z] bd5fdadae976: Pull complete [2022-06-30T13:00:16.474Z] 205491f53016: Pull complete [2022-06-30T13:00:16.736Z] df18705c85c3: Pull complete [2022-06-30T13:00:16.736Z] bdb3f477010e: Pull complete [2022-06-30T13:00:18.655Z] c8a8fc8e1c8f: Pull complete [2022-06-30T13:00:18.655Z] 2c6e9b1d212d: Pull complete [2022-06-30T13:00:18.916Z] bdb8f0575790: Pull complete [2022-06-30T13:00:18.916Z] 386e3cb2ff24: Pull complete [2022-06-30T13:00:19.181Z] 2343380bae48: Pull complete [2022-06-30T13:00:19.181Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-30T13:00:19.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T13:00:19.181Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:00:19.295Z] prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container [2022-06-30T13:00:19.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T13:00:20.808Z] $ docker top fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de -eo pid,comm [2022-06-30T13:00:20.896Z] 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-30T13:00:20.896Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T13:00:20.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T13:00:20.936Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T13:00:21.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T13:00:21.081Z] $ docker exec fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent [2022-06-30T13:00:21.209Z] SSH_AUTH_SOCK=/tmp/ssh-HxTQc4cYRkYB/agent.33 [2022-06-30T13:00:21.209Z] SSH_AGENT_PID=39 [2022-06-30T13:00:21.215Z] Running ssh-add (command line suppressed) [2022-06-30T13:00:21.334Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4413417268157313743.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4413417268157313743.key) [2022-06-30T13:00:21.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T13:00:21.640Z] + git tag --points-at HEAD [Pipeline] } [2022-06-30T13:00:21.662Z] $ docker exec --env ******** --env ******** fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent -k [2022-06-30T13:00:21.786Z] unset SSH_AUTH_SOCK; [2022-06-30T13:00:21.786Z] unset SSH_AGENT_PID; [2022-06-30T13:00:21.786Z] echo Agent pid 39 killed; [2022-06-30T13:00:21.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-30T13:00:21.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T13:00:21.827Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T13:00:21.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T13:00:21.959Z] $ docker exec fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent [2022-06-30T13:00:22.093Z] SSH_AUTH_SOCK=/tmp/ssh-c6VwdUIQmoDo/agent.71 [2022-06-30T13:00:22.093Z] SSH_AGENT_PID=77 [2022-06-30T13:00:22.099Z] Running ssh-add (command line suppressed) [2022-06-30T13:00:22.212Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4375349850125882665.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4375349850125882665.key) [2022-06-30T13:00:22.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T13:00:22.524Z] + git semver init [2022-06-30T13:00:22.785Z] 2022-06-30 13:00:22,724 [run_init] DEBUG init version:0.0.0 force:False [2022-06-30T13:00:22.785Z] 2022-06-30 13:00:22,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-30T13:00:22.785Z] 2022-06-30 13:00:22,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-30T13:00:22.785Z] 2022-06-30 13:00:22,726 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,327 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,327 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,328 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,332 [execute] INFO git cat-file --batch-check [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,339 [execute] INFO git cat-file --batch [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T13:00:23.356Z] 2022-06-30 13:00:23,345 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-30T13:00:23.356Z] 0.0.0 [Pipeline] } [2022-06-30T13:00:23.634Z] $ docker exec --env ******** --env ******** fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent -k [2022-06-30T13:00:23.746Z] unset SSH_AUTH_SOCK; [2022-06-30T13:00:23.746Z] unset SSH_AGENT_PID; [2022-06-30T13:00:23.746Z] echo Agent pid 77 killed; [2022-06-30T13:00:23.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T13:00:24.060Z] + git semver [Pipeline] } [2022-06-30T13:00:24.334Z] $ docker stop --time=1 fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de [2022-06-30T13:00:25.649Z] $ docker rm -f fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T13:00:26.003Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-30T13:00:26.253Z] Stashed 1 file(s) [Pipeline] echo [2022-06-30T13:00:26.256Z] [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-30T13:00:26.397Z] provisioning config files... [2022-06-30T13:00:26.407Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config601107045608856302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:00:26.711Z] ---> docker-login.sh [2022-06-30T13:00:26.711Z] nexus3.edgexfoundry.org:10001 [2022-06-30T13:00:26.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:26.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:26.711Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:26.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:26.711Z] [2022-06-30T13:00:26.711Z] Login Succeeded [2022-06-30T13:00:26.711Z] nexus3.edgexfoundry.org:10002 [2022-06-30T13:00:26.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:26.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:26.971Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:26.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:26.971Z] [2022-06-30T13:00:26.971Z] Login Succeeded [2022-06-30T13:00:26.971Z] nexus3.edgexfoundry.org:10003 [2022-06-30T13:00:26.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:26.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:26.971Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:26.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:26.971Z] [2022-06-30T13:00:26.971Z] Login Succeeded [2022-06-30T13:00:26.971Z] nexus3.edgexfoundry.org:10004 [2022-06-30T13:00:27.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:27.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:27.232Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:27.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:27.232Z] [2022-06-30T13:00:27.232Z] Login Succeeded [2022-06-30T13:00:27.232Z] docker.io [2022-06-30T13:00:27.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:00:27.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:00:27.493Z] Configure a credential helper to remove this warning. See [2022-06-30T13:00:27.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:00:27.493Z] [2022-06-30T13:00:27.493Z] Login Succeeded [2022-06-30T13:00:27.493Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T13:00:27.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T13:00:27.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T13:00:27.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T13:00:27.580Z] ========================================================= [2022-06-30T13:00:27.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-30T13:00:27.580Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:00:27.898Z] + 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-30T13:00:27.898Z] Sending build context to Docker daemon 745kB [2022-06-30T13:00:27.898Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T13:00:27.898Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T13:00:27.898Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-30T13:00:27.898Z] 59bf1c3509f3: Pulling fs layer [2022-06-30T13:00:27.898Z] 666ba61612fd: Pulling fs layer [2022-06-30T13:00:27.898Z] 8ed8ca486205: Pulling fs layer [2022-06-30T13:00:27.898Z] cc1cd167ecdc: Pulling fs layer [2022-06-30T13:00:27.898Z] c516ae0d96e1: Pulling fs layer [2022-06-30T13:00:27.898Z] 684cea983483: Pulling fs layer [2022-06-30T13:00:27.898Z] dd3240ac7de5: Pulling fs layer [2022-06-30T13:00:27.898Z] b1e948a4e11c: Pulling fs layer [2022-06-30T13:00:27.898Z] a8fd76ee1af6: Pulling fs layer [2022-06-30T13:00:27.898Z] 646ad004c059: Pulling fs layer [2022-06-30T13:00:27.898Z] cc1cd167ecdc: Waiting [2022-06-30T13:00:27.898Z] c516ae0d96e1: Waiting [2022-06-30T13:00:27.898Z] 684cea983483: Waiting [2022-06-30T13:00:27.898Z] dd3240ac7de5: Waiting [2022-06-30T13:00:27.898Z] b1e948a4e11c: Waiting [2022-06-30T13:00:27.898Z] a8fd76ee1af6: Waiting [2022-06-30T13:00:27.898Z] 646ad004c059: Waiting [2022-06-30T13:00:27.898Z] 8ed8ca486205: Verifying Checksum [2022-06-30T13:00:27.898Z] 8ed8ca486205: Download complete [2022-06-30T13:00:27.898Z] 666ba61612fd: Download complete [2022-06-30T13:00:27.898Z] c516ae0d96e1: Download complete [2022-06-30T13:00:27.898Z] 684cea983483: Download complete [2022-06-30T13:00:28.160Z] 59bf1c3509f3: Verifying Checksum [2022-06-30T13:00:28.160Z] 59bf1c3509f3: Download complete [2022-06-30T13:00:28.160Z] dd3240ac7de5: Verifying Checksum [2022-06-30T13:00:28.160Z] dd3240ac7de5: Download complete [2022-06-30T13:00:28.160Z] b1e948a4e11c: Verifying Checksum [2022-06-30T13:00:28.160Z] b1e948a4e11c: Download complete [2022-06-30T13:00:28.160Z] 59bf1c3509f3: Pull complete [2022-06-30T13:00:28.426Z] 666ba61612fd: Pull complete [2022-06-30T13:00:28.426Z] 8ed8ca486205: Pull complete [2022-06-30T13:00:28.687Z] a8fd76ee1af6: Verifying Checksum [2022-06-30T13:00:28.687Z] a8fd76ee1af6: Download complete [2022-06-30T13:00:28.687Z] 646ad004c059: Verifying Checksum [2022-06-30T13:00:28.687Z] 646ad004c059: Download complete [2022-06-30T13:00:28.687Z] cc1cd167ecdc: Download complete [2022-06-30T13:00:32.901Z] cc1cd167ecdc: Pull complete [2022-06-30T13:00:32.901Z] c516ae0d96e1: Pull complete [2022-06-30T13:00:33.163Z] 684cea983483: Pull complete [2022-06-30T13:00:33.163Z] dd3240ac7de5: Pull complete [2022-06-30T13:00:33.426Z] b1e948a4e11c: Pull complete [2022-06-30T13:00:35.975Z] a8fd76ee1af6: Pull complete [2022-06-30T13:00:36.548Z] 646ad004c059: Pull complete [2022-06-30T13:00:36.548Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-30T13:00:36.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-30T13:00:36.548Z] ---> 8f69c11f6b0c [2022-06-30T13:00:36.548Z] Step 3/12 : ARG MAKE="make build" [2022-06-30T13:00:37.935Z] ---> Running in bd2d5d0a9072 [2022-06-30T13:00:37.935Z] Removing intermediate container bd2d5d0a9072 [2022-06-30T13:00:37.935Z] ---> 2f6e569c2003 [2022-06-30T13:00:37.935Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T13:00:37.935Z] ---> Running in 682e2203dfcf [2022-06-30T13:00:38.195Z] Removing intermediate container 682e2203dfcf [2022-06-30T13:00:38.195Z] ---> bc52ad9f76ee [2022-06-30T13:00:38.195Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T13:00:38.195Z] ---> Running in 9036343aec02 [2022-06-30T13:00:38.195Z] Removing intermediate container 9036343aec02 [2022-06-30T13:00:38.195Z] ---> 293b0931f022 [2022-06-30T13:00:38.195Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T13:00:38.195Z] ---> Running in b5f9e638029a [2022-06-30T13:00:38.765Z] Removing intermediate container b5f9e638029a [2022-06-30T13:00:38.765Z] ---> ac5201a17788 [2022-06-30T13:00:38.765Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T13:00:39.027Z] ---> Running in 58919e8a42c4 [2022-06-30T13:00:39.290Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T13:00:39.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T13:00:40.440Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-30T13:00:40.440Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-30T13:00:40.440Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-30T13:00:40.700Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-30T13:00:40.700Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-30T13:00:40.700Z] (6/81) Installing libxcb (1.14-r2) [2022-06-30T13:00:40.962Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-30T13:00:40.962Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-30T13:00:40.962Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-30T13:00:41.223Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-30T13:00:41.223Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-30T13:00:41.223Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-30T13:00:41.357Z] Still waiting to schedule task [2022-06-30T13:00:41.358Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16486’ is offline [2022-06-30T13:00:41.483Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-30T13:00:41.483Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-30T13:00:41.745Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-30T13:00:41.745Z] (16/81) Installing libice (1.0.10-r0) [2022-06-30T13:00:41.745Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-30T13:00:42.007Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-30T13:00:42.007Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-30T13:00:42.007Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-30T13:00:42.269Z] (21/81) Installing xset (1.2.4-r0) [2022-06-30T13:00:42.269Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-30T13:00:42.269Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-30T13:00:42.530Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-30T13:00:42.530Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-30T13:00:42.530Z] (26/81) Installing libintl (0.21-r0) [2022-06-30T13:00:42.790Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-30T13:00:42.791Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-30T13:00:42.791Z] (29/81) Installing pcre (8.45-r1) [2022-06-30T13:00:43.053Z] (30/81) Installing glib (2.70.1-r0) [2022-06-30T13:00:43.053Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-30T13:00:43.997Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-30T13:00:43.997Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-30T13:00:44.268Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-30T13:00:45.659Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-30T13:00:45.922Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-30T13:00:45.922Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-30T13:00:45.922Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T13:00:46.186Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-30T13:00:46.448Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-30T13:00:46.448Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-30T13:00:46.710Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-30T13:00:46.710Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-30T13:00:46.710Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-30T13:00:46.971Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-30T13:00:46.971Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-30T13:00:46.971Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-30T13:00:47.232Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-30T13:00:47.232Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-30T13:00:47.491Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-30T13:00:47.491Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-30T13:00:47.754Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-30T13:00:47.754Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-30T13:00:47.754Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-30T13:00:48.017Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-30T13:00:48.017Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-30T13:00:48.017Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-30T13:00:48.280Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-30T13:00:48.280Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-30T13:00:48.542Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-30T13:00:48.542Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-30T13:00:48.542Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-30T13:00:48.804Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-30T13:00:48.804Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T13:00:48.804Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-30T13:00:49.065Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T13:00:49.065Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-30T13:00:49.329Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-30T13:00:49.329Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-30T13:00:49.329Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-30T13:00:49.590Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-30T13:00:49.590Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-30T13:00:49.590Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-30T13:00:50.165Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T13:00:50.426Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-30T13:00:50.426Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-30T13:00:50.688Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T13:00:50.688Z] (77/81) Installing kmod-libs (29-r2) [2022-06-30T13:00:50.688Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-30T13:00:50.688Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-30T13:00:50.951Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-30T13:00:50.951Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-30T13:00:50.951Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T13:00:50.951Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T13:00:50.951Z] OK: 335 MiB in 133 packages [2022-06-30T13:00:53.498Z] Removing intermediate container 58919e8a42c4 [2022-06-30T13:00:53.498Z] ---> cbc1a0c3e228 [2022-06-30T13:00:53.498Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-30T13:00:53.498Z] ---> Running in 7569c9667b9e [2022-06-30T13:00:53.498Z] Removing intermediate container 7569c9667b9e [2022-06-30T13:00:53.498Z] ---> 9f55766216e8 [2022-06-30T13:00:53.498Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-30T13:00:53.498Z] ---> 349726eae1a6 [2022-06-30T13:00:53.498Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T13:00:53.498Z] ---> Running in 665faddfe263 [2022-06-30T13:01:11.623Z] Removing intermediate container 665faddfe263 [2022-06-30T13:01:11.623Z] ---> 729110d29286 [2022-06-30T13:01:11.623Z] Step 11/12 : COPY . . [2022-06-30T13:01:11.623Z] ---> 229d2414ab88 [2022-06-30T13:01:11.623Z] Step 12/12 : RUN ${MAKE} [2022-06-30T13:01:11.623Z] ---> Running in d395a3b10c35 [2022-06-30T13:01:11.623Z] noop [2022-06-30T13:01:11.623Z] Removing intermediate container d395a3b10c35 [2022-06-30T13:01:11.623Z] ---> 3146bfeeb4e9 [2022-06-30T13:01:11.623Z] Successfully built 3146bfeeb4e9 [2022-06-30T13:01:11.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:01:11.946Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T13:01:11.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:01:12.044Z] prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container [2022-06-30T13:01:12.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T13:01:12.584Z] $ docker top 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T13:01:12.978Z] + go version [2022-06-30T13:01:12.978Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-30T13:01:12.993Z] $ docker stop --time=1 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba [2022-06-30T13:01:14.371Z] $ docker rm -f 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:01:14.767Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T13:01:14.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:01:14.844Z] prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container [2022-06-30T13:01:14.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T13:01:15.355Z] $ docker top 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T13:01:15.725Z] + make test [2022-06-30T13:01:15.725Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-30T13:01:15.985Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-30T13:01:28.215Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-30T13:01:28.215Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-30T13:01:33.488Z] CGO_ENABLED=1 go vet ./... [2022-06-30T13:01:37.689Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T13:01:37.689Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T13:01:37.689Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T13:01:37.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T13:01:37.717Z] $ docker stop --time=1 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea [2022-06-30T13:01:39.457Z] $ docker rm -f 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T13:01:39.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T13:01:39.940Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-30T13:01:40.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T13:01:40.782Z] + ls -al . [2022-06-30T13:01:40.782Z] total 168 [2022-06-30T13:01:40.782Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 13:01 . [2022-06-30T13:01:40.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:00 .. [2022-06-30T13:01:40.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:00 .git [2022-06-30T13:01:40.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 .github [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 13:00 .gitignore [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 13:00 .golangci.yml [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 13:00 .hadolint.yml [2022-06-30T13:01:40.782Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 13:00 .semver [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 13:00 Attribution.txt [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 13:00 CHANGELOG.md [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 13:00 Dockerfile [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 13:00 GOVERNANCE.md [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 13:00 Jenkinsfile [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 13:00 LICENSE [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 13:00 Makefile [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 13:00 OWNERS.md [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 13:00 README.md [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 13:00 VERSION [2022-06-30T13:01:40.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 bin [2022-06-30T13:01:40.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:00 cmd [2022-06-30T13:01:40.782Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 30 13:01 coverage.out [2022-06-30T13:01:40.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 docker-compose [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 13:00 docker-entrypoint.sh [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 13:00 go.mod [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 13:00 go.sum [2022-06-30T13:01:40.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:00 internal [2022-06-30T13:01:40.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:00 snap [2022-06-30T13:01:40.782Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 13:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:01:41.099Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f734813f37683fc511e70351bfb746b73d2d3bd7 --label arch=amd64 --label version=0.0.0 . [2022-06-30T13:01:41.099Z] Sending build context to Docker daemon 746kB [2022-06-30T13:01:41.099Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T13:01:41.099Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-30T13:01:41.099Z] ---> 3146bfeeb4e9 [2022-06-30T13:01:41.099Z] Step 3/29 : ARG MAKE="make build" [2022-06-30T13:01:41.099Z] ---> Running in b790a9fd85ee [2022-06-30T13:01:41.380Z] Removing intermediate container b790a9fd85ee [2022-06-30T13:01:41.380Z] ---> eaea42e7a148 [2022-06-30T13:01:41.380Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T13:01:41.380Z] ---> Running in 3b33e9ed944c [2022-06-30T13:01:41.380Z] Removing intermediate container 3b33e9ed944c [2022-06-30T13:01:41.380Z] ---> 38651ecccae1 [2022-06-30T13:01:41.380Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T13:01:41.380Z] ---> Running in 22a481ae1f0e [2022-06-30T13:01:41.380Z] Removing intermediate container 22a481ae1f0e [2022-06-30T13:01:41.380Z] ---> 6b86224d0c0f [2022-06-30T13:01:41.380Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T13:01:41.640Z] ---> Running in da293599c89f [2022-06-30T13:01:42.211Z] Removing intermediate container da293599c89f [2022-06-30T13:01:42.211Z] ---> cb24e72858f5 [2022-06-30T13:01:42.211Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T13:01:42.211Z] ---> Running in 77bb4ca2b982 [2022-06-30T13:01:42.472Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T13:01:43.414Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T13:01:43.414Z] OK: 335 MiB in 133 packages [2022-06-30T13:01:43.983Z] Removing intermediate container 77bb4ca2b982 [2022-06-30T13:01:43.983Z] ---> ed599af9fc4c [2022-06-30T13:01:43.983Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-30T13:01:43.983Z] ---> Running in bf5159e8067d [2022-06-30T13:01:43.983Z] Removing intermediate container bf5159e8067d [2022-06-30T13:01:43.983Z] ---> 84fe95334bee [2022-06-30T13:01:43.983Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-30T13:01:44.242Z] ---> bcbc816f9587 [2022-06-30T13:01:44.242Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T13:01:44.242Z] ---> Running in 854412bafcfd [2022-06-30T13:01:44.811Z] Removing intermediate container 854412bafcfd [2022-06-30T13:01:44.811Z] ---> 94131188993a [2022-06-30T13:01:44.811Z] Step 11/29 : COPY . . [2022-06-30T13:01:45.072Z] ---> 966d6106dc46 [2022-06-30T13:01:45.072Z] Step 12/29 : RUN ${MAKE} [2022-06-30T13:01:45.072Z] ---> Running in 19e3e65ef640 [2022-06-30T13:01:45.332Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-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-usb-camera ./cmd [2022-06-30T13:02:07.283Z] Removing intermediate container 19e3e65ef640 [2022-06-30T13:02:07.283Z] ---> 071440670346 [2022-06-30T13:02:07.283Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-30T13:02:07.283Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-30T13:02:07.283Z] af6660deedbd: Pulling fs layer [2022-06-30T13:02:07.283Z] 97cd0a44c592: Pulling fs layer [2022-06-30T13:02:07.283Z] 97cd0a44c592: Download complete [2022-06-30T13:02:07.283Z] af6660deedbd: Download complete [2022-06-30T13:02:07.283Z] af6660deedbd: Pull complete [2022-06-30T13:02:07.283Z] 97cd0a44c592: Pull complete [2022-06-30T13:02:07.283Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-30T13:02:07.283Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-30T13:02:07.283Z] ---> fea57e182299 [2022-06-30T13:02:07.283Z] Step 14/29 : FROM alpine:3.15 [2022-06-30T13:02:07.283Z] 3.15: Pulling from library/alpine [2022-06-30T13:02:07.283Z] df9b9388f04a: Pulling fs layer [2022-06-30T13:02:07.283Z] df9b9388f04a: Verifying Checksum [2022-06-30T13:02:07.283Z] df9b9388f04a: Download complete [2022-06-30T13:02:07.283Z] df9b9388f04a: Pull complete [2022-06-30T13:02:07.283Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T13:02:07.283Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T13:02:07.283Z] ---> 0ac33e5f5afa [2022-06-30T13:02:07.283Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T13:02:07.544Z] ---> Running in 569b628125e3 [2022-06-30T13:02:07.544Z] Removing intermediate container 569b628125e3 [2022-06-30T13:02:07.544Z] ---> 9f81ca309020 [2022-06-30T13:02:07.544Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-30T13:02:07.544Z] ---> Running in b03812e77a3d [2022-06-30T13:02:07.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T13:02:08.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T13:02:08.063Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-30T13:02:08.324Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-30T13:02:08.324Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-30T13:02:08.324Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-30T13:02:08.324Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-30T13:02:08.324Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-30T13:02:08.324Z] (7/74) Installing libxcb (1.14-r2) [2022-06-30T13:02:08.324Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-30T13:02:08.324Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-30T13:02:08.324Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-30T13:02:08.324Z] (11/74) Installing expat (2.4.7-r0) [2022-06-30T13:02:08.324Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-30T13:02:08.324Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-30T13:02:08.324Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-30T13:02:08.324Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-30T13:02:08.324Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-30T13:02:08.324Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-30T13:02:08.324Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-30T13:02:08.324Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-30T13:02:08.324Z] (20/74) Installing libintl (0.21-r0) [2022-06-30T13:02:08.583Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-30T13:02:08.583Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-30T13:02:08.583Z] (23/74) Installing pcre (8.45-r1) [2022-06-30T13:02:08.583Z] (24/74) Installing glib (2.70.1-r0) [2022-06-30T13:02:08.583Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-30T13:02:08.583Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-30T13:02:08.583Z] (27/74) Installing libass (0.15.2-r0) [2022-06-30T13:02:08.583Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-30T13:02:08.583Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-30T13:02:08.583Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-30T13:02:08.583Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-30T13:02:08.583Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-30T13:02:08.583Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-30T13:02:08.583Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-30T13:02:08.583Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-30T13:02:08.583Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-30T13:02:08.583Z] (37/74) Installing lame (3.100-r0) [2022-06-30T13:02:08.583Z] (38/74) Installing opus (1.3.1-r1) [2022-06-30T13:02:08.583Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-30T13:02:08.842Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-30T13:02:08.842Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T13:02:08.842Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T13:02:08.842Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-30T13:02:08.842Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-30T13:02:08.842Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-30T13:02:08.842Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-30T13:02:08.842Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T13:02:08.842Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T13:02:08.842Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-30T13:02:08.842Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-30T13:02:08.842Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-30T13:02:08.842Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-30T13:02:08.842Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T13:02:08.842Z] (54/74) Installing libva (2.13.0-r0) [2022-06-30T13:02:08.842Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-30T13:02:08.842Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-30T13:02:08.842Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-30T13:02:08.842Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-30T13:02:09.101Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-30T13:02:09.101Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-30T13:02:09.101Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-30T13:02:09.101Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-30T13:02:09.101Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-30T13:02:09.101Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-30T13:02:09.101Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-30T13:02:09.361Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-30T13:02:09.361Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T13:02:09.361Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T13:02:09.361Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-30T13:02:09.361Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-30T13:02:09.361Z] (70/74) Installing kmod-libs (29-r2) [2022-06-30T13:02:09.361Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-30T13:02:09.361Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-30T13:02:09.361Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-30T13:02:09.361Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-30T13:02:09.361Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T13:02:09.361Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T13:02:09.361Z] OK: 78 MiB in 88 packages [2022-06-30T13:02:10.737Z] Removing intermediate container b03812e77a3d [2022-06-30T13:02:10.737Z] ---> 742696fe32b0 [2022-06-30T13:02:10.737Z] Step 17/29 : WORKDIR / [2022-06-30T13:02:10.737Z] ---> Running in 52d989a70945 [2022-06-30T13:02:10.737Z] Removing intermediate container 52d989a70945 [2022-06-30T13:02:10.737Z] ---> 55bfa0fe2154 [2022-06-30T13:02:10.737Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-30T13:02:11.677Z] ---> 189c2ae154ac [2022-06-30T13:02:11.677Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-30T13:02:11.677Z] ---> 47cf3f64343e [2022-06-30T13:02:11.677Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-30T13:02:11.936Z] ---> 9fd7c257b653 [2022-06-30T13:02:11.936Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-30T13:02:11.936Z] ---> bb37dae50f2b [2022-06-30T13:02:11.936Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-30T13:02:12.199Z] ---> 4c021abc5011 [2022-06-30T13:02:12.199Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-30T13:02:12.766Z] ---> 056d41bf7267 [2022-06-30T13:02:12.766Z] Step 24/29 : EXPOSE 59983 [2022-06-30T13:02:12.766Z] ---> Running in 9dda377ce09b [2022-06-30T13:02:12.766Z] Removing intermediate container 9dda377ce09b [2022-06-30T13:02:12.766Z] ---> f941bf7bba45 [2022-06-30T13:02:12.766Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-30T13:02:12.766Z] ---> Running in 6080fcfaabf4 [2022-06-30T13:02:12.766Z] Removing intermediate container 6080fcfaabf4 [2022-06-30T13:02:12.766Z] ---> f6fc9c375a98 [2022-06-30T13:02:12.766Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-30T13:02:12.766Z] ---> Running in f4ced58f1c2c [2022-06-30T13:02:13.026Z] Removing intermediate container f4ced58f1c2c [2022-06-30T13:02:13.026Z] ---> e15f0b7fb2c4 [2022-06-30T13:02:13.026Z] Step 27/29 : LABEL arch=amd64 [2022-06-30T13:02:13.026Z] ---> Running in 00365a987e86 [2022-06-30T13:02:13.026Z] Removing intermediate container 00365a987e86 [2022-06-30T13:02:13.026Z] ---> 2c279b8fea7c [2022-06-30T13:02:13.026Z] Step 28/29 : LABEL git_sha=f734813f37683fc511e70351bfb746b73d2d3bd7 [2022-06-30T13:02:13.287Z] ---> Running in a47e2311b17d [2022-06-30T13:02:13.287Z] Removing intermediate container a47e2311b17d [2022-06-30T13:02:13.287Z] ---> 3d5867bd9bea [2022-06-30T13:02:13.287Z] Step 29/29 : LABEL version=0.0.0 [2022-06-30T13:02:13.287Z] ---> Running in 3d7c81d7c5ba [2022-06-30T13:02:13.287Z] Removing intermediate container 3d7c81d7c5ba [2022-06-30T13:02:13.287Z] ---> 7273bb3a8f17 [2022-06-30T13:02:13.287Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T13:02:13.287Z] Successfully built 7273bb3a8f17 [2022-06-30T13:02:13.287Z] Successfully tagged device-usb-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-30T13:02:13.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T13:02:13.705Z] [2022-06-30T13:02:13.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:02:14.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T13:02:14.012Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-30T13:02:14.012Z] 5eb5b503b376: Pulling fs layer [2022-06-30T13:02:14.012Z] 5c69ac0246d0: Pulling fs layer [2022-06-30T13:02:14.012Z] ec43610c2a17: Pulling fs layer [2022-06-30T13:02:14.012Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-30T13:02:14.012Z] 33b1e0a273af: Pulling fs layer [2022-06-30T13:02:14.012Z] 5d3b04190fa2: Pulling fs layer [2022-06-30T13:02:14.012Z] 2f39f015ded8: Pulling fs layer [2022-06-30T13:02:14.012Z] 3a2ae6a8a46f: Waiting [2022-06-30T13:02:14.012Z] 33b1e0a273af: Waiting [2022-06-30T13:02:14.012Z] 5d3b04190fa2: Waiting [2022-06-30T13:02:14.012Z] 2f39f015ded8: Waiting [2022-06-30T13:02:14.012Z] 5c69ac0246d0: Verifying Checksum [2022-06-30T13:02:14.012Z] 5c69ac0246d0: Download complete [2022-06-30T13:02:14.012Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-30T13:02:14.012Z] 3a2ae6a8a46f: Download complete [2022-06-30T13:02:14.012Z] 33b1e0a273af: Verifying Checksum [2022-06-30T13:02:14.012Z] 33b1e0a273af: Download complete [2022-06-30T13:02:14.272Z] 5d3b04190fa2: Verifying Checksum [2022-06-30T13:02:14.272Z] 5d3b04190fa2: Download complete [2022-06-30T13:02:14.272Z] ec43610c2a17: Verifying Checksum [2022-06-30T13:02:14.272Z] ec43610c2a17: Download complete [2022-06-30T13:02:14.272Z] 5eb5b503b376: Verifying Checksum [2022-06-30T13:02:14.272Z] 5eb5b503b376: Download complete [2022-06-30T13:02:14.839Z] 2f39f015ded8: Download complete [2022-06-30T13:02:15.778Z] 5eb5b503b376: Pull complete [2022-06-30T13:02:15.778Z] 5c69ac0246d0: Pull complete [2022-06-30T13:02:15.830Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16488 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-06-30T13:02:15.842Z] Running in /w/workspace/device-usb-camera/22 [Pipeline] { [Pipeline] checkout [2022-06-30T13:02:15.879Z] Selected Git installation does not exist. Using Default [2022-06-30T13:02:15.879Z] The recommended git tool is: NONE [2022-06-30T13:02:16.036Z] ec43610c2a17: Pull complete [2022-06-30T13:02:16.295Z] 3a2ae6a8a46f: Pull complete [2022-06-30T13:02:16.295Z] 33b1e0a273af: Pull complete [2022-06-30T13:02:16.553Z] 5d3b04190fa2: Pull complete [2022-06-30T13:02:20.742Z] 2f39f015ded8: Pull complete [2022-06-30T13:02:20.742Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-30T13:02:20.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T13:02:20.742Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:02:20.833Z] prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container [2022-06-30T13:02:20.864Z] $ 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/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T13:02:21.107Z] using credential edgex-jenkins-ssh [2022-06-30T13:02:21.126Z] Cloning the remote Git repository [2022-06-30T13:02:21.179Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T13:02:21.250Z] > git init /w/workspace/device-usb-camera/22 # timeout=10 [2022-06-30T13:02:21.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T13:02:21.324Z] > git --version # timeout=10 [2022-06-30T13:02:21.342Z] > git --version # 'git version 2.25.1' [2022-06-30T13:02:21.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T13:02:21.437Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T13:02:21.964Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-30T13:02:21.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T13:02:22.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-30T13:02:22.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T13:02:22.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T13:02:22.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-30T13:02:22.609Z] $ docker top ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 -eo pid,comm [Pipeline] { [2022-06-30T13:02:22.708Z] Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 91b64afb3be730d92232b12e9c94e2c43b52d870 [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:02:22.949Z] Merge succeeded, producing 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 [2022-06-30T13:02:22.949Z] Checking out Revision 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 (PR-30) [2022-06-30T13:02:23.035Z] ---> job-cost.sh [2022-06-30T13:02:23.035Z] lf-activate-venv: SKIPPING [2022-06-30T13:02:23.035Z] INFO: No Stack... [2022-06-30T13:02:23.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T13:02:22.733Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T13:02:22.749Z] > git checkout -f 91b64afb3be730d92232b12e9c94e2c43b52d870 # timeout=10 [2022-06-30T13:02:22.833Z] > git remote # timeout=10 [2022-06-30T13:02:22.851Z] > git config --get remote.origin.url # timeout=10 [2022-06-30T13:02:22.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T13:02:22.874Z] > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 [2022-06-30T13:02:22.932Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-30T13:02:22.960Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T13:02:22.971Z] > git checkout -f 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 # timeout=10 [2022-06-30T13:02:23.869Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T13:02:24.158Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-06-30T13:02:24.158Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T13:02:24.172Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [2022-06-30T13:02:24.181Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] did not exist. Created. [2022-06-30T13:02:24.181Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T13:02:24.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-30T13:02:24.520Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T13:02:24.525Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T13:02:24.544Z] $ docker stop --time=1 ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 [2022-06-30T13:02:25.726Z] $ docker rm -f ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-30T13:02:27.147Z] Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" [2022-06-30T13:02:27.171Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T13:02:27.158Z] > git rev-list --no-walk 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 [2022-06-30T13:02:28.131Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-30T13:02:28.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T13:02:28.131Z] Dload Upload Total Spent Left Speed [2022-06-30T13:02:28.131Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 74 12253 74 9126 0 0 68104 0 --:--:-- --:--:-- --:--:-- 68104 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh [2022-06-30T13:02:28.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-30T13:02:29.251Z] + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json [2022-06-30T13:02:29.251Z] /etc/docker/daemon.new [2022-06-30T13:02:29.251Z] { [2022-06-30T13:02:29.251Z] "registry-mirrors": [ [2022-06-30T13:02:29.251Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-30T13:02:29.251Z] ], [2022-06-30T13:02:29.251Z] "bip": "10.250.0.254/24", [2022-06-30T13:02:29.251Z] "hosts": [ [2022-06-30T13:02:29.251Z] "tcp://0.0.0.0:5555", [2022-06-30T13:02:29.251Z] "unix:///var/run/docker.sock" [2022-06-30T13:02:29.251Z] ], [2022-06-30T13:02:29.251Z] "mtu": 1458, [2022-06-30T13:02:29.251Z] "selinux-enabled": true, [2022-06-30T13:02:29.251Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-30T13:02:29.251Z] } [Pipeline] sh [2022-06-30T13:02:29.596Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-30T13:02:29.940Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T13:02:48.275Z] provisioning config files... [2022-06-30T13:02:48.298Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/22@tmp/config5902256525332911424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:02:48.654Z] ---> docker-login.sh [2022-06-30T13:02:48.654Z] nexus3.edgexfoundry.org:10001 [2022-06-30T13:02:49.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:02:49.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:02:49.529Z] Configure a credential helper to remove this warning. See [2022-06-30T13:02:49.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:02:49.529Z] [2022-06-30T13:02:49.529Z] Login Succeeded [2022-06-30T13:02:49.529Z] nexus3.edgexfoundry.org:10002 [2022-06-30T13:02:49.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:02:50.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:02:50.078Z] Configure a credential helper to remove this warning. See [2022-06-30T13:02:50.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:02:50.078Z] [2022-06-30T13:02:50.078Z] Login Succeeded [2022-06-30T13:02:50.078Z] nexus3.edgexfoundry.org:10003 [2022-06-30T13:02:50.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:02:50.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:02:50.352Z] Configure a credential helper to remove this warning. See [2022-06-30T13:02:50.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:02:50.352Z] [2022-06-30T13:02:50.352Z] Login Succeeded [2022-06-30T13:02:50.352Z] nexus3.edgexfoundry.org:10004 [2022-06-30T13:02:50.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:02:50.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:02:50.954Z] Configure a credential helper to remove this warning. See [2022-06-30T13:02:50.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:02:50.954Z] [2022-06-30T13:02:50.954Z] Login Succeeded [2022-06-30T13:02:50.954Z] docker.io [2022-06-30T13:02:51.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T13:02:51.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T13:02:51.501Z] Configure a credential helper to remove this warning. See [2022-06-30T13:02:51.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T13:02:51.501Z] [2022-06-30T13:02:51.501Z] Login Succeeded [2022-06-30T13:02:51.776Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T13:02:51.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T13:02:52.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T13:02:52.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T13:02:52.389Z] ========================================================= [2022-06-30T13:02:52.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-30T13:02:52.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:02:52.751Z] + 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-30T13:02:53.026Z] Sending build context to Docker daemon 525.8kB [2022-06-30T13:02:53.026Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T13:02:53.026Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T13:02:53.300Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-30T13:02:53.300Z] 9b3977197b4f: Pulling fs layer [2022-06-30T13:02:53.300Z] 1a89e8eeedd5: Pulling fs layer [2022-06-30T13:02:53.300Z] 94645a83ff95: Pulling fs layer [2022-06-30T13:02:53.300Z] e6fb740bc735: Pulling fs layer [2022-06-30T13:02:53.300Z] 3a77bd46dcc9: Pulling fs layer [2022-06-30T13:02:53.300Z] 355e64cbe906: Pulling fs layer [2022-06-30T13:02:53.300Z] 63ab81a10011: Pulling fs layer [2022-06-30T13:02:53.300Z] 555d1d1c4555: Pulling fs layer [2022-06-30T13:02:53.300Z] 7d9057610161: Pulling fs layer [2022-06-30T13:02:53.300Z] 355e64cbe906: Waiting [2022-06-30T13:02:53.300Z] 63ab81a10011: Waiting [2022-06-30T13:02:53.300Z] 555d1d1c4555: Waiting [2022-06-30T13:02:53.300Z] 7d9057610161: Waiting [2022-06-30T13:02:53.300Z] 3a77bd46dcc9: Waiting [2022-06-30T13:02:53.300Z] e6fb740bc735: Waiting [2022-06-30T13:02:53.300Z] 94645a83ff95: Verifying Checksum [2022-06-30T13:02:53.300Z] 94645a83ff95: Download complete [2022-06-30T13:02:53.300Z] 1a89e8eeedd5: Verifying Checksum [2022-06-30T13:02:53.300Z] 1a89e8eeedd5: Download complete [2022-06-30T13:02:53.300Z] 3a77bd46dcc9: Verifying Checksum [2022-06-30T13:02:53.300Z] 3a77bd46dcc9: Download complete [2022-06-30T13:02:53.300Z] 355e64cbe906: Verifying Checksum [2022-06-30T13:02:53.300Z] 355e64cbe906: Download complete [2022-06-30T13:02:53.300Z] 9b3977197b4f: Download complete [2022-06-30T13:02:53.300Z] 63ab81a10011: Verifying Checksum [2022-06-30T13:02:53.300Z] 63ab81a10011: Download complete [2022-06-30T13:02:54.292Z] 9b3977197b4f: Pull complete [2022-06-30T13:02:54.292Z] 7d9057610161: Verifying Checksum [2022-06-30T13:02:54.292Z] 7d9057610161: Download complete [2022-06-30T13:02:54.905Z] 1a89e8eeedd5: Pull complete [2022-06-30T13:02:55.189Z] 94645a83ff95: Pull complete [2022-06-30T13:02:55.788Z] 555d1d1c4555: Verifying Checksum [2022-06-30T13:02:55.788Z] 555d1d1c4555: Download complete [2022-06-30T13:02:56.384Z] e6fb740bc735: Verifying Checksum [2022-06-30T13:02:56.384Z] e6fb740bc735: Download complete [2022-06-30T13:03:08.802Z] e6fb740bc735: Pull complete [2022-06-30T13:03:08.802Z] 3a77bd46dcc9: Pull complete [2022-06-30T13:03:09.075Z] 355e64cbe906: Pull complete [2022-06-30T13:03:09.350Z] 63ab81a10011: Pull complete [2022-06-30T13:03:16.064Z] 555d1d1c4555: Pull complete [2022-06-30T13:03:18.042Z] 7d9057610161: Pull complete [2022-06-30T13:03:18.042Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-30T13:03:18.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-30T13:03:18.042Z] ---> 819e984ddca1 [2022-06-30T13:03:18.042Z] Step 3/12 : ARG MAKE="make build" [2022-06-30T13:03:19.473Z] ---> Running in 519ab0f05bfc [2022-06-30T13:03:20.073Z] Removing intermediate container 519ab0f05bfc [2022-06-30T13:03:20.073Z] ---> 7b107ea6a574 [2022-06-30T13:03:20.073Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T13:03:20.073Z] ---> Running in 53f99bd27b51 [2022-06-30T13:03:20.352Z] Removing intermediate container 53f99bd27b51 [2022-06-30T13:03:20.352Z] ---> 69860211d021 [2022-06-30T13:03:20.352Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T13:03:20.352Z] ---> Running in fcb1344c5f3b [2022-06-30T13:03:20.631Z] Removing intermediate container fcb1344c5f3b [2022-06-30T13:03:20.631Z] ---> 2823248eebd4 [2022-06-30T13:03:20.631Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T13:03:20.631Z] ---> Running in d27646bc2cad [2022-06-30T13:03:22.621Z] Removing intermediate container d27646bc2cad [2022-06-30T13:03:22.621Z] ---> 28a7922aad63 [2022-06-30T13:03:22.621Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T13:03:22.621Z] ---> Running in 8418983343ab [2022-06-30T13:03:23.602Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T13:03:24.577Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T13:03:25.171Z] (1/14) Installing libintl (0.21-r0) [2022-06-30T13:03:25.171Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T13:03:25.445Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T13:03:25.445Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T13:03:25.445Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-30T13:03:25.718Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-30T13:03:25.718Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T13:03:25.718Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-30T13:03:25.991Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-30T13:03:25.991Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-30T13:03:25.991Z] (10/14) Installing kmod-libs (29-r2) [2022-06-30T13:03:26.264Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-30T13:03:26.264Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-30T13:03:26.546Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-30T13:03:26.546Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-30T13:03:26.546Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T13:03:26.546Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T13:03:26.818Z] OK: 228 MiB in 66 packages [2022-06-30T13:03:27.827Z] Removing intermediate container 8418983343ab [2022-06-30T13:03:27.827Z] ---> a85283c78769 [2022-06-30T13:03:27.827Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-30T13:03:27.827Z] ---> Running in 11b01f35d118 [2022-06-30T13:03:28.427Z] Removing intermediate container 11b01f35d118 [2022-06-30T13:03:28.427Z] ---> f844588930c1 [2022-06-30T13:03:28.427Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-30T13:03:28.704Z] ---> dcbdc8472555 [2022-06-30T13:03:28.704Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T13:03:28.983Z] ---> Running in 8d7f1afecded [2022-06-30T13:04:15.984Z] Removing intermediate container 8d7f1afecded [2022-06-30T13:04:15.984Z] ---> 617698b0d156 [2022-06-30T13:04:15.984Z] Step 11/12 : COPY . . [2022-06-30T13:04:15.984Z] ---> b91dcc33ad83 [2022-06-30T13:04:15.984Z] Step 12/12 : RUN ${MAKE} [2022-06-30T13:04:15.984Z] ---> Running in f89cd048eebe [2022-06-30T13:04:15.984Z] noop [2022-06-30T13:04:15.984Z] Removing intermediate container f89cd048eebe [2022-06-30T13:04:15.984Z] ---> 4ae59df8286c [2022-06-30T13:04:15.984Z] Successfully built 4ae59df8286c [2022-06-30T13:04:15.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:04:16.345Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T13:04:16.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:04:16.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container [2022-06-30T13:04:16.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-30T13:04:17.903Z] $ docker top 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T13:04:18.793Z] + go version [2022-06-30T13:04:18.793Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-30T13:04:18.819Z] $ docker stop --time=1 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 [2022-06-30T13:04:20.402Z] $ docker rm -f 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:04:20.974Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T13:04:20.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:04:21.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container [2022-06-30T13:04:21.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-30T13:04:22.526Z] $ docker top 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T13:04:23.444Z] + make test [2022-06-30T13:04:23.444Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-30T13:04:24.884Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-30T13:05:46.713Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-30T13:05:46.713Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-30T13:05:46.713Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-30T13:05:46.713Z] CGO_ENABLED=1 go vet ./... [2022-06-30T13:06:13.545Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T13:06:13.545Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T13:06:13.545Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T13:06:14.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T13:06:14.185Z] $ docker stop --time=1 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f [2022-06-30T13:06:15.985Z] $ docker rm -f 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T13:06:16.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T13:06:16.977Z] Warning: overwriting stash ‘coverage-report’ [2022-06-30T13:06:17.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T13:06:17.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T13:06:18.139Z] + ls -al . [2022-06-30T13:06:18.139Z] total 164 [2022-06-30T13:06:18.139Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 13:06 . [2022-06-30T13:06:18.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:02 .. [2022-06-30T13:06:18.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:02 .git [2022-06-30T13:06:18.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 .github [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 13:02 .gitignore [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 13:02 .golangci.yml [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 13:02 .hadolint.yml [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 13:02 Attribution.txt [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 13:02 CHANGELOG.md [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 13:02 Dockerfile [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 13:02 GOVERNANCE.md [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 13:02 Jenkinsfile [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 13:02 LICENSE [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 13:02 Makefile [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 13:02 OWNERS.md [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 13:02 README.md [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 13:00 VERSION [2022-06-30T13:06:18.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 bin [2022-06-30T13:06:18.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:02 cmd [2022-06-30T13:06:18.139Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 30 13:04 coverage.out [2022-06-30T13:06:18.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 docker-compose [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 13:02 docker-entrypoint.sh [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 13:02 go.mod [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 13:02 go.sum [2022-06-30T13:06:18.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:02 internal [2022-06-30T13:06:18.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:02 snap [2022-06-30T13:06:18.139Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:06:18.496Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=39f5e86c1cf1a42124c4efcfc624f9a8895bb525 --label arch=arm64 --label version=0.0.0 . [2022-06-30T13:06:18.770Z] Sending build context to Docker daemon 526.8kB [2022-06-30T13:06:18.770Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T13:06:18.770Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-30T13:06:18.770Z] ---> 4ae59df8286c [2022-06-30T13:06:18.770Z] Step 3/29 : ARG MAKE="make build" [2022-06-30T13:06:19.045Z] ---> Running in 16efbc16f012 [2022-06-30T13:06:19.318Z] Removing intermediate container 16efbc16f012 [2022-06-30T13:06:19.319Z] ---> 51098c4e08a8 [2022-06-30T13:06:19.319Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T13:06:19.319Z] ---> Running in 95b193e9f91f [2022-06-30T13:06:19.601Z] Removing intermediate container 95b193e9f91f [2022-06-30T13:06:19.601Z] ---> 876dea539b26 [2022-06-30T13:06:19.601Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T13:06:19.601Z] ---> Running in 5920ec24be63 [2022-06-30T13:06:19.887Z] Removing intermediate container 5920ec24be63 [2022-06-30T13:06:19.887Z] ---> f5b4a955154e [2022-06-30T13:06:19.887Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T13:06:20.170Z] ---> Running in 5e2ada2c01fd [2022-06-30T13:06:21.613Z] Removing intermediate container 5e2ada2c01fd [2022-06-30T13:06:21.613Z] ---> 2e5ef42f9d87 [2022-06-30T13:06:21.613Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T13:06:21.895Z] ---> Running in 924161ca0b52 [2022-06-30T13:06:22.880Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T13:06:23.859Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T13:06:24.839Z] OK: 228 MiB in 66 packages [2022-06-30T13:06:25.448Z] Removing intermediate container 924161ca0b52 [2022-06-30T13:06:25.448Z] ---> 5922ed5e02ef [2022-06-30T13:06:25.448Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-30T13:06:25.448Z] ---> Running in d901d4cd436b [2022-06-30T13:06:25.722Z] Removing intermediate container d901d4cd436b [2022-06-30T13:06:25.722Z] ---> 37287f69e208 [2022-06-30T13:06:25.722Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-30T13:06:26.321Z] ---> 8533b733a977 [2022-06-30T13:06:26.321Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T13:06:26.321Z] ---> Running in f0a13b71ab17 [2022-06-30T13:06:28.300Z] Removing intermediate container f0a13b71ab17 [2022-06-30T13:06:28.300Z] ---> ac27dfaeb0df [2022-06-30T13:06:28.300Z] Step 11/29 : COPY . . [2022-06-30T13:06:29.285Z] ---> 4a4a54935bcc [2022-06-30T13:06:29.285Z] Step 12/29 : RUN ${MAKE} [2022-06-30T13:06:29.285Z] ---> Running in 13ca006eb482 [2022-06-30T13:06:30.279Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-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-usb-camera ./cmd [2022-06-30T13:08:37.191Z] Removing intermediate container 13ca006eb482 [2022-06-30T13:08:37.191Z] ---> daaee050fe08 [2022-06-30T13:08:37.191Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-30T13:08:37.191Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-30T13:08:37.191Z] eab2503cf8f4: Pulling fs layer [2022-06-30T13:08:37.191Z] 97cd0a44c592: Pulling fs layer [2022-06-30T13:08:37.191Z] 97cd0a44c592: Verifying Checksum [2022-06-30T13:08:37.191Z] 97cd0a44c592: Download complete [2022-06-30T13:08:37.191Z] eab2503cf8f4: Verifying Checksum [2022-06-30T13:08:37.191Z] eab2503cf8f4: Download complete [2022-06-30T13:08:37.191Z] eab2503cf8f4: Pull complete [2022-06-30T13:08:37.191Z] 97cd0a44c592: Pull complete [2022-06-30T13:08:37.191Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-30T13:08:37.191Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-30T13:08:37.191Z] ---> 7f763cca56b3 [2022-06-30T13:08:37.191Z] Step 14/29 : FROM alpine:3.15 [2022-06-30T13:08:37.191Z] 3.15: Pulling from library/alpine [2022-06-30T13:08:37.191Z] 9981e73032c8: Pulling fs layer [2022-06-30T13:08:37.191Z] 9981e73032c8: Download complete [2022-06-30T13:08:37.191Z] 9981e73032c8: Pull complete [2022-06-30T13:08:37.191Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T13:08:37.191Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T13:08:37.191Z] ---> 3fb3c9af89a9 [2022-06-30T13:08:37.191Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T13:08:37.191Z] ---> Running in b889c23c5ca8 [2022-06-30T13:08:37.191Z] Removing intermediate container b889c23c5ca8 [2022-06-30T13:08:37.191Z] ---> 1328fff3fc12 [2022-06-30T13:08:37.191Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-30T13:08:37.191Z] ---> Running in c919c92bcddf [2022-06-30T13:08:37.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T13:08:37.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T13:08:37.191Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-30T13:08:37.191Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-30T13:08:37.191Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-30T13:08:37.191Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-30T13:08:37.191Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-30T13:08:37.191Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-30T13:08:37.191Z] (7/73) Installing libxcb (1.14-r2) [2022-06-30T13:08:37.191Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-30T13:08:37.191Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-30T13:08:37.191Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-30T13:08:37.191Z] (11/73) Installing expat (2.4.7-r0) [2022-06-30T13:08:37.191Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-30T13:08:37.191Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-30T13:08:37.191Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-30T13:08:37.191Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-30T13:08:37.191Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-30T13:08:37.191Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-30T13:08:37.191Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-30T13:08:37.191Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-30T13:08:37.465Z] (20/73) Installing libintl (0.21-r0) [2022-06-30T13:08:37.465Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-30T13:08:37.465Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-30T13:08:37.465Z] (23/73) Installing pcre (8.45-r1) [2022-06-30T13:08:37.465Z] (24/73) Installing glib (2.70.1-r0) [2022-06-30T13:08:37.465Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-30T13:08:37.465Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-30T13:08:37.465Z] (27/73) Installing libass (0.15.2-r0) [2022-06-30T13:08:37.465Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-30T13:08:37.465Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-30T13:08:37.465Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-30T13:08:37.465Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-30T13:08:37.738Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-30T13:08:37.738Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-30T13:08:37.738Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-30T13:08:37.738Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-30T13:08:37.738Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-30T13:08:37.738Z] (37/73) Installing lame (3.100-r0) [2022-06-30T13:08:37.738Z] (38/73) Installing opus (1.3.1-r1) [2022-06-30T13:08:37.738Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-30T13:08:37.738Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-30T13:08:37.738Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T13:08:37.738Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T13:08:38.013Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-30T13:08:38.013Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-30T13:08:38.013Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-30T13:08:38.013Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-30T13:08:38.013Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T13:08:38.013Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T13:08:38.013Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-30T13:08:38.013Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-30T13:08:38.013Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-30T13:08:38.013Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T13:08:38.013Z] (53/73) Installing libva (2.13.0-r0) [2022-06-30T13:08:38.013Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-30T13:08:38.013Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-30T13:08:38.013Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-30T13:08:38.013Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-30T13:08:38.013Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-30T13:08:38.287Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-30T13:08:38.287Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-30T13:08:38.287Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-30T13:08:38.287Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-30T13:08:38.287Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-30T13:08:38.886Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-30T13:08:38.886Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-30T13:08:38.886Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T13:08:38.886Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T13:08:38.886Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-30T13:08:38.886Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-30T13:08:38.886Z] (69/73) Installing kmod-libs (29-r2) [2022-06-30T13:08:38.886Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-30T13:08:38.886Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-30T13:08:38.886Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-30T13:08:39.159Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-30T13:08:39.159Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T13:08:39.159Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T13:08:39.159Z] OK: 67 MiB in 87 packages [2022-06-30T13:08:42.562Z] Removing intermediate container c919c92bcddf [2022-06-30T13:08:42.562Z] ---> d9fcc3c4b446 [2022-06-30T13:08:42.562Z] Step 17/29 : WORKDIR / [2022-06-30T13:08:42.562Z] ---> Running in 5bc6283b15cb [2022-06-30T13:08:42.562Z] Removing intermediate container 5bc6283b15cb [2022-06-30T13:08:42.562Z] ---> 8c28a0fa1576 [2022-06-30T13:08:42.562Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-30T13:08:43.997Z] ---> 52ab2ed6db9d [2022-06-30T13:08:43.997Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-30T13:08:44.272Z] ---> 43f2a9c58088 [2022-06-30T13:08:44.272Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-30T13:08:44.877Z] ---> b5b2e9a4b108 [2022-06-30T13:08:44.877Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-30T13:08:45.474Z] ---> 947eb585ad12 [2022-06-30T13:08:45.474Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-30T13:08:46.079Z] ---> 1fe84225f8d9 [2022-06-30T13:08:46.079Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-30T13:08:47.548Z] ---> 20e462d0ff12 [2022-06-30T13:08:47.548Z] Step 24/29 : EXPOSE 59983 [2022-06-30T13:08:47.548Z] ---> Running in f8cbd15610da [2022-06-30T13:08:47.548Z] Removing intermediate container f8cbd15610da [2022-06-30T13:08:47.548Z] ---> 6ff624a5fed0 [2022-06-30T13:08:47.548Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-30T13:08:47.824Z] ---> Running in 3dfe8ab5a221 [2022-06-30T13:08:48.098Z] Removing intermediate container 3dfe8ab5a221 [2022-06-30T13:08:48.099Z] ---> 4edc0d540a85 [2022-06-30T13:08:48.099Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-30T13:08:48.099Z] ---> Running in 7e3864fbeefd [2022-06-30T13:08:48.373Z] Removing intermediate container 7e3864fbeefd [2022-06-30T13:08:48.373Z] ---> 3f195c5c2b2e [2022-06-30T13:08:48.373Z] Step 27/29 : LABEL arch=arm64 [2022-06-30T13:08:48.373Z] ---> Running in 733288f531a7 [2022-06-30T13:08:48.651Z] Removing intermediate container 733288f531a7 [2022-06-30T13:08:48.651Z] ---> 4ec512ba5ab0 [2022-06-30T13:08:48.651Z] Step 28/29 : LABEL git_sha=39f5e86c1cf1a42124c4efcfc624f9a8895bb525 [2022-06-30T13:08:48.929Z] ---> Running in 0bf5ff08d736 [2022-06-30T13:08:49.205Z] Removing intermediate container 0bf5ff08d736 [2022-06-30T13:08:49.205Z] ---> 71b74cc73c2e [2022-06-30T13:08:49.205Z] Step 29/29 : LABEL version=0.0.0 [2022-06-30T13:08:49.205Z] ---> Running in cb3dc2a96c9f [2022-06-30T13:08:49.477Z] Removing intermediate container cb3dc2a96c9f [2022-06-30T13:08:49.477Z] ---> d3f24851261a [2022-06-30T13:08:49.477Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T13:08:49.477Z] Successfully built d3f24851261a [2022-06-30T13:08:49.477Z] Successfully tagged device-usb-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-30T13:08:49.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T13:08:49.918Z] [2022-06-30T13:08:49.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:08:50.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T13:08:50.547Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-30T13:08:50.547Z] 8998bd30e6a1: Pulling fs layer [2022-06-30T13:08:50.547Z] 04944245beec: Pulling fs layer [2022-06-30T13:08:50.547Z] 699f458cf7ca: Pulling fs layer [2022-06-30T13:08:50.547Z] 765212b225bb: Pulling fs layer [2022-06-30T13:08:50.547Z] f23df028b6ca: Pulling fs layer [2022-06-30T13:08:50.547Z] d65c8cfc05b1: Pulling fs layer [2022-06-30T13:08:50.547Z] 2437ff75d9bd: Pulling fs layer [2022-06-30T13:08:50.547Z] f23df028b6ca: Waiting [2022-06-30T13:08:50.547Z] d65c8cfc05b1: Waiting [2022-06-30T13:08:50.547Z] 765212b225bb: Waiting [2022-06-30T13:08:50.547Z] 2437ff75d9bd: Waiting [2022-06-30T13:08:50.547Z] 04944245beec: Download complete [2022-06-30T13:08:50.547Z] 765212b225bb: Verifying Checksum [2022-06-30T13:08:50.547Z] 765212b225bb: Download complete [2022-06-30T13:08:50.547Z] f23df028b6ca: Download complete [2022-06-30T13:08:50.547Z] d65c8cfc05b1: Verifying Checksum [2022-06-30T13:08:50.547Z] d65c8cfc05b1: Download complete [2022-06-30T13:08:50.825Z] 699f458cf7ca: Verifying Checksum [2022-06-30T13:08:50.825Z] 699f458cf7ca: Download complete [2022-06-30T13:08:51.103Z] 8998bd30e6a1: Verifying Checksum [2022-06-30T13:08:51.103Z] 8998bd30e6a1: Download complete [2022-06-30T13:08:53.732Z] 2437ff75d9bd: Verifying Checksum [2022-06-30T13:08:53.732Z] 2437ff75d9bd: Download complete [2022-06-30T13:08:55.717Z] 8998bd30e6a1: Pull complete [2022-06-30T13:08:55.994Z] 04944245beec: Pull complete [2022-06-30T13:08:57.975Z] 699f458cf7ca: Pull complete [2022-06-30T13:08:57.975Z] 765212b225bb: Pull complete [2022-06-30T13:08:58.958Z] f23df028b6ca: Pull complete [2022-06-30T13:08:58.958Z] d65c8cfc05b1: Pull complete [2022-06-30T13:09:14.072Z] 2437ff75d9bd: Pull complete [2022-06-30T13:09:14.072Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-30T13:09:14.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T13:09:14.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:09:14.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container [2022-06-30T13:09:14.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-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-30T13:09:16.919Z] $ docker top 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:17.851Z] ---> job-cost.sh [2022-06-30T13:09:17.851Z] lf-activate-venv: SKIPPING [2022-06-30T13:09:17.851Z] INFO: No Stack... [2022-06-30T13:09:18.448Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-30T13:09:19.041Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T13:09:19.713Z] + cat /w/workspace/device-usb-camera/22/archives/cost.csv [2022-06-30T13:09:19.713Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T13:09:19.777Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [2022-06-30T13:09:19.784Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] did not exist. Created. [2022-06-30T13:09:19.784Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T13:09:20.473Z] /w/workspace/device-usb-camera/22@tmp/durable-59482898/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-30T13:09:21.158Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-30T13:09:21.179Z] Warning: overwriting stash ‘stack-cost’ [2022-06-30T13:09:21.223Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T13:09:21.229Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T13:09:21.254Z] $ docker stop --time=1 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 [2022-06-30T13:09:22.775Z] $ docker rm -f 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 [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-30T13:09:23.244Z] provisioning config files... [2022-06-30T13:09:23.253Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config7083152518890033781tmp [Pipeline] { [Pipeline] sh [2022-06-30T13:09:23.546Z] + set +x [2022-06-30T13:09:23.546Z] + curl -s https://codecov.io/bash [2022-06-30T13:09:23.546Z] + bash -s -- [2022-06-30T13:09:23.546Z] [2022-06-30T13:09:23.546Z] _____ _ [2022-06-30T13:09:23.546Z] / ____| | | [2022-06-30T13:09:23.546Z] | | ___ __| | ___ ___ _____ __ [2022-06-30T13:09:23.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-30T13:09:23.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-30T13:09:23.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-30T13:09:23.546Z] Bash-1.0.6 [2022-06-30T13:09:23.546Z] [2022-06-30T13:09:23.546Z] [2022-06-30T13:09:23.546Z] ==> git version 2.25.1 found [2022-06-30T13:09:23.546Z] ==> 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-30T13:09:23.546Z] Release-Date: 2020-01-08 [2022-06-30T13:09:23.546Z] 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-30T13:09:23.546Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-30T13:09:23.546Z] ==> Jenkins CI detected. [2022-06-30T13:09:23.546Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-30T13:09:23.546Z] project root: . [2022-06-30T13:09:23.546Z] --> token set from env [2022-06-30T13:09:23.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-30T13:09:23.546Z] ==> Running gcov in . (disable via -X gcov) [2022-06-30T13:09:23.546Z] ==> Python coveragepy not found [2022-06-30T13:09:23.546Z] ==> Searching for coverage reports in: [2022-06-30T13:09:23.546Z] + . [2022-06-30T13:09:23.546Z] -> Found 1 reports [2022-06-30T13:09:23.546Z] ==> Detecting git/mercurial file structure [2022-06-30T13:09:23.546Z] ==> Reading reports [2022-06-30T13:09:23.807Z] + ./coverage.out bytes=10 [2022-06-30T13:09:23.807Z] ==> Appending adjustments [2022-06-30T13:09:23.807Z] https://docs.codecov.io/docs/fixing-reports [2022-06-30T13:09:23.807Z] + Found adjustments [2022-06-30T13:09:23.807Z] ==> Gzipping contents [2022-06-30T13:09:23.807Z] 4.0K /tmp/codecov.wE9vMQ.gz [2022-06-30T13:09:23.807Z] ==> Uploading reports [2022-06-30T13:09:23.807Z] url: https://codecov.io [2022-06-30T13:09:23.807Z] query: branch=PR-30&commit=f734813f37683fc511e70351bfb746b73d2d3bd7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-30T13:09:23.807Z] -> Pinging Codecov [2022-06-30T13:09:23.807Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=f734813f37683fc511e70351bfb746b73d2d3bd7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-30T13:09:24.067Z] -> Uploading to [2022-06-30T13:09:24.068Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-30/73D8F5FF140700D3E01443B452E23636/f734813f37683fc511e70351bfb746b73d2d3bd7/4a1ab71a-4c04-490a-a9a7-89d0a31e18c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T130923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f95e692e951f592ca1fe11e73e79dbdc95f5d1cd2ba910c4472a866d6ac953d0 [2022-06-30T13:09:24.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T13:09:24.068Z] Dload Upload Total Spent Left Speed [2022-06-30T13:09:24.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5237 --:--:-- --:--:-- --:--:-- 5237 [2022-06-30T13:09:24.328Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] } [2022-06-30T13:09:24.337Z] 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-30T13:09:24.999Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-06-30T13:09:24.999Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T13:09:24.999Z] total 16 [2022-06-30T13:09:24.999Z] drwxr-xr-x 3 root root 4096 Jun 30 13:02 . [2022-06-30T13:09:24.999Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 13:02 .. [2022-06-30T13:09:24.999Z] drwxr-xr-x 2 root root 4096 Jun 30 13:02 cost [2022-06-30T13:09:24.999Z] -rw-r--r-- 1 root root 88 Jun 30 13:02 cost.csv [2022-06-30T13:09:24.999Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T13:09:24.999Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T13:09:24.999Z] total 16 [2022-06-30T13:09:24.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 13:02 . [2022-06-30T13:09:24.999Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 13:02 .. [2022-06-30T13:09:24.999Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 13:02 cost [2022-06-30T13:09:24.999Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 30 13:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:25.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:26.161Z] ---> package-listing.sh [2022-06-30T13:09:26.162Z] ++ facter osfamily [2022-06-30T13:09:26.162Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-30T13:09:26.423Z] + OS_FAMILY=debian [2022-06-30T13:09:26.423Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-30T13:09:26.423Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-30T13:09:26.423Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-30T13:09:26.423Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-30T13:09:26.423Z] + PACKAGES=/tmp/packages_start.txt [2022-06-30T13:09:26.423Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-30T13:09:26.423Z] + PACKAGES=/tmp/packages_end.txt [2022-06-30T13:09:26.423Z] + case "${OS_FAMILY}" in [2022-06-30T13:09:26.423Z] + dpkg -l [2022-06-30T13:09:26.423Z] + grep '^ii' [2022-06-30T13:09:26.423Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-30T13:09:26.423Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-30T13:09:26.423Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-30T13:09:26.423Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-30T13:09:26.423Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-06-30T13:09:26.423Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-06-30T13:09:26.436Z] 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-30T13:09:26.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T13:09:27.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T13:09:27.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T13:09:27.371Z] prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container [2022-06-30T13:09:27.401Z] $ 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T13:09:27.611Z] $ docker top 059343983f743c03c248e95e97f6e97da987e31b2e875690d33eb1e6f85bf1da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T13:09:27.964Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-30T13:09:28.259Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-30T13:09:28.547Z] + ls /var/log/sa-host [2022-06-30T13:09:28.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T13:09:28.615Z] provisioning config files... [2022-06-30T13:09:28.624Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config519287511495662697tmp [Pipeline] { [Pipeline] echo [2022-06-30T13:09:28.637Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:28.921Z] ---> create-netrc.sh [Pipeline] } [2022-06-30T13:09:28.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:29.267Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-30T13:09:29.277Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:29.566Z] ---> sudo-logs.sh [2022-06-30T13:09:29.566Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-30T13:09:29.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:29.879Z] ---> job-cost.sh [2022-06-30T13:09:29.879Z] lf-activate-venv: SKIPPING [2022-06-30T13:09:29.879Z] DEBUG: total: 0.2199999988079071 [2022-06-30T13:09:29.879Z] INFO: Retrieving Stack Cost... [2022-06-30T13:09:30.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T13:09:30.711Z] INFO: Archiving Costs [Pipeline] echo [2022-06-30T13:09:30.722Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T13:09:31.011Z] ---> logs-deploy.sh [2022-06-30T13:09:31.011Z] lf-activate-venv: SKIPPING [2022-06-30T13:09:31.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/22 [2022-06-30T13:09:31.011Z] INFO: archiving workspace using pattern(s): [2022-06-30T13:09:31.955Z] Archives upload complete. [2022-06-30T13:09:31.955Z] INFO: archiving logs to Nexus