Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 52d4126d9b231bddae3704361e8ca18c4645f34f+73afea3ace466341e80d38fe07fac6720914120d (e81d2b818fb8b4cb9136f952573879502efbcb81) 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-ssh11156976378297345017.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-ssh14545736320548442685.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-ssh5113499634538099884.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-ssh18355016382959639880.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-ssh4662505474920362048.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-16506 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 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 52d4126d9b231bddae3704361e8ca18c4645f34f Merge succeeded, producing 8577db290b36663b2f2d777b700e5632cb14e9c5 Checking out Revision 8577db290b36663b2f2d777b700e5632cb14e9c5 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 52d4126d9b231bddae3704361e8ca18c4645f34f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8577db290b36663b2f2d777b700e5632cb14e9c5 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-30T17:50:28.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-30T17:50:28.063Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-30T17:50:28.077Z] ========================================================= [2022-06-30T17:50:28.077Z] EdgeX Global Pipelines Version Info [2022-06-30T17:50:28.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 # timeout=10 [2022-06-30T17:50:28.851Z] ------------------- [2022-06-30T17:50:28.851Z] stable info: [2022-06-30T17:50:28.851Z] ------------------- [2022-06-30T17:50:28.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-30T17:50:28.851Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-30T17:50:28.851Z] Message: update stable to v1.0.234 [2022-06-30T17:50:29.425Z] ------------------- [2022-06-30T17:50:29.425Z] experimental info: [2022-06-30T17:50:29.425Z] ------------------- [2022-06-30T17:50:29.425Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-30T17:50:29.425Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-30T17:50:29.425Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-30T17:50:29.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-30T17:50:29.638Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-30T17:50:29.653Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-30T17:50:29.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-30T17:50:29.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-30T17:50:29.692Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-30T17:50:29.709Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-30T17:50:29.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-30T17:50:29.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-30T17:50:29.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-30T17:50:29.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-30T17:50:29.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-30T17:50:29.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-30T17:50:29.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-30T17:50:29.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T17:50:29.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T17:50:29.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T17:50:29.857Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T17:50:29.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-30T17:50:29.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-30T17:50:29.896Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-30T17:50:29.907Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-30T17:50:29.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-30T17:50:29.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-30T17:50:29.937Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-30T17:50:29.949Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-30T17:50:29.960Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-30T17:50:29.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-06-30T17:50:29.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-06-30T17:50:29.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-06-30T17:50:30.010Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8577db290b36663b2f2d777b700e5632cb14e9c5 [Pipeline] echo [2022-06-30T17:50:30.024Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8577db2 [Pipeline] echo [2022-06-30T17:50:30.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T17:50:30.073Z] provisioning config files... [2022-06-30T17:50:30.089Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5612687714336972927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:50:30.393Z] ---> docker-login.sh [2022-06-30T17:50:30.393Z] nexus3.edgexfoundry.org:10001 [2022-06-30T17:50:30.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:30.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:30.656Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:30.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:30.656Z] [2022-06-30T17:50:30.656Z] Login Succeeded [2022-06-30T17:50:30.656Z] nexus3.edgexfoundry.org:10002 [2022-06-30T17:50:30.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:30.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:30.919Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:30.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:30.919Z] [2022-06-30T17:50:30.919Z] Login Succeeded [2022-06-30T17:50:30.919Z] nexus3.edgexfoundry.org:10003 [2022-06-30T17:50:30.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:31.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:31.181Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:31.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:31.181Z] [2022-06-30T17:50:31.181Z] Login Succeeded [2022-06-30T17:50:31.181Z] nexus3.edgexfoundry.org:10004 [2022-06-30T17:50:31.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:31.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:31.181Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:31.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:31.181Z] [2022-06-30T17:50:31.181Z] Login Succeeded [2022-06-30T17:50:31.181Z] docker.io [2022-06-30T17:50:31.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:31.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:31.707Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:31.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:31.707Z] [2022-06-30T17:50:31.707Z] Login Succeeded [2022-06-30T17:50:31.707Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T17:50:31.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-30T17:50:32.087Z] + git rev-list -1 --merges 8577db290b36663b2f2d777b700e5632cb14e9c5~1..8577db290b36663b2f2d777b700e5632cb14e9c5 [Pipeline] echo [2022-06-30T17:50:32.174Z] -----------> git rev-list -1 --merges 8577db290b36663b2f2d777b700e5632cb14e9c5~1..8577db290b36663b2f2d777b700e5632cb14e9c5 8577db290b36663b2f2d777b700e5632cb14e9c5 [2022-06-30T17:50:32.174Z] 8577db290b36663b2f2d777b700e5632cb14e9c5 [false] [Pipeline] sh [2022-06-30T17:50:32.470Z] + git log --format=format:%s -1 8577db290b36663b2f2d777b700e5632cb14e9c5 [Pipeline] echo [2022-06-30T17:50:32.486Z] ========================================================= [2022-06-30T17:50:32.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-30T17:50:32.486Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T17:50:32.825Z] + git log --format=format:%s -1 8577db290b36663b2f2d777b700e5632cb14e9c5 [Pipeline] echo [2022-06-30T17:50:32.839Z] [semverPrep] GIT_COMMIT: 8577db290b36663b2f2d777b700e5632cb14e9c5, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo [2022-06-30T17:50:32.849Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-30T17:50:33.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T17:50:33.215Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-30T17:50:33.215Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-30T17:50:33.215Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-30T17:50:33.215Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-30T17:50:33.215Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-30T17:50:33.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:50:33.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T17:50:33.635Z] [2022-06-30T17:50:33.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:50:33.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T17:50:33.944Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-30T17:50:33.944Z] 42c077c10790: Pulling fs layer [2022-06-30T17:50:33.944Z] f63e77b7563a: Pulling fs layer [2022-06-30T17:50:33.944Z] bd5fdadae976: Pulling fs layer [2022-06-30T17:50:33.944Z] 205491f53016: Pulling fs layer [2022-06-30T17:50:33.944Z] df18705c85c3: Pulling fs layer [2022-06-30T17:50:33.944Z] bdb3f477010e: Pulling fs layer [2022-06-30T17:50:33.944Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-30T17:50:33.944Z] 2c6e9b1d212d: Pulling fs layer [2022-06-30T17:50:33.944Z] bdb8f0575790: Pulling fs layer [2022-06-30T17:50:33.944Z] 386e3cb2ff24: Pulling fs layer [2022-06-30T17:50:33.944Z] 2343380bae48: Pulling fs layer [2022-06-30T17:50:33.944Z] bdb3f477010e: Waiting [2022-06-30T17:50:33.944Z] c8a8fc8e1c8f: Waiting [2022-06-30T17:50:33.944Z] 386e3cb2ff24: Waiting [2022-06-30T17:50:33.944Z] 2343380bae48: Waiting [2022-06-30T17:50:33.944Z] bdb8f0575790: Waiting [2022-06-30T17:50:33.944Z] df18705c85c3: Waiting [2022-06-30T17:50:33.944Z] 205491f53016: Waiting [2022-06-30T17:50:33.944Z] 2c6e9b1d212d: Waiting [2022-06-30T17:50:33.944Z] f63e77b7563a: Verifying Checksum [2022-06-30T17:50:33.944Z] f63e77b7563a: Download complete [2022-06-30T17:50:33.944Z] 205491f53016: Verifying Checksum [2022-06-30T17:50:33.944Z] 205491f53016: Download complete [2022-06-30T17:50:34.204Z] df18705c85c3: Verifying Checksum [2022-06-30T17:50:34.204Z] df18705c85c3: Download complete [2022-06-30T17:50:34.204Z] bd5fdadae976: Verifying Checksum [2022-06-30T17:50:34.204Z] bd5fdadae976: Download complete [2022-06-30T17:50:34.204Z] bdb3f477010e: Download complete [2022-06-30T17:50:34.204Z] 2c6e9b1d212d: Verifying Checksum [2022-06-30T17:50:34.204Z] 2c6e9b1d212d: Download complete [2022-06-30T17:50:34.204Z] bdb8f0575790: Verifying Checksum [2022-06-30T17:50:34.204Z] bdb8f0575790: Download complete [2022-06-30T17:50:34.204Z] 386e3cb2ff24: Download complete [2022-06-30T17:50:34.204Z] 2343380bae48: Verifying Checksum [2022-06-30T17:50:34.204Z] 2343380bae48: Download complete [2022-06-30T17:50:34.204Z] 42c077c10790: Verifying Checksum [2022-06-30T17:50:34.204Z] 42c077c10790: Download complete [2022-06-30T17:50:34.464Z] c8a8fc8e1c8f: Download complete [2022-06-30T17:50:35.403Z] 42c077c10790: Pull complete [2022-06-30T17:50:35.663Z] f63e77b7563a: Pull complete [2022-06-30T17:50:36.233Z] bd5fdadae976: Pull complete [2022-06-30T17:50:36.233Z] 205491f53016: Pull complete [2022-06-30T17:50:36.493Z] df18705c85c3: Pull complete [2022-06-30T17:50:36.493Z] bdb3f477010e: Pull complete [2022-06-30T17:50:38.406Z] c8a8fc8e1c8f: Pull complete [2022-06-30T17:50:38.406Z] 2c6e9b1d212d: Pull complete [2022-06-30T17:50:38.667Z] bdb8f0575790: Pull complete [2022-06-30T17:50:38.667Z] 386e3cb2ff24: Pull complete [2022-06-30T17:50:38.927Z] 2343380bae48: Pull complete [2022-06-30T17:50:38.927Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-30T17:50:38.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T17:50:38.927Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:50:39.030Z] prd-ubuntu20.04-docker-8c-8g-16506 does not seem to be running inside a container [2022-06-30T17:50:39.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T17:50:40.377Z] $ docker top 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 -eo pid,comm [2022-06-30T17:50:40.450Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-30T17:50:40.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T17:50:40.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T17:50:40.487Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T17:50:40.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T17:50:40.628Z] $ docker exec 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 ssh-agent [2022-06-30T17:50:40.763Z] SSH_AUTH_SOCK=/tmp/ssh-sAz2Ed9vFiZB/agent.33 [2022-06-30T17:50:40.763Z] SSH_AGENT_PID=39 [2022-06-30T17:50:40.771Z] Running ssh-add (command line suppressed) [2022-06-30T17:50:40.897Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2275912065506739836.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2275912065506739836.key) [2022-06-30T17:50:40.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T17:50:41.207Z] + git tag --points-at HEAD [Pipeline] } [2022-06-30T17:50:41.234Z] $ docker exec --env ******** --env ******** 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 ssh-agent -k [2022-06-30T17:50:41.358Z] unset SSH_AUTH_SOCK; [2022-06-30T17:50:41.360Z] unset SSH_AGENT_PID; [2022-06-30T17:50:41.360Z] echo Agent pid 39 killed; [2022-06-30T17:50:41.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-30T17:50:41.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T17:50:41.391Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T17:50:41.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T17:50:41.531Z] $ docker exec 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 ssh-agent [2022-06-30T17:50:41.655Z] SSH_AUTH_SOCK=/tmp/ssh-fGu4Ijt20cra/agent.72 [2022-06-30T17:50:41.655Z] SSH_AGENT_PID=78 [2022-06-30T17:50:41.659Z] Running ssh-add (command line suppressed) [2022-06-30T17:50:41.783Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8347991102879500550.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8347991102879500550.key) [2022-06-30T17:50:41.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T17:50:42.087Z] + git semver init [2022-06-30T17:50:42.348Z] 2022-06-30 17:50:42,303 [run_init] DEBUG init version:0.0.0 force:False [2022-06-30T17:50:42.348Z] 2022-06-30 17:50:42,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-30T17:50:42.348Z] 2022-06-30 17:50:42,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-06-30T17:50:42.349Z] 2022-06-30 17:50:42,305 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-06-30T17:50:42.920Z] 2022-06-30 17:50:42,819 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,820 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,824 [execute] INFO git cat-file --batch-check [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,832 [execute] INFO git cat-file --batch [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T17:50:42.921Z] 2022-06-30 17:50:42,837 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-06-30T17:50:42.921Z] 0.0.0 [Pipeline] } [2022-06-30T17:50:42.938Z] $ docker exec --env ******** --env ******** 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 ssh-agent -k [2022-06-30T17:50:43.054Z] unset SSH_AUTH_SOCK; [2022-06-30T17:50:43.054Z] unset SSH_AGENT_PID; [2022-06-30T17:50:43.054Z] echo Agent pid 78 killed; [2022-06-30T17:50:43.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T17:50:43.366Z] + git semver [Pipeline] } [2022-06-30T17:50:43.648Z] $ docker stop --time=1 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 [2022-06-30T17:50:45.002Z] $ docker rm -f 6b324c61f5bc8abacd16a77811f0f31133bc68c63b4376d0c42149636610a029 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T17:50:45.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-30T17:50:45.639Z] Stashed 1 file(s) [Pipeline] echo [2022-06-30T17:50:45.642Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T17:50:45.800Z] provisioning config files... [2022-06-30T17:50:45.812Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6091602273149272856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:50:46.115Z] ---> docker-login.sh [2022-06-30T17:50:46.115Z] nexus3.edgexfoundry.org:10001 [2022-06-30T17:50:46.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:46.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:46.115Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:46.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:46.115Z] [2022-06-30T17:50:46.115Z] Login Succeeded [2022-06-30T17:50:46.115Z] nexus3.edgexfoundry.org:10002 [2022-06-30T17:50:46.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:46.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:46.384Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:46.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:46.384Z] [2022-06-30T17:50:46.384Z] Login Succeeded [2022-06-30T17:50:46.384Z] nexus3.edgexfoundry.org:10003 [2022-06-30T17:50:46.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:46.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:46.384Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:46.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:46.384Z] [2022-06-30T17:50:46.384Z] Login Succeeded [2022-06-30T17:50:46.384Z] nexus3.edgexfoundry.org:10004 [2022-06-30T17:50:46.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:46.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:46.645Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:46.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:46.645Z] [2022-06-30T17:50:46.645Z] Login Succeeded [2022-06-30T17:50:46.645Z] docker.io [2022-06-30T17:50:46.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:50:46.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:50:46.906Z] Configure a credential helper to remove this warning. See [2022-06-30T17:50:46.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:50:46.906Z] [2022-06-30T17:50:46.906Z] Login Succeeded [2022-06-30T17:50:46.906Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T17:50:46.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T17:50:46.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T17:50:46.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T17:50:47.003Z] ========================================================= [2022-06-30T17:50:47.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-30T17:50:47.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:50:47.322Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-30T17:50:47.322Z] Sending build context to Docker daemon 749.6kB [2022-06-30T17:50:47.322Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T17:50:47.322Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T17:50:47.322Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-30T17:50:47.322Z] 59bf1c3509f3: Pulling fs layer [2022-06-30T17:50:47.322Z] 666ba61612fd: Pulling fs layer [2022-06-30T17:50:47.322Z] 8ed8ca486205: Pulling fs layer [2022-06-30T17:50:47.322Z] cc1cd167ecdc: Pulling fs layer [2022-06-30T17:50:47.322Z] cc1cd167ecdc: Waiting [2022-06-30T17:50:47.322Z] c516ae0d96e1: Pulling fs layer [2022-06-30T17:50:47.322Z] 684cea983483: Pulling fs layer [2022-06-30T17:50:47.322Z] dd3240ac7de5: Pulling fs layer [2022-06-30T17:50:47.322Z] b1e948a4e11c: Pulling fs layer [2022-06-30T17:50:47.322Z] a8fd76ee1af6: Pulling fs layer [2022-06-30T17:50:47.322Z] 646ad004c059: Pulling fs layer [2022-06-30T17:50:47.322Z] c516ae0d96e1: Waiting [2022-06-30T17:50:47.322Z] 684cea983483: Waiting [2022-06-30T17:50:47.322Z] a8fd76ee1af6: Waiting [2022-06-30T17:50:47.322Z] dd3240ac7de5: Waiting [2022-06-30T17:50:47.322Z] 646ad004c059: Waiting [2022-06-30T17:50:47.322Z] b1e948a4e11c: Waiting [2022-06-30T17:50:47.322Z] 8ed8ca486205: Verifying Checksum [2022-06-30T17:50:47.322Z] 8ed8ca486205: Download complete [2022-06-30T17:50:47.322Z] 666ba61612fd: Download complete [2022-06-30T17:50:47.322Z] c516ae0d96e1: Download complete [2022-06-30T17:50:47.322Z] 684cea983483: Verifying Checksum [2022-06-30T17:50:47.322Z] 684cea983483: Download complete [2022-06-30T17:50:47.322Z] dd3240ac7de5: Verifying Checksum [2022-06-30T17:50:47.585Z] dd3240ac7de5: Download complete [2022-06-30T17:50:47.585Z] 59bf1c3509f3: Verifying Checksum [2022-06-30T17:50:47.585Z] 59bf1c3509f3: Download complete [2022-06-30T17:50:47.585Z] 59bf1c3509f3: Pull complete [2022-06-30T17:50:47.585Z] b1e948a4e11c: Verifying Checksum [2022-06-30T17:50:47.585Z] b1e948a4e11c: Download complete [2022-06-30T17:50:47.848Z] 666ba61612fd: Pull complete [2022-06-30T17:50:47.848Z] 8ed8ca486205: Pull complete [2022-06-30T17:50:48.108Z] 646ad004c059: Download complete [2022-06-30T17:50:48.108Z] a8fd76ee1af6: Verifying Checksum [2022-06-30T17:50:48.108Z] a8fd76ee1af6: Download complete [2022-06-30T17:50:48.108Z] cc1cd167ecdc: Verifying Checksum [2022-06-30T17:50:48.108Z] cc1cd167ecdc: Download complete [2022-06-30T17:50:52.314Z] cc1cd167ecdc: Pull complete [2022-06-30T17:50:52.314Z] c516ae0d96e1: Pull complete [2022-06-30T17:50:52.574Z] 684cea983483: Pull complete [2022-06-30T17:50:52.574Z] dd3240ac7de5: Pull complete [2022-06-30T17:50:52.574Z] b1e948a4e11c: Pull complete [2022-06-30T17:50:55.113Z] a8fd76ee1af6: Pull complete [2022-06-30T17:50:55.685Z] 646ad004c059: Pull complete [2022-06-30T17:50:55.685Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-30T17:50:55.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-30T17:50:55.685Z] ---> 8f69c11f6b0c [2022-06-30T17:50:55.685Z] Step 3/12 : ARG MAKE="make build" [2022-06-30T17:50:57.077Z] ---> Running in 008917ba7def [2022-06-30T17:50:57.077Z] Removing intermediate container 008917ba7def [2022-06-30T17:50:57.077Z] ---> f4ae724846b8 [2022-06-30T17:50:57.077Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T17:50:57.338Z] ---> Running in 1b37aedb0f34 [2022-06-30T17:50:57.338Z] Removing intermediate container 1b37aedb0f34 [2022-06-30T17:50:57.338Z] ---> c2c9e71ced2f [2022-06-30T17:50:57.338Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T17:50:57.338Z] ---> Running in 4e53cff5e6df [2022-06-30T17:50:57.338Z] Removing intermediate container 4e53cff5e6df [2022-06-30T17:50:57.338Z] ---> 91234304d9ff [2022-06-30T17:50:57.338Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T17:50:57.338Z] ---> Running in 70158ad0ec44 [2022-06-30T17:50:57.910Z] Removing intermediate container 70158ad0ec44 [2022-06-30T17:50:57.910Z] ---> 7301e1da012f [2022-06-30T17:50:57.910Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T17:50:58.171Z] ---> Running in 19c9c1e885de [2022-06-30T17:50:58.432Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T17:50:59.374Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T17:50:59.635Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-30T17:50:59.896Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-30T17:50:59.896Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-30T17:50:59.896Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-30T17:51:00.157Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-30T17:51:00.157Z] (6/81) Installing libxcb (1.14-r2) [2022-06-30T17:51:00.417Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-30T17:51:00.417Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-30T17:51:00.677Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-30T17:51:00.677Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-30T17:51:00.677Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-30T17:51:00.748Z] Still waiting to schedule task [2022-06-30T17:51:00.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-30T17:51:00.937Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-30T17:51:00.937Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-30T17:51:00.937Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-30T17:51:01.198Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-30T17:51:01.198Z] (16/81) Installing libice (1.0.10-r0) [2022-06-30T17:51:01.458Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-30T17:51:01.458Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-30T17:51:01.458Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-30T17:51:01.719Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-30T17:51:01.719Z] (21/81) Installing xset (1.2.4-r0) [2022-06-30T17:51:01.980Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-30T17:51:01.980Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-30T17:51:01.980Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-30T17:51:02.240Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-30T17:51:02.240Z] (26/81) Installing libintl (0.21-r0) [2022-06-30T17:51:02.240Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-30T17:51:02.502Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-30T17:51:02.502Z] (29/81) Installing pcre (8.45-r1) [2022-06-30T17:51:02.765Z] (30/81) Installing glib (2.70.1-r0) [2022-06-30T17:51:02.765Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-30T17:51:03.715Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-30T17:51:03.978Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-30T17:51:03.978Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-30T17:51:04.553Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-30T17:51:04.553Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-30T17:51:04.553Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-30T17:51:04.815Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T17:51:04.815Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-30T17:51:05.388Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-30T17:51:05.388Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-30T17:51:05.388Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-30T17:51:05.649Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-30T17:51:05.649Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-30T17:51:05.649Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-30T17:51:05.909Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-30T17:51:05.909Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-30T17:51:06.171Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-30T17:51:06.171Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-30T17:51:06.432Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-30T17:51:06.432Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-30T17:51:06.432Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-30T17:51:06.693Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-30T17:51:06.693Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-30T17:51:06.954Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-30T17:51:06.954Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-30T17:51:06.954Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-30T17:51:07.215Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-30T17:51:07.215Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-30T17:51:07.477Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-30T17:51:07.477Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-30T17:51:07.738Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-30T17:51:07.738Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-30T17:51:07.738Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T17:51:07.999Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-30T17:51:07.999Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T17:51:08.259Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-30T17:51:08.259Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-30T17:51:08.259Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-30T17:51:08.520Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-30T17:51:08.520Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-30T17:51:08.520Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-30T17:51:08.783Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-30T17:51:09.354Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T17:51:09.354Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-30T17:51:09.615Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-30T17:51:09.615Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T17:51:09.615Z] (77/81) Installing kmod-libs (29-r2) [2022-06-30T17:51:09.874Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-30T17:51:09.874Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-30T17:51:09.874Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-30T17:51:10.136Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-30T17:51:10.136Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T17:51:10.136Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T17:51:10.136Z] OK: 335 MiB in 133 packages [2022-06-30T17:51:12.048Z] Removing intermediate container 19c9c1e885de [2022-06-30T17:51:12.048Z] ---> cc8d27d6b533 [2022-06-30T17:51:12.048Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-30T17:51:12.308Z] ---> Running in 0f92d4232a8f [2022-06-30T17:51:12.308Z] Removing intermediate container 0f92d4232a8f [2022-06-30T17:51:12.308Z] ---> 878fc80e2ef0 [2022-06-30T17:51:12.308Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-30T17:51:12.308Z] ---> a798c69d1c1a [2022-06-30T17:51:12.308Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T17:51:12.569Z] ---> Running in 59a3f5a9eb0c [2022-06-30T17:51:27.481Z] Removing intermediate container 59a3f5a9eb0c [2022-06-30T17:51:27.481Z] ---> b0701e1914c7 [2022-06-30T17:51:27.481Z] Step 11/12 : COPY . . [2022-06-30T17:51:27.481Z] ---> de75db38a75d [2022-06-30T17:51:27.481Z] Step 12/12 : RUN ${MAKE} [2022-06-30T17:51:27.481Z] ---> Running in f3cda4b6e81e [2022-06-30T17:51:27.481Z] noop [2022-06-30T17:51:27.481Z] Removing intermediate container f3cda4b6e81e [2022-06-30T17:51:27.481Z] ---> 7bccf48832be [2022-06-30T17:51:27.481Z] Successfully built 7bccf48832be [2022-06-30T17:51:27.481Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:51:27.812Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T17:51:27.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:51:27.893Z] prd-ubuntu20.04-docker-8c-8g-16506 does not seem to be running inside a container [2022-06-30T17:51:27.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T17:51:28.348Z] $ docker top 69c04bc2f985cdd151a4d46ba69c665f22435a35cc98e866ed0ae112181537d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T17:51:28.740Z] + go version [2022-06-30T17:51:28.740Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-30T17:51:28.767Z] $ docker stop --time=1 69c04bc2f985cdd151a4d46ba69c665f22435a35cc98e866ed0ae112181537d6 [2022-06-30T17:51:30.083Z] $ docker rm -f 69c04bc2f985cdd151a4d46ba69c665f22435a35cc98e866ed0ae112181537d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:51:30.510Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T17:51:30.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:51:30.593Z] prd-ubuntu20.04-docker-8c-8g-16506 does not seem to be running inside a container [2022-06-30T17:51:30.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T17:51:31.003Z] $ docker top dd63e15f0a6e57e87a8076735824b8cc2f0b395326f422dc9d8b9c8a62c95858 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T17:51:31.376Z] + make test [2022-06-30T17:51:31.377Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-30T17:51:31.636Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-30T17:51:41.632Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-30T17:51:41.632Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-30T17:51:46.908Z] CGO_ENABLED=1 go vet ./... [2022-06-30T17:51:51.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T17:51:51.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T17:51:51.108Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T17:51:51.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T17:51:51.400Z] $ docker stop --time=1 dd63e15f0a6e57e87a8076735824b8cc2f0b395326f422dc9d8b9c8a62c95858 [2022-06-30T17:51:53.057Z] $ docker rm -f dd63e15f0a6e57e87a8076735824b8cc2f0b395326f422dc9d8b9c8a62c95858 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T17:51:53.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T17:51:53.546Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-30T17:51:54.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T17:51:54.324Z] + ls -al . [2022-06-30T17:51:54.324Z] total 168 [2022-06-30T17:51:54.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 17:51 . [2022-06-30T17:51:54.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 17:50 .. [2022-06-30T17:51:54.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 17:50 .git [2022-06-30T17:51:54.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:50 .github [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 17:50 .gitignore [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 17:50 .golangci.yml [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 17:50 .hadolint.yml [2022-06-30T17:51:54.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 17:50 .semver [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 17:50 Attribution.txt [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 17:50 CHANGELOG.md [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 17:50 Dockerfile [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 17:50 GOVERNANCE.md [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 17:50 Jenkinsfile [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 17:50 LICENSE [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 17:50 Makefile [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 17:50 OWNERS.md [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 17:50 README.md [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 17:50 VERSION [2022-06-30T17:51:54.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:50 bin [2022-06-30T17:51:54.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:50 cmd [2022-06-30T17:51:54.324Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 30 17:51 coverage.out [2022-06-30T17:51:54.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:50 docker-compose [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 17:50 docker-entrypoint.sh [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 17:50 go.mod [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 17:50 go.sum [2022-06-30T17:51:54.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:50 internal [2022-06-30T17:51:54.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 17:50 snap [2022-06-30T17:51:54.324Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:51:54.633Z] + 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=8577db290b36663b2f2d777b700e5632cb14e9c5 --label arch=amd64 --label version=0.0.0 . [2022-06-30T17:51:54.633Z] Sending build context to Docker daemon 750.6kB [2022-06-30T17:51:54.633Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T17:51:54.633Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-30T17:51:54.633Z] ---> 7bccf48832be [2022-06-30T17:51:54.633Z] Step 3/29 : ARG MAKE="make build" [2022-06-30T17:51:54.633Z] ---> Running in fd8cd97c15b9 [2022-06-30T17:51:54.633Z] Removing intermediate container fd8cd97c15b9 [2022-06-30T17:51:54.633Z] ---> ab58ab043343 [2022-06-30T17:51:54.633Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T17:51:54.893Z] ---> Running in f164bd39e9e7 [2022-06-30T17:51:54.893Z] Removing intermediate container f164bd39e9e7 [2022-06-30T17:51:54.893Z] ---> d5a8defd142e [2022-06-30T17:51:54.893Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T17:51:54.893Z] ---> Running in 175fcc513ef2 [2022-06-30T17:51:54.893Z] Removing intermediate container 175fcc513ef2 [2022-06-30T17:51:54.893Z] ---> 29f012f6b184 [2022-06-30T17:51:54.893Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T17:51:54.893Z] ---> Running in 5294dadd2ef8 [2022-06-30T17:51:55.461Z] Removing intermediate container 5294dadd2ef8 [2022-06-30T17:51:55.461Z] ---> 508f21f608c0 [2022-06-30T17:51:55.461Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T17:51:55.461Z] ---> Running in 2103bd2e9639 [2022-06-30T17:51:56.032Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T17:51:56.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T17:51:57.174Z] OK: 335 MiB in 133 packages [2022-06-30T17:51:57.434Z] Removing intermediate container 2103bd2e9639 [2022-06-30T17:51:57.434Z] ---> 566ad00fcc14 [2022-06-30T17:51:57.434Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-30T17:51:57.434Z] ---> Running in 3968dd10b171 [2022-06-30T17:51:57.434Z] Removing intermediate container 3968dd10b171 [2022-06-30T17:51:57.434Z] ---> 03e44160d105 [2022-06-30T17:51:57.434Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-30T17:51:57.693Z] ---> 3fbed39a840e [2022-06-30T17:51:57.693Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T17:51:57.693Z] ---> Running in 327f8d1e635e [2022-06-30T17:51:58.263Z] Removing intermediate container 327f8d1e635e [2022-06-30T17:51:58.263Z] ---> 5f3f1e945250 [2022-06-30T17:51:58.263Z] Step 11/29 : COPY . . [2022-06-30T17:51:58.523Z] ---> b04f6afbe0be [2022-06-30T17:51:58.523Z] Step 12/29 : RUN ${MAKE} [2022-06-30T17:51:58.523Z] ---> Running in 2239fa5444e4 [2022-06-30T17:51:58.786Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-30T17:52:20.735Z] Removing intermediate container 2239fa5444e4 [2022-06-30T17:52:20.735Z] ---> 2fc82f00fc02 [2022-06-30T17:52:20.735Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-30T17:52:20.735Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-30T17:52:20.735Z] af6660deedbd: Pulling fs layer [2022-06-30T17:52:20.735Z] 97cd0a44c592: Pulling fs layer [2022-06-30T17:52:20.735Z] 97cd0a44c592: Download complete [2022-06-30T17:52:20.735Z] af6660deedbd: Verifying Checksum [2022-06-30T17:52:20.735Z] af6660deedbd: Download complete [2022-06-30T17:52:20.735Z] af6660deedbd: Pull complete [2022-06-30T17:52:20.735Z] 97cd0a44c592: Pull complete [2022-06-30T17:52:20.735Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-30T17:52:20.735Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-30T17:52:20.735Z] ---> fea57e182299 [2022-06-30T17:52:20.735Z] Step 14/29 : FROM alpine:3.15 [2022-06-30T17:52:20.735Z] 3.15: Pulling from library/alpine [2022-06-30T17:52:20.735Z] df9b9388f04a: Pulling fs layer [2022-06-30T17:52:20.735Z] df9b9388f04a: Download complete [2022-06-30T17:52:20.735Z] df9b9388f04a: Pull complete [2022-06-30T17:52:20.735Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T17:52:20.735Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T17:52:20.735Z] ---> 0ac33e5f5afa [2022-06-30T17:52:20.735Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T17:52:20.735Z] ---> Running in 02e612cbcc17 [2022-06-30T17:52:20.735Z] Removing intermediate container 02e612cbcc17 [2022-06-30T17:52:20.735Z] ---> 19de1ad4c613 [2022-06-30T17:52:20.735Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-30T17:52:20.735Z] ---> Running in c8eb2ab076ee [2022-06-30T17:52:20.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T17:52:20.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T17:52:20.735Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-30T17:52:20.735Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-30T17:52:20.735Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-30T17:52:20.735Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-30T17:52:20.735Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-30T17:52:20.735Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-30T17:52:20.735Z] (7/74) Installing libxcb (1.14-r2) [2022-06-30T17:52:20.735Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-30T17:52:20.994Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-30T17:52:20.994Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-30T17:52:20.994Z] (11/74) Installing expat (2.4.7-r0) [2022-06-30T17:52:20.994Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-30T17:52:20.994Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-30T17:52:20.994Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-30T17:52:20.994Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-30T17:52:20.994Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-30T17:52:20.994Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-30T17:52:20.994Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-30T17:52:20.994Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-30T17:52:20.994Z] (20/74) Installing libintl (0.21-r0) [2022-06-30T17:52:20.994Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-30T17:52:20.994Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-30T17:52:20.994Z] (23/74) Installing pcre (8.45-r1) [2022-06-30T17:52:20.994Z] (24/74) Installing glib (2.70.1-r0) [2022-06-30T17:52:20.994Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-30T17:52:20.994Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-30T17:52:20.994Z] (27/74) Installing libass (0.15.2-r0) [2022-06-30T17:52:20.994Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-30T17:52:20.994Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-30T17:52:20.994Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-30T17:52:20.994Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-30T17:52:21.254Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-30T17:52:21.254Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-30T17:52:21.254Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-30T17:52:21.254Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-30T17:52:21.254Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-30T17:52:21.254Z] (37/74) Installing lame (3.100-r0) [2022-06-30T17:52:21.254Z] (38/74) Installing opus (1.3.1-r1) [2022-06-30T17:52:21.254Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-30T17:52:21.254Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-30T17:52:21.254Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T17:52:21.254Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T17:52:21.254Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-30T17:52:21.254Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-30T17:52:21.254Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-30T17:52:21.254Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-30T17:52:21.254Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T17:52:21.254Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T17:52:21.254Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-30T17:52:21.254Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-30T17:52:21.254Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-30T17:52:21.254Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-30T17:52:21.254Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T17:52:21.254Z] (54/74) Installing libva (2.13.0-r0) [2022-06-30T17:52:21.254Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-30T17:52:21.254Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-30T17:52:21.254Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-30T17:52:21.254Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-30T17:52:21.254Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-30T17:52:21.254Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-30T17:52:21.514Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-30T17:52:21.514Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-30T17:52:21.514Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-30T17:52:21.514Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-30T17:52:21.514Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-30T17:52:21.514Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-30T17:52:21.514Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T17:52:21.514Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T17:52:21.514Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-30T17:52:21.514Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-30T17:52:21.514Z] (70/74) Installing kmod-libs (29-r2) [2022-06-30T17:52:21.514Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-30T17:52:21.514Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-30T17:52:21.514Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-30T17:52:21.774Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-30T17:52:21.774Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T17:52:21.774Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T17:52:21.774Z] OK: 78 MiB in 88 packages [2022-06-30T17:52:23.154Z] Removing intermediate container c8eb2ab076ee [2022-06-30T17:52:23.154Z] ---> 64e66596b397 [2022-06-30T17:52:23.154Z] Step 17/29 : WORKDIR / [2022-06-30T17:52:23.154Z] ---> Running in 63f4599b3832 [2022-06-30T17:52:23.154Z] Removing intermediate container 63f4599b3832 [2022-06-30T17:52:23.154Z] ---> 684fdbb8f5ab [2022-06-30T17:52:23.154Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-30T17:52:23.412Z] ---> cccd21965d43 [2022-06-30T17:52:23.412Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-30T17:52:23.672Z] ---> 2deb11588324 [2022-06-30T17:52:23.672Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-30T17:52:23.932Z] ---> 82ede3550450 [2022-06-30T17:52:23.932Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-30T17:52:23.932Z] ---> 238e4cb55f9d [2022-06-30T17:52:23.932Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-30T17:52:24.191Z] ---> 3f025ebdb08d [2022-06-30T17:52:24.191Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-30T17:52:24.452Z] ---> 478b41e13992 [2022-06-30T17:52:24.452Z] Step 24/29 : EXPOSE 59983 [2022-06-30T17:52:24.452Z] ---> Running in 37f9fe7ddda3 [2022-06-30T17:52:24.712Z] Removing intermediate container 37f9fe7ddda3 [2022-06-30T17:52:24.712Z] ---> 35e80b5ad1a1 [2022-06-30T17:52:24.712Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-30T17:52:24.712Z] ---> Running in 1800a571ad55 [2022-06-30T17:52:24.712Z] Removing intermediate container 1800a571ad55 [2022-06-30T17:52:24.712Z] ---> 8b3ef60801e0 [2022-06-30T17:52:24.712Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-30T17:52:24.712Z] ---> Running in 65bb395d8198 [2022-06-30T17:52:24.972Z] Removing intermediate container 65bb395d8198 [2022-06-30T17:52:24.972Z] ---> deac70fbfa84 [2022-06-30T17:52:24.972Z] Step 27/29 : LABEL arch=amd64 [2022-06-30T17:52:24.972Z] ---> Running in 05642efef880 [2022-06-30T17:52:24.972Z] Removing intermediate container 05642efef880 [2022-06-30T17:52:24.972Z] ---> b3bd1231bc1a [2022-06-30T17:52:24.972Z] Step 28/29 : LABEL git_sha=8577db290b36663b2f2d777b700e5632cb14e9c5 [2022-06-30T17:52:24.972Z] ---> Running in 68c53804c320 [2022-06-30T17:52:24.972Z] Removing intermediate container 68c53804c320 [2022-06-30T17:52:24.972Z] ---> 0858535af333 [2022-06-30T17:52:24.972Z] Step 29/29 : LABEL version=0.0.0 [2022-06-30T17:52:25.233Z] ---> Running in bef0e87c25c6 [2022-06-30T17:52:25.233Z] Removing intermediate container bef0e87c25c6 [2022-06-30T17:52:25.233Z] ---> e0f43f769818 [2022-06-30T17:52:25.233Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T17:52:25.233Z] Successfully built e0f43f769818 [2022-06-30T17:52:25.233Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:52:25.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T17:52:25.637Z] [2022-06-30T17:52:25.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:52:25.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T17:52:25.937Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-30T17:52:25.937Z] 5eb5b503b376: Pulling fs layer [2022-06-30T17:52:25.937Z] 5c69ac0246d0: Pulling fs layer [2022-06-30T17:52:25.937Z] ec43610c2a17: Pulling fs layer [2022-06-30T17:52:25.937Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-30T17:52:25.937Z] 33b1e0a273af: Pulling fs layer [2022-06-30T17:52:25.937Z] 5d3b04190fa2: Pulling fs layer [2022-06-30T17:52:25.937Z] 2f39f015ded8: Pulling fs layer [2022-06-30T17:52:25.937Z] 33b1e0a273af: Waiting [2022-06-30T17:52:25.937Z] 5d3b04190fa2: Waiting [2022-06-30T17:52:25.937Z] 2f39f015ded8: Waiting [2022-06-30T17:52:25.937Z] 5c69ac0246d0: Verifying Checksum [2022-06-30T17:52:25.937Z] 5c69ac0246d0: Download complete [2022-06-30T17:52:25.937Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-30T17:52:25.937Z] 3a2ae6a8a46f: Download complete [2022-06-30T17:52:25.937Z] ec43610c2a17: Verifying Checksum [2022-06-30T17:52:25.937Z] ec43610c2a17: Download complete [2022-06-30T17:52:25.937Z] 33b1e0a273af: Verifying Checksum [2022-06-30T17:52:25.937Z] 33b1e0a273af: Download complete [2022-06-30T17:52:25.937Z] 5d3b04190fa2: Verifying Checksum [2022-06-30T17:52:25.937Z] 5d3b04190fa2: Download complete [2022-06-30T17:52:26.197Z] 5eb5b503b376: Verifying Checksum [2022-06-30T17:52:26.197Z] 5eb5b503b376: Download complete [2022-06-30T17:52:26.766Z] 2f39f015ded8: Download complete [2022-06-30T17:52:27.335Z] 5eb5b503b376: Pull complete [2022-06-30T17:52:27.596Z] 5c69ac0246d0: Pull complete [2022-06-30T17:52:28.162Z] ec43610c2a17: Pull complete [2022-06-30T17:52:28.162Z] 3a2ae6a8a46f: Pull complete [2022-06-30T17:52:28.422Z] 33b1e0a273af: Pull complete [2022-06-30T17:52:28.422Z] 5d3b04190fa2: Pull complete [2022-06-30T17:52:32.610Z] 2f39f015ded8: Pull complete [2022-06-30T17:52:32.610Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-30T17:52:32.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T17:52:32.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:52:32.701Z] prd-ubuntu20.04-docker-8c-8g-16506 does not seem to be running inside a container [2022-06-30T17:52:32.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T17:52:34.225Z] $ docker top 602b0f245bab595df4e3e589de1a8654a997015fe95a6ae215f8748cacc145f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:52:34.627Z] ---> job-cost.sh [2022-06-30T17:52:34.627Z] lf-activate-venv: SKIPPING [2022-06-30T17:52:34.627Z] INFO: No Stack... [2022-06-30T17:52:35.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T17:52:35.457Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T17:52:35.835Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-06-30T17:52:35.835Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T17:52:35.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [2022-06-30T17:52:35.867Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] did not exist. Created. [2022-06-30T17:52:35.867Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T17:52:36.179Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-30T17:52:36.214Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T17:52:36.219Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T17:52:36.245Z] $ docker stop --time=1 602b0f245bab595df4e3e589de1a8654a997015fe95a6ae215f8748cacc145f5 [2022-06-30T17:52:37.071Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16507 in /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-30T17:52:37.426Z] $ docker rm -f 602b0f245bab595df4e3e589de1a8654a997015fe95a6ae215f8748cacc145f5 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-30T17:52:37.498Z] Running in /w/workspace/device-usb-camera/23 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [2022-06-30T17:52:37.528Z] Selected Git installation does not exist. Using Default [2022-06-30T17:52:37.528Z] The recommended git tool is: NONE [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-30T17:52:43.511Z] using credential edgex-jenkins-ssh [2022-06-30T17:52:43.527Z] Cloning the remote Git repository [2022-06-30T17:52:43.586Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T17:52:43.661Z] > git init /w/workspace/device-usb-camera/23 # timeout=10 [2022-06-30T17:52:43.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T17:52:43.744Z] > git --version # timeout=10 [2022-06-30T17:52:43.765Z] > git --version # 'git version 2.25.1' [2022-06-30T17:52:43.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T17:52:43.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T17:52:45.095Z] Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 52d4126d9b231bddae3704361e8ca18c4645f34f [2022-06-30T17:52:45.377Z] Merge succeeded, producing c89d4d4447a68fea9f1e62be523674f62aa292a2 [2022-06-30T17:52:45.378Z] Checking out Revision c89d4d4447a68fea9f1e62be523674f62aa292a2 (PR-30) [2022-06-30T17:52:44.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-30T17:52:44.518Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T17:52:44.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-30T17:52:44.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-30T17:52:44.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T17:52:44.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-30T17:52:45.120Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T17:52:45.138Z] > git checkout -f 52d4126d9b231bddae3704361e8ca18c4645f34f # timeout=10 [2022-06-30T17:52:45.259Z] > git remote # timeout=10 [2022-06-30T17:52:45.277Z] > git config --get remote.origin.url # timeout=10 [2022-06-30T17:52:45.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T17:52:45.301Z] > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 [2022-06-30T17:52:45.362Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-30T17:52:45.388Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T17:52:45.400Z] > git checkout -f c89d4d4447a68fea9f1e62be523674f62aa292a2 # timeout=10 [2022-06-30T17:52:49.507Z] Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" [2022-06-30T17:52:49.531Z] First time build. Skipping changelog. [2022-06-30T17:52:49.519Z] > git rev-list --no-walk 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T17:52:50.352Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-30T17:52:50.352Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T17:52:50.352Z] Dload Upload Total Spent Left Speed [2022-06-30T17:52:50.352Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88789 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh [2022-06-30T17:52:51.120Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-30T17:52:51.461Z] + sudo tee /etc/docker/daemon.new [2022-06-30T17:52:51.461Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-30T17:52:51.461Z] { [2022-06-30T17:52:51.461Z] "registry-mirrors": [ [2022-06-30T17:52:51.461Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-30T17:52:51.461Z] ], [2022-06-30T17:52:51.461Z] "bip": "10.250.0.254/24", [2022-06-30T17:52:51.461Z] "hosts": [ [2022-06-30T17:52:51.461Z] "tcp://0.0.0.0:5555", [2022-06-30T17:52:51.461Z] "unix:///var/run/docker.sock" [2022-06-30T17:52:51.461Z] ], [2022-06-30T17:52:51.461Z] "mtu": 1458, [2022-06-30T17:52:51.461Z] "selinux-enabled": true, [2022-06-30T17:52:51.461Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-30T17:52:51.461Z] } [Pipeline] sh [2022-06-30T17:52:51.807Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-30T17:52:52.147Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T17:53:10.489Z] provisioning config files... [2022-06-30T17:53:10.511Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/23@tmp/config198454907539663759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:53:10.862Z] ---> docker-login.sh [2022-06-30T17:53:10.862Z] nexus3.edgexfoundry.org:10001 [2022-06-30T17:53:11.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:53:11.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:53:11.737Z] Configure a credential helper to remove this warning. See [2022-06-30T17:53:11.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:53:11.737Z] [2022-06-30T17:53:11.737Z] Login Succeeded [2022-06-30T17:53:11.737Z] nexus3.edgexfoundry.org:10002 [2022-06-30T17:53:12.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:53:12.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:53:12.010Z] Configure a credential helper to remove this warning. See [2022-06-30T17:53:12.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:53:12.010Z] [2022-06-30T17:53:12.010Z] Login Succeeded [2022-06-30T17:53:12.010Z] nexus3.edgexfoundry.org:10003 [2022-06-30T17:53:12.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:53:12.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:53:12.554Z] Configure a credential helper to remove this warning. See [2022-06-30T17:53:12.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:53:12.555Z] [2022-06-30T17:53:12.555Z] Login Succeeded [2022-06-30T17:53:12.555Z] nexus3.edgexfoundry.org:10004 [2022-06-30T17:53:12.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:53:12.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:53:12.829Z] Configure a credential helper to remove this warning. See [2022-06-30T17:53:12.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:53:12.829Z] [2022-06-30T17:53:12.829Z] Login Succeeded [2022-06-30T17:53:13.104Z] docker.io [2022-06-30T17:53:13.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T17:53:13.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T17:53:13.646Z] Configure a credential helper to remove this warning. See [2022-06-30T17:53:13.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T17:53:13.646Z] [2022-06-30T17:53:13.646Z] Login Succeeded [2022-06-30T17:53:13.646Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T17:53:13.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T17:53:14.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T17:53:14.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T17:53:14.181Z] ========================================================= [2022-06-30T17:53:14.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-30T17:53:14.181Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:53:14.554Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-30T17:53:14.826Z] Sending build context to Docker daemon 529.4kB [2022-06-30T17:53:14.826Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T17:53:14.826Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T17:53:15.100Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-30T17:53:15.100Z] 9b3977197b4f: Pulling fs layer [2022-06-30T17:53:15.100Z] 1a89e8eeedd5: Pulling fs layer [2022-06-30T17:53:15.100Z] 94645a83ff95: Pulling fs layer [2022-06-30T17:53:15.100Z] e6fb740bc735: Pulling fs layer [2022-06-30T17:53:15.100Z] 3a77bd46dcc9: Pulling fs layer [2022-06-30T17:53:15.100Z] 355e64cbe906: Pulling fs layer [2022-06-30T17:53:15.100Z] 63ab81a10011: Pulling fs layer [2022-06-30T17:53:15.100Z] 555d1d1c4555: Pulling fs layer [2022-06-30T17:53:15.101Z] 7d9057610161: Pulling fs layer [2022-06-30T17:53:15.101Z] 355e64cbe906: Waiting [2022-06-30T17:53:15.101Z] 63ab81a10011: Waiting [2022-06-30T17:53:15.101Z] 555d1d1c4555: Waiting [2022-06-30T17:53:15.101Z] 7d9057610161: Waiting [2022-06-30T17:53:15.101Z] 3a77bd46dcc9: Waiting [2022-06-30T17:53:15.101Z] e6fb740bc735: Waiting [2022-06-30T17:53:15.101Z] 94645a83ff95: Verifying Checksum [2022-06-30T17:53:15.101Z] 94645a83ff95: Download complete [2022-06-30T17:53:15.101Z] 1a89e8eeedd5: Download complete [2022-06-30T17:53:15.101Z] 3a77bd46dcc9: Verifying Checksum [2022-06-30T17:53:15.101Z] 3a77bd46dcc9: Download complete [2022-06-30T17:53:15.101Z] 355e64cbe906: Verifying Checksum [2022-06-30T17:53:15.101Z] 355e64cbe906: Download complete [2022-06-30T17:53:15.101Z] 9b3977197b4f: Verifying Checksum [2022-06-30T17:53:15.101Z] 9b3977197b4f: Download complete [2022-06-30T17:53:15.101Z] 63ab81a10011: Verifying Checksum [2022-06-30T17:53:15.101Z] 63ab81a10011: Download complete [2022-06-30T17:53:16.087Z] 9b3977197b4f: Pull complete [2022-06-30T17:53:16.087Z] 7d9057610161: Verifying Checksum [2022-06-30T17:53:16.087Z] 7d9057610161: Download complete [2022-06-30T17:53:16.697Z] 1a89e8eeedd5: Pull complete [2022-06-30T17:53:16.697Z] 94645a83ff95: Pull complete [2022-06-30T17:53:17.298Z] 555d1d1c4555: Verifying Checksum [2022-06-30T17:53:17.298Z] 555d1d1c4555: Download complete [2022-06-30T17:53:17.898Z] e6fb740bc735: Verifying Checksum [2022-06-30T17:53:17.898Z] e6fb740bc735: Download complete [2022-06-30T17:53:30.329Z] e6fb740bc735: Pull complete [2022-06-30T17:53:30.329Z] 3a77bd46dcc9: Pull complete [2022-06-30T17:53:30.329Z] 355e64cbe906: Pull complete [2022-06-30T17:53:30.604Z] 63ab81a10011: Pull complete [2022-06-30T17:53:37.953Z] 555d1d1c4555: Pull complete [2022-06-30T17:53:39.939Z] 7d9057610161: Pull complete [2022-06-30T17:53:39.939Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-30T17:53:39.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-30T17:53:39.939Z] ---> 819e984ddca1 [2022-06-30T17:53:39.939Z] Step 3/12 : ARG MAKE="make build" [2022-06-30T17:53:41.938Z] ---> Running in 06c0d414f957 [2022-06-30T17:53:41.938Z] Removing intermediate container 06c0d414f957 [2022-06-30T17:53:41.938Z] ---> 05889c82ac43 [2022-06-30T17:53:41.938Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T17:53:41.938Z] ---> Running in db1f520195a5 [2022-06-30T17:53:42.214Z] Removing intermediate container db1f520195a5 [2022-06-30T17:53:42.214Z] ---> 3043625716ca [2022-06-30T17:53:42.214Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T17:53:42.495Z] ---> Running in 8941d1c72bb0 [2022-06-30T17:53:42.788Z] Removing intermediate container 8941d1c72bb0 [2022-06-30T17:53:42.788Z] ---> 98a0f6a0dc9d [2022-06-30T17:53:42.788Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T17:53:42.788Z] ---> Running in 659ccf8731d2 [2022-06-30T17:53:45.422Z] Removing intermediate container 659ccf8731d2 [2022-06-30T17:53:45.422Z] ---> ffaacfb8d16c [2022-06-30T17:53:45.422Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T17:53:45.422Z] ---> Running in 51589e857938 [2022-06-30T17:53:46.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T17:53:47.032Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T17:53:48.012Z] (1/14) Installing libintl (0.21-r0) [2022-06-30T17:53:48.012Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T17:53:48.012Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T17:53:48.286Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T17:53:48.286Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-30T17:53:48.559Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-30T17:53:48.559Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T17:53:48.559Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-30T17:53:48.830Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-30T17:53:48.830Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-30T17:53:48.830Z] (10/14) Installing kmod-libs (29-r2) [2022-06-30T17:53:49.101Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-30T17:53:49.102Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-30T17:53:49.102Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-30T17:53:49.379Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-30T17:53:49.379Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T17:53:49.379Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T17:53:49.379Z] OK: 228 MiB in 66 packages [2022-06-30T17:53:50.829Z] Removing intermediate container 51589e857938 [2022-06-30T17:53:50.829Z] ---> d7b2f244b692 [2022-06-30T17:53:50.829Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-30T17:53:50.829Z] ---> Running in 83934c5de764 [2022-06-30T17:53:50.829Z] Removing intermediate container 83934c5de764 [2022-06-30T17:53:50.829Z] ---> ed5eeeca6c53 [2022-06-30T17:53:50.829Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-30T17:53:51.428Z] ---> 59883f304086 [2022-06-30T17:53:51.428Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T17:53:51.428Z] ---> Running in 851e56b8d7ea [2022-06-30T17:54:38.418Z] Removing intermediate container 851e56b8d7ea [2022-06-30T17:54:38.418Z] ---> 58a08374a46f [2022-06-30T17:54:38.418Z] Step 11/12 : COPY . . [2022-06-30T17:54:38.418Z] ---> 0d2d034cc622 [2022-06-30T17:54:38.418Z] Step 12/12 : RUN ${MAKE} [2022-06-30T17:54:38.418Z] ---> Running in a38f862cc31e [2022-06-30T17:54:38.418Z] noop [2022-06-30T17:54:38.418Z] Removing intermediate container a38f862cc31e [2022-06-30T17:54:38.418Z] ---> 8113c6d399aa [2022-06-30T17:54:38.418Z] Successfully built 8113c6d399aa [2022-06-30T17:54:38.418Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:54:38.792Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T17:54:38.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:54:39.030Z] prd-ubuntu20.04-docker-arm64-4c-16g-16507 does not seem to be running inside a container [2022-06-30T17:54:39.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@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-06-30T17:54:40.388Z] $ docker top a096b75f7d43121b9afb4905a99a725b43095a8dafba273d8431d952c0190790 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T17:54:41.290Z] + go version [2022-06-30T17:54:41.290Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-30T17:54:41.320Z] $ docker stop --time=1 a096b75f7d43121b9afb4905a99a725b43095a8dafba273d8431d952c0190790 [2022-06-30T17:54:42.925Z] $ docker rm -f a096b75f7d43121b9afb4905a99a725b43095a8dafba273d8431d952c0190790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:54:43.505Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T17:54:43.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:54:43.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-16507 does not seem to be running inside a container [2022-06-30T17:54:43.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@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-06-30T17:54:45.082Z] $ docker top 1d7d0bd79728abde62bac4e63858d3acea3a2ba24fba1853820e6856cfb6fd40 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T17:54:45.985Z] + make test [2022-06-30T17:54:45.985Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-30T17:54:47.423Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-30T17:56:09.252Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-30T17:56:09.252Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-30T17:56:09.252Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-30T17:56:09.252Z] CGO_ENABLED=1 go vet ./... [2022-06-30T17:56:31.431Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T17:56:31.431Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T17:56:31.431Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T17:56:34.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T17:56:34.091Z] $ docker stop --time=1 1d7d0bd79728abde62bac4e63858d3acea3a2ba24fba1853820e6856cfb6fd40 [2022-06-30T17:56:35.839Z] $ docker rm -f 1d7d0bd79728abde62bac4e63858d3acea3a2ba24fba1853820e6856cfb6fd40 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T17:56:36.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T17:56:36.772Z] Warning: overwriting stash ‘coverage-report’ [2022-06-30T17:56:37.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T17:56:37.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T17:56:37.945Z] + ls -al . [2022-06-30T17:56:37.945Z] total 164 [2022-06-30T17:56:37.945Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 17:56 . [2022-06-30T17:56:37.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 17:52 .. [2022-06-30T17:56:37.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 17:52 .git [2022-06-30T17:56:37.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:52 .github [2022-06-30T17:56:37.945Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 17:52 .gitignore [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 17:52 .golangci.yml [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 17:52 .hadolint.yml [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 17:52 Attribution.txt [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 17:52 CHANGELOG.md [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 17:52 Dockerfile [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 17:52 GOVERNANCE.md [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 17:52 Jenkinsfile [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 17:52 LICENSE [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 17:52 Makefile [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 17:52 OWNERS.md [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 17:52 README.md [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 17:50 VERSION [2022-06-30T17:56:37.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:52 bin [2022-06-30T17:56:37.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:52 cmd [2022-06-30T17:56:37.946Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 30 17:54 coverage.out [2022-06-30T17:56:37.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:52 docker-compose [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 17:52 docker-entrypoint.sh [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 17:52 go.mod [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 17:52 go.sum [2022-06-30T17:56:37.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:52 internal [2022-06-30T17:56:37.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 17:52 snap [2022-06-30T17:56:37.946Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:56:38.311Z] + 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=c89d4d4447a68fea9f1e62be523674f62aa292a2 --label arch=arm64 --label version=0.0.0 . [2022-06-30T17:56:38.591Z] Sending build context to Docker daemon 530.4kB [2022-06-30T17:56:38.591Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T17:56:38.591Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-30T17:56:38.591Z] ---> 8113c6d399aa [2022-06-30T17:56:38.591Z] Step 3/29 : ARG MAKE="make build" [2022-06-30T17:56:38.591Z] ---> Running in c795325ccf98 [2022-06-30T17:56:38.879Z] Removing intermediate container c795325ccf98 [2022-06-30T17:56:38.879Z] ---> c0008475c594 [2022-06-30T17:56:38.879Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T17:56:39.153Z] ---> Running in dfa05f936d03 [2022-06-30T17:56:39.427Z] Removing intermediate container dfa05f936d03 [2022-06-30T17:56:39.427Z] ---> abf6a50d5aef [2022-06-30T17:56:39.427Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-30T17:56:39.427Z] ---> Running in c2ba917dd18a [2022-06-30T17:56:39.700Z] Removing intermediate container c2ba917dd18a [2022-06-30T17:56:39.700Z] ---> d54f09c1cfa0 [2022-06-30T17:56:39.700Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T17:56:39.700Z] ---> Running in 50e301560b54 [2022-06-30T17:56:41.680Z] Removing intermediate container 50e301560b54 [2022-06-30T17:56:41.680Z] ---> c06feea9babe [2022-06-30T17:56:41.680Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T17:56:41.680Z] ---> Running in 7266b85a6603 [2022-06-30T17:56:42.280Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T17:56:43.262Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T17:56:44.242Z] OK: 228 MiB in 66 packages [2022-06-30T17:56:44.842Z] Removing intermediate container 7266b85a6603 [2022-06-30T17:56:44.842Z] ---> 2ec1945bc028 [2022-06-30T17:56:44.842Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-30T17:56:45.117Z] ---> Running in 72c1e9afc71c [2022-06-30T17:56:45.391Z] Removing intermediate container 72c1e9afc71c [2022-06-30T17:56:45.391Z] ---> fa8530415b10 [2022-06-30T17:56:45.391Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-30T17:56:45.989Z] ---> 55041260b052 [2022-06-30T17:56:45.989Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T17:56:45.989Z] ---> Running in ca243ad4f3c3 [2022-06-30T17:56:47.976Z] Removing intermediate container ca243ad4f3c3 [2022-06-30T17:56:47.976Z] ---> 463b9d61847f [2022-06-30T17:56:47.976Z] Step 11/29 : COPY . . [2022-06-30T17:56:48.578Z] ---> 920c42938322 [2022-06-30T17:56:48.578Z] Step 12/29 : RUN ${MAKE} [2022-06-30T17:56:48.578Z] ---> Running in b6ec116a5c03 [2022-06-30T17:56:49.571Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-30T17:58:56.457Z] Removing intermediate container b6ec116a5c03 [2022-06-30T17:58:56.457Z] ---> 75b2e1781157 [2022-06-30T17:58:56.457Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-30T17:58:56.457Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-30T17:58:56.457Z] eab2503cf8f4: Pulling fs layer [2022-06-30T17:58:56.457Z] 97cd0a44c592: Pulling fs layer [2022-06-30T17:58:56.457Z] 97cd0a44c592: Verifying Checksum [2022-06-30T17:58:56.457Z] 97cd0a44c592: Download complete [2022-06-30T17:58:56.457Z] eab2503cf8f4: Verifying Checksum [2022-06-30T17:58:56.457Z] eab2503cf8f4: Download complete [2022-06-30T17:58:56.457Z] eab2503cf8f4: Pull complete [2022-06-30T17:58:56.457Z] 97cd0a44c592: Pull complete [2022-06-30T17:58:56.457Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-30T17:58:56.457Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-30T17:58:56.457Z] ---> 7f763cca56b3 [2022-06-30T17:58:56.457Z] Step 14/29 : FROM alpine:3.15 [2022-06-30T17:58:56.457Z] 3.15: Pulling from library/alpine [2022-06-30T17:58:56.457Z] 9981e73032c8: Pulling fs layer [2022-06-30T17:58:56.457Z] 9981e73032c8: Verifying Checksum [2022-06-30T17:58:56.457Z] 9981e73032c8: Download complete [2022-06-30T17:58:56.457Z] 9981e73032c8: Pull complete [2022-06-30T17:58:56.457Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T17:58:56.457Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T17:58:56.457Z] ---> 3fb3c9af89a9 [2022-06-30T17:58:56.457Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T17:58:56.457Z] ---> Running in aec453b6e14a [2022-06-30T17:58:56.457Z] Removing intermediate container aec453b6e14a [2022-06-30T17:58:56.457Z] ---> 99caa82acd07 [2022-06-30T17:58:56.457Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-30T17:58:56.457Z] ---> Running in 1d4e2858739d [2022-06-30T17:58:56.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T17:58:56.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T17:58:56.457Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-30T17:58:56.457Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-30T17:58:56.457Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-30T17:58:56.457Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-30T17:58:56.457Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-30T17:58:56.457Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-30T17:58:56.457Z] (7/73) Installing libxcb (1.14-r2) [2022-06-30T17:58:56.457Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-30T17:58:56.457Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-30T17:58:56.458Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-30T17:58:56.458Z] (11/73) Installing expat (2.4.7-r0) [2022-06-30T17:58:56.458Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-30T17:58:56.458Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-30T17:58:56.458Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-30T17:58:56.458Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-30T17:58:56.458Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-30T17:58:56.458Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-30T17:58:56.458Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-30T17:58:56.458Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-30T17:58:56.458Z] (20/73) Installing libintl (0.21-r0) [2022-06-30T17:58:56.458Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-30T17:58:56.458Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-30T17:58:56.458Z] (23/73) Installing pcre (8.45-r1) [2022-06-30T17:58:56.458Z] (24/73) Installing glib (2.70.1-r0) [2022-06-30T17:58:56.458Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-30T17:58:56.458Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-30T17:58:56.458Z] (27/73) Installing libass (0.15.2-r0) [2022-06-30T17:58:56.458Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-30T17:58:56.458Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-30T17:58:56.458Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-30T17:58:56.458Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-30T17:58:56.458Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-30T17:58:56.458Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-30T17:58:56.458Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-30T17:58:56.458Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-30T17:58:56.458Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-30T17:58:56.458Z] (37/73) Installing lame (3.100-r0) [2022-06-30T17:58:56.458Z] (38/73) Installing opus (1.3.1-r1) [2022-06-30T17:58:56.458Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-30T17:58:56.458Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-30T17:58:56.458Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T17:58:56.458Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T17:58:56.458Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-30T17:58:56.458Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-30T17:58:56.458Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-30T17:58:56.458Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-30T17:58:56.458Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-30T17:58:56.458Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-30T17:58:56.458Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-30T17:58:56.458Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-30T17:58:56.458Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-30T17:58:56.458Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-30T17:58:56.458Z] (53/73) Installing libva (2.13.0-r0) [2022-06-30T17:58:56.458Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-30T17:58:56.458Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-30T17:58:56.458Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-30T17:58:56.458Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-30T17:58:56.458Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-30T17:58:56.458Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-30T17:58:56.458Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-30T17:58:56.458Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-30T17:58:56.458Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-30T17:58:56.458Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-30T17:58:56.458Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-30T17:58:56.458Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-30T17:58:56.458Z] Executing udev-init-scripts-35-r0.post-install [2022-06-30T17:58:56.458Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-30T17:58:56.458Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-30T17:58:56.458Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-30T17:58:56.458Z] (69/73) Installing kmod-libs (29-r2) [2022-06-30T17:58:56.458Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-30T17:58:56.458Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-30T17:58:56.458Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-30T17:58:56.458Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-30T17:58:56.458Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T17:58:56.458Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-30T17:58:56.458Z] OK: 67 MiB in 87 packages [2022-06-30T17:58:57.441Z] Removing intermediate container 1d4e2858739d [2022-06-30T17:58:57.441Z] ---> ea9739fcaf44 [2022-06-30T17:58:57.441Z] Step 17/29 : WORKDIR / [2022-06-30T17:58:57.441Z] ---> Running in 45186d9f85e6 [2022-06-30T17:58:57.441Z] Removing intermediate container 45186d9f85e6 [2022-06-30T17:58:57.441Z] ---> f9116af6e390 [2022-06-30T17:58:57.441Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-30T17:58:59.430Z] ---> f324ef5d623b [2022-06-30T17:58:59.430Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-30T17:58:59.705Z] ---> d4880c69dfcf [2022-06-30T17:58:59.705Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-30T17:59:00.305Z] ---> 20a4cabbe903 [2022-06-30T17:59:00.305Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-30T17:59:00.579Z] ---> 34c1069360ce [2022-06-30T17:59:00.579Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-30T17:59:01.178Z] ---> c39076bb10cf [2022-06-30T17:59:01.178Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-30T17:59:02.611Z] ---> 89031336db6d [2022-06-30T17:59:02.611Z] Step 24/29 : EXPOSE 59983 [2022-06-30T17:59:02.611Z] ---> Running in c8cf7a2a761f [2022-06-30T17:59:02.611Z] Removing intermediate container c8cf7a2a761f [2022-06-30T17:59:02.611Z] ---> 1e1549199e42 [2022-06-30T17:59:02.611Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-30T17:59:02.884Z] ---> Running in 0ff98e584ddf [2022-06-30T17:59:03.159Z] Removing intermediate container 0ff98e584ddf [2022-06-30T17:59:03.159Z] ---> 1c812ee8bbf2 [2022-06-30T17:59:03.159Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-30T17:59:03.159Z] ---> Running in 5ba7c3e6502a [2022-06-30T17:59:03.434Z] Removing intermediate container 5ba7c3e6502a [2022-06-30T17:59:03.434Z] ---> 458aa20ffcae [2022-06-30T17:59:03.434Z] Step 27/29 : LABEL arch=arm64 [2022-06-30T17:59:03.434Z] ---> Running in e85aa0b7bf8b [2022-06-30T17:59:03.714Z] Removing intermediate container e85aa0b7bf8b [2022-06-30T17:59:03.714Z] ---> 830d3b453e95 [2022-06-30T17:59:03.714Z] Step 28/29 : LABEL git_sha=c89d4d4447a68fea9f1e62be523674f62aa292a2 [2022-06-30T17:59:03.714Z] ---> Running in 4c650e40cee6 [2022-06-30T17:59:04.314Z] Removing intermediate container 4c650e40cee6 [2022-06-30T17:59:04.314Z] ---> bf406a2ca9bc [2022-06-30T17:59:04.314Z] Step 29/29 : LABEL version=0.0.0 [2022-06-30T17:59:04.314Z] ---> Running in 17a59226addd [2022-06-30T17:59:04.586Z] Removing intermediate container 17a59226addd [2022-06-30T17:59:04.586Z] ---> c7d6f209768b [2022-06-30T17:59:04.586Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T17:59:04.586Z] Successfully built c7d6f209768b [2022-06-30T17:59:04.586Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:59:05.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T17:59:05.052Z] [2022-06-30T17:59:05.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:59:05.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T17:59:05.671Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-30T17:59:05.671Z] 8998bd30e6a1: Pulling fs layer [2022-06-30T17:59:05.671Z] 04944245beec: Pulling fs layer [2022-06-30T17:59:05.671Z] 699f458cf7ca: Pulling fs layer [2022-06-30T17:59:05.671Z] 765212b225bb: Pulling fs layer [2022-06-30T17:59:05.671Z] f23df028b6ca: Pulling fs layer [2022-06-30T17:59:05.671Z] d65c8cfc05b1: Pulling fs layer [2022-06-30T17:59:05.671Z] 2437ff75d9bd: Pulling fs layer [2022-06-30T17:59:05.671Z] 765212b225bb: Waiting [2022-06-30T17:59:05.671Z] f23df028b6ca: Waiting [2022-06-30T17:59:05.671Z] d65c8cfc05b1: Waiting [2022-06-30T17:59:05.671Z] 2437ff75d9bd: Waiting [2022-06-30T17:59:05.671Z] 04944245beec: Verifying Checksum [2022-06-30T17:59:05.671Z] 04944245beec: Download complete [2022-06-30T17:59:05.671Z] 765212b225bb: Download complete [2022-06-30T17:59:05.671Z] f23df028b6ca: Verifying Checksum [2022-06-30T17:59:05.671Z] f23df028b6ca: Download complete [2022-06-30T17:59:05.671Z] d65c8cfc05b1: Verifying Checksum [2022-06-30T17:59:05.671Z] d65c8cfc05b1: Download complete [2022-06-30T17:59:05.945Z] 699f458cf7ca: Verifying Checksum [2022-06-30T17:59:05.945Z] 699f458cf7ca: Download complete [2022-06-30T17:59:06.218Z] 8998bd30e6a1: Verifying Checksum [2022-06-30T17:59:06.218Z] 8998bd30e6a1: Download complete [2022-06-30T17:59:08.851Z] 2437ff75d9bd: Verifying Checksum [2022-06-30T17:59:08.851Z] 2437ff75d9bd: Download complete [2022-06-30T17:59:10.303Z] 8998bd30e6a1: Pull complete [2022-06-30T17:59:10.904Z] 04944245beec: Pull complete [2022-06-30T17:59:12.342Z] 699f458cf7ca: Pull complete [2022-06-30T17:59:12.615Z] 765212b225bb: Pull complete [2022-06-30T17:59:13.596Z] f23df028b6ca: Pull complete [2022-06-30T17:59:13.596Z] d65c8cfc05b1: Pull complete [2022-06-30T17:59:28.707Z] 2437ff75d9bd: Pull complete [2022-06-30T17:59:28.707Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-30T17:59:28.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T17:59:28.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:59:28.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-16507 does not seem to be running inside a container [2022-06-30T17:59:29.067Z] $ 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/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@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-06-30T17:59:31.573Z] $ docker top addf1623464a0a12246cef4a260b9842a47078147c17c45bbb0b4858b449b0df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:32.497Z] ---> job-cost.sh [2022-06-30T17:59:32.497Z] lf-activate-venv: SKIPPING [2022-06-30T17:59:32.497Z] INFO: No Stack... [2022-06-30T17:59:32.771Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-30T17:59:33.749Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T17:59:34.431Z] + cut -d, -f6 [2022-06-30T17:59:34.431Z] + cat /w/workspace/device-usb-camera/23/archives/cost.csv [Pipeline] lock [2022-06-30T17:59:34.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [2022-06-30T17:59:34.472Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] did not exist. Created. [2022-06-30T17:59:34.472Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T17:59:35.155Z] /w/workspace/device-usb-camera/23@tmp/durable-14b680a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-30T17:59:35.835Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-30T17:59:35.858Z] Warning: overwriting stash ‘stack-cost’ [2022-06-30T17:59:35.912Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T17:59:35.918Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T17:59:35.940Z] $ docker stop --time=1 addf1623464a0a12246cef4a260b9842a47078147c17c45bbb0b4858b449b0df [2022-06-30T17:59:37.471Z] $ docker rm -f addf1623464a0a12246cef4a260b9842a47078147c17c45bbb0b4858b449b0df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-30T17:59:37.967Z] provisioning config files... [2022-06-30T17:59:37.974Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4384871577461982661tmp [Pipeline] { [Pipeline] sh [2022-06-30T17:59:38.276Z] + set +x [2022-06-30T17:59:38.276Z] + bash -s -- [2022-06-30T17:59:38.276Z] + curl -s https://codecov.io/bash [2022-06-30T17:59:38.276Z] [2022-06-30T17:59:38.276Z] _____ _ [2022-06-30T17:59:38.276Z] / ____| | | [2022-06-30T17:59:38.276Z] | | ___ __| | ___ ___ _____ __ [2022-06-30T17:59:38.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-30T17:59:38.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-30T17:59:38.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-30T17:59:38.276Z] Bash-1.0.6 [2022-06-30T17:59:38.276Z] [2022-06-30T17:59:38.276Z] [2022-06-30T17:59:38.276Z] ==> git version 2.25.1 found [2022-06-30T17:59:38.276Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-30T17:59:38.276Z] Release-Date: 2020-01-08 [2022-06-30T17:59:38.276Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-30T17:59:38.276Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-30T17:59:38.276Z] ==> Jenkins CI detected. [2022-06-30T17:59:38.276Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-30T17:59:38.276Z] project root: . [2022-06-30T17:59:38.276Z] --> token set from env [2022-06-30T17:59:38.276Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-30T17:59:38.276Z] ==> Running gcov in . (disable via -X gcov) [2022-06-30T17:59:38.276Z] ==> Python coveragepy not found [2022-06-30T17:59:38.276Z] ==> Searching for coverage reports in: [2022-06-30T17:59:38.276Z] + . [2022-06-30T17:59:38.276Z] -> Found 1 reports [2022-06-30T17:59:38.276Z] ==> Detecting git/mercurial file structure [2022-06-30T17:59:38.276Z] ==> Reading reports [2022-06-30T17:59:38.276Z] + ./coverage.out bytes=10 [2022-06-30T17:59:38.537Z] ==> Appending adjustments [2022-06-30T17:59:38.537Z] https://docs.codecov.io/docs/fixing-reports [2022-06-30T17:59:38.537Z] + Found adjustments [2022-06-30T17:59:38.537Z] ==> Gzipping contents [2022-06-30T17:59:38.537Z] 4.0K /tmp/codecov.H0l2EZ.gz [2022-06-30T17:59:38.537Z] ==> Uploading reports [2022-06-30T17:59:38.537Z] url: https://codecov.io [2022-06-30T17:59:38.537Z] query: branch=PR-30&commit=8577db290b36663b2f2d777b700e5632cb14e9c5&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-30T17:59:38.537Z] -> Pinging Codecov [2022-06-30T17:59:38.537Z] 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=8577db290b36663b2f2d777b700e5632cb14e9c5&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-06-30T17:59:38.797Z] -> Uploading to [2022-06-30T17:59:38.797Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-30/73D8F5FF140700D3E01443B452E23636/8577db290b36663b2f2d777b700e5632cb14e9c5/edbe4d17-cbba-4b1c-a4ad-f97b129832a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T175938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd9bd776f7e009264092d4e40abec3b1e2b0d8e2539e2b0d1ce2ea20011626ff [2022-06-30T17:59:38.797Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T17:59:38.797Z] Dload Upload Total Spent Left Speed [2022-06-30T17:59:39.058Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5677 --:--:-- --:--:-- --:--:-- 5677 [2022-06-30T17:59:39.058Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/8577db290b36663b2f2d777b700e5632cb14e9c5 [Pipeline] } [2022-06-30T17:59:39.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-30T17:59:39.798Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-06-30T17:59:39.798Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T17:59:39.798Z] total 16 [2022-06-30T17:59:39.798Z] drwxr-xr-x 3 root root 4096 Jun 30 17:52 . [2022-06-30T17:59:39.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 17:52 .. [2022-06-30T17:59:39.798Z] drwxr-xr-x 2 root root 4096 Jun 30 17:52 cost [2022-06-30T17:59:39.798Z] -rw-r--r-- 1 root root 88 Jun 30 17:52 cost.csv [2022-06-30T17:59:39.798Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T17:59:39.798Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-06-30T17:59:39.798Z] total 16 [2022-06-30T17:59:39.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 17:52 . [2022-06-30T17:59:39.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 17:52 .. [2022-06-30T17:59:39.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 17:52 cost [2022-06-30T17:59:39.798Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 30 17:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:40.099Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:40.972Z] ---> package-listing.sh [2022-06-30T17:59:40.972Z] ++ facter osfamily [2022-06-30T17:59:40.972Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-30T17:59:41.233Z] + OS_FAMILY=debian [2022-06-30T17:59:41.234Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-06-30T17:59:41.234Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-30T17:59:41.234Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-30T17:59:41.234Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-30T17:59:41.234Z] + PACKAGES=/tmp/packages_start.txt [2022-06-30T17:59:41.234Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-30T17:59:41.234Z] + PACKAGES=/tmp/packages_end.txt [2022-06-30T17:59:41.234Z] + case "${OS_FAMILY}" in [2022-06-30T17:59:41.234Z] + dpkg -l [2022-06-30T17:59:41.234Z] + grep '^ii' [2022-06-30T17:59:41.234Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-30T17:59:41.234Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-30T17:59:41.234Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-30T17:59:41.234Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-06-30T17:59:41.234Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-06-30T17:59:41.234Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-06-30T17:59:41.247Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-30T17:59:41.527Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T17:59:42.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T17:59:42.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T17:59:42.177Z] prd-ubuntu20.04-docker-8c-8g-16506 does not seem to be running inside a container [2022-06-30T17:59:42.228Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T17:59:42.455Z] $ docker top 54a240aff5acb036b655460761fb83fa8ace1b93dd561568630530a68bc03bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T17:59:42.810Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-30T17:59:43.096Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-30T17:59:43.388Z] + ls /var/log/sa-host [2022-06-30T17:59:43.388Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T17:59:43.515Z] provisioning config files... [2022-06-30T17:59:43.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config640251142793454933tmp [Pipeline] { [Pipeline] echo [2022-06-30T17:59:43.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:43.822Z] ---> create-netrc.sh [Pipeline] } [2022-06-30T17:59:43.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:44.224Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-30T17:59:44.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:44.517Z] ---> sudo-logs.sh [2022-06-30T17:59:44.517Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-30T17:59:44.540Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:44.822Z] ---> job-cost.sh [2022-06-30T17:59:44.822Z] lf-activate-venv: SKIPPING [2022-06-30T17:59:44.822Z] DEBUG: total: 0.2199999988079071 [2022-06-30T17:59:44.822Z] INFO: Retrieving Stack Cost... [2022-06-30T17:59:45.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T17:59:45.651Z] INFO: Archiving Costs [Pipeline] echo [2022-06-30T17:59:45.663Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T17:59:45.948Z] ---> logs-deploy.sh [2022-06-30T17:59:45.948Z] lf-activate-venv: SKIPPING [2022-06-30T17:59:45.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/23 [2022-06-30T17:59:45.949Z] INFO: archiving workspace using pattern(s): [2022-06-30T17:59:46.890Z] Archives upload complete. [2022-06-30T17:59:46.890Z] INFO: archiving logs to Nexus