Pull request #30 event 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 4c4ab6af09efedeff12eed0a9f83e12c8148dad6+2768fe777b79a62015a83ada07a484477a2262c1 (f9473c8959b706d261904560cbb18935348ee4dd) 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-ssh9694346764490601132.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-ssh16199774594096258788.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-ssh3384403405884353472.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-ssh994094131070909488.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-ssh8758522052624828859.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17019 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 2768fe777b79a62015a83ada07a484477a2262c1 into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 Merge succeeded, producing 569a587699d0c55d121f7e68df7494f9fbcbfa75 Checking out Revision 569a587699d0c55d121f7e68df7494f9fbcbfa75 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 # 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 2768fe777b79a62015a83ada07a484477a2262c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569a587699d0c55d121f7e68df7494f9fbcbfa75 # timeout=10 Commit message: "Merge commit '2768fe777b79a62015a83ada07a484477a2262c1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-06T15:14:59.597Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-06T15:14:59.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-06T15:14:59.676Z] ========================================================= [2022-07-06T15:14:59.676Z] EdgeX Global Pipelines Version Info [2022-07-06T15:14:59.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b25fa555ae6d2f323cfe6411f14d93679506d489 # timeout=10 [2022-07-06T15:15:00.414Z] ------------------- [2022-07-06T15:15:00.414Z] stable info: [2022-07-06T15:15:00.414Z] ------------------- [2022-07-06T15:15:00.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-06T15:15:00.414Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-06T15:15:00.414Z] Message: update stable to v1.0.234 [2022-07-06T15:15:00.986Z] ------------------- [2022-07-06T15:15:00.986Z] experimental info: [2022-07-06T15:15:00.986Z] ------------------- [2022-07-06T15:15:00.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-06T15:15:00.986Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-06T15:15:00.986Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-06T15:15:01.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-06T15:15:01.189Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-06T15:15:01.208Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-06T15:15:01.220Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-06T15:15:01.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-06T15:15:01.244Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-06T15:15:01.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-06T15:15:01.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-06T15:15:01.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-06T15:15:01.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-06T15:15:01.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-06T15:15:01.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-06T15:15:01.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-06T15:15:01.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-06T15:15:01.351Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-06T15:15:01.364Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-06T15:15:01.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T15:15:01.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T15:15:01.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-06T15:15:01.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-06T15:15:01.419Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-06T15:15:01.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-06T15:15:01.442Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-06T15:15:01.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-06T15:15:01.466Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-06T15:15:01.477Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-06T15:15:01.489Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-06T15:15:01.500Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-07-06T15:15:01.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-07-06T15:15:01.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-07-06T15:15:01.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 569a587699d0c55d121f7e68df7494f9fbcbfa75 [Pipeline] echo [2022-07-06T15:15:01.550Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 569a587 [Pipeline] echo [2022-07-06T15:15:01.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T15:15:01.600Z] provisioning config files... [2022-07-06T15:15:01.616Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6580730029701983861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:15:01.952Z] ---> docker-login.sh [2022-07-06T15:15:01.952Z] nexus3.edgexfoundry.org:10001 [2022-07-06T15:15:02.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:02.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:02.481Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:02.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:02.481Z] [2022-07-06T15:15:02.481Z] Login Succeeded [2022-07-06T15:15:02.481Z] nexus3.edgexfoundry.org:10002 [2022-07-06T15:15:02.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:02.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:02.481Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:02.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:02.481Z] [2022-07-06T15:15:02.481Z] Login Succeeded [2022-07-06T15:15:02.481Z] nexus3.edgexfoundry.org:10003 [2022-07-06T15:15:02.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:02.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:02.746Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:02.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:02.746Z] [2022-07-06T15:15:02.746Z] Login Succeeded [2022-07-06T15:15:02.746Z] nexus3.edgexfoundry.org:10004 [2022-07-06T15:15:02.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:02.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:02.746Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:02.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:02.746Z] [2022-07-06T15:15:02.746Z] Login Succeeded [2022-07-06T15:15:02.746Z] docker.io [2022-07-06T15:15:03.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:03.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:03.267Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:03.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:03.267Z] [2022-07-06T15:15:03.267Z] Login Succeeded [2022-07-06T15:15:03.267Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T15:15:03.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-06T15:15:03.645Z] + git rev-list -1 --merges 569a587699d0c55d121f7e68df7494f9fbcbfa75~1..569a587699d0c55d121f7e68df7494f9fbcbfa75 [Pipeline] echo [2022-07-06T15:15:03.766Z] -----------> git rev-list -1 --merges 569a587699d0c55d121f7e68df7494f9fbcbfa75~1..569a587699d0c55d121f7e68df7494f9fbcbfa75 569a587699d0c55d121f7e68df7494f9fbcbfa75 [2022-07-06T15:15:03.766Z] 569a587699d0c55d121f7e68df7494f9fbcbfa75 [false] [Pipeline] sh [2022-07-06T15:15:04.057Z] + git log --format=format:%s -1 569a587699d0c55d121f7e68df7494f9fbcbfa75 [Pipeline] echo [2022-07-06T15:15:04.073Z] ========================================================= [2022-07-06T15:15:04.073Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-06T15:15:04.073Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T15:15:04.411Z] + git log --format=format:%s -1 569a587699d0c55d121f7e68df7494f9fbcbfa75 [Pipeline] echo [2022-07-06T15:15:04.424Z] [semverPrep] GIT_COMMIT: 569a587699d0c55d121f7e68df7494f9fbcbfa75, Commit Message: Merge commit '2768fe777b79a62015a83ada07a484477a2262c1' into HEAD [Pipeline] echo [2022-07-06T15:15:04.431Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-06T15:15:04.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-06T15:15:04.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-06T15:15:04.786Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-06T15:15:04.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-06T15:15:04.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-06T15:15:04.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-06T15:15:04.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:15:05.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T15:15:05.200Z] [2022-07-06T15:15:05.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:15:05.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T15:15:05.506Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-06T15:15:05.506Z] 42c077c10790: Pulling fs layer [2022-07-06T15:15:05.506Z] f63e77b7563a: Pulling fs layer [2022-07-06T15:15:05.506Z] bd5fdadae976: Pulling fs layer [2022-07-06T15:15:05.506Z] 205491f53016: Pulling fs layer [2022-07-06T15:15:05.506Z] df18705c85c3: Pulling fs layer [2022-07-06T15:15:05.506Z] bdb3f477010e: Pulling fs layer [2022-07-06T15:15:05.506Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-06T15:15:05.506Z] 2c6e9b1d212d: Pulling fs layer [2022-07-06T15:15:05.506Z] bdb8f0575790: Pulling fs layer [2022-07-06T15:15:05.506Z] 386e3cb2ff24: Pulling fs layer [2022-07-06T15:15:05.506Z] 2343380bae48: Pulling fs layer [2022-07-06T15:15:05.506Z] df18705c85c3: Waiting [2022-07-06T15:15:05.506Z] bdb3f477010e: Waiting [2022-07-06T15:15:05.506Z] c8a8fc8e1c8f: Waiting [2022-07-06T15:15:05.506Z] 2c6e9b1d212d: Waiting [2022-07-06T15:15:05.506Z] 205491f53016: Waiting [2022-07-06T15:15:05.506Z] bdb8f0575790: Waiting [2022-07-06T15:15:05.506Z] 386e3cb2ff24: Waiting [2022-07-06T15:15:05.506Z] f63e77b7563a: Download complete [2022-07-06T15:15:05.770Z] 205491f53016: Verifying Checksum [2022-07-06T15:15:05.770Z] 205491f53016: Download complete [2022-07-06T15:15:05.770Z] df18705c85c3: Verifying Checksum [2022-07-06T15:15:05.770Z] df18705c85c3: Download complete [2022-07-06T15:15:05.770Z] bdb3f477010e: Verifying Checksum [2022-07-06T15:15:05.770Z] bdb3f477010e: Download complete [2022-07-06T15:15:05.770Z] bd5fdadae976: Verifying Checksum [2022-07-06T15:15:05.770Z] bd5fdadae976: Download complete [2022-07-06T15:15:05.770Z] 2c6e9b1d212d: Verifying Checksum [2022-07-06T15:15:05.770Z] 2c6e9b1d212d: Download complete [2022-07-06T15:15:05.770Z] bdb8f0575790: Verifying Checksum [2022-07-06T15:15:05.770Z] bdb8f0575790: Download complete [2022-07-06T15:15:05.770Z] 386e3cb2ff24: Verifying Checksum [2022-07-06T15:15:05.770Z] 386e3cb2ff24: Download complete [2022-07-06T15:15:05.770Z] 2343380bae48: Verifying Checksum [2022-07-06T15:15:05.770Z] 2343380bae48: Download complete [2022-07-06T15:15:06.030Z] 42c077c10790: Verifying Checksum [2022-07-06T15:15:06.030Z] 42c077c10790: Download complete [2022-07-06T15:15:06.290Z] c8a8fc8e1c8f: Download complete [2022-07-06T15:15:07.233Z] 42c077c10790: Pull complete [2022-07-06T15:15:07.494Z] f63e77b7563a: Pull complete [2022-07-06T15:15:07.757Z] bd5fdadae976: Pull complete [2022-07-06T15:15:08.018Z] 205491f53016: Pull complete [2022-07-06T15:15:08.278Z] df18705c85c3: Pull complete [2022-07-06T15:15:08.278Z] bdb3f477010e: Pull complete [2022-07-06T15:15:10.187Z] c8a8fc8e1c8f: Pull complete [2022-07-06T15:15:10.188Z] 2c6e9b1d212d: Pull complete [2022-07-06T15:15:10.448Z] bdb8f0575790: Pull complete [2022-07-06T15:15:10.448Z] 386e3cb2ff24: Pull complete [2022-07-06T15:15:10.713Z] 2343380bae48: Pull complete [2022-07-06T15:15:10.713Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-06T15:15:10.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T15:15:10.713Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:15:10.822Z] prd-ubuntu20.04-docker-8c-8g-17019 does not seem to be running inside a container [2022-07-06T15:15:10.862Z] $ 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-07-06T15:15:12.297Z] $ docker top 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 -eo pid,comm [2022-07-06T15:15:12.371Z] 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-07-06T15:15:12.371Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-06T15:15:12.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T15:15:12.411Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T15:15:12.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T15:15:12.545Z] $ docker exec 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 ssh-agent [2022-07-06T15:15:12.677Z] SSH_AUTH_SOCK=/tmp/ssh-PBDL9YBI0nUy/agent.32 [2022-07-06T15:15:12.677Z] SSH_AGENT_PID=38 [2022-07-06T15:15:12.684Z] Running ssh-add (command line suppressed) [2022-07-06T15:15:12.806Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1973503653721469622.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1973503653721469622.key) [2022-07-06T15:15:12.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T15:15:13.115Z] + git tag --points-at HEAD [Pipeline] } [2022-07-06T15:15:13.143Z] $ docker exec --env ******** --env ******** 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 ssh-agent -k [2022-07-06T15:15:13.254Z] unset SSH_AUTH_SOCK; [2022-07-06T15:15:13.259Z] unset SSH_AGENT_PID; [2022-07-06T15:15:13.259Z] echo Agent pid 38 killed; [2022-07-06T15:15:13.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-06T15:15:13.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T15:15:13.284Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T15:15:13.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T15:15:13.420Z] $ docker exec 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 ssh-agent [2022-07-06T15:15:13.546Z] SSH_AUTH_SOCK=/tmp/ssh-H3Lii1k9gjDV/agent.70 [2022-07-06T15:15:13.546Z] SSH_AGENT_PID=76 [2022-07-06T15:15:13.552Z] Running ssh-add (command line suppressed) [2022-07-06T15:15:13.676Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7267123515569030895.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7267123515569030895.key) [2022-07-06T15:15:13.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T15:15:13.984Z] + git semver init [2022-07-06T15:15:14.245Z] 2022-07-06 15:15:14,182 [run_init] DEBUG init version:0.0.0 force:False [2022-07-06T15:15:14.245Z] 2022-07-06 15:15:14,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-07-06T15:15:14.245Z] 2022-07-06 15:15:14,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-07-06T15:15:14.245Z] 2022-07-06 15:15:14,183 [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-07-06T15:15:14.817Z] 2022-07-06 15:15:14,789 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-07-06T15:15:14.817Z] 2022-07-06 15:15:14,790 [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-07-06T15:15:14.817Z] 2022-07-06 15:15:14,790 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-06T15:15:14.817Z] 2022-07-06 15:15:14,794 [execute] INFO git cat-file --batch-check [2022-07-06T15:15:14.817Z] 2022-07-06 15:15:14,795 [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-07-06T15:15:14.817Z] 2022-07-06 15:15:14,802 [execute] INFO git cat-file --batch [2022-07-06T15:15:14.817Z] 2022-07-06 15:15:14,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-07-06T15:15:14.817Z] 2022-07-06 15:15:14,808 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-06T15:15:14.817Z] 0.0.0 [Pipeline] } [2022-07-06T15:15:15.095Z] $ docker exec --env ******** --env ******** 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 ssh-agent -k [2022-07-06T15:15:15.211Z] unset SSH_AUTH_SOCK; [2022-07-06T15:15:15.212Z] unset SSH_AGENT_PID; [2022-07-06T15:15:15.212Z] echo Agent pid 76 killed; [2022-07-06T15:15:15.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-06T15:15:15.537Z] + git semver [Pipeline] } [2022-07-06T15:15:15.821Z] $ docker stop --time=1 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 [2022-07-06T15:15:17.193Z] $ docker rm -f 7d1321fbf639d7e33e1a3570cdd93e2305afa184c038f42af3bbdcb3cbae0fd2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T15:15:17.538Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-06T15:15:17.784Z] Stashed 1 file(s) [Pipeline] echo [2022-07-06T15:15:17.785Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T15:15:17.891Z] provisioning config files... [2022-07-06T15:15:17.900Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3015804570286672547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:15:18.198Z] ---> docker-login.sh [2022-07-06T15:15:18.198Z] nexus3.edgexfoundry.org:10001 [2022-07-06T15:15:18.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:18.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:18.198Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:18.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:18.198Z] [2022-07-06T15:15:18.198Z] Login Succeeded [2022-07-06T15:15:18.198Z] nexus3.edgexfoundry.org:10002 [2022-07-06T15:15:18.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:18.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:18.460Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:18.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:18.460Z] [2022-07-06T15:15:18.460Z] Login Succeeded [2022-07-06T15:15:18.460Z] nexus3.edgexfoundry.org:10003 [2022-07-06T15:15:18.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:18.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:18.460Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:18.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:18.460Z] [2022-07-06T15:15:18.460Z] Login Succeeded [2022-07-06T15:15:18.460Z] nexus3.edgexfoundry.org:10004 [2022-07-06T15:15:18.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:18.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:18.726Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:18.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:18.727Z] [2022-07-06T15:15:18.727Z] Login Succeeded [2022-07-06T15:15:18.727Z] docker.io [2022-07-06T15:15:18.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:15:18.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:15:18.987Z] Configure a credential helper to remove this warning. See [2022-07-06T15:15:18.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:15:18.987Z] [2022-07-06T15:15:18.987Z] Login Succeeded [2022-07-06T15:15:18.987Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T15:15:19.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-06T15:15:19.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T15:15:19.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T15:15:19.095Z] ========================================================= [2022-07-06T15:15:19.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-06T15:15:19.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:15:19.418Z] + 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-07-06T15:15:19.418Z] Sending build context to Docker daemon 750.1kB [2022-07-06T15:15:19.418Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T15:15:19.418Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-06T15:15:19.418Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-06T15:15:19.418Z] 59bf1c3509f3: Pulling fs layer [2022-07-06T15:15:19.418Z] 666ba61612fd: Pulling fs layer [2022-07-06T15:15:19.418Z] 8ed8ca486205: Pulling fs layer [2022-07-06T15:15:19.418Z] cc1cd167ecdc: Pulling fs layer [2022-07-06T15:15:19.418Z] c516ae0d96e1: Pulling fs layer [2022-07-06T15:15:19.418Z] 684cea983483: Pulling fs layer [2022-07-06T15:15:19.418Z] cc1cd167ecdc: Waiting [2022-07-06T15:15:19.418Z] c516ae0d96e1: Waiting [2022-07-06T15:15:19.418Z] dd3240ac7de5: Pulling fs layer [2022-07-06T15:15:19.418Z] dd3240ac7de5: Waiting [2022-07-06T15:15:19.418Z] 684cea983483: Waiting [2022-07-06T15:15:19.418Z] b1e948a4e11c: Pulling fs layer [2022-07-06T15:15:19.418Z] a8fd76ee1af6: Pulling fs layer [2022-07-06T15:15:19.418Z] 646ad004c059: Pulling fs layer [2022-07-06T15:15:19.418Z] b1e948a4e11c: Waiting [2022-07-06T15:15:19.418Z] a8fd76ee1af6: Waiting [2022-07-06T15:15:19.418Z] 646ad004c059: Waiting [2022-07-06T15:15:19.418Z] 8ed8ca486205: Verifying Checksum [2022-07-06T15:15:19.418Z] 8ed8ca486205: Download complete [2022-07-06T15:15:19.418Z] 666ba61612fd: Verifying Checksum [2022-07-06T15:15:19.418Z] 666ba61612fd: Download complete [2022-07-06T15:15:19.418Z] c516ae0d96e1: Verifying Checksum [2022-07-06T15:15:19.418Z] c516ae0d96e1: Download complete [2022-07-06T15:15:19.680Z] 684cea983483: Verifying Checksum [2022-07-06T15:15:19.680Z] 684cea983483: Download complete [2022-07-06T15:15:19.680Z] 59bf1c3509f3: Verifying Checksum [2022-07-06T15:15:19.680Z] dd3240ac7de5: Download complete [2022-07-06T15:15:19.680Z] 59bf1c3509f3: Download complete [2022-07-06T15:15:19.680Z] b1e948a4e11c: Verifying Checksum [2022-07-06T15:15:19.680Z] b1e948a4e11c: Download complete [2022-07-06T15:15:19.680Z] 59bf1c3509f3: Pull complete [2022-07-06T15:15:19.943Z] 666ba61612fd: Pull complete [2022-07-06T15:15:19.943Z] 8ed8ca486205: Pull complete [2022-07-06T15:15:20.208Z] a8fd76ee1af6: Verifying Checksum [2022-07-06T15:15:20.208Z] a8fd76ee1af6: Download complete [2022-07-06T15:15:20.469Z] 646ad004c059: Verifying Checksum [2022-07-06T15:15:20.469Z] 646ad004c059: Download complete [2022-07-06T15:15:20.469Z] cc1cd167ecdc: Verifying Checksum [2022-07-06T15:15:20.469Z] cc1cd167ecdc: Download complete [2022-07-06T15:15:24.669Z] cc1cd167ecdc: Pull complete [2022-07-06T15:15:24.669Z] c516ae0d96e1: Pull complete [2022-07-06T15:15:24.669Z] 684cea983483: Pull complete [2022-07-06T15:15:24.669Z] dd3240ac7de5: Pull complete [2022-07-06T15:15:24.669Z] b1e948a4e11c: Pull complete [2022-07-06T15:15:26.575Z] a8fd76ee1af6: Pull complete [2022-07-06T15:15:27.512Z] 646ad004c059: Pull complete [2022-07-06T15:15:27.512Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-06T15:15:27.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-06T15:15:27.512Z] ---> 8f69c11f6b0c [2022-07-06T15:15:27.512Z] Step 3/12 : ARG MAKE="make build" [2022-07-06T15:15:28.903Z] ---> Running in ffaa03c6610a [2022-07-06T15:15:28.903Z] Removing intermediate container ffaa03c6610a [2022-07-06T15:15:28.903Z] ---> e618f479c90a [2022-07-06T15:15:28.903Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T15:15:28.903Z] ---> Running in bf6f1efcd6fd [2022-07-06T15:15:29.163Z] Removing intermediate container bf6f1efcd6fd [2022-07-06T15:15:29.163Z] ---> 458a45564d3e [2022-07-06T15:15:29.163Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-06T15:15:29.163Z] ---> Running in 9486ebce3072 [2022-07-06T15:15:29.163Z] Removing intermediate container 9486ebce3072 [2022-07-06T15:15:29.163Z] ---> d95a115b74ee [2022-07-06T15:15:29.163Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T15:15:29.163Z] ---> Running in e9961f87f2d6 [2022-07-06T15:15:29.736Z] Removing intermediate container e9961f87f2d6 [2022-07-06T15:15:29.736Z] ---> 5ea785d97f8a [2022-07-06T15:15:29.736Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T15:15:29.998Z] ---> Running in a889d5c094c0 [2022-07-06T15:15:29.998Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T15:15:30.941Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T15:15:31.513Z] (1/81) Installing mesa (21.2.6-r0) [2022-07-06T15:15:31.513Z] (2/81) Installing libxau (1.0.9-r0) [2022-07-06T15:15:31.513Z] (3/81) Installing libmd (1.0.3-r0) [2022-07-06T15:15:31.774Z] (4/81) Installing libbsd (0.11.3-r1) [2022-07-06T15:15:31.774Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-07-06T15:15:31.774Z] (6/81) Installing libxcb (1.14-r2) [2022-07-06T15:15:32.035Z] (7/81) Installing libx11 (1.7.2-r0) [2022-07-06T15:15:32.035Z] (8/81) Installing libxext (1.3.4-r0) [2022-07-06T15:15:32.298Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-07-06T15:15:32.298Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-07-06T15:15:32.298Z] (11/81) Installing libpciaccess (0.16-r0) [2022-07-06T15:15:32.559Z] (12/81) Installing libdrm (2.4.109-r0) [2022-07-06T15:15:32.559Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-07-06T15:15:32.559Z] (14/81) Installing libxshmfence (1.3-r1) [2022-07-06T15:15:32.819Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-07-06T15:15:32.819Z] (16/81) Installing libice (1.0.10-r0) [2022-07-06T15:15:32.865Z] Still waiting to schedule task [2022-07-06T15:15:32.865Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-06T15:15:33.080Z] (17/81) Installing libuuid (2.37.4-r0) [2022-07-06T15:15:33.080Z] (18/81) Installing libsm (1.2.3-r0) [2022-07-06T15:15:33.080Z] (19/81) Installing libxt (1.2.1-r0) [2022-07-06T15:15:33.340Z] (20/81) Installing libxmu (1.1.3-r0) [2022-07-06T15:15:33.340Z] (21/81) Installing xset (1.2.4-r0) [2022-07-06T15:15:33.601Z] (22/81) Installing xprop (1.2.5-r0) [2022-07-06T15:15:33.601Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-07-06T15:15:33.601Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-07-06T15:15:33.861Z] (25/81) Installing libffi (3.4.2-r1) [2022-07-06T15:15:33.861Z] (26/81) Installing libintl (0.21-r0) [2022-07-06T15:15:33.861Z] (27/81) Installing libblkid (2.37.4-r0) [2022-07-06T15:15:34.122Z] (28/81) Installing libmount (2.37.4-r0) [2022-07-06T15:15:34.122Z] (29/81) Installing pcre (8.45-r1) [2022-07-06T15:15:34.387Z] (30/81) Installing glib (2.70.1-r0) [2022-07-06T15:15:34.387Z] (31/81) Installing icu-libs (69.1-r1) [2022-07-06T15:15:35.773Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-07-06T15:15:35.773Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-07-06T15:15:35.773Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-07-06T15:15:36.035Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-07-06T15:15:36.035Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-07-06T15:15:36.295Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-07-06T15:15:36.295Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-07-06T15:15:36.295Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-07-06T15:15:36.866Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-07-06T15:15:36.866Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-07-06T15:15:37.127Z] (42/81) Installing libpng (1.6.37-r1) [2022-07-06T15:15:37.127Z] (43/81) Installing freetype (2.11.1-r2) [2022-07-06T15:15:37.127Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-07-06T15:15:37.388Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-07-06T15:15:37.388Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-07-06T15:15:37.648Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-07-06T15:15:37.648Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-07-06T15:15:37.909Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-07-06T15:15:37.909Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-07-06T15:15:37.909Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-07-06T15:15:38.171Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-07-06T15:15:38.171Z] (53/81) Installing avahi-libs (0.8-r5) [2022-07-06T15:15:38.434Z] (54/81) Installing nettle (3.7.3-r0) [2022-07-06T15:15:38.434Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-07-06T15:15:38.694Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-07-06T15:15:38.694Z] (57/81) Installing libunistring (0.9.10-r1) [2022-07-06T15:15:38.694Z] (58/81) Installing gnutls (3.7.1-r0) [2022-07-06T15:15:38.954Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-07-06T15:15:38.954Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-07-06T15:15:39.214Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-07-06T15:15:39.214Z] (62/81) Installing libevdev (1.12.0-r0) [2022-07-06T15:15:39.475Z] (63/81) Installing mtdev (1.1.6-r0) [2022-07-06T15:15:39.475Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-06T15:15:39.475Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-07-06T15:15:39.737Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-07-06T15:15:39.737Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-07-06T15:15:39.998Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-07-06T15:15:39.998Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-07-06T15:15:39.998Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-06T15:15:40.258Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-06T15:15:40.258Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-07-06T15:15:40.518Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-07-06T15:15:41.090Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-07-06T15:15:41.090Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-07-06T15:15:41.351Z] (76/81) Installing udev-init-scripts (35-r0) [2022-07-06T15:15:41.351Z] Executing udev-init-scripts-35-r0.post-install [2022-07-06T15:15:41.351Z] (77/81) Installing kmod-libs (29-r2) [2022-07-06T15:15:41.351Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-07-06T15:15:41.611Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-06T15:15:41.611Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-06T15:15:41.873Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-07-06T15:15:41.873Z] Executing busybox-1.34.1-r3.trigger [2022-07-06T15:15:41.873Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-06T15:15:41.873Z] OK: 335 MiB in 133 packages [2022-07-06T15:15:43.799Z] Removing intermediate container a889d5c094c0 [2022-07-06T15:15:43.799Z] ---> 01f0d7f5fa31 [2022-07-06T15:15:43.799Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-06T15:15:44.058Z] ---> Running in bed938f206d8 [2022-07-06T15:15:44.058Z] Removing intermediate container bed938f206d8 [2022-07-06T15:15:44.058Z] ---> 0840d0ad1fe4 [2022-07-06T15:15:44.058Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-06T15:15:44.058Z] ---> 623d2e770440 [2022-07-06T15:15:44.058Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T15:15:44.318Z] ---> Running in 8bb57644c243 [2022-07-06T15:16:02.435Z] Removing intermediate container 8bb57644c243 [2022-07-06T15:16:02.435Z] ---> 754ae532999f [2022-07-06T15:16:02.435Z] Step 11/12 : COPY . . [2022-07-06T15:16:02.435Z] ---> c81534b97290 [2022-07-06T15:16:02.435Z] Step 12/12 : RUN ${MAKE} [2022-07-06T15:16:02.435Z] ---> Running in 1888a383ae0c [2022-07-06T15:16:02.435Z] noop [2022-07-06T15:16:02.435Z] Removing intermediate container 1888a383ae0c [2022-07-06T15:16:02.435Z] ---> a3bc095069be [2022-07-06T15:16:02.435Z] Successfully built a3bc095069be [2022-07-06T15:16:02.435Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:16:02.748Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T15:16:02.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:16:02.829Z] prd-ubuntu20.04-docker-8c-8g-17019 does not seem to be running inside a container [2022-07-06T15:16:02.868Z] $ 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-07-06T15:16:03.300Z] $ docker top 21d8cc8906e1f85c138f5b118e546dafe22057e69fffec77efef82f96cfe20d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T15:16:03.741Z] + go version [2022-07-06T15:16:03.741Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-06T15:16:03.754Z] $ docker stop --time=1 21d8cc8906e1f85c138f5b118e546dafe22057e69fffec77efef82f96cfe20d3 [2022-07-06T15:16:05.085Z] $ docker rm -f 21d8cc8906e1f85c138f5b118e546dafe22057e69fffec77efef82f96cfe20d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:16:05.499Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T15:16:05.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:16:05.586Z] prd-ubuntu20.04-docker-8c-8g-17019 does not seem to be running inside a container [2022-07-06T15:16:05.625Z] $ 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-07-06T15:16:06.051Z] $ docker top 7a7c72683a42df50c47ccd993945cacf17a55e4725a4e50aaef0d71c3d2b4e5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T15:16:06.419Z] + make test [2022-07-06T15:16:06.419Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-06T15:16:06.679Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-06T15:16:16.659Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-06T15:16:16.659Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-06T15:16:24.793Z] CGO_ENABLED=1 go vet ./... [2022-07-06T15:16:27.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-06T15:16:27.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-06T15:16:27.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-06T15:16:28.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-06T15:16:28.210Z] $ docker stop --time=1 7a7c72683a42df50c47ccd993945cacf17a55e4725a4e50aaef0d71c3d2b4e5a [2022-07-06T15:16:30.092Z] $ docker rm -f 7a7c72683a42df50c47ccd993945cacf17a55e4725a4e50aaef0d71c3d2b4e5a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T15:16:30.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-06T15:16:30.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-06T15:16:31.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-06T15:16:31.322Z] + ls -al . [2022-07-06T15:16:31.322Z] total 168 [2022-07-06T15:16:31.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 15:16 . [2022-07-06T15:16:31.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 15:14 .. [2022-07-06T15:16:31.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 15:15 .git [2022-07-06T15:16:31.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:14 .github [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 6 15:14 .gitignore [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 6 15:14 .golangci.yml [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 6 15:14 .hadolint.yml [2022-07-06T15:16:31.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 15:15 .semver [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 6 15:14 Attribution.txt [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 6 15:14 CHANGELOG.md [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 6 15:14 Dockerfile [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 6 15:14 GOVERNANCE.md [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 6 15:14 Jenkinsfile [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 6 15:14 LICENSE [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 6 15:14 Makefile [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 6 15:14 OWNERS.md [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 10846 Jul 6 15:14 README.md [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 15:15 VERSION [2022-07-06T15:16:31.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 15:14 bin [2022-07-06T15:16:31.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:14 cmd [2022-07-06T15:16:31.322Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 6 15:16 coverage.out [2022-07-06T15:16:31.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 15:14 docker-compose [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 15:14 docker-entrypoint.sh [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 6 15:14 go.mod [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 6 15:14 go.sum [2022-07-06T15:16:31.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:14 internal [2022-07-06T15:16:31.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 15:14 snap [2022-07-06T15:16:31.322Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 6 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:16:31.631Z] + 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=569a587699d0c55d121f7e68df7494f9fbcbfa75 --label arch=amd64 --label version=0.0.0 . [2022-07-06T15:16:31.631Z] Sending build context to Docker daemon 751.1kB [2022-07-06T15:16:31.631Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T15:16:31.631Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-06T15:16:31.631Z] ---> a3bc095069be [2022-07-06T15:16:31.631Z] Step 3/29 : ARG MAKE="make build" [2022-07-06T15:16:31.631Z] ---> Running in 34c412619c66 [2022-07-06T15:16:31.891Z] Removing intermediate container 34c412619c66 [2022-07-06T15:16:31.891Z] ---> c3c99024af53 [2022-07-06T15:16:31.891Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T15:16:31.891Z] ---> Running in d5341c113b33 [2022-07-06T15:16:31.891Z] Removing intermediate container d5341c113b33 [2022-07-06T15:16:31.891Z] ---> e019520bc5b0 [2022-07-06T15:16:31.891Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-06T15:16:31.891Z] ---> Running in 40db13998478 [2022-07-06T15:16:32.151Z] Removing intermediate container 40db13998478 [2022-07-06T15:16:32.151Z] ---> d1191232b781 [2022-07-06T15:16:32.151Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T15:16:32.152Z] ---> Running in c4f9e5ba0a79 [2022-07-06T15:16:32.723Z] Removing intermediate container c4f9e5ba0a79 [2022-07-06T15:16:32.723Z] ---> 9bff65647534 [2022-07-06T15:16:32.723Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T15:16:32.723Z] ---> Running in a83d7b9ca019 [2022-07-06T15:16:33.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T15:16:33.865Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T15:16:34.124Z] OK: 335 MiB in 133 packages [2022-07-06T15:16:34.693Z] Removing intermediate container a83d7b9ca019 [2022-07-06T15:16:34.693Z] ---> 04fbcb25dcf3 [2022-07-06T15:16:34.693Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-06T15:16:34.693Z] ---> Running in c0fff8d89c2f [2022-07-06T15:16:34.693Z] Removing intermediate container c0fff8d89c2f [2022-07-06T15:16:34.693Z] ---> f90d7f24eb41 [2022-07-06T15:16:34.693Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-06T15:16:34.953Z] ---> e9ae39c1f1a8 [2022-07-06T15:16:34.953Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T15:16:34.953Z] ---> Running in 15c83b607ad1 [2022-07-06T15:16:35.522Z] Removing intermediate container 15c83b607ad1 [2022-07-06T15:16:35.522Z] ---> a2c249c11408 [2022-07-06T15:16:35.522Z] Step 11/29 : COPY . . [2022-07-06T15:16:35.781Z] ---> 9bbdca9ca097 [2022-07-06T15:16:35.781Z] Step 12/29 : RUN ${MAKE} [2022-07-06T15:16:35.781Z] ---> Running in 29bea0daa74c [2022-07-06T15:16:36.040Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-06T15:16:57.995Z] Removing intermediate container 29bea0daa74c [2022-07-06T15:16:57.995Z] ---> 3f72cc16aa9f [2022-07-06T15:16:57.995Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-06T15:16:57.995Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-06T15:16:57.995Z] af6660deedbd: Pulling fs layer [2022-07-06T15:16:57.995Z] 97cd0a44c592: Pulling fs layer [2022-07-06T15:16:57.995Z] 97cd0a44c592: Verifying Checksum [2022-07-06T15:16:57.995Z] 97cd0a44c592: Download complete [2022-07-06T15:16:57.995Z] af6660deedbd: Download complete [2022-07-06T15:16:57.995Z] af6660deedbd: Pull complete [2022-07-06T15:16:57.995Z] 97cd0a44c592: Pull complete [2022-07-06T15:16:57.995Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-06T15:16:57.995Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-06T15:16:57.995Z] ---> fea57e182299 [2022-07-06T15:16:57.995Z] Step 14/29 : FROM alpine:3.15 [2022-07-06T15:16:57.995Z] 3.15: Pulling from library/alpine [2022-07-06T15:16:57.995Z] df9b9388f04a: Pulling fs layer [2022-07-06T15:16:57.995Z] df9b9388f04a: Verifying Checksum [2022-07-06T15:16:57.995Z] df9b9388f04a: Pull complete [2022-07-06T15:16:57.995Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-06T15:16:57.995Z] Status: Downloaded newer image for alpine:3.15 [2022-07-06T15:16:57.995Z] ---> 0ac33e5f5afa [2022-07-06T15:16:57.995Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-06T15:16:57.995Z] ---> Running in 748ac49f3ba1 [2022-07-06T15:16:57.995Z] Removing intermediate container 748ac49f3ba1 [2022-07-06T15:16:57.995Z] ---> 42c1fe6dc058 [2022-07-06T15:16:57.995Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-06T15:16:57.995Z] ---> Running in b80da56feff8 [2022-07-06T15:16:57.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T15:16:57.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T15:16:58.255Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-06T15:16:58.255Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-06T15:16:58.255Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-06T15:16:58.255Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-06T15:16:58.255Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-06T15:16:58.255Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-06T15:16:58.255Z] (7/74) Installing libxcb (1.14-r2) [2022-07-06T15:16:58.255Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-06T15:16:58.255Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-06T15:16:58.255Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-06T15:16:58.255Z] (11/74) Installing expat (2.4.7-r0) [2022-07-06T15:16:58.255Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-06T15:16:58.255Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-06T15:16:58.255Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-06T15:16:58.255Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-06T15:16:58.255Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-06T15:16:58.255Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-06T15:16:58.255Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-06T15:16:58.255Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-06T15:16:58.255Z] (20/74) Installing libintl (0.21-r0) [2022-07-06T15:16:58.255Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-06T15:16:58.255Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-06T15:16:58.255Z] (23/74) Installing pcre (8.45-r1) [2022-07-06T15:16:58.255Z] (24/74) Installing glib (2.70.1-r0) [2022-07-06T15:16:58.255Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-06T15:16:58.516Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-06T15:16:58.516Z] (27/74) Installing libass (0.15.2-r0) [2022-07-06T15:16:58.516Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-06T15:16:58.516Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-06T15:16:58.516Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-06T15:16:58.516Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-06T15:16:58.516Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-06T15:16:58.516Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-06T15:16:58.516Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-06T15:16:58.516Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-06T15:16:58.516Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-06T15:16:58.516Z] (37/74) Installing lame (3.100-r0) [2022-07-06T15:16:58.516Z] (38/74) Installing opus (1.3.1-r1) [2022-07-06T15:16:58.516Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-06T15:16:58.516Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-06T15:16:58.516Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-06T15:16:58.516Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-06T15:16:58.516Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-06T15:16:58.775Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-06T15:16:58.775Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-06T15:16:58.775Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-06T15:16:58.775Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-06T15:16:58.776Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-06T15:16:58.776Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-06T15:16:58.776Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-06T15:16:58.776Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-06T15:16:58.776Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-06T15:16:58.776Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-06T15:16:58.776Z] (54/74) Installing libva (2.13.0-r0) [2022-07-06T15:16:58.776Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-06T15:16:58.776Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-06T15:16:58.776Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-06T15:16:58.776Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-06T15:16:58.776Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-06T15:16:58.776Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-06T15:16:59.035Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-06T15:16:59.035Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-06T15:16:59.035Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-06T15:16:59.035Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-06T15:16:59.295Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-06T15:16:59.295Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-06T15:16:59.295Z] Executing udev-init-scripts-35-r0.post-install [2022-07-06T15:16:59.295Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-06T15:16:59.295Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-06T15:16:59.295Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-06T15:16:59.295Z] (70/74) Installing kmod-libs (29-r2) [2022-07-06T15:16:59.295Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-06T15:16:59.295Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-06T15:16:59.295Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-06T15:16:59.295Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-06T15:16:59.295Z] Executing busybox-1.34.1-r5.trigger [2022-07-06T15:16:59.295Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-06T15:16:59.295Z] OK: 78 MiB in 88 packages [2022-07-06T15:17:00.672Z] Removing intermediate container b80da56feff8 [2022-07-06T15:17:00.672Z] ---> b9d0d596041e [2022-07-06T15:17:00.672Z] Step 17/29 : WORKDIR / [2022-07-06T15:17:00.672Z] ---> Running in f58f313d1513 [2022-07-06T15:17:00.932Z] Removing intermediate container f58f313d1513 [2022-07-06T15:17:00.932Z] ---> e7332496d371 [2022-07-06T15:17:00.932Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-06T15:17:01.501Z] ---> c1a6676fd1c6 [2022-07-06T15:17:01.501Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-06T15:17:01.764Z] ---> 3ea9b7d038c7 [2022-07-06T15:17:01.764Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-06T15:17:01.764Z] ---> b17aa9621d8e [2022-07-06T15:17:01.764Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-06T15:17:02.028Z] ---> 9565ae536e71 [2022-07-06T15:17:02.029Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-06T15:17:02.290Z] ---> 568470190df1 [2022-07-06T15:17:02.290Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-06T15:17:02.553Z] ---> 49cc1622be38 [2022-07-06T15:17:02.553Z] Step 24/29 : EXPOSE 59983 [2022-07-06T15:17:02.816Z] ---> Running in 1673e7c3e239 [2022-07-06T15:17:02.816Z] Removing intermediate container 1673e7c3e239 [2022-07-06T15:17:02.816Z] ---> 79368f68d80e [2022-07-06T15:17:02.816Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-06T15:17:02.816Z] ---> Running in c3ff3903cbd5 [2022-07-06T15:17:03.077Z] Removing intermediate container c3ff3903cbd5 [2022-07-06T15:17:03.077Z] ---> 1628dff4528d [2022-07-06T15:17:03.077Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-06T15:17:03.077Z] ---> Running in 34c485c28af4 [2022-07-06T15:17:03.077Z] Removing intermediate container 34c485c28af4 [2022-07-06T15:17:03.077Z] ---> 3648ccd32e2b [2022-07-06T15:17:03.077Z] Step 27/29 : LABEL arch=amd64 [2022-07-06T15:17:03.077Z] ---> Running in 21d862d415b3 [2022-07-06T15:17:03.337Z] Removing intermediate container 21d862d415b3 [2022-07-06T15:17:03.337Z] ---> 0be9d6369fdd [2022-07-06T15:17:03.337Z] Step 28/29 : LABEL git_sha=569a587699d0c55d121f7e68df7494f9fbcbfa75 [2022-07-06T15:17:03.337Z] ---> Running in 74154a5926a5 [2022-07-06T15:17:03.337Z] Removing intermediate container 74154a5926a5 [2022-07-06T15:17:03.337Z] ---> 82fb115b5a09 [2022-07-06T15:17:03.337Z] Step 29/29 : LABEL version=0.0.0 [2022-07-06T15:17:03.600Z] ---> Running in 335d4873091c [2022-07-06T15:17:03.600Z] Removing intermediate container 335d4873091c [2022-07-06T15:17:03.600Z] ---> a3ff3ab905d9 [2022-07-06T15:17:03.600Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-06T15:17:03.600Z] Successfully built a3ff3ab905d9 [2022-07-06T15:17:03.600Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:17:04.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T15:17:04.074Z] [2022-07-06T15:17:04.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:17:04.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T15:17:04.382Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-06T15:17:04.382Z] 5eb5b503b376: Pulling fs layer [2022-07-06T15:17:04.382Z] 5c69ac0246d0: Pulling fs layer [2022-07-06T15:17:04.382Z] ec43610c2a17: Pulling fs layer [2022-07-06T15:17:04.382Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-06T15:17:04.382Z] 33b1e0a273af: Pulling fs layer [2022-07-06T15:17:04.382Z] 5d3b04190fa2: Pulling fs layer [2022-07-06T15:17:04.382Z] 2f39f015ded8: Pulling fs layer [2022-07-06T15:17:04.382Z] 3a2ae6a8a46f: Waiting [2022-07-06T15:17:04.382Z] 33b1e0a273af: Waiting [2022-07-06T15:17:04.382Z] 5d3b04190fa2: Waiting [2022-07-06T15:17:04.382Z] 5c69ac0246d0: Download complete [2022-07-06T15:17:04.382Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-06T15:17:04.382Z] 3a2ae6a8a46f: Download complete [2022-07-06T15:17:04.382Z] 33b1e0a273af: Verifying Checksum [2022-07-06T15:17:04.382Z] 33b1e0a273af: Download complete [2022-07-06T15:17:04.642Z] 5d3b04190fa2: Verifying Checksum [2022-07-06T15:17:04.642Z] 5d3b04190fa2: Download complete [2022-07-06T15:17:04.642Z] ec43610c2a17: Verifying Checksum [2022-07-06T15:17:04.642Z] ec43610c2a17: Download complete [2022-07-06T15:17:04.642Z] 5eb5b503b376: Download complete [2022-07-06T15:17:05.211Z] 2f39f015ded8: Download complete [2022-07-06T15:17:06.146Z] 5eb5b503b376: Pull complete [2022-07-06T15:17:06.146Z] 5c69ac0246d0: Pull complete [2022-07-06T15:17:06.714Z] ec43610c2a17: Pull complete [2022-07-06T15:17:06.714Z] 3a2ae6a8a46f: Pull complete [2022-07-06T15:17:06.714Z] 33b1e0a273af: Pull complete [2022-07-06T15:17:06.974Z] 5d3b04190fa2: Pull complete [2022-07-06T15:17:09.392Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17020 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-07-06T15:17:09.408Z] Running in /w/workspace/device-usb-camera/25 [Pipeline] { [Pipeline] checkout [2022-07-06T15:17:09.451Z] Selected Git installation does not exist. Using Default [2022-07-06T15:17:09.451Z] The recommended git tool is: NONE [2022-07-06T15:17:12.248Z] 2f39f015ded8: Pull complete [2022-07-06T15:17:12.248Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-06T15:17:12.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T15:17:12.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:17:12.349Z] prd-ubuntu20.04-docker-8c-8g-17019 does not seem to be running inside a container [2022-07-06T15:17:12.393Z] $ 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-07-06T15:17:14.092Z] $ docker top 243935903b31d798daffd3de2c768ad06a1d144c1a65af27ad8e0c53decfd2db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:17:14.499Z] ---> job-cost.sh [2022-07-06T15:17:14.500Z] lf-activate-venv: SKIPPING [2022-07-06T15:17:14.500Z] INFO: No Stack... [2022-07-06T15:17:15.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T15:17:15.329Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T15:17:15.667Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-07-06T15:17:15.667Z] + cut -d, -f6 [Pipeline] lock [2022-07-06T15:17:15.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [2022-07-06T15:17:15.684Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] did not exist. Created. [2022-07-06T15:17:15.685Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T15:17:16.043Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-06T15:17:16.068Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T15:17:16.075Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T15:17:16.096Z] $ docker stop --time=1 243935903b31d798daffd3de2c768ad06a1d144c1a65af27ad8e0c53decfd2db [2022-07-06T15:17:16.353Z] using credential edgex-jenkins-ssh [2022-07-06T15:17:16.384Z] Cloning the remote Git repository [2022-07-06T15:17:17.274Z] $ docker rm -f 243935903b31d798daffd3de2c768ad06a1d144c1a65af27ad8e0c53decfd2db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-06T15:17:16.437Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-06T15:17:16.518Z] > git init /w/workspace/device-usb-camera/25 # timeout=10 [2022-07-06T15:17:16.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-06T15:17:16.607Z] > git --version # timeout=10 [2022-07-06T15:17:16.626Z] > git --version # 'git version 2.25.1' [2022-07-06T15:17:16.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T15:17:16.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T15:17:17.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-06T15:17:17.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T15:17:17.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-06T15:17:17.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-06T15:17:17.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T15:17:17.551Z] > 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-07-06T15:17:18.069Z] Merging remotes/origin/main commit 2768fe777b79a62015a83ada07a484477a2262c1 into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 [2022-07-06T15:17:18.358Z] Merge succeeded, producing 01bc9085b9f484ad4bc095435844d325f85d4d4b [2022-07-06T15:17:18.358Z] Checking out Revision 01bc9085b9f484ad4bc095435844d325f85d4d4b (PR-30) [2022-07-06T15:17:18.090Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T15:17:18.110Z] > git checkout -f 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 # timeout=10 [2022-07-06T15:17:18.211Z] > git remote # timeout=10 [2022-07-06T15:17:18.232Z] > git config --get remote.origin.url # timeout=10 [2022-07-06T15:17:18.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T15:17:18.274Z] > git merge 2768fe777b79a62015a83ada07a484477a2262c1 # timeout=10 [2022-07-06T15:17:18.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-06T15:17:18.368Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T15:17:18.385Z] > git checkout -f 01bc9085b9f484ad4bc095435844d325f85d4d4b # timeout=10 [2022-07-06T15:17:22.592Z] Commit message: "Merge commit '2768fe777b79a62015a83ada07a484477a2262c1' into HEAD" [2022-07-06T15:17:22.618Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T15:17:22.604Z] > git rev-list --no-walk b25fa555ae6d2f323cfe6411f14d93679506d489 # timeout=10 [2022-07-06T15:17:23.595Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-06T15:17:23.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-06T15:17:23.595Z] Dload Upload Total Spent Left Speed [2022-07-06T15:17:23.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 80084 0 --:--:-- --:--:-- --:--:-- 80084 [Pipeline] sh [2022-07-06T15:17:24.312Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-06T15:17:24.652Z] + + sudo tee /etc/docker/daemon.new [2022-07-06T15:17:24.652Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-06T15:17:24.652Z] { [2022-07-06T15:17:24.652Z] "registry-mirrors": [ [2022-07-06T15:17:24.652Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-06T15:17:24.652Z] ], [2022-07-06T15:17:24.652Z] "bip": "10.250.0.254/24", [2022-07-06T15:17:24.652Z] "hosts": [ [2022-07-06T15:17:24.652Z] "tcp://0.0.0.0:5555", [2022-07-06T15:17:24.652Z] "unix:///var/run/docker.sock" [2022-07-06T15:17:24.652Z] ], [2022-07-06T15:17:24.652Z] "mtu": 1458, [2022-07-06T15:17:24.652Z] "selinux-enabled": true, [2022-07-06T15:17:24.652Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-06T15:17:24.652Z] } [Pipeline] sh [2022-07-06T15:17:25.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-06T15:17:25.341Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T15:17:43.680Z] provisioning config files... [2022-07-06T15:17:43.703Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/25@tmp/config2310595350068496062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:17:44.063Z] ---> docker-login.sh [2022-07-06T15:17:44.063Z] nexus3.edgexfoundry.org:10001 [2022-07-06T15:17:44.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:17:44.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:17:44.937Z] Configure a credential helper to remove this warning. See [2022-07-06T15:17:44.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:17:44.937Z] [2022-07-06T15:17:44.937Z] Login Succeeded [2022-07-06T15:17:44.937Z] nexus3.edgexfoundry.org:10002 [2022-07-06T15:17:45.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:17:45.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:17:45.213Z] Configure a credential helper to remove this warning. See [2022-07-06T15:17:45.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:17:45.213Z] [2022-07-06T15:17:45.213Z] Login Succeeded [2022-07-06T15:17:45.213Z] nexus3.edgexfoundry.org:10003 [2022-07-06T15:17:45.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:17:45.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:17:45.812Z] Configure a credential helper to remove this warning. See [2022-07-06T15:17:45.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:17:45.812Z] [2022-07-06T15:17:45.812Z] Login Succeeded [2022-07-06T15:17:45.812Z] nexus3.edgexfoundry.org:10004 [2022-07-06T15:17:46.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:17:46.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:17:46.087Z] Configure a credential helper to remove this warning. See [2022-07-06T15:17:46.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:17:46.087Z] [2022-07-06T15:17:46.087Z] Login Succeeded [2022-07-06T15:17:46.360Z] docker.io [2022-07-06T15:17:46.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T15:17:46.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T15:17:46.907Z] Configure a credential helper to remove this warning. See [2022-07-06T15:17:46.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T15:17:46.907Z] [2022-07-06T15:17:46.907Z] Login Succeeded [2022-07-06T15:17:46.907Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T15:17:46.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-06T15:17:47.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T15:17:47.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T15:17:47.471Z] ========================================================= [2022-07-06T15:17:47.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-06T15:17:47.471Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:17:47.830Z] + 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-07-06T15:17:48.103Z] Sending build context to Docker daemon 528.9kB [2022-07-06T15:17:48.103Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T15:17:48.103Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-06T15:17:48.381Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-06T15:17:48.381Z] 9b3977197b4f: Pulling fs layer [2022-07-06T15:17:48.381Z] 1a89e8eeedd5: Pulling fs layer [2022-07-06T15:17:48.381Z] 94645a83ff95: Pulling fs layer [2022-07-06T15:17:48.381Z] e6fb740bc735: Pulling fs layer [2022-07-06T15:17:48.381Z] 3a77bd46dcc9: Pulling fs layer [2022-07-06T15:17:48.381Z] 355e64cbe906: Pulling fs layer [2022-07-06T15:17:48.381Z] 63ab81a10011: Pulling fs layer [2022-07-06T15:17:48.381Z] 555d1d1c4555: Pulling fs layer [2022-07-06T15:17:48.381Z] 7d9057610161: Pulling fs layer [2022-07-06T15:17:48.381Z] e6fb740bc735: Waiting [2022-07-06T15:17:48.381Z] 3a77bd46dcc9: Waiting [2022-07-06T15:17:48.381Z] 355e64cbe906: Waiting [2022-07-06T15:17:48.381Z] 63ab81a10011: Waiting [2022-07-06T15:17:48.381Z] 555d1d1c4555: Waiting [2022-07-06T15:17:48.381Z] 7d9057610161: Waiting [2022-07-06T15:17:48.381Z] 94645a83ff95: Verifying Checksum [2022-07-06T15:17:48.381Z] 94645a83ff95: Download complete [2022-07-06T15:17:48.381Z] 1a89e8eeedd5: Verifying Checksum [2022-07-06T15:17:48.381Z] 1a89e8eeedd5: Download complete [2022-07-06T15:17:48.381Z] 3a77bd46dcc9: Verifying Checksum [2022-07-06T15:17:48.381Z] 3a77bd46dcc9: Download complete [2022-07-06T15:17:48.381Z] 355e64cbe906: Download complete [2022-07-06T15:17:48.381Z] 9b3977197b4f: Verifying Checksum [2022-07-06T15:17:48.381Z] 9b3977197b4f: Download complete [2022-07-06T15:17:48.381Z] 63ab81a10011: Verifying Checksum [2022-07-06T15:17:48.381Z] 63ab81a10011: Download complete [2022-07-06T15:17:49.379Z] 9b3977197b4f: Pull complete [2022-07-06T15:17:49.379Z] 7d9057610161: Verifying Checksum [2022-07-06T15:17:49.379Z] 7d9057610161: Download complete [2022-07-06T15:17:49.979Z] 1a89e8eeedd5: Pull complete [2022-07-06T15:17:50.255Z] 94645a83ff95: Pull complete [2022-07-06T15:17:50.528Z] 555d1d1c4555: Verifying Checksum [2022-07-06T15:17:50.528Z] 555d1d1c4555: Download complete [2022-07-06T15:17:51.124Z] e6fb740bc735: Verifying Checksum [2022-07-06T15:17:51.124Z] e6fb740bc735: Download complete [2022-07-06T15:18:03.549Z] e6fb740bc735: Pull complete [2022-07-06T15:18:03.549Z] 3a77bd46dcc9: Pull complete [2022-07-06T15:18:03.549Z] 355e64cbe906: Pull complete [2022-07-06T15:18:03.549Z] 63ab81a10011: Pull complete [2022-07-06T15:18:10.274Z] 555d1d1c4555: Pull complete [2022-07-06T15:18:12.258Z] 7d9057610161: Pull complete [2022-07-06T15:18:12.258Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-06T15:18:12.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-06T15:18:12.258Z] ---> 819e984ddca1 [2022-07-06T15:18:12.258Z] Step 3/12 : ARG MAKE="make build" [2022-07-06T15:18:13.736Z] ---> Running in e4a26e654fdf [2022-07-06T15:18:13.736Z] Removing intermediate container e4a26e654fdf [2022-07-06T15:18:13.736Z] ---> 2f3043a834f4 [2022-07-06T15:18:13.736Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T15:18:14.022Z] ---> Running in bd27f119626f [2022-07-06T15:18:14.297Z] Removing intermediate container bd27f119626f [2022-07-06T15:18:14.297Z] ---> aa78b0962da4 [2022-07-06T15:18:14.297Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-06T15:18:14.297Z] ---> Running in 21ce763d2fee [2022-07-06T15:18:14.572Z] Removing intermediate container 21ce763d2fee [2022-07-06T15:18:14.572Z] ---> e6b09786a5c0 [2022-07-06T15:18:14.572Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T15:18:14.572Z] ---> Running in 20d08a1711aa [2022-07-06T15:18:17.988Z] Removing intermediate container 20d08a1711aa [2022-07-06T15:18:17.988Z] ---> 080f4feb37f8 [2022-07-06T15:18:17.988Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T15:18:17.988Z] ---> Running in 7cc1f2a4fc02 [2022-07-06T15:18:18.587Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T15:18:19.567Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T15:18:20.548Z] (1/14) Installing libintl (0.21-r0) [2022-07-06T15:18:20.548Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-06T15:18:20.548Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-07-06T15:18:20.825Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-06T15:18:20.825Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-06T15:18:21.105Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-06T15:18:21.105Z] Executing udev-init-scripts-35-r0.post-install [2022-07-06T15:18:21.105Z] (7/14) Installing libblkid (2.37.4-r0) [2022-07-06T15:18:21.377Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-06T15:18:21.377Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-07-06T15:18:21.377Z] (10/14) Installing kmod-libs (29-r2) [2022-07-06T15:18:21.650Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-07-06T15:18:21.650Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-06T15:18:21.923Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-06T15:18:21.923Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-06T15:18:22.198Z] Executing busybox-1.34.1-r3.trigger [2022-07-06T15:18:22.198Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-06T15:18:22.198Z] OK: 228 MiB in 66 packages [2022-07-06T15:18:23.178Z] Removing intermediate container 7cc1f2a4fc02 [2022-07-06T15:18:23.178Z] ---> a3dd0947c8ed [2022-07-06T15:18:23.178Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-06T15:18:23.178Z] ---> Running in e165dd14131e [2022-07-06T15:18:23.463Z] Removing intermediate container e165dd14131e [2022-07-06T15:18:23.463Z] ---> 1e37923c113e [2022-07-06T15:18:23.463Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-06T15:18:24.063Z] ---> b87e454132d1 [2022-07-06T15:18:24.063Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T15:18:24.063Z] ---> Running in bd880cb1f579 [2022-07-06T15:19:11.069Z] Removing intermediate container bd880cb1f579 [2022-07-06T15:19:11.069Z] ---> 5ee0daf0fb50 [2022-07-06T15:19:11.069Z] Step 11/12 : COPY . . [2022-07-06T15:19:11.069Z] ---> 10881e3a1f7e [2022-07-06T15:19:11.069Z] Step 12/12 : RUN ${MAKE} [2022-07-06T15:19:11.069Z] ---> Running in 9319c94324d3 [2022-07-06T15:19:11.069Z] noop [2022-07-06T15:19:11.664Z] Removing intermediate container 9319c94324d3 [2022-07-06T15:19:11.664Z] ---> cffa01a3b93b [2022-07-06T15:19:11.664Z] Successfully built cffa01a3b93b [2022-07-06T15:19:11.664Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:19:12.029Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T15:19:12.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:19:12.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-17020 does not seem to be running inside a container [2022-07-06T15:19:12.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-06T15:19:13.630Z] $ docker top 75c2feed3f4c6dea97d83e96d1b14848da6622cede417cc9dcab75742b114b66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T15:19:14.524Z] + go version [2022-07-06T15:19:14.524Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-06T15:19:14.556Z] $ docker stop --time=1 75c2feed3f4c6dea97d83e96d1b14848da6622cede417cc9dcab75742b114b66 [2022-07-06T15:19:16.203Z] $ docker rm -f 75c2feed3f4c6dea97d83e96d1b14848da6622cede417cc9dcab75742b114b66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:19:16.792Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T15:19:16.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:19:17.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-17020 does not seem to be running inside a container [2022-07-06T15:19:17.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-06T15:19:18.277Z] $ docker top a07be20435d4d98ee71d50c6d25bcae0f398bcb4800638c4b59ecb8ebe741973 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T15:19:19.157Z] + make test [2022-07-06T15:19:19.158Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-06T15:19:20.599Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-06T15:20:42.457Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-06T15:20:42.457Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-06T15:20:42.457Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-06T15:20:42.457Z] CGO_ENABLED=1 go vet ./... [2022-07-06T15:21:09.264Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-06T15:21:09.264Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-06T15:21:09.264Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-06T15:21:09.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-06T15:21:09.907Z] $ docker stop --time=1 a07be20435d4d98ee71d50c6d25bcae0f398bcb4800638c4b59ecb8ebe741973 [2022-07-06T15:21:11.665Z] $ docker rm -f a07be20435d4d98ee71d50c6d25bcae0f398bcb4800638c4b59ecb8ebe741973 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T15:21:12.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-06T15:21:12.632Z] Warning: overwriting stash ‘coverage-report’ [2022-07-06T15:21:13.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T15:21:13.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-06T15:21:13.768Z] + ls -al . [2022-07-06T15:21:13.768Z] total 164 [2022-07-06T15:21:13.768Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 6 15:21 . [2022-07-06T15:21:13.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 15:17 .. [2022-07-06T15:21:13.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 15:17 .git [2022-07-06T15:21:13.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:17 .github [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 6 15:17 .gitignore [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 6 15:17 .golangci.yml [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 6 15:17 .hadolint.yml [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 6 15:17 Attribution.txt [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 6 15:17 CHANGELOG.md [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 6 15:17 Dockerfile [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 6 15:17 GOVERNANCE.md [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 6 15:17 Jenkinsfile [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 6 15:17 LICENSE [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 6 15:17 Makefile [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 6 15:17 OWNERS.md [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 10846 Jul 6 15:17 README.md [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 15:15 VERSION [2022-07-06T15:21:13.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 15:17 bin [2022-07-06T15:21:13.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:17 cmd [2022-07-06T15:21:13.768Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 6 15:19 coverage.out [2022-07-06T15:21:13.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 15:17 docker-compose [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 15:17 docker-entrypoint.sh [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 6 15:17 go.mod [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 6 15:17 go.sum [2022-07-06T15:21:13.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 15:17 internal [2022-07-06T15:21:13.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 15:17 snap [2022-07-06T15:21:13.768Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 6 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:21:14.201Z] + 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=01bc9085b9f484ad4bc095435844d325f85d4d4b --label arch=arm64 --label version=0.0.0 . [2022-07-06T15:21:14.816Z] Sending build context to Docker daemon 529.9kB [2022-07-06T15:21:14.816Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T15:21:14.816Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-06T15:21:14.816Z] ---> cffa01a3b93b [2022-07-06T15:21:14.816Z] Step 3/29 : ARG MAKE="make build" [2022-07-06T15:21:14.816Z] ---> Running in 94af0f2b6145 [2022-07-06T15:21:15.133Z] Removing intermediate container 94af0f2b6145 [2022-07-06T15:21:15.133Z] ---> 83147c335f4a [2022-07-06T15:21:15.133Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T15:21:15.133Z] ---> Running in 93864af6d4b2 [2022-07-06T15:21:15.432Z] Removing intermediate container 93864af6d4b2 [2022-07-06T15:21:15.432Z] ---> 713b9107454a [2022-07-06T15:21:15.432Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-06T15:21:15.745Z] ---> Running in 47bdd03db0c5 [2022-07-06T15:21:16.031Z] Removing intermediate container 47bdd03db0c5 [2022-07-06T15:21:16.031Z] ---> 19bc517cae66 [2022-07-06T15:21:16.031Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T15:21:16.031Z] ---> Running in 8b42a854351b [2022-07-06T15:21:18.013Z] Removing intermediate container 8b42a854351b [2022-07-06T15:21:18.013Z] ---> 6c835101ee70 [2022-07-06T15:21:18.013Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T15:21:18.013Z] ---> Running in 7da3bd43d9c9 [2022-07-06T15:21:18.994Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T15:21:19.973Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T15:21:20.569Z] OK: 228 MiB in 66 packages [2022-07-06T15:21:21.557Z] Removing intermediate container 7da3bd43d9c9 [2022-07-06T15:21:21.557Z] ---> 07f7e135f2ad [2022-07-06T15:21:21.557Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-06T15:21:21.557Z] ---> Running in 7f516a911620 [2022-07-06T15:21:21.832Z] Removing intermediate container 7f516a911620 [2022-07-06T15:21:21.832Z] ---> c08bdf737611 [2022-07-06T15:21:21.832Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-06T15:21:22.435Z] ---> ddda6076aa2e [2022-07-06T15:21:22.435Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T15:21:22.435Z] ---> Running in 9cf2e0a71574 [2022-07-06T15:21:24.409Z] Removing intermediate container 9cf2e0a71574 [2022-07-06T15:21:24.409Z] ---> 9a582f21b38f [2022-07-06T15:21:24.409Z] Step 11/29 : COPY . . [2022-07-06T15:21:25.010Z] ---> 01f0fa2df975 [2022-07-06T15:21:25.010Z] Step 12/29 : RUN ${MAKE} [2022-07-06T15:21:25.010Z] ---> Running in 5ce62e6be67e [2022-07-06T15:21:25.989Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-06T15:23:32.902Z] Removing intermediate container 5ce62e6be67e [2022-07-06T15:23:32.902Z] ---> d41faa0045c3 [2022-07-06T15:23:32.902Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-06T15:23:32.902Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-06T15:23:32.902Z] eab2503cf8f4: Pulling fs layer [2022-07-06T15:23:32.902Z] 97cd0a44c592: Pulling fs layer [2022-07-06T15:23:32.902Z] 97cd0a44c592: Verifying Checksum [2022-07-06T15:23:32.902Z] 97cd0a44c592: Download complete [2022-07-06T15:23:32.902Z] eab2503cf8f4: Verifying Checksum [2022-07-06T15:23:32.902Z] eab2503cf8f4: Download complete [2022-07-06T15:23:32.902Z] eab2503cf8f4: Pull complete [2022-07-06T15:23:32.902Z] 97cd0a44c592: Pull complete [2022-07-06T15:23:32.902Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-06T15:23:32.902Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-06T15:23:32.902Z] ---> 7f763cca56b3 [2022-07-06T15:23:32.902Z] Step 14/29 : FROM alpine:3.15 [2022-07-06T15:23:32.902Z] 3.15: Pulling from library/alpine [2022-07-06T15:23:32.902Z] 9981e73032c8: Pulling fs layer [2022-07-06T15:23:32.902Z] 9981e73032c8: Verifying Checksum [2022-07-06T15:23:32.902Z] 9981e73032c8: Download complete [2022-07-06T15:23:32.902Z] 9981e73032c8: Pull complete [2022-07-06T15:23:32.902Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-06T15:23:32.902Z] Status: Downloaded newer image for alpine:3.15 [2022-07-06T15:23:32.902Z] ---> 3fb3c9af89a9 [2022-07-06T15:23:32.902Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-06T15:23:32.902Z] ---> Running in 48953d8a69db [2022-07-06T15:23:32.902Z] Removing intermediate container 48953d8a69db [2022-07-06T15:23:32.902Z] ---> b975a059ec3c [2022-07-06T15:23:32.902Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-06T15:23:32.902Z] ---> Running in 908fcb38090d [2022-07-06T15:23:32.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T15:23:32.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T15:23:32.902Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-06T15:23:32.902Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-06T15:23:32.902Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-06T15:23:32.902Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-06T15:23:32.902Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-06T15:23:32.902Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-06T15:23:32.902Z] (7/73) Installing libxcb (1.14-r2) [2022-07-06T15:23:32.902Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-06T15:23:32.902Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-06T15:23:32.902Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-06T15:23:32.902Z] (11/73) Installing expat (2.4.7-r0) [2022-07-06T15:23:32.902Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-06T15:23:32.902Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-06T15:23:32.902Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-06T15:23:32.902Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-06T15:23:32.902Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-06T15:23:32.902Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-06T15:23:32.902Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-06T15:23:32.902Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-06T15:23:32.902Z] (20/73) Installing libintl (0.21-r0) [2022-07-06T15:23:32.902Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-06T15:23:32.902Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-06T15:23:32.902Z] (23/73) Installing pcre (8.45-r1) [2022-07-06T15:23:32.902Z] (24/73) Installing glib (2.70.1-r0) [2022-07-06T15:23:32.902Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-06T15:23:32.902Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-06T15:23:32.902Z] (27/73) Installing libass (0.15.2-r0) [2022-07-06T15:23:32.902Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-06T15:23:32.902Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-06T15:23:32.902Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-06T15:23:32.902Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-06T15:23:32.902Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-06T15:23:32.902Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-06T15:23:32.902Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-06T15:23:32.902Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-06T15:23:32.902Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-06T15:23:32.902Z] (37/73) Installing lame (3.100-r0) [2022-07-06T15:23:32.902Z] (38/73) Installing opus (1.3.1-r1) [2022-07-06T15:23:32.902Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-06T15:23:32.902Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-06T15:23:32.902Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-06T15:23:32.902Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-06T15:23:32.902Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-06T15:23:32.902Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-06T15:23:32.902Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-06T15:23:32.902Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-06T15:23:32.902Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-06T15:23:32.902Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-06T15:23:32.902Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-06T15:23:32.902Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-06T15:23:32.902Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-06T15:23:32.902Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-06T15:23:32.902Z] (53/73) Installing libva (2.13.0-r0) [2022-07-06T15:23:32.902Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-06T15:23:32.902Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-06T15:23:32.902Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-06T15:23:32.902Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-06T15:23:32.902Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-06T15:23:32.902Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-06T15:23:32.902Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-06T15:23:32.902Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-06T15:23:32.902Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-06T15:23:32.902Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-06T15:23:32.902Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-06T15:23:32.902Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-06T15:23:32.902Z] Executing udev-init-scripts-35-r0.post-install [2022-07-06T15:23:32.902Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-06T15:23:32.902Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-06T15:23:32.902Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-06T15:23:32.902Z] (69/73) Installing kmod-libs (29-r2) [2022-07-06T15:23:32.902Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-06T15:23:32.902Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-06T15:23:32.902Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-06T15:23:32.902Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-06T15:23:32.902Z] Executing busybox-1.34.1-r5.trigger [2022-07-06T15:23:32.902Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-06T15:23:32.902Z] OK: 67 MiB in 87 packages [2022-07-06T15:23:35.521Z] Removing intermediate container 908fcb38090d [2022-07-06T15:23:35.521Z] ---> b317f965b9cb [2022-07-06T15:23:35.521Z] Step 17/29 : WORKDIR / [2022-07-06T15:23:35.521Z] ---> Running in a95f7b1d47be [2022-07-06T15:23:35.790Z] Removing intermediate container a95f7b1d47be [2022-07-06T15:23:35.790Z] ---> 957b156914b1 [2022-07-06T15:23:35.790Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-06T15:23:37.223Z] ---> 748c37405175 [2022-07-06T15:23:37.223Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-06T15:23:37.822Z] ---> 70f847418769 [2022-07-06T15:23:37.822Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-06T15:23:38.431Z] ---> 374d9e68f38f [2022-07-06T15:23:38.431Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-06T15:23:39.027Z] ---> 51ed21fad9ba [2022-07-06T15:23:39.027Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-06T15:23:39.299Z] ---> de6335950232 [2022-07-06T15:23:39.299Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-06T15:23:40.783Z] ---> 0c0c0edb8196 [2022-07-06T15:23:40.783Z] Step 24/29 : EXPOSE 59983 [2022-07-06T15:23:40.783Z] ---> Running in 5a0fa385170c [2022-07-06T15:23:41.058Z] Removing intermediate container 5a0fa385170c [2022-07-06T15:23:41.058Z] ---> 1998d6ba1a56 [2022-07-06T15:23:41.058Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-06T15:23:41.058Z] ---> Running in 9cdfb5c8684b [2022-07-06T15:23:41.331Z] Removing intermediate container 9cdfb5c8684b [2022-07-06T15:23:41.331Z] ---> fb511fbd98f7 [2022-07-06T15:23:41.331Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-06T15:23:41.331Z] ---> Running in 912eb99589eb [2022-07-06T15:23:41.608Z] Removing intermediate container 912eb99589eb [2022-07-06T15:23:41.608Z] ---> f14c4df0d849 [2022-07-06T15:23:41.608Z] Step 27/29 : LABEL arch=arm64 [2022-07-06T15:23:41.882Z] ---> Running in 0f88e7be4ae2 [2022-07-06T15:23:42.157Z] Removing intermediate container 0f88e7be4ae2 [2022-07-06T15:23:42.157Z] ---> ad6d978db0ef [2022-07-06T15:23:42.157Z] Step 28/29 : LABEL git_sha=01bc9085b9f484ad4bc095435844d325f85d4d4b [2022-07-06T15:23:42.157Z] ---> Running in eb9b6d734886 [2022-07-06T15:23:42.430Z] Removing intermediate container eb9b6d734886 [2022-07-06T15:23:42.430Z] ---> 148e2b2d9b55 [2022-07-06T15:23:42.430Z] Step 29/29 : LABEL version=0.0.0 [2022-07-06T15:23:42.430Z] ---> Running in 5cbed842f1b3 [2022-07-06T15:23:42.703Z] Removing intermediate container 5cbed842f1b3 [2022-07-06T15:23:42.703Z] ---> fa0b1e8a12b2 [2022-07-06T15:23:42.703Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-06T15:23:42.703Z] Successfully built fa0b1e8a12b2 [2022-07-06T15:23:42.703Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:23:43.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T15:23:43.166Z] [2022-07-06T15:23:43.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:23:43.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T15:23:43.787Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-06T15:23:43.787Z] 8998bd30e6a1: Pulling fs layer [2022-07-06T15:23:43.787Z] 04944245beec: Pulling fs layer [2022-07-06T15:23:43.787Z] 699f458cf7ca: Pulling fs layer [2022-07-06T15:23:43.787Z] 765212b225bb: Pulling fs layer [2022-07-06T15:23:43.787Z] f23df028b6ca: Pulling fs layer [2022-07-06T15:23:43.787Z] d65c8cfc05b1: Pulling fs layer [2022-07-06T15:23:43.787Z] 2437ff75d9bd: Pulling fs layer [2022-07-06T15:23:43.787Z] 765212b225bb: Waiting [2022-07-06T15:23:43.787Z] f23df028b6ca: Waiting [2022-07-06T15:23:43.787Z] d65c8cfc05b1: Waiting [2022-07-06T15:23:43.787Z] 2437ff75d9bd: Waiting [2022-07-06T15:23:43.787Z] 04944245beec: Verifying Checksum [2022-07-06T15:23:43.787Z] 04944245beec: Download complete [2022-07-06T15:23:43.787Z] 765212b225bb: Verifying Checksum [2022-07-06T15:23:43.787Z] 765212b225bb: Download complete [2022-07-06T15:23:43.787Z] f23df028b6ca: Verifying Checksum [2022-07-06T15:23:43.787Z] f23df028b6ca: Download complete [2022-07-06T15:23:43.787Z] d65c8cfc05b1: Verifying Checksum [2022-07-06T15:23:43.787Z] d65c8cfc05b1: Download complete [2022-07-06T15:23:44.065Z] 699f458cf7ca: Verifying Checksum [2022-07-06T15:23:44.065Z] 699f458cf7ca: Download complete [2022-07-06T15:23:44.338Z] 8998bd30e6a1: Verifying Checksum [2022-07-06T15:23:44.338Z] 8998bd30e6a1: Download complete [2022-07-06T15:23:46.966Z] 2437ff75d9bd: Verifying Checksum [2022-07-06T15:23:46.966Z] 2437ff75d9bd: Download complete [2022-07-06T15:23:48.947Z] 8998bd30e6a1: Pull complete [2022-07-06T15:23:49.220Z] 04944245beec: Pull complete [2022-07-06T15:23:50.659Z] 699f458cf7ca: Pull complete [2022-07-06T15:23:50.938Z] 765212b225bb: Pull complete [2022-07-06T15:23:51.915Z] f23df028b6ca: Pull complete [2022-07-06T15:23:51.915Z] d65c8cfc05b1: Pull complete [2022-07-06T15:24:06.996Z] 2437ff75d9bd: Pull complete [2022-07-06T15:24:06.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-06T15:24:06.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T15:24:06.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:24:07.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-17020 does not seem to be running inside a container [2022-07-06T15:24:07.371Z] $ 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/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-06T15:24:09.861Z] $ docker top 6a0a32c63962e7cc494c6a9e619e77f37d631ae2cd8a24393d5ff66652198966 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:10.782Z] ---> job-cost.sh [2022-07-06T15:24:10.783Z] lf-activate-venv: SKIPPING [2022-07-06T15:24:10.783Z] INFO: No Stack... [2022-07-06T15:24:11.379Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-06T15:24:11.973Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T15:24:12.627Z] + cat /w/workspace/device-usb-camera/25/archives/cost.csv [2022-07-06T15:24:12.628Z] + cut -d, -f6 [Pipeline] lock [2022-07-06T15:24:12.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [2022-07-06T15:24:12.701Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] did not exist. Created. [2022-07-06T15:24:12.702Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T15:24:13.381Z] /w/workspace/device-usb-camera/25@tmp/durable-8fa50cf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-06T15:24:14.054Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-06T15:24:14.076Z] Warning: overwriting stash ‘stack-cost’ [2022-07-06T15:24:14.121Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T15:24:14.130Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T15:24:14.166Z] $ docker stop --time=1 6a0a32c63962e7cc494c6a9e619e77f37d631ae2cd8a24393d5ff66652198966 [2022-07-06T15:24:15.768Z] $ docker rm -f 6a0a32c63962e7cc494c6a9e619e77f37d631ae2cd8a24393d5ff66652198966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-06T15:24:16.268Z] provisioning config files... [2022-07-06T15:24:16.276Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config892846327309472034tmp [Pipeline] { [Pipeline] sh [2022-07-06T15:24:16.573Z] + set +x [2022-07-06T15:24:16.573Z] + bash -s -- [2022-07-06T15:24:16.573Z] + curl -s https://codecov.io/bash [2022-07-06T15:24:16.573Z] [2022-07-06T15:24:16.573Z] _____ _ [2022-07-06T15:24:16.573Z] / ____| | | [2022-07-06T15:24:16.573Z] | | ___ __| | ___ ___ _____ __ [2022-07-06T15:24:16.573Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-06T15:24:16.573Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-06T15:24:16.573Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-06T15:24:16.573Z] Bash-1.0.6 [2022-07-06T15:24:16.573Z] [2022-07-06T15:24:16.573Z] [2022-07-06T15:24:16.573Z] ==> git version 2.25.1 found [2022-07-06T15:24:16.573Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-06T15:24:16.573Z] Release-Date: 2020-01-08 [2022-07-06T15:24:16.573Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-06T15:24:16.573Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-06T15:24:16.573Z] ==> Jenkins CI detected. [2022-07-06T15:24:16.573Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-06T15:24:16.573Z] project root: . [2022-07-06T15:24:16.573Z] --> token set from env [2022-07-06T15:24:16.573Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-06T15:24:16.573Z] ==> Running gcov in . (disable via -X gcov) [2022-07-06T15:24:16.573Z] ==> Python coveragepy not found [2022-07-06T15:24:16.573Z] ==> Searching for coverage reports in: [2022-07-06T15:24:16.573Z] + . [2022-07-06T15:24:16.573Z] -> Found 1 reports [2022-07-06T15:24:16.573Z] ==> Detecting git/mercurial file structure [2022-07-06T15:24:16.573Z] ==> Reading reports [2022-07-06T15:24:16.573Z] + ./coverage.out bytes=10 [2022-07-06T15:24:16.573Z] ==> Appending adjustments [2022-07-06T15:24:16.573Z] https://docs.codecov.io/docs/fixing-reports [2022-07-06T15:24:16.833Z] + Found adjustments [2022-07-06T15:24:16.833Z] ==> Gzipping contents [2022-07-06T15:24:16.833Z] 4.0K /tmp/codecov.FAa7o6.gz [2022-07-06T15:24:16.833Z] ==> Uploading reports [2022-07-06T15:24:16.833Z] url: https://codecov.io [2022-07-06T15:24:16.833Z] query: branch=PR-30&commit=569a587699d0c55d121f7e68df7494f9fbcbfa75&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-06T15:24:16.833Z] -> Pinging Codecov [2022-07-06T15:24:16.833Z] 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=569a587699d0c55d121f7e68df7494f9fbcbfa75&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-06T15:24:17.092Z] -> Uploading to [2022-07-06T15:24:17.092Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-06/73D8F5FF140700D3E01443B452E23636/569a587699d0c55d121f7e68df7494f9fbcbfa75/c32f8713-671f-41b6-94ed-56325ca0e09f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T152417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6da761530de4bf5bca6440ad5ead08ea1c9ecf824c59829245ef8d7799e88cb4 [2022-07-06T15:24:17.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-06T15:24:17.092Z] Dload Upload Total Spent Left Speed [2022-07-06T15:24:17.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 4727 --:--:-- --:--:-- --:--:-- 4727 [2022-07-06T15:24:17.351Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/569a587699d0c55d121f7e68df7494f9fbcbfa75 [Pipeline] } [2022-07-06T15:24:17.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-06T15:24:18.043Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-07-06T15:24:18.043Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-06T15:24:18.043Z] total 16 [2022-07-06T15:24:18.043Z] drwxr-xr-x 3 root root 4096 Jul 6 15:17 . [2022-07-06T15:24:18.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 15:17 .. [2022-07-06T15:24:18.043Z] drwxr-xr-x 2 root root 4096 Jul 6 15:17 cost [2022-07-06T15:24:18.043Z] -rw-r--r-- 1 root root 88 Jul 6 15:17 cost.csv [2022-07-06T15:24:18.043Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-06T15:24:18.043Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-06T15:24:18.043Z] total 16 [2022-07-06T15:24:18.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 15:17 . [2022-07-06T15:24:18.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 15:17 .. [2022-07-06T15:24:18.043Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 15:17 cost [2022-07-06T15:24:18.043Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 6 15:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:18.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:19.203Z] ---> package-listing.sh [2022-07-06T15:24:19.203Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-06T15:24:19.203Z] ++ facter osfamily [2022-07-06T15:24:19.462Z] + OS_FAMILY=debian [2022-07-06T15:24:19.463Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-06T15:24:19.463Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-06T15:24:19.463Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-06T15:24:19.463Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-06T15:24:19.463Z] + PACKAGES=/tmp/packages_start.txt [2022-07-06T15:24:19.463Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-06T15:24:19.463Z] + PACKAGES=/tmp/packages_end.txt [2022-07-06T15:24:19.463Z] + case "${OS_FAMILY}" in [2022-07-06T15:24:19.463Z] + dpkg -l [2022-07-06T15:24:19.463Z] + grep '^ii' [2022-07-06T15:24:19.463Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-06T15:24:19.463Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-06T15:24:19.463Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-06T15:24:19.463Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-06T15:24:19.463Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-07-06T15:24:19.463Z] + 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-07-06T15:24:19.475Z] 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-07-06T15:24:19.753Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T15:24:20.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T15:24:20.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T15:24:20.403Z] prd-ubuntu20.04-docker-8c-8g-17019 does not seem to be running inside a container [2022-07-06T15:24:20.503Z] $ 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-07-06T15:24:20.769Z] $ docker top d18e6cb11bb68ba6ce6d146e38b29c6934b4253d0e9c49c97e8c66c6b95ea13b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T15:24:21.122Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-06T15:24:21.409Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-06T15:24:21.693Z] + ls /var/log/sa-host [2022-07-06T15:24:21.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T15:24:21.820Z] provisioning config files... [2022-07-06T15:24:21.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2660660618533986844tmp [Pipeline] { [Pipeline] echo [2022-07-06T15:24:21.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:22.126Z] ---> create-netrc.sh [Pipeline] } [2022-07-06T15:24:22.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:22.467Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-06T15:24:22.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:22.762Z] ---> sudo-logs.sh [2022-07-06T15:24:22.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-06T15:24:22.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:23.073Z] ---> job-cost.sh [2022-07-06T15:24:23.073Z] lf-activate-venv: SKIPPING [2022-07-06T15:24:23.073Z] DEBUG: total: 0.2199999988079071 [2022-07-06T15:24:23.073Z] INFO: Retrieving Stack Cost... [2022-07-06T15:24:23.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T15:24:23.903Z] INFO: Archiving Costs [Pipeline] echo [2022-07-06T15:24:23.913Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T15:24:24.194Z] ---> logs-deploy.sh [2022-07-06T15:24:24.194Z] lf-activate-venv: SKIPPING [2022-07-06T15:24:24.194Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/25 [2022-07-06T15:24:24.194Z] INFO: archiving workspace using pattern(s): [2022-07-06T15:24:25.132Z] Archives upload complete. [2022-07-06T15:24:25.132Z] INFO: archiving logs to Nexus