Pull request #54 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 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3+7a78c2b7239740d78d841f7c6c5822fe465b85ee (fa04ff3cfb1b56d1a69068078bd9522027cbd6d7) 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-ssh17445649063523426895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9057741785580998531.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-54/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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh500207956584994783.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11978704430876985470.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-54/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-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4438362859406946914.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20560 in /w/workspace/xfoundry_device-usb-camera_PR-54 [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-54 # 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 7a78c2b7239740d78d841f7c6c5822fe465b85ee into PR head commit 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 Merge succeeded, producing 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 Checking out Revision 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 (PR-54) > 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 # 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 7a78c2b7239740d78d841f7c6c5822fe465b85ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 # timeout=10 Commit message: "Merge remote-tracking branch 'upstream/main' into autostart" > git rev-list --no-walk 5718008f835e8aa431928ed5ff9bd825e40cc5d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-20T08:00:38.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T08:00:38.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T08:00:38.212Z] ========================================================= [2022-07-20T08:00:38.212Z] EdgeX Global Pipelines Version Info [2022-07-20T08:00:38.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:00:39.011Z] ------------------- [2022-07-20T08:00:39.011Z] stable info: [2022-07-20T08:00:39.011Z] ------------------- [2022-07-20T08:00:39.011Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T08:00:39.011Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T08:00:39.011Z] Message: update stable to v1.0.238 [2022-07-20T08:00:39.583Z] ------------------- [2022-07-20T08:00:39.583Z] experimental info: [2022-07-20T08:00:39.583Z] ------------------- [2022-07-20T08:00:39.583Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T08:00:39.583Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T08:00:39.583Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T08:00:39.771Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-20T08:00:39.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-20T08:00:39.798Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T08:00:39.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T08:00:39.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T08:00:39.825Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T08:00:39.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T08:00:39.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T08:00:39.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T08:00:39.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T08:00:39.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T08:00:39.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-20T08:00:39.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T08:00:39.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T08:00:39.927Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T08:00:39.937Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T08:00:39.950Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T08:00:39.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T08:00:39.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T08:00:39.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T08:00:39.993Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T08:00:40.003Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T08:00:40.013Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T08:00:40.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T08:00:40.032Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T08:00:40.042Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T08:00:40.051Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T08:00:40.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo [2022-07-20T08:00:40.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo [2022-07-20T08:00:40.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo [2022-07-20T08:00:40.104Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [Pipeline] echo [2022-07-20T08:00:40.120Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f2999b [Pipeline] echo [2022-07-20T08:00:40.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T08:00:40.179Z] provisioning config files... [2022-07-20T08:00:40.196Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config8959314849607316428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:00:40.501Z] ---> docker-login.sh [2022-07-20T08:00:40.501Z] nexus3.edgexfoundry.org:10001 [2022-07-20T08:00:40.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:41.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:41.025Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:41.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:41.025Z] [2022-07-20T08:00:41.025Z] Login Succeeded [2022-07-20T08:00:41.025Z] nexus3.edgexfoundry.org:10002 [2022-07-20T08:00:41.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:41.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:41.288Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:41.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:41.288Z] [2022-07-20T08:00:41.288Z] Login Succeeded [2022-07-20T08:00:41.288Z] nexus3.edgexfoundry.org:10003 [2022-07-20T08:00:41.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:41.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:41.288Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:41.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:41.288Z] [2022-07-20T08:00:41.288Z] Login Succeeded [2022-07-20T08:00:41.288Z] nexus3.edgexfoundry.org:10004 [2022-07-20T08:00:41.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:41.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:41.550Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:41.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:41.550Z] [2022-07-20T08:00:41.550Z] Login Succeeded [2022-07-20T08:00:41.550Z] docker.io [2022-07-20T08:00:41.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:41.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:41.811Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:41.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:41.811Z] [2022-07-20T08:00:41.811Z] Login Succeeded [2022-07-20T08:00:41.811Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T08:00:41.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T08:00:42.199Z] + git rev-list -1 --merges 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3~1..1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [Pipeline] echo [2022-07-20T08:00:42.229Z] -----------> git rev-list -1 --merges 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3~1..1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [2022-07-20T08:00:42.229Z] 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [false] [Pipeline] sh [2022-07-20T08:00:42.538Z] + git log --format=format:%s -1 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [Pipeline] echo [2022-07-20T08:00:42.557Z] ========================================================= [2022-07-20T08:00:42.557Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T08:00:42.557Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T08:00:42.893Z] + git log --format=format:%s -1 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [Pipeline] echo [2022-07-20T08:00:42.911Z] [semverPrep] GIT_COMMIT: 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3, Commit Message: Merge remote-tracking branch 'upstream/main' into autostart [Pipeline] echo [2022-07-20T08:00:42.920Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T08:00:43.290Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T08:00:43.290Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T08:00:43.290Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T08:00:43.290Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T08:00:43.290Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T08:00:43.290Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T08:00:43.290Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:00:43.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T08:00:43.704Z] [2022-07-20T08:00:43.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:00:44.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T08:00:44.017Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T08:00:44.017Z] b85a868b505f: Pulling fs layer [2022-07-20T08:00:44.017Z] e2be974225ed: Pulling fs layer [2022-07-20T08:00:44.017Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T08:00:44.017Z] 988bab9f4d93: Pulling fs layer [2022-07-20T08:00:44.017Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T08:00:44.017Z] 988bab9f4d93: Waiting [2022-07-20T08:00:44.017Z] eaf3925da568: Pulling fs layer [2022-07-20T08:00:44.017Z] bab4dde63d76: Pulling fs layer [2022-07-20T08:00:44.017Z] bde34c3a00c8: Pulling fs layer [2022-07-20T08:00:44.017Z] b352a97aabf1: Pulling fs layer [2022-07-20T08:00:44.017Z] bde34c3a00c8: Waiting [2022-07-20T08:00:44.017Z] bab4dde63d76: Waiting [2022-07-20T08:00:44.017Z] eaf3925da568: Waiting [2022-07-20T08:00:44.017Z] 4872d77fe225: Pulling fs layer [2022-07-20T08:00:44.017Z] b352a97aabf1: Waiting [2022-07-20T08:00:44.017Z] 5851b861e8e6: Pulling fs layer [2022-07-20T08:00:44.017Z] 4872d77fe225: Waiting [2022-07-20T08:00:44.017Z] 5851b861e8e6: Waiting [2022-07-20T08:00:44.017Z] e2be974225ed: Verifying Checksum [2022-07-20T08:00:44.017Z] e2be974225ed: Download complete [2022-07-20T08:00:44.017Z] 988bab9f4d93: Verifying Checksum [2022-07-20T08:00:44.017Z] 988bab9f4d93: Download complete [2022-07-20T08:00:44.279Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T08:00:44.279Z] 1469e6f7b9e6: Download complete [2022-07-20T08:00:44.279Z] eaf3925da568: Download complete [2022-07-20T08:00:44.279Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T08:00:44.279Z] 339a4e72a1f5: Download complete [2022-07-20T08:00:44.279Z] bde34c3a00c8: Download complete [2022-07-20T08:00:44.279Z] b352a97aabf1: Download complete [2022-07-20T08:00:44.279Z] 4872d77fe225: Verifying Checksum [2022-07-20T08:00:44.279Z] 4872d77fe225: Download complete [2022-07-20T08:00:44.279Z] 5851b861e8e6: Verifying Checksum [2022-07-20T08:00:44.279Z] 5851b861e8e6: Download complete [2022-07-20T08:00:44.279Z] b85a868b505f: Verifying Checksum [2022-07-20T08:00:44.279Z] b85a868b505f: Download complete [2022-07-20T08:00:44.540Z] bab4dde63d76: Download complete [2022-07-20T08:00:45.924Z] b85a868b505f: Pull complete [2022-07-20T08:00:45.924Z] e2be974225ed: Pull complete [2022-07-20T08:00:46.496Z] 339a4e72a1f5: Pull complete [2022-07-20T08:00:46.496Z] 988bab9f4d93: Pull complete [2022-07-20T08:00:47.065Z] 1469e6f7b9e6: Pull complete [2022-07-20T08:00:47.065Z] eaf3925da568: Pull complete [2022-07-20T08:00:48.985Z] bab4dde63d76: Pull complete [2022-07-20T08:00:48.985Z] bde34c3a00c8: Pull complete [2022-07-20T08:00:49.247Z] b352a97aabf1: Pull complete [2022-07-20T08:00:49.247Z] 4872d77fe225: Pull complete [2022-07-20T08:00:49.509Z] 5851b861e8e6: Pull complete [2022-07-20T08:00:49.509Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T08:00:49.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T08:00:49.509Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:00:49.615Z] prd-ubuntu20.04-docker-8c-8g-20560 does not seem to be running inside a container [2022-07-20T08:00:49.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-20T08:00:51.147Z] $ docker top 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T08:00:51.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T08:00:51.254Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T08:00:51.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T08:00:51.403Z] $ docker exec 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 ssh-agent [2022-07-20T08:00:51.523Z] SSH_AUTH_SOCK=/tmp/ssh-triQhYyx6fWQ/agent.33 [2022-07-20T08:00:51.523Z] SSH_AGENT_PID=39 [2022-07-20T08:00:51.531Z] Running ssh-add (command line suppressed) [2022-07-20T08:00:51.647Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_6616404202486164763.key (/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_6616404202486164763.key) [2022-07-20T08:00:51.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T08:00:51.962Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T08:00:51.986Z] $ docker exec --env ******** --env ******** 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 ssh-agent -k [2022-07-20T08:00:52.092Z] unset SSH_AUTH_SOCK; [2022-07-20T08:00:52.092Z] unset SSH_AGENT_PID; [2022-07-20T08:00:52.092Z] echo Agent pid 39 killed; [2022-07-20T08:00:52.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T08:00:52.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T08:00:52.127Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T08:00:52.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T08:00:52.267Z] $ docker exec 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 ssh-agent [2022-07-20T08:00:52.377Z] SSH_AUTH_SOCK=/tmp/ssh-t2JvRC13MnR8/agent.71 [2022-07-20T08:00:52.377Z] SSH_AGENT_PID=77 [2022-07-20T08:00:52.382Z] Running ssh-add (command line suppressed) [2022-07-20T08:00:52.509Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_6553704207715941635.key (/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_6553704207715941635.key) [2022-07-20T08:00:52.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T08:00:52.814Z] + git semver init [2022-07-20T08:00:53.075Z] 2022-07-20 08:00:53,036 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T08:00:53.075Z] 2022-07-20 08:00:53,037 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver [2022-07-20T08:00:53.075Z] 2022-07-20 08:00:53,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-54/.semver [2022-07-20T08:00:53.075Z] 2022-07-20 08:00:53,038 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-54/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54, universal_newlines=False, shell=None, istream=None) [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,632 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-54/.git/info/exclude [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 with force:False [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,633 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,638 [execute] INFO git cat-file --batch-check [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,645 [execute] INFO git cat-file --batch [2022-07-20T08:00:53.649Z] 2022-07-20 08:00:53,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T08:00:53.910Z] 2022-07-20 08:00:53,652 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 [2022-07-20T08:00:53.910Z] 0.0.0 [Pipeline] } [2022-07-20T08:00:53.926Z] $ docker exec --env ******** --env ******** 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 ssh-agent -k [2022-07-20T08:00:54.039Z] unset SSH_AUTH_SOCK; [2022-07-20T08:00:54.040Z] unset SSH_AGENT_PID; [2022-07-20T08:00:54.040Z] echo Agent pid 77 killed; [2022-07-20T08:00:54.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T08:00:54.371Z] + git semver [Pipeline] } [2022-07-20T08:00:54.651Z] $ docker stop --time=1 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 [2022-07-20T08:00:55.975Z] $ docker rm -f 8eafdaa3f4852500cdc1b7b840a111f78be6ffe7fe676b1bd598c3eb26b059a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T08:00:56.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T08:00:56.612Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T08:00:56.616Z] [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-07-20T08:00:56.768Z] provisioning config files... [2022-07-20T08:00:56.778Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config3588598991687165605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:00:57.083Z] ---> docker-login.sh [2022-07-20T08:00:57.083Z] nexus3.edgexfoundry.org:10001 [2022-07-20T08:00:57.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:57.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:57.083Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:57.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:57.083Z] [2022-07-20T08:00:57.083Z] Login Succeeded [2022-07-20T08:00:57.083Z] nexus3.edgexfoundry.org:10002 [2022-07-20T08:00:57.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:57.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:57.348Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:57.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:57.348Z] [2022-07-20T08:00:57.348Z] Login Succeeded [2022-07-20T08:00:57.348Z] nexus3.edgexfoundry.org:10003 [2022-07-20T08:00:57.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:57.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:57.348Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:57.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:57.348Z] [2022-07-20T08:00:57.348Z] Login Succeeded [2022-07-20T08:00:57.348Z] nexus3.edgexfoundry.org:10004 [2022-07-20T08:00:57.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:57.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:57.609Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:57.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:57.609Z] [2022-07-20T08:00:57.609Z] Login Succeeded [2022-07-20T08:00:57.609Z] docker.io [2022-07-20T08:00:57.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:00:57.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:00:57.878Z] Configure a credential helper to remove this warning. See [2022-07-20T08:00:57.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:00:57.878Z] [2022-07-20T08:00:57.878Z] Login Succeeded [2022-07-20T08:00:57.878Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T08:00:57.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T08:00:57.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T08:00:57.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T08:00:57.973Z] ========================================================= [2022-07-20T08:00:57.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T08:00:57.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:00:58.292Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T08:00:58.292Z] Sending build context to Docker daemon 720.4kB [2022-07-20T08:00:58.292Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T08:00:58.292Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T08:00:58.292Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T08:00:58.292Z] 2408cc74d12b: Pulling fs layer [2022-07-20T08:00:58.292Z] ea60b727a1ce: Pulling fs layer [2022-07-20T08:00:58.292Z] 30c4a7721957: Pulling fs layer [2022-07-20T08:00:58.292Z] 370296b7ddb6: Pulling fs layer [2022-07-20T08:00:58.292Z] 7c6cee850709: Pulling fs layer [2022-07-20T08:00:58.292Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T08:00:58.292Z] 7c6cee850709: Waiting [2022-07-20T08:00:58.292Z] 39a5fcdaea64: Waiting [2022-07-20T08:00:58.292Z] d94ebbe4e438: Pulling fs layer [2022-07-20T08:00:58.292Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T08:00:58.292Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T08:00:58.292Z] d94ebbe4e438: Waiting [2022-07-20T08:00:58.292Z] bcfd1f05c69d: Waiting [2022-07-20T08:00:58.292Z] 59ccb84bbe0f: Waiting [2022-07-20T08:00:58.292Z] 30c4a7721957: Download complete [2022-07-20T08:00:58.292Z] ea60b727a1ce: Download complete [2022-07-20T08:00:58.292Z] 7c6cee850709: Verifying Checksum [2022-07-20T08:00:58.292Z] 7c6cee850709: Download complete [2022-07-20T08:00:58.292Z] 39a5fcdaea64: Verifying Checksum [2022-07-20T08:00:58.292Z] 39a5fcdaea64: Download complete [2022-07-20T08:00:58.292Z] 2408cc74d12b: Verifying Checksum [2022-07-20T08:00:58.292Z] 2408cc74d12b: Download complete [2022-07-20T08:00:58.557Z] d94ebbe4e438: Verifying Checksum [2022-07-20T08:00:58.557Z] d94ebbe4e438: Download complete [2022-07-20T08:00:58.557Z] 2408cc74d12b: Pull complete [2022-07-20T08:00:58.821Z] ea60b727a1ce: Pull complete [2022-07-20T08:00:58.821Z] 30c4a7721957: Pull complete [2022-07-20T08:00:58.821Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T08:00:58.821Z] 59ccb84bbe0f: Download complete [2022-07-20T08:00:59.082Z] bcfd1f05c69d: Verifying Checksum [2022-07-20T08:00:59.082Z] bcfd1f05c69d: Download complete [2022-07-20T08:00:59.082Z] 370296b7ddb6: Verifying Checksum [2022-07-20T08:00:59.082Z] 370296b7ddb6: Download complete [2022-07-20T08:01:03.289Z] 370296b7ddb6: Pull complete [2022-07-20T08:01:03.289Z] 7c6cee850709: Pull complete [2022-07-20T08:01:03.551Z] 39a5fcdaea64: Pull complete [2022-07-20T08:01:03.551Z] d94ebbe4e438: Pull complete [2022-07-20T08:01:06.091Z] bcfd1f05c69d: Pull complete [2022-07-20T08:01:06.661Z] 59ccb84bbe0f: Pull complete [2022-07-20T08:01:06.661Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T08:01:06.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T08:01:06.661Z] ---> a4fb48ad2a94 [2022-07-20T08:01:06.661Z] Step 3/12 : ARG MAKE="make build" [2022-07-20T08:01:08.576Z] ---> Running in c66e4aadea9f [2022-07-20T08:01:08.576Z] Removing intermediate container c66e4aadea9f [2022-07-20T08:01:08.576Z] ---> 73b67afd1f65 [2022-07-20T08:01:08.576Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T08:01:08.576Z] ---> Running in 7d79088bdd1d [2022-07-20T08:01:08.576Z] Removing intermediate container 7d79088bdd1d [2022-07-20T08:01:08.576Z] ---> 794cec94293d [2022-07-20T08:01:08.576Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-20T08:01:08.576Z] ---> Running in d2cb5467d073 [2022-07-20T08:01:08.577Z] Removing intermediate container d2cb5467d073 [2022-07-20T08:01:08.577Z] ---> a65276e570d4 [2022-07-20T08:01:08.577Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T08:01:08.577Z] ---> Running in 04a9903d129b [2022-07-20T08:01:09.517Z] Removing intermediate container 04a9903d129b [2022-07-20T08:01:09.517Z] ---> 5cfe813eb33b [2022-07-20T08:01:09.517Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T08:01:09.517Z] ---> Running in 9b7a2c8c3164 [2022-07-20T08:01:09.517Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T08:01:10.461Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T08:01:10.722Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-20T08:01:10.722Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-20T08:01:10.982Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-20T08:01:10.982Z] (4/80) Installing libxcb (1.15-r0) [2022-07-20T08:01:11.244Z] (5/80) Installing libx11 (1.8-r0) [2022-07-20T08:01:11.244Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-20T08:01:11.244Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-20T08:01:11.506Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-20T08:01:11.506Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-20T08:01:11.506Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-20T08:01:11.726Z] Still waiting to schedule task [2022-07-20T08:01:11.726Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-20T08:01:11.766Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-20T08:01:11.766Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-20T08:01:11.766Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-20T08:01:12.045Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-20T08:01:12.662Z] (15/80) Installing libice (1.0.10-r0) [2022-07-20T08:01:12.923Z] (16/80) Installing libuuid (2.38-r1) [2022-07-20T08:01:12.923Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-20T08:01:12.923Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-20T08:01:13.185Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-20T08:01:13.185Z] (20/80) Installing xset (1.2.4-r0) [2022-07-20T08:01:13.185Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-20T08:01:13.447Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-20T08:01:13.447Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-20T08:01:13.447Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-20T08:01:13.708Z] (25/80) Installing libintl (0.21-r2) [2022-07-20T08:01:13.708Z] (26/80) Installing libblkid (2.38-r1) [2022-07-20T08:01:13.708Z] (27/80) Installing libmount (2.38-r1) [2022-07-20T08:01:13.971Z] (28/80) Installing pcre (8.45-r2) [2022-07-20T08:01:13.971Z] (29/80) Installing glib (2.72.1-r0) [2022-07-20T08:01:14.233Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-20T08:01:14.233Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-20T08:01:14.493Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-20T08:01:14.493Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-20T08:01:14.754Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-20T08:01:14.754Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-20T08:01:15.017Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-20T08:01:15.017Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-20T08:01:15.017Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-20T08:01:15.589Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-20T08:01:15.589Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-20T08:01:15.589Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-20T08:01:15.858Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-20T08:01:15.858Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-20T08:01:16.119Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-20T08:01:16.119Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-20T08:01:16.119Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-20T08:01:16.380Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-20T08:01:16.380Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-20T08:01:16.380Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-20T08:01:16.641Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-20T08:01:16.641Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-20T08:01:16.902Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-20T08:01:16.902Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-20T08:01:16.902Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-20T08:01:17.163Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-20T08:01:17.163Z] (56/80) Installing libunistring (1.0-r0) [2022-07-20T08:01:17.424Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-20T08:01:17.424Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-20T08:01:17.424Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-20T08:01:17.684Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-20T08:01:17.684Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-20T08:01:17.684Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-20T08:01:17.945Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-20T08:01:17.945Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-20T08:01:18.207Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-20T08:01:18.207Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-20T08:01:18.207Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-20T08:01:18.469Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-20T08:01:18.469Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-20T08:01:18.469Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-20T08:01:18.730Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-20T08:01:18.730Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-20T08:01:19.302Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-20T08:01:19.302Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-20T08:01:19.564Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-20T08:01:19.564Z] Executing udev-init-scripts-35-r0.post-install [2022-07-20T08:01:19.564Z] (76/80) Installing kmod-libs (29-r2) [2022-07-20T08:01:19.564Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-20T08:01:19.827Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-20T08:01:19.827Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-20T08:01:19.827Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-20T08:01:20.090Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T08:01:20.090Z] Executing eudev-3.2.11-r0.trigger [2022-07-20T08:01:20.090Z] OK: 330 MiB in 131 packages [2022-07-20T08:01:22.641Z] Removing intermediate container 9b7a2c8c3164 [2022-07-20T08:01:22.641Z] ---> 82d88fd59e0f [2022-07-20T08:01:22.641Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-20T08:01:22.641Z] ---> Running in 5f59b3bc24ee [2022-07-20T08:01:22.641Z] Removing intermediate container 5f59b3bc24ee [2022-07-20T08:01:22.641Z] ---> 7cd5ad26ff7c [2022-07-20T08:01:22.641Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T08:01:22.641Z] ---> fc44ede131db [2022-07-20T08:01:22.641Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T08:01:22.641Z] ---> Running in 3d1e7fd240dd [2022-07-20T08:01:44.628Z] Removing intermediate container 3d1e7fd240dd [2022-07-20T08:01:44.628Z] ---> 093a934de3e7 [2022-07-20T08:01:44.628Z] Step 11/12 : COPY . . [2022-07-20T08:01:44.628Z] ---> e9d8374a4e0b [2022-07-20T08:01:44.628Z] Step 12/12 : RUN ${MAKE} [2022-07-20T08:01:44.628Z] ---> Running in 1f92cd7915c4 [2022-07-20T08:01:44.628Z] noop [2022-07-20T08:01:44.628Z] Removing intermediate container 1f92cd7915c4 [2022-07-20T08:01:44.628Z] ---> e88ab3bd11d1 [2022-07-20T08:01:44.628Z] Successfully built e88ab3bd11d1 [2022-07-20T08:01:44.628Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:01:44.951Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T08:01:44.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:01:45.047Z] prd-ubuntu20.04-docker-8c-8g-20560 does not seem to be running inside a container [2022-07-20T08:01:45.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T08:01:45.539Z] $ docker top 2d22e0509700327328b6484aab480da0e23ac5b6deef6d423a8ed29441102f76 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T08:01:45.959Z] + go version [2022-07-20T08:01:45.960Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T08:01:45.977Z] $ docker stop --time=1 2d22e0509700327328b6484aab480da0e23ac5b6deef6d423a8ed29441102f76 [2022-07-20T08:01:47.321Z] $ docker rm -f 2d22e0509700327328b6484aab480da0e23ac5b6deef6d423a8ed29441102f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:01:47.749Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T08:01:47.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:01:47.836Z] prd-ubuntu20.04-docker-8c-8g-20560 does not seem to be running inside a container [2022-07-20T08:01:47.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T08:01:48.260Z] $ docker top 67cf52a777926412e88d180f6dbd801657cfcd6c8b25f3e8b9c8a3d4fca013d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T08:01:48.628Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-54 [Pipeline] fileExists [Pipeline] sh [2022-07-20T08:01:48.932Z] + make test [2022-07-20T08:01:48.933Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-20T08:01:49.193Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-20T08:01:59.177Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-20T08:01:59.177Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-20T08:02:05.759Z] CGO_ENABLED=1 go vet ./... [2022-07-20T08:02:09.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T08:02:09.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T08:02:09.059Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T08:02:09.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T08:02:09.092Z] $ docker stop --time=1 67cf52a777926412e88d180f6dbd801657cfcd6c8b25f3e8b9c8a3d4fca013d6 [2022-07-20T08:02:11.094Z] $ docker rm -f 67cf52a777926412e88d180f6dbd801657cfcd6c8b25f3e8b9c8a3d4fca013d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T08:02:11.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T08:02:11.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T08:02:12.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T08:02:12.418Z] + ls -al . [2022-07-20T08:02:12.418Z] total 164 [2022-07-20T08:02:12.418Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 08:02 . [2022-07-20T08:02:12.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 08:00 .. [2022-07-20T08:02:12.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 08:01 .git [2022-07-20T08:02:12.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:00 .github [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 08:00 .gitignore [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 08:00 .golangci.yml [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 08:00 .hadolint.yml [2022-07-20T08:02:12.418Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 08:00 .semver [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 20 08:00 Attribution.txt [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 20 08:00 CHANGELOG.md [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 1940 Jul 20 08:00 Dockerfile [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 08:00 GOVERNANCE.md [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 08:00 Jenkinsfile [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 08:00 LICENSE [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 20 08:00 Makefile [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 08:00 OWNERS.md [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 11243 Jul 20 08:00 README.md [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 08:00 VERSION [2022-07-20T08:02:12.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 08:00 bin [2022-07-20T08:02:12.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:00 cmd [2022-07-20T08:02:12.418Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 20 08:01 coverage.out [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 08:00 docker-entrypoint.sh [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 20 08:00 go.mod [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 20 08:00 go.sum [2022-07-20T08:02:12.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:00 internal [2022-07-20T08:02:12.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 08:00 snap [2022-07-20T08:02:12.418Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 08:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:02:12.732Z] + 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=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 --label arch=amd64 --label version=0.0.0 . [2022-07-20T08:02:12.732Z] Sending build context to Docker daemon 721.4kB [2022-07-20T08:02:12.732Z] Step 1/30 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T08:02:12.732Z] Step 2/30 : FROM ${BASE} AS builder [2022-07-20T08:02:12.732Z] ---> e88ab3bd11d1 [2022-07-20T08:02:12.732Z] Step 3/30 : ARG MAKE="make build" [2022-07-20T08:02:12.732Z] ---> Running in b5b2f889e125 [2022-07-20T08:02:12.993Z] Removing intermediate container b5b2f889e125 [2022-07-20T08:02:12.993Z] ---> a9d04ad1af5d [2022-07-20T08:02:12.993Z] Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T08:02:12.993Z] ---> Running in a1fa51475a5b [2022-07-20T08:02:12.993Z] Removing intermediate container a1fa51475a5b [2022-07-20T08:02:12.993Z] ---> 08ceb812836c [2022-07-20T08:02:12.993Z] Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-20T08:02:12.993Z] ---> Running in a86f9197bec7 [2022-07-20T08:02:13.254Z] Removing intermediate container a86f9197bec7 [2022-07-20T08:02:13.254Z] ---> eb08d488750c [2022-07-20T08:02:13.254Z] Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T08:02:13.254Z] ---> Running in 2e065416d5fb [2022-07-20T08:02:13.826Z] Removing intermediate container 2e065416d5fb [2022-07-20T08:02:13.826Z] ---> 77130d02cfca [2022-07-20T08:02:13.826Z] Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T08:02:13.826Z] ---> Running in 73a206e96cae [2022-07-20T08:02:14.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T08:02:15.032Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T08:02:15.292Z] OK: 330 MiB in 131 packages [2022-07-20T08:02:15.552Z] Removing intermediate container 73a206e96cae [2022-07-20T08:02:15.553Z] ---> 51eb06b5205f [2022-07-20T08:02:15.553Z] Step 8/30 : WORKDIR /device-usb-camera [2022-07-20T08:02:15.553Z] ---> Running in 93c061d4e521 [2022-07-20T08:02:15.815Z] Removing intermediate container 93c061d4e521 [2022-07-20T08:02:15.815Z] ---> ea2ec3c3f8b0 [2022-07-20T08:02:15.815Z] Step 9/30 : COPY go.mod vendor* ./ [2022-07-20T08:02:15.815Z] ---> 00b1702d9c59 [2022-07-20T08:02:15.815Z] Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T08:02:16.076Z] ---> Running in 62dbcb122a98 [2022-07-20T08:02:16.648Z] Removing intermediate container 62dbcb122a98 [2022-07-20T08:02:16.648Z] ---> b0a92433a839 [2022-07-20T08:02:16.648Z] Step 11/30 : COPY . . [2022-07-20T08:02:16.908Z] ---> 105671f2eda0 [2022-07-20T08:02:16.908Z] Step 12/30 : RUN ${MAKE} [2022-07-20T08:02:16.908Z] ---> Running in 79125d98a343 [2022-07-20T08:02:17.169Z] 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-07-20T08:02:39.124Z] Removing intermediate container 79125d98a343 [2022-07-20T08:02:39.124Z] ---> 1dd0048501f7 [2022-07-20T08:02:39.124Z] Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-20T08:02:39.124Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-20T08:02:39.124Z] af6660deedbd: Pulling fs layer [2022-07-20T08:02:39.124Z] 97cd0a44c592: Pulling fs layer [2022-07-20T08:02:39.124Z] 97cd0a44c592: Verifying Checksum [2022-07-20T08:02:39.124Z] 97cd0a44c592: Download complete [2022-07-20T08:02:39.124Z] af6660deedbd: Verifying Checksum [2022-07-20T08:02:39.124Z] af6660deedbd: Download complete [2022-07-20T08:02:39.124Z] af6660deedbd: Pull complete [2022-07-20T08:02:39.124Z] 97cd0a44c592: Pull complete [2022-07-20T08:02:39.124Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-20T08:02:39.124Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-20T08:02:39.124Z] ---> fea57e182299 [2022-07-20T08:02:39.124Z] Step 14/30 : FROM alpine:3.15 [2022-07-20T08:02:39.696Z] 3.15: Pulling from library/alpine [2022-07-20T08:02:39.696Z] ab6db1bc80d0: Pulling fs layer [2022-07-20T08:02:39.957Z] ab6db1bc80d0: Verifying Checksum [2022-07-20T08:02:39.957Z] ab6db1bc80d0: Download complete [2022-07-20T08:02:39.957Z] ab6db1bc80d0: Pull complete [2022-07-20T08:02:39.957Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T08:02:39.957Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T08:02:39.957Z] ---> 2720e26172a0 [2022-07-20T08:02:39.957Z] Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T08:02:40.216Z] ---> Running in b3df70a74780 [2022-07-20T08:02:40.217Z] Removing intermediate container b3df70a74780 [2022-07-20T08:02:40.217Z] ---> a1584b4bc98c [2022-07-20T08:02:40.217Z] Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-20T08:02:40.217Z] ---> Running in 50fe169a8154 [2022-07-20T08:02:40.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-20T08:02:40.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-20T08:02:40.790Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-20T08:02:40.790Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-20T08:02:41.049Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-20T08:02:41.049Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-20T08:02:41.049Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-20T08:02:41.049Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-20T08:02:41.049Z] (7/74) Installing libxcb (1.14-r2) [2022-07-20T08:02:41.049Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-20T08:02:41.049Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-20T08:02:41.049Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-20T08:02:41.049Z] (11/74) Installing expat (2.4.7-r0) [2022-07-20T08:02:41.049Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-20T08:02:41.049Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-20T08:02:41.049Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-20T08:02:41.049Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-20T08:02:41.049Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-20T08:02:41.049Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-20T08:02:41.049Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-20T08:02:41.049Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-20T08:02:41.049Z] (20/74) Installing libintl (0.21-r0) [2022-07-20T08:02:41.049Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-20T08:02:41.049Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-20T08:02:41.049Z] (23/74) Installing pcre (8.45-r1) [2022-07-20T08:02:41.049Z] (24/74) Installing glib (2.70.1-r0) [2022-07-20T08:02:41.049Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-20T08:02:41.049Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-20T08:02:41.309Z] (27/74) Installing libass (0.15.2-r0) [2022-07-20T08:02:41.309Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-20T08:02:41.309Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-20T08:02:41.309Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-20T08:02:41.309Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-20T08:02:41.309Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-20T08:02:41.309Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-20T08:02:41.309Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-20T08:02:41.309Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-20T08:02:41.309Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-20T08:02:41.309Z] (37/74) Installing lame (3.100-r0) [2022-07-20T08:02:41.309Z] (38/74) Installing opus (1.3.1-r1) [2022-07-20T08:02:41.309Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-20T08:02:41.309Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-20T08:02:41.309Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T08:02:41.309Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T08:02:41.309Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-20T08:02:41.309Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-20T08:02:41.309Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-20T08:02:41.309Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-20T08:02:41.309Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-20T08:02:41.309Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-20T08:02:41.309Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-20T08:02:41.309Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-20T08:02:41.309Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-20T08:02:41.309Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-20T08:02:41.309Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-20T08:02:41.309Z] (54/74) Installing libva (2.13.0-r0) [2022-07-20T08:02:41.309Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-20T08:02:41.309Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-20T08:02:41.309Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-20T08:02:41.570Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-20T08:02:41.570Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-20T08:02:41.570Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-20T08:02:41.570Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-20T08:02:41.570Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-20T08:02:41.570Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-20T08:02:41.570Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-20T08:02:41.570Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-20T08:02:41.570Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-20T08:02:41.570Z] Executing udev-init-scripts-35-r0.post-install [2022-07-20T08:02:41.570Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-20T08:02:41.570Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-20T08:02:41.830Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-20T08:02:41.830Z] (70/74) Installing kmod-libs (29-r2) [2022-07-20T08:02:41.830Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-20T08:02:41.830Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-20T08:02:41.830Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-20T08:02:41.830Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-20T08:02:41.830Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T08:02:41.830Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-20T08:02:41.830Z] OK: 78 MiB in 88 packages [2022-07-20T08:02:43.216Z] Removing intermediate container 50fe169a8154 [2022-07-20T08:02:43.216Z] ---> 519161314f71 [2022-07-20T08:02:43.216Z] Step 17/30 : WORKDIR / [2022-07-20T08:02:43.216Z] ---> Running in 4c451476d0d0 [2022-07-20T08:02:43.216Z] Removing intermediate container 4c451476d0d0 [2022-07-20T08:02:43.216Z] ---> 4d7894adce00 [2022-07-20T08:02:43.216Z] Step 18/30 : COPY --from=builder /device-usb-camera/cmd / [2022-07-20T08:02:43.786Z] ---> 620b603a6ba0 [2022-07-20T08:02:43.786Z] Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-20T08:02:44.049Z] ---> ce4866ffab04 [2022-07-20T08:02:44.049Z] Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-20T08:02:44.308Z] ---> 9fb734a142bc [2022-07-20T08:02:44.309Z] Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-20T08:02:44.309Z] ---> c0e700410ab0 [2022-07-20T08:02:44.309Z] Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-20T08:02:44.568Z] ---> 558471023640 [2022-07-20T08:02:44.568Z] Step 23/30 : COPY --from=rtsp /rtsp-simple-server / [2022-07-20T08:02:45.140Z] ---> bc0c4b76f334 [2022-07-20T08:02:45.140Z] Step 24/30 : EXPOSE 59983 [2022-07-20T08:02:45.140Z] ---> Running in d36ba130fe56 [2022-07-20T08:02:45.140Z] Removing intermediate container d36ba130fe56 [2022-07-20T08:02:45.140Z] ---> 4a408cb28057 [2022-07-20T08:02:45.140Z] Step 25/30 : EXPOSE 8554 [2022-07-20T08:02:45.140Z] ---> Running in a6b12420f1cf [2022-07-20T08:02:45.401Z] Removing intermediate container a6b12420f1cf [2022-07-20T08:02:45.401Z] ---> 07ab72cfbba1 [2022-07-20T08:02:45.401Z] Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-20T08:02:45.401Z] ---> Running in d3f2cd77bb68 [2022-07-20T08:02:45.401Z] Removing intermediate container d3f2cd77bb68 [2022-07-20T08:02:45.401Z] ---> 49b95ce96d05 [2022-07-20T08:02:45.401Z] Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-20T08:02:45.661Z] ---> Running in 082b8b85f6d5 [2022-07-20T08:02:45.661Z] Removing intermediate container 082b8b85f6d5 [2022-07-20T08:02:45.661Z] ---> c75468151dbe [2022-07-20T08:02:45.661Z] Step 28/30 : LABEL arch=amd64 [2022-07-20T08:02:45.661Z] ---> Running in a9d4de119ace [2022-07-20T08:02:45.661Z] Removing intermediate container a9d4de119ace [2022-07-20T08:02:45.661Z] ---> 6d569e668c38 [2022-07-20T08:02:45.661Z] Step 29/30 : LABEL git_sha=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [2022-07-20T08:02:45.922Z] ---> Running in 2866f3cb9ac8 [2022-07-20T08:02:45.922Z] Removing intermediate container 2866f3cb9ac8 [2022-07-20T08:02:45.922Z] ---> b48926cfcf14 [2022-07-20T08:02:45.922Z] Step 30/30 : LABEL version=0.0.0 [2022-07-20T08:02:45.922Z] ---> Running in da4d5e5dd73a [2022-07-20T08:02:46.183Z] Removing intermediate container da4d5e5dd73a [2022-07-20T08:02:46.183Z] ---> 3211b941e968 [2022-07-20T08:02:46.183Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T08:02:46.183Z] Successfully built 3211b941e968 [2022-07-20T08:02:46.183Z] 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-07-20T08:02:46.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T08:02:46.675Z] [2022-07-20T08:02:46.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:02:47.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T08:02:47.007Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T08:02:47.007Z] 5eb5b503b376: Pulling fs layer [2022-07-20T08:02:47.007Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T08:02:47.007Z] ec43610c2a17: Pulling fs layer [2022-07-20T08:02:47.007Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T08:02:47.007Z] 33b1e0a273af: Pulling fs layer [2022-07-20T08:02:47.007Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T08:02:47.007Z] 2f39f015ded8: Pulling fs layer [2022-07-20T08:02:47.007Z] 3a2ae6a8a46f: Waiting [2022-07-20T08:02:47.007Z] 33b1e0a273af: Waiting [2022-07-20T08:02:47.007Z] 2f39f015ded8: Waiting [2022-07-20T08:02:47.007Z] 5d3b04190fa2: Waiting [2022-07-20T08:02:47.007Z] 5c69ac0246d0: Verifying Checksum [2022-07-20T08:02:47.007Z] 5c69ac0246d0: Download complete [2022-07-20T08:02:47.007Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-20T08:02:47.007Z] 3a2ae6a8a46f: Download complete [2022-07-20T08:02:47.007Z] 33b1e0a273af: Verifying Checksum [2022-07-20T08:02:47.007Z] 33b1e0a273af: Download complete [2022-07-20T08:02:47.268Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T08:02:47.268Z] 5d3b04190fa2: Download complete [2022-07-20T08:02:47.268Z] ec43610c2a17: Verifying Checksum [2022-07-20T08:02:47.268Z] ec43610c2a17: Download complete [2022-07-20T08:02:47.268Z] 5eb5b503b376: Verifying Checksum [2022-07-20T08:02:47.268Z] 5eb5b503b376: Download complete [2022-07-20T08:02:47.837Z] 2f39f015ded8: Download complete [2022-07-20T08:02:48.746Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20561 in /w/workspace/xfoundry_device-usb-camera_PR-54 [Pipeline] { [Pipeline] ws [2022-07-20T08:02:48.756Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2022-07-20T08:02:48.776Z] 5eb5b503b376: Pull complete [2022-07-20T08:02:48.776Z] 5c69ac0246d0: Pull complete [2022-07-20T08:02:48.825Z] Selected Git installation does not exist. Using Default [2022-07-20T08:02:48.825Z] The recommended git tool is: NONE [2022-07-20T08:02:49.346Z] ec43610c2a17: Pull complete [2022-07-20T08:02:49.607Z] 3a2ae6a8a46f: Pull complete [2022-07-20T08:02:49.607Z] 33b1e0a273af: Pull complete [2022-07-20T08:02:49.866Z] 5d3b04190fa2: Pull complete [2022-07-20T08:02:54.715Z] using credential edgex-jenkins-ssh [2022-07-20T08:02:54.733Z] Cloning the remote Git repository [2022-07-20T08:02:55.149Z] 2f39f015ded8: Pull complete [2022-07-20T08:02:55.149Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T08:02:55.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T08:02:55.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:02:55.255Z] prd-ubuntu20.04-docker-8c-8g-20560 does not seem to be running inside a container [2022-07-20T08:02:55.298Z] $ 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-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T08:02:54.788Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-20T08:02:54.855Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2022-07-20T08:02:54.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-20T08:02:54.921Z] > git --version # timeout=10 [2022-07-20T08:02:54.937Z] > git --version # 'git version 2.25.1' [2022-07-20T08:02:54.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T08:02:55.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T08:02:56.222Z] Merging remotes/origin/main commit 7a78c2b7239740d78d841f7c6c5822fe465b85ee into PR head commit 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [2022-07-20T08:02:56.428Z] Merge succeeded, producing 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [2022-07-20T08:02:56.428Z] Checking out Revision 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 (PR-54) [2022-07-20T08:02:55.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-20T08:02:55.657Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T08:02:55.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-20T08:02:55.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-20T08:02:55.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T08:02:55.753Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T08:02:56.244Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T08:02:56.266Z] > git checkout -f 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 # timeout=10 [2022-07-20T08:02:56.348Z] > git remote # timeout=10 [2022-07-20T08:02:56.363Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T08:02:56.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T08:02:56.386Z] > git merge 7a78c2b7239740d78d841f7c6c5822fe465b85ee # timeout=10 [2022-07-20T08:02:56.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T08:02:56.438Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T08:02:56.450Z] > git checkout -f 1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 # timeout=10 [2022-07-20T08:02:56.829Z] $ docker top d4b9292b49bed96cea8cc7183af39e50712db3e5552edd26b6e6c827ee54c009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:02:57.256Z] ---> job-cost.sh [2022-07-20T08:02:57.256Z] lf-activate-venv: SKIPPING [2022-07-20T08:02:57.256Z] INFO: No Stack... [2022-07-20T08:02:57.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T08:02:58.088Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T08:02:58.391Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-54/archives/cost.csv [2022-07-20T08:02:58.392Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T08:02:58.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [2022-07-20T08:02:58.417Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] did not exist. Created. [2022-07-20T08:02:58.417Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T08:02:58.724Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T08:02:58.757Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T08:02:58.762Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T08:02:58.784Z] $ docker stop --time=1 d4b9292b49bed96cea8cc7183af39e50712db3e5552edd26b6e6c827ee54c009 [2022-07-20T08:02:59.982Z] $ docker rm -f d4b9292b49bed96cea8cc7183af39e50712db3e5552edd26b6e6c827ee54c009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T08:03:00.559Z] Commit message: "Merge remote-tracking branch 'upstream/main' into autostart" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T08:03:01.584Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T08:03:01.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T08:03:01.584Z] Dload Upload Total Spent Left Speed [2022-07-20T08:03:01.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88085 0 --:--:-- --:--:-- --:--:-- 88085 [Pipeline] sh [2022-07-20T08:03:02.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T08:03:02.658Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-20T08:03:02.658Z] + sudo tee /etc/docker/daemon.new [2022-07-20T08:03:02.658Z] { [2022-07-20T08:03:02.658Z] "registry-mirrors": [ [2022-07-20T08:03:02.658Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T08:03:02.658Z] ], [2022-07-20T08:03:02.658Z] "bip": "10.250.0.254/24", [2022-07-20T08:03:02.658Z] "hosts": [ [2022-07-20T08:03:02.658Z] "tcp://0.0.0.0:5555", [2022-07-20T08:03:02.658Z] "unix:///var/run/docker.sock" [2022-07-20T08:03:02.658Z] ], [2022-07-20T08:03:02.658Z] "mtu": 1458, [2022-07-20T08:03:02.658Z] "selinux-enabled": true, [2022-07-20T08:03:02.658Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T08:03:02.658Z] } [Pipeline] sh [2022-07-20T08:03:03.009Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T08:03:03.345Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T08:03:21.696Z] provisioning config files... [2022-07-20T08:03:21.719Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config8274406808556043638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:03:22.075Z] ---> docker-login.sh [2022-07-20T08:03:22.075Z] nexus3.edgexfoundry.org:10001 [2022-07-20T08:03:22.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:03:22.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:03:22.951Z] Configure a credential helper to remove this warning. See [2022-07-20T08:03:22.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:03:22.951Z] [2022-07-20T08:03:22.951Z] Login Succeeded [2022-07-20T08:03:22.951Z] nexus3.edgexfoundry.org:10002 [2022-07-20T08:03:23.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:03:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:03:23.227Z] Configure a credential helper to remove this warning. See [2022-07-20T08:03:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:03:23.227Z] [2022-07-20T08:03:23.227Z] Login Succeeded [2022-07-20T08:03:23.227Z] nexus3.edgexfoundry.org:10003 [2022-07-20T08:03:23.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:03:23.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:03:23.823Z] Configure a credential helper to remove this warning. See [2022-07-20T08:03:23.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:03:23.823Z] [2022-07-20T08:03:23.823Z] Login Succeeded [2022-07-20T08:03:23.823Z] nexus3.edgexfoundry.org:10004 [2022-07-20T08:03:24.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:03:24.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:03:24.374Z] Configure a credential helper to remove this warning. See [2022-07-20T08:03:24.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:03:24.374Z] [2022-07-20T08:03:24.374Z] Login Succeeded [2022-07-20T08:03:24.374Z] docker.io [2022-07-20T08:03:24.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T08:03:24.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T08:03:24.919Z] Configure a credential helper to remove this warning. See [2022-07-20T08:03:24.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T08:03:24.919Z] [2022-07-20T08:03:24.919Z] Login Succeeded [2022-07-20T08:03:24.919Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T08:03:24.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T08:03:25.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T08:03:25.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T08:03:25.463Z] ========================================================= [2022-07-20T08:03:25.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T08:03:25.463Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:03:25.816Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T08:03:26.088Z] Sending build context to Docker daemon 477.2kB [2022-07-20T08:03:26.088Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T08:03:26.088Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T08:03:26.364Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T08:03:26.364Z] b3c136eddcbf: Pulling fs layer [2022-07-20T08:03:26.364Z] c0a3192eca97: Pulling fs layer [2022-07-20T08:03:26.364Z] a050256f5b6f: Pulling fs layer [2022-07-20T08:03:26.364Z] 656be50a0ddc: Pulling fs layer [2022-07-20T08:03:26.364Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T08:03:26.364Z] 46d945488cbd: Pulling fs layer [2022-07-20T08:03:26.364Z] 8a5474983e97: Pulling fs layer [2022-07-20T08:03:26.364Z] 329c88fbcd65: Pulling fs layer [2022-07-20T08:03:26.364Z] 656be50a0ddc: Waiting [2022-07-20T08:03:26.364Z] 2bbca73fdf42: Waiting [2022-07-20T08:03:26.364Z] 46d945488cbd: Waiting [2022-07-20T08:03:26.364Z] 8a5474983e97: Waiting [2022-07-20T08:03:26.364Z] 329c88fbcd65: Waiting [2022-07-20T08:03:26.364Z] a050256f5b6f: Verifying Checksum [2022-07-20T08:03:26.364Z] c0a3192eca97: Download complete [2022-07-20T08:03:26.364Z] 2bbca73fdf42: Verifying Checksum [2022-07-20T08:03:26.364Z] 2bbca73fdf42: Download complete [2022-07-20T08:03:26.364Z] 46d945488cbd: Verifying Checksum [2022-07-20T08:03:26.364Z] 46d945488cbd: Download complete [2022-07-20T08:03:26.364Z] b3c136eddcbf: Verifying Checksum [2022-07-20T08:03:26.364Z] b3c136eddcbf: Download complete [2022-07-20T08:03:27.364Z] b3c136eddcbf: Pull complete [2022-07-20T08:03:27.641Z] 329c88fbcd65: Verifying Checksum [2022-07-20T08:03:27.641Z] 329c88fbcd65: Download complete [2022-07-20T08:03:27.919Z] c0a3192eca97: Pull complete [2022-07-20T08:03:28.193Z] a050256f5b6f: Pull complete [2022-07-20T08:03:28.790Z] 8a5474983e97: Verifying Checksum [2022-07-20T08:03:28.790Z] 8a5474983e97: Download complete [2022-07-20T08:03:29.385Z] 656be50a0ddc: Verifying Checksum [2022-07-20T08:03:29.385Z] 656be50a0ddc: Download complete [2022-07-20T08:03:41.800Z] 656be50a0ddc: Pull complete [2022-07-20T08:03:42.073Z] 2bbca73fdf42: Pull complete [2022-07-20T08:03:42.347Z] 46d945488cbd: Pull complete [2022-07-20T08:03:49.087Z] 8a5474983e97: Pull complete [2022-07-20T08:03:51.074Z] 329c88fbcd65: Pull complete [2022-07-20T08:03:51.075Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T08:03:51.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T08:03:51.075Z] ---> ff4287adb874 [2022-07-20T08:03:51.075Z] Step 3/12 : ARG MAKE="make build" [2022-07-20T08:03:52.061Z] ---> Running in 47d840a89bc6 [2022-07-20T08:03:52.350Z] Removing intermediate container 47d840a89bc6 [2022-07-20T08:03:52.350Z] ---> 7a6b543672ea [2022-07-20T08:03:52.350Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T08:03:52.350Z] ---> Running in aa3006a2889b [2022-07-20T08:03:52.623Z] Removing intermediate container aa3006a2889b [2022-07-20T08:03:52.623Z] ---> 522eb7c63754 [2022-07-20T08:03:52.623Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-20T08:03:52.623Z] ---> Running in aa3a7d17c672 [2022-07-20T08:03:52.897Z] Removing intermediate container aa3a7d17c672 [2022-07-20T08:03:52.897Z] ---> 78e86cb56781 [2022-07-20T08:03:52.897Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T08:03:53.174Z] ---> Running in 687b75309ecb [2022-07-20T08:03:55.801Z] Removing intermediate container 687b75309ecb [2022-07-20T08:03:55.801Z] ---> 65ef418b3f75 [2022-07-20T08:03:55.801Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T08:03:56.085Z] ---> Running in d2a40cc4c587 [2022-07-20T08:03:57.064Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T08:03:57.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T08:03:58.643Z] (1/14) Installing libintl (0.21-r2) [2022-07-20T08:03:58.643Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-20T08:03:58.643Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-20T08:03:58.913Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-20T08:03:58.913Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-20T08:03:59.183Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-20T08:03:59.183Z] Executing udev-init-scripts-35-r0.post-install [2022-07-20T08:03:59.183Z] (7/14) Installing libblkid (2.38-r1) [2022-07-20T08:03:59.453Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-20T08:03:59.453Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-20T08:03:59.453Z] (10/14) Installing kmod-libs (29-r2) [2022-07-20T08:03:59.724Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-20T08:03:59.724Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-20T08:03:59.998Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-20T08:03:59.998Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-20T08:03:59.998Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T08:04:00.269Z] Executing eudev-3.2.11-r0.trigger [2022-07-20T08:04:00.269Z] OK: 228 MiB in 65 packages [2022-07-20T08:04:01.248Z] Removing intermediate container d2a40cc4c587 [2022-07-20T08:04:01.248Z] ---> 251cd01b23ed [2022-07-20T08:04:01.249Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-20T08:04:01.249Z] ---> Running in 8839e9f4a9e3 [2022-07-20T08:04:01.523Z] Removing intermediate container 8839e9f4a9e3 [2022-07-20T08:04:01.523Z] ---> 4e3c585346a2 [2022-07-20T08:04:01.523Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T08:04:02.119Z] ---> c95a6c692ad5 [2022-07-20T08:04:02.119Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T08:04:02.119Z] ---> Running in 2b72a0290343 [2022-07-20T08:04:49.102Z] Removing intermediate container 2b72a0290343 [2022-07-20T08:04:49.102Z] ---> 4a1b065a6588 [2022-07-20T08:04:49.102Z] Step 11/12 : COPY . . [2022-07-20T08:04:49.102Z] ---> 1879afa35a98 [2022-07-20T08:04:49.102Z] Step 12/12 : RUN ${MAKE} [2022-07-20T08:04:49.102Z] ---> Running in 72fc5f5ccf42 [2022-07-20T08:04:49.102Z] noop [2022-07-20T08:04:49.102Z] Removing intermediate container 72fc5f5ccf42 [2022-07-20T08:04:49.102Z] ---> 27e86218ff23 [2022-07-20T08:04:49.102Z] Successfully built 27e86218ff23 [2022-07-20T08:04:49.102Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:04:49.462Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T08:04:49.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:04:49.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-20561 does not seem to be running inside a container [2022-07-20T08:04:49.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T08:04:51.042Z] $ docker top 087a1dee627b4529b596a7a3c8170852fbcc77ebe4dd2b722edcf31de1e92057 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T08:04:51.950Z] + go version [2022-07-20T08:04:51.950Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T08:04:51.977Z] $ docker stop --time=1 087a1dee627b4529b596a7a3c8170852fbcc77ebe4dd2b722edcf31de1e92057 [2022-07-20T08:04:53.592Z] $ docker rm -f 087a1dee627b4529b596a7a3c8170852fbcc77ebe4dd2b722edcf31de1e92057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:04:54.169Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T08:04:54.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:04:54.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-20561 does not seem to be running inside a container [2022-07-20T08:04:54.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T08:04:55.757Z] $ docker top 2675ccd004d17182cebc2f322e9fbfffef7a6da08b1717302ec9bb4c514acb70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T08:04:56.663Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-07-20T08:04:57.331Z] + make test [2022-07-20T08:04:57.331Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-20T08:04:58.779Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-20T08:06:20.628Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-20T08:06:20.628Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-20T08:06:20.628Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T08:06:20.628Z] CGO_ENABLED=1 go vet ./... [2022-07-20T08:06:38.966Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T08:06:38.966Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T08:06:38.966Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T08:06:39.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T08:06:39.599Z] $ docker stop --time=1 2675ccd004d17182cebc2f322e9fbfffef7a6da08b1717302ec9bb4c514acb70 [2022-07-20T08:06:41.355Z] $ docker rm -f 2675ccd004d17182cebc2f322e9fbfffef7a6da08b1717302ec9bb4c514acb70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T08:06:42.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T08:06:42.309Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T08:06:42.733Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T08:06:43.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T08:06:43.453Z] + ls -al . [2022-07-20T08:06:43.453Z] total 160 [2022-07-20T08:06:43.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 08:06 . [2022-07-20T08:06:43.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 08:02 .. [2022-07-20T08:06:43.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 08:03 .git [2022-07-20T08:06:43.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:02 .github [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 08:02 .gitignore [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 08:02 .golangci.yml [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 08:02 .hadolint.yml [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 20 08:02 Attribution.txt [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 20 08:02 CHANGELOG.md [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 1940 Jul 20 08:02 Dockerfile [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 08:02 GOVERNANCE.md [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 08:02 Jenkinsfile [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 08:02 LICENSE [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 20 08:02 Makefile [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 08:02 OWNERS.md [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 11243 Jul 20 08:02 README.md [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 08:00 VERSION [2022-07-20T08:06:43.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 08:02 bin [2022-07-20T08:06:43.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:02 cmd [2022-07-20T08:06:43.453Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 20 08:04 coverage.out [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 08:02 docker-entrypoint.sh [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 20 08:02 go.mod [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 20 08:02 go.sum [2022-07-20T08:06:43.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 08:02 internal [2022-07-20T08:06:43.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 08:02 snap [2022-07-20T08:06:43.453Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 08:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:06:43.805Z] + 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=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 --label arch=arm64 --label version=0.0.0 . [2022-07-20T08:06:44.077Z] Sending build context to Docker daemon 478.2kB [2022-07-20T08:06:44.077Z] Step 1/30 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T08:06:44.077Z] Step 2/30 : FROM ${BASE} AS builder [2022-07-20T08:06:44.077Z] ---> 27e86218ff23 [2022-07-20T08:06:44.077Z] Step 3/30 : ARG MAKE="make build" [2022-07-20T08:06:44.355Z] ---> Running in 0f0e0ee70ffe [2022-07-20T08:06:44.626Z] Removing intermediate container 0f0e0ee70ffe [2022-07-20T08:06:44.626Z] ---> f867b9a48810 [2022-07-20T08:06:44.626Z] Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T08:06:44.626Z] ---> Running in 7afd9fb13bb8 [2022-07-20T08:06:44.898Z] Removing intermediate container 7afd9fb13bb8 [2022-07-20T08:06:44.898Z] ---> 56e644dec617 [2022-07-20T08:06:44.898Z] Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-20T08:06:44.898Z] ---> Running in e9e0e4f56dc3 [2022-07-20T08:06:45.172Z] Removing intermediate container e9e0e4f56dc3 [2022-07-20T08:06:45.172Z] ---> d8225b8dfd96 [2022-07-20T08:06:45.172Z] Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T08:06:45.454Z] ---> Running in 4b07c02e805c [2022-07-20T08:06:46.896Z] Removing intermediate container 4b07c02e805c [2022-07-20T08:06:46.896Z] ---> 8145431ffe9e [2022-07-20T08:06:46.896Z] Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T08:06:46.896Z] ---> Running in 2c85b91a379a [2022-07-20T08:06:47.875Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T08:06:48.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T08:06:49.829Z] OK: 228 MiB in 65 packages [2022-07-20T08:06:50.431Z] Removing intermediate container 2c85b91a379a [2022-07-20T08:06:50.431Z] ---> 7497ad483109 [2022-07-20T08:06:50.431Z] Step 8/30 : WORKDIR /device-usb-camera [2022-07-20T08:06:50.431Z] ---> Running in f51b4e9d2455 [2022-07-20T08:06:50.705Z] Removing intermediate container f51b4e9d2455 [2022-07-20T08:06:50.705Z] ---> e0c3372a53c5 [2022-07-20T08:06:50.705Z] Step 9/30 : COPY go.mod vendor* ./ [2022-07-20T08:06:51.304Z] ---> 1797b0ce57e5 [2022-07-20T08:06:51.304Z] Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T08:06:51.579Z] ---> Running in 950fc8d21826 [2022-07-20T08:06:53.557Z] Removing intermediate container 950fc8d21826 [2022-07-20T08:06:53.557Z] ---> 1cb97fc2c36b [2022-07-20T08:06:53.557Z] Step 11/30 : COPY . . [2022-07-20T08:06:54.157Z] ---> f3188be8e1c3 [2022-07-20T08:06:54.157Z] Step 12/30 : RUN ${MAKE} [2022-07-20T08:06:54.157Z] ---> Running in e30fa9a61be3 [2022-07-20T08:06:55.140Z] 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-07-20T08:09:17.085Z] Removing intermediate container e30fa9a61be3 [2022-07-20T08:09:17.085Z] ---> f9d32f1516e4 [2022-07-20T08:09:17.085Z] Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-20T08:09:17.085Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-20T08:09:17.085Z] eab2503cf8f4: Pulling fs layer [2022-07-20T08:09:17.085Z] 97cd0a44c592: Pulling fs layer [2022-07-20T08:09:17.085Z] 97cd0a44c592: Download complete [2022-07-20T08:09:17.085Z] eab2503cf8f4: Verifying Checksum [2022-07-20T08:09:17.085Z] eab2503cf8f4: Download complete [2022-07-20T08:09:17.085Z] eab2503cf8f4: Pull complete [2022-07-20T08:09:17.085Z] 97cd0a44c592: Pull complete [2022-07-20T08:09:17.085Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-20T08:09:17.085Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-20T08:09:17.085Z] ---> 7f763cca56b3 [2022-07-20T08:09:17.085Z] Step 14/30 : FROM alpine:3.15 [2022-07-20T08:09:17.085Z] 3.15: Pulling from library/alpine [2022-07-20T08:09:17.085Z] e0295fd11fe2: Pulling fs layer [2022-07-20T08:09:17.085Z] e0295fd11fe2: Verifying Checksum [2022-07-20T08:09:17.085Z] e0295fd11fe2: Download complete [2022-07-20T08:09:17.085Z] e0295fd11fe2: Pull complete [2022-07-20T08:09:17.085Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T08:09:17.085Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T08:09:17.085Z] ---> 60f2846fe774 [2022-07-20T08:09:17.085Z] Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T08:09:17.085Z] ---> Running in 145b6944f42d [2022-07-20T08:09:17.085Z] Removing intermediate container 145b6944f42d [2022-07-20T08:09:17.085Z] ---> 78b81148d0a9 [2022-07-20T08:09:17.086Z] Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-20T08:09:17.086Z] ---> Running in ba2447232efb [2022-07-20T08:09:17.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-20T08:09:17.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-20T08:09:17.086Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-20T08:09:17.086Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-20T08:09:17.086Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-20T08:09:17.086Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-20T08:09:17.086Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-20T08:09:17.086Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-20T08:09:17.086Z] (7/73) Installing libxcb (1.14-r2) [2022-07-20T08:09:17.086Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-20T08:09:17.086Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-20T08:09:17.086Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-20T08:09:17.086Z] (11/73) Installing expat (2.4.7-r0) [2022-07-20T08:09:17.086Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-20T08:09:17.086Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-20T08:09:17.086Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-20T08:09:17.086Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-20T08:09:17.086Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-20T08:09:17.086Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-20T08:09:17.086Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-20T08:09:17.086Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-20T08:09:17.086Z] (20/73) Installing libintl (0.21-r0) [2022-07-20T08:09:17.086Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-20T08:09:17.086Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-20T08:09:17.086Z] (23/73) Installing pcre (8.45-r1) [2022-07-20T08:09:17.086Z] (24/73) Installing glib (2.70.1-r0) [2022-07-20T08:09:17.086Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-20T08:09:17.086Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-20T08:09:17.086Z] (27/73) Installing libass (0.15.2-r0) [2022-07-20T08:09:17.086Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-20T08:09:17.086Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-20T08:09:17.086Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-20T08:09:17.086Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-20T08:09:17.086Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-20T08:09:17.086Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-20T08:09:17.086Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-20T08:09:17.086Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-20T08:09:17.086Z] (36/73) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-20T08:09:17.086Z] (37/73) Installing lame (3.100-r0) [2022-07-20T08:09:17.086Z] (38/73) Installing opus (1.3.1-r1) [2022-07-20T08:09:17.086Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-20T08:09:17.086Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-20T08:09:17.086Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T08:09:17.086Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T08:09:17.086Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-20T08:09:17.086Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-20T08:09:17.086Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-20T08:09:17.086Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-20T08:09:17.086Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-20T08:09:17.086Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-20T08:09:17.086Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-20T08:09:17.086Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-20T08:09:17.086Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-20T08:09:17.086Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-20T08:09:17.086Z] (53/73) Installing libva (2.13.0-r0) [2022-07-20T08:09:17.086Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-20T08:09:17.086Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-20T08:09:17.086Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-20T08:09:17.086Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-20T08:09:17.086Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-20T08:09:17.086Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-20T08:09:17.086Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-20T08:09:17.086Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-20T08:09:17.086Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-20T08:09:17.086Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-20T08:09:17.086Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-20T08:09:17.086Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-20T08:09:17.086Z] Executing udev-init-scripts-35-r0.post-install [2022-07-20T08:09:17.086Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-20T08:09:17.086Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-20T08:09:17.086Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-20T08:09:17.086Z] (69/73) Installing kmod-libs (29-r2) [2022-07-20T08:09:17.086Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-20T08:09:17.086Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-20T08:09:17.086Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-20T08:09:17.086Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-20T08:09:17.086Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T08:09:17.086Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-20T08:09:17.086Z] OK: 67 MiB in 87 packages [2022-07-20T08:09:17.086Z] Removing intermediate container ba2447232efb [2022-07-20T08:09:17.086Z] ---> a91a52a4a7ca [2022-07-20T08:09:17.086Z] Step 17/30 : WORKDIR / [2022-07-20T08:09:17.086Z] ---> Running in 67b0d26cd501 [2022-07-20T08:09:17.086Z] Removing intermediate container 67b0d26cd501 [2022-07-20T08:09:17.086Z] ---> 74c52d51b902 [2022-07-20T08:09:17.086Z] Step 18/30 : COPY --from=builder /device-usb-camera/cmd / [2022-07-20T08:09:17.086Z] ---> 98d0e74afd55 [2022-07-20T08:09:17.086Z] Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-20T08:09:17.086Z] ---> 734d8ed2f1eb [2022-07-20T08:09:17.086Z] Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-20T08:09:17.086Z] ---> 31ce65cdc31e [2022-07-20T08:09:17.086Z] Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-20T08:09:17.086Z] ---> 7e74fe4c07b4 [2022-07-20T08:09:17.086Z] Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-20T08:09:17.686Z] ---> e0089d9570bf [2022-07-20T08:09:17.686Z] Step 23/30 : COPY --from=rtsp /rtsp-simple-server / [2022-07-20T08:09:19.123Z] ---> 6910487ce1a3 [2022-07-20T08:09:19.123Z] Step 24/30 : EXPOSE 59983 [2022-07-20T08:09:19.123Z] ---> Running in 4b6108597805 [2022-07-20T08:09:19.123Z] Removing intermediate container 4b6108597805 [2022-07-20T08:09:19.123Z] ---> cddf78a2930f [2022-07-20T08:09:19.123Z] Step 25/30 : EXPOSE 8554 [2022-07-20T08:09:19.402Z] ---> Running in 3eefb1a2e86a [2022-07-20T08:09:19.676Z] Removing intermediate container 3eefb1a2e86a [2022-07-20T08:09:19.676Z] ---> 54ff894501a6 [2022-07-20T08:09:19.676Z] Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-20T08:09:19.676Z] ---> Running in eaf1ed211529 [2022-07-20T08:09:19.952Z] Removing intermediate container eaf1ed211529 [2022-07-20T08:09:19.952Z] ---> 91dab70ff896 [2022-07-20T08:09:19.952Z] Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-20T08:09:19.952Z] ---> Running in d6599cac5c45 [2022-07-20T08:09:20.561Z] Removing intermediate container d6599cac5c45 [2022-07-20T08:09:20.561Z] ---> 36c2b27514d5 [2022-07-20T08:09:20.561Z] Step 28/30 : LABEL arch=arm64 [2022-07-20T08:09:20.561Z] ---> Running in d00acfa52374 [2022-07-20T08:09:20.836Z] Removing intermediate container d00acfa52374 [2022-07-20T08:09:20.836Z] ---> ee32fcef26c6 [2022-07-20T08:09:20.836Z] Step 29/30 : LABEL git_sha=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [2022-07-20T08:09:20.836Z] ---> Running in 9228e94b624b [2022-07-20T08:09:21.113Z] Removing intermediate container 9228e94b624b [2022-07-20T08:09:21.113Z] ---> 81783d9e0b31 [2022-07-20T08:09:21.113Z] Step 30/30 : LABEL version=0.0.0 [2022-07-20T08:09:21.113Z] ---> Running in 814e760b3b2b [2022-07-20T08:09:21.719Z] Removing intermediate container 814e760b3b2b [2022-07-20T08:09:21.719Z] ---> 3ab034f62886 [2022-07-20T08:09:21.719Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T08:09:21.719Z] Successfully built 3ab034f62886 [2022-07-20T08:09:21.719Z] 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-07-20T08:09:22.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T08:09:22.189Z] [2022-07-20T08:09:22.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:09:22.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T08:09:22.818Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T08:09:22.818Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T08:09:22.818Z] 04944245beec: Pulling fs layer [2022-07-20T08:09:22.818Z] 699f458cf7ca: Pulling fs layer [2022-07-20T08:09:22.818Z] 765212b225bb: Pulling fs layer [2022-07-20T08:09:22.818Z] f23df028b6ca: Pulling fs layer [2022-07-20T08:09:22.818Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T08:09:22.818Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T08:09:22.818Z] f23df028b6ca: Waiting [2022-07-20T08:09:22.818Z] d65c8cfc05b1: Waiting [2022-07-20T08:09:22.818Z] 2437ff75d9bd: Waiting [2022-07-20T08:09:22.818Z] 765212b225bb: Waiting [2022-07-20T08:09:22.818Z] 04944245beec: Verifying Checksum [2022-07-20T08:09:22.818Z] 04944245beec: Download complete [2022-07-20T08:09:22.818Z] 765212b225bb: Verifying Checksum [2022-07-20T08:09:22.818Z] 765212b225bb: Download complete [2022-07-20T08:09:22.818Z] f23df028b6ca: Verifying Checksum [2022-07-20T08:09:22.818Z] f23df028b6ca: Download complete [2022-07-20T08:09:22.818Z] d65c8cfc05b1: Verifying Checksum [2022-07-20T08:09:22.818Z] d65c8cfc05b1: Download complete [2022-07-20T08:09:23.094Z] 699f458cf7ca: Verifying Checksum [2022-07-20T08:09:23.094Z] 699f458cf7ca: Download complete [2022-07-20T08:09:23.374Z] 8998bd30e6a1: Verifying Checksum [2022-07-20T08:09:23.374Z] 8998bd30e6a1: Download complete [2022-07-20T08:09:26.002Z] 2437ff75d9bd: Verifying Checksum [2022-07-20T08:09:26.002Z] 2437ff75d9bd: Download complete [2022-07-20T08:09:27.982Z] 8998bd30e6a1: Pull complete [2022-07-20T08:09:27.982Z] 04944245beec: Pull complete [2022-07-20T08:09:29.967Z] 699f458cf7ca: Pull complete [2022-07-20T08:09:29.967Z] 765212b225bb: Pull complete [2022-07-20T08:09:30.570Z] f23df028b6ca: Pull complete [2022-07-20T08:09:30.844Z] d65c8cfc05b1: Pull complete [2022-07-20T08:09:45.960Z] 2437ff75d9bd: Pull complete [2022-07-20T08:09:45.960Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T08:09:45.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T08:09:45.960Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:09:46.221Z] prd-ubuntu20.04-docker-arm64-4c-16g-20561 does not seem to be running inside a container [2022-07-20T08:09:46.313Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-20T08:09:48.739Z] $ docker top 4e2dcbcdf75dbd806234b8f90d188abaf2be85c96d7b3888b6f688b9644d7930 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:09:49.687Z] ---> job-cost.sh [2022-07-20T08:09:49.687Z] lf-activate-venv: SKIPPING [2022-07-20T08:09:49.687Z] INFO: No Stack... [2022-07-20T08:09:50.283Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T08:09:51.260Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T08:09:51.929Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2022-07-20T08:09:51.929Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T08:09:51.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [2022-07-20T08:09:51.998Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] did not exist. Created. [2022-07-20T08:09:51.998Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T08:09:52.682Z] /w/workspace/device-usb-camera/2@tmp/durable-59980239/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T08:09:53.368Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T08:09:53.389Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T08:09:53.433Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T08:09:53.442Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-54-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T08:09:53.466Z] $ docker stop --time=1 4e2dcbcdf75dbd806234b8f90d188abaf2be85c96d7b3888b6f688b9644d7930 [2022-07-20T08:09:54.961Z] $ docker rm -f 4e2dcbcdf75dbd806234b8f90d188abaf2be85c96d7b3888b6f688b9644d7930 [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-07-20T08:09:55.415Z] provisioning config files... [2022-07-20T08:09:55.423Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config7611697560631491528tmp [Pipeline] { [Pipeline] sh [2022-07-20T08:09:55.721Z] + set +x [2022-07-20T08:09:55.721Z] + + curlbash -s -s https://codecov.io/bash -- [2022-07-20T08:09:55.721Z] [2022-07-20T08:09:55.721Z] [2022-07-20T08:09:55.721Z] _____ _ [2022-07-20T08:09:55.721Z] / ____| | | [2022-07-20T08:09:55.721Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T08:09:55.721Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T08:09:55.721Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T08:09:55.721Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T08:09:55.721Z] Bash-1.0.6 [2022-07-20T08:09:55.721Z] [2022-07-20T08:09:55.721Z] [2022-07-20T08:09:55.721Z] ==> git version 2.25.1 found [2022-07-20T08:09:55.721Z] ==> 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-07-20T08:09:55.721Z] Release-Date: 2020-01-08 [2022-07-20T08:09:55.721Z] 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-07-20T08:09:55.721Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T08:09:55.721Z] ==> Jenkins CI detected. [2022-07-20T08:09:55.721Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-54 [2022-07-20T08:09:55.721Z] project root: . [2022-07-20T08:09:55.721Z] --> token set from env [2022-07-20T08:09:55.721Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T08:09:55.721Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T08:09:55.721Z] ==> Python coveragepy not found [2022-07-20T08:09:55.721Z] ==> Searching for coverage reports in: [2022-07-20T08:09:55.721Z] + . [2022-07-20T08:09:55.721Z] -> Found 1 reports [2022-07-20T08:09:55.721Z] ==> Detecting git/mercurial file structure [2022-07-20T08:09:55.721Z] ==> Reading reports [2022-07-20T08:09:55.721Z] + ./coverage.out bytes=10 [2022-07-20T08:09:55.721Z] ==> Appending adjustments [2022-07-20T08:09:55.721Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T08:09:55.981Z] + Found adjustments [2022-07-20T08:09:55.981Z] ==> Gzipping contents [2022-07-20T08:09:55.981Z] 4.0K /tmp/codecov.SHgrqG.gz [2022-07-20T08:09:55.981Z] ==> Uploading reports [2022-07-20T08:09:55.981Z] url: https://codecov.io [2022-07-20T08:09:55.981Z] query: branch=PR-54&commit=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-54%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=54&job=&cmd_args= [2022-07-20T08:09:55.981Z] -> Pinging Codecov [2022-07-20T08:09:55.981Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-54&commit=1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-54%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=54&job=&cmd_args= [2022-07-20T08:09:56.242Z] -> Uploading to [2022-07-20T08:09:56.242Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/73D8F5FF140700D3E01443B452E23636/1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3/aba9245b-8339-47d0-a429-829258dd2b65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T080956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87d2b9e4a5aaa13ff695326ed2937b6e21a08dd4c3ba53f409551047575b4052 [2022-07-20T08:09:56.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T08:09:56.242Z] Dload Upload Total Spent Left Speed [2022-07-20T08:09:56.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1187 0 0 100 1187 0 4396 --:--:-- --:--:-- --:--:-- 4396 [2022-07-20T08:09:56.502Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/1f2999b74d8d53ac0422ed573b8dc466bc4d8ce3 [Pipeline] } [2022-07-20T08:09:56.511Z] 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-07-20T08:09:57.226Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-54/archives ] [2022-07-20T08:09:57.226Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-54/archives [2022-07-20T08:09:57.226Z] total 16 [2022-07-20T08:09:57.226Z] drwxr-xr-x 3 root root 4096 Jul 20 08:02 . [2022-07-20T08:09:57.226Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 08:02 .. [2022-07-20T08:09:57.226Z] drwxr-xr-x 2 root root 4096 Jul 20 08:02 cost [2022-07-20T08:09:57.226Z] -rw-r--r-- 1 root root 87 Jul 20 08:02 cost.csv [2022-07-20T08:09:57.226Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-54/archives [2022-07-20T08:09:57.226Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-54/archives [2022-07-20T08:09:57.226Z] total 16 [2022-07-20T08:09:57.226Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 08:02 . [2022-07-20T08:09:57.226Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 08:02 .. [2022-07-20T08:09:57.226Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 08:02 cost [2022-07-20T08:09:57.226Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 20 08:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:09:57.521Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:09:58.387Z] ---> package-listing.sh [2022-07-20T08:09:58.387Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T08:09:58.387Z] ++ facter osfamily [2022-07-20T08:09:58.648Z] + OS_FAMILY=debian [2022-07-20T08:09:58.648Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-54 [2022-07-20T08:09:58.648Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T08:09:58.648Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T08:09:58.648Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T08:09:58.648Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T08:09:58.648Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-54 ']' [2022-07-20T08:09:58.648Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T08:09:58.648Z] + case "${OS_FAMILY}" in [2022-07-20T08:09:58.648Z] + dpkg -l [2022-07-20T08:09:58.648Z] + grep '^ii' [2022-07-20T08:09:58.648Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T08:09:58.648Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T08:09:58.648Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T08:09:58.648Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-54 ']' [2022-07-20T08:09:58.648Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-54/archives/ [2022-07-20T08:09:58.648Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-54/archives/ [Pipeline] echo [2022-07-20T08:09:58.660Z] 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T08:09:58.945Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T08:09:59.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T08:09:59.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T08:09:59.584Z] prd-ubuntu20.04-docker-8c-8g-20560 does not seem to be running inside a container [2022-07-20T08:09:59.621Z] $ 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-54/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-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T08:09:59.896Z] $ docker top e278898da15d227384465073962e6d2913b68be0924edf3eb168911213c41b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T08:10:00.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T08:10:00.540Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T08:10:00.831Z] + ls /var/log/sa-host [2022-07-20T08:10:00.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T08:10:00.957Z] provisioning config files... [2022-07-20T08:10:00.967Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config4105614956068526932tmp [Pipeline] { [Pipeline] echo [2022-07-20T08:10:00.980Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:10:01.265Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T08:10:01.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:10:01.612Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T08:10:01.623Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:10:01.919Z] ---> sudo-logs.sh [2022-07-20T08:10:01.919Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T08:10:01.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:10:02.226Z] ---> job-cost.sh [2022-07-20T08:10:02.226Z] lf-activate-venv: SKIPPING [2022-07-20T08:10:02.226Z] DEBUG: total: 0.2199999988079071 [2022-07-20T08:10:02.226Z] INFO: Retrieving Stack Cost... [2022-07-20T08:10:02.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T08:10:03.058Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T08:10:03.069Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T08:10:03.361Z] ---> logs-deploy.sh [2022-07-20T08:10:03.361Z] lf-activate-venv: SKIPPING [2022-07-20T08:10:03.362Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-54/2 [2022-07-20T08:10:03.362Z] INFO: archiving workspace using pattern(s): [2022-07-20T08:10:04.304Z] Archives upload complete. [2022-07-20T08:10:04.304Z] INFO: archiving logs to Nexus