Pull request #39 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 FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 41e41b80958132cb0778d29546f30aaf08fd55f1+4347e6326c1a67544b77e06fe92e2ddc47e6771c (53390dfcc316f4537a312b67a73726c59c96fc3b) 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-ssh18139189666147944620.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh13970558714591240779.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-39/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-39/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11890566456432467613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh407328803451353268.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-39/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-39/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5068676696723294345.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 ‘prd-ubuntu20.04-docker-8c-8g-1635’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1638 in /w/workspace/xfoundry_device-usb-camera_PR-39 [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-39 # 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/39/head:refs/remotes/origin/PR-39 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4347e6326c1a67544b77e06fe92e2ddc47e6771c into PR head commit 41e41b80958132cb0778d29546f30aaf08fd55f1 Merge succeeded, producing a55d762bd6879a9881523114972c286dd5b8a60f Checking out Revision a55d762bd6879a9881523114972c286dd5b8a60f (PR-39) > git config core.sparsecheckout # timeout=10 > git checkout -f 41e41b80958132cb0778d29546f30aaf08fd55f1 # 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 4347e6326c1a67544b77e06fe92e2ddc47e6771c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a55d762bd6879a9881523114972c286dd5b8a60f # timeout=10 Commit message: "Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T10:28:29.626Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T10:28:29.683Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T10:28:29.706Z] ========================================================= [2022-06-07T10:28:29.706Z] EdgeX Global Pipelines Version Info [2022-06-07T10:28:29.706Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7c0fa8b4c270cfe8e5cca990d02596c94e32b2a7 # timeout=10 [2022-06-07T10:28:30.460Z] ------------------- [2022-06-07T10:28:30.460Z] stable info: [2022-06-07T10:28:30.460Z] ------------------- [2022-06-07T10:28:30.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T10:28:30.460Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:28:30.460Z] Message: update stable to v1.0.232 [2022-06-07T10:28:31.037Z] ------------------- [2022-06-07T10:28:31.037Z] experimental info: [2022-06-07T10:28:31.037Z] ------------------- [2022-06-07T10:28:31.037Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T10:28:31.037Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:28:31.037Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T10:28:31.256Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-07T10:28:31.267Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-07T10:28:31.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T10:28:31.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T10:28:31.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T10:28:31.325Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T10:28:31.335Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T10:28:31.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T10:28:31.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T10:28:31.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T10:28:31.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T10:28:31.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-07T10:28:31.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T10:28:31.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T10:28:31.455Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:28:31.465Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:28:31.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:28:31.499Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:28:31.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T10:28:31.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T10:28:31.537Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T10:28:31.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T10:28:31.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T10:28:31.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T10:28:31.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T10:28:31.605Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T10:28:31.617Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T10:28:31.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo [2022-06-07T10:28:31.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo [2022-06-07T10:28:31.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo [2022-06-07T10:28:31.679Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a55d762bd6879a9881523114972c286dd5b8a60f [Pipeline] echo [2022-06-07T10:28:31.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a55d762 [Pipeline] echo [2022-06-07T10:28:31.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:28:31.741Z] provisioning config files... [2022-06-07T10:28:31.760Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config885329226168209025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:28:32.072Z] ---> docker-login.sh [2022-06-07T10:28:32.072Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:28:32.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:32.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:32.335Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:32.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:32.335Z] [2022-06-07T10:28:32.335Z] Login Succeeded [2022-06-07T10:28:32.335Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:28:32.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:32.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:32.600Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:32.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:32.600Z] [2022-06-07T10:28:32.600Z] Login Succeeded [2022-06-07T10:28:32.600Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:28:32.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:32.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:32.600Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:32.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:32.600Z] [2022-06-07T10:28:32.600Z] Login Succeeded [2022-06-07T10:28:32.600Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:28:32.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:32.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:32.862Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:32.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:32.862Z] [2022-06-07T10:28:32.862Z] Login Succeeded [2022-06-07T10:28:32.862Z] docker.io [2022-06-07T10:28:32.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:33.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:33.435Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:33.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:33.435Z] [2022-06-07T10:28:33.435Z] Login Succeeded [2022-06-07T10:28:33.435Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:28:33.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T10:28:33.836Z] + git rev-list -1 --merges a55d762bd6879a9881523114972c286dd5b8a60f~1..a55d762bd6879a9881523114972c286dd5b8a60f [Pipeline] echo [2022-06-07T10:28:33.865Z] -----------> git rev-list -1 --merges a55d762bd6879a9881523114972c286dd5b8a60f~1..a55d762bd6879a9881523114972c286dd5b8a60f a55d762bd6879a9881523114972c286dd5b8a60f [2022-06-07T10:28:33.865Z] a55d762bd6879a9881523114972c286dd5b8a60f [false] [Pipeline] sh [2022-06-07T10:28:34.166Z] + git log --format=format:%s -1 a55d762bd6879a9881523114972c286dd5b8a60f [Pipeline] echo [2022-06-07T10:28:34.182Z] ========================================================= [2022-06-07T10:28:34.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T10:28:34.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:28:34.537Z] + git log --format=format:%s -1 a55d762bd6879a9881523114972c286dd5b8a60f [Pipeline] echo [2022-06-07T10:28:34.551Z] [semverPrep] GIT_COMMIT: a55d762bd6879a9881523114972c286dd5b8a60f, Commit Message: Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD [Pipeline] echo [2022-06-07T10:28:34.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T10:28:34.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T10:28:34.938Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T10:28:34.938Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T10:28:34.938Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T10:28:34.938Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T10:28:34.938Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T10:28:34.938Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:28:35.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:28:35.356Z] [2022-06-07T10:28:35.356Z] 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-07T10:28:35.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:28:35.666Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T10:28:35.666Z] 42c077c10790: Pulling fs layer [2022-06-07T10:28:35.666Z] f63e77b7563a: Pulling fs layer [2022-06-07T10:28:35.666Z] bd5fdadae976: Pulling fs layer [2022-06-07T10:28:35.666Z] 205491f53016: Pulling fs layer [2022-06-07T10:28:35.666Z] df18705c85c3: Pulling fs layer [2022-06-07T10:28:35.666Z] bdb3f477010e: Pulling fs layer [2022-06-07T10:28:35.666Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T10:28:35.666Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T10:28:35.666Z] bdb8f0575790: Pulling fs layer [2022-06-07T10:28:35.666Z] 205491f53016: Waiting [2022-06-07T10:28:35.666Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T10:28:35.666Z] df18705c85c3: Waiting [2022-06-07T10:28:35.666Z] c8a8fc8e1c8f: Waiting [2022-06-07T10:28:35.666Z] 2343380bae48: Pulling fs layer [2022-06-07T10:28:35.666Z] bdb3f477010e: Waiting [2022-06-07T10:28:35.666Z] 2c6e9b1d212d: Waiting [2022-06-07T10:28:35.666Z] bdb8f0575790: Waiting [2022-06-07T10:28:35.666Z] 2343380bae48: Waiting [2022-06-07T10:28:35.666Z] 386e3cb2ff24: Waiting [2022-06-07T10:28:35.666Z] f63e77b7563a: Verifying Checksum [2022-06-07T10:28:35.666Z] f63e77b7563a: Download complete [2022-06-07T10:28:35.666Z] 205491f53016: Verifying Checksum [2022-06-07T10:28:35.666Z] 205491f53016: Download complete [2022-06-07T10:28:35.928Z] df18705c85c3: Verifying Checksum [2022-06-07T10:28:35.928Z] df18705c85c3: Download complete [2022-06-07T10:28:35.928Z] bdb3f477010e: Verifying Checksum [2022-06-07T10:28:35.928Z] bdb3f477010e: Download complete [2022-06-07T10:28:35.928Z] bd5fdadae976: Verifying Checksum [2022-06-07T10:28:35.928Z] bd5fdadae976: Download complete [2022-06-07T10:28:35.928Z] 2c6e9b1d212d: Download complete [2022-06-07T10:28:35.928Z] bdb8f0575790: Verifying Checksum [2022-06-07T10:28:35.928Z] bdb8f0575790: Download complete [2022-06-07T10:28:35.928Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T10:28:35.928Z] 386e3cb2ff24: Download complete [2022-06-07T10:28:35.928Z] 2343380bae48: Verifying Checksum [2022-06-07T10:28:35.928Z] 42c077c10790: Verifying Checksum [2022-06-07T10:28:35.928Z] 42c077c10790: Download complete [2022-06-07T10:28:36.188Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T10:28:36.188Z] c8a8fc8e1c8f: Download complete [2022-06-07T10:28:37.577Z] 42c077c10790: Pull complete [2022-06-07T10:28:37.577Z] f63e77b7563a: Pull complete [2022-06-07T10:28:38.149Z] bd5fdadae976: Pull complete [2022-06-07T10:28:38.149Z] 205491f53016: Pull complete [2022-06-07T10:28:38.410Z] df18705c85c3: Pull complete [2022-06-07T10:28:38.411Z] bdb3f477010e: Pull complete [2022-06-07T10:28:40.952Z] c8a8fc8e1c8f: Pull complete [2022-06-07T10:28:40.952Z] 2c6e9b1d212d: Pull complete [2022-06-07T10:28:40.952Z] bdb8f0575790: Pull complete [2022-06-07T10:28:40.952Z] 386e3cb2ff24: Pull complete [2022-06-07T10:28:40.952Z] 2343380bae48: Pull complete [2022-06-07T10:28:40.952Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T10:28:40.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:28:40.952Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:28:41.044Z] prd-ubuntu20.04-docker-8c-8g-1638 does not seem to be running inside a container [2022-06-07T10:28:41.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T10:28:42.515Z] $ docker top cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 -eo pid,comm [2022-06-07T10:28:42.578Z] 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-07T10:28:42.578Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T10:28:42.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:28:42.617Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:28:42.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:28:42.751Z] $ docker exec cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 ssh-agent [2022-06-07T10:28:42.871Z] SSH_AUTH_SOCK=/tmp/ssh-EUD1OOLK2Ykv/agent.34 [2022-06-07T10:28:42.871Z] SSH_AGENT_PID=40 [2022-06-07T10:28:42.878Z] Running ssh-add (command line suppressed) [2022-06-07T10:28:43.014Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_8076006791626740663.key (/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_8076006791626740663.key) [2022-06-07T10:28:43.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:28:43.314Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T10:28:43.337Z] $ docker exec --env ******** --env ******** cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 ssh-agent -k [2022-06-07T10:28:43.456Z] unset SSH_AUTH_SOCK; [2022-06-07T10:28:43.456Z] unset SSH_AGENT_PID; [2022-06-07T10:28:43.456Z] echo Agent pid 40 killed; [2022-06-07T10:28:43.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T10:28:43.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:28:43.488Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:28:43.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:28:43.633Z] $ docker exec cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 ssh-agent [2022-06-07T10:28:43.760Z] SSH_AUTH_SOCK=/tmp/ssh-DiFxwl2DMJ09/agent.74 [2022-06-07T10:28:43.760Z] SSH_AGENT_PID=80 [2022-06-07T10:28:43.766Z] Running ssh-add (command line suppressed) [2022-06-07T10:28:43.892Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_4700361952801933939.key (/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_4700361952801933939.key) [2022-06-07T10:28:43.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:28:44.202Z] + git semver init [2022-06-07T10:28:44.463Z] 2022-06-07 10:28:44,391 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T10:28:44.463Z] 2022-06-07 10:28:44,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver [2022-06-07T10:28:44.463Z] 2022-06-07 10:28:44,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-39/.semver [2022-06-07T10:28:44.463Z] 2022-06-07 10:28:44,392 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-39/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39, universal_newlines=False, shell=None, istream=None) [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,944 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-39/.git/info/exclude [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 with force:False [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,945 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,949 [execute] INFO git cat-file --batch-check [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,956 [execute] INFO git cat-file --batch [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:28:45.036Z] 2022-06-07 10:28:44,961 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 [2022-06-07T10:28:45.036Z] 0.0.0 [Pipeline] } [2022-06-07T10:28:45.053Z] $ docker exec --env ******** --env ******** cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 ssh-agent -k [2022-06-07T10:28:45.159Z] unset SSH_AUTH_SOCK; [2022-06-07T10:28:45.159Z] unset SSH_AGENT_PID; [2022-06-07T10:28:45.159Z] echo Agent pid 80 killed; [2022-06-07T10:28:45.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T10:28:45.473Z] + git semver [Pipeline] } [2022-06-07T10:28:45.754Z] $ docker stop --time=1 cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 [2022-06-07T10:28:47.094Z] $ docker rm -f cb4890dda266d136cca87d676d5dd5d414cf4ca889e184b282dc76d3a68eb305 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:28:47.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T10:28:47.691Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T10:28:47.694Z] [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-07T10:28:47.834Z] provisioning config files... [2022-06-07T10:28:47.845Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config4162406895399277955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:28:48.144Z] ---> docker-login.sh [2022-06-07T10:28:48.144Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:28:48.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:48.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:48.144Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:48.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:48.144Z] [2022-06-07T10:28:48.144Z] Login Succeeded [2022-06-07T10:28:48.144Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:28:48.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:48.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:48.407Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:48.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:48.407Z] [2022-06-07T10:28:48.407Z] Login Succeeded [2022-06-07T10:28:48.407Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:28:48.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:48.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:48.407Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:48.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:48.407Z] [2022-06-07T10:28:48.407Z] Login Succeeded [2022-06-07T10:28:48.407Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:28:48.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:48.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:48.666Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:48.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:48.666Z] [2022-06-07T10:28:48.666Z] Login Succeeded [2022-06-07T10:28:48.666Z] docker.io [2022-06-07T10:28:48.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:28:48.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:28:48.927Z] Configure a credential helper to remove this warning. See [2022-06-07T10:28:48.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:28:48.927Z] [2022-06-07T10:28:48.927Z] Login Succeeded [2022-06-07T10:28:48.927Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:28:48.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:28:49.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:28:49.010Z] ========================================================= [2022-06-07T10:28:49.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T10:28:49.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:28:49.330Z] + 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-07T10:28:49.330Z] Sending build context to Docker daemon 628.7kB [2022-06-07T10:28:49.330Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:28:49.330Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T10:28:49.330Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T10:28:49.330Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T10:28:49.330Z] 666ba61612fd: Pulling fs layer [2022-06-07T10:28:49.330Z] 8ed8ca486205: Pulling fs layer [2022-06-07T10:28:49.330Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T10:28:49.330Z] c516ae0d96e1: Pulling fs layer [2022-06-07T10:28:49.330Z] 684cea983483: Pulling fs layer [2022-06-07T10:28:49.330Z] dd3240ac7de5: Pulling fs layer [2022-06-07T10:28:49.330Z] b1e948a4e11c: Pulling fs layer [2022-06-07T10:28:49.330Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T10:28:49.330Z] 646ad004c059: Pulling fs layer [2022-06-07T10:28:49.330Z] c516ae0d96e1: Waiting [2022-06-07T10:28:49.330Z] 684cea983483: Waiting [2022-06-07T10:28:49.330Z] dd3240ac7de5: Waiting [2022-06-07T10:28:49.330Z] b1e948a4e11c: Waiting [2022-06-07T10:28:49.330Z] a8fd76ee1af6: Waiting [2022-06-07T10:28:49.330Z] 646ad004c059: Waiting [2022-06-07T10:28:49.330Z] cc1cd167ecdc: Waiting [2022-06-07T10:28:49.330Z] 8ed8ca486205: Verifying Checksum [2022-06-07T10:28:49.330Z] 8ed8ca486205: Download complete [2022-06-07T10:28:49.330Z] 666ba61612fd: Verifying Checksum [2022-06-07T10:28:49.330Z] 666ba61612fd: Download complete [2022-06-07T10:28:49.330Z] c516ae0d96e1: Download complete [2022-06-07T10:28:49.330Z] 684cea983483: Verifying Checksum [2022-06-07T10:28:49.330Z] 684cea983483: Download complete [2022-06-07T10:28:49.594Z] dd3240ac7de5: Verifying Checksum [2022-06-07T10:28:49.594Z] dd3240ac7de5: Download complete [2022-06-07T10:28:49.594Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T10:28:49.594Z] 59bf1c3509f3: Download complete [2022-06-07T10:28:49.594Z] b1e948a4e11c: Verifying Checksum [2022-06-07T10:28:49.594Z] b1e948a4e11c: Download complete [2022-06-07T10:28:49.594Z] 59bf1c3509f3: Pull complete [2022-06-07T10:28:49.862Z] 666ba61612fd: Pull complete [2022-06-07T10:28:49.862Z] 8ed8ca486205: Pull complete [2022-06-07T10:28:50.126Z] 646ad004c059: Verifying Checksum [2022-06-07T10:28:50.126Z] 646ad004c059: Download complete [2022-06-07T10:28:50.126Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T10:28:50.126Z] a8fd76ee1af6: Download complete [2022-06-07T10:28:50.126Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T10:28:50.126Z] cc1cd167ecdc: Download complete [2022-06-07T10:28:54.324Z] cc1cd167ecdc: Pull complete [2022-06-07T10:28:54.324Z] c516ae0d96e1: Pull complete [2022-06-07T10:28:54.324Z] 684cea983483: Pull complete [2022-06-07T10:28:54.324Z] dd3240ac7de5: Pull complete [2022-06-07T10:28:54.324Z] b1e948a4e11c: Pull complete [2022-06-07T10:28:56.869Z] a8fd76ee1af6: Pull complete [2022-06-07T10:28:57.130Z] 646ad004c059: Pull complete [2022-06-07T10:28:57.130Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T10:28:57.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T10:28:57.130Z] ---> 8f69c11f6b0c [2022-06-07T10:28:57.130Z] Step 3/12 : ARG MAKE="make build" [2022-06-07T10:28:59.053Z] ---> Running in c5c91d2c89a8 [2022-06-07T10:28:59.053Z] Removing intermediate container c5c91d2c89a8 [2022-06-07T10:28:59.053Z] ---> 0542e471b5e2 [2022-06-07T10:28:59.053Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:28:59.053Z] ---> Running in 7a5f13e09af8 [2022-06-07T10:28:59.053Z] Removing intermediate container 7a5f13e09af8 [2022-06-07T10:28:59.053Z] ---> f3f9de5c2863 [2022-06-07T10:28:59.053Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-07T10:28:59.053Z] ---> Running in c8da18ac5749 [2022-06-07T10:28:59.315Z] Removing intermediate container c8da18ac5749 [2022-06-07T10:28:59.315Z] ---> a0623b8e7e5e [2022-06-07T10:28:59.315Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:28:59.315Z] ---> Running in 49f28652f85c [2022-06-07T10:28:59.886Z] Removing intermediate container 49f28652f85c [2022-06-07T10:28:59.886Z] ---> 5d3dcb85d2b8 [2022-06-07T10:28:59.886Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:28:59.886Z] ---> Running in c734f207e988 [2022-06-07T10:29:00.147Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:29:01.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:29:01.350Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-07T10:29:01.350Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-07T10:29:01.350Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-07T10:29:01.612Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-07T10:29:01.612Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-07T10:29:01.872Z] (6/81) Installing libxcb (1.14-r2) [2022-06-07T10:29:01.872Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-07T10:29:01.872Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-07T10:29:02.133Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-07T10:29:02.133Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-07T10:29:02.133Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-07T10:29:02.394Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-07T10:29:02.394Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-07T10:29:02.394Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-07T10:29:02.655Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-07T10:29:02.655Z] (16/81) Installing libice (1.0.10-r0) [2022-06-07T10:29:02.655Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-07T10:29:02.793Z] Still waiting to schedule task [2022-06-07T10:29:02.793Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1637’ is offline [2022-06-07T10:29:02.916Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-07T10:29:02.916Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-07T10:29:02.916Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-07T10:29:03.178Z] (21/81) Installing xset (1.2.4-r0) [2022-06-07T10:29:03.178Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-07T10:29:03.178Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-07T10:29:03.438Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-07T10:29:03.438Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-07T10:29:03.438Z] (26/81) Installing libintl (0.21-r0) [2022-06-07T10:29:03.698Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-07T10:29:03.698Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-07T10:29:03.958Z] (29/81) Installing pcre (8.45-r1) [2022-06-07T10:29:03.958Z] (30/81) Installing glib (2.70.1-r0) [2022-06-07T10:29:03.958Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-07T10:29:04.898Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-06-07T10:29:05.160Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-07T10:29:05.160Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-07T10:29:05.421Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-07T10:29:05.681Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-07T10:29:05.681Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-07T10:29:05.681Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-07T10:29:05.942Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-07T10:29:06.204Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-07T10:29:06.464Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-07T10:29:06.464Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-07T10:29:06.464Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-07T10:29:06.725Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-07T10:29:06.725Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-07T10:29:06.725Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-07T10:29:06.987Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-07T10:29:06.987Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-07T10:29:07.249Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-07T10:29:07.249Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-07T10:29:07.249Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-07T10:29:07.510Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-07T10:29:07.510Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-07T10:29:07.770Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-07T10:29:07.770Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-07T10:29:07.770Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-07T10:29:08.034Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-07T10:29:08.034Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-07T10:29:08.295Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-07T10:29:08.295Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-07T10:29:08.295Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-07T10:29:08.556Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-07T10:29:08.556Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-07T10:29:08.556Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-07T10:29:08.817Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-07T10:29:08.817Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-07T10:29:08.817Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-07T10:29:09.078Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-07T10:29:09.078Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-07T10:29:09.078Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-07T10:29:09.338Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-07T10:29:09.338Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-07T10:29:09.338Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-07T10:29:09.909Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-07T10:29:10.169Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-07T10:29:10.169Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-07T10:29:10.169Z] Executing udev-init-scripts-35-r0.post-install [2022-06-07T10:29:10.169Z] (77/81) Installing kmod-libs (29-r2) [2022-06-07T10:29:10.429Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-07T10:29:10.430Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-07T10:29:10.690Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-07T10:29:10.690Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-07T10:29:10.691Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T10:29:10.691Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-07T10:29:10.691Z] OK: 335 MiB in 133 packages [2022-06-07T10:29:12.599Z] Removing intermediate container c734f207e988 [2022-06-07T10:29:12.599Z] ---> 03df37e8a45c [2022-06-07T10:29:12.599Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-07T10:29:12.599Z] ---> Running in 4927954408b6 [2022-06-07T10:29:12.859Z] Removing intermediate container 4927954408b6 [2022-06-07T10:29:12.859Z] ---> b9fac3bed006 [2022-06-07T10:29:12.859Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T10:29:12.859Z] ---> 075d4a829eea [2022-06-07T10:29:12.859Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:29:12.859Z] ---> Running in c24e3d79060a [2022-06-07T10:29:27.807Z] Removing intermediate container c24e3d79060a [2022-06-07T10:29:27.807Z] ---> 55a9558954ca [2022-06-07T10:29:27.807Z] Step 11/12 : COPY . . [2022-06-07T10:29:28.068Z] ---> 78d1ba8225e2 [2022-06-07T10:29:28.068Z] Step 12/12 : RUN ${MAKE} [2022-06-07T10:29:28.068Z] ---> Running in 65cdd2d1beae [2022-06-07T10:29:28.329Z] noop [2022-06-07T10:29:28.900Z] Removing intermediate container 65cdd2d1beae [2022-06-07T10:29:28.901Z] ---> 62c0f4a70d18 [2022-06-07T10:29:28.901Z] Successfully built 62c0f4a70d18 [2022-06-07T10:29:28.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:29:29.226Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:29:29.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:29:29.306Z] prd-ubuntu20.04-docker-8c-8g-1638 does not seem to be running inside a container [2022-06-07T10:29:29.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:29:29.734Z] $ docker top bd629954a2a0d4715b51071741fbc002026793b76ce95da250c6d29a782bfe5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:29:30.197Z] + go version [2022-06-07T10:29:30.197Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T10:29:30.221Z] $ docker stop --time=1 bd629954a2a0d4715b51071741fbc002026793b76ce95da250c6d29a782bfe5a [2022-06-07T10:29:31.538Z] $ docker rm -f bd629954a2a0d4715b51071741fbc002026793b76ce95da250c6d29a782bfe5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:29:31.964Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:29:31.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:29:32.044Z] prd-ubuntu20.04-docker-8c-8g-1638 does not seem to be running inside a container [2022-06-07T10:29:32.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:29:32.436Z] $ docker top 6b9ac183e6ac80872758992941202daa3615e602546cb2bd89165ea0be7290dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:29:32.799Z] + make test [2022-06-07T10:29:32.799Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:29:33.059Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-07T10:29:43.040Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-07T10:29:43.040Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-07T10:29:48.322Z] CGO_ENABLED=1 go vet ./... [2022-06-07T10:29:52.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:29:52.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:29:52.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:29:52.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:29:52.549Z] $ docker stop --time=1 6b9ac183e6ac80872758992941202daa3615e602546cb2bd89165ea0be7290dc [2022-06-07T10:29:54.508Z] $ docker rm -f 6b9ac183e6ac80872758992941202daa3615e602546cb2bd89165ea0be7290dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:29:54.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:29:54.991Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T10:29:55.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:29:55.795Z] + ls -al . [2022-06-07T10:29:55.795Z] total 164 [2022-06-07T10:29:55.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 10:29 . [2022-06-07T10:29:55.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:28 .. [2022-06-07T10:29:55.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:28 .git [2022-06-07T10:29:55.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:28 .github [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 7 10:28 .gitignore [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:28 .golangci.yml [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 7 10:28 .hadolint.yml [2022-06-07T10:29:55.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:28 .semver [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 7 10:28 Attribution.txt [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 7 10:28 CHANGELOG.md [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 7 10:28 Dockerfile [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 7 10:28 GOVERNANCE.md [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 7 10:28 Jenkinsfile [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:28 LICENSE [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 7 10:28 Makefile [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 7 10:28 OWNERS.md [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 7 10:28 README.md [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:28 VERSION [2022-06-07T10:29:55.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:28 bin [2022-06-07T10:29:55.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:28 cmd [2022-06-07T10:29:55.795Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 7 10:29 coverage.out [2022-06-07T10:29:55.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:28 docker-compose [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 10:28 docker-entrypoint.sh [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jun 7 10:28 go.mod [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 35656 Jun 7 10:28 go.sum [2022-06-07T10:29:55.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:28 internal [2022-06-07T10:29:55.795Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 7 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:29:56.111Z] + 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=a55d762bd6879a9881523114972c286dd5b8a60f --label arch=amd64 --label version=0.0.0 . [2022-06-07T10:29:56.111Z] Sending build context to Docker daemon 629.8kB [2022-06-07T10:29:56.111Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:29:56.111Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-07T10:29:56.111Z] ---> 62c0f4a70d18 [2022-06-07T10:29:56.111Z] Step 3/29 : ARG MAKE="make build" [2022-06-07T10:29:56.111Z] ---> Running in 9b9df0dfc403 [2022-06-07T10:29:56.372Z] Removing intermediate container 9b9df0dfc403 [2022-06-07T10:29:56.372Z] ---> bfa8f111541b [2022-06-07T10:29:56.372Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:29:56.372Z] ---> Running in 7fb0df9f5842 [2022-06-07T10:29:56.372Z] Removing intermediate container 7fb0df9f5842 [2022-06-07T10:29:56.372Z] ---> 112b2d5e5d81 [2022-06-07T10:29:56.372Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-07T10:29:56.372Z] ---> Running in d8ece58c0529 [2022-06-07T10:29:56.633Z] Removing intermediate container d8ece58c0529 [2022-06-07T10:29:56.633Z] ---> db2d80d07549 [2022-06-07T10:29:56.633Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:29:56.633Z] ---> Running in 050632172ddc [2022-06-07T10:29:57.202Z] Removing intermediate container 050632172ddc [2022-06-07T10:29:57.202Z] ---> 11e363031308 [2022-06-07T10:29:57.202Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:29:57.202Z] ---> Running in 2fcc2883ac75 [2022-06-07T10:29:57.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:29:58.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:29:58.662Z] OK: 335 MiB in 133 packages [2022-06-07T10:29:58.923Z] Removing intermediate container 2fcc2883ac75 [2022-06-07T10:29:58.923Z] ---> b2810bb0dc77 [2022-06-07T10:29:58.923Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-07T10:29:58.923Z] ---> Running in 0e881f057253 [2022-06-07T10:29:59.182Z] Removing intermediate container 0e881f057253 [2022-06-07T10:29:59.182Z] ---> 2244f2cae700 [2022-06-07T10:29:59.182Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-07T10:29:59.182Z] ---> b99e339d2904 [2022-06-07T10:29:59.182Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:29:59.182Z] ---> Running in 8d0c03391954 [2022-06-07T10:30:00.123Z] Removing intermediate container 8d0c03391954 [2022-06-07T10:30:00.123Z] ---> 9380fdabfa83 [2022-06-07T10:30:00.123Z] Step 11/29 : COPY . . [2022-06-07T10:30:00.123Z] ---> b655b1114547 [2022-06-07T10:30:00.123Z] Step 12/29 : RUN ${MAKE} [2022-06-07T10:30:00.123Z] ---> Running in 4e82362b0564 [2022-06-07T10:30:00.384Z] 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-07T10:30:22.340Z] Removing intermediate container 4e82362b0564 [2022-06-07T10:30:22.340Z] ---> d2bb5e8192dd [2022-06-07T10:30:22.340Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-07T10:30:22.340Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-07T10:30:22.340Z] af6660deedbd: Pulling fs layer [2022-06-07T10:30:22.340Z] 97cd0a44c592: Pulling fs layer [2022-06-07T10:30:22.340Z] 97cd0a44c592: Verifying Checksum [2022-06-07T10:30:22.340Z] 97cd0a44c592: Download complete [2022-06-07T10:30:22.340Z] af6660deedbd: Verifying Checksum [2022-06-07T10:30:22.340Z] af6660deedbd: Download complete [2022-06-07T10:30:22.340Z] af6660deedbd: Pull complete [2022-06-07T10:30:22.340Z] 97cd0a44c592: Pull complete [2022-06-07T10:30:22.340Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-07T10:30:22.340Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-07T10:30:22.340Z] ---> fea57e182299 [2022-06-07T10:30:22.340Z] Step 14/29 : FROM alpine:3.15 [2022-06-07T10:30:22.340Z] 3.15: Pulling from library/alpine [2022-06-07T10:30:22.340Z] df9b9388f04a: Pulling fs layer [2022-06-07T10:30:22.340Z] df9b9388f04a: Verifying Checksum [2022-06-07T10:30:22.340Z] df9b9388f04a: Download complete [2022-06-07T10:30:22.340Z] df9b9388f04a: Pull complete [2022-06-07T10:30:22.340Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T10:30:22.340Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T10:30:22.340Z] ---> 0ac33e5f5afa [2022-06-07T10:30:22.340Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T10:30:22.599Z] ---> Running in fd5aa5250ed8 [2022-06-07T10:30:22.599Z] Removing intermediate container fd5aa5250ed8 [2022-06-07T10:30:22.599Z] ---> a337a625a769 [2022-06-07T10:30:22.599Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-07T10:30:22.599Z] ---> Running in 45582cd55f13 [2022-06-07T10:30:22.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:30:23.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:30:23.120Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-07T10:30:23.120Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-07T10:30:23.120Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-07T10:30:23.120Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-07T10:30:23.120Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-07T10:30:23.382Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-07T10:30:23.382Z] (7/74) Installing libxcb (1.14-r2) [2022-06-07T10:30:23.382Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-07T10:30:23.382Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-07T10:30:23.382Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-07T10:30:23.382Z] (11/74) Installing expat (2.4.7-r0) [2022-06-07T10:30:23.382Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-07T10:30:23.382Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-07T10:30:23.382Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-07T10:30:23.382Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-07T10:30:23.382Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-07T10:30:23.382Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-07T10:30:23.382Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-07T10:30:23.382Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-07T10:30:23.382Z] (20/74) Installing libintl (0.21-r0) [2022-06-07T10:30:23.382Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-07T10:30:23.382Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-07T10:30:23.382Z] (23/74) Installing pcre (8.45-r1) [2022-06-07T10:30:23.382Z] (24/74) Installing glib (2.70.1-r0) [2022-06-07T10:30:23.382Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-07T10:30:23.382Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-07T10:30:23.382Z] (27/74) Installing libass (0.15.2-r0) [2022-06-07T10:30:23.382Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-07T10:30:23.643Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-07T10:30:23.643Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-07T10:30:23.643Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-07T10:30:23.643Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-07T10:30:23.643Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-07T10:30:23.643Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-07T10:30:23.643Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-07T10:30:23.643Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-07T10:30:23.643Z] (37/74) Installing lame (3.100-r0) [2022-06-07T10:30:23.643Z] (38/74) Installing opus (1.3.1-r1) [2022-06-07T10:30:23.643Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-07T10:30:23.643Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-07T10:30:23.643Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T10:30:23.643Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T10:30:23.643Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-07T10:30:23.643Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-07T10:30:23.643Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-07T10:30:23.643Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-07T10:30:23.643Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-07T10:30:23.643Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-07T10:30:23.643Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-07T10:30:23.643Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-07T10:30:23.643Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-07T10:30:23.643Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-07T10:30:23.643Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-07T10:30:23.643Z] (54/74) Installing libva (2.13.0-r0) [2022-06-07T10:30:23.643Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-07T10:30:23.903Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-07T10:30:23.903Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-07T10:30:23.903Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-07T10:30:23.903Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-07T10:30:23.903Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-07T10:30:23.903Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-07T10:30:23.903Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-07T10:30:23.903Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-07T10:30:23.903Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-07T10:30:24.165Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-07T10:30:24.165Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-07T10:30:24.165Z] Executing udev-init-scripts-35-r0.post-install [2022-06-07T10:30:24.165Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-07T10:30:24.165Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-07T10:30:24.165Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-07T10:30:24.165Z] (70/74) Installing kmod-libs (29-r2) [2022-06-07T10:30:24.165Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-07T10:30:24.165Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-07T10:30:24.165Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-07T10:30:24.165Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-07T10:30:24.165Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T10:30:24.165Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-07T10:30:24.165Z] OK: 78 MiB in 88 packages [2022-06-07T10:30:25.544Z] Removing intermediate container 45582cd55f13 [2022-06-07T10:30:25.544Z] ---> 544572aef2cf [2022-06-07T10:30:25.544Z] Step 17/29 : WORKDIR / [2022-06-07T10:30:25.544Z] ---> Running in 0e321ff3dd04 [2022-06-07T10:30:25.544Z] Removing intermediate container 0e321ff3dd04 [2022-06-07T10:30:25.544Z] ---> ff26ec36b32a [2022-06-07T10:30:25.544Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-07T10:30:26.114Z] ---> 75ab95f8a40e [2022-06-07T10:30:26.114Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-07T10:30:26.373Z] ---> 7ed2487c33be [2022-06-07T10:30:26.373Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-07T10:30:26.373Z] ---> 7fc260e1124c [2022-06-07T10:30:26.373Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-07T10:30:26.632Z] ---> c2cb12a3b6d5 [2022-06-07T10:30:26.632Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-07T10:30:26.632Z] ---> 48af636a2aaa [2022-06-07T10:30:26.632Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-07T10:30:27.199Z] ---> f0100b0ba4ec [2022-06-07T10:30:27.199Z] Step 24/29 : EXPOSE 59983 [2022-06-07T10:30:27.199Z] ---> Running in 71d19bfe0c1b [2022-06-07T10:30:27.199Z] Removing intermediate container 71d19bfe0c1b [2022-06-07T10:30:27.199Z] ---> 392f334f24f0 [2022-06-07T10:30:27.199Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-07T10:30:27.199Z] ---> Running in 6730bbd07777 [2022-06-07T10:30:27.458Z] Removing intermediate container 6730bbd07777 [2022-06-07T10:30:27.458Z] ---> 0aaeaa079cef [2022-06-07T10:30:27.458Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-07T10:30:27.458Z] ---> Running in e26ab0cbecea [2022-06-07T10:30:27.458Z] Removing intermediate container e26ab0cbecea [2022-06-07T10:30:27.458Z] ---> 5ae3f4a5ba5f [2022-06-07T10:30:27.458Z] Step 27/29 : LABEL arch=amd64 [2022-06-07T10:30:27.458Z] ---> Running in 22c0fe41131b [2022-06-07T10:30:27.718Z] Removing intermediate container 22c0fe41131b [2022-06-07T10:30:27.718Z] ---> b2a21f4debba [2022-06-07T10:30:27.718Z] Step 28/29 : LABEL git_sha=a55d762bd6879a9881523114972c286dd5b8a60f [2022-06-07T10:30:27.718Z] ---> Running in 0a1d13aa0563 [2022-06-07T10:30:27.718Z] Removing intermediate container 0a1d13aa0563 [2022-06-07T10:30:27.718Z] ---> 2aca5bff50e7 [2022-06-07T10:30:27.718Z] Step 29/29 : LABEL version=0.0.0 [2022-06-07T10:30:27.718Z] ---> Running in 327153f37ffb [2022-06-07T10:30:27.978Z] Removing intermediate container 327153f37ffb [2022-06-07T10:30:27.978Z] ---> 29de3dfceb38 [2022-06-07T10:30:27.978Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T10:30:27.978Z] Successfully built 29de3dfceb38 [2022-06-07T10:30:27.978Z] 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-07T10:30:28.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:30:28.428Z] [2022-06-07T10:30:28.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:30:28.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:30:28.728Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T10:30:28.728Z] 5eb5b503b376: Pulling fs layer [2022-06-07T10:30:28.728Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T10:30:28.728Z] ec43610c2a17: Pulling fs layer [2022-06-07T10:30:28.728Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T10:30:28.728Z] 33b1e0a273af: Pulling fs layer [2022-06-07T10:30:28.728Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T10:30:28.728Z] 2f39f015ded8: Pulling fs layer [2022-06-07T10:30:28.728Z] 3a2ae6a8a46f: Waiting [2022-06-07T10:30:28.728Z] 33b1e0a273af: Waiting [2022-06-07T10:30:28.728Z] 2f39f015ded8: Waiting [2022-06-07T10:30:28.728Z] 5d3b04190fa2: Waiting [2022-06-07T10:30:28.728Z] 5c69ac0246d0: Download complete [2022-06-07T10:30:28.728Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T10:30:28.728Z] 3a2ae6a8a46f: Download complete [2022-06-07T10:30:28.728Z] 33b1e0a273af: Verifying Checksum [2022-06-07T10:30:28.728Z] 33b1e0a273af: Download complete [2022-06-07T10:30:28.728Z] ec43610c2a17: Verifying Checksum [2022-06-07T10:30:28.728Z] ec43610c2a17: Download complete [2022-06-07T10:30:28.728Z] 5d3b04190fa2: Download complete [2022-06-07T10:30:28.987Z] 5eb5b503b376: Verifying Checksum [2022-06-07T10:30:28.987Z] 5eb5b503b376: Download complete [2022-06-07T10:30:29.556Z] 2f39f015ded8: Verifying Checksum [2022-06-07T10:30:29.556Z] 2f39f015ded8: Download complete [2022-06-07T10:30:30.126Z] 5eb5b503b376: Pull complete [2022-06-07T10:30:30.385Z] 5c69ac0246d0: Pull complete [2022-06-07T10:30:30.953Z] ec43610c2a17: Pull complete [2022-06-07T10:30:30.953Z] 3a2ae6a8a46f: Pull complete [2022-06-07T10:30:30.953Z] 33b1e0a273af: Pull complete [2022-06-07T10:30:31.212Z] 5d3b04190fa2: Pull complete [2022-06-07T10:30:35.405Z] 2f39f015ded8: Pull complete [2022-06-07T10:30:35.405Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T10:30:35.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:30:35.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:30:35.502Z] prd-ubuntu20.04-docker-8c-8g-1638 does not seem to be running inside a container [2022-06-07T10:30:35.541Z] $ 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-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T10:30:37.083Z] $ docker top bef578474abf1e623af2d5bfdb3d0b915a5e1a0ef5ca3cd77d6703246b227e91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:30:37.479Z] ---> job-cost.sh [2022-06-07T10:30:37.479Z] lf-activate-venv: SKIPPING [2022-06-07T10:30:37.479Z] INFO: No Stack... [2022-06-07T10:30:37.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T10:30:37.835Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1639 in /w/workspace/xfoundry_device-usb-camera_PR-39 [Pipeline] { [Pipeline] ws [2022-06-07T10:30:37.848Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2022-06-07T10:30:37.894Z] Selected Git installation does not exist. Using Default [2022-06-07T10:30:37.894Z] The recommended git tool is: NONE [2022-06-07T10:30:38.307Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T10:30:38.653Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-39/archives/cost.csv [2022-06-07T10:30:38.653Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T10:30:38.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [2022-06-07T10:30:38.690Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] did not exist. Created. [2022-06-07T10:30:38.691Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T10:30:38.994Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T10:30:39.031Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T10:30:39.037Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T10:30:39.060Z] $ docker stop --time=1 bef578474abf1e623af2d5bfdb3d0b915a5e1a0ef5ca3cd77d6703246b227e91 [2022-06-07T10:30:40.241Z] $ docker rm -f bef578474abf1e623af2d5bfdb3d0b915a5e1a0ef5ca3cd77d6703246b227e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T10:30:44.452Z] using credential edgex-jenkins-ssh [2022-06-07T10:30:44.469Z] Cloning the remote Git repository [2022-06-07T10:30:44.519Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-07T10:30:44.586Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2022-06-07T10:30:44.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-07T10:30:44.646Z] > git --version # timeout=10 [2022-06-07T10:30:44.663Z] > git --version # 'git version 2.25.1' [2022-06-07T10:30:44.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:30:44.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:30:45.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-07T10:30:45.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:30:45.384Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-07T10:30:45.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-07T10:30:45.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:30:45.430Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T10:30:45.893Z] Merging remotes/origin/main commit 4347e6326c1a67544b77e06fe92e2ddc47e6771c into PR head commit 41e41b80958132cb0778d29546f30aaf08fd55f1 [2022-06-07T10:30:46.128Z] Merge succeeded, producing 5445fccc675d95f05fe58836b205083dacf3eb33 [2022-06-07T10:30:46.128Z] Checking out Revision 5445fccc675d95f05fe58836b205083dacf3eb33 (PR-39) [2022-06-07T10:30:45.913Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:30:45.932Z] > git checkout -f 41e41b80958132cb0778d29546f30aaf08fd55f1 # timeout=10 [2022-06-07T10:30:46.010Z] > git remote # timeout=10 [2022-06-07T10:30:46.027Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T10:30:46.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:30:46.054Z] > git merge 4347e6326c1a67544b77e06fe92e2ddc47e6771c # timeout=10 [2022-06-07T10:30:46.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T10:30:46.136Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:30:46.152Z] > git checkout -f 5445fccc675d95f05fe58836b205083dacf3eb33 # timeout=10 [2022-06-07T10:30:50.245Z] Commit message: "Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD" [2022-06-07T10:30:50.272Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:30:51.419Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T10:30:51.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T10:30:51.420Z] Dload Upload Total Spent Left Speed [2022-06-07T10:30:51.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85685 0 --:--:-- --:--:-- --:--:-- 85685 [2022-06-07T10:30:50.255Z] > git rev-list --no-walk 7c0fa8b4c270cfe8e5cca990d02596c94e32b2a7 # timeout=10 [Pipeline] sh [2022-06-07T10:30:52.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T10:30:52.545Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-06-07T10:30:52.545Z] sudo tee /etc/docker/daemon.new [2022-06-07T10:30:52.545Z] { [2022-06-07T10:30:52.545Z] "registry-mirrors": [ [2022-06-07T10:30:52.545Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T10:30:52.545Z] ], [2022-06-07T10:30:52.545Z] "bip": "10.250.0.254/24", [2022-06-07T10:30:52.545Z] "hosts": [ [2022-06-07T10:30:52.545Z] "tcp://0.0.0.0:5555", [2022-06-07T10:30:52.545Z] "unix:///var/run/docker.sock" [2022-06-07T10:30:52.545Z] ], [2022-06-07T10:30:52.545Z] "mtu": 1458, [2022-06-07T10:30:52.545Z] "selinux-enabled": true, [2022-06-07T10:30:52.545Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T10:30:52.545Z] } [Pipeline] sh [2022-06-07T10:30:52.892Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T10:30:53.247Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:31:11.583Z] provisioning config files... [2022-06-07T10:31:11.605Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config738965061165564527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:31:11.959Z] ---> docker-login.sh [2022-06-07T10:31:11.959Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:31:12.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:31:12.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:31:12.825Z] Configure a credential helper to remove this warning. See [2022-06-07T10:31:12.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:31:12.825Z] [2022-06-07T10:31:12.825Z] Login Succeeded [2022-06-07T10:31:12.825Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:31:13.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:31:13.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:31:13.099Z] Configure a credential helper to remove this warning. See [2022-06-07T10:31:13.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:31:13.099Z] [2022-06-07T10:31:13.099Z] Login Succeeded [2022-06-07T10:31:13.099Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:31:13.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:31:13.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:31:13.653Z] Configure a credential helper to remove this warning. See [2022-06-07T10:31:13.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:31:13.653Z] [2022-06-07T10:31:13.653Z] Login Succeeded [2022-06-07T10:31:13.653Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:31:13.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:31:14.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:31:14.208Z] Configure a credential helper to remove this warning. See [2022-06-07T10:31:14.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:31:14.208Z] [2022-06-07T10:31:14.208Z] Login Succeeded [2022-06-07T10:31:14.208Z] docker.io [2022-06-07T10:31:14.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:31:14.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:31:14.751Z] Configure a credential helper to remove this warning. See [2022-06-07T10:31:14.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:31:14.751Z] [2022-06-07T10:31:14.751Z] Login Succeeded [2022-06-07T10:31:14.751Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:31:14.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:31:15.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:31:15.279Z] ========================================================= [2022-06-07T10:31:15.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T10:31:15.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:31:15.666Z] + 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-07T10:31:15.939Z] Sending build context to Docker daemon 428.5kB [2022-06-07T10:31:15.939Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:31:15.939Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T10:31:16.216Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T10:31:16.216Z] 9b3977197b4f: Pulling fs layer [2022-06-07T10:31:16.216Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T10:31:16.216Z] 94645a83ff95: Pulling fs layer [2022-06-07T10:31:16.216Z] e6fb740bc735: Pulling fs layer [2022-06-07T10:31:16.216Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T10:31:16.216Z] 355e64cbe906: Pulling fs layer [2022-06-07T10:31:16.216Z] 63ab81a10011: Pulling fs layer [2022-06-07T10:31:16.217Z] 555d1d1c4555: Pulling fs layer [2022-06-07T10:31:16.217Z] 7d9057610161: Pulling fs layer [2022-06-07T10:31:16.217Z] e6fb740bc735: Waiting [2022-06-07T10:31:16.217Z] 63ab81a10011: Waiting [2022-06-07T10:31:16.217Z] 3a77bd46dcc9: Waiting [2022-06-07T10:31:16.217Z] 555d1d1c4555: Waiting [2022-06-07T10:31:16.217Z] 7d9057610161: Waiting [2022-06-07T10:31:16.217Z] 355e64cbe906: Waiting [2022-06-07T10:31:16.217Z] 94645a83ff95: Verifying Checksum [2022-06-07T10:31:16.217Z] 94645a83ff95: Download complete [2022-06-07T10:31:16.217Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T10:31:16.217Z] 1a89e8eeedd5: Download complete [2022-06-07T10:31:16.217Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T10:31:16.217Z] 3a77bd46dcc9: Download complete [2022-06-07T10:31:16.217Z] 355e64cbe906: Verifying Checksum [2022-06-07T10:31:16.217Z] 355e64cbe906: Download complete [2022-06-07T10:31:16.217Z] 9b3977197b4f: Verifying Checksum [2022-06-07T10:31:16.217Z] 9b3977197b4f: Download complete [2022-06-07T10:31:16.217Z] 63ab81a10011: Verifying Checksum [2022-06-07T10:31:16.217Z] 63ab81a10011: Download complete [2022-06-07T10:31:17.202Z] 9b3977197b4f: Pull complete [2022-06-07T10:31:17.202Z] 7d9057610161: Verifying Checksum [2022-06-07T10:31:17.202Z] 7d9057610161: Download complete [2022-06-07T10:31:17.807Z] 1a89e8eeedd5: Pull complete [2022-06-07T10:31:18.079Z] 94645a83ff95: Pull complete [2022-06-07T10:31:18.354Z] 555d1d1c4555: Verifying Checksum [2022-06-07T10:31:18.354Z] 555d1d1c4555: Download complete [2022-06-07T10:31:18.950Z] e6fb740bc735: Verifying Checksum [2022-06-07T10:31:18.950Z] e6fb740bc735: Download complete [2022-06-07T10:31:31.349Z] e6fb740bc735: Pull complete [2022-06-07T10:31:31.349Z] 3a77bd46dcc9: Pull complete [2022-06-07T10:31:31.349Z] 355e64cbe906: Pull complete [2022-06-07T10:31:31.349Z] 63ab81a10011: Pull complete [2022-06-07T10:31:38.065Z] 555d1d1c4555: Pull complete [2022-06-07T10:31:39.503Z] 7d9057610161: Pull complete [2022-06-07T10:31:39.503Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T10:31:39.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T10:31:39.503Z] ---> 819e984ddca1 [2022-06-07T10:31:39.503Z] Step 3/12 : ARG MAKE="make build" [2022-06-07T10:31:41.481Z] ---> Running in 2c058988a235 [2022-06-07T10:31:41.481Z] Removing intermediate container 2c058988a235 [2022-06-07T10:31:41.481Z] ---> 451bfc4f9c65 [2022-06-07T10:31:41.481Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:31:41.481Z] ---> Running in 36e0cf8b8cb5 [2022-06-07T10:31:41.755Z] Removing intermediate container 36e0cf8b8cb5 [2022-06-07T10:31:41.755Z] ---> 64752129788a [2022-06-07T10:31:41.755Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-07T10:31:42.036Z] ---> Running in f6111f0b6e1d [2022-06-07T10:31:42.311Z] Removing intermediate container f6111f0b6e1d [2022-06-07T10:31:42.311Z] ---> e02b86b3a759 [2022-06-07T10:31:42.311Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:31:42.311Z] ---> Running in 5a6b049a62b2 [2022-06-07T10:31:44.336Z] Removing intermediate container 5a6b049a62b2 [2022-06-07T10:31:44.336Z] ---> 7fd814a611c5 [2022-06-07T10:31:44.336Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:31:44.336Z] ---> Running in ab6158f40353 [2022-06-07T10:31:46.313Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:31:47.287Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:31:47.882Z] (1/14) Installing libintl (0.21-r0) [2022-06-07T10:31:48.154Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-07T10:31:48.154Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-07T10:31:48.426Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-07T10:31:48.426Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-07T10:31:48.697Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-07T10:31:48.697Z] Executing udev-init-scripts-35-r0.post-install [2022-06-07T10:31:48.697Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-07T10:31:48.697Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-07T10:31:48.967Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-07T10:31:48.967Z] (10/14) Installing kmod-libs (29-r2) [2022-06-07T10:31:49.239Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-07T10:31:49.239Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-07T10:31:49.239Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-07T10:31:49.514Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-07T10:31:49.514Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T10:31:49.514Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-07T10:31:49.514Z] OK: 228 MiB in 66 packages [2022-06-07T10:31:50.967Z] Removing intermediate container ab6158f40353 [2022-06-07T10:31:50.967Z] ---> fb84a54106eb [2022-06-07T10:31:50.967Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-07T10:31:50.967Z] ---> Running in 4ae7c41cdad4 [2022-06-07T10:31:51.242Z] Removing intermediate container 4ae7c41cdad4 [2022-06-07T10:31:51.242Z] ---> d8f797afa880 [2022-06-07T10:31:51.242Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T10:31:51.527Z] ---> 9b6b64f1d8f1 [2022-06-07T10:31:51.527Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:31:51.804Z] ---> Running in c957ed45336b [2022-06-07T10:32:38.808Z] Removing intermediate container c957ed45336b [2022-06-07T10:32:38.808Z] ---> 41b3ffeb8288 [2022-06-07T10:32:38.808Z] Step 11/12 : COPY . . [2022-06-07T10:32:38.808Z] ---> 12d58f9e41b4 [2022-06-07T10:32:38.808Z] Step 12/12 : RUN ${MAKE} [2022-06-07T10:32:38.808Z] ---> Running in ebc563adadd4 [2022-06-07T10:32:38.808Z] noop [2022-06-07T10:32:38.808Z] Removing intermediate container ebc563adadd4 [2022-06-07T10:32:38.808Z] ---> 4698244dba43 [2022-06-07T10:32:38.808Z] Successfully built 4698244dba43 [2022-06-07T10:32:38.808Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:32:39.173Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:32:39.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:32:39.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-1639 does not seem to be running inside a container [2022-06-07T10:32:39.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:32:40.803Z] $ docker top 57e6e6f237b6d20607acd1521cd132df2b8e5e8c836697cbea36ea13882dbee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:32:41.724Z] + go version [2022-06-07T10:32:41.724Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T10:32:41.751Z] $ docker stop --time=1 57e6e6f237b6d20607acd1521cd132df2b8e5e8c836697cbea36ea13882dbee3 [2022-06-07T10:32:43.408Z] $ docker rm -f 57e6e6f237b6d20607acd1521cd132df2b8e5e8c836697cbea36ea13882dbee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:32:44.033Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:32:44.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:32:44.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-1639 does not seem to be running inside a container [2022-06-07T10:32:44.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:32:45.635Z] $ docker top 88df9a04f3b1a831b8acc9e827b4335dfc19d7f13ac854d722dff783d5861082 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:32:46.554Z] + make test [2022-06-07T10:32:46.554Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:32:47.988Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-07T10:34:09.861Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-07T10:34:09.861Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-07T10:34:09.861Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T10:34:09.861Z] CGO_ENABLED=1 go vet ./... [2022-06-07T10:34:38.359Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:34:38.359Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:34:38.359Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:34:38.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:34:38.399Z] $ docker stop --time=1 88df9a04f3b1a831b8acc9e827b4335dfc19d7f13ac854d722dff783d5861082 [2022-06-07T10:34:40.149Z] $ docker rm -f 88df9a04f3b1a831b8acc9e827b4335dfc19d7f13ac854d722dff783d5861082 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:34:41.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:34:41.084Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T10:34:41.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:34:42.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:34:42.382Z] + ls -al . [2022-06-07T10:34:42.382Z] total 160 [2022-06-07T10:34:42.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:34 . [2022-06-07T10:34:42.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:30 .. [2022-06-07T10:34:42.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:30 .git [2022-06-07T10:34:42.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:30 .github [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 7 10:30 .gitignore [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:30 .golangci.yml [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 7 10:30 .hadolint.yml [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jun 7 10:30 Attribution.txt [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 7 10:30 CHANGELOG.md [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 7 10:30 Dockerfile [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 7 10:30 GOVERNANCE.md [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 7 10:30 Jenkinsfile [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:30 LICENSE [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 7 10:30 Makefile [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 7 10:30 OWNERS.md [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 7 10:30 README.md [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:28 VERSION [2022-06-07T10:34:42.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:30 bin [2022-06-07T10:34:42.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:30 cmd [2022-06-07T10:34:42.382Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 7 10:32 coverage.out [2022-06-07T10:34:42.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:30 docker-compose [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 10:30 docker-entrypoint.sh [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jun 7 10:30 go.mod [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 35656 Jun 7 10:30 go.sum [2022-06-07T10:34:42.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:30 internal [2022-06-07T10:34:42.382Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 7 10:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:34:42.745Z] + 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=5445fccc675d95f05fe58836b205083dacf3eb33 --label arch=arm64 --label version=0.0.0 . [2022-06-07T10:34:43.020Z] Sending build context to Docker daemon 429.6kB [2022-06-07T10:34:43.020Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:34:43.020Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-07T10:34:43.020Z] ---> 4698244dba43 [2022-06-07T10:34:43.020Z] Step 3/29 : ARG MAKE="make build" [2022-06-07T10:34:43.294Z] ---> Running in d34c791e32bf [2022-06-07T10:34:43.567Z] Removing intermediate container d34c791e32bf [2022-06-07T10:34:43.567Z] ---> c849a0d4ec5f [2022-06-07T10:34:43.567Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:34:43.567Z] ---> Running in 72dda062e6dc [2022-06-07T10:34:43.844Z] Removing intermediate container 72dda062e6dc [2022-06-07T10:34:43.844Z] ---> 0cac1492fdd3 [2022-06-07T10:34:43.844Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-07T10:34:43.844Z] ---> Running in 344e5b27ac95 [2022-06-07T10:34:44.442Z] Removing intermediate container 344e5b27ac95 [2022-06-07T10:34:44.442Z] ---> a8c4e569cbaf [2022-06-07T10:34:44.442Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:34:44.442Z] ---> Running in adbf28f780fe [2022-06-07T10:34:45.886Z] Removing intermediate container adbf28f780fe [2022-06-07T10:34:45.886Z] ---> e415948ae8ef [2022-06-07T10:34:45.886Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:34:46.168Z] ---> Running in ff56f2393c37 [2022-06-07T10:34:47.150Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:34:48.130Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:34:48.723Z] OK: 228 MiB in 66 packages [2022-06-07T10:34:49.709Z] Removing intermediate container ff56f2393c37 [2022-06-07T10:34:49.709Z] ---> 0b7e554fde3f [2022-06-07T10:34:49.709Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-07T10:34:49.709Z] ---> Running in 2682fb14e1dd [2022-06-07T10:34:49.982Z] Removing intermediate container 2682fb14e1dd [2022-06-07T10:34:49.982Z] ---> 7a5f3414a675 [2022-06-07T10:34:49.982Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-07T10:34:50.578Z] ---> e511b4e12962 [2022-06-07T10:34:50.578Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:34:50.578Z] ---> Running in 12c58a19f11b [2022-06-07T10:34:52.554Z] Removing intermediate container 12c58a19f11b [2022-06-07T10:34:52.554Z] ---> bab19111cd7b [2022-06-07T10:34:52.554Z] Step 11/29 : COPY . . [2022-06-07T10:34:53.151Z] ---> 5a325e3aa449 [2022-06-07T10:34:53.151Z] Step 12/29 : RUN ${MAKE} [2022-06-07T10:34:53.430Z] ---> Running in 53f984f369e1 [2022-06-07T10:34:54.412Z] 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-07T10:37:01.276Z] Removing intermediate container 53f984f369e1 [2022-06-07T10:37:01.276Z] ---> 1ebfeb806747 [2022-06-07T10:37:01.276Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-07T10:37:01.276Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-07T10:37:01.276Z] eab2503cf8f4: Pulling fs layer [2022-06-07T10:37:01.276Z] 97cd0a44c592: Pulling fs layer [2022-06-07T10:37:01.276Z] 97cd0a44c592: Download complete [2022-06-07T10:37:01.276Z] eab2503cf8f4: Verifying Checksum [2022-06-07T10:37:01.276Z] eab2503cf8f4: Download complete [2022-06-07T10:37:01.276Z] eab2503cf8f4: Pull complete [2022-06-07T10:37:01.276Z] 97cd0a44c592: Pull complete [2022-06-07T10:37:01.276Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-07T10:37:01.276Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-07T10:37:01.276Z] ---> 7f763cca56b3 [2022-06-07T10:37:01.276Z] Step 14/29 : FROM alpine:3.15 [2022-06-07T10:37:01.276Z] 3.15: Pulling from library/alpine [2022-06-07T10:37:01.276Z] 9981e73032c8: Pulling fs layer [2022-06-07T10:37:01.276Z] 9981e73032c8: Verifying Checksum [2022-06-07T10:37:01.276Z] 9981e73032c8: Download complete [2022-06-07T10:37:01.276Z] 9981e73032c8: Pull complete [2022-06-07T10:37:01.276Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T10:37:01.276Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T10:37:01.276Z] ---> 3fb3c9af89a9 [2022-06-07T10:37:01.276Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T10:37:01.276Z] ---> Running in 4edf46e6f88f [2022-06-07T10:37:01.276Z] Removing intermediate container 4edf46e6f88f [2022-06-07T10:37:01.276Z] ---> 578d5aa029a1 [2022-06-07T10:37:01.276Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-07T10:37:01.276Z] ---> Running in 5bb6a6bf148d [2022-06-07T10:37:01.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:37:01.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:37:01.276Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-07T10:37:01.276Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-07T10:37:01.276Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-07T10:37:01.276Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-07T10:37:01.276Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-07T10:37:01.276Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-07T10:37:01.276Z] (7/73) Installing libxcb (1.14-r2) [2022-06-07T10:37:01.276Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-07T10:37:01.276Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-07T10:37:01.276Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-07T10:37:01.276Z] (11/73) Installing expat (2.4.7-r0) [2022-06-07T10:37:01.276Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-07T10:37:01.276Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-07T10:37:01.276Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-07T10:37:01.276Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-07T10:37:01.277Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-07T10:37:01.277Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-07T10:37:01.277Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-07T10:37:01.277Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-07T10:37:01.277Z] (20/73) Installing libintl (0.21-r0) [2022-06-07T10:37:01.277Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-07T10:37:01.277Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-07T10:37:01.277Z] (23/73) Installing pcre (8.45-r1) [2022-06-07T10:37:01.277Z] (24/73) Installing glib (2.70.1-r0) [2022-06-07T10:37:01.277Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-07T10:37:01.277Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-07T10:37:01.277Z] (27/73) Installing libass (0.15.2-r0) [2022-06-07T10:37:01.277Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-07T10:37:01.277Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-07T10:37:01.277Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-07T10:37:01.277Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-07T10:37:01.277Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-07T10:37:01.277Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-07T10:37:01.277Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-07T10:37:01.277Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-07T10:37:01.277Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-07T10:37:01.277Z] (37/73) Installing lame (3.100-r0) [2022-06-07T10:37:01.277Z] (38/73) Installing opus (1.3.1-r1) [2022-06-07T10:37:01.277Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-07T10:37:01.277Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-07T10:37:01.277Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T10:37:01.277Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T10:37:01.277Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-07T10:37:01.277Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-07T10:37:01.277Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-07T10:37:01.277Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-07T10:37:01.277Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-07T10:37:01.277Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-07T10:37:01.277Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-07T10:37:01.277Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-07T10:37:01.277Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-07T10:37:01.277Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-07T10:37:01.277Z] (53/73) Installing libva (2.13.0-r0) [2022-06-07T10:37:01.277Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-07T10:37:01.277Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-07T10:37:01.277Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-07T10:37:01.277Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-07T10:37:01.277Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-07T10:37:01.277Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-07T10:37:01.277Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-07T10:37:01.277Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-07T10:37:01.277Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-07T10:37:01.277Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-07T10:37:01.277Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-07T10:37:01.277Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-07T10:37:01.277Z] Executing udev-init-scripts-35-r0.post-install [2022-06-07T10:37:01.277Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-07T10:37:01.277Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-07T10:37:01.277Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-07T10:37:01.277Z] (69/73) Installing kmod-libs (29-r2) [2022-06-07T10:37:01.277Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-07T10:37:01.277Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-07T10:37:01.277Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-07T10:37:01.277Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-07T10:37:01.277Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T10:37:01.277Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-07T10:37:01.277Z] OK: 67 MiB in 87 packages [2022-06-07T10:37:01.277Z] Removing intermediate container 5bb6a6bf148d [2022-06-07T10:37:01.277Z] ---> dfa5c9e0dc57 [2022-06-07T10:37:01.277Z] Step 17/29 : WORKDIR / [2022-06-07T10:37:01.277Z] ---> Running in 4608128f942a [2022-06-07T10:37:01.559Z] Removing intermediate container 4608128f942a [2022-06-07T10:37:01.559Z] ---> 911d05c8fdd0 [2022-06-07T10:37:01.559Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-07T10:37:03.532Z] ---> a05c536349fe [2022-06-07T10:37:03.532Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-07T10:37:03.809Z] ---> 6309de54131f [2022-06-07T10:37:03.809Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-07T10:37:04.404Z] ---> c8af2dd2f55e [2022-06-07T10:37:04.404Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-07T10:37:04.676Z] ---> ff27c4fc1f83 [2022-06-07T10:37:04.676Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-07T10:37:05.269Z] ---> cc443133b981 [2022-06-07T10:37:05.269Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-07T10:37:06.711Z] ---> 0099be2cec4e [2022-06-07T10:37:06.711Z] Step 24/29 : EXPOSE 59983 [2022-06-07T10:37:06.711Z] ---> Running in 0dc207a83dea [2022-06-07T10:37:06.711Z] Removing intermediate container 0dc207a83dea [2022-06-07T10:37:06.711Z] ---> f2ba1d7992b5 [2022-06-07T10:37:06.711Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-07T10:37:06.986Z] ---> Running in 8586d9c73f83 [2022-06-07T10:37:07.260Z] Removing intermediate container 8586d9c73f83 [2022-06-07T10:37:07.260Z] ---> 2fd4afb96590 [2022-06-07T10:37:07.260Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-07T10:37:07.260Z] ---> Running in 73afde2c7711 [2022-06-07T10:37:07.536Z] Removing intermediate container 73afde2c7711 [2022-06-07T10:37:07.536Z] ---> b13491376a21 [2022-06-07T10:37:07.536Z] Step 27/29 : LABEL arch=arm64 [2022-06-07T10:37:07.536Z] ---> Running in 3844ed48c4d8 [2022-06-07T10:37:07.817Z] Removing intermediate container 3844ed48c4d8 [2022-06-07T10:37:07.817Z] ---> 036af4dbaacc [2022-06-07T10:37:07.817Z] Step 28/29 : LABEL git_sha=5445fccc675d95f05fe58836b205083dacf3eb33 [2022-06-07T10:37:08.090Z] ---> Running in 7230f44506c3 [2022-06-07T10:37:08.363Z] Removing intermediate container 7230f44506c3 [2022-06-07T10:37:08.363Z] ---> 33c119949feb [2022-06-07T10:37:08.363Z] Step 29/29 : LABEL version=0.0.0 [2022-06-07T10:37:08.363Z] ---> Running in 696520ba547a [2022-06-07T10:37:08.635Z] Removing intermediate container 696520ba547a [2022-06-07T10:37:08.635Z] ---> 3775d4f9d390 [2022-06-07T10:37:08.635Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T10:37:08.635Z] Successfully built 3775d4f9d390 [2022-06-07T10:37:08.635Z] 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-07T10:37:09.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:37:09.100Z] [2022-06-07T10:37:09.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:37:09.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:37:09.721Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T10:37:09.721Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T10:37:09.721Z] 04944245beec: Pulling fs layer [2022-06-07T10:37:09.721Z] 699f458cf7ca: Pulling fs layer [2022-06-07T10:37:09.721Z] 765212b225bb: Pulling fs layer [2022-06-07T10:37:09.721Z] f23df028b6ca: Pulling fs layer [2022-06-07T10:37:09.721Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T10:37:09.721Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T10:37:09.721Z] f23df028b6ca: Waiting [2022-06-07T10:37:09.721Z] d65c8cfc05b1: Waiting [2022-06-07T10:37:09.721Z] 2437ff75d9bd: Waiting [2022-06-07T10:37:09.721Z] 765212b225bb: Waiting [2022-06-07T10:37:09.721Z] 04944245beec: Verifying Checksum [2022-06-07T10:37:09.721Z] 04944245beec: Download complete [2022-06-07T10:37:09.721Z] 765212b225bb: Verifying Checksum [2022-06-07T10:37:09.721Z] 765212b225bb: Download complete [2022-06-07T10:37:09.721Z] f23df028b6ca: Download complete [2022-06-07T10:37:09.721Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T10:37:09.721Z] d65c8cfc05b1: Download complete [2022-06-07T10:37:09.997Z] 699f458cf7ca: Verifying Checksum [2022-06-07T10:37:09.997Z] 699f458cf7ca: Download complete [2022-06-07T10:37:10.272Z] 8998bd30e6a1: Download complete [2022-06-07T10:37:12.253Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T10:37:12.253Z] 2437ff75d9bd: Download complete [2022-06-07T10:37:14.886Z] 8998bd30e6a1: Pull complete [2022-06-07T10:37:15.162Z] 04944245beec: Pull complete [2022-06-07T10:37:16.603Z] 699f458cf7ca: Pull complete [2022-06-07T10:37:16.877Z] 765212b225bb: Pull complete [2022-06-07T10:37:17.862Z] f23df028b6ca: Pull complete [2022-06-07T10:37:17.862Z] d65c8cfc05b1: Pull complete [2022-06-07T10:37:33.141Z] 2437ff75d9bd: Pull complete [2022-06-07T10:37:33.141Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T10:37:33.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:37:33.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:37:33.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-1639 does not seem to be running inside a container [2022-06-07T10:37:33.484Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T10:37:36.167Z] $ docker top 9eae6b230be67946ea95e7c2d5dc2bb9c0ef359ad0b0cac915f42f18949bd019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:37.087Z] ---> job-cost.sh [2022-06-07T10:37:37.087Z] lf-activate-venv: SKIPPING [2022-06-07T10:37:37.087Z] INFO: No Stack... [2022-06-07T10:37:37.683Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T10:37:38.663Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T10:37:39.328Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2022-06-07T10:37:39.328Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T10:37:39.358Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [2022-06-07T10:37:39.364Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] did not exist. Created. [2022-06-07T10:37:39.364Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T10:37:40.042Z] /w/workspace/device-usb-camera/3@tmp/durable-39d3fcf9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T10:37:40.724Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T10:37:40.751Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T10:37:40.793Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T10:37:40.799Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-39-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T10:37:40.821Z] $ docker stop --time=1 9eae6b230be67946ea95e7c2d5dc2bb9c0ef359ad0b0cac915f42f18949bd019 [2022-06-07T10:37:42.345Z] $ docker rm -f 9eae6b230be67946ea95e7c2d5dc2bb9c0ef359ad0b0cac915f42f18949bd019 [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-07T10:37:42.781Z] provisioning config files... [2022-06-07T10:37:42.793Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config2243449784637543626tmp [Pipeline] { [Pipeline] sh [2022-06-07T10:37:43.099Z] + set +x [2022-06-07T10:37:43.099Z] + bash -s -- [2022-06-07T10:37:43.099Z] + curl -s https://codecov.io/bash [2022-06-07T10:37:43.099Z] [2022-06-07T10:37:43.099Z] _____ _ [2022-06-07T10:37:43.099Z] / ____| | | [2022-06-07T10:37:43.099Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T10:37:43.099Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T10:37:43.099Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T10:37:43.099Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T10:37:43.099Z] Bash-1.0.6 [2022-06-07T10:37:43.099Z] [2022-06-07T10:37:43.099Z] [2022-06-07T10:37:43.099Z] ==> git version 2.25.1 found [2022-06-07T10:37:43.099Z] ==> 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-07T10:37:43.099Z] Release-Date: 2020-01-08 [2022-06-07T10:37:43.099Z] 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-07T10:37:43.099Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T10:37:43.099Z] ==> Jenkins CI detected. [2022-06-07T10:37:43.100Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-39 [2022-06-07T10:37:43.100Z] project root: . [2022-06-07T10:37:43.100Z] --> token set from env [2022-06-07T10:37:43.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T10:37:43.100Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T10:37:43.100Z] ==> Python coveragepy not found [2022-06-07T10:37:43.100Z] ==> Searching for coverage reports in: [2022-06-07T10:37:43.100Z] + . [2022-06-07T10:37:43.100Z] -> Found 1 reports [2022-06-07T10:37:43.100Z] ==> Detecting git/mercurial file structure [2022-06-07T10:37:43.100Z] ==> Reading reports [2022-06-07T10:37:43.100Z] + ./coverage.out bytes=10 [2022-06-07T10:37:43.100Z] ==> Appending adjustments [2022-06-07T10:37:43.100Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T10:37:43.360Z] + Found adjustments [2022-06-07T10:37:43.361Z] ==> Gzipping contents [2022-06-07T10:37:43.361Z] 4.0K /tmp/codecov.LpGhvm.gz [2022-06-07T10:37:43.361Z] ==> Uploading reports [2022-06-07T10:37:43.361Z] url: https://codecov.io [2022-06-07T10:37:43.361Z] query: branch=PR-39&commit=a55d762bd6879a9881523114972c286dd5b8a60f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-39%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=39&job=&cmd_args= [2022-06-07T10:37:43.361Z] -> Pinging Codecov [2022-06-07T10:37:43.361Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-39&commit=a55d762bd6879a9881523114972c286dd5b8a60f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-39%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=39&job=&cmd_args= [2022-06-07T10:37:43.622Z] -> Uploading to [2022-06-07T10:37:43.622Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/73D8F5FF140700D3E01443B452E23636/a55d762bd6879a9881523114972c286dd5b8a60f/7d48346c-6508-40b7-9f7c-2db7ef641c95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T103743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0bd5d723a74129a371c740f6143329c5493ab0c1e027fcb0b2fbd5f545045225 [2022-06-07T10:37:43.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T10:37:43.622Z] Dload Upload Total Spent Left Speed [2022-06-07T10:37:43.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 4125 --:--:-- --:--:-- --:--:-- 4125 [2022-06-07T10:37:43.884Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/a55d762bd6879a9881523114972c286dd5b8a60f [Pipeline] } [2022-06-07T10:37:43.894Z] 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-07T10:37:44.552Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-39/archives ] [2022-06-07T10:37:44.552Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-39/archives [2022-06-07T10:37:44.552Z] total 16 [2022-06-07T10:37:44.552Z] drwxr-xr-x 3 root root 4096 Jun 7 10:30 . [2022-06-07T10:37:44.552Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:30 .. [2022-06-07T10:37:44.552Z] drwxr-xr-x 2 root root 4096 Jun 7 10:30 cost [2022-06-07T10:37:44.552Z] -rw-r--r-- 1 root root 87 Jun 7 10:30 cost.csv [2022-06-07T10:37:44.552Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-39/archives [2022-06-07T10:37:44.552Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-39/archives [2022-06-07T10:37:44.552Z] total 16 [2022-06-07T10:37:44.552Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:30 . [2022-06-07T10:37:44.552Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:30 .. [2022-06-07T10:37:44.552Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 10:30 cost [2022-06-07T10:37:44.552Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 7 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:44.846Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:45.708Z] ---> package-listing.sh [2022-06-07T10:37:45.708Z] ++ facter osfamily [2022-06-07T10:37:45.708Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T10:37:45.970Z] + OS_FAMILY=debian [2022-06-07T10:37:45.970Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-39 [2022-06-07T10:37:45.970Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T10:37:45.970Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T10:37:45.970Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T10:37:45.970Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T10:37:45.970Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-39 ']' [2022-06-07T10:37:45.970Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T10:37:45.970Z] + case "${OS_FAMILY}" in [2022-06-07T10:37:45.970Z] + dpkg -l [2022-06-07T10:37:45.970Z] + grep '^ii' [2022-06-07T10:37:45.970Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T10:37:45.970Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T10:37:45.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T10:37:45.970Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-39 ']' [2022-06-07T10:37:45.970Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-39/archives/ [2022-06-07T10:37:45.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-39/archives/ [Pipeline] echo [2022-06-07T10:37:45.982Z] 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-39/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T10:37:46.265Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:37:46.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:37:46.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:37:46.920Z] prd-ubuntu20.04-docker-8c-8g-1638 does not seem to be running inside a container [2022-06-07T10:37:46.955Z] $ 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-39/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-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T10:37:47.181Z] $ docker top 924cd2d33d524e882875e589bba7c2f21335b222ad144d15e5334f86bfce8a4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:37:47.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T10:37:47.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T10:37:48.120Z] + ls /var/log/sa-host [2022-06-07T10:37:48.120Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:37:48.260Z] provisioning config files... [2022-06-07T10:37:48.269Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config8693246568059522720tmp [Pipeline] { [Pipeline] echo [2022-06-07T10:37:48.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:48.568Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T10:37:48.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:48.916Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T10:37:48.925Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:49.287Z] ---> sudo-logs.sh [2022-06-07T10:37:49.287Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T10:37:49.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:49.606Z] ---> job-cost.sh [2022-06-07T10:37:49.606Z] lf-activate-venv: SKIPPING [2022-06-07T10:37:49.606Z] DEBUG: total: 0.2199999988079071 [2022-06-07T10:37:49.606Z] INFO: Retrieving Stack Cost... [2022-06-07T10:37:50.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T10:37:50.750Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T10:37:50.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:37:51.047Z] ---> logs-deploy.sh [2022-06-07T10:37:51.047Z] lf-activate-venv: SKIPPING [2022-06-07T10:37:51.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-39/3 [2022-06-07T10:37:51.047Z] INFO: archiving workspace using pattern(s): [2022-06-07T10:37:51.992Z] Archives upload complete. [2022-06-07T10:37:51.992Z] INFO: archiving logs to Nexus