Branch indexing 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 4df80eefb8af4e7f598d31ac79e90a8636e25008+0d2f133a70ca139fe5a25e6e35809f1e9812dab5 (755f29b327e8e9815c0ddc9e49ca3795c2382097) 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-ssh15820613673272631164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15096542217610155758.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3180650656962439686.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10696820553087044701.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15098684166375098760.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15424’ Running on prd-ubuntu20.04-docker-8c-8g-15431 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 Merge succeeded, producing 4eb0471e57f59faa89c716a687e572d940a3caf1 Checking out Revision 4eb0471e57f59faa89c716a687e572d940a3caf1 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # 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 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eb0471e57f59faa89c716a687e572d940a3caf1 # timeout=10 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T06:18:56.978Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T06:18:57.015Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T06:18:57.027Z] ========================================================= [2022-06-23T06:18:57.027Z] EdgeX Global Pipelines Version Info [2022-06-23T06:18:57.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d4dd8483b739df68a0ab70cf602bdc121355af4d # timeout=10 [2022-06-23T06:18:57.806Z] ------------------- [2022-06-23T06:18:57.806Z] stable info: [2022-06-23T06:18:57.806Z] ------------------- [2022-06-23T06:18:57.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T06:18:57.806Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T06:18:57.806Z] Message: update stable to v1.0.234 [2022-06-23T06:18:58.379Z] ------------------- [2022-06-23T06:18:58.379Z] experimental info: [2022-06-23T06:18:58.379Z] ------------------- [2022-06-23T06:18:58.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T06:18:58.379Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T06:18:58.379Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T06:18:58.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-23T06:18:58.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-23T06:18:58.601Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T06:18:58.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T06:18:58.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T06:18:58.642Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T06:18:58.658Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T06:18:58.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T06:18:58.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T06:18:58.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T06:18:58.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T06:18:58.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-23T06:18:58.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T06:18:58.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T06:18:58.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T06:18:58.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T06:18:58.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T06:18:58.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T06:18:58.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T06:18:58.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T06:18:58.856Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T06:18:58.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T06:18:58.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T06:18:58.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T06:18:58.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T06:18:58.932Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T06:18:58.943Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T06:18:58.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-06-23T06:18:58.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-06-23T06:18:58.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-06-23T06:18:58.994Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4eb0471e57f59faa89c716a687e572d940a3caf1 [Pipeline] echo [2022-06-23T06:18:59.002Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4eb0471 [Pipeline] echo [2022-06-23T06:18:59.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T06:18:59.051Z] provisioning config files... [2022-06-23T06:18:59.064Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6737708431729914450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:18:59.373Z] ---> docker-login.sh [2022-06-23T06:18:59.373Z] nexus3.edgexfoundry.org:10001 [2022-06-23T06:18:59.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:18:59.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:18:59.635Z] Configure a credential helper to remove this warning. See [2022-06-23T06:18:59.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:18:59.635Z] [2022-06-23T06:18:59.635Z] Login Succeeded [2022-06-23T06:18:59.635Z] nexus3.edgexfoundry.org:10002 [2022-06-23T06:18:59.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:18:59.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:18:59.898Z] Configure a credential helper to remove this warning. See [2022-06-23T06:18:59.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:18:59.898Z] [2022-06-23T06:18:59.898Z] Login Succeeded [2022-06-23T06:18:59.898Z] nexus3.edgexfoundry.org:10003 [2022-06-23T06:18:59.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:00.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:00.160Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:00.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:00.160Z] [2022-06-23T06:19:00.160Z] Login Succeeded [2022-06-23T06:19:00.160Z] nexus3.edgexfoundry.org:10004 [2022-06-23T06:19:00.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:00.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:00.160Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:00.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:00.160Z] [2022-06-23T06:19:00.160Z] Login Succeeded [2022-06-23T06:19:00.160Z] docker.io [2022-06-23T06:19:00.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:00.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:00.734Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:00.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:00.734Z] [2022-06-23T06:19:00.734Z] Login Succeeded [2022-06-23T06:19:00.734Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T06:19:00.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T06:19:01.110Z] + git rev-list -1 --merges 4eb0471e57f59faa89c716a687e572d940a3caf1~1..4eb0471e57f59faa89c716a687e572d940a3caf1 [Pipeline] echo [2022-06-23T06:19:01.140Z] -----------> git rev-list -1 --merges 4eb0471e57f59faa89c716a687e572d940a3caf1~1..4eb0471e57f59faa89c716a687e572d940a3caf1 4eb0471e57f59faa89c716a687e572d940a3caf1 [2022-06-23T06:19:01.140Z] 4eb0471e57f59faa89c716a687e572d940a3caf1 [false] [Pipeline] sh [2022-06-23T06:19:01.438Z] + git log --format=format:%s -1 4eb0471e57f59faa89c716a687e572d940a3caf1 [Pipeline] echo [2022-06-23T06:19:01.455Z] ========================================================= [2022-06-23T06:19:01.455Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T06:19:01.455Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T06:19:01.792Z] + git log --format=format:%s -1 4eb0471e57f59faa89c716a687e572d940a3caf1 [Pipeline] echo [2022-06-23T06:19:01.805Z] [semverPrep] GIT_COMMIT: 4eb0471e57f59faa89c716a687e572d940a3caf1, Commit Message: Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD [Pipeline] echo [2022-06-23T06:19:01.815Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T06:19:02.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T06:19:02.167Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T06:19:02.167Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T06:19:02.167Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T06:19:02.167Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T06:19:02.167Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T06:19:02.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:19:02.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T06:19:02.525Z] [2022-06-23T06:19:02.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:19:02.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T06:19:02.831Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T06:19:02.831Z] 42c077c10790: Pulling fs layer [2022-06-23T06:19:02.831Z] f63e77b7563a: Pulling fs layer [2022-06-23T06:19:02.831Z] bd5fdadae976: Pulling fs layer [2022-06-23T06:19:02.831Z] 205491f53016: Pulling fs layer [2022-06-23T06:19:02.831Z] df18705c85c3: Pulling fs layer [2022-06-23T06:19:02.831Z] bdb3f477010e: Pulling fs layer [2022-06-23T06:19:02.831Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T06:19:02.831Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T06:19:02.831Z] bdb8f0575790: Pulling fs layer [2022-06-23T06:19:02.831Z] df18705c85c3: Waiting [2022-06-23T06:19:02.831Z] bdb3f477010e: Waiting [2022-06-23T06:19:02.831Z] 2c6e9b1d212d: Waiting [2022-06-23T06:19:02.831Z] 205491f53016: Waiting [2022-06-23T06:19:02.831Z] c8a8fc8e1c8f: Waiting [2022-06-23T06:19:02.831Z] bdb8f0575790: Waiting [2022-06-23T06:19:02.831Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T06:19:02.831Z] 2343380bae48: Pulling fs layer [2022-06-23T06:19:02.831Z] 386e3cb2ff24: Waiting [2022-06-23T06:19:02.831Z] f63e77b7563a: Verifying Checksum [2022-06-23T06:19:02.831Z] f63e77b7563a: Download complete [2022-06-23T06:19:02.831Z] 205491f53016: Verifying Checksum [2022-06-23T06:19:02.831Z] 205491f53016: Download complete [2022-06-23T06:19:03.094Z] df18705c85c3: Verifying Checksum [2022-06-23T06:19:03.094Z] df18705c85c3: Download complete [2022-06-23T06:19:03.094Z] bdb3f477010e: Verifying Checksum [2022-06-23T06:19:03.094Z] bd5fdadae976: Verifying Checksum [2022-06-23T06:19:03.094Z] bd5fdadae976: Download complete [2022-06-23T06:19:03.094Z] 2c6e9b1d212d: Download complete [2022-06-23T06:19:03.094Z] bdb8f0575790: Download complete [2022-06-23T06:19:03.094Z] 386e3cb2ff24: Download complete [2022-06-23T06:19:03.094Z] 2343380bae48: Download complete [2022-06-23T06:19:03.094Z] 42c077c10790: Download complete [2022-06-23T06:19:03.364Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-23T06:19:03.364Z] c8a8fc8e1c8f: Download complete [2022-06-23T06:19:04.753Z] 42c077c10790: Pull complete [2022-06-23T06:19:04.753Z] f63e77b7563a: Pull complete [2022-06-23T06:19:05.325Z] bd5fdadae976: Pull complete [2022-06-23T06:19:05.325Z] 205491f53016: Pull complete [2022-06-23T06:19:05.586Z] df18705c85c3: Pull complete [2022-06-23T06:19:05.586Z] bdb3f477010e: Pull complete [2022-06-23T06:19:07.505Z] c8a8fc8e1c8f: Pull complete [2022-06-23T06:19:07.505Z] 2c6e9b1d212d: Pull complete [2022-06-23T06:19:07.766Z] bdb8f0575790: Pull complete [2022-06-23T06:19:07.766Z] 386e3cb2ff24: Pull complete [2022-06-23T06:19:08.029Z] 2343380bae48: Pull complete [2022-06-23T06:19:08.029Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T06:19:08.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T06:19:08.029Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:19:08.137Z] prd-ubuntu20.04-docker-8c-8g-15431 does not seem to be running inside a container [2022-06-23T06:19:08.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T06:19:09.842Z] $ docker top 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 -eo pid,comm [2022-06-23T06:19:09.904Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-23T06:19:09.904Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T06:19:09.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T06:19:09.940Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T06:19:10.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T06:19:10.105Z] $ docker exec 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 ssh-agent [2022-06-23T06:19:10.223Z] SSH_AUTH_SOCK=/tmp/ssh-LN7jESqdEq8e/agent.32 [2022-06-23T06:19:10.223Z] SSH_AGENT_PID=38 [2022-06-23T06:19:10.230Z] Running ssh-add (command line suppressed) [2022-06-23T06:19:10.345Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_903087067340372182.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_903087067340372182.key) [2022-06-23T06:19:10.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T06:19:10.654Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T06:19:10.675Z] $ docker exec --env ******** --env ******** 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 ssh-agent -k [2022-06-23T06:19:10.787Z] unset SSH_AUTH_SOCK; [2022-06-23T06:19:10.787Z] unset SSH_AGENT_PID; [2022-06-23T06:19:10.787Z] echo Agent pid 38 killed; [2022-06-23T06:19:10.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T06:19:10.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T06:19:10.820Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T06:19:10.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T06:19:10.944Z] $ docker exec 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 ssh-agent [2022-06-23T06:19:11.084Z] SSH_AUTH_SOCK=/tmp/ssh-SChjBvKxHif8/agent.71 [2022-06-23T06:19:11.084Z] SSH_AGENT_PID=78 [2022-06-23T06:19:11.096Z] Running ssh-add (command line suppressed) [2022-06-23T06:19:11.211Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_212376484452255962.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_212376484452255962.key) [2022-06-23T06:19:11.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T06:19:11.507Z] + git semver init [2022-06-23T06:19:11.767Z] 2022-06-23 06:19:11,698 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T06:19:11.767Z] 2022-06-23 06:19:11,699 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-23T06:19:11.767Z] 2022-06-23 06:19:11,699 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-23T06:19:11.768Z] 2022-06-23 06:19:11,700 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,298 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,299 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,303 [execute] INFO git cat-file --batch-check [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,310 [execute] INFO git cat-file --batch [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T06:19:12.338Z] 2022-06-23 06:19:12,316 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-23T06:19:12.338Z] 0.0.0 [Pipeline] } [2022-06-23T06:19:12.353Z] $ docker exec --env ******** --env ******** 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 ssh-agent -k [2022-06-23T06:19:12.466Z] unset SSH_AUTH_SOCK; [2022-06-23T06:19:12.467Z] unset SSH_AGENT_PID; [2022-06-23T06:19:12.467Z] echo Agent pid 78 killed; [2022-06-23T06:19:12.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T06:19:12.789Z] + git semver [Pipeline] } [2022-06-23T06:19:13.071Z] $ docker stop --time=1 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 [2022-06-23T06:19:14.386Z] $ docker rm -f 08f065eec27f8cf85964f759183a9fc138c6aead7e91788e137d0c422c25c768 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T06:19:14.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T06:19:14.975Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T06:19:14.978Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T06:19:15.107Z] provisioning config files... [2022-06-23T06:19:15.118Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8856431734455081005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:19:15.423Z] ---> docker-login.sh [2022-06-23T06:19:15.423Z] nexus3.edgexfoundry.org:10001 [2022-06-23T06:19:15.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:15.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:15.423Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:15.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:15.423Z] [2022-06-23T06:19:15.423Z] Login Succeeded [2022-06-23T06:19:15.423Z] nexus3.edgexfoundry.org:10002 [2022-06-23T06:19:15.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:15.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:15.684Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:15.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:15.684Z] [2022-06-23T06:19:15.684Z] Login Succeeded [2022-06-23T06:19:15.684Z] nexus3.edgexfoundry.org:10003 [2022-06-23T06:19:15.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:15.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:15.684Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:15.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:15.684Z] [2022-06-23T06:19:15.684Z] Login Succeeded [2022-06-23T06:19:15.684Z] nexus3.edgexfoundry.org:10004 [2022-06-23T06:19:15.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:15.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:15.946Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:15.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:15.946Z] [2022-06-23T06:19:15.946Z] Login Succeeded [2022-06-23T06:19:15.946Z] docker.io [2022-06-23T06:19:15.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:19:16.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:19:16.208Z] Configure a credential helper to remove this warning. See [2022-06-23T06:19:16.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:19:16.208Z] [2022-06-23T06:19:16.208Z] Login Succeeded [2022-06-23T06:19:16.208Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T06:19:16.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T06:19:16.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T06:19:16.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T06:19:16.291Z] ========================================================= [2022-06-23T06:19:16.291Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T06:19:16.291Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:19:16.604Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T06:19:16.604Z] Sending build context to Docker daemon 726kB [2022-06-23T06:19:16.604Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T06:19:16.604Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T06:19:16.604Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T06:19:16.604Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T06:19:16.604Z] 666ba61612fd: Pulling fs layer [2022-06-23T06:19:16.604Z] 8ed8ca486205: Pulling fs layer [2022-06-23T06:19:16.604Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T06:19:16.604Z] c516ae0d96e1: Pulling fs layer [2022-06-23T06:19:16.604Z] 684cea983483: Pulling fs layer [2022-06-23T06:19:16.604Z] dd3240ac7de5: Pulling fs layer [2022-06-23T06:19:16.604Z] b1e948a4e11c: Pulling fs layer [2022-06-23T06:19:16.604Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T06:19:16.604Z] 646ad004c059: Pulling fs layer [2022-06-23T06:19:16.604Z] cc1cd167ecdc: Waiting [2022-06-23T06:19:16.604Z] c516ae0d96e1: Waiting [2022-06-23T06:19:16.604Z] 684cea983483: Waiting [2022-06-23T06:19:16.604Z] a8fd76ee1af6: Waiting [2022-06-23T06:19:16.604Z] 646ad004c059: Waiting [2022-06-23T06:19:16.604Z] b1e948a4e11c: Waiting [2022-06-23T06:19:16.604Z] 8ed8ca486205: Verifying Checksum [2022-06-23T06:19:16.604Z] 8ed8ca486205: Download complete [2022-06-23T06:19:16.604Z] 666ba61612fd: Download complete [2022-06-23T06:19:16.604Z] c516ae0d96e1: Verifying Checksum [2022-06-23T06:19:16.604Z] c516ae0d96e1: Download complete [2022-06-23T06:19:16.604Z] 684cea983483: Verifying Checksum [2022-06-23T06:19:16.604Z] 684cea983483: Download complete [2022-06-23T06:19:16.604Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T06:19:16.604Z] 59bf1c3509f3: Download complete [2022-06-23T06:19:16.604Z] dd3240ac7de5: Verifying Checksum [2022-06-23T06:19:16.604Z] dd3240ac7de5: Download complete [2022-06-23T06:19:16.869Z] b1e948a4e11c: Verifying Checksum [2022-06-23T06:19:16.869Z] b1e948a4e11c: Download complete [2022-06-23T06:19:16.869Z] 59bf1c3509f3: Pull complete [2022-06-23T06:19:17.129Z] 666ba61612fd: Pull complete [2022-06-23T06:19:17.129Z] 8ed8ca486205: Pull complete [2022-06-23T06:19:17.129Z] 646ad004c059: Verifying Checksum [2022-06-23T06:19:17.129Z] 646ad004c059: Download complete [2022-06-23T06:19:17.395Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T06:19:17.395Z] a8fd76ee1af6: Download complete [2022-06-23T06:19:17.395Z] cc1cd167ecdc: Download complete [2022-06-23T06:19:21.587Z] cc1cd167ecdc: Pull complete [2022-06-23T06:19:21.587Z] c516ae0d96e1: Pull complete [2022-06-23T06:19:21.587Z] 684cea983483: Pull complete [2022-06-23T06:19:21.587Z] dd3240ac7de5: Pull complete [2022-06-23T06:19:21.587Z] b1e948a4e11c: Pull complete [2022-06-23T06:19:23.502Z] a8fd76ee1af6: Pull complete [2022-06-23T06:19:24.445Z] 646ad004c059: Pull complete [2022-06-23T06:19:24.445Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T06:19:24.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T06:19:24.445Z] ---> 8f69c11f6b0c [2022-06-23T06:19:24.445Z] Step 3/12 : ARG MAKE="make build" [2022-06-23T06:19:26.368Z] ---> Running in 7a5e1cb2243f [2022-06-23T06:19:26.368Z] Removing intermediate container 7a5e1cb2243f [2022-06-23T06:19:26.368Z] ---> 1b8e930ca587 [2022-06-23T06:19:26.368Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T06:19:26.368Z] ---> Running in 70c3ee16f68a [2022-06-23T06:19:26.368Z] Removing intermediate container 70c3ee16f68a [2022-06-23T06:19:26.368Z] ---> c91180eb1213 [2022-06-23T06:19:26.368Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-23T06:19:26.368Z] ---> Running in 37876ef55165 [2022-06-23T06:19:26.368Z] Removing intermediate container 37876ef55165 [2022-06-23T06:19:26.368Z] ---> 4ba5c76a5d56 [2022-06-23T06:19:26.368Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T06:19:26.368Z] ---> Running in d71f4b006e39 [2022-06-23T06:19:26.936Z] Removing intermediate container d71f4b006e39 [2022-06-23T06:19:26.936Z] ---> 894245afec1c [2022-06-23T06:19:26.936Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T06:19:26.936Z] ---> Running in 862d07d03c96 [2022-06-23T06:19:27.506Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T06:19:28.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T06:19:28.336Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-23T06:19:28.596Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-23T06:19:28.596Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-23T06:19:28.596Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-23T06:19:28.857Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-23T06:19:28.857Z] (6/81) Installing libxcb (1.14-r2) [2022-06-23T06:19:28.857Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-23T06:19:29.118Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-23T06:19:29.118Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-23T06:19:29.118Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-23T06:19:29.379Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-23T06:19:29.379Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-23T06:19:29.379Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-23T06:19:29.639Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-23T06:19:29.639Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-23T06:19:29.639Z] (16/81) Installing libice (1.0.10-r0) [2022-06-23T06:19:29.900Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-23T06:19:29.900Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-23T06:19:29.900Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-23T06:19:30.081Z] Still waiting to schedule task [2022-06-23T06:19:30.081Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15430’ [2022-06-23T06:19:30.161Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-23T06:19:30.162Z] (21/81) Installing xset (1.2.4-r0) [2022-06-23T06:19:30.162Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-23T06:19:30.421Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-23T06:19:30.421Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-23T06:19:30.421Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-23T06:19:30.682Z] (26/81) Installing libintl (0.21-r0) [2022-06-23T06:19:30.682Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-23T06:19:30.682Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-23T06:19:30.944Z] (29/81) Installing pcre (8.45-r1) [2022-06-23T06:19:30.944Z] (30/81) Installing glib (2.70.1-r0) [2022-06-23T06:19:31.206Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-23T06:19:32.154Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-23T06:19:32.154Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-23T06:19:32.154Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-23T06:19:32.725Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-23T06:19:32.725Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-23T06:19:32.725Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-23T06:19:32.725Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-23T06:19:32.986Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-23T06:19:33.246Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-23T06:19:33.246Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-23T06:19:33.508Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-23T06:19:33.508Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-23T06:19:33.508Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-23T06:19:33.769Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-23T06:19:33.769Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-23T06:19:33.769Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-23T06:19:34.030Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-23T06:19:34.030Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-23T06:19:34.290Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-23T06:19:34.290Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-23T06:19:34.290Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-23T06:19:34.550Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-23T06:19:34.550Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-23T06:19:34.550Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-23T06:19:34.810Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-23T06:19:34.810Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-23T06:19:35.070Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-23T06:19:35.070Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-23T06:19:35.070Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-23T06:19:35.330Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-23T06:19:35.330Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-23T06:19:35.330Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-23T06:19:35.590Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-23T06:19:35.590Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-23T06:19:35.590Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-23T06:19:35.852Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-23T06:19:35.852Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-23T06:19:35.852Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-23T06:19:36.113Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-23T06:19:36.113Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-23T06:19:36.113Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-23T06:19:36.373Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-23T06:19:36.946Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-23T06:19:36.946Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-23T06:19:36.946Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-23T06:19:36.946Z] Executing udev-init-scripts-35-r0.post-install [2022-06-23T06:19:37.205Z] (77/81) Installing kmod-libs (29-r2) [2022-06-23T06:19:37.205Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-23T06:19:37.205Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-23T06:19:37.466Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-23T06:19:37.466Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-23T06:19:37.466Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T06:19:37.466Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-23T06:19:37.466Z] OK: 335 MiB in 133 packages [2022-06-23T06:19:40.013Z] Removing intermediate container 862d07d03c96 [2022-06-23T06:19:40.013Z] ---> d8bfd1824fa3 [2022-06-23T06:19:40.013Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-23T06:19:40.013Z] ---> Running in 11a2d0e8f43c [2022-06-23T06:19:40.013Z] Removing intermediate container 11a2d0e8f43c [2022-06-23T06:19:40.013Z] ---> c8ca4b72ae41 [2022-06-23T06:19:40.013Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-23T06:19:40.013Z] ---> 6cbaf3ad9e92 [2022-06-23T06:19:40.013Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T06:19:40.013Z] ---> Running in 6f96d79393e0 [2022-06-23T06:19:54.920Z] Removing intermediate container 6f96d79393e0 [2022-06-23T06:19:54.920Z] ---> da7ed2acefc7 [2022-06-23T06:19:54.920Z] Step 11/12 : COPY . . [2022-06-23T06:19:54.920Z] ---> a53906c9925f [2022-06-23T06:19:54.920Z] Step 12/12 : RUN ${MAKE} [2022-06-23T06:19:54.920Z] ---> Running in 78407698199a [2022-06-23T06:19:54.920Z] noop [2022-06-23T06:19:54.920Z] Removing intermediate container 78407698199a [2022-06-23T06:19:54.920Z] ---> 29428cab7286 [2022-06-23T06:19:54.920Z] Successfully built 29428cab7286 [2022-06-23T06:19:54.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:19:55.245Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T06:19:55.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:19:55.332Z] prd-ubuntu20.04-docker-8c-8g-15431 does not seem to be running inside a container [2022-06-23T06:19:55.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T06:19:55.806Z] $ docker top 6f45afc43bb00ae214a748dff5a6d1368ef34f2ab717b1b61f51e197b7ff162a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T06:19:56.223Z] + go version [2022-06-23T06:19:56.223Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T06:19:56.239Z] $ docker stop --time=1 6f45afc43bb00ae214a748dff5a6d1368ef34f2ab717b1b61f51e197b7ff162a [2022-06-23T06:19:57.532Z] $ docker rm -f 6f45afc43bb00ae214a748dff5a6d1368ef34f2ab717b1b61f51e197b7ff162a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:19:57.951Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T06:19:57.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:19:58.030Z] prd-ubuntu20.04-docker-8c-8g-15431 does not seem to be running inside a container [2022-06-23T06:19:58.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T06:19:58.466Z] $ docker top 0db29ce3e07d580504b0bb1c4e2005b267c906440ad49d54a5e6eb37a953e652 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T06:19:58.825Z] + make test [2022-06-23T06:19:58.825Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-23T06:19:59.084Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-23T06:20:09.075Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-23T06:20:09.075Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-23T06:20:14.350Z] CGO_ENABLED=1 go vet ./... [2022-06-23T06:20:17.640Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T06:20:17.640Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T06:20:17.640Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T06:20:18.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T06:20:18.244Z] $ docker stop --time=1 0db29ce3e07d580504b0bb1c4e2005b267c906440ad49d54a5e6eb37a953e652 [2022-06-23T06:20:20.218Z] $ docker rm -f 0db29ce3e07d580504b0bb1c4e2005b267c906440ad49d54a5e6eb37a953e652 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T06:20:20.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T06:20:20.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T06:20:21.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T06:20:21.419Z] + ls -al . [2022-06-23T06:20:21.420Z] total 168 [2022-06-23T06:20:21.420Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 06:20 . [2022-06-23T06:20:21.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:18 .. [2022-06-23T06:20:21.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:19 .git [2022-06-23T06:20:21.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:18 .github [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 23 06:18 .gitignore [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 06:18 .golangci.yml [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 06:18 .hadolint.yml [2022-06-23T06:20:21.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 06:19 .semver [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 06:18 Attribution.txt [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 06:18 CHANGELOG.md [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 06:18 Dockerfile [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 06:18 GOVERNANCE.md [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 06:18 Jenkinsfile [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 06:18 LICENSE [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 06:18 Makefile [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 06:18 OWNERS.md [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 06:18 README.md [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:19 VERSION [2022-06-23T06:20:21.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:18 bin [2022-06-23T06:20:21.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:18 cmd [2022-06-23T06:20:21.420Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 23 06:19 coverage.out [2022-06-23T06:20:21.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:18 docker-compose [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:18 docker-entrypoint.sh [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 06:18 go.mod [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 06:18 go.sum [2022-06-23T06:20:21.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:18 internal [2022-06-23T06:20:21.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:18 snap [2022-06-23T06:20:21.420Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 06:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:20:21.728Z] + 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=4eb0471e57f59faa89c716a687e572d940a3caf1 --label arch=amd64 --label version=0.0.0 . [2022-06-23T06:20:21.728Z] Sending build context to Docker daemon 727kB [2022-06-23T06:20:21.728Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T06:20:21.728Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-23T06:20:21.728Z] ---> 29428cab7286 [2022-06-23T06:20:21.728Z] Step 3/29 : ARG MAKE="make build" [2022-06-23T06:20:21.728Z] ---> Running in 0a0726eeab01 [2022-06-23T06:20:21.990Z] Removing intermediate container 0a0726eeab01 [2022-06-23T06:20:21.990Z] ---> 2b9c453e95ac [2022-06-23T06:20:21.990Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T06:20:21.990Z] ---> Running in 5c04d48ca422 [2022-06-23T06:20:21.990Z] Removing intermediate container 5c04d48ca422 [2022-06-23T06:20:21.990Z] ---> cfa32c5dc70b [2022-06-23T06:20:21.990Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-23T06:20:21.990Z] ---> Running in 6903466d656a [2022-06-23T06:20:22.250Z] Removing intermediate container 6903466d656a [2022-06-23T06:20:22.250Z] ---> e21a7962d325 [2022-06-23T06:20:22.250Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T06:20:22.250Z] ---> Running in 635b6bd9a0f7 [2022-06-23T06:20:22.821Z] Removing intermediate container 635b6bd9a0f7 [2022-06-23T06:20:22.821Z] ---> e1817d969bfb [2022-06-23T06:20:22.821Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T06:20:22.821Z] ---> Running in 7ca6ad065ddb [2022-06-23T06:20:23.093Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T06:20:24.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T06:20:24.319Z] OK: 335 MiB in 133 packages [2022-06-23T06:20:24.579Z] Removing intermediate container 7ca6ad065ddb [2022-06-23T06:20:24.579Z] ---> 53818ffe937b [2022-06-23T06:20:24.579Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-23T06:20:24.579Z] ---> Running in 7a5633b66f70 [2022-06-23T06:20:24.838Z] Removing intermediate container 7a5633b66f70 [2022-06-23T06:20:24.838Z] ---> 3efdaed9d283 [2022-06-23T06:20:24.838Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-23T06:20:24.838Z] ---> 54c29146fe0f [2022-06-23T06:20:24.838Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T06:20:24.838Z] ---> Running in 939780de3bde [2022-06-23T06:20:25.775Z] Removing intermediate container 939780de3bde [2022-06-23T06:20:25.775Z] ---> 3307b3e667cb [2022-06-23T06:20:25.775Z] Step 11/29 : COPY . . [2022-06-23T06:20:25.775Z] ---> e998e5f4f6a4 [2022-06-23T06:20:25.775Z] Step 12/29 : RUN ${MAKE} [2022-06-23T06:20:25.775Z] ---> Running in bd1997438324 [2022-06-23T06:20:26.034Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-23T06:20:47.980Z] Removing intermediate container bd1997438324 [2022-06-23T06:20:47.980Z] ---> 19483614a1f3 [2022-06-23T06:20:47.980Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-23T06:20:47.980Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-23T06:20:47.980Z] af6660deedbd: Pulling fs layer [2022-06-23T06:20:47.980Z] 97cd0a44c592: Pulling fs layer [2022-06-23T06:20:47.980Z] 97cd0a44c592: Verifying Checksum [2022-06-23T06:20:47.980Z] 97cd0a44c592: Download complete [2022-06-23T06:20:47.980Z] af6660deedbd: Verifying Checksum [2022-06-23T06:20:47.980Z] af6660deedbd: Download complete [2022-06-23T06:20:47.980Z] af6660deedbd: Pull complete [2022-06-23T06:20:47.980Z] 97cd0a44c592: Pull complete [2022-06-23T06:20:47.980Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-23T06:20:47.980Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-23T06:20:47.980Z] ---> fea57e182299 [2022-06-23T06:20:47.980Z] Step 14/29 : FROM alpine:3.15 [2022-06-23T06:20:47.980Z] 3.15: Pulling from library/alpine [2022-06-23T06:20:47.980Z] df9b9388f04a: Pulling fs layer [2022-06-23T06:20:47.980Z] df9b9388f04a: Verifying Checksum [2022-06-23T06:20:47.980Z] df9b9388f04a: Download complete [2022-06-23T06:20:47.980Z] df9b9388f04a: Pull complete [2022-06-23T06:20:47.980Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T06:20:47.980Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T06:20:47.980Z] ---> 0ac33e5f5afa [2022-06-23T06:20:47.980Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T06:20:47.980Z] ---> Running in 181467270b1f [2022-06-23T06:20:47.980Z] Removing intermediate container 181467270b1f [2022-06-23T06:20:47.980Z] ---> 32001d5185b1 [2022-06-23T06:20:47.980Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-23T06:20:47.980Z] ---> Running in c6526b53bce3 [2022-06-23T06:20:47.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T06:20:47.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T06:20:48.239Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-23T06:20:48.239Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-23T06:20:48.239Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-23T06:20:48.239Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-23T06:20:48.239Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-23T06:20:48.239Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-23T06:20:48.239Z] (7/74) Installing libxcb (1.14-r2) [2022-06-23T06:20:48.239Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-23T06:20:48.499Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-23T06:20:48.499Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-23T06:20:48.499Z] (11/74) Installing expat (2.4.7-r0) [2022-06-23T06:20:48.499Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-23T06:20:48.499Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-23T06:20:48.499Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-23T06:20:48.499Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-23T06:20:48.499Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-23T06:20:48.499Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-23T06:20:48.499Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-23T06:20:48.499Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-23T06:20:48.499Z] (20/74) Installing libintl (0.21-r0) [2022-06-23T06:20:48.499Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-23T06:20:48.499Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-23T06:20:48.499Z] (23/74) Installing pcre (8.45-r1) [2022-06-23T06:20:48.499Z] (24/74) Installing glib (2.70.1-r0) [2022-06-23T06:20:48.499Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-23T06:20:48.499Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-23T06:20:48.499Z] (27/74) Installing libass (0.15.2-r0) [2022-06-23T06:20:48.499Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-23T06:20:48.499Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-23T06:20:48.499Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-23T06:20:48.499Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-23T06:20:48.499Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-23T06:20:48.499Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-23T06:20:48.761Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-23T06:20:48.761Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-23T06:20:48.761Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-23T06:20:48.761Z] (37/74) Installing lame (3.100-r0) [2022-06-23T06:20:48.761Z] (38/74) Installing opus (1.3.1-r1) [2022-06-23T06:20:48.761Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-23T06:20:48.761Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-23T06:20:48.761Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T06:20:48.761Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T06:20:48.761Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-23T06:20:48.761Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-23T06:20:48.761Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-23T06:20:48.761Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-23T06:20:48.761Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-23T06:20:48.761Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-23T06:20:48.761Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-23T06:20:48.761Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-23T06:20:48.761Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-23T06:20:48.761Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-23T06:20:48.761Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-23T06:20:48.761Z] (54/74) Installing libva (2.13.0-r0) [2022-06-23T06:20:48.761Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-23T06:20:48.761Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-23T06:20:48.761Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-23T06:20:48.761Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-23T06:20:48.761Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-23T06:20:48.761Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-23T06:20:48.761Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-23T06:20:48.761Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-23T06:20:49.021Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-23T06:20:49.021Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-23T06:20:49.021Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-23T06:20:49.021Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-23T06:20:49.021Z] Executing udev-init-scripts-35-r0.post-install [2022-06-23T06:20:49.021Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-23T06:20:49.021Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-23T06:20:49.021Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-23T06:20:49.021Z] (70/74) Installing kmod-libs (29-r2) [2022-06-23T06:20:49.021Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-23T06:20:49.021Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-23T06:20:49.021Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-23T06:20:49.021Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-23T06:20:49.021Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T06:20:49.021Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-23T06:20:49.021Z] OK: 78 MiB in 88 packages [2022-06-23T06:20:50.404Z] Removing intermediate container c6526b53bce3 [2022-06-23T06:20:50.404Z] ---> 3039c9b7befc [2022-06-23T06:20:50.404Z] Step 17/29 : WORKDIR / [2022-06-23T06:20:50.665Z] ---> Running in 9d7e003f18d8 [2022-06-23T06:20:50.665Z] Removing intermediate container 9d7e003f18d8 [2022-06-23T06:20:50.665Z] ---> a000c0d1da5e [2022-06-23T06:20:50.665Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-23T06:20:51.236Z] ---> c36397b9fec6 [2022-06-23T06:20:51.236Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-23T06:20:51.236Z] ---> 72c53fbd4d23 [2022-06-23T06:20:51.236Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-23T06:20:51.497Z] ---> c70ab751e074 [2022-06-23T06:20:51.497Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-23T06:20:51.758Z] ---> f1f3bfb98542 [2022-06-23T06:20:51.758Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-23T06:20:51.758Z] ---> 97075fecaf5b [2022-06-23T06:20:51.758Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-23T06:20:52.329Z] ---> 732c56780490 [2022-06-23T06:20:52.329Z] Step 24/29 : EXPOSE 59983 [2022-06-23T06:20:52.329Z] ---> Running in 504fbbfba7cd [2022-06-23T06:20:52.329Z] Removing intermediate container 504fbbfba7cd [2022-06-23T06:20:52.329Z] ---> f0b7da7c4e3b [2022-06-23T06:20:52.329Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-23T06:20:52.329Z] ---> Running in e64a3564bc51 [2022-06-23T06:20:52.329Z] Removing intermediate container e64a3564bc51 [2022-06-23T06:20:52.329Z] ---> 4f8e6c5701e4 [2022-06-23T06:20:52.329Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-23T06:20:52.589Z] ---> Running in 26a63140cf45 [2022-06-23T06:20:52.589Z] Removing intermediate container 26a63140cf45 [2022-06-23T06:20:52.589Z] ---> 3550f237e418 [2022-06-23T06:20:52.589Z] Step 27/29 : LABEL arch=amd64 [2022-06-23T06:20:52.589Z] ---> Running in 4ef3fe48042f [2022-06-23T06:20:52.589Z] Removing intermediate container 4ef3fe48042f [2022-06-23T06:20:52.589Z] ---> 84cb3250ef1d [2022-06-23T06:20:52.589Z] Step 28/29 : LABEL git_sha=4eb0471e57f59faa89c716a687e572d940a3caf1 [2022-06-23T06:20:52.848Z] ---> Running in 56e16e3ad6d2 [2022-06-23T06:20:52.848Z] Removing intermediate container 56e16e3ad6d2 [2022-06-23T06:20:52.848Z] ---> c586756212d1 [2022-06-23T06:20:52.848Z] Step 29/29 : LABEL version=0.0.0 [2022-06-23T06:20:52.848Z] ---> Running in b414ddae9904 [2022-06-23T06:20:52.848Z] Removing intermediate container b414ddae9904 [2022-06-23T06:20:52.848Z] ---> 5dd7858ca7d3 [2022-06-23T06:20:52.848Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T06:20:52.848Z] Successfully built 5dd7858ca7d3 [2022-06-23T06:20:52.848Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:20:53.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T06:20:53.296Z] [2022-06-23T06:20:53.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:20:53.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T06:20:53.597Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T06:20:53.597Z] 5eb5b503b376: Pulling fs layer [2022-06-23T06:20:53.597Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T06:20:53.597Z] ec43610c2a17: Pulling fs layer [2022-06-23T06:20:53.597Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T06:20:53.597Z] 33b1e0a273af: Pulling fs layer [2022-06-23T06:20:53.597Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T06:20:53.597Z] 2f39f015ded8: Pulling fs layer [2022-06-23T06:20:53.597Z] 33b1e0a273af: Waiting [2022-06-23T06:20:53.597Z] 5d3b04190fa2: Waiting [2022-06-23T06:20:53.597Z] 3a2ae6a8a46f: Waiting [2022-06-23T06:20:53.597Z] 5c69ac0246d0: Download complete [2022-06-23T06:20:53.597Z] 3a2ae6a8a46f: Download complete [2022-06-23T06:20:53.597Z] 33b1e0a273af: Verifying Checksum [2022-06-23T06:20:53.597Z] 33b1e0a273af: Download complete [2022-06-23T06:20:53.856Z] ec43610c2a17: Verifying Checksum [2022-06-23T06:20:53.856Z] ec43610c2a17: Download complete [2022-06-23T06:20:53.856Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T06:20:53.856Z] 5d3b04190fa2: Download complete [2022-06-23T06:20:53.856Z] 5eb5b503b376: Verifying Checksum [2022-06-23T06:20:53.856Z] 5eb5b503b376: Download complete [2022-06-23T06:20:54.425Z] 2f39f015ded8: Download complete [2022-06-23T06:20:54.992Z] 5eb5b503b376: Pull complete [2022-06-23T06:20:55.251Z] 5c69ac0246d0: Pull complete [2022-06-23T06:20:55.510Z] ec43610c2a17: Pull complete [2022-06-23T06:20:55.770Z] 3a2ae6a8a46f: Pull complete [2022-06-23T06:20:55.770Z] 33b1e0a273af: Pull complete [2022-06-23T06:20:56.029Z] 5d3b04190fa2: Pull complete [2022-06-23T06:21:00.222Z] 2f39f015ded8: Pull complete [2022-06-23T06:21:00.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T06:21:00.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T06:21:00.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:21:00.331Z] prd-ubuntu20.04-docker-8c-8g-15431 does not seem to be running inside a container [2022-06-23T06:21:00.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T06:21:02.266Z] $ docker top 931902b3971f185dad416b26b63239ddeb2a63d3d96a87b2805800218567d924 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:21:02.644Z] ---> job-cost.sh [2022-06-23T06:21:02.644Z] lf-activate-venv: SKIPPING [2022-06-23T06:21:02.644Z] INFO: No Stack... [2022-06-23T06:21:02.904Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T06:21:03.475Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T06:21:03.839Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-06-23T06:21:03.839Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T06:21:03.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [2022-06-23T06:21:03.855Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] did not exist. Created. [2022-06-23T06:21:03.856Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T06:21:04.168Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T06:21:04.200Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T06:21:04.206Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T06:21:04.228Z] $ docker stop --time=1 931902b3971f185dad416b26b63239ddeb2a63d3d96a87b2805800218567d924 [2022-06-23T06:21:05.388Z] $ docker rm -f 931902b3971f185dad416b26b63239ddeb2a63d3d96a87b2805800218567d924 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T06:23:02.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15433 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-06-23T06:23:02.573Z] Running in /w/workspace/device-usb-camera/18 [Pipeline] { [Pipeline] checkout [2022-06-23T06:23:02.607Z] Selected Git installation does not exist. Using Default [2022-06-23T06:23:02.608Z] The recommended git tool is: NONE [2022-06-23T06:23:08.846Z] using credential edgex-jenkins-ssh [2022-06-23T06:23:08.863Z] Cloning the remote Git repository [2022-06-23T06:23:08.980Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-23T06:23:09.098Z] > git init /w/workspace/device-usb-camera/18 # timeout=10 [2022-06-23T06:23:09.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-23T06:23:09.234Z] > git --version # timeout=10 [2022-06-23T06:23:09.256Z] > git --version # 'git version 2.25.1' [2022-06-23T06:23:09.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T06:23:09.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T06:23:09.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-23T06:23:09.949Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T06:23:09.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-23T06:23:10.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-23T06:23:10.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T06:23:10.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-23T06:23:10.541Z] Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 [2022-06-23T06:23:10.797Z] Merge succeeded, producing 1615f75c2d467b216d93f74a687480bae31825e7 [2022-06-23T06:23:10.797Z] Checking out Revision 1615f75c2d467b216d93f74a687480bae31825e7 (PR-30) [2022-06-23T06:23:10.563Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T06:23:10.581Z] > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # timeout=10 [2022-06-23T06:23:10.679Z] > git remote # timeout=10 [2022-06-23T06:23:10.698Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T06:23:10.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T06:23:10.723Z] > git merge 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 [2022-06-23T06:23:10.781Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T06:23:10.807Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T06:23:10.824Z] > git checkout -f 1615f75c2d467b216d93f74a687480bae31825e7 # timeout=10 [2022-06-23T06:23:15.066Z] Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" [2022-06-23T06:23:15.093Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T06:23:16.039Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T06:23:16.039Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T06:23:16.039Z] Dload Upload Total Spent Left Speed [2022-06-23T06:23:16.039Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10505 0 0 86818 0 --:--:-- --:--:-- --:--:-- 86106 100 12253 100 12253 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [2022-06-23T06:23:15.078Z] > git rev-list --no-walk d4dd8483b739df68a0ab70cf602bdc121355af4d # timeout=10 [Pipeline] sh [2022-06-23T06:23:16.807Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T06:23:17.160Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T06:23:17.160Z] + sudo tee /etc/docker/daemon.new [2022-06-23T06:23:17.160Z] { [2022-06-23T06:23:17.160Z] "registry-mirrors": [ [2022-06-23T06:23:17.160Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T06:23:17.160Z] ], [2022-06-23T06:23:17.160Z] "bip": "10.250.0.254/24", [2022-06-23T06:23:17.160Z] "hosts": [ [2022-06-23T06:23:17.160Z] "tcp://0.0.0.0:5555", [2022-06-23T06:23:17.160Z] "unix:///var/run/docker.sock" [2022-06-23T06:23:17.160Z] ], [2022-06-23T06:23:17.160Z] "mtu": 1458, [2022-06-23T06:23:17.160Z] "selinux-enabled": true, [2022-06-23T06:23:17.160Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T06:23:17.160Z] } [Pipeline] sh [2022-06-23T06:23:17.507Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T06:23:17.845Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T06:23:36.206Z] provisioning config files... [2022-06-23T06:23:36.230Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/18@tmp/config5816803287364120543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:23:36.593Z] ---> docker-login.sh [2022-06-23T06:23:36.593Z] nexus3.edgexfoundry.org:10001 [2022-06-23T06:23:37.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:23:37.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:23:37.464Z] Configure a credential helper to remove this warning. See [2022-06-23T06:23:37.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:23:37.464Z] [2022-06-23T06:23:37.464Z] Login Succeeded [2022-06-23T06:23:37.464Z] nexus3.edgexfoundry.org:10002 [2022-06-23T06:23:37.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:23:37.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:23:37.745Z] Configure a credential helper to remove this warning. See [2022-06-23T06:23:37.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:23:37.745Z] [2022-06-23T06:23:37.745Z] Login Succeeded [2022-06-23T06:23:37.745Z] nexus3.edgexfoundry.org:10003 [2022-06-23T06:23:38.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:23:38.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:23:38.340Z] Configure a credential helper to remove this warning. See [2022-06-23T06:23:38.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:23:38.340Z] [2022-06-23T06:23:38.340Z] Login Succeeded [2022-06-23T06:23:38.340Z] nexus3.edgexfoundry.org:10004 [2022-06-23T06:23:38.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:23:38.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:23:38.888Z] Configure a credential helper to remove this warning. See [2022-06-23T06:23:38.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:23:38.888Z] [2022-06-23T06:23:38.888Z] Login Succeeded [2022-06-23T06:23:38.888Z] docker.io [2022-06-23T06:23:39.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T06:23:39.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T06:23:39.430Z] Configure a credential helper to remove this warning. See [2022-06-23T06:23:39.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T06:23:39.430Z] [2022-06-23T06:23:39.430Z] Login Succeeded [2022-06-23T06:23:39.430Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T06:23:39.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T06:23:39.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T06:23:39.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T06:23:39.984Z] ========================================================= [2022-06-23T06:23:39.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T06:23:39.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:23:40.365Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T06:23:40.641Z] Sending build context to Docker daemon 515.1kB [2022-06-23T06:23:40.641Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T06:23:40.641Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T06:23:40.922Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T06:23:40.922Z] 9b3977197b4f: Pulling fs layer [2022-06-23T06:23:40.922Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T06:23:40.922Z] 94645a83ff95: Pulling fs layer [2022-06-23T06:23:40.922Z] e6fb740bc735: Pulling fs layer [2022-06-23T06:23:40.922Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T06:23:40.922Z] 355e64cbe906: Pulling fs layer [2022-06-23T06:23:40.922Z] 63ab81a10011: Pulling fs layer [2022-06-23T06:23:40.922Z] 555d1d1c4555: Pulling fs layer [2022-06-23T06:23:40.922Z] 7d9057610161: Pulling fs layer [2022-06-23T06:23:40.922Z] e6fb740bc735: Waiting [2022-06-23T06:23:40.922Z] 3a77bd46dcc9: Waiting [2022-06-23T06:23:40.922Z] 355e64cbe906: Waiting [2022-06-23T06:23:40.922Z] 63ab81a10011: Waiting [2022-06-23T06:23:40.922Z] 555d1d1c4555: Waiting [2022-06-23T06:23:40.922Z] 7d9057610161: Waiting [2022-06-23T06:23:40.922Z] 94645a83ff95: Verifying Checksum [2022-06-23T06:23:40.922Z] 94645a83ff95: Download complete [2022-06-23T06:23:40.922Z] 1a89e8eeedd5: Download complete [2022-06-23T06:23:40.922Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T06:23:40.922Z] 3a77bd46dcc9: Download complete [2022-06-23T06:23:40.922Z] 355e64cbe906: Verifying Checksum [2022-06-23T06:23:40.922Z] 355e64cbe906: Download complete [2022-06-23T06:23:40.922Z] 9b3977197b4f: Verifying Checksum [2022-06-23T06:23:40.922Z] 9b3977197b4f: Download complete [2022-06-23T06:23:40.922Z] 63ab81a10011: Verifying Checksum [2022-06-23T06:23:40.922Z] 63ab81a10011: Download complete [2022-06-23T06:23:41.916Z] 9b3977197b4f: Pull complete [2022-06-23T06:23:42.201Z] 7d9057610161: Verifying Checksum [2022-06-23T06:23:42.201Z] 7d9057610161: Download complete [2022-06-23T06:23:42.481Z] 1a89e8eeedd5: Pull complete [2022-06-23T06:23:42.756Z] 94645a83ff95: Pull complete [2022-06-23T06:23:43.355Z] 555d1d1c4555: Verifying Checksum [2022-06-23T06:23:43.355Z] 555d1d1c4555: Download complete [2022-06-23T06:23:43.959Z] e6fb740bc735: Verifying Checksum [2022-06-23T06:23:43.959Z] e6fb740bc735: Download complete [2022-06-23T06:23:56.346Z] e6fb740bc735: Pull complete [2022-06-23T06:23:56.346Z] 3a77bd46dcc9: Pull complete [2022-06-23T06:23:56.346Z] 355e64cbe906: Pull complete [2022-06-23T06:23:56.346Z] 63ab81a10011: Pull complete [2022-06-23T06:24:01.750Z] 555d1d1c4555: Pull complete [2022-06-23T06:24:04.380Z] 7d9057610161: Pull complete [2022-06-23T06:24:04.380Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T06:24:04.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T06:24:04.380Z] ---> 819e984ddca1 [2022-06-23T06:24:04.380Z] Step 3/12 : ARG MAKE="make build" [2022-06-23T06:24:05.826Z] ---> Running in d2c3cada44a3 [2022-06-23T06:24:05.826Z] Removing intermediate container d2c3cada44a3 [2022-06-23T06:24:05.826Z] ---> 624cdf1a9411 [2022-06-23T06:24:05.826Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T06:24:06.099Z] ---> Running in 018c3615a255 [2022-06-23T06:24:06.374Z] Removing intermediate container 018c3615a255 [2022-06-23T06:24:06.374Z] ---> e7f6ba71b10d [2022-06-23T06:24:06.374Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-23T06:24:06.374Z] ---> Running in e39e44a1d8a8 [2022-06-23T06:24:06.652Z] Removing intermediate container e39e44a1d8a8 [2022-06-23T06:24:06.652Z] ---> 220972398082 [2022-06-23T06:24:06.652Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T06:24:06.652Z] ---> Running in 5c5a37fe90e1 [2022-06-23T06:24:08.648Z] Removing intermediate container 5c5a37fe90e1 [2022-06-23T06:24:08.648Z] ---> ae1ade6a92d5 [2022-06-23T06:24:08.648Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T06:24:08.648Z] ---> Running in 081e4f9b1cd7 [2022-06-23T06:24:11.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T06:24:11.884Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T06:24:12.479Z] (1/14) Installing libintl (0.21-r0) [2022-06-23T06:24:12.750Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-23T06:24:12.750Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-23T06:24:12.750Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-23T06:24:13.021Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-23T06:24:13.021Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-23T06:24:13.292Z] Executing udev-init-scripts-35-r0.post-install [2022-06-23T06:24:13.292Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-23T06:24:13.292Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-23T06:24:13.292Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-23T06:24:13.565Z] (10/14) Installing kmod-libs (29-r2) [2022-06-23T06:24:13.565Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-23T06:24:13.565Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-23T06:24:13.837Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-23T06:24:13.837Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-23T06:24:14.112Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T06:24:14.112Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-23T06:24:14.112Z] OK: 228 MiB in 66 packages [2022-06-23T06:24:15.098Z] Removing intermediate container 081e4f9b1cd7 [2022-06-23T06:24:15.098Z] ---> 78948ef3e0cc [2022-06-23T06:24:15.098Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-23T06:24:15.377Z] ---> Running in 70b42b851d15 [2022-06-23T06:24:15.658Z] Removing intermediate container 70b42b851d15 [2022-06-23T06:24:15.658Z] ---> 8e3348fbee50 [2022-06-23T06:24:15.658Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-23T06:24:16.258Z] ---> 96c24bb14aeb [2022-06-23T06:24:16.258Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T06:24:16.258Z] ---> Running in dc00399679b7 [2022-06-23T06:25:03.253Z] Removing intermediate container dc00399679b7 [2022-06-23T06:25:03.253Z] ---> 6ea0963ee022 [2022-06-23T06:25:03.253Z] Step 11/12 : COPY . . [2022-06-23T06:25:03.253Z] ---> c747e9bbd824 [2022-06-23T06:25:03.253Z] Step 12/12 : RUN ${MAKE} [2022-06-23T06:25:03.253Z] ---> Running in 68a8f2e0753c [2022-06-23T06:25:04.235Z] noop [2022-06-23T06:25:04.832Z] Removing intermediate container 68a8f2e0753c [2022-06-23T06:25:04.832Z] ---> 42fe23afce28 [2022-06-23T06:25:04.832Z] Successfully built 42fe23afce28 [2022-06-23T06:25:04.832Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:25:05.194Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T06:25:05.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:25:05.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-15433 does not seem to be running inside a container [2022-06-23T06:25:05.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/18 -v /w/workspace/device-usb-camera/18:/w/workspace/device-usb-camera/18:rw,z -v /w/workspace/device-usb-camera/18@tmp:/w/workspace/device-usb-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T06:25:06.750Z] $ docker top 635f3c5c7a624355bd383e53c52b46ccd07bb26262aa466a0f524de3829e64b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T06:25:07.641Z] + go version [2022-06-23T06:25:07.641Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T06:25:07.668Z] $ docker stop --time=1 635f3c5c7a624355bd383e53c52b46ccd07bb26262aa466a0f524de3829e64b3 [2022-06-23T06:25:09.271Z] $ docker rm -f 635f3c5c7a624355bd383e53c52b46ccd07bb26262aa466a0f524de3829e64b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:25:09.881Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T06:25:09.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:25:10.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-15433 does not seem to be running inside a container [2022-06-23T06:25:10.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/18 -v /w/workspace/device-usb-camera/18:/w/workspace/device-usb-camera/18:rw,z -v /w/workspace/device-usb-camera/18@tmp:/w/workspace/device-usb-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T06:25:11.368Z] $ docker top 58200c8a4cc5d55611f7964391f1e69cd4563b2d69865b7c3e3744d57e084e9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T06:25:12.258Z] + make test [2022-06-23T06:25:12.258Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-23T06:25:13.696Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-23T06:26:35.533Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-23T06:26:35.533Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-23T06:26:35.533Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T06:26:35.533Z] CGO_ENABLED=1 go vet ./... [2022-06-23T06:27:02.335Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T06:27:02.335Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T06:27:02.335Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T06:27:02.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T06:27:02.379Z] $ docker stop --time=1 58200c8a4cc5d55611f7964391f1e69cd4563b2d69865b7c3e3744d57e084e9d [2022-06-23T06:27:04.146Z] $ docker rm -f 58200c8a4cc5d55611f7964391f1e69cd4563b2d69865b7c3e3744d57e084e9d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T06:27:05.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T06:27:05.107Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T06:27:05.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T06:27:05.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T06:27:06.256Z] + ls -al . [2022-06-23T06:27:06.256Z] total 164 [2022-06-23T06:27:06.256Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 06:27 . [2022-06-23T06:27:06.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:23 .. [2022-06-23T06:27:06.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:23 .git [2022-06-23T06:27:06.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:23 .github [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 23 06:23 .gitignore [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 06:23 .golangci.yml [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 06:23 .hadolint.yml [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 06:23 Attribution.txt [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 06:23 CHANGELOG.md [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 06:23 Dockerfile [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 06:23 GOVERNANCE.md [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 06:23 Jenkinsfile [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 06:23 LICENSE [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 06:23 Makefile [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 06:23 OWNERS.md [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 06:23 README.md [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:19 VERSION [2022-06-23T06:27:06.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:23 bin [2022-06-23T06:27:06.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:23 cmd [2022-06-23T06:27:06.256Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 23 06:25 coverage.out [2022-06-23T06:27:06.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:23 docker-compose [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:23 docker-entrypoint.sh [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 06:23 go.mod [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 06:23 go.sum [2022-06-23T06:27:06.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:23 internal [2022-06-23T06:27:06.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:23 snap [2022-06-23T06:27:06.256Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 06:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:27:06.610Z] + 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=1615f75c2d467b216d93f74a687480bae31825e7 --label arch=arm64 --label version=0.0.0 . [2022-06-23T06:27:06.888Z] Sending build context to Docker daemon 516.1kB [2022-06-23T06:27:06.888Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T06:27:06.888Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-23T06:27:06.888Z] ---> 42fe23afce28 [2022-06-23T06:27:06.888Z] Step 3/29 : ARG MAKE="make build" [2022-06-23T06:27:07.165Z] ---> Running in 331dc23081c9 [2022-06-23T06:27:07.438Z] Removing intermediate container 331dc23081c9 [2022-06-23T06:27:07.438Z] ---> 4b2bda819b37 [2022-06-23T06:27:07.438Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T06:27:07.438Z] ---> Running in 600123bd74fd [2022-06-23T06:27:07.714Z] Removing intermediate container 600123bd74fd [2022-06-23T06:27:07.714Z] ---> 0b5eb5f59e7e [2022-06-23T06:27:07.714Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-23T06:27:07.714Z] ---> Running in 5f1c00a99ff8 [2022-06-23T06:27:07.989Z] Removing intermediate container 5f1c00a99ff8 [2022-06-23T06:27:07.989Z] ---> 74659fc5c879 [2022-06-23T06:27:07.989Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T06:27:08.264Z] ---> Running in 7585f63d6ce1 [2022-06-23T06:27:09.701Z] Removing intermediate container 7585f63d6ce1 [2022-06-23T06:27:09.701Z] ---> ca07f6c58427 [2022-06-23T06:27:09.701Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T06:27:09.985Z] ---> Running in 7934ca831c7e [2022-06-23T06:27:10.982Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T06:27:11.577Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T06:27:12.555Z] OK: 228 MiB in 66 packages [2022-06-23T06:27:13.163Z] Removing intermediate container 7934ca831c7e [2022-06-23T06:27:13.163Z] ---> af817206deb0 [2022-06-23T06:27:13.163Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-23T06:27:13.437Z] ---> Running in 3f858c26921a [2022-06-23T06:27:13.712Z] Removing intermediate container 3f858c26921a [2022-06-23T06:27:13.712Z] ---> b7a21c3d2760 [2022-06-23T06:27:13.712Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-23T06:27:14.310Z] ---> 9553b0607131 [2022-06-23T06:27:14.310Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T06:27:14.310Z] ---> Running in 1ab04597017e [2022-06-23T06:27:16.291Z] Removing intermediate container 1ab04597017e [2022-06-23T06:27:16.291Z] ---> 117d35416707 [2022-06-23T06:27:16.291Z] Step 11/29 : COPY . . [2022-06-23T06:27:17.281Z] ---> 0981d22bba9e [2022-06-23T06:27:17.282Z] Step 12/29 : RUN ${MAKE} [2022-06-23T06:27:17.282Z] ---> Running in 91b3ecd7f6b4 [2022-06-23T06:27:18.271Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-23T06:29:25.168Z] Removing intermediate container 91b3ecd7f6b4 [2022-06-23T06:29:25.168Z] ---> 0481b877a08f [2022-06-23T06:29:25.168Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-23T06:29:25.168Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-23T06:29:25.168Z] eab2503cf8f4: Pulling fs layer [2022-06-23T06:29:25.168Z] 97cd0a44c592: Pulling fs layer [2022-06-23T06:29:25.168Z] 97cd0a44c592: Download complete [2022-06-23T06:29:25.168Z] eab2503cf8f4: Verifying Checksum [2022-06-23T06:29:25.168Z] eab2503cf8f4: Download complete [2022-06-23T06:29:25.168Z] eab2503cf8f4: Pull complete [2022-06-23T06:29:25.168Z] 97cd0a44c592: Pull complete [2022-06-23T06:29:25.168Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-23T06:29:25.168Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-23T06:29:25.168Z] ---> 7f763cca56b3 [2022-06-23T06:29:25.168Z] Step 14/29 : FROM alpine:3.15 [2022-06-23T06:29:25.168Z] 3.15: Pulling from library/alpine [2022-06-23T06:29:25.168Z] 9981e73032c8: Pulling fs layer [2022-06-23T06:29:25.168Z] 9981e73032c8: Verifying Checksum [2022-06-23T06:29:25.168Z] 9981e73032c8: Download complete [2022-06-23T06:29:25.168Z] 9981e73032c8: Pull complete [2022-06-23T06:29:25.168Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T06:29:25.168Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T06:29:25.168Z] ---> 3fb3c9af89a9 [2022-06-23T06:29:25.168Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T06:29:25.168Z] ---> Running in 1d91c2a6a21d [2022-06-23T06:29:25.168Z] Removing intermediate container 1d91c2a6a21d [2022-06-23T06:29:25.168Z] ---> e7a4f6476bf2 [2022-06-23T06:29:25.168Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-23T06:29:25.168Z] ---> Running in 0231a82b602d [2022-06-23T06:29:25.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T06:29:25.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T06:29:25.169Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-23T06:29:25.169Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-23T06:29:25.169Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-23T06:29:25.169Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-23T06:29:25.169Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-23T06:29:25.169Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-23T06:29:25.169Z] (7/73) Installing libxcb (1.14-r2) [2022-06-23T06:29:25.169Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-23T06:29:25.169Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-23T06:29:25.169Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-23T06:29:25.169Z] (11/73) Installing expat (2.4.7-r0) [2022-06-23T06:29:25.169Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-23T06:29:25.169Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-23T06:29:25.169Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-23T06:29:25.169Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-23T06:29:25.169Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-23T06:29:25.169Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-23T06:29:25.169Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-23T06:29:25.169Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-23T06:29:25.169Z] (20/73) Installing libintl (0.21-r0) [2022-06-23T06:29:25.169Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-23T06:29:25.169Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-23T06:29:25.169Z] (23/73) Installing pcre (8.45-r1) [2022-06-23T06:29:25.169Z] (24/73) Installing glib (2.70.1-r0) [2022-06-23T06:29:25.169Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-23T06:29:25.169Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-23T06:29:25.169Z] (27/73) Installing libass (0.15.2-r0) [2022-06-23T06:29:25.169Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-23T06:29:25.169Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-23T06:29:25.169Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-23T06:29:25.169Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-23T06:29:25.169Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-23T06:29:25.169Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-23T06:29:25.169Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-23T06:29:25.169Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-23T06:29:25.169Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-23T06:29:25.169Z] (37/73) Installing lame (3.100-r0) [2022-06-23T06:29:25.169Z] (38/73) Installing opus (1.3.1-r1) [2022-06-23T06:29:25.169Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-23T06:29:25.169Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-23T06:29:25.169Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T06:29:25.169Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T06:29:25.169Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-23T06:29:25.169Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-23T06:29:25.169Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-23T06:29:25.169Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-23T06:29:25.169Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-23T06:29:25.169Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-23T06:29:25.169Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-23T06:29:25.169Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-23T06:29:25.169Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-23T06:29:25.169Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-23T06:29:25.169Z] (53/73) Installing libva (2.13.0-r0) [2022-06-23T06:29:25.169Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-23T06:29:25.169Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-23T06:29:25.169Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-23T06:29:25.169Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-23T06:29:25.169Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-23T06:29:25.169Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-23T06:29:25.169Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-23T06:29:25.169Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-23T06:29:25.169Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-23T06:29:25.169Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-23T06:29:25.169Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-23T06:29:25.169Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-23T06:29:25.169Z] Executing udev-init-scripts-35-r0.post-install [2022-06-23T06:29:25.169Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-23T06:29:25.169Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-23T06:29:25.169Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-23T06:29:25.169Z] (69/73) Installing kmod-libs (29-r2) [2022-06-23T06:29:25.169Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-23T06:29:25.169Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-23T06:29:25.169Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-23T06:29:25.169Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-23T06:29:25.169Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T06:29:25.169Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-23T06:29:25.169Z] OK: 67 MiB in 87 packages [2022-06-23T06:29:25.169Z] Removing intermediate container 0231a82b602d [2022-06-23T06:29:25.169Z] ---> 6d10c60ccf54 [2022-06-23T06:29:25.169Z] Step 17/29 : WORKDIR / [2022-06-23T06:29:25.169Z] ---> Running in f79e08c2fa32 [2022-06-23T06:29:25.169Z] Removing intermediate container f79e08c2fa32 [2022-06-23T06:29:25.169Z] ---> 7e617cd2f7ae [2022-06-23T06:29:25.169Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-23T06:29:27.162Z] ---> 65a2f17b7860 [2022-06-23T06:29:27.162Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-23T06:29:27.437Z] ---> 248197cd300d [2022-06-23T06:29:27.437Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-23T06:29:28.041Z] ---> 0bfca40720cc [2022-06-23T06:29:28.041Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-23T06:29:28.333Z] ---> 50b0f3afbd80 [2022-06-23T06:29:28.333Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-23T06:29:28.934Z] ---> 4f8cd47c8573 [2022-06-23T06:29:28.934Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-23T06:29:30.389Z] ---> 9c8b4493b803 [2022-06-23T06:29:30.389Z] Step 24/29 : EXPOSE 59983 [2022-06-23T06:29:30.389Z] ---> Running in 6bbaf2f915dc [2022-06-23T06:29:30.666Z] Removing intermediate container 6bbaf2f915dc [2022-06-23T06:29:30.666Z] ---> 4d67eb228b51 [2022-06-23T06:29:30.666Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-23T06:29:30.666Z] ---> Running in 725871982a43 [2022-06-23T06:29:30.946Z] Removing intermediate container 725871982a43 [2022-06-23T06:29:30.946Z] ---> 8782dc7de927 [2022-06-23T06:29:30.946Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-23T06:29:30.946Z] ---> Running in 9d41af537f72 [2022-06-23T06:29:31.220Z] Removing intermediate container 9d41af537f72 [2022-06-23T06:29:31.220Z] ---> c4ce09edd2fd [2022-06-23T06:29:31.220Z] Step 27/29 : LABEL arch=arm64 [2022-06-23T06:29:31.496Z] ---> Running in 22f114e24b56 [2022-06-23T06:29:31.770Z] Removing intermediate container 22f114e24b56 [2022-06-23T06:29:31.770Z] ---> 053b55bab975 [2022-06-23T06:29:31.770Z] Step 28/29 : LABEL git_sha=1615f75c2d467b216d93f74a687480bae31825e7 [2022-06-23T06:29:31.770Z] ---> Running in d3a6ec70ac94 [2022-06-23T06:29:32.368Z] Removing intermediate container d3a6ec70ac94 [2022-06-23T06:29:32.368Z] ---> 49516de04593 [2022-06-23T06:29:32.368Z] Step 29/29 : LABEL version=0.0.0 [2022-06-23T06:29:32.368Z] ---> Running in 76ec89581ecc [2022-06-23T06:29:32.640Z] Removing intermediate container 76ec89581ecc [2022-06-23T06:29:32.640Z] ---> 42d62f816605 [2022-06-23T06:29:32.640Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T06:29:32.640Z] Successfully built 42d62f816605 [2022-06-23T06:29:32.640Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:29:33.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T06:29:33.083Z] [2022-06-23T06:29:33.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:29:33.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T06:29:33.708Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T06:29:33.708Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T06:29:33.708Z] 04944245beec: Pulling fs layer [2022-06-23T06:29:33.708Z] 699f458cf7ca: Pulling fs layer [2022-06-23T06:29:33.708Z] 765212b225bb: Pulling fs layer [2022-06-23T06:29:33.708Z] f23df028b6ca: Pulling fs layer [2022-06-23T06:29:33.708Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T06:29:33.708Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T06:29:33.708Z] 765212b225bb: Waiting [2022-06-23T06:29:33.708Z] d65c8cfc05b1: Waiting [2022-06-23T06:29:33.708Z] f23df028b6ca: Waiting [2022-06-23T06:29:33.708Z] 2437ff75d9bd: Waiting [2022-06-23T06:29:33.708Z] 04944245beec: Verifying Checksum [2022-06-23T06:29:33.708Z] 04944245beec: Download complete [2022-06-23T06:29:33.708Z] 765212b225bb: Verifying Checksum [2022-06-23T06:29:33.708Z] 765212b225bb: Download complete [2022-06-23T06:29:33.708Z] f23df028b6ca: Verifying Checksum [2022-06-23T06:29:33.708Z] f23df028b6ca: Download complete [2022-06-23T06:29:33.708Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T06:29:33.709Z] d65c8cfc05b1: Download complete [2022-06-23T06:29:33.991Z] 699f458cf7ca: Verifying Checksum [2022-06-23T06:29:33.991Z] 699f458cf7ca: Download complete [2022-06-23T06:29:34.269Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T06:29:34.269Z] 8998bd30e6a1: Download complete [2022-06-23T06:29:36.899Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T06:29:36.899Z] 2437ff75d9bd: Download complete [2022-06-23T06:29:38.885Z] 8998bd30e6a1: Pull complete [2022-06-23T06:29:39.159Z] 04944245beec: Pull complete [2022-06-23T06:29:40.601Z] 699f458cf7ca: Pull complete [2022-06-23T06:29:40.601Z] 765212b225bb: Pull complete [2022-06-23T06:29:41.592Z] f23df028b6ca: Pull complete [2022-06-23T06:29:41.866Z] d65c8cfc05b1: Pull complete [2022-06-23T06:29:56.979Z] 2437ff75d9bd: Pull complete [2022-06-23T06:29:56.979Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T06:29:56.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T06:29:56.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:29:57.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-15433 does not seem to be running inside a container [2022-06-23T06:29:57.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/18 -v /w/workspace/device-usb-camera/18:/w/workspace/device-usb-camera/18:rw,z -v /w/workspace/device-usb-camera/18@tmp:/w/workspace/device-usb-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-23T06:29:59.871Z] $ docker top 61da8578b62cafc42556953c848da8ce005fa5e5c7ec279b841fbf9e8e7edf49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:00.783Z] ---> job-cost.sh [2022-06-23T06:30:00.783Z] lf-activate-venv: SKIPPING [2022-06-23T06:30:00.783Z] INFO: No Stack... [2022-06-23T06:30:01.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T06:30:02.036Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T06:30:02.720Z] + cut -d, -f6 [2022-06-23T06:30:02.720Z] + cat /w/workspace/device-usb-camera/18/archives/cost.csv [Pipeline] lock [2022-06-23T06:30:02.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [2022-06-23T06:30:02.787Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] did not exist. Created. [2022-06-23T06:30:02.787Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T06:30:03.467Z] /w/workspace/device-usb-camera/18@tmp/durable-62d82dcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T06:30:04.149Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T06:30:04.178Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T06:30:04.224Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T06:30:04.230Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T06:30:04.250Z] $ docker stop --time=1 61da8578b62cafc42556953c848da8ce005fa5e5c7ec279b841fbf9e8e7edf49 [2022-06-23T06:30:05.700Z] $ docker rm -f 61da8578b62cafc42556953c848da8ce005fa5e5c7ec279b841fbf9e8e7edf49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-23T06:30:06.158Z] provisioning config files... [2022-06-23T06:30:06.167Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4924683491275561834tmp [Pipeline] { [Pipeline] sh [2022-06-23T06:30:06.463Z] + set +x [2022-06-23T06:30:06.463Z] + + curl -s https://codecov.io/bash [2022-06-23T06:30:06.463Z] bash -s -- [2022-06-23T06:30:06.463Z] [2022-06-23T06:30:06.463Z] _____ _ [2022-06-23T06:30:06.463Z] / ____| | | [2022-06-23T06:30:06.463Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T06:30:06.463Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T06:30:06.463Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T06:30:06.463Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T06:30:06.463Z] Bash-1.0.6 [2022-06-23T06:30:06.463Z] [2022-06-23T06:30:06.463Z] [2022-06-23T06:30:06.463Z] ==> git version 2.25.1 found [2022-06-23T06:30:06.463Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-23T06:30:06.463Z] Release-Date: 2020-01-08 [2022-06-23T06:30:06.463Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-23T06:30:06.463Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T06:30:06.463Z] ==> Jenkins CI detected. [2022-06-23T06:30:06.463Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-23T06:30:06.463Z] project root: . [2022-06-23T06:30:06.463Z] --> token set from env [2022-06-23T06:30:06.463Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T06:30:06.463Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T06:30:06.463Z] ==> Python coveragepy not found [2022-06-23T06:30:06.463Z] ==> Searching for coverage reports in: [2022-06-23T06:30:06.464Z] + . [2022-06-23T06:30:06.464Z] -> Found 1 reports [2022-06-23T06:30:06.464Z] ==> Detecting git/mercurial file structure [2022-06-23T06:30:06.464Z] ==> Reading reports [2022-06-23T06:30:06.464Z] + ./coverage.out bytes=10 [2022-06-23T06:30:06.464Z] ==> Appending adjustments [2022-06-23T06:30:06.464Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T06:30:06.725Z] + Found adjustments [2022-06-23T06:30:06.725Z] ==> Gzipping contents [2022-06-23T06:30:06.725Z] 4.0K /tmp/codecov.vbUDeR.gz [2022-06-23T06:30:06.725Z] ==> Uploading reports [2022-06-23T06:30:06.725Z] url: https://codecov.io [2022-06-23T06:30:06.725Z] query: branch=PR-30&commit=4eb0471e57f59faa89c716a687e572d940a3caf1&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-23T06:30:06.725Z] -> Pinging Codecov [2022-06-23T06:30:06.725Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=4eb0471e57f59faa89c716a687e572d940a3caf1&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-23T06:30:06.986Z] -> Uploading to [2022-06-23T06:30:06.986Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/73D8F5FF140700D3E01443B452E23636/4eb0471e57f59faa89c716a687e572d940a3caf1/52c73893-4d1b-455e-8784-221a749ded39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T063006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=616e00c67257bc1d19c1318d3641af27bf82ee522a734bf018f2384873c3b86b [2022-06-23T06:30:06.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T06:30:06.987Z] Dload Upload Total Spent Left Speed [2022-06-23T06:30:07.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1201 0 0 100 1201 0 4804 --:--:-- --:--:-- --:--:-- 4804 [2022-06-23T06:30:07.248Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/4eb0471e57f59faa89c716a687e572d940a3caf1 [Pipeline] } [2022-06-23T06:30:07.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-23T06:30:07.964Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-06-23T06:30:07.964Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-23T06:30:07.964Z] total 16 [2022-06-23T06:30:07.964Z] drwxr-xr-x 3 root root 4096 Jun 23 06:21 . [2022-06-23T06:30:07.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 23 06:21 .. [2022-06-23T06:30:07.964Z] drwxr-xr-x 2 root root 4096 Jun 23 06:21 cost [2022-06-23T06:30:07.964Z] -rw-r--r-- 1 root root 88 Jun 23 06:21 cost.csv [2022-06-23T06:30:07.964Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-23T06:30:07.964Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-23T06:30:07.964Z] total 16 [2022-06-23T06:30:07.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 06:21 . [2022-06-23T06:30:07.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 23 06:21 .. [2022-06-23T06:30:07.964Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 06:21 cost [2022-06-23T06:30:07.964Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 23 06:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:08.262Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:09.130Z] ---> package-listing.sh [2022-06-23T06:30:09.130Z] ++ facter osfamily [2022-06-23T06:30:09.130Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T06:30:09.390Z] + OS_FAMILY=debian [2022-06-23T06:30:09.390Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-23T06:30:09.390Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T06:30:09.390Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T06:30:09.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T06:30:09.390Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T06:30:09.390Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-23T06:30:09.390Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T06:30:09.390Z] + case "${OS_FAMILY}" in [2022-06-23T06:30:09.390Z] + dpkg -l [2022-06-23T06:30:09.390Z] + grep '^ii' [2022-06-23T06:30:09.390Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T06:30:09.390Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T06:30:09.390Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T06:30:09.390Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-23T06:30:09.390Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-06-23T06:30:09.390Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-06-23T06:30:09.401Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-23T06:30:09.682Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T06:30:10.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T06:30:10.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T06:30:10.327Z] prd-ubuntu20.04-docker-8c-8g-15431 does not seem to be running inside a container [2022-06-23T06:30:10.365Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T06:30:10.579Z] $ docker top f53feb44d975437429b65f187b1cdfcfe0ef4cda9c4e63fe265b2694cbe62e0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T06:30:10.932Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T06:30:11.224Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T06:30:11.519Z] + ls /var/log/sa-host [2022-06-23T06:30:11.519Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T06:30:11.593Z] provisioning config files... [2022-06-23T06:30:11.603Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config7665847590689817851tmp [Pipeline] { [Pipeline] echo [2022-06-23T06:30:11.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:11.901Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T06:30:11.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:12.244Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T06:30:12.253Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:12.540Z] ---> sudo-logs.sh [2022-06-23T06:30:12.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T06:30:12.572Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:12.860Z] ---> job-cost.sh [2022-06-23T06:30:12.860Z] lf-activate-venv: SKIPPING [2022-06-23T06:30:12.860Z] DEBUG: total: 0.2199999988079071 [2022-06-23T06:30:12.860Z] INFO: Retrieving Stack Cost... [2022-06-23T06:30:13.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T06:30:13.693Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T06:30:13.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T06:30:13.992Z] ---> logs-deploy.sh [2022-06-23T06:30:13.992Z] lf-activate-venv: SKIPPING [2022-06-23T06:30:13.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/18 [2022-06-23T06:30:13.992Z] INFO: archiving workspace using pattern(s): [2022-06-23T06:30:14.932Z] Archives upload complete. [2022-06-23T06:30:14.932Z] INFO: archiving logs to Nexus