Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4c4ab6af09efedeff12eed0a9f83e12c8148dad6+55a3a87f6faf5f5f0cba6aef660df9a20be671bf (f128085aeabf01f516a5965c2fd248446f7c2bd5) 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-ssh2864514402345372623.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-ssh3497723475750585007.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-ssh16828943225987323906.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-ssh7551397246611436665.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-ssh10042353440658738826.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-17114 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 55a3a87f6faf5f5f0cba6aef660df9a20be671bf into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 Merge succeeded, producing d958876e9241c98b21376266bb7e5f58e05cf081 Checking out Revision d958876e9241c98b21376266bb7e5f58e05cf081 (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 55a3a87f6faf5f5f0cba6aef660df9a20be671bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d958876e9241c98b21376266bb7e5f58e05cf081 # timeout=10 Commit message: "Merge commit '55a3a87f6faf5f5f0cba6aef660df9a20be671bf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T06:15:18.959Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T06:15:19.038Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T06:15:19.059Z] ========================================================= [2022-07-07T06:15:19.059Z] EdgeX Global Pipelines Version Info [2022-07-07T06:15:19.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 01bc9085b9f484ad4bc095435844d325f85d4d4b # timeout=10 [2022-07-07T06:15:19.826Z] ------------------- [2022-07-07T06:15:19.826Z] stable info: [2022-07-07T06:15:19.826Z] ------------------- [2022-07-07T06:15:19.826Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T06:15:19.826Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T06:15:19.826Z] Message: update stable to v1.0.234 [2022-07-07T06:15:20.400Z] ------------------- [2022-07-07T06:15:20.400Z] experimental info: [2022-07-07T06:15:20.400Z] ------------------- [2022-07-07T06:15:20.400Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T06:15:20.400Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T06:15:20.400Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T06:15:20.603Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-07T06:15:20.614Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-07T06:15:20.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T06:15:20.638Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T06:15:20.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T06:15:20.661Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T06:15:20.677Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T06:15:20.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T06:15:20.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T06:15:20.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T06:15:20.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T06:15:20.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-07T06:15:20.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T06:15:20.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T06:15:20.792Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T06:15:20.806Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T06:15:20.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T06:15:20.830Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T06:15:20.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T06:15:20.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T06:15:20.864Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T06:15:20.878Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T06:15:20.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T06:15:20.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T06:15:20.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T06:15:20.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T06:15:20.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T06:15:20.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-07-07T06:15:20.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-07-07T06:15:20.975Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-07-07T06:15:20.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d958876e9241c98b21376266bb7e5f58e05cf081 [Pipeline] echo [2022-07-07T06:15:20.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d958876 [Pipeline] echo [2022-07-07T06:15:21.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T06:15:21.053Z] provisioning config files... [2022-07-07T06:15:21.065Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5598427680765780026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:15:21.394Z] ---> docker-login.sh [2022-07-07T06:15:21.394Z] nexus3.edgexfoundry.org:10001 [2022-07-07T06:15:21.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:21.915Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:21.915Z] [2022-07-07T06:15:21.915Z] Login Succeeded [2022-07-07T06:15:21.915Z] nexus3.edgexfoundry.org:10002 [2022-07-07T06:15:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:21.915Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:21.915Z] [2022-07-07T06:15:21.915Z] Login Succeeded [2022-07-07T06:15:21.915Z] nexus3.edgexfoundry.org:10003 [2022-07-07T06:15:22.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:22.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:22.176Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:22.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:22.176Z] [2022-07-07T06:15:22.176Z] Login Succeeded [2022-07-07T06:15:22.176Z] nexus3.edgexfoundry.org:10004 [2022-07-07T06:15:22.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:22.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:22.439Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:22.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:22.439Z] [2022-07-07T06:15:22.439Z] Login Succeeded [2022-07-07T06:15:22.439Z] docker.io [2022-07-07T06:15:22.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:22.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:22.714Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:22.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:22.714Z] [2022-07-07T06:15:22.714Z] Login Succeeded [2022-07-07T06:15:22.714Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T06:15:22.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T06:15:23.109Z] + git rev-list -1 --merges d958876e9241c98b21376266bb7e5f58e05cf081~1..d958876e9241c98b21376266bb7e5f58e05cf081 [Pipeline] echo [2022-07-07T06:15:23.141Z] -----------> git rev-list -1 --merges d958876e9241c98b21376266bb7e5f58e05cf081~1..d958876e9241c98b21376266bb7e5f58e05cf081 d958876e9241c98b21376266bb7e5f58e05cf081 [2022-07-07T06:15:23.141Z] d958876e9241c98b21376266bb7e5f58e05cf081 [false] [Pipeline] sh [2022-07-07T06:15:23.433Z] + git log --format=format:%s -1 d958876e9241c98b21376266bb7e5f58e05cf081 [Pipeline] echo [2022-07-07T06:15:23.450Z] ========================================================= [2022-07-07T06:15:23.450Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T06:15:23.450Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T06:15:23.794Z] + git log --format=format:%s -1 d958876e9241c98b21376266bb7e5f58e05cf081 [Pipeline] echo [2022-07-07T06:15:23.806Z] [semverPrep] GIT_COMMIT: d958876e9241c98b21376266bb7e5f58e05cf081, Commit Message: Merge commit '55a3a87f6faf5f5f0cba6aef660df9a20be671bf' into HEAD [Pipeline] echo [2022-07-07T06:15:23.816Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T06:15:24.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T06:15:24.187Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T06:15:24.187Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T06:15:24.187Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T06:15:24.187Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T06:15:24.187Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T06:15:24.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:15:24.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T06:15:24.603Z] [2022-07-07T06:15:24.603Z] 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-07T06:15:24.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T06:15:24.916Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T06:15:24.916Z] 42c077c10790: Pulling fs layer [2022-07-07T06:15:24.916Z] f63e77b7563a: Pulling fs layer [2022-07-07T06:15:24.916Z] bd5fdadae976: Pulling fs layer [2022-07-07T06:15:24.916Z] 205491f53016: Pulling fs layer [2022-07-07T06:15:24.916Z] df18705c85c3: Pulling fs layer [2022-07-07T06:15:24.916Z] bdb3f477010e: Pulling fs layer [2022-07-07T06:15:24.916Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T06:15:24.916Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T06:15:24.916Z] bdb8f0575790: Pulling fs layer [2022-07-07T06:15:24.916Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T06:15:24.916Z] 2343380bae48: Pulling fs layer [2022-07-07T06:15:24.916Z] 205491f53016: Waiting [2022-07-07T06:15:24.916Z] 2c6e9b1d212d: Waiting [2022-07-07T06:15:24.916Z] bdb8f0575790: Waiting [2022-07-07T06:15:24.916Z] 2343380bae48: Waiting [2022-07-07T06:15:24.916Z] 386e3cb2ff24: Waiting [2022-07-07T06:15:24.916Z] df18705c85c3: Waiting [2022-07-07T06:15:24.916Z] bdb3f477010e: Waiting [2022-07-07T06:15:24.916Z] c8a8fc8e1c8f: Waiting [2022-07-07T06:15:24.916Z] f63e77b7563a: Download complete [2022-07-07T06:15:24.916Z] 205491f53016: Download complete [2022-07-07T06:15:25.178Z] df18705c85c3: Download complete [2022-07-07T06:15:25.178Z] bdb3f477010e: Download complete [2022-07-07T06:15:25.178Z] bd5fdadae976: Verifying Checksum [2022-07-07T06:15:25.178Z] bd5fdadae976: Download complete [2022-07-07T06:15:25.178Z] 2c6e9b1d212d: Verifying Checksum [2022-07-07T06:15:25.178Z] 2c6e9b1d212d: Download complete [2022-07-07T06:15:25.178Z] bdb8f0575790: Verifying Checksum [2022-07-07T06:15:25.178Z] bdb8f0575790: Download complete [2022-07-07T06:15:25.178Z] 386e3cb2ff24: Download complete [2022-07-07T06:15:25.178Z] 2343380bae48: Download complete [2022-07-07T06:15:25.178Z] 42c077c10790: Verifying Checksum [2022-07-07T06:15:25.178Z] 42c077c10790: Download complete [2022-07-07T06:15:25.439Z] c8a8fc8e1c8f: Download complete [2022-07-07T06:15:26.829Z] 42c077c10790: Pull complete [2022-07-07T06:15:26.829Z] f63e77b7563a: Pull complete [2022-07-07T06:15:27.405Z] bd5fdadae976: Pull complete [2022-07-07T06:15:27.405Z] 205491f53016: Pull complete [2022-07-07T06:15:27.665Z] df18705c85c3: Pull complete [2022-07-07T06:15:27.927Z] bdb3f477010e: Pull complete [2022-07-07T06:15:29.841Z] c8a8fc8e1c8f: Pull complete [2022-07-07T06:15:29.841Z] 2c6e9b1d212d: Pull complete [2022-07-07T06:15:30.102Z] bdb8f0575790: Pull complete [2022-07-07T06:15:30.102Z] 386e3cb2ff24: Pull complete [2022-07-07T06:15:30.363Z] 2343380bae48: Pull complete [2022-07-07T06:15:30.363Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T06:15:30.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T06:15:30.363Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:15:30.470Z] prd-ubuntu20.04-docker-8c-8g-17114 does not seem to be running inside a container [2022-07-07T06:15:30.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-07T06:15:32.002Z] $ docker top 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 -eo pid,comm [2022-07-07T06:15:32.073Z] 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-07T06:15:32.073Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T06:15:32.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T06:15:32.111Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T06:15:32.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T06:15:32.256Z] $ docker exec 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 ssh-agent [2022-07-07T06:15:32.387Z] SSH_AUTH_SOCK=/tmp/ssh-iPfVNk6C0HhA/agent.33 [2022-07-07T06:15:32.387Z] SSH_AGENT_PID=39 [2022-07-07T06:15:32.394Z] Running ssh-add (command line suppressed) [2022-07-07T06:15:32.533Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3814941434970042792.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3814941434970042792.key) [2022-07-07T06:15:32.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T06:15:32.840Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T06:15:32.863Z] $ docker exec --env ******** --env ******** 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 ssh-agent -k [2022-07-07T06:15:32.972Z] unset SSH_AUTH_SOCK; [2022-07-07T06:15:32.972Z] unset SSH_AGENT_PID; [2022-07-07T06:15:32.972Z] echo Agent pid 39 killed; [2022-07-07T06:15:32.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T06:15:33.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T06:15:33.011Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T06:15:33.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T06:15:33.152Z] $ docker exec 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 ssh-agent [2022-07-07T06:15:33.290Z] SSH_AUTH_SOCK=/tmp/ssh-RUwTVrjYW96k/agent.73 [2022-07-07T06:15:33.290Z] SSH_AGENT_PID=79 [2022-07-07T06:15:33.295Z] Running ssh-add (command line suppressed) [2022-07-07T06:15:33.429Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8651276026807500349.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8651276026807500349.key) [2022-07-07T06:15:33.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T06:15:33.736Z] + git semver init [2022-07-07T06:15:33.998Z] 2022-07-07 06:15:33,947 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T06:15:33.998Z] 2022-07-07 06:15:33,948 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-07-07T06:15:33.998Z] 2022-07-07 06:15:33,948 [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-07T06:15:33.998Z] 2022-07-07 06:15:33,949 [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-07T06:15:34.570Z] 2022-07-07 06:15:34,506 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-07-07T06:15:34.570Z] 2022-07-07 06:15:34,507 [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-07T06:15:34.570Z] 2022-07-07 06:15:34,507 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-07T06:15:34.570Z] 2022-07-07 06:15:34,510 [execute] INFO git cat-file --batch-check [2022-07-07T06:15:34.570Z] 2022-07-07 06:15:34,510 [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-07T06:15:34.570Z] 2022-07-07 06:15:34,518 [execute] INFO git cat-file --batch [2022-07-07T06:15:34.570Z] 2022-07-07 06:15:34,518 [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-07T06:15:34.570Z] 2022-07-07 06:15:34,524 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-07T06:15:34.570Z] 0.0.0 [Pipeline] } [2022-07-07T06:15:34.583Z] $ docker exec --env ******** --env ******** 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 ssh-agent -k [2022-07-07T06:15:34.709Z] unset SSH_AUTH_SOCK; [2022-07-07T06:15:34.709Z] unset SSH_AGENT_PID; [2022-07-07T06:15:34.709Z] echo Agent pid 79 killed; [2022-07-07T06:15:34.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T06:15:35.030Z] + git semver [Pipeline] } [2022-07-07T06:15:35.308Z] $ docker stop --time=1 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 [2022-07-07T06:15:36.641Z] $ docker rm -f 98872f047c5360aa4e05f3cb000b08cbfd7022f4cd6bee0bc8e8f52893061918 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T06:15:36.996Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T06:15:37.236Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T06:15:37.239Z] [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-07T06:15:37.356Z] provisioning config files... [2022-07-07T06:15:37.367Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1683873084178796338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:15:37.668Z] ---> docker-login.sh [2022-07-07T06:15:37.668Z] nexus3.edgexfoundry.org:10001 [2022-07-07T06:15:37.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:37.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:37.668Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:37.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:37.668Z] [2022-07-07T06:15:37.668Z] Login Succeeded [2022-07-07T06:15:37.668Z] nexus3.edgexfoundry.org:10002 [2022-07-07T06:15:37.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:37.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:37.929Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:37.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:37.929Z] [2022-07-07T06:15:37.929Z] Login Succeeded [2022-07-07T06:15:37.929Z] nexus3.edgexfoundry.org:10003 [2022-07-07T06:15:37.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:37.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:37.929Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:37.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:37.929Z] [2022-07-07T06:15:37.929Z] Login Succeeded [2022-07-07T06:15:37.929Z] nexus3.edgexfoundry.org:10004 [2022-07-07T06:15:38.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:38.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:38.191Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:38.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:38.191Z] [2022-07-07T06:15:38.191Z] Login Succeeded [2022-07-07T06:15:38.191Z] docker.io [2022-07-07T06:15:38.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:15:38.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:15:38.454Z] Configure a credential helper to remove this warning. See [2022-07-07T06:15:38.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:15:38.454Z] [2022-07-07T06:15:38.454Z] Login Succeeded [2022-07-07T06:15:38.454Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T06:15:38.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T06:15:38.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T06:15:38.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T06:15:38.557Z] ========================================================= [2022-07-07T06:15:38.557Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T06:15:38.557Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:15:38.879Z] + 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-07T06:15:38.879Z] Sending build context to Docker daemon 727.6kB [2022-07-07T06:15:38.879Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T06:15:38.879Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T06:15:38.879Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T06:15:38.879Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T06:15:38.879Z] 666ba61612fd: Pulling fs layer [2022-07-07T06:15:38.879Z] 8ed8ca486205: Pulling fs layer [2022-07-07T06:15:38.879Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T06:15:38.879Z] c516ae0d96e1: Pulling fs layer [2022-07-07T06:15:38.879Z] 684cea983483: Pulling fs layer [2022-07-07T06:15:38.879Z] dd3240ac7de5: Pulling fs layer [2022-07-07T06:15:38.879Z] b1e948a4e11c: Pulling fs layer [2022-07-07T06:15:38.879Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T06:15:38.879Z] 646ad004c059: Pulling fs layer [2022-07-07T06:15:38.879Z] a8fd76ee1af6: Waiting [2022-07-07T06:15:38.879Z] 646ad004c059: Waiting [2022-07-07T06:15:38.879Z] cc1cd167ecdc: Waiting [2022-07-07T06:15:38.879Z] b1e948a4e11c: Waiting [2022-07-07T06:15:38.879Z] 684cea983483: Waiting [2022-07-07T06:15:38.879Z] c516ae0d96e1: Waiting [2022-07-07T06:15:38.879Z] dd3240ac7de5: Waiting [2022-07-07T06:15:38.879Z] 8ed8ca486205: Verifying Checksum [2022-07-07T06:15:38.879Z] 8ed8ca486205: Download complete [2022-07-07T06:15:38.879Z] 666ba61612fd: Verifying Checksum [2022-07-07T06:15:38.879Z] 666ba61612fd: Download complete [2022-07-07T06:15:38.879Z] c516ae0d96e1: Download complete [2022-07-07T06:15:38.879Z] 684cea983483: Verifying Checksum [2022-07-07T06:15:38.879Z] 684cea983483: Download complete [2022-07-07T06:15:38.879Z] dd3240ac7de5: Verifying Checksum [2022-07-07T06:15:38.879Z] dd3240ac7de5: Download complete [2022-07-07T06:15:38.879Z] 59bf1c3509f3: Download complete [2022-07-07T06:15:39.139Z] b1e948a4e11c: Verifying Checksum [2022-07-07T06:15:39.139Z] b1e948a4e11c: Download complete [2022-07-07T06:15:39.139Z] 59bf1c3509f3: Pull complete [2022-07-07T06:15:39.399Z] 666ba61612fd: Pull complete [2022-07-07T06:15:39.399Z] 8ed8ca486205: Pull complete [2022-07-07T06:15:39.658Z] 646ad004c059: Verifying Checksum [2022-07-07T06:15:39.658Z] 646ad004c059: Download complete [2022-07-07T06:15:39.658Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T06:15:39.658Z] a8fd76ee1af6: Download complete [2022-07-07T06:15:39.658Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T06:15:39.658Z] cc1cd167ecdc: Download complete [2022-07-07T06:15:43.856Z] cc1cd167ecdc: Pull complete [2022-07-07T06:15:43.856Z] c516ae0d96e1: Pull complete [2022-07-07T06:15:44.115Z] 684cea983483: Pull complete [2022-07-07T06:15:44.115Z] dd3240ac7de5: Pull complete [2022-07-07T06:15:44.115Z] b1e948a4e11c: Pull complete [2022-07-07T06:15:46.655Z] a8fd76ee1af6: Pull complete [2022-07-07T06:15:47.225Z] 646ad004c059: Pull complete [2022-07-07T06:15:47.486Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T06:15:47.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T06:15:47.486Z] ---> 8f69c11f6b0c [2022-07-07T06:15:47.486Z] Step 3/12 : ARG MAKE="make build" [2022-07-07T06:15:49.403Z] ---> Running in 1dd2a8be6b69 [2022-07-07T06:15:49.403Z] Removing intermediate container 1dd2a8be6b69 [2022-07-07T06:15:49.403Z] ---> 319ad1ea7905 [2022-07-07T06:15:49.403Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T06:15:49.403Z] ---> Running in c117cfad0be8 [2022-07-07T06:15:49.403Z] Removing intermediate container c117cfad0be8 [2022-07-07T06:15:49.403Z] ---> 5f80bec07fb0 [2022-07-07T06:15:49.403Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-07T06:15:49.403Z] ---> Running in d8b68cdb0b90 [2022-07-07T06:15:49.403Z] Removing intermediate container d8b68cdb0b90 [2022-07-07T06:15:49.403Z] ---> c5d333f91295 [2022-07-07T06:15:49.403Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T06:15:49.403Z] ---> Running in f4cff64f5e43 [2022-07-07T06:15:49.973Z] Removing intermediate container f4cff64f5e43 [2022-07-07T06:15:49.973Z] ---> 0e4e6bd2dc05 [2022-07-07T06:15:49.973Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T06:15:49.973Z] ---> Running in d5f2f4d77761 [2022-07-07T06:15:50.543Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T06:15:51.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T06:15:51.746Z] (1/81) Installing mesa (21.2.6-r0) [2022-07-07T06:15:51.746Z] (2/81) Installing libxau (1.0.9-r0) [2022-07-07T06:15:51.746Z] (3/81) Installing libmd (1.0.3-r0) [2022-07-07T06:15:52.007Z] (4/81) Installing libbsd (0.11.3-r1) [2022-07-07T06:15:52.007Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-07-07T06:15:52.007Z] (6/81) Installing libxcb (1.14-r2) [2022-07-07T06:15:52.268Z] (7/81) Installing libx11 (1.7.2-r0) [2022-07-07T06:15:52.268Z] (8/81) Installing libxext (1.3.4-r0) [2022-07-07T06:15:52.268Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-07-07T06:15:52.328Z] Still waiting to schedule task [2022-07-07T06:15:52.328Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-07T06:15:52.530Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-07-07T06:15:52.530Z] (11/81) Installing libpciaccess (0.16-r0) [2022-07-07T06:15:52.530Z] (12/81) Installing libdrm (2.4.109-r0) [2022-07-07T06:15:52.791Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-07-07T06:15:52.791Z] (14/81) Installing libxshmfence (1.3-r1) [2022-07-07T06:15:52.791Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-07-07T06:15:53.051Z] (16/81) Installing libice (1.0.10-r0) [2022-07-07T06:15:53.051Z] (17/81) Installing libuuid (2.37.4-r0) [2022-07-07T06:15:53.051Z] (18/81) Installing libsm (1.2.3-r0) [2022-07-07T06:15:53.311Z] (19/81) Installing libxt (1.2.1-r0) [2022-07-07T06:15:53.311Z] (20/81) Installing libxmu (1.1.3-r0) [2022-07-07T06:15:53.311Z] (21/81) Installing xset (1.2.4-r0) [2022-07-07T06:15:53.571Z] (22/81) Installing xprop (1.2.5-r0) [2022-07-07T06:15:53.571Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-07-07T06:15:53.571Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-07-07T06:15:53.832Z] (25/81) Installing libffi (3.4.2-r1) [2022-07-07T06:15:53.832Z] (26/81) Installing libintl (0.21-r0) [2022-07-07T06:15:53.832Z] (27/81) Installing libblkid (2.37.4-r0) [2022-07-07T06:15:54.092Z] (28/81) Installing libmount (2.37.4-r0) [2022-07-07T06:15:54.092Z] (29/81) Installing pcre (8.45-r1) [2022-07-07T06:15:54.092Z] (30/81) Installing glib (2.70.1-r0) [2022-07-07T06:15:54.380Z] (31/81) Installing icu-libs (69.1-r1) [2022-07-07T06:15:55.776Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-07-07T06:15:56.038Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-07-07T06:15:56.038Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-07-07T06:15:56.300Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-07-07T06:15:56.562Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-07-07T06:15:56.562Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-07-07T06:15:56.562Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-07-07T06:15:56.822Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-07-07T06:15:57.085Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-07-07T06:15:57.085Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-07-07T06:15:57.085Z] (42/81) Installing libpng (1.6.37-r1) [2022-07-07T06:15:57.346Z] (43/81) Installing freetype (2.11.1-r2) [2022-07-07T06:15:57.346Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-07-07T06:15:57.346Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-07-07T06:15:57.606Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-07-07T06:15:57.606Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-07-07T06:15:57.868Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-07-07T06:15:57.868Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-07-07T06:15:57.868Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-07-07T06:15:58.129Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-07-07T06:15:58.129Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-07-07T06:15:58.129Z] (53/81) Installing avahi-libs (0.8-r5) [2022-07-07T06:15:58.390Z] (54/81) Installing nettle (3.7.3-r0) [2022-07-07T06:15:58.390Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-07-07T06:15:58.390Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-07-07T06:15:58.650Z] (57/81) Installing libunistring (0.9.10-r1) [2022-07-07T06:15:58.650Z] (58/81) Installing gnutls (3.7.1-r0) [2022-07-07T06:15:58.650Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-07-07T06:15:58.913Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-07-07T06:15:58.913Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-07-07T06:15:59.174Z] (62/81) Installing libevdev (1.12.0-r0) [2022-07-07T06:15:59.174Z] (63/81) Installing mtdev (1.1.6-r0) [2022-07-07T06:15:59.174Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-07T06:15:59.436Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-07-07T06:15:59.436Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-07-07T06:15:59.436Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-07-07T06:15:59.697Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-07-07T06:15:59.697Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-07-07T06:15:59.697Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-07T06:15:59.958Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-07T06:15:59.958Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-07-07T06:15:59.958Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-07-07T06:16:00.530Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-07-07T06:16:00.530Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-07-07T06:16:00.530Z] (76/81) Installing udev-init-scripts (35-r0) [2022-07-07T06:16:00.791Z] Executing udev-init-scripts-35-r0.post-install [2022-07-07T06:16:00.791Z] (77/81) Installing kmod-libs (29-r2) [2022-07-07T06:16:00.791Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-07-07T06:16:01.052Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-07T06:16:01.052Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-07T06:16:01.052Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-07-07T06:16:01.313Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T06:16:01.313Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-07T06:16:01.313Z] OK: 335 MiB in 133 packages [2022-07-07T06:16:03.857Z] Removing intermediate container d5f2f4d77761 [2022-07-07T06:16:03.857Z] ---> ce90ec24c3cb [2022-07-07T06:16:03.857Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-07T06:16:03.857Z] ---> Running in e93987fdda55 [2022-07-07T06:16:03.857Z] Removing intermediate container e93987fdda55 [2022-07-07T06:16:03.857Z] ---> f944b245f3bf [2022-07-07T06:16:03.857Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T06:16:03.857Z] ---> aad234606db5 [2022-07-07T06:16:03.858Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T06:16:03.858Z] ---> Running in 904bde509a78 [2022-07-07T06:16:25.847Z] Removing intermediate container 904bde509a78 [2022-07-07T06:16:25.847Z] ---> a252c25673ac [2022-07-07T06:16:25.847Z] Step 11/12 : COPY . . [2022-07-07T06:16:25.847Z] ---> e219936bca56 [2022-07-07T06:16:25.847Z] Step 12/12 : RUN ${MAKE} [2022-07-07T06:16:25.847Z] ---> Running in c5447a3ee7a7 [2022-07-07T06:16:25.847Z] noop [2022-07-07T06:16:25.847Z] Removing intermediate container c5447a3ee7a7 [2022-07-07T06:16:25.847Z] ---> 68cd249065e5 [2022-07-07T06:16:25.847Z] Successfully built 68cd249065e5 [2022-07-07T06:16:25.847Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:16:26.167Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T06:16:26.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:16:26.258Z] prd-ubuntu20.04-docker-8c-8g-17114 does not seem to be running inside a container [2022-07-07T06:16:26.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T06:16:26.728Z] $ docker top a89ef0f99c9bfe9e4cd64bfaf573ad1216cf71ff05f6ac0b9a099861c767dbe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T06:16:27.117Z] + go version [2022-07-07T06:16:27.117Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T06:16:27.160Z] $ docker stop --time=1 a89ef0f99c9bfe9e4cd64bfaf573ad1216cf71ff05f6ac0b9a099861c767dbe2 [2022-07-07T06:16:28.429Z] $ docker rm -f a89ef0f99c9bfe9e4cd64bfaf573ad1216cf71ff05f6ac0b9a099861c767dbe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:16:28.854Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T06:16:28.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:16:28.948Z] prd-ubuntu20.04-docker-8c-8g-17114 does not seem to be running inside a container [2022-07-07T06:16:28.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T06:16:29.393Z] $ docker top baa16c8551d4f5d1d31cdf1f5d9786188d3ce716b4aee092cbc7c375dbc60d39 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T06:16:29.755Z] + make test [2022-07-07T06:16:29.755Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-07T06:16:30.015Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-07T06:16:42.264Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-07T06:16:42.264Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-07T06:16:48.851Z] CGO_ENABLED=1 go vet ./... [2022-07-07T06:16:52.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T06:16:52.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T06:16:52.150Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T06:16:52.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T06:16:52.747Z] $ docker stop --time=1 baa16c8551d4f5d1d31cdf1f5d9786188d3ce716b4aee092cbc7c375dbc60d39 [2022-07-07T06:16:54.589Z] $ docker rm -f baa16c8551d4f5d1d31cdf1f5d9786188d3ce716b4aee092cbc7c375dbc60d39 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T06:16:55.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T06:16:55.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T06:16:55.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T06:16:55.978Z] + ls -al . [2022-07-07T06:16:55.978Z] total 164 [2022-07-07T06:16:55.978Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 06:16 . [2022-07-07T06:16:55.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 06:15 .. [2022-07-07T06:16:55.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 06:15 .git [2022-07-07T06:16:55.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:15 .github [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 7 06:15 .gitignore [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 06:15 .golangci.yml [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 7 06:15 .hadolint.yml [2022-07-07T06:16:55.978Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 06:15 .semver [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 7 06:15 Attribution.txt [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 7 06:15 CHANGELOG.md [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 7 06:15 Dockerfile [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 7 06:15 GOVERNANCE.md [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 7 06:15 Jenkinsfile [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 06:15 LICENSE [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 7 06:15 Makefile [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 7 06:15 OWNERS.md [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 11243 Jul 7 06:15 README.md [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 06:15 VERSION [2022-07-07T06:16:55.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 06:15 bin [2022-07-07T06:16:55.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:15 cmd [2022-07-07T06:16:55.978Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 7 06:16 coverage.out [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 06:15 docker-entrypoint.sh [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 7 06:15 go.mod [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 7 06:15 go.sum [2022-07-07T06:16:55.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:15 internal [2022-07-07T06:16:55.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 06:15 snap [2022-07-07T06:16:55.978Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 7 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:16:56.305Z] + 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=d958876e9241c98b21376266bb7e5f58e05cf081 --label arch=amd64 --label version=0.0.0 . [2022-07-07T06:16:56.305Z] Sending build context to Docker daemon 728.6kB [2022-07-07T06:16:56.305Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T06:16:56.305Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-07T06:16:56.305Z] ---> 68cd249065e5 [2022-07-07T06:16:56.305Z] Step 3/29 : ARG MAKE="make build" [2022-07-07T06:16:56.305Z] ---> Running in 66b75073b09a [2022-07-07T06:16:56.567Z] Removing intermediate container 66b75073b09a [2022-07-07T06:16:56.567Z] ---> 6fbb5d5617f6 [2022-07-07T06:16:56.567Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T06:16:56.567Z] ---> Running in 9923efa9b136 [2022-07-07T06:16:56.567Z] Removing intermediate container 9923efa9b136 [2022-07-07T06:16:56.567Z] ---> 82f0693c9a1e [2022-07-07T06:16:56.567Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-07T06:16:56.567Z] ---> Running in 6c9535d41358 [2022-07-07T06:16:56.828Z] Removing intermediate container 6c9535d41358 [2022-07-07T06:16:56.828Z] ---> 031a86b45813 [2022-07-07T06:16:56.828Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T06:16:56.828Z] ---> Running in 19a5eb285b7e [2022-07-07T06:16:57.399Z] Removing intermediate container 19a5eb285b7e [2022-07-07T06:16:57.399Z] ---> f29b92a1b3f6 [2022-07-07T06:16:57.399Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T06:16:57.399Z] ---> Running in 6f39dcf34825 [2022-07-07T06:16:57.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T06:16:58.606Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T06:16:58.867Z] OK: 335 MiB in 133 packages [2022-07-07T06:16:59.129Z] Removing intermediate container 6f39dcf34825 [2022-07-07T06:16:59.129Z] ---> 284d8ddaff46 [2022-07-07T06:16:59.129Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-07T06:16:59.129Z] ---> Running in 030c8c38a5ff [2022-07-07T06:16:59.388Z] Removing intermediate container 030c8c38a5ff [2022-07-07T06:16:59.388Z] ---> 9150b76d117b [2022-07-07T06:16:59.388Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-07T06:16:59.388Z] ---> 3398b663bf15 [2022-07-07T06:16:59.388Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T06:16:59.388Z] ---> Running in cc8f145a3a00 [2022-07-07T06:17:00.331Z] Removing intermediate container cc8f145a3a00 [2022-07-07T06:17:00.331Z] ---> 405656d03aaf [2022-07-07T06:17:00.331Z] Step 11/29 : COPY . . [2022-07-07T06:17:00.331Z] ---> bdc82a95b763 [2022-07-07T06:17:00.331Z] Step 12/29 : RUN ${MAKE} [2022-07-07T06:17:00.331Z] ---> Running in bbe9580a4021 [2022-07-07T06:17:00.903Z] 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-07T06:17:22.872Z] Removing intermediate container bbe9580a4021 [2022-07-07T06:17:22.872Z] ---> 70bc1ab6baa4 [2022-07-07T06:17:22.872Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-07T06:17:23.443Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-07T06:17:23.443Z] af6660deedbd: Pulling fs layer [2022-07-07T06:17:23.443Z] 97cd0a44c592: Pulling fs layer [2022-07-07T06:17:23.703Z] 97cd0a44c592: Verifying Checksum [2022-07-07T06:17:23.703Z] 97cd0a44c592: Download complete [2022-07-07T06:17:23.703Z] af6660deedbd: Verifying Checksum [2022-07-07T06:17:23.703Z] af6660deedbd: Download complete [2022-07-07T06:17:23.963Z] af6660deedbd: Pull complete [2022-07-07T06:17:23.963Z] 97cd0a44c592: Pull complete [2022-07-07T06:17:23.963Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-07T06:17:23.963Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-07T06:17:23.963Z] ---> fea57e182299 [2022-07-07T06:17:23.963Z] Step 14/29 : FROM alpine:3.15 [2022-07-07T06:17:24.535Z] 3.15: Pulling from library/alpine [2022-07-07T06:17:24.535Z] df9b9388f04a: Pulling fs layer [2022-07-07T06:17:24.801Z] df9b9388f04a: Verifying Checksum [2022-07-07T06:17:24.801Z] df9b9388f04a: Download complete [2022-07-07T06:17:25.061Z] df9b9388f04a: Pull complete [2022-07-07T06:17:25.061Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T06:17:25.061Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T06:17:25.061Z] ---> 0ac33e5f5afa [2022-07-07T06:17:25.061Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T06:17:25.061Z] ---> Running in d3d502ea5ff7 [2022-07-07T06:17:25.324Z] Removing intermediate container d3d502ea5ff7 [2022-07-07T06:17:25.324Z] ---> f896b8a477fc [2022-07-07T06:17:25.324Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-07T06:17:25.324Z] ---> Running in 00ceb210ee4a [2022-07-07T06:17:25.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T06:17:25.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T06:17:25.845Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-07T06:17:25.845Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-07T06:17:25.845Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-07T06:17:25.845Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-07T06:17:25.845Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-07T06:17:25.845Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-07T06:17:25.845Z] (7/74) Installing libxcb (1.14-r2) [2022-07-07T06:17:25.845Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-07T06:17:25.845Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-07T06:17:26.104Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-07T06:17:26.104Z] (11/74) Installing expat (2.4.7-r0) [2022-07-07T06:17:26.104Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-07T06:17:26.104Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-07T06:17:26.104Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-07T06:17:26.104Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-07T06:17:26.104Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-07T06:17:26.104Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-07T06:17:26.104Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-07T06:17:26.104Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-07T06:17:26.104Z] (20/74) Installing libintl (0.21-r0) [2022-07-07T06:17:26.104Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-07T06:17:26.104Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-07T06:17:26.104Z] (23/74) Installing pcre (8.45-r1) [2022-07-07T06:17:26.105Z] (24/74) Installing glib (2.70.1-r0) [2022-07-07T06:17:26.105Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-07T06:17:26.105Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-07T06:17:26.105Z] (27/74) Installing libass (0.15.2-r0) [2022-07-07T06:17:26.105Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-07T06:17:26.105Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-07T06:17:26.105Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-07T06:17:26.105Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-07T06:17:26.105Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-07T06:17:26.105Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-07T06:17:26.105Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-07T06:17:26.105Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-07T06:17:26.364Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-07T06:17:26.364Z] (37/74) Installing lame (3.100-r0) [2022-07-07T06:17:26.364Z] (38/74) Installing opus (1.3.1-r1) [2022-07-07T06:17:26.364Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-07T06:17:26.364Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-07T06:17:26.364Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T06:17:26.364Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T06:17:26.364Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-07T06:17:26.364Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-07T06:17:26.364Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-07T06:17:26.364Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-07T06:17:26.364Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-07T06:17:26.364Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-07T06:17:26.364Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-07T06:17:26.364Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-07T06:17:26.364Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-07T06:17:26.364Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-07T06:17:26.364Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-07T06:17:26.364Z] (54/74) Installing libva (2.13.0-r0) [2022-07-07T06:17:26.364Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-07T06:17:26.364Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-07T06:17:26.364Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-07T06:17:26.364Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-07T06:17:26.364Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-07T06:17:26.364Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-07T06:17:26.364Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-07T06:17:26.364Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-07T06:17:26.624Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-07T06:17:26.624Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-07T06:17:26.624Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-07T06:17:26.624Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-07T06:17:26.624Z] Executing udev-init-scripts-35-r0.post-install [2022-07-07T06:17:26.624Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-07T06:17:26.624Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-07T06:17:26.624Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-07T06:17:26.624Z] (70/74) Installing kmod-libs (29-r2) [2022-07-07T06:17:26.624Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-07T06:17:26.624Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-07T06:17:26.624Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-07T06:17:26.624Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-07T06:17:26.624Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T06:17:26.624Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-07T06:17:26.624Z] OK: 78 MiB in 88 packages [2022-07-07T06:17:28.004Z] Removing intermediate container 00ceb210ee4a [2022-07-07T06:17:28.004Z] ---> dcba42568f26 [2022-07-07T06:17:28.004Z] Step 17/29 : WORKDIR / [2022-07-07T06:17:28.004Z] ---> Running in ba243feabd21 [2022-07-07T06:17:28.013Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17115 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-07-07T06:17:28.027Z] Running in /w/workspace/device-usb-camera/26 [Pipeline] { [Pipeline] checkout [2022-07-07T06:17:28.065Z] Selected Git installation does not exist. Using Default [2022-07-07T06:17:28.066Z] The recommended git tool is: NONE [2022-07-07T06:17:28.263Z] Removing intermediate container ba243feabd21 [2022-07-07T06:17:28.263Z] ---> 180569b2854c [2022-07-07T06:17:28.263Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-07T06:17:28.832Z] ---> 5e20959ab29b [2022-07-07T06:17:28.832Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-07T06:17:29.090Z] ---> a6758321b636 [2022-07-07T06:17:29.090Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-07T06:17:29.090Z] ---> 9a8cabcd9223 [2022-07-07T06:17:29.090Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-07T06:17:29.350Z] ---> d3cf1c080b52 [2022-07-07T06:17:29.350Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-07T06:17:29.608Z] ---> 9070b7c4439f [2022-07-07T06:17:29.608Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-07T06:17:29.866Z] ---> 44cad16e9df4 [2022-07-07T06:17:29.866Z] Step 24/29 : EXPOSE 59983 [2022-07-07T06:17:29.866Z] ---> Running in a072b8540d0a [2022-07-07T06:17:30.146Z] Removing intermediate container a072b8540d0a [2022-07-07T06:17:30.146Z] ---> 103ee99ddcdf [2022-07-07T06:17:30.146Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-07T06:17:30.146Z] ---> Running in f980b482a52a [2022-07-07T06:17:30.146Z] Removing intermediate container f980b482a52a [2022-07-07T06:17:30.146Z] ---> 7f0fd253947c [2022-07-07T06:17:30.146Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-07T06:17:30.412Z] ---> Running in 26ef49695a05 [2022-07-07T06:17:30.412Z] Removing intermediate container 26ef49695a05 [2022-07-07T06:17:30.412Z] ---> 9aef939881b4 [2022-07-07T06:17:30.412Z] Step 27/29 : LABEL arch=amd64 [2022-07-07T06:17:30.412Z] ---> Running in 3ed5bc4f6e12 [2022-07-07T06:17:30.671Z] Removing intermediate container 3ed5bc4f6e12 [2022-07-07T06:17:30.671Z] ---> 66293426d735 [2022-07-07T06:17:30.671Z] Step 28/29 : LABEL git_sha=d958876e9241c98b21376266bb7e5f58e05cf081 [2022-07-07T06:17:30.671Z] ---> Running in 8ea93a737df1 [2022-07-07T06:17:30.671Z] Removing intermediate container 8ea93a737df1 [2022-07-07T06:17:30.671Z] ---> 34410ac1d3ae [2022-07-07T06:17:30.671Z] Step 29/29 : LABEL version=0.0.0 [2022-07-07T06:17:30.671Z] ---> Running in fff23f3bd192 [2022-07-07T06:17:30.671Z] Removing intermediate container fff23f3bd192 [2022-07-07T06:17:30.671Z] ---> db78bf0f53fc [2022-07-07T06:17:30.671Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T06:17:30.931Z] Successfully built db78bf0f53fc [2022-07-07T06:17:30.931Z] 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-07T06:17:31.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T06:17:31.383Z] [2022-07-07T06:17:31.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:17:31.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T06:17:31.677Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T06:17:31.677Z] 5eb5b503b376: Pulling fs layer [2022-07-07T06:17:31.677Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T06:17:31.677Z] ec43610c2a17: Pulling fs layer [2022-07-07T06:17:31.677Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T06:17:31.677Z] 33b1e0a273af: Pulling fs layer [2022-07-07T06:17:31.677Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T06:17:31.677Z] 2f39f015ded8: Pulling fs layer [2022-07-07T06:17:31.677Z] 3a2ae6a8a46f: Waiting [2022-07-07T06:17:31.677Z] 33b1e0a273af: Waiting [2022-07-07T06:17:31.677Z] 5d3b04190fa2: Waiting [2022-07-07T06:17:31.677Z] 2f39f015ded8: Waiting [2022-07-07T06:17:31.677Z] 5c69ac0246d0: Verifying Checksum [2022-07-07T06:17:31.677Z] 5c69ac0246d0: Download complete [2022-07-07T06:17:31.677Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T06:17:31.678Z] 3a2ae6a8a46f: Download complete [2022-07-07T06:17:31.938Z] 33b1e0a273af: Verifying Checksum [2022-07-07T06:17:31.938Z] 33b1e0a273af: Download complete [2022-07-07T06:17:31.938Z] ec43610c2a17: Verifying Checksum [2022-07-07T06:17:31.938Z] ec43610c2a17: Download complete [2022-07-07T06:17:31.938Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T06:17:31.938Z] 5d3b04190fa2: Download complete [2022-07-07T06:17:31.938Z] 5eb5b503b376: Verifying Checksum [2022-07-07T06:17:31.938Z] 5eb5b503b376: Download complete [2022-07-07T06:17:32.506Z] 2f39f015ded8: Verifying Checksum [2022-07-07T06:17:32.506Z] 2f39f015ded8: Download complete [2022-07-07T06:17:32.895Z] using credential edgex-jenkins-ssh [2022-07-07T06:17:32.914Z] Cloning the remote Git repository [2022-07-07T06:17:32.978Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-07T06:17:33.053Z] > git init /w/workspace/device-usb-camera/26 # timeout=10 [2022-07-07T06:17:33.504Z] 5eb5b503b376: Pull complete [2022-07-07T06:17:33.504Z] 5c69ac0246d0: Pull complete [2022-07-07T06:17:34.102Z] ec43610c2a17: Pull complete [2022-07-07T06:17:34.102Z] 3a2ae6a8a46f: Pull complete [2022-07-07T06:17:33.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-07T06:17:33.129Z] > git --version # timeout=10 [2022-07-07T06:17:33.152Z] > git --version # 'git version 2.25.1' [2022-07-07T06:17:33.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T06:17:33.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T06:17:33.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-07T06:17:33.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T06:17:33.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-07T06:17:33.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-07T06:17:33.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T06:17:34.002Z] > 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-07T06:17:34.362Z] 33b1e0a273af: Pull complete [2022-07-07T06:17:34.362Z] 5d3b04190fa2: Pull complete [2022-07-07T06:17:34.527Z] Merging remotes/origin/main commit 55a3a87f6faf5f5f0cba6aef660df9a20be671bf into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 [2022-07-07T06:17:34.788Z] Merge succeeded, producing e4c7709ff4c827507a9b7b5918dc61864eb18745 [2022-07-07T06:17:34.788Z] Checking out Revision e4c7709ff4c827507a9b7b5918dc61864eb18745 (PR-30) [2022-07-07T06:17:34.548Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T06:17:34.578Z] > git checkout -f 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 # timeout=10 [2022-07-07T06:17:34.657Z] > git remote # timeout=10 [2022-07-07T06:17:34.675Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T06:17:34.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T06:17:34.701Z] > git merge 55a3a87f6faf5f5f0cba6aef660df9a20be671bf # timeout=10 [2022-07-07T06:17:34.760Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T06:17:34.799Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T06:17:34.814Z] > git checkout -f e4c7709ff4c827507a9b7b5918dc61864eb18745 # timeout=10 [2022-07-07T06:17:39.009Z] Commit message: "Merge commit '55a3a87f6faf5f5f0cba6aef660df9a20be671bf' into HEAD" [2022-07-07T06:17:39.036Z] First time build. Skipping changelog. [2022-07-07T06:17:39.368Z] [2022-07-07T06:17:39.368Z] GitHub has been notified of this commit’s build result [2022-07-07T06:17:39.368Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T06:17:39.645Z] 2f39f015ded8: Pull complete [2022-07-07T06:17:39.646Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T06:17:39.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T06:17:39.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:17:39.738Z] prd-ubuntu20.04-docker-8c-8g-17114 does not seem to be running inside a container [2022-07-07T06:17:39.023Z] > git rev-list --no-walk 01bc9085b9f484ad4bc095435844d325f85d4d4b # timeout=10 [2022-07-07T06:17:39.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T06:17:39.951Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T06:17:39.952Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T06:17:39.952Z] Dload Upload Total Spent Left Speed [2022-07-07T06:17:39.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 93534 [2022-07-07T06:17:41.879Z] $ docker top 580a03e6a6da8dfdc05d9e2f15c3b7182a2c7d3deb9cecea5d560fb97236fc6f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:17:42.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T06:17:42.376Z] ---> job-cost.sh [2022-07-07T06:17:42.376Z] lf-activate-venv: SKIPPING [2022-07-07T06:17:42.376Z] INFO: No Stack... [2022-07-07T06:17:42.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T06:17:42.636Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T06:17:42.636Z] + sudo tee /etc/docker/daemon.new [2022-07-07T06:17:42.636Z] { [2022-07-07T06:17:42.636Z] "registry-mirrors": [ [2022-07-07T06:17:42.636Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T06:17:42.636Z] ], [2022-07-07T06:17:42.636Z] "bip": "10.250.0.254/24", [2022-07-07T06:17:42.636Z] "hosts": [ [2022-07-07T06:17:42.636Z] "tcp://0.0.0.0:5555", [2022-07-07T06:17:42.636Z] "unix:///var/run/docker.sock" [2022-07-07T06:17:42.636Z] ], [2022-07-07T06:17:42.636Z] "mtu": 1458, [2022-07-07T06:17:42.636Z] "selinux-enabled": true, [2022-07-07T06:17:42.636Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T06:17:42.636Z] } [Pipeline] sh [2022-07-07T06:17:42.980Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T06:17:43.208Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T06:17:43.321Z] + sudo service docker restart [2022-07-07T06:17:43.499Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-07-07T06:17:43.500Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T06:17:43.512Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [2022-07-07T06:17:43.518Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] did not exist. Created. [2022-07-07T06:17:43.518Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T06:17:43.824Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T06:17:43.857Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T06:17:43.864Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T06:17:43.885Z] $ docker stop --time=1 580a03e6a6da8dfdc05d9e2f15c3b7182a2c7d3deb9cecea5d560fb97236fc6f [2022-07-07T06:17:45.050Z] $ docker rm -f 580a03e6a6da8dfdc05d9e2f15c3b7182a2c7d3deb9cecea5d560fb97236fc6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T06:18:01.673Z] provisioning config files... [2022-07-07T06:18:01.695Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/26@tmp/config5030319591888181753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:18:02.058Z] ---> docker-login.sh [2022-07-07T06:18:02.058Z] nexus3.edgexfoundry.org:10001 [2022-07-07T06:18:02.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:18:02.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:18:02.932Z] Configure a credential helper to remove this warning. See [2022-07-07T06:18:02.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:18:02.932Z] [2022-07-07T06:18:02.932Z] Login Succeeded [2022-07-07T06:18:02.932Z] nexus3.edgexfoundry.org:10002 [2022-07-07T06:18:03.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:18:03.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:18:03.483Z] Configure a credential helper to remove this warning. See [2022-07-07T06:18:03.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:18:03.483Z] [2022-07-07T06:18:03.483Z] Login Succeeded [2022-07-07T06:18:03.483Z] nexus3.edgexfoundry.org:10003 [2022-07-07T06:18:03.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:18:03.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:18:03.757Z] Configure a credential helper to remove this warning. See [2022-07-07T06:18:03.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:18:03.758Z] [2022-07-07T06:18:03.758Z] Login Succeeded [2022-07-07T06:18:03.758Z] nexus3.edgexfoundry.org:10004 [2022-07-07T06:18:04.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:18:04.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:18:04.358Z] Configure a credential helper to remove this warning. See [2022-07-07T06:18:04.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:18:04.358Z] [2022-07-07T06:18:04.358Z] Login Succeeded [2022-07-07T06:18:04.358Z] docker.io [2022-07-07T06:18:04.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T06:18:04.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T06:18:04.913Z] Configure a credential helper to remove this warning. See [2022-07-07T06:18:04.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T06:18:04.913Z] [2022-07-07T06:18:04.913Z] Login Succeeded [2022-07-07T06:18:04.913Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T06:18:04.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T06:18:05.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T06:18:05.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T06:18:05.550Z] ========================================================= [2022-07-07T06:18:05.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T06:18:05.550Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:18:05.930Z] + 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-07T06:18:06.203Z] Sending build context to Docker daemon 502.8kB [2022-07-07T06:18:06.203Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T06:18:06.203Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T06:18:06.475Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T06:18:06.475Z] 9b3977197b4f: Pulling fs layer [2022-07-07T06:18:06.475Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T06:18:06.475Z] 94645a83ff95: Pulling fs layer [2022-07-07T06:18:06.475Z] e6fb740bc735: Pulling fs layer [2022-07-07T06:18:06.475Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T06:18:06.475Z] 355e64cbe906: Pulling fs layer [2022-07-07T06:18:06.475Z] 63ab81a10011: Pulling fs layer [2022-07-07T06:18:06.475Z] 555d1d1c4555: Pulling fs layer [2022-07-07T06:18:06.475Z] 7d9057610161: Pulling fs layer [2022-07-07T06:18:06.475Z] e6fb740bc735: Waiting [2022-07-07T06:18:06.475Z] 63ab81a10011: Waiting [2022-07-07T06:18:06.475Z] 555d1d1c4555: Waiting [2022-07-07T06:18:06.475Z] 7d9057610161: Waiting [2022-07-07T06:18:06.475Z] 3a77bd46dcc9: Waiting [2022-07-07T06:18:06.475Z] 355e64cbe906: Waiting [2022-07-07T06:18:06.475Z] 94645a83ff95: Verifying Checksum [2022-07-07T06:18:06.475Z] 94645a83ff95: Download complete [2022-07-07T06:18:06.475Z] 1a89e8eeedd5: Download complete [2022-07-07T06:18:06.475Z] 3a77bd46dcc9: Download complete [2022-07-07T06:18:06.475Z] 355e64cbe906: Download complete [2022-07-07T06:18:06.475Z] 9b3977197b4f: Verifying Checksum [2022-07-07T06:18:06.475Z] 9b3977197b4f: Download complete [2022-07-07T06:18:06.475Z] 63ab81a10011: Verifying Checksum [2022-07-07T06:18:06.475Z] 63ab81a10011: Download complete [2022-07-07T06:18:07.465Z] 9b3977197b4f: Pull complete [2022-07-07T06:18:07.465Z] 7d9057610161: Verifying Checksum [2022-07-07T06:18:07.465Z] 7d9057610161: Download complete [2022-07-07T06:18:08.069Z] 1a89e8eeedd5: Pull complete [2022-07-07T06:18:08.344Z] 94645a83ff95: Pull complete [2022-07-07T06:18:08.617Z] 555d1d1c4555: Verifying Checksum [2022-07-07T06:18:08.617Z] 555d1d1c4555: Download complete [2022-07-07T06:18:09.217Z] e6fb740bc735: Download complete [2022-07-07T06:18:21.617Z] e6fb740bc735: Pull complete [2022-07-07T06:18:21.617Z] 3a77bd46dcc9: Pull complete [2022-07-07T06:18:21.617Z] 355e64cbe906: Pull complete [2022-07-07T06:18:21.617Z] 63ab81a10011: Pull complete [2022-07-07T06:18:28.339Z] 555d1d1c4555: Pull complete [2022-07-07T06:18:30.321Z] 7d9057610161: Pull complete [2022-07-07T06:18:30.321Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T06:18:30.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T06:18:30.321Z] ---> 819e984ddca1 [2022-07-07T06:18:30.321Z] Step 3/12 : ARG MAKE="make build" [2022-07-07T06:18:30.935Z] ---> Running in a621011c705d [2022-07-07T06:18:31.210Z] Removing intermediate container a621011c705d [2022-07-07T06:18:31.210Z] ---> aa1854bfbeb5 [2022-07-07T06:18:31.210Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T06:18:31.210Z] ---> Running in 7363dbb6f503 [2022-07-07T06:18:31.483Z] Removing intermediate container 7363dbb6f503 [2022-07-07T06:18:31.483Z] ---> cebf71866dc3 [2022-07-07T06:18:31.483Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-07T06:18:31.759Z] ---> Running in b48832de9b45 [2022-07-07T06:18:32.034Z] Removing intermediate container b48832de9b45 [2022-07-07T06:18:32.034Z] ---> af9e98dac579 [2022-07-07T06:18:32.034Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T06:18:32.034Z] ---> Running in e6767ac289e3 [2022-07-07T06:18:34.041Z] Removing intermediate container e6767ac289e3 [2022-07-07T06:18:34.041Z] ---> 55cd06c86b04 [2022-07-07T06:18:34.041Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T06:18:34.041Z] ---> Running in 7834e2411b97 [2022-07-07T06:18:34.643Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T06:18:35.619Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T06:18:36.602Z] (1/14) Installing libintl (0.21-r0) [2022-07-07T06:18:36.602Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-07T06:18:36.602Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-07-07T06:18:36.602Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-07T06:18:36.873Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-07T06:18:36.873Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-07T06:18:37.146Z] Executing udev-init-scripts-35-r0.post-install [2022-07-07T06:18:37.146Z] (7/14) Installing libblkid (2.37.4-r0) [2022-07-07T06:18:37.146Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-07T06:18:37.418Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-07-07T06:18:37.418Z] (10/14) Installing kmod-libs (29-r2) [2022-07-07T06:18:37.418Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-07-07T06:18:37.691Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-07T06:18:37.691Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-07T06:18:37.691Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-07T06:18:37.966Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T06:18:37.966Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-07T06:18:37.966Z] OK: 228 MiB in 66 packages [2022-07-07T06:18:38.965Z] Removing intermediate container 7834e2411b97 [2022-07-07T06:18:38.965Z] ---> 7ddb7898c11d [2022-07-07T06:18:38.965Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-07T06:18:39.239Z] ---> Running in b6b32bae58a8 [2022-07-07T06:18:39.515Z] Removing intermediate container b6b32bae58a8 [2022-07-07T06:18:39.515Z] ---> 7215cd513b89 [2022-07-07T06:18:39.515Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T06:18:40.121Z] ---> c04a4e23df8b [2022-07-07T06:18:40.121Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T06:18:40.121Z] ---> Running in 7d65b11886a5 [2022-07-07T06:19:27.162Z] Removing intermediate container 7d65b11886a5 [2022-07-07T06:19:27.162Z] ---> 78ab6d39dc19 [2022-07-07T06:19:27.162Z] Step 11/12 : COPY . . [2022-07-07T06:19:27.162Z] ---> 4540bd4fc269 [2022-07-07T06:19:27.162Z] Step 12/12 : RUN ${MAKE} [2022-07-07T06:19:27.162Z] ---> Running in 38cfae002488 [2022-07-07T06:19:27.162Z] noop [2022-07-07T06:19:27.162Z] Removing intermediate container 38cfae002488 [2022-07-07T06:19:27.162Z] ---> 93142ec617af [2022-07-07T06:19:27.162Z] Successfully built 93142ec617af [2022-07-07T06:19:27.162Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:19:27.526Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T06:19:27.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:19:27.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-17115 does not seem to be running inside a container [2022-07-07T06:19:27.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/26 -v /w/workspace/device-usb-camera/26:/w/workspace/device-usb-camera/26:rw,z -v /w/workspace/device-usb-camera/26@tmp:/w/workspace/device-usb-camera/26@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-07T06:19:29.149Z] $ docker top 5dbea0bd6cf51c72ed9d893185170a3a80808d709710e54ba7ea0577e0521a2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T06:19:30.039Z] + go version [2022-07-07T06:19:30.039Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T06:19:30.071Z] $ docker stop --time=1 5dbea0bd6cf51c72ed9d893185170a3a80808d709710e54ba7ea0577e0521a2d [2022-07-07T06:19:31.709Z] $ docker rm -f 5dbea0bd6cf51c72ed9d893185170a3a80808d709710e54ba7ea0577e0521a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:19:32.329Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T06:19:32.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:19:32.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-17115 does not seem to be running inside a container [2022-07-07T06:19:32.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/26 -v /w/workspace/device-usb-camera/26:/w/workspace/device-usb-camera/26:rw,z -v /w/workspace/device-usb-camera/26@tmp:/w/workspace/device-usb-camera/26@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-07T06:19:33.916Z] $ docker top 485938f1120f037277eead6a2be862048a3acd34e477f76daacaf5d054333243 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T06:19:34.804Z] + make test [2022-07-07T06:19:34.804Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-07T06:19:36.241Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-07T06:20:58.077Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-07T06:20:58.077Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-07T06:20:58.077Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T06:20:58.077Z] CGO_ENABLED=1 go vet ./... [2022-07-07T06:21:20.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T06:21:20.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T06:21:20.276Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T06:21:21.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T06:21:21.753Z] $ docker stop --time=1 485938f1120f037277eead6a2be862048a3acd34e477f76daacaf5d054333243 [2022-07-07T06:21:23.506Z] $ docker rm -f 485938f1120f037277eead6a2be862048a3acd34e477f76daacaf5d054333243 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T06:21:24.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T06:21:24.473Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T06:21:24.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T06:21:25.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T06:21:25.641Z] + ls -al . [2022-07-07T06:21:25.641Z] total 160 [2022-07-07T06:21:25.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 06:21 . [2022-07-07T06:21:25.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 06:17 .. [2022-07-07T06:21:25.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 06:17 .git [2022-07-07T06:21:25.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:17 .github [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 7 06:17 .gitignore [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 06:17 .golangci.yml [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 7 06:17 .hadolint.yml [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 7 06:17 Attribution.txt [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 7 06:17 CHANGELOG.md [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 7 06:17 Dockerfile [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 7 06:17 GOVERNANCE.md [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 7 06:17 Jenkinsfile [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 06:17 LICENSE [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 7 06:17 Makefile [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 7 06:17 OWNERS.md [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 11243 Jul 7 06:17 README.md [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 06:15 VERSION [2022-07-07T06:21:25.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 06:17 bin [2022-07-07T06:21:25.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:17 cmd [2022-07-07T06:21:25.641Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 7 06:19 coverage.out [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 06:17 docker-entrypoint.sh [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 7 06:17 go.mod [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 7 06:17 go.sum [2022-07-07T06:21:25.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 06:17 internal [2022-07-07T06:21:25.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 06:17 snap [2022-07-07T06:21:25.641Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 7 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:21:25.996Z] + 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=e4c7709ff4c827507a9b7b5918dc61864eb18745 --label arch=arm64 --label version=0.0.0 . [2022-07-07T06:21:26.268Z] Sending build context to Docker daemon 503.8kB [2022-07-07T06:21:26.268Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T06:21:26.268Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-07T06:21:26.268Z] ---> 93142ec617af [2022-07-07T06:21:26.268Z] Step 3/29 : ARG MAKE="make build" [2022-07-07T06:21:26.541Z] ---> Running in a03711911bcd [2022-07-07T06:21:26.816Z] Removing intermediate container a03711911bcd [2022-07-07T06:21:26.816Z] ---> f778bcfd2d38 [2022-07-07T06:21:26.816Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T06:21:26.816Z] ---> Running in a655c05aacc6 [2022-07-07T06:21:27.093Z] Removing intermediate container a655c05aacc6 [2022-07-07T06:21:27.093Z] ---> befa8fade299 [2022-07-07T06:21:27.093Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-07T06:21:27.093Z] ---> Running in 403302904bd9 [2022-07-07T06:21:27.415Z] Removing intermediate container 403302904bd9 [2022-07-07T06:21:27.415Z] ---> 34794f4dc0a4 [2022-07-07T06:21:27.415Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T06:21:27.699Z] ---> Running in 5e5226a29411 [2022-07-07T06:21:29.756Z] Removing intermediate container 5e5226a29411 [2022-07-07T06:21:29.756Z] ---> 7dd48efd5103 [2022-07-07T06:21:29.756Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T06:21:29.756Z] ---> Running in 0961840ff0eb [2022-07-07T06:21:30.746Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T06:21:31.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T06:21:32.318Z] OK: 228 MiB in 66 packages [2022-07-07T06:21:33.304Z] Removing intermediate container 0961840ff0eb [2022-07-07T06:21:33.304Z] ---> 4ce783cc0ed5 [2022-07-07T06:21:33.304Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-07T06:21:33.304Z] ---> Running in ab55dbdf289c [2022-07-07T06:21:33.579Z] Removing intermediate container ab55dbdf289c [2022-07-07T06:21:33.579Z] ---> eedeb01db07e [2022-07-07T06:21:33.579Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-07T06:21:34.180Z] ---> 932027ad7d12 [2022-07-07T06:21:34.180Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T06:21:34.180Z] ---> Running in 551933e846f9 [2022-07-07T06:21:36.160Z] Removing intermediate container 551933e846f9 [2022-07-07T06:21:36.160Z] ---> a7abea9a85ad [2022-07-07T06:21:36.160Z] Step 11/29 : COPY . . [2022-07-07T06:21:37.146Z] ---> df7b35b09672 [2022-07-07T06:21:37.146Z] Step 12/29 : RUN ${MAKE} [2022-07-07T06:21:37.146Z] ---> Running in a57c4ea6db87 [2022-07-07T06:21:38.126Z] 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-07T06:23:44.993Z] Removing intermediate container a57c4ea6db87 [2022-07-07T06:23:44.993Z] ---> 56eab417f6ab [2022-07-07T06:23:44.993Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-07T06:23:44.993Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-07T06:23:44.993Z] eab2503cf8f4: Pulling fs layer [2022-07-07T06:23:44.993Z] 97cd0a44c592: Pulling fs layer [2022-07-07T06:23:44.993Z] 97cd0a44c592: Download complete [2022-07-07T06:23:44.993Z] eab2503cf8f4: Verifying Checksum [2022-07-07T06:23:44.993Z] eab2503cf8f4: Download complete [2022-07-07T06:23:44.993Z] eab2503cf8f4: Pull complete [2022-07-07T06:23:44.993Z] 97cd0a44c592: Pull complete [2022-07-07T06:23:44.993Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-07T06:23:44.993Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-07T06:23:44.993Z] ---> 7f763cca56b3 [2022-07-07T06:23:44.993Z] Step 14/29 : FROM alpine:3.15 [2022-07-07T06:23:44.993Z] 3.15: Pulling from library/alpine [2022-07-07T06:23:44.993Z] 9981e73032c8: Pulling fs layer [2022-07-07T06:23:44.993Z] 9981e73032c8: Download complete [2022-07-07T06:23:44.993Z] 9981e73032c8: Pull complete [2022-07-07T06:23:44.993Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T06:23:44.993Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T06:23:44.993Z] ---> 3fb3c9af89a9 [2022-07-07T06:23:44.993Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T06:23:44.993Z] ---> Running in 7d766cac786f [2022-07-07T06:23:44.993Z] Removing intermediate container 7d766cac786f [2022-07-07T06:23:44.993Z] ---> 7ead49395c42 [2022-07-07T06:23:44.993Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-07T06:23:44.993Z] ---> Running in 363ef63e3d8d [2022-07-07T06:23:44.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T06:23:44.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T06:23:44.993Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-07T06:23:44.993Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-07T06:23:44.993Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-07T06:23:44.993Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-07T06:23:44.993Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-07T06:23:44.993Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-07T06:23:44.993Z] (7/73) Installing libxcb (1.14-r2) [2022-07-07T06:23:44.993Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-07T06:23:44.993Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-07T06:23:44.993Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-07T06:23:44.993Z] (11/73) Installing expat (2.4.7-r0) [2022-07-07T06:23:44.993Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-07T06:23:44.993Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-07T06:23:44.993Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-07T06:23:44.993Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-07T06:23:44.993Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-07T06:23:44.993Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-07T06:23:44.993Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-07T06:23:44.993Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-07T06:23:44.993Z] (20/73) Installing libintl (0.21-r0) [2022-07-07T06:23:44.993Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-07T06:23:44.993Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-07T06:23:44.993Z] (23/73) Installing pcre (8.45-r1) [2022-07-07T06:23:44.993Z] (24/73) Installing glib (2.70.1-r0) [2022-07-07T06:23:44.993Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-07T06:23:44.993Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-07T06:23:44.993Z] (27/73) Installing libass (0.15.2-r0) [2022-07-07T06:23:44.993Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-07T06:23:44.993Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-07T06:23:44.993Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-07T06:23:44.993Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-07T06:23:44.993Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-07T06:23:44.993Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-07T06:23:44.993Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-07T06:23:44.993Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-07T06:23:44.993Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-07T06:23:44.993Z] (37/73) Installing lame (3.100-r0) [2022-07-07T06:23:44.993Z] (38/73) Installing opus (1.3.1-r1) [2022-07-07T06:23:44.993Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-07T06:23:44.993Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-07T06:23:44.993Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T06:23:44.993Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T06:23:44.993Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-07T06:23:44.993Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-07T06:23:44.993Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-07T06:23:44.993Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-07T06:23:44.993Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-07T06:23:44.993Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-07T06:23:44.993Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-07T06:23:44.993Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-07T06:23:44.993Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-07T06:23:44.993Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-07T06:23:44.993Z] (53/73) Installing libva (2.13.0-r0) [2022-07-07T06:23:44.993Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-07T06:23:44.993Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-07T06:23:44.993Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-07T06:23:44.993Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-07T06:23:44.993Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-07T06:23:44.993Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-07T06:23:44.993Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-07T06:23:44.993Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-07T06:23:44.993Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-07T06:23:44.993Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-07T06:23:44.993Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-07T06:23:44.993Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-07T06:23:44.993Z] Executing udev-init-scripts-35-r0.post-install [2022-07-07T06:23:44.993Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-07T06:23:44.993Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-07T06:23:44.993Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-07T06:23:44.993Z] (69/73) Installing kmod-libs (29-r2) [2022-07-07T06:23:44.993Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-07T06:23:44.993Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-07T06:23:44.993Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-07T06:23:44.993Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-07T06:23:44.993Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T06:23:44.993Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-07T06:23:44.993Z] OK: 67 MiB in 87 packages [2022-07-07T06:23:45.976Z] Removing intermediate container 363ef63e3d8d [2022-07-07T06:23:45.976Z] ---> fdbd011a2173 [2022-07-07T06:23:45.976Z] Step 17/29 : WORKDIR / [2022-07-07T06:23:46.253Z] ---> Running in 70cd6f0e2435 [2022-07-07T06:23:46.525Z] Removing intermediate container 70cd6f0e2435 [2022-07-07T06:23:46.525Z] ---> 3626f265dd2d [2022-07-07T06:23:46.525Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-07T06:23:47.958Z] ---> d026e5e82e7d [2022-07-07T06:23:47.958Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-07T06:23:48.556Z] ---> 3d1f779b60cf [2022-07-07T06:23:48.556Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-07T06:23:48.835Z] ---> 0b5547d371ba [2022-07-07T06:23:48.835Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-07T06:23:49.432Z] ---> e2182e84f62d [2022-07-07T06:23:49.432Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-07T06:23:50.030Z] ---> 02cf060e8f70 [2022-07-07T06:23:50.030Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-07T06:23:51.468Z] ---> 7ad87b3c707a [2022-07-07T06:23:51.468Z] Step 24/29 : EXPOSE 59983 [2022-07-07T06:23:51.468Z] ---> Running in 50062cd1c307 [2022-07-07T06:23:51.468Z] Removing intermediate container 50062cd1c307 [2022-07-07T06:23:51.468Z] ---> c4626dc7365a [2022-07-07T06:23:51.468Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-07T06:23:51.468Z] ---> Running in 6cdc36cdc19c [2022-07-07T06:23:52.078Z] Removing intermediate container 6cdc36cdc19c [2022-07-07T06:23:52.078Z] ---> 987b9e5044f8 [2022-07-07T06:23:52.078Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-07T06:23:52.078Z] ---> Running in 9b3485237d21 [2022-07-07T06:23:52.351Z] Removing intermediate container 9b3485237d21 [2022-07-07T06:23:52.351Z] ---> 97f1366f91ce [2022-07-07T06:23:52.351Z] Step 27/29 : LABEL arch=arm64 [2022-07-07T06:23:52.351Z] ---> Running in d807a7a8991b [2022-07-07T06:23:52.625Z] Removing intermediate container d807a7a8991b [2022-07-07T06:23:52.625Z] ---> de350fd0c7db [2022-07-07T06:23:52.625Z] Step 28/29 : LABEL git_sha=e4c7709ff4c827507a9b7b5918dc61864eb18745 [2022-07-07T06:23:52.625Z] ---> Running in 2b7dbfdb94b3 [2022-07-07T06:23:52.902Z] Removing intermediate container 2b7dbfdb94b3 [2022-07-07T06:23:52.902Z] ---> a4cd8114c327 [2022-07-07T06:23:52.902Z] Step 29/29 : LABEL version=0.0.0 [2022-07-07T06:23:53.177Z] ---> Running in b4d694670011 [2022-07-07T06:23:53.451Z] Removing intermediate container b4d694670011 [2022-07-07T06:23:53.451Z] ---> 61f7829af29f [2022-07-07T06:23:53.451Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T06:23:53.451Z] Successfully built 61f7829af29f [2022-07-07T06:23:53.451Z] 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-07T06:23:53.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T06:23:53.904Z] [2022-07-07T06:23:53.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:23:54.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T06:23:54.536Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T06:23:54.536Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T06:23:54.536Z] 04944245beec: Pulling fs layer [2022-07-07T06:23:54.536Z] 699f458cf7ca: Pulling fs layer [2022-07-07T06:23:54.536Z] 765212b225bb: Pulling fs layer [2022-07-07T06:23:54.536Z] f23df028b6ca: Pulling fs layer [2022-07-07T06:23:54.536Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T06:23:54.536Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T06:23:54.536Z] 765212b225bb: Waiting [2022-07-07T06:23:54.536Z] f23df028b6ca: Waiting [2022-07-07T06:23:54.536Z] d65c8cfc05b1: Waiting [2022-07-07T06:23:54.536Z] 2437ff75d9bd: Waiting [2022-07-07T06:23:54.536Z] 04944245beec: Verifying Checksum [2022-07-07T06:23:54.536Z] 04944245beec: Download complete [2022-07-07T06:23:54.536Z] 765212b225bb: Verifying Checksum [2022-07-07T06:23:54.536Z] 765212b225bb: Download complete [2022-07-07T06:23:54.536Z] f23df028b6ca: Verifying Checksum [2022-07-07T06:23:54.536Z] f23df028b6ca: Download complete [2022-07-07T06:23:54.536Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T06:23:54.536Z] d65c8cfc05b1: Download complete [2022-07-07T06:23:54.811Z] 699f458cf7ca: Verifying Checksum [2022-07-07T06:23:54.811Z] 699f458cf7ca: Download complete [2022-07-07T06:23:55.089Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T06:23:55.089Z] 8998bd30e6a1: Download complete [2022-07-07T06:23:57.716Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T06:23:57.716Z] 2437ff75d9bd: Download complete [2022-07-07T06:23:59.694Z] 8998bd30e6a1: Pull complete [2022-07-07T06:23:59.694Z] 04944245beec: Pull complete [2022-07-07T06:24:01.668Z] 699f458cf7ca: Pull complete [2022-07-07T06:24:01.668Z] 765212b225bb: Pull complete [2022-07-07T06:24:02.268Z] f23df028b6ca: Pull complete [2022-07-07T06:24:02.542Z] d65c8cfc05b1: Pull complete [2022-07-07T06:24:17.633Z] 2437ff75d9bd: Pull complete [2022-07-07T06:24:17.633Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T06:24:17.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T06:24:17.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:24:17.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-17115 does not seem to be running inside a container [2022-07-07T06:24:17.962Z] $ 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/26 -v /w/workspace/device-usb-camera/26:/w/workspace/device-usb-camera/26:rw,z -v /w/workspace/device-usb-camera/26@tmp:/w/workspace/device-usb-camera/26@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-07T06:24:20.347Z] $ docker top cb338fd634ef31df9fe3924df5736fa88ad7cb414744818a56d10ba22a67d3df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:21.227Z] ---> job-cost.sh [2022-07-07T06:24:21.227Z] lf-activate-venv: SKIPPING [2022-07-07T06:24:21.227Z] INFO: No Stack... [2022-07-07T06:24:21.495Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T06:24:22.462Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T06:24:23.111Z] + cat /w/workspace/device-usb-camera/26/archives/cost.csv [2022-07-07T06:24:23.112Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T06:24:23.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [2022-07-07T06:24:23.176Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] did not exist. Created. [2022-07-07T06:24:23.176Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T06:24:23.838Z] /w/workspace/device-usb-camera/26@tmp/durable-01fbad50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T06:24:24.506Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T06:24:24.538Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T06:24:24.585Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T06:24:24.591Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T06:24:24.617Z] $ docker stop --time=1 cb338fd634ef31df9fe3924df5736fa88ad7cb414744818a56d10ba22a67d3df [2022-07-07T06:24:26.118Z] $ docker rm -f cb338fd634ef31df9fe3924df5736fa88ad7cb414744818a56d10ba22a67d3df [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-07T06:24:26.579Z] provisioning config files... [2022-07-07T06:24:26.587Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2705881203795602249tmp [Pipeline] { [Pipeline] sh [2022-07-07T06:24:26.887Z] + set +x [2022-07-07T06:24:26.887Z] + curl -s https://codecov.io/bash [2022-07-07T06:24:26.887Z] + bash -s -- [2022-07-07T06:24:26.887Z] [2022-07-07T06:24:26.887Z] _____ _ [2022-07-07T06:24:26.887Z] / ____| | | [2022-07-07T06:24:26.887Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T06:24:26.887Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T06:24:26.887Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T06:24:26.887Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T06:24:26.887Z] Bash-1.0.6 [2022-07-07T06:24:26.887Z] [2022-07-07T06:24:26.887Z] [2022-07-07T06:24:26.887Z] ==> git version 2.25.1 found [2022-07-07T06:24:26.887Z] ==> 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-07T06:24:26.887Z] Release-Date: 2020-01-08 [2022-07-07T06:24:26.887Z] 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-07T06:24:26.887Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T06:24:26.887Z] ==> Jenkins CI detected. [2022-07-07T06:24:26.887Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-07T06:24:26.887Z] project root: . [2022-07-07T06:24:26.887Z] --> token set from env [2022-07-07T06:24:26.887Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T06:24:26.887Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T06:24:26.887Z] ==> Python coveragepy not found [2022-07-07T06:24:26.887Z] ==> Searching for coverage reports in: [2022-07-07T06:24:26.887Z] + . [2022-07-07T06:24:26.887Z] -> Found 1 reports [2022-07-07T06:24:26.887Z] ==> Detecting git/mercurial file structure [2022-07-07T06:24:26.887Z] ==> Reading reports [2022-07-07T06:24:27.147Z] + ./coverage.out bytes=10 [2022-07-07T06:24:27.147Z] ==> Appending adjustments [2022-07-07T06:24:27.147Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T06:24:27.147Z] + Found adjustments [2022-07-07T06:24:27.147Z] ==> Gzipping contents [2022-07-07T06:24:27.147Z] 4.0K /tmp/codecov.sLNBm5.gz [2022-07-07T06:24:27.147Z] ==> Uploading reports [2022-07-07T06:24:27.147Z] url: https://codecov.io [2022-07-07T06:24:27.147Z] query: branch=PR-30&commit=d958876e9241c98b21376266bb7e5f58e05cf081&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-07T06:24:27.147Z] -> Pinging Codecov [2022-07-07T06:24:27.147Z] 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=d958876e9241c98b21376266bb7e5f58e05cf081&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-07T06:24:27.407Z] -> Uploading to [2022-07-07T06:24:27.407Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/73D8F5FF140700D3E01443B452E23636/d958876e9241c98b21376266bb7e5f58e05cf081/32d4e0d6-eeba-424b-94a9-10667d70de44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T062427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0659db43988f1b4c4b5a098ba7a31386b0aa2bebcc2700d0d0ff5153a6d59a7 [2022-07-07T06:24:27.407Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T06:24:27.407Z] Dload Upload Total Spent Left Speed [2022-07-07T06:24:27.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1200 0 0 100 1200 0 5381 --:--:-- --:--:-- --:--:-- 5357 100 1200 0 0 100 1200 0 5084 --:--:-- --:--:-- --:--:-- 5084 [2022-07-07T06:24:27.668Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/d958876e9241c98b21376266bb7e5f58e05cf081 [Pipeline] } [2022-07-07T06:24:27.676Z] 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-07T06:24:28.337Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-07-07T06:24:28.338Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-07T06:24:28.338Z] total 16 [2022-07-07T06:24:28.338Z] drwxr-xr-x 3 root root 4096 Jul 7 06:17 . [2022-07-07T06:24:28.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 06:17 .. [2022-07-07T06:24:28.338Z] drwxr-xr-x 2 root root 4096 Jul 7 06:17 cost [2022-07-07T06:24:28.338Z] -rw-r--r-- 1 root root 88 Jul 7 06:17 cost.csv [2022-07-07T06:24:28.338Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-07T06:24:28.338Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-07T06:24:28.338Z] total 16 [2022-07-07T06:24:28.338Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 06:17 . [2022-07-07T06:24:28.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 06:17 .. [2022-07-07T06:24:28.338Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 06:17 cost [2022-07-07T06:24:28.338Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 7 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:28.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:29.500Z] ---> package-listing.sh [2022-07-07T06:24:29.500Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T06:24:29.500Z] ++ facter osfamily [2022-07-07T06:24:29.761Z] + OS_FAMILY=debian [2022-07-07T06:24:29.761Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-07T06:24:29.761Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T06:24:29.761Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T06:24:29.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T06:24:29.761Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T06:24:29.761Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-07T06:24:29.761Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T06:24:29.761Z] + case "${OS_FAMILY}" in [2022-07-07T06:24:29.761Z] + dpkg -l [2022-07-07T06:24:29.761Z] + grep '^ii' [2022-07-07T06:24:29.761Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T06:24:29.761Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T06:24:29.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T06:24:29.761Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-07T06:24:29.761Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-07-07T06:24:29.761Z] + 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-07T06:24:29.773Z] 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-07T06:24:30.053Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T06:24:30.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T06:24:30.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T06:24:30.702Z] prd-ubuntu20.04-docker-8c-8g-17114 does not seem to be running inside a container [2022-07-07T06:24:30.740Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T06:24:30.958Z] $ docker top a9b912a8359ba55efec4ee0aa57dc3f005c005ecf867ab9fd5f584d4b1dacee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T06:24:31.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T06:24:31.610Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T06:24:31.897Z] + ls /var/log/sa-host [2022-07-07T06:24:31.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T06:24:32.039Z] provisioning config files... [2022-07-07T06:24:32.048Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config9023387366887506852tmp [Pipeline] { [Pipeline] echo [2022-07-07T06:24:32.060Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:32.354Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T06:24:32.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:32.694Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T06:24:32.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:32.999Z] ---> sudo-logs.sh [2022-07-07T06:24:32.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T06:24:33.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:33.306Z] ---> job-cost.sh [2022-07-07T06:24:33.306Z] lf-activate-venv: SKIPPING [2022-07-07T06:24:33.306Z] DEBUG: total: 0.2199999988079071 [2022-07-07T06:24:33.306Z] INFO: Retrieving Stack Cost... [2022-07-07T06:24:33.566Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T06:24:34.136Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T06:24:34.148Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T06:24:34.435Z] ---> logs-deploy.sh [2022-07-07T06:24:34.436Z] lf-activate-venv: SKIPPING [2022-07-07T06:24:34.436Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/26 [2022-07-07T06:24:34.436Z] INFO: archiving workspace using pattern(s): [2022-07-07T06:24:35.376Z] Archives upload complete. [2022-07-07T06:24:35.638Z] INFO: archiving logs to Nexus