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 1eaa599c90d6d5cca25362b8dc195a68261f6b30+73afea3ace466341e80d38fe07fac6720914120d (9aa008b154067a64513d37b5b8411e35e8bd6bfb) 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-ssh3814140779962764915.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-ssh3575194987578864601.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-ssh6069320471350399296.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-ssh15148647331727895928.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-ssh3823986569815097423.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16362 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 1eaa599c90d6d5cca25362b8dc195a68261f6b30 Merge succeeded, producing f80fd41112f1d5377373d71e68e32fb2e3362fb6 Checking out Revision f80fd41112f1d5377373d71e68e32fb2e3362fb6 (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 1eaa599c90d6d5cca25362b8dc195a68261f6b30 # 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 f80fd41112f1d5377373d71e68e32fb2e3362fb6 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk cb7b1c7487586312c5af94597c1d2f43d1996501 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T16:15:08.378Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T16:15:08.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T16:15:08.456Z] ========================================================= [2022-06-29T16:15:08.456Z] EdgeX Global Pipelines Version Info [2022-06-29T16:15:08.456Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:15:09.239Z] ------------------- [2022-06-29T16:15:09.239Z] stable info: [2022-06-29T16:15:09.239Z] ------------------- [2022-06-29T16:15:09.239Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T16:15:09.239Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:15:09.239Z] Message: update stable to v1.0.234 [2022-06-29T16:15:09.810Z] ------------------- [2022-06-29T16:15:09.810Z] experimental info: [2022-06-29T16:15:09.810Z] ------------------- [2022-06-29T16:15:09.810Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T16:15:09.810Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:15:09.810Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T16:15:09.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-29T16:15:10.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-29T16:15:10.018Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T16:15:10.032Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T16:15:10.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T16:15:10.053Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T16:15:10.064Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T16:15:10.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T16:15:10.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T16:15:10.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T16:15:10.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T16:15:10.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-29T16:15:10.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T16:15:10.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T16:15:10.150Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:15:10.158Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:15:10.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:15:10.175Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:15:10.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T16:15:10.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T16:15:10.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T16:15:10.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T16:15:10.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T16:15:10.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T16:15:10.267Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T16:15:10.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T16:15:10.293Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T16:15:10.304Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-06-29T16:15:10.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-06-29T16:15:10.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-06-29T16:15:10.344Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo [2022-06-29T16:15:10.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f80fd41 [Pipeline] echo [2022-06-29T16:15:10.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:15:10.470Z] provisioning config files... [2022-06-29T16:15:10.482Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2552323813567041692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:15:10.785Z] ---> docker-login.sh [2022-06-29T16:15:10.785Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:15:11.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:11.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:11.355Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:11.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:11.355Z] [2022-06-29T16:15:11.355Z] Login Succeeded [2022-06-29T16:15:11.355Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:15:11.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:11.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:11.618Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:11.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:11.618Z] [2022-06-29T16:15:11.618Z] Login Succeeded [2022-06-29T16:15:11.618Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:15:11.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:11.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:11.618Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:11.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:11.618Z] [2022-06-29T16:15:11.618Z] Login Succeeded [2022-06-29T16:15:11.618Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:15:11.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:11.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:11.879Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:11.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:11.879Z] [2022-06-29T16:15:11.879Z] Login Succeeded [2022-06-29T16:15:11.879Z] docker.io [2022-06-29T16:15:11.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:12.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:12.141Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:12.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:12.141Z] [2022-06-29T16:15:12.141Z] Login Succeeded [2022-06-29T16:15:12.141Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:15:12.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T16:15:12.506Z] + git rev-list -1 --merges f80fd41112f1d5377373d71e68e32fb2e3362fb6~1..f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo [2022-06-29T16:15:12.537Z] -----------> git rev-list -1 --merges f80fd41112f1d5377373d71e68e32fb2e3362fb6~1..f80fd41112f1d5377373d71e68e32fb2e3362fb6 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [2022-06-29T16:15:12.537Z] f80fd41112f1d5377373d71e68e32fb2e3362fb6 [false] [Pipeline] sh [2022-06-29T16:15:12.836Z] + git log --format=format:%s -1 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo [2022-06-29T16:15:12.851Z] ========================================================= [2022-06-29T16:15:12.851Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T16:15:12.851Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:15:13.195Z] + git log --format=format:%s -1 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo [2022-06-29T16:15:13.208Z] [semverPrep] GIT_COMMIT: f80fd41112f1d5377373d71e68e32fb2e3362fb6, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo [2022-06-29T16:15:13.220Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T16:15:13.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T16:15:13.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T16:15:13.569Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T16:15:13.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T16:15:13.569Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T16:15:13.569Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T16:15:13.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:15:13.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:15:13.932Z] [2022-06-29T16:15:13.932Z] 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-29T16:15:14.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:15:14.233Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T16:15:14.233Z] 42c077c10790: Pulling fs layer [2022-06-29T16:15:14.233Z] f63e77b7563a: Pulling fs layer [2022-06-29T16:15:14.233Z] bd5fdadae976: Pulling fs layer [2022-06-29T16:15:14.233Z] 205491f53016: Pulling fs layer [2022-06-29T16:15:14.233Z] df18705c85c3: Pulling fs layer [2022-06-29T16:15:14.233Z] bdb3f477010e: Pulling fs layer [2022-06-29T16:15:14.233Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T16:15:14.233Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T16:15:14.233Z] bdb8f0575790: Pulling fs layer [2022-06-29T16:15:14.233Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T16:15:14.233Z] 2343380bae48: Pulling fs layer [2022-06-29T16:15:14.233Z] 205491f53016: Waiting [2022-06-29T16:15:14.233Z] df18705c85c3: Waiting [2022-06-29T16:15:14.233Z] bdb3f477010e: Waiting [2022-06-29T16:15:14.233Z] c8a8fc8e1c8f: Waiting [2022-06-29T16:15:14.233Z] 2c6e9b1d212d: Waiting [2022-06-29T16:15:14.233Z] 2343380bae48: Waiting [2022-06-29T16:15:14.233Z] 386e3cb2ff24: Waiting [2022-06-29T16:15:14.233Z] bdb8f0575790: Waiting [2022-06-29T16:15:14.233Z] f63e77b7563a: Verifying Checksum [2022-06-29T16:15:14.233Z] f63e77b7563a: Download complete [2022-06-29T16:15:14.233Z] 205491f53016: Verifying Checksum [2022-06-29T16:15:14.233Z] 205491f53016: Download complete [2022-06-29T16:15:14.495Z] df18705c85c3: Verifying Checksum [2022-06-29T16:15:14.495Z] df18705c85c3: Download complete [2022-06-29T16:15:14.495Z] bd5fdadae976: Verifying Checksum [2022-06-29T16:15:14.495Z] bd5fdadae976: Download complete [2022-06-29T16:15:14.495Z] bdb3f477010e: Verifying Checksum [2022-06-29T16:15:14.495Z] bdb3f477010e: Download complete [2022-06-29T16:15:14.495Z] 2c6e9b1d212d: Download complete [2022-06-29T16:15:14.495Z] bdb8f0575790: Verifying Checksum [2022-06-29T16:15:14.495Z] bdb8f0575790: Download complete [2022-06-29T16:15:14.769Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T16:15:14.769Z] 386e3cb2ff24: Download complete [2022-06-29T16:15:14.769Z] 2343380bae48: Verifying Checksum [2022-06-29T16:15:14.769Z] 2343380bae48: Download complete [2022-06-29T16:15:14.769Z] 42c077c10790: Verifying Checksum [2022-06-29T16:15:14.769Z] 42c077c10790: Download complete [2022-06-29T16:15:15.030Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T16:15:15.030Z] c8a8fc8e1c8f: Download complete [2022-06-29T16:15:15.965Z] 42c077c10790: Pull complete [2022-06-29T16:15:15.965Z] f63e77b7563a: Pull complete [2022-06-29T16:15:16.533Z] bd5fdadae976: Pull complete [2022-06-29T16:15:16.793Z] 205491f53016: Pull complete [2022-06-29T16:15:17.052Z] df18705c85c3: Pull complete [2022-06-29T16:15:17.052Z] bdb3f477010e: Pull complete [2022-06-29T16:15:18.960Z] c8a8fc8e1c8f: Pull complete [2022-06-29T16:15:18.960Z] 2c6e9b1d212d: Pull complete [2022-06-29T16:15:18.960Z] bdb8f0575790: Pull complete [2022-06-29T16:15:18.960Z] 386e3cb2ff24: Pull complete [2022-06-29T16:15:19.222Z] 2343380bae48: Pull complete [2022-06-29T16:15:19.222Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T16:15:19.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:15:19.222Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:15:19.324Z] prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container [2022-06-29T16:15:19.366Z] $ 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-29T16:15:22.346Z] $ docker top 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 -eo pid,comm [2022-06-29T16:15:22.439Z] 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-29T16:15:22.439Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T16:15:22.480Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:15:22.480Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:15:22.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:15:22.604Z] $ docker exec 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent [2022-06-29T16:15:22.725Z] SSH_AUTH_SOCK=/tmp/ssh-HAa5UzWbPxln/agent.33 [2022-06-29T16:15:22.725Z] SSH_AGENT_PID=39 [2022-06-29T16:15:22.731Z] Running ssh-add (command line suppressed) [2022-06-29T16:15:22.862Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3344402577846775228.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3344402577846775228.key) [2022-06-29T16:15:22.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:15:23.159Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T16:15:23.179Z] $ docker exec --env ******** --env ******** 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent -k [2022-06-29T16:15:23.296Z] unset SSH_AUTH_SOCK; [2022-06-29T16:15:23.297Z] unset SSH_AGENT_PID; [2022-06-29T16:15:23.297Z] echo Agent pid 39 killed; [2022-06-29T16:15:23.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T16:15:23.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:15:23.328Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:15:23.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:15:23.453Z] $ docker exec 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent [2022-06-29T16:15:23.571Z] SSH_AUTH_SOCK=/tmp/ssh-PNjg9ReDazIO/agent.73 [2022-06-29T16:15:23.571Z] SSH_AGENT_PID=80 [2022-06-29T16:15:23.576Z] Running ssh-add (command line suppressed) [2022-06-29T16:15:23.688Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6299878863728663194.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6299878863728663194.key) [2022-06-29T16:15:23.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:15:23.991Z] + git semver init [2022-06-29T16:15:24.251Z] 2022-06-29 16:15:24,202 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T16:15:24.251Z] 2022-06-29 16:15:24,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-29T16:15:24.251Z] 2022-06-29 16:15:24,203 [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-29T16:15:24.251Z] 2022-06-29 16:15:24,203 [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-29T16:15:24.821Z] 2022-06-29 16:15:24,776 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-06-29T16:15:24.821Z] 2022-06-29 16:15:24,776 [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-29T16:15:24.821Z] 2022-06-29 16:15:24,777 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-29T16:15:24.821Z] 2022-06-29 16:15:24,780 [execute] INFO git cat-file --batch-check [2022-06-29T16:15:24.821Z] 2022-06-29 16:15:24,781 [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-29T16:15:24.821Z] 2022-06-29 16:15:24,787 [execute] INFO git cat-file --batch [2022-06-29T16:15:24.821Z] 2022-06-29 16:15:24,788 [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-29T16:15:24.821Z] 2022-06-29 16:15:24,792 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-29T16:15:24.821Z] 0.0.0 [Pipeline] } [2022-06-29T16:15:24.835Z] $ docker exec --env ******** --env ******** 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent -k [2022-06-29T16:15:24.937Z] unset SSH_AUTH_SOCK; [2022-06-29T16:15:24.937Z] unset SSH_AGENT_PID; [2022-06-29T16:15:24.937Z] echo Agent pid 80 killed; [2022-06-29T16:15:24.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T16:15:25.249Z] + git semver [Pipeline] } [2022-06-29T16:15:25.526Z] $ docker stop --time=1 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 [2022-06-29T16:15:26.846Z] $ docker rm -f 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:15:27.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T16:15:27.460Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T16:15:27.463Z] [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-29T16:15:27.600Z] provisioning config files... [2022-06-29T16:15:27.610Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1414421154190315062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:15:27.906Z] ---> docker-login.sh [2022-06-29T16:15:27.906Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:15:27.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:27.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:27.906Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:27.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:27.906Z] [2022-06-29T16:15:27.906Z] Login Succeeded [2022-06-29T16:15:27.906Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:15:27.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:28.013Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16363 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-06-29T16:15:28.026Z] Running in /w/workspace/device-usb-camera/21 [Pipeline] { [Pipeline] checkout [2022-06-29T16:15:28.053Z] Selected Git installation does not exist. Using Default [2022-06-29T16:15:28.053Z] The recommended git tool is: NONE [2022-06-29T16:15:28.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:28.166Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:28.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:28.166Z] [2022-06-29T16:15:28.166Z] Login Succeeded [2022-06-29T16:15:28.166Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:15:28.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:28.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:28.166Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:28.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:28.166Z] [2022-06-29T16:15:28.166Z] Login Succeeded [2022-06-29T16:15:28.166Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:15:28.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:28.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:28.425Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:28.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:28.425Z] [2022-06-29T16:15:28.425Z] Login Succeeded [2022-06-29T16:15:28.425Z] docker.io [2022-06-29T16:15:28.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:28.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:28.684Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:28.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:28.684Z] [2022-06-29T16:15:28.684Z] Login Succeeded [2022-06-29T16:15:28.684Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:15:28.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:15:28.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:15:28.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:15:28.783Z] ========================================================= [2022-06-29T16:15:28.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T16:15:28.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:15:29.110Z] + 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-29T16:15:29.110Z] Sending build context to Docker daemon 743.9kB [2022-06-29T16:15:29.110Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:15:29.110Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:15:29.110Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T16:15:29.110Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T16:15:29.110Z] 666ba61612fd: Pulling fs layer [2022-06-29T16:15:29.110Z] 8ed8ca486205: Pulling fs layer [2022-06-29T16:15:29.110Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T16:15:29.110Z] c516ae0d96e1: Pulling fs layer [2022-06-29T16:15:29.110Z] 684cea983483: Pulling fs layer [2022-06-29T16:15:29.110Z] dd3240ac7de5: Pulling fs layer [2022-06-29T16:15:29.110Z] c516ae0d96e1: Waiting [2022-06-29T16:15:29.110Z] 684cea983483: Waiting [2022-06-29T16:15:29.110Z] cc1cd167ecdc: Waiting [2022-06-29T16:15:29.110Z] b1e948a4e11c: Pulling fs layer [2022-06-29T16:15:29.110Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T16:15:29.110Z] 646ad004c059: Pulling fs layer [2022-06-29T16:15:29.110Z] b1e948a4e11c: Waiting [2022-06-29T16:15:29.110Z] a8fd76ee1af6: Waiting [2022-06-29T16:15:29.110Z] 646ad004c059: Waiting [2022-06-29T16:15:29.110Z] 8ed8ca486205: Verifying Checksum [2022-06-29T16:15:29.110Z] 8ed8ca486205: Download complete [2022-06-29T16:15:29.110Z] 666ba61612fd: Download complete [2022-06-29T16:15:29.110Z] c516ae0d96e1: Download complete [2022-06-29T16:15:29.110Z] 684cea983483: Verifying Checksum [2022-06-29T16:15:29.110Z] 684cea983483: Download complete [2022-06-29T16:15:29.373Z] dd3240ac7de5: Verifying Checksum [2022-06-29T16:15:29.373Z] dd3240ac7de5: Download complete [2022-06-29T16:15:29.373Z] 59bf1c3509f3: Download complete [2022-06-29T16:15:29.373Z] b1e948a4e11c: Verifying Checksum [2022-06-29T16:15:29.373Z] b1e948a4e11c: Download complete [2022-06-29T16:15:29.373Z] 59bf1c3509f3: Pull complete [2022-06-29T16:15:29.637Z] 666ba61612fd: Pull complete [2022-06-29T16:15:29.637Z] 8ed8ca486205: Pull complete [2022-06-29T16:15:29.897Z] 646ad004c059: Verifying Checksum [2022-06-29T16:15:29.897Z] 646ad004c059: Download complete [2022-06-29T16:15:29.897Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T16:15:29.897Z] cc1cd167ecdc: Download complete [2022-06-29T16:15:29.897Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T16:15:29.897Z] a8fd76ee1af6: Download complete [2022-06-29T16:15:33.098Z] using credential edgex-jenkins-ssh [2022-06-29T16:15:33.115Z] Cloning the remote Git repository [2022-06-29T16:15:33.180Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-29T16:15:33.250Z] > git init /w/workspace/device-usb-camera/21 # timeout=10 [2022-06-29T16:15:34.088Z] cc1cd167ecdc: Pull complete [2022-06-29T16:15:34.088Z] c516ae0d96e1: Pull complete [2022-06-29T16:15:34.088Z] 684cea983483: Pull complete [2022-06-29T16:15:34.088Z] dd3240ac7de5: Pull complete [2022-06-29T16:15:34.088Z] b1e948a4e11c: Pull complete [2022-06-29T16:15:33.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-29T16:15:33.347Z] > git --version # timeout=10 [2022-06-29T16:15:33.366Z] > git --version # 'git version 2.25.1' [2022-06-29T16:15:33.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:15:33.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:15:34.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-29T16:15:34.082Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:15:34.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-29T16:15:34.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-29T16:15:34.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:15:34.165Z] > 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-29T16:15:34.666Z] Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 1eaa599c90d6d5cca25362b8dc195a68261f6b30 [2022-06-29T16:15:34.922Z] Merge succeeded, producing 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe [2022-06-29T16:15:34.922Z] Checking out Revision 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe (PR-30) [2022-06-29T16:15:34.688Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:15:34.705Z] > git checkout -f 1eaa599c90d6d5cca25362b8dc195a68261f6b30 # timeout=10 [2022-06-29T16:15:34.794Z] > git remote # timeout=10 [2022-06-29T16:15:34.812Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T16:15:34.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:15:34.839Z] > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 [2022-06-29T16:15:34.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T16:15:34.931Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:15:34.949Z] > git checkout -f 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 [2022-06-29T16:15:35.988Z] a8fd76ee1af6: Pull complete [2022-06-29T16:15:36.933Z] 646ad004c059: Pull complete [2022-06-29T16:15:36.933Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T16:15:36.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T16:15:36.933Z] ---> 8f69c11f6b0c [2022-06-29T16:15:36.933Z] Step 3/12 : ARG MAKE="make build" [2022-06-29T16:15:39.103Z] Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" [2022-06-29T16:15:39.131Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:15:39.113Z] > git rev-list --no-walk cb7b1c7487586312c5af94597c1d2f43d1996501 # timeout=10 [2022-06-29T16:15:40.016Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T16:15:40.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:15:40.017Z] Dload Upload Total Spent Left Speed [2022-06-29T16:15:40.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 181k 0 --:--:-- --:--:-- --:--:-- 184k [2022-06-29T16:15:40.230Z] ---> Running in cf890030a819 [2022-06-29T16:15:40.230Z] Removing intermediate container cf890030a819 [2022-06-29T16:15:40.230Z] ---> 080cb61b4b34 [2022-06-29T16:15:40.230Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:15:40.230Z] ---> Running in c80e15ccd470 [2022-06-29T16:15:40.230Z] Removing intermediate container c80e15ccd470 [2022-06-29T16:15:40.230Z] ---> 62440d280130 [2022-06-29T16:15:40.230Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-29T16:15:40.230Z] ---> Running in 59790182bd75 [2022-06-29T16:15:40.230Z] Removing intermediate container 59790182bd75 [2022-06-29T16:15:40.230Z] ---> 87dd178d21e9 [2022-06-29T16:15:40.230Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:15:40.230Z] ---> Running in d5fd8354d589 [Pipeline] sh [2022-06-29T16:15:40.803Z] Removing intermediate container d5fd8354d589 [2022-06-29T16:15:40.804Z] ---> f65229095d3b [2022-06-29T16:15:40.804Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:15:40.804Z] ---> Running in 8618a4454a21 [2022-06-29T16:15:40.897Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T16:15:41.063Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:15:41.237Z] + sudo tee /etc/docker/daemon.new [2022-06-29T16:15:41.237Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T16:15:41.237Z] { [2022-06-29T16:15:41.237Z] "registry-mirrors": [ [2022-06-29T16:15:41.237Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T16:15:41.237Z] ], [2022-06-29T16:15:41.237Z] "bip": "10.250.0.254/24", [2022-06-29T16:15:41.237Z] "hosts": [ [2022-06-29T16:15:41.237Z] "tcp://0.0.0.0:5555", [2022-06-29T16:15:41.237Z] "unix:///var/run/docker.sock" [2022-06-29T16:15:41.237Z] ], [2022-06-29T16:15:41.237Z] "mtu": 1458, [2022-06-29T16:15:41.237Z] "selinux-enabled": true, [2022-06-29T16:15:41.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T16:15:41.237Z] } [Pipeline] sh [2022-06-29T16:15:41.592Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T16:15:41.930Z] + sudo service docker restart [2022-06-29T16:15:42.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:15:42.266Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-29T16:15:42.525Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-29T16:15:42.525Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-29T16:15:42.786Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-29T16:15:42.786Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-29T16:15:42.786Z] (6/81) Installing libxcb (1.14-r2) [2022-06-29T16:15:43.046Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-29T16:15:43.046Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-29T16:15:43.309Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-29T16:15:43.309Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-29T16:15:43.309Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-29T16:15:43.571Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-29T16:15:43.571Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-29T16:15:43.831Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-29T16:15:43.831Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-29T16:15:43.831Z] (16/81) Installing libice (1.0.10-r0) [2022-06-29T16:15:44.091Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-29T16:15:44.091Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-29T16:15:44.091Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-29T16:15:44.352Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-29T16:15:44.352Z] (21/81) Installing xset (1.2.4-r0) [2022-06-29T16:15:44.614Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-29T16:15:44.614Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-29T16:15:44.614Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-29T16:15:44.875Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-29T16:15:44.875Z] (26/81) Installing libintl (0.21-r0) [2022-06-29T16:15:45.135Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-29T16:15:45.135Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-29T16:15:45.135Z] (29/81) Installing pcre (8.45-r1) [2022-06-29T16:15:45.396Z] (30/81) Installing glib (2.70.1-r0) [2022-06-29T16:15:45.396Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-29T16:15:46.333Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-29T16:15:46.333Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-29T16:15:46.593Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-29T16:15:46.855Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-29T16:15:47.116Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-29T16:15:47.116Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-29T16:15:47.377Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-29T16:15:47.377Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-29T16:15:47.636Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-29T16:15:47.896Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-29T16:15:47.896Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-29T16:15:47.896Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-29T16:15:48.158Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-29T16:15:48.158Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-29T16:15:48.419Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-29T16:15:48.419Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-29T16:15:48.679Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-29T16:15:48.679Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-29T16:15:48.679Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-29T16:15:48.941Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-29T16:15:48.941Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-29T16:15:49.201Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-29T16:15:49.201Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-29T16:15:49.201Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-29T16:15:49.463Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-29T16:15:49.463Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-29T16:15:49.724Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-29T16:15:49.724Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-29T16:15:49.985Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-29T16:15:49.985Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-29T16:15:49.985Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-29T16:15:50.246Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-29T16:15:50.246Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-29T16:15:50.507Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-29T16:15:50.507Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-29T16:15:50.507Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-29T16:15:50.769Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-29T16:15:50.769Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-29T16:15:51.031Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-29T16:15:51.031Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-29T16:15:51.031Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-29T16:15:51.297Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-29T16:15:51.870Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-29T16:15:51.870Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-29T16:15:51.870Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-29T16:15:52.129Z] Executing udev-init-scripts-35-r0.post-install [2022-06-29T16:15:52.129Z] (77/81) Installing kmod-libs (29-r2) [2022-06-29T16:15:52.129Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-29T16:15:52.389Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-29T16:15:52.389Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-29T16:15:52.389Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-29T16:15:52.650Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:15:52.650Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-29T16:15:52.650Z] OK: 335 MiB in 133 packages [2022-06-29T16:15:55.196Z] Removing intermediate container 8618a4454a21 [2022-06-29T16:15:55.196Z] ---> 37ed44fc2233 [2022-06-29T16:15:55.196Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-29T16:15:55.196Z] ---> Running in 4d3fe2ee2e32 [2022-06-29T16:15:55.457Z] Removing intermediate container 4d3fe2ee2e32 [2022-06-29T16:15:55.457Z] ---> 6ab769ca761f [2022-06-29T16:15:55.457Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T16:15:55.718Z] ---> 4af436bbe440 [2022-06-29T16:15:55.718Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:15:55.718Z] ---> Running in dbaa74ab3b4e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:16:00.266Z] provisioning config files... [2022-06-29T16:16:00.291Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/21@tmp/config6719475979862485772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:16:00.656Z] ---> docker-login.sh [2022-06-29T16:16:00.656Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:16:01.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:16:01.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:16:01.531Z] Configure a credential helper to remove this warning. See [2022-06-29T16:16:01.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:16:01.531Z] [2022-06-29T16:16:01.531Z] Login Succeeded [2022-06-29T16:16:01.531Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:16:01.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:16:02.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:16:02.084Z] Configure a credential helper to remove this warning. See [2022-06-29T16:16:02.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:16:02.084Z] [2022-06-29T16:16:02.084Z] Login Succeeded [2022-06-29T16:16:02.084Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:16:02.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:16:02.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:16:02.642Z] Configure a credential helper to remove this warning. See [2022-06-29T16:16:02.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:16:02.642Z] [2022-06-29T16:16:02.642Z] Login Succeeded [2022-06-29T16:16:02.642Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:16:02.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:16:03.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:16:03.192Z] Configure a credential helper to remove this warning. See [2022-06-29T16:16:03.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:16:03.192Z] [2022-06-29T16:16:03.192Z] Login Succeeded [2022-06-29T16:16:03.192Z] docker.io [2022-06-29T16:16:03.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:16:03.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:16:03.741Z] Configure a credential helper to remove this warning. See [2022-06-29T16:16:03.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:16:03.741Z] [2022-06-29T16:16:03.741Z] Login Succeeded [2022-06-29T16:16:03.741Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:16:03.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:16:04.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:16:04.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:16:04.308Z] ========================================================= [2022-06-29T16:16:04.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T16:16:04.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:04.697Z] + 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-29T16:16:04.974Z] Sending build context to Docker daemon 525.3kB [2022-06-29T16:16:04.974Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:16:04.974Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:16:05.250Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T16:16:05.250Z] 9b3977197b4f: Pulling fs layer [2022-06-29T16:16:05.250Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T16:16:05.250Z] 94645a83ff95: Pulling fs layer [2022-06-29T16:16:05.250Z] e6fb740bc735: Pulling fs layer [2022-06-29T16:16:05.250Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T16:16:05.250Z] 355e64cbe906: Pulling fs layer [2022-06-29T16:16:05.250Z] 63ab81a10011: Pulling fs layer [2022-06-29T16:16:05.250Z] 555d1d1c4555: Pulling fs layer [2022-06-29T16:16:05.250Z] 7d9057610161: Pulling fs layer [2022-06-29T16:16:05.250Z] 355e64cbe906: Waiting [2022-06-29T16:16:05.250Z] 63ab81a10011: Waiting [2022-06-29T16:16:05.250Z] 555d1d1c4555: Waiting [2022-06-29T16:16:05.250Z] 7d9057610161: Waiting [2022-06-29T16:16:05.250Z] e6fb740bc735: Waiting [2022-06-29T16:16:05.250Z] 3a77bd46dcc9: Waiting [2022-06-29T16:16:05.250Z] 94645a83ff95: Download complete [2022-06-29T16:16:05.250Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T16:16:05.250Z] 1a89e8eeedd5: Download complete [2022-06-29T16:16:05.250Z] 3a77bd46dcc9: Download complete [2022-06-29T16:16:05.250Z] 355e64cbe906: Verifying Checksum [2022-06-29T16:16:05.250Z] 355e64cbe906: Download complete [2022-06-29T16:16:05.250Z] 63ab81a10011: Verifying Checksum [2022-06-29T16:16:05.250Z] 63ab81a10011: Download complete [2022-06-29T16:16:05.250Z] 9b3977197b4f: Verifying Checksum [2022-06-29T16:16:05.250Z] 9b3977197b4f: Download complete [2022-06-29T16:16:06.284Z] 9b3977197b4f: Pull complete [2022-06-29T16:16:06.566Z] 7d9057610161: Verifying Checksum [2022-06-29T16:16:06.566Z] 7d9057610161: Download complete [2022-06-29T16:16:06.846Z] 1a89e8eeedd5: Pull complete [2022-06-29T16:16:07.126Z] 94645a83ff95: Pull complete [2022-06-29T16:16:07.732Z] 555d1d1c4555: Verifying Checksum [2022-06-29T16:16:07.732Z] 555d1d1c4555: Download complete [2022-06-29T16:16:08.329Z] e6fb740bc735: Verifying Checksum [2022-06-29T16:16:08.329Z] e6fb740bc735: Download complete [2022-06-29T16:16:10.640Z] Removing intermediate container dbaa74ab3b4e [2022-06-29T16:16:10.640Z] ---> 048b6378deda [2022-06-29T16:16:10.640Z] Step 11/12 : COPY . . [2022-06-29T16:16:10.902Z] ---> 8b5722ed16ca [2022-06-29T16:16:10.902Z] Step 12/12 : RUN ${MAKE} [2022-06-29T16:16:10.902Z] ---> Running in d128f630ced0 [2022-06-29T16:16:11.161Z] noop [2022-06-29T16:16:11.730Z] Removing intermediate container d128f630ced0 [2022-06-29T16:16:11.730Z] ---> 351adec78b2d [2022-06-29T16:16:11.730Z] Successfully built 351adec78b2d [2022-06-29T16:16:11.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:12.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:16:12.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:16:12.138Z] prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container [2022-06-29T16:16:12.201Z] $ 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-29T16:16:12.622Z] $ docker top f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:16:12.987Z] + go version [2022-06-29T16:16:12.987Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T16:16:13.011Z] $ docker stop --time=1 f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 [2022-06-29T16:16:14.337Z] $ docker rm -f f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:14.769Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:16:14.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:16:14.852Z] prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container [2022-06-29T16:16:14.892Z] $ 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-29T16:16:15.278Z] $ docker top 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:16:15.639Z] + make test [2022-06-29T16:16:15.639Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:16:15.899Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-29T16:16:20.743Z] e6fb740bc735: Pull complete [2022-06-29T16:16:20.743Z] 3a77bd46dcc9: Pull complete [2022-06-29T16:16:21.015Z] 355e64cbe906: Pull complete [2022-06-29T16:16:21.289Z] 63ab81a10011: Pull complete [2022-06-29T16:16:25.889Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-29T16:16:25.889Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-29T16:16:28.027Z] 555d1d1c4555: Pull complete [2022-06-29T16:16:30.007Z] 7d9057610161: Pull complete [2022-06-29T16:16:30.007Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T16:16:30.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T16:16:30.007Z] ---> 819e984ddca1 [2022-06-29T16:16:30.007Z] Step 3/12 : ARG MAKE="make build" [2022-06-29T16:16:32.007Z] ---> Running in d4b5ce388494 [2022-06-29T16:16:32.007Z] Removing intermediate container d4b5ce388494 [2022-06-29T16:16:32.007Z] ---> a0902f36ac05 [2022-06-29T16:16:32.007Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:16:32.007Z] ---> Running in 8182e9302218 [2022-06-29T16:16:32.458Z] CGO_ENABLED=1 go vet ./... [2022-06-29T16:16:33.458Z] Removing intermediate container 8182e9302218 [2022-06-29T16:16:33.458Z] ---> 81313dc039d5 [2022-06-29T16:16:33.458Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-29T16:16:33.458Z] ---> Running in 44f80f004819 [2022-06-29T16:16:34.060Z] Removing intermediate container 44f80f004819 [2022-06-29T16:16:34.060Z] ---> efb5360aff6d [2022-06-29T16:16:34.060Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:16:34.060Z] ---> Running in 852f58a1a614 [2022-06-29T16:16:35.001Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:16:35.001Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:16:35.260Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:16:35.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:16:35.863Z] $ docker stop --time=1 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 [2022-06-29T16:16:36.039Z] Removing intermediate container 852f58a1a614 [2022-06-29T16:16:36.039Z] ---> 8ec3eafd23c1 [2022-06-29T16:16:36.039Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:16:36.039Z] ---> Running in 324e1d19a839 [2022-06-29T16:16:37.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:16:37.804Z] $ docker rm -f 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:16:38.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:16:38.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:16:38.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T16:16:38.619Z] (1/14) Installing libintl (0.21-r0) [2022-06-29T16:16:38.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:16:39.030Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-29T16:16:39.030Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-29T16:16:39.030Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-29T16:16:39.030Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-29T16:16:39.140Z] + ls -al . [2022-06-29T16:16:39.140Z] total 168 [2022-06-29T16:16:39.140Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:16 . [2022-06-29T16:16:39.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 .. [2022-06-29T16:16:39.140Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:15 .git [2022-06-29T16:16:39.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 .github [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:15 .gitignore [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:15 .golangci.yml [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:15 .hadolint.yml [2022-06-29T16:16:39.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:15 .semver [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:15 Attribution.txt [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:15 CHANGELOG.md [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:15 Dockerfile [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:15 GOVERNANCE.md [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:15 Jenkinsfile [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:15 LICENSE [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:15 Makefile [2022-06-29T16:16:39.140Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:15 OWNERS.md [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:15 README.md [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:15 VERSION [2022-06-29T16:16:39.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 bin [2022-06-29T16:16:39.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 cmd [2022-06-29T16:16:39.141Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:16 coverage.out [2022-06-29T16:16:39.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 docker-compose [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:15 docker-entrypoint.sh [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:15 go.mod [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:15 go.sum [2022-06-29T16:16:39.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 internal [2022-06-29T16:16:39.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 snap [2022-06-29T16:16:39.141Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:39.306Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-29T16:16:39.306Z] Executing udev-init-scripts-35-r0.post-install [2022-06-29T16:16:39.306Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-29T16:16:39.452Z] + 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=f80fd41112f1d5377373d71e68e32fb2e3362fb6 --label arch=amd64 --label version=0.0.0 . [2022-06-29T16:16:39.452Z] Sending build context to Docker daemon 745kB [2022-06-29T16:16:39.452Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:16:39.452Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-29T16:16:39.452Z] ---> 351adec78b2d [2022-06-29T16:16:39.452Z] Step 3/29 : ARG MAKE="make build" [2022-06-29T16:16:39.580Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-29T16:16:39.580Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-29T16:16:39.711Z] ---> Running in 2fac229e49de [2022-06-29T16:16:39.711Z] Removing intermediate container 2fac229e49de [2022-06-29T16:16:39.711Z] ---> 4d04c82c20d6 [2022-06-29T16:16:39.711Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:16:39.711Z] ---> Running in 596b620bc626 [2022-06-29T16:16:39.854Z] (10/14) Installing kmod-libs (29-r2) [2022-06-29T16:16:39.855Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-29T16:16:39.972Z] Removing intermediate container 596b620bc626 [2022-06-29T16:16:39.972Z] ---> deaeba7dcbcc [2022-06-29T16:16:39.972Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-29T16:16:39.972Z] ---> Running in 33cc6a3b12b9 [2022-06-29T16:16:40.128Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-29T16:16:40.128Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-29T16:16:40.128Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-29T16:16:40.233Z] Removing intermediate container 33cc6a3b12b9 [2022-06-29T16:16:40.233Z] ---> ae3ae2ef8181 [2022-06-29T16:16:40.233Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:16:40.233Z] ---> Running in 2a81d3aec362 [2022-06-29T16:16:40.404Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:16:40.404Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-29T16:16:40.404Z] OK: 228 MiB in 66 packages [2022-06-29T16:16:40.800Z] Removing intermediate container 2a81d3aec362 [2022-06-29T16:16:40.800Z] ---> 59d89434bcfe [2022-06-29T16:16:40.800Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:16:40.800Z] ---> Running in 9631ffdafa25 [2022-06-29T16:16:41.369Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:16:41.853Z] Removing intermediate container 324e1d19a839 [2022-06-29T16:16:41.853Z] ---> 8853985e012e [2022-06-29T16:16:41.853Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-29T16:16:41.853Z] ---> Running in 28e6370f4de9 [2022-06-29T16:16:42.127Z] Removing intermediate container 28e6370f4de9 [2022-06-29T16:16:42.127Z] ---> 7ade2aa4b247 [2022-06-29T16:16:42.127Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T16:16:42.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:16:42.460Z] ---> c4f176eaceac [2022-06-29T16:16:42.460Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:16:42.579Z] OK: 335 MiB in 133 packages [2022-06-29T16:16:42.755Z] ---> Running in 8fcb99ae0ac7 [2022-06-29T16:16:42.838Z] Removing intermediate container 9631ffdafa25 [2022-06-29T16:16:42.838Z] ---> 7fad75b5cf9f [2022-06-29T16:16:42.838Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-29T16:16:42.838Z] ---> Running in db8aa8144da1 [2022-06-29T16:16:42.838Z] Removing intermediate container db8aa8144da1 [2022-06-29T16:16:42.838Z] ---> 8f48075860fc [2022-06-29T16:16:42.838Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-29T16:16:43.099Z] ---> 6238fa668739 [2022-06-29T16:16:43.099Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:16:43.099Z] ---> Running in a341b14694ab [2022-06-29T16:16:44.038Z] Removing intermediate container a341b14694ab [2022-06-29T16:16:44.038Z] ---> e98cc6599461 [2022-06-29T16:16:44.038Z] Step 11/29 : COPY . . [2022-06-29T16:16:44.038Z] ---> c29f9ad94fbe [2022-06-29T16:16:44.038Z] Step 12/29 : RUN ${MAKE} [2022-06-29T16:16:44.038Z] ---> Running in 0edb400a7c6d [2022-06-29T16:16:44.299Z] 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-29T16:17:06.242Z] Removing intermediate container 0edb400a7c6d [2022-06-29T16:17:06.242Z] ---> 370e3390ac12 [2022-06-29T16:17:06.242Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-29T16:17:06.242Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-29T16:17:06.242Z] af6660deedbd: Pulling fs layer [2022-06-29T16:17:06.242Z] 97cd0a44c592: Pulling fs layer [2022-06-29T16:17:06.242Z] 97cd0a44c592: Verifying Checksum [2022-06-29T16:17:06.242Z] 97cd0a44c592: Download complete [2022-06-29T16:17:06.242Z] af6660deedbd: Verifying Checksum [2022-06-29T16:17:06.242Z] af6660deedbd: Download complete [2022-06-29T16:17:06.242Z] af6660deedbd: Pull complete [2022-06-29T16:17:06.242Z] 97cd0a44c592: Pull complete [2022-06-29T16:17:06.242Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-29T16:17:06.242Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-29T16:17:06.242Z] ---> fea57e182299 [2022-06-29T16:17:06.242Z] Step 14/29 : FROM alpine:3.15 [2022-06-29T16:17:06.242Z] 3.15: Pulling from library/alpine [2022-06-29T16:17:06.242Z] df9b9388f04a: Pulling fs layer [2022-06-29T16:17:06.501Z] df9b9388f04a: Download complete [2022-06-29T16:17:06.762Z] df9b9388f04a: Pull complete [2022-06-29T16:17:06.762Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T16:17:06.762Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T16:17:06.762Z] ---> 0ac33e5f5afa [2022-06-29T16:17:06.762Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T16:17:06.762Z] ---> Running in 579d4074ac42 [2022-06-29T16:17:07.022Z] Removing intermediate container 579d4074ac42 [2022-06-29T16:17:07.022Z] ---> 178e6ac224d6 [2022-06-29T16:17:07.022Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-29T16:17:07.022Z] ---> Running in 5a411893c3c0 [2022-06-29T16:17:07.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:17:07.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:17:07.545Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-29T16:17:07.545Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-29T16:17:07.545Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-29T16:17:07.545Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-29T16:17:07.545Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-29T16:17:07.545Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-29T16:17:07.545Z] (7/74) Installing libxcb (1.14-r2) [2022-06-29T16:17:07.545Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-29T16:17:07.545Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-29T16:17:07.545Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-29T16:17:07.545Z] (11/74) Installing expat (2.4.7-r0) [2022-06-29T16:17:07.545Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-29T16:17:07.545Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-29T16:17:07.545Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-29T16:17:07.545Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-29T16:17:07.545Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-29T16:17:07.545Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-29T16:17:07.545Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-29T16:17:07.545Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-29T16:17:07.806Z] (20/74) Installing libintl (0.21-r0) [2022-06-29T16:17:07.806Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-29T16:17:07.806Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-29T16:17:07.806Z] (23/74) Installing pcre (8.45-r1) [2022-06-29T16:17:07.806Z] (24/74) Installing glib (2.70.1-r0) [2022-06-29T16:17:07.806Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-29T16:17:07.806Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-29T16:17:07.806Z] (27/74) Installing libass (0.15.2-r0) [2022-06-29T16:17:07.806Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-29T16:17:07.806Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-29T16:17:07.806Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-29T16:17:07.806Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-29T16:17:07.806Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-29T16:17:07.806Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-29T16:17:07.806Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-29T16:17:07.806Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-29T16:17:07.806Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-29T16:17:07.806Z] (37/74) Installing lame (3.100-r0) [2022-06-29T16:17:07.806Z] (38/74) Installing opus (1.3.1-r1) [2022-06-29T16:17:07.806Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-29T16:17:07.806Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-29T16:17:07.806Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T16:17:07.806Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T16:17:07.806Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-29T16:17:07.806Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-29T16:17:08.066Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-29T16:17:08.066Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-29T16:17:08.066Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-29T16:17:08.066Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-29T16:17:08.066Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-29T16:17:08.066Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-29T16:17:08.066Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-29T16:17:08.066Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-29T16:17:08.066Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-29T16:17:08.066Z] (54/74) Installing libva (2.13.0-r0) [2022-06-29T16:17:08.066Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-29T16:17:08.066Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-29T16:17:08.066Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-29T16:17:08.066Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-29T16:17:08.066Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-29T16:17:08.066Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-29T16:17:08.327Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-29T16:17:08.327Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-29T16:17:08.327Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-29T16:17:08.327Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-29T16:17:08.327Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-29T16:17:08.588Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-29T16:17:08.588Z] Executing udev-init-scripts-35-r0.post-install [2022-06-29T16:17:08.588Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-29T16:17:08.588Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-29T16:17:08.588Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-29T16:17:08.588Z] (70/74) Installing kmod-libs (29-r2) [2022-06-29T16:17:08.588Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-29T16:17:08.588Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-29T16:17:08.588Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-29T16:17:08.861Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-29T16:17:08.861Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T16:17:08.861Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-29T16:17:08.861Z] OK: 78 MiB in 88 packages [2022-06-29T16:17:10.244Z] Removing intermediate container 5a411893c3c0 [2022-06-29T16:17:10.244Z] ---> 4ff02cc17605 [2022-06-29T16:17:10.244Z] Step 17/29 : WORKDIR / [2022-06-29T16:17:10.244Z] ---> Running in 97a30d3a96b2 [2022-06-29T16:17:10.503Z] Removing intermediate container 97a30d3a96b2 [2022-06-29T16:17:10.503Z] ---> c94ff885afc2 [2022-06-29T16:17:10.503Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-29T16:17:11.073Z] ---> c971dee2551a [2022-06-29T16:17:11.073Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-29T16:17:11.333Z] ---> 03d2c2a1d12b [2022-06-29T16:17:11.333Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-29T16:17:11.333Z] ---> cfef0a89251d [2022-06-29T16:17:11.333Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-29T16:17:11.592Z] ---> f8da4991e8e9 [2022-06-29T16:17:11.592Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-29T16:17:11.852Z] ---> 93db787f9a88 [2022-06-29T16:17:11.852Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-29T16:17:12.423Z] ---> 8bff39719723 [2022-06-29T16:17:12.423Z] Step 24/29 : EXPOSE 59983 [2022-06-29T16:17:12.423Z] ---> Running in ed8aa4fda54e [2022-06-29T16:17:12.423Z] Removing intermediate container ed8aa4fda54e [2022-06-29T16:17:12.423Z] ---> 8f4635d80a9c [2022-06-29T16:17:12.423Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-29T16:17:12.423Z] ---> Running in c51d609e0f19 [2022-06-29T16:17:12.423Z] Removing intermediate container c51d609e0f19 [2022-06-29T16:17:12.423Z] ---> e1431b75f8c8 [2022-06-29T16:17:12.423Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-29T16:17:12.684Z] ---> Running in 50ecd20192a7 [2022-06-29T16:17:12.684Z] Removing intermediate container 50ecd20192a7 [2022-06-29T16:17:12.684Z] ---> 015e8137c32f [2022-06-29T16:17:12.684Z] Step 27/29 : LABEL arch=amd64 [2022-06-29T16:17:12.684Z] ---> Running in 0bb370114960 [2022-06-29T16:17:12.684Z] Removing intermediate container 0bb370114960 [2022-06-29T16:17:12.684Z] ---> 6587beb10a23 [2022-06-29T16:17:12.684Z] Step 28/29 : LABEL git_sha=f80fd41112f1d5377373d71e68e32fb2e3362fb6 [2022-06-29T16:17:12.945Z] ---> Running in 97a21aff41d1 [2022-06-29T16:17:12.945Z] Removing intermediate container 97a21aff41d1 [2022-06-29T16:17:12.945Z] ---> 812c71e07fd9 [2022-06-29T16:17:12.945Z] Step 29/29 : LABEL version=0.0.0 [2022-06-29T16:17:12.945Z] ---> Running in 09efe908af24 [2022-06-29T16:17:13.207Z] Removing intermediate container 09efe908af24 [2022-06-29T16:17:13.207Z] ---> 99d4509be811 [2022-06-29T16:17:13.207Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:17:13.207Z] Successfully built 99d4509be811 [2022-06-29T16:17:13.207Z] 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-29T16:17:13.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:17:13.654Z] [2022-06-29T16:17:13.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:17:13.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:17:13.957Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T16:17:13.957Z] 5eb5b503b376: Pulling fs layer [2022-06-29T16:17:13.957Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T16:17:13.957Z] ec43610c2a17: Pulling fs layer [2022-06-29T16:17:13.957Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T16:17:13.957Z] 33b1e0a273af: Pulling fs layer [2022-06-29T16:17:13.957Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T16:17:13.957Z] 2f39f015ded8: Pulling fs layer [2022-06-29T16:17:13.957Z] 5d3b04190fa2: Waiting [2022-06-29T16:17:13.957Z] 3a2ae6a8a46f: Waiting [2022-06-29T16:17:13.957Z] 33b1e0a273af: Waiting [2022-06-29T16:17:13.957Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T16:17:13.957Z] 5c69ac0246d0: Download complete [2022-06-29T16:17:13.957Z] 3a2ae6a8a46f: Download complete [2022-06-29T16:17:13.957Z] 33b1e0a273af: Verifying Checksum [2022-06-29T16:17:13.957Z] 33b1e0a273af: Download complete [2022-06-29T16:17:13.957Z] ec43610c2a17: Verifying Checksum [2022-06-29T16:17:13.957Z] ec43610c2a17: Download complete [2022-06-29T16:17:13.957Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T16:17:13.957Z] 5d3b04190fa2: Download complete [2022-06-29T16:17:14.216Z] 5eb5b503b376: Verifying Checksum [2022-06-29T16:17:14.216Z] 5eb5b503b376: Download complete [2022-06-29T16:17:14.779Z] 2f39f015ded8: Download complete [2022-06-29T16:17:15.346Z] 5eb5b503b376: Pull complete [2022-06-29T16:17:15.605Z] 5c69ac0246d0: Pull complete [2022-06-29T16:17:15.865Z] ec43610c2a17: Pull complete [2022-06-29T16:17:15.865Z] 3a2ae6a8a46f: Pull complete [2022-06-29T16:17:16.126Z] 33b1e0a273af: Pull complete [2022-06-29T16:17:16.126Z] 5d3b04190fa2: Pull complete [2022-06-29T16:17:20.319Z] 2f39f015ded8: Pull complete [2022-06-29T16:17:20.319Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T16:17:20.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:17:20.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:17:20.408Z] prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container [2022-06-29T16:17:20.454Z] $ 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-29T16:17:22.726Z] $ docker top 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:17:23.151Z] ---> job-cost.sh [2022-06-29T16:17:23.151Z] lf-activate-venv: SKIPPING [2022-06-29T16:17:23.151Z] INFO: No Stack... [2022-06-29T16:17:23.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:17:23.984Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:17:24.281Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-06-29T16:17:24.281Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:17:24.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [2022-06-29T16:17:24.305Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] did not exist. Created. [2022-06-29T16:17:24.305Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:17:24.611Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T16:17:24.647Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:17:24.653Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:17:24.677Z] $ docker stop --time=1 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 [2022-06-29T16:17:25.858Z] $ docker rm -f 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T16:17:29.761Z] Removing intermediate container 8fcb99ae0ac7 [2022-06-29T16:17:29.761Z] ---> f9d1142440a6 [2022-06-29T16:17:29.761Z] Step 11/12 : COPY . . [2022-06-29T16:17:29.761Z] ---> 36852c3407bd [2022-06-29T16:17:29.761Z] Step 12/12 : RUN ${MAKE} [2022-06-29T16:17:29.761Z] ---> Running in 3af82bc72903 [2022-06-29T16:17:30.356Z] noop [2022-06-29T16:17:30.969Z] Removing intermediate container 3af82bc72903 [2022-06-29T16:17:30.970Z] ---> 6cd5ba85cd05 [2022-06-29T16:17:31.245Z] Successfully built 6cd5ba85cd05 [2022-06-29T16:17:31.245Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:17:31.618Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:17:31.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:17:31.854Z] prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container [2022-06-29T16:17:31.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:17:33.143Z] $ docker top 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:17:34.046Z] + go version [2022-06-29T16:17:34.046Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T16:17:34.072Z] $ docker stop --time=1 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b [2022-06-29T16:17:35.703Z] $ docker rm -f 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:17:36.300Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:17:36.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:17:36.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container [2022-06-29T16:17:36.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:17:37.841Z] $ docker top 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:17:38.740Z] + make test [2022-06-29T16:17:38.740Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:17:40.718Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-29T16:19:02.582Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-29T16:19:02.582Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-29T16:19:03.178Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T16:19:03.178Z] CGO_ENABLED=1 go vet ./... [2022-06-29T16:19:35.592Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:19:35.592Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:19:35.592Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:19:35.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:19:35.632Z] $ docker stop --time=1 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b [2022-06-29T16:19:37.460Z] $ docker rm -f 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:19:38.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:19:38.491Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T16:19:39.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:19:39.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:19:39.962Z] + ls -al . [2022-06-29T16:19:39.962Z] total 164 [2022-06-29T16:19:39.962Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:19 . [2022-06-29T16:19:39.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 .. [2022-06-29T16:19:39.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:15 .git [2022-06-29T16:19:39.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 .github [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:15 .gitignore [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:15 .golangci.yml [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:15 .hadolint.yml [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:15 Attribution.txt [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:15 CHANGELOG.md [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:15 Dockerfile [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:15 GOVERNANCE.md [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:15 Jenkinsfile [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:15 LICENSE [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:15 Makefile [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:15 OWNERS.md [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:15 README.md [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:15 VERSION [2022-06-29T16:19:39.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 bin [2022-06-29T16:19:39.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 cmd [2022-06-29T16:19:39.962Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:17 coverage.out [2022-06-29T16:19:39.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 docker-compose [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:15 docker-entrypoint.sh [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:15 go.mod [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:15 go.sum [2022-06-29T16:19:39.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 internal [2022-06-29T16:19:39.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 snap [2022-06-29T16:19:39.962Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:19:40.320Z] + 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=3f5b0aa191ad86dc0754d833877fd9d78e6c11fe --label arch=arm64 --label version=0.0.0 . [2022-06-29T16:19:40.597Z] Sending build context to Docker daemon 526.3kB [2022-06-29T16:19:40.597Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:19:40.597Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-29T16:19:40.597Z] ---> 6cd5ba85cd05 [2022-06-29T16:19:40.597Z] Step 3/29 : ARG MAKE="make build" [2022-06-29T16:19:40.871Z] ---> Running in cf0d0a4da519 [2022-06-29T16:19:41.144Z] Removing intermediate container cf0d0a4da519 [2022-06-29T16:19:41.144Z] ---> 1c98ba78c24b [2022-06-29T16:19:41.144Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:19:41.144Z] ---> Running in 84c9b1febe82 [2022-06-29T16:19:41.433Z] Removing intermediate container 84c9b1febe82 [2022-06-29T16:19:41.433Z] ---> b6a236830f6b [2022-06-29T16:19:41.433Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-29T16:19:41.710Z] ---> Running in aae33db8ec31 [2022-06-29T16:19:41.984Z] Removing intermediate container aae33db8ec31 [2022-06-29T16:19:41.984Z] ---> 90bceaf5516a [2022-06-29T16:19:41.984Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:19:41.984Z] ---> Running in 5c2f6d098c8a [2022-06-29T16:19:43.972Z] Removing intermediate container 5c2f6d098c8a [2022-06-29T16:19:43.972Z] ---> 26ff5ba5c80f [2022-06-29T16:19:43.972Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:19:43.972Z] ---> Running in 2798a3ebeed6 [2022-06-29T16:19:44.954Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:19:45.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:19:46.535Z] OK: 228 MiB in 66 packages [2022-06-29T16:19:47.515Z] Removing intermediate container 2798a3ebeed6 [2022-06-29T16:19:47.515Z] ---> 4c9c81474c75 [2022-06-29T16:19:47.515Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-29T16:19:47.515Z] ---> Running in 29db4f5364df [2022-06-29T16:19:47.791Z] Removing intermediate container 29db4f5364df [2022-06-29T16:19:47.791Z] ---> c1532ef67da0 [2022-06-29T16:19:47.791Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-29T16:19:48.388Z] ---> 6bac3ebf6bc2 [2022-06-29T16:19:48.388Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:19:48.666Z] ---> Running in 2c68d6317cf9 [2022-06-29T16:19:50.651Z] Removing intermediate container 2c68d6317cf9 [2022-06-29T16:19:50.651Z] ---> d73b86126653 [2022-06-29T16:19:50.651Z] Step 11/29 : COPY . . [2022-06-29T16:19:51.253Z] ---> 1d2657e86c0a [2022-06-29T16:19:51.253Z] Step 12/29 : RUN ${MAKE} [2022-06-29T16:19:51.532Z] ---> Running in 859acc64d028 [2022-06-29T16:19:52.518Z] 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-29T16:21:59.409Z] Removing intermediate container 859acc64d028 [2022-06-29T16:21:59.409Z] ---> 0a7b14f48018 [2022-06-29T16:21:59.409Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-29T16:21:59.409Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-29T16:21:59.409Z] eab2503cf8f4: Pulling fs layer [2022-06-29T16:21:59.409Z] 97cd0a44c592: Pulling fs layer [2022-06-29T16:21:59.409Z] 97cd0a44c592: Download complete [2022-06-29T16:21:59.409Z] eab2503cf8f4: Verifying Checksum [2022-06-29T16:21:59.409Z] eab2503cf8f4: Download complete [2022-06-29T16:21:59.409Z] eab2503cf8f4: Pull complete [2022-06-29T16:21:59.681Z] 97cd0a44c592: Pull complete [2022-06-29T16:21:59.681Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-29T16:21:59.681Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-29T16:21:59.681Z] ---> 7f763cca56b3 [2022-06-29T16:21:59.681Z] Step 14/29 : FROM alpine:3.15 [2022-06-29T16:22:00.278Z] 3.15: Pulling from library/alpine [2022-06-29T16:22:00.278Z] 9981e73032c8: Pulling fs layer [2022-06-29T16:22:00.553Z] 9981e73032c8: Verifying Checksum [2022-06-29T16:22:00.553Z] 9981e73032c8: Download complete [2022-06-29T16:22:01.152Z] 9981e73032c8: Pull complete [2022-06-29T16:22:01.152Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T16:22:01.152Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T16:22:01.152Z] ---> 3fb3c9af89a9 [2022-06-29T16:22:01.152Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T16:22:01.424Z] ---> Running in a34701dc5b12 [2022-06-29T16:22:01.697Z] Removing intermediate container a34701dc5b12 [2022-06-29T16:22:01.697Z] ---> 22117a355572 [2022-06-29T16:22:01.697Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-29T16:22:01.697Z] ---> Running in ed5364784d59 [2022-06-29T16:22:02.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:22:02.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:22:03.542Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-29T16:22:03.542Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-29T16:22:03.812Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-29T16:22:04.084Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-29T16:22:04.084Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-29T16:22:04.084Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-29T16:22:04.084Z] (7/73) Installing libxcb (1.14-r2) [2022-06-29T16:22:04.084Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-29T16:22:04.084Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-29T16:22:04.356Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-29T16:22:04.356Z] (11/73) Installing expat (2.4.7-r0) [2022-06-29T16:22:04.628Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-29T16:22:04.628Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-29T16:22:04.628Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-29T16:22:04.628Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-29T16:22:04.628Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-29T16:22:04.628Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-29T16:22:04.628Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-29T16:22:04.628Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-29T16:22:04.628Z] (20/73) Installing libintl (0.21-r0) [2022-06-29T16:22:04.628Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-29T16:22:04.628Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-29T16:22:04.628Z] (23/73) Installing pcre (8.45-r1) [2022-06-29T16:22:04.628Z] (24/73) Installing glib (2.70.1-r0) [2022-06-29T16:22:04.628Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-29T16:22:04.628Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-29T16:22:04.903Z] (27/73) Installing libass (0.15.2-r0) [2022-06-29T16:22:04.903Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-29T16:22:04.903Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-29T16:22:04.903Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-29T16:22:04.903Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-29T16:22:04.903Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-29T16:22:04.903Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-29T16:22:04.903Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-29T16:22:04.903Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-29T16:22:04.903Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-29T16:22:04.903Z] (37/73) Installing lame (3.100-r0) [2022-06-29T16:22:05.174Z] (38/73) Installing opus (1.3.1-r1) [2022-06-29T16:22:05.174Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-29T16:22:05.174Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-29T16:22:05.174Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T16:22:05.174Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T16:22:05.174Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-29T16:22:05.174Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-29T16:22:05.174Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-29T16:22:05.174Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-29T16:22:05.174Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-29T16:22:05.174Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-29T16:22:05.174Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-29T16:22:05.174Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-29T16:22:05.174Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-29T16:22:05.174Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-29T16:22:05.174Z] (53/73) Installing libva (2.13.0-r0) [2022-06-29T16:22:05.447Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-29T16:22:05.447Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-29T16:22:05.447Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-29T16:22:05.447Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-29T16:22:05.447Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-29T16:22:05.447Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-29T16:22:05.447Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-29T16:22:05.447Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-29T16:22:05.447Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-29T16:22:05.447Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-29T16:22:06.044Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-29T16:22:06.044Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-29T16:22:06.044Z] Executing udev-init-scripts-35-r0.post-install [2022-06-29T16:22:06.044Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-29T16:22:06.044Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-29T16:22:06.044Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-29T16:22:06.044Z] (69/73) Installing kmod-libs (29-r2) [2022-06-29T16:22:06.044Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-29T16:22:06.044Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-29T16:22:06.044Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-29T16:22:06.044Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-29T16:22:06.044Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T16:22:06.317Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-29T16:22:06.317Z] OK: 67 MiB in 87 packages [2022-06-29T16:22:08.950Z] Removing intermediate container ed5364784d59 [2022-06-29T16:22:08.950Z] ---> 2c413d04bccf [2022-06-29T16:22:08.950Z] Step 17/29 : WORKDIR / [2022-06-29T16:22:09.228Z] ---> Running in ba9a899a80a9 [2022-06-29T16:22:09.499Z] Removing intermediate container ba9a899a80a9 [2022-06-29T16:22:09.499Z] ---> a327a53cf9e4 [2022-06-29T16:22:09.499Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-29T16:22:10.937Z] ---> 9e837ba58c96 [2022-06-29T16:22:10.937Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-29T16:22:11.534Z] ---> fbf27da3f8d4 [2022-06-29T16:22:11.534Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-29T16:22:12.139Z] ---> 08839c751917 [2022-06-29T16:22:12.139Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-29T16:22:12.741Z] ---> 3e07561a3a81 [2022-06-29T16:22:12.741Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-29T16:22:13.011Z] ---> ac383cf360e6 [2022-06-29T16:22:13.011Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-29T16:22:14.452Z] ---> e219537ef69c [2022-06-29T16:22:14.452Z] Step 24/29 : EXPOSE 59983 [2022-06-29T16:22:14.452Z] ---> Running in c9d6ccec3f8f [2022-06-29T16:22:14.723Z] Removing intermediate container c9d6ccec3f8f [2022-06-29T16:22:14.723Z] ---> 5f8ee81ec9cf [2022-06-29T16:22:14.723Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-29T16:22:14.723Z] ---> Running in c32dc67c5c28 [2022-06-29T16:22:15.002Z] Removing intermediate container c32dc67c5c28 [2022-06-29T16:22:15.002Z] ---> d1845bb69bae [2022-06-29T16:22:15.002Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-29T16:22:15.002Z] ---> Running in cc0020694b79 [2022-06-29T16:22:15.279Z] Removing intermediate container cc0020694b79 [2022-06-29T16:22:15.279Z] ---> e2f3314c9a57 [2022-06-29T16:22:15.279Z] Step 27/29 : LABEL arch=arm64 [2022-06-29T16:22:15.559Z] ---> Running in e0098dd1ae51 [2022-06-29T16:22:15.832Z] Removing intermediate container e0098dd1ae51 [2022-06-29T16:22:15.832Z] ---> 75f6b9e93ac9 [2022-06-29T16:22:15.832Z] Step 28/29 : LABEL git_sha=3f5b0aa191ad86dc0754d833877fd9d78e6c11fe [2022-06-29T16:22:15.832Z] ---> Running in 266961de9cdf [2022-06-29T16:22:16.106Z] Removing intermediate container 266961de9cdf [2022-06-29T16:22:16.106Z] ---> 4d3720973028 [2022-06-29T16:22:16.106Z] Step 29/29 : LABEL version=0.0.0 [2022-06-29T16:22:16.106Z] ---> Running in 2c9191188aff [2022-06-29T16:22:16.701Z] Removing intermediate container 2c9191188aff [2022-06-29T16:22:16.701Z] ---> 9a844be3efb2 [2022-06-29T16:22:16.701Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:22:16.701Z] Successfully built 9a844be3efb2 [2022-06-29T16:22:16.701Z] 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-29T16:22:17.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:22:17.153Z] [2022-06-29T16:22:17.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:22:17.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:22:17.779Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T16:22:17.779Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T16:22:17.779Z] 04944245beec: Pulling fs layer [2022-06-29T16:22:17.779Z] 699f458cf7ca: Pulling fs layer [2022-06-29T16:22:17.779Z] 765212b225bb: Pulling fs layer [2022-06-29T16:22:17.779Z] f23df028b6ca: Pulling fs layer [2022-06-29T16:22:17.779Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T16:22:17.779Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T16:22:17.779Z] f23df028b6ca: Waiting [2022-06-29T16:22:17.779Z] d65c8cfc05b1: Waiting [2022-06-29T16:22:17.779Z] 2437ff75d9bd: Waiting [2022-06-29T16:22:17.779Z] 765212b225bb: Waiting [2022-06-29T16:22:17.779Z] 04944245beec: Verifying Checksum [2022-06-29T16:22:17.779Z] 04944245beec: Download complete [2022-06-29T16:22:17.779Z] 765212b225bb: Verifying Checksum [2022-06-29T16:22:17.779Z] 765212b225bb: Download complete [2022-06-29T16:22:17.779Z] f23df028b6ca: Verifying Checksum [2022-06-29T16:22:17.779Z] f23df028b6ca: Download complete [2022-06-29T16:22:17.779Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T16:22:17.779Z] d65c8cfc05b1: Download complete [2022-06-29T16:22:18.054Z] 699f458cf7ca: Verifying Checksum [2022-06-29T16:22:18.054Z] 699f458cf7ca: Download complete [2022-06-29T16:22:18.330Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T16:22:18.330Z] 8998bd30e6a1: Download complete [2022-06-29T16:22:20.954Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T16:22:20.954Z] 2437ff75d9bd: Download complete [2022-06-29T16:22:22.933Z] 8998bd30e6a1: Pull complete [2022-06-29T16:22:23.207Z] 04944245beec: Pull complete [2022-06-29T16:22:24.642Z] 699f458cf7ca: Pull complete [2022-06-29T16:22:24.950Z] 765212b225bb: Pull complete [2022-06-29T16:22:25.957Z] f23df028b6ca: Pull complete [2022-06-29T16:22:26.237Z] d65c8cfc05b1: Pull complete [2022-06-29T16:22:41.351Z] 2437ff75d9bd: Pull complete [2022-06-29T16:22:41.351Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T16:22:41.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:22:41.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:22:41.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container [2022-06-29T16:22:41.702Z] $ 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/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T16:22:44.217Z] $ docker top 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:45.123Z] ---> job-cost.sh [2022-06-29T16:22:45.123Z] lf-activate-venv: SKIPPING [2022-06-29T16:22:45.123Z] INFO: No Stack... [2022-06-29T16:22:45.394Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T16:22:46.367Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:22:47.035Z] + cut -d, -f6 [2022-06-29T16:22:47.035Z] + cat /w/workspace/device-usb-camera/21/archives/cost.csv [Pipeline] lock [2022-06-29T16:22:47.097Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [2022-06-29T16:22:47.102Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] did not exist. Created. [2022-06-29T16:22:47.102Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:22:47.781Z] /w/workspace/device-usb-camera/21@tmp/durable-41c15256/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T16:22:48.448Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T16:22:48.474Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T16:22:48.518Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:22:48.524Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:22:48.545Z] $ docker stop --time=1 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e [2022-06-29T16:22:50.058Z] $ docker rm -f 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e [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-29T16:22:50.470Z] provisioning config files... [2022-06-29T16:22:50.479Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1586726557538124788tmp [Pipeline] { [Pipeline] sh [2022-06-29T16:22:50.770Z] + set +x [2022-06-29T16:22:50.770Z] + curl -s https://codecov.io/bash [2022-06-29T16:22:50.770Z] + bash -s -- [2022-06-29T16:22:50.770Z] [2022-06-29T16:22:50.770Z] _____ _ [2022-06-29T16:22:50.770Z] / ____| | | [2022-06-29T16:22:50.770Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T16:22:50.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T16:22:50.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T16:22:50.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T16:22:50.770Z] Bash-1.0.6 [2022-06-29T16:22:50.770Z] [2022-06-29T16:22:50.770Z] [2022-06-29T16:22:50.770Z] ==> git version 2.25.1 found [2022-06-29T16:22:50.770Z] ==> 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-29T16:22:50.770Z] Release-Date: 2020-01-08 [2022-06-29T16:22:50.770Z] 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-29T16:22:50.770Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T16:22:50.770Z] ==> Jenkins CI detected. [2022-06-29T16:22:50.770Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-29T16:22:50.770Z] project root: . [2022-06-29T16:22:50.770Z] --> token set from env [2022-06-29T16:22:50.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T16:22:50.770Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T16:22:50.770Z] ==> Python coveragepy not found [2022-06-29T16:22:50.770Z] ==> Searching for coverage reports in: [2022-06-29T16:22:50.770Z] + . [2022-06-29T16:22:50.770Z] -> Found 1 reports [2022-06-29T16:22:50.770Z] ==> Detecting git/mercurial file structure [2022-06-29T16:22:50.770Z] ==> Reading reports [2022-06-29T16:22:50.770Z] + ./coverage.out bytes=10 [2022-06-29T16:22:50.770Z] ==> Appending adjustments [2022-06-29T16:22:50.770Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T16:22:50.770Z] + Found adjustments [2022-06-29T16:22:50.770Z] ==> Gzipping contents [2022-06-29T16:22:51.030Z] 4.0K /tmp/codecov.NfqGL0.gz [2022-06-29T16:22:51.030Z] ==> Uploading reports [2022-06-29T16:22:51.030Z] url: https://codecov.io [2022-06-29T16:22:51.030Z] query: branch=PR-30&commit=f80fd41112f1d5377373d71e68e32fb2e3362fb6&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-29T16:22:51.030Z] -> Pinging Codecov [2022-06-29T16:22:51.030Z] 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=f80fd41112f1d5377373d71e68e32fb2e3362fb6&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-29T16:22:51.291Z] -> Uploading to [2022-06-29T16:22:51.291Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/73D8F5FF140700D3E01443B452E23636/f80fd41112f1d5377373d71e68e32fb2e3362fb6/b3b3e7dd-b255-45cb-89bd-cc36caef229c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T162251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7693a1f691498482ace48667ffbaf012371dea0cb3dcf4a3543cd332399f5236 [2022-06-29T16:22:51.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:22:51.291Z] Dload Upload Total Spent Left Speed [2022-06-29T16:22:51.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5282 --:--:-- --:--:-- --:--:-- 5282 [2022-06-29T16:22:51.551Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] } [2022-06-29T16:22:51.557Z] 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-29T16:22:52.205Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-06-29T16:22:52.205Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-29T16:22:52.205Z] total 16 [2022-06-29T16:22:52.205Z] drwxr-xr-x 3 root root 4096 Jun 29 16:17 . [2022-06-29T16:22:52.205Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:17 .. [2022-06-29T16:22:52.205Z] drwxr-xr-x 2 root root 4096 Jun 29 16:17 cost [2022-06-29T16:22:52.205Z] -rw-r--r-- 1 root root 88 Jun 29 16:17 cost.csv [2022-06-29T16:22:52.205Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-29T16:22:52.205Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-29T16:22:52.205Z] total 16 [2022-06-29T16:22:52.205Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:17 . [2022-06-29T16:22:52.205Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:17 .. [2022-06-29T16:22:52.205Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:17 cost [2022-06-29T16:22:52.205Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 29 16:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:52.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:53.371Z] ---> package-listing.sh [2022-06-29T16:22:53.371Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T16:22:53.371Z] ++ facter osfamily [2022-06-29T16:22:53.633Z] + OS_FAMILY=debian [2022-06-29T16:22:53.633Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-29T16:22:53.633Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T16:22:53.633Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T16:22:53.633Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T16:22:53.633Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T16:22:53.633Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-29T16:22:53.633Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T16:22:53.633Z] + case "${OS_FAMILY}" in [2022-06-29T16:22:53.633Z] + dpkg -l [2022-06-29T16:22:53.633Z] + grep '^ii' [2022-06-29T16:22:53.633Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T16:22:53.633Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T16:22:53.633Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T16:22:53.633Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-29T16:22:53.633Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-06-29T16:22:53.633Z] + 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-29T16:22:53.643Z] 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-29T16:22:53.923Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:22:54.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:22:54.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:22:54.562Z] prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container [2022-06-29T16:22:54.598Z] $ 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-29T16:22:54.798Z] $ docker top ddcef4261ea83758da489464dc5683afc2b89102c5a435ac4152eb2eeed4d357 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:22:55.152Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T16:22:55.442Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T16:22:55.731Z] + ls /var/log/sa-host [2022-06-29T16:22:55.731Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:22:55.795Z] provisioning config files... [2022-06-29T16:22:55.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config16537630043712077tmp [Pipeline] { [Pipeline] echo [2022-06-29T16:22:55.825Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:56.109Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T16:22:56.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:56.447Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T16:22:56.461Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:56.749Z] ---> sudo-logs.sh [2022-06-29T16:22:56.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T16:22:56.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:57.070Z] ---> job-cost.sh [2022-06-29T16:22:57.070Z] lf-activate-venv: SKIPPING [2022-06-29T16:22:57.070Z] DEBUG: total: 0.2199999988079071 [2022-06-29T16:22:57.070Z] INFO: Retrieving Stack Cost... [2022-06-29T16:22:57.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:22:57.902Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T16:22:57.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:22:58.201Z] ---> logs-deploy.sh [2022-06-29T16:22:58.201Z] lf-activate-venv: SKIPPING [2022-06-29T16:22:58.201Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/21 [2022-06-29T16:22:58.201Z] INFO: archiving workspace using pattern(s): [2022-06-29T16:22:59.144Z] Archives upload complete. [2022-06-29T16:22:59.405Z] INFO: archiving logs to Nexus