Pull request #29 opened 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 2709ea4fa666d1aa9addf8c3a53a1ee4ab4d3837+a193e592b38d26fd25d0e1783a09c429068bfbdb (ae61e6cf14e1ef94aebaf5d46ecdfc9d6a6ebd64) 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-ssh11723132206356500630.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh17948025613743328659.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-29/workspace@libs/edgex-global-pipelines # timeout=10 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-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7564900575192139048.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13347904057340583317.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh14654276524101103338.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-29/workspace@libs/lf-pipelines # timeout=10 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-29/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1833773982967953214.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64185 in /w/workspace/xfoundry_device-usb-camera_PR-29 [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-29 # 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 Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 2709ea4fa666d1aa9addf8c3a53a1ee4ab4d3837 Merge succeeded, producing beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 Checking out Revision beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 (PR-29) 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/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2709ea4fa666d1aa9addf8c3a53a1ee4ab4d3837 # 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 a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 # timeout=10 Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-20T11:45:38.322Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-20T11:45:38.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-20T11:45:38.594Z] ========================================================= [2022-05-20T11:45:38.594Z] EdgeX Global Pipelines Version Info [2022-05-20T11:45:38.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:45:39.405Z] ------------------- [2022-05-20T11:45:39.405Z] stable info: [2022-05-20T11:45:39.405Z] ------------------- [2022-05-20T11:45:39.405Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T11:45:39.405Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T11:45:39.405Z] Message: update stable to v1.0.230 [2022-05-20T11:45:39.982Z] ------------------- [2022-05-20T11:45:39.982Z] experimental info: [2022-05-20T11:45:39.983Z] ------------------- [2022-05-20T11:45:39.983Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T11:45:39.983Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T11:45:39.983Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-20T11:45:40.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-20T11:45:40.287Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-20T11:45:40.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-20T11:45:40.362Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-20T11:45:40.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-20T11:45:40.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-20T11:45:40.475Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-20T11:45:40.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-20T11:45:40.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-20T11:45:40.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-20T11:45:40.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-20T11:45:40.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-20T11:45:40.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-20T11:45:40.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-20T11:45:40.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-20T11:45:40.811Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-20T11:45:40.846Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T11:45:40.880Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T11:45:40.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-20T11:45:40.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-20T11:45:40.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-20T11:45:41.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-20T11:45:41.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-20T11:45:41.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-20T11:45:41.142Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-20T11:45:41.181Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-20T11:45:41.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-29 [Pipeline] echo [2022-05-20T11:45:41.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-29 [Pipeline] echo [2022-05-20T11:45:41.288Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-29 [Pipeline] echo [2022-05-20T11:45:41.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [Pipeline] echo [2022-05-20T11:45:41.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = beec03b [Pipeline] echo [2022-05-20T11:45:41.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T11:45:41.499Z] provisioning config files... [2022-05-20T11:45:41.516Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/config4064252817830142566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:45:41.866Z] ---> docker-login.sh [2022-05-20T11:45:41.866Z] nexus3.edgexfoundry.org:10001 [2022-05-20T11:45:42.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:45:42.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:45:42.394Z] Configure a credential helper to remove this warning. See [2022-05-20T11:45:42.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:45:42.394Z] [2022-05-20T11:45:42.394Z] Login Succeeded [2022-05-20T11:45:42.394Z] nexus3.edgexfoundry.org:10002 [2022-05-20T11:45:42.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:45:42.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:45:42.655Z] Configure a credential helper to remove this warning. See [2022-05-20T11:45:42.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:45:42.655Z] [2022-05-20T11:45:42.655Z] Login Succeeded [2022-05-20T11:45:42.655Z] nexus3.edgexfoundry.org:10003 [2022-05-20T11:45:42.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:45:42.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:45:42.655Z] Configure a credential helper to remove this warning. See [2022-05-20T11:45:42.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:45:42.655Z] [2022-05-20T11:45:42.655Z] Login Succeeded [2022-05-20T11:45:42.655Z] nexus3.edgexfoundry.org:10004 [2022-05-20T11:45:42.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:45:42.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:45:42.918Z] Configure a credential helper to remove this warning. See [2022-05-20T11:45:42.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:45:42.918Z] [2022-05-20T11:45:42.918Z] Login Succeeded [2022-05-20T11:45:42.918Z] docker.io [2022-05-20T11:45:42.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:45:43.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:45:43.180Z] Configure a credential helper to remove this warning. See [2022-05-20T11:45:43.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:45:43.180Z] [2022-05-20T11:45:43.180Z] Login Succeeded [2022-05-20T11:45:43.180Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T11:45:43.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-20T11:45:43.819Z] + git rev-list -1 --merges beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5~1..beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [Pipeline] echo [2022-05-20T11:45:43.966Z] -----------> git rev-list -1 --merges beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5~1..beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [2022-05-20T11:45:43.966Z] beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [false] [Pipeline] sh [2022-05-20T11:45:44.279Z] + git log --format=format:%s -1 beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [Pipeline] echo [2022-05-20T11:45:44.315Z] ========================================================= [2022-05-20T11:45:44.315Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-20T11:45:44.315Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T11:45:44.769Z] + git log --format=format:%s -1 beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [Pipeline] echo [2022-05-20T11:45:44.800Z] [semverPrep] GIT_COMMIT: beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5, Commit Message: Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD [Pipeline] echo [2022-05-20T11:45:44.835Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-20T11:45:45.297Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-20T11:45:45.297Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-20T11:45:45.297Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-20T11:45:45.297Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-20T11:45:45.297Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-20T11:45:45.297Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-20T11:45:45.297Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:45:45.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T11:45:45.760Z] [2022-05-20T11:45:45.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:45:46.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T11:45:46.106Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-20T11:45:46.106Z] 1fe172e4850f: Pulling fs layer [2022-05-20T11:45:46.106Z] caf521ccaac6: Pulling fs layer [2022-05-20T11:45:46.107Z] 3ead6fa29328: Pulling fs layer [2022-05-20T11:45:46.107Z] 5c2a1cbceb83: Pulling fs layer [2022-05-20T11:45:46.107Z] a8d5f1318db7: Pulling fs layer [2022-05-20T11:45:46.107Z] c427282e49a2: Pulling fs layer [2022-05-20T11:45:46.107Z] 5c2a1cbceb83: Waiting [2022-05-20T11:45:46.107Z] 1827001aaf11: Pulling fs layer [2022-05-20T11:45:46.107Z] c427282e49a2: Waiting [2022-05-20T11:45:46.107Z] a8d5f1318db7: Waiting [2022-05-20T11:45:46.107Z] 0714d37db230: Pulling fs layer [2022-05-20T11:45:46.107Z] ac28cf19c067: Pulling fs layer [2022-05-20T11:45:46.107Z] 0714d37db230: Waiting [2022-05-20T11:45:46.107Z] ca983d60f3e2: Pulling fs layer [2022-05-20T11:45:46.107Z] 9f894cec8388: Pulling fs layer [2022-05-20T11:45:46.107Z] ca983d60f3e2: Waiting [2022-05-20T11:45:46.107Z] 9f894cec8388: Waiting [2022-05-20T11:45:46.107Z] caf521ccaac6: Verifying Checksum [2022-05-20T11:45:46.107Z] caf521ccaac6: Download complete [2022-05-20T11:45:46.107Z] 5c2a1cbceb83: Verifying Checksum [2022-05-20T11:45:46.107Z] 5c2a1cbceb83: Download complete [2022-05-20T11:45:46.369Z] 3ead6fa29328: Verifying Checksum [2022-05-20T11:45:46.369Z] 3ead6fa29328: Download complete [2022-05-20T11:45:46.369Z] a8d5f1318db7: Download complete [2022-05-20T11:45:46.369Z] c427282e49a2: Download complete [2022-05-20T11:45:46.369Z] 0714d37db230: Download complete [2022-05-20T11:45:46.369Z] ac28cf19c067: Download complete [2022-05-20T11:45:46.369Z] ca983d60f3e2: Download complete [2022-05-20T11:45:46.369Z] 9f894cec8388: Verifying Checksum [2022-05-20T11:45:46.369Z] 9f894cec8388: Download complete [2022-05-20T11:45:46.369Z] 1fe172e4850f: Verifying Checksum [2022-05-20T11:45:46.369Z] 1fe172e4850f: Download complete [2022-05-20T11:45:46.939Z] 1827001aaf11: Verifying Checksum [2022-05-20T11:45:46.939Z] 1827001aaf11: Download complete [2022-05-20T11:45:47.880Z] 1fe172e4850f: Pull complete [2022-05-20T11:45:47.880Z] caf521ccaac6: Pull complete [2022-05-20T11:45:48.452Z] 3ead6fa29328: Pull complete [2022-05-20T11:45:48.714Z] 5c2a1cbceb83: Pull complete [2022-05-20T11:45:48.975Z] a8d5f1318db7: Pull complete [2022-05-20T11:45:48.975Z] c427282e49a2: Pull complete [2022-05-20T11:45:50.901Z] 1827001aaf11: Pull complete [2022-05-20T11:45:50.901Z] 0714d37db230: Pull complete [2022-05-20T11:45:51.164Z] ac28cf19c067: Pull complete [2022-05-20T11:45:51.164Z] ca983d60f3e2: Pull complete [2022-05-20T11:45:51.428Z] 9f894cec8388: Pull complete [2022-05-20T11:45:51.428Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-20T11:45:51.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T11:45:51.428Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-20T11:45:51.526Z] prd-ubuntu20.04-docker-8c-8g-64185 does not seem to be running inside a container [2022-05-20T11:45:51.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-29 -v /w/workspace/xfoundry_device-usb-camera_PR-29:/w/workspace/xfoundry_device-usb-camera_PR-29:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-29@tmp:/w/workspace/xfoundry_device-usb-camera_PR-29@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-20T11:45:53.303Z] $ docker top 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 -eo pid,comm [2022-05-20T11:45:53.395Z] 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-05-20T11:45:53.395Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-20T11:45:53.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T11:45:53.522Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T11:45:53.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T11:45:53.673Z] $ docker exec 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 ssh-agent [2022-05-20T11:45:53.785Z] SSH_AUTH_SOCK=/tmp/ssh-awJ3NjQpwREG/agent.32 [2022-05-20T11:45:53.785Z] SSH_AGENT_PID=38 [2022-05-20T11:45:53.793Z] Running ssh-add (command line suppressed) [2022-05-20T11:45:53.923Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-29@tmp/private_key_2530993781294627526.key (/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/private_key_2530993781294627526.key) [2022-05-20T11:45:53.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T11:45:54.276Z] + git tag --points-at HEAD [Pipeline] } [2022-05-20T11:45:54.305Z] $ docker exec --env ******** --env ******** 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 ssh-agent -k [2022-05-20T11:45:54.409Z] unset SSH_AUTH_SOCK; [2022-05-20T11:45:54.409Z] unset SSH_AGENT_PID; [2022-05-20T11:45:54.409Z] echo Agent pid 38 killed; [2022-05-20T11:45:54.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-20T11:45:54.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T11:45:54.515Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T11:45:54.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T11:45:54.654Z] $ docker exec 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 ssh-agent [2022-05-20T11:45:54.783Z] SSH_AUTH_SOCK=/tmp/ssh-98b998xC932o/agent.72 [2022-05-20T11:45:54.783Z] SSH_AGENT_PID=78 [2022-05-20T11:45:54.789Z] Running ssh-add (command line suppressed) [2022-05-20T11:45:54.918Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-29@tmp/private_key_7916497076222011781.key (/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/private_key_7916497076222011781.key) [2022-05-20T11:45:54.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T11:45:55.272Z] + git semver init [2022-05-20T11:45:55.534Z] 2022-05-20 11:45:55,484 [run_init] DEBUG init version:0.0.0 force:False [2022-05-20T11:45:55.534Z] 2022-05-20 11:45:55,485 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-29/.semver [2022-05-20T11:45:55.534Z] 2022-05-20 11:45:55,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-29/.semver [2022-05-20T11:45:55.534Z] 2022-05-20 11:45:55,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-29/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-29, universal_newlines=False, shell=None, istream=None) [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,058 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-29/.git/info/exclude [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-29/.semver/PR-29 with force:False [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,059 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-29/.semver/PR-29 [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,064 [execute] INFO git cat-file --batch-check [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-29/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,071 [execute] INFO git cat-file --batch [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-29/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T11:45:56.108Z] 2022-05-20 11:45:56,078 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-29/.semver/PR-29 [2022-05-20T11:45:56.108Z] 0.0.0 [Pipeline] } [2022-05-20T11:45:56.136Z] $ docker exec --env ******** --env ******** 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 ssh-agent -k [2022-05-20T11:45:56.256Z] unset SSH_AUTH_SOCK; [2022-05-20T11:45:56.256Z] unset SSH_AGENT_PID; [2022-05-20T11:45:56.256Z] echo Agent pid 78 killed; [2022-05-20T11:45:56.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-20T11:45:56.692Z] + git semver [Pipeline] } [2022-05-20T11:45:56.983Z] $ docker stop --time=1 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 [2022-05-20T11:45:58.314Z] $ docker rm -f 41f7739b9a06058ac6ae55afbc5cdac2d949a79e076a6cafba39ff051a0eb3f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T11:45:58.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-20T11:45:59.052Z] Stashed 1 file(s) [Pipeline] echo [2022-05-20T11:45:59.068Z] [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-05-20T11:45:59.643Z] provisioning config files... [2022-05-20T11:45:59.655Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/config2341916288864405597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:46:00.005Z] ---> docker-login.sh [2022-05-20T11:46:00.005Z] nexus3.edgexfoundry.org:10001 [2022-05-20T11:46:00.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:46:00.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:46:00.005Z] Configure a credential helper to remove this warning. See [2022-05-20T11:46:00.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:46:00.005Z] [2022-05-20T11:46:00.005Z] Login Succeeded [2022-05-20T11:46:00.005Z] nexus3.edgexfoundry.org:10002 [2022-05-20T11:46:00.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:46:00.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:46:00.267Z] Configure a credential helper to remove this warning. See [2022-05-20T11:46:00.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:46:00.267Z] [2022-05-20T11:46:00.267Z] Login Succeeded [2022-05-20T11:46:00.267Z] nexus3.edgexfoundry.org:10003 [2022-05-20T11:46:00.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:46:00.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:46:00.267Z] Configure a credential helper to remove this warning. See [2022-05-20T11:46:00.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:46:00.267Z] [2022-05-20T11:46:00.267Z] Login Succeeded [2022-05-20T11:46:00.267Z] nexus3.edgexfoundry.org:10004 [2022-05-20T11:46:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:46:00.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:46:00.528Z] Configure a credential helper to remove this warning. See [2022-05-20T11:46:00.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:46:00.528Z] [2022-05-20T11:46:00.528Z] Login Succeeded [2022-05-20T11:46:00.528Z] docker.io [2022-05-20T11:46:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:46:00.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:46:00.789Z] Configure a credential helper to remove this warning. See [2022-05-20T11:46:00.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:46:00.789Z] [2022-05-20T11:46:00.789Z] Login Succeeded [2022-05-20T11:46:00.789Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T11:46:00.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-20T11:46:00.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-20T11:46:01.020Z] ========================================================= [2022-05-20T11:46:01.020Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-20T11:46:01.020Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:46:01.426Z] + 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-05-20T11:46:01.426Z] Sending build context to Docker daemon 597.5kB [2022-05-20T11:46:01.426Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T11:46:01.427Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-20T11:46:01.427Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-20T11:46:01.427Z] 59bf1c3509f3: Pulling fs layer [2022-05-20T11:46:01.427Z] 666ba61612fd: Pulling fs layer [2022-05-20T11:46:01.427Z] 8ed8ca486205: Pulling fs layer [2022-05-20T11:46:01.427Z] 4fe6c5a15a65: Pulling fs layer [2022-05-20T11:46:01.427Z] 22a0e8bec74d: Pulling fs layer [2022-05-20T11:46:01.427Z] ca2b28591e48: Pulling fs layer [2022-05-20T11:46:01.427Z] a51346096db8: Pulling fs layer [2022-05-20T11:46:01.427Z] daebc70d1ce1: Pulling fs layer [2022-05-20T11:46:01.427Z] 0e18a0eac166: Pulling fs layer [2022-05-20T11:46:01.427Z] ca2b28591e48: Waiting [2022-05-20T11:46:01.427Z] 4fe6c5a15a65: Waiting [2022-05-20T11:46:01.427Z] 22a0e8bec74d: Waiting [2022-05-20T11:46:01.427Z] 0e18a0eac166: Waiting [2022-05-20T11:46:01.427Z] a51346096db8: Waiting [2022-05-20T11:46:01.427Z] daebc70d1ce1: Waiting [2022-05-20T11:46:01.427Z] 666ba61612fd: Download complete [2022-05-20T11:46:01.427Z] 22a0e8bec74d: Verifying Checksum [2022-05-20T11:46:01.427Z] 22a0e8bec74d: Download complete [2022-05-20T11:46:01.427Z] ca2b28591e48: Verifying Checksum [2022-05-20T11:46:01.427Z] ca2b28591e48: Download complete [2022-05-20T11:46:01.687Z] a51346096db8: Verifying Checksum [2022-05-20T11:46:01.687Z] a51346096db8: Download complete [2022-05-20T11:46:01.687Z] 59bf1c3509f3: Verifying Checksum [2022-05-20T11:46:01.687Z] 59bf1c3509f3: Download complete [2022-05-20T11:46:01.687Z] daebc70d1ce1: Verifying Checksum [2022-05-20T11:46:01.687Z] daebc70d1ce1: Download complete [2022-05-20T11:46:01.687Z] 59bf1c3509f3: Pull complete [2022-05-20T11:46:01.950Z] 666ba61612fd: Pull complete [2022-05-20T11:46:01.950Z] 8ed8ca486205: Pull complete [2022-05-20T11:46:02.212Z] 0e18a0eac166: Verifying Checksum [2022-05-20T11:46:02.212Z] 0e18a0eac166: Download complete [2022-05-20T11:46:02.212Z] 4fe6c5a15a65: Verifying Checksum [2022-05-20T11:46:02.212Z] 4fe6c5a15a65: Download complete [2022-05-20T11:46:06.410Z] 4fe6c5a15a65: Pull complete [2022-05-20T11:46:06.410Z] 22a0e8bec74d: Pull complete [2022-05-20T11:46:06.410Z] ca2b28591e48: Pull complete [2022-05-20T11:46:06.410Z] a51346096db8: Pull complete [2022-05-20T11:46:06.671Z] daebc70d1ce1: Pull complete [2022-05-20T11:46:09.210Z] 0e18a0eac166: Pull complete [2022-05-20T11:46:09.210Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-20T11:46:09.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-20T11:46:09.210Z] ---> f018257e8ee9 [2022-05-20T11:46:09.210Z] Step 3/12 : ARG MAKE="make build" [2022-05-20T11:46:10.600Z] ---> Running in 21ae0a64f4fe [2022-05-20T11:46:10.600Z] Removing intermediate container 21ae0a64f4fe [2022-05-20T11:46:10.600Z] ---> d9a15c5ee455 [2022-05-20T11:46:10.600Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T11:46:10.600Z] ---> Running in 7059c16ce702 [2022-05-20T11:46:10.600Z] Removing intermediate container 7059c16ce702 [2022-05-20T11:46:10.600Z] ---> 58c3c71d6cdd [2022-05-20T11:46:10.600Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T11:46:10.600Z] ---> Running in cfe4c7be8515 [2022-05-20T11:46:10.600Z] Removing intermediate container cfe4c7be8515 [2022-05-20T11:46:10.600Z] ---> c426f22b4a9f [2022-05-20T11:46:10.600Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T11:46:10.600Z] ---> Running in fc0b717ad146 [2022-05-20T11:46:11.541Z] Removing intermediate container fc0b717ad146 [2022-05-20T11:46:11.541Z] ---> 8fe11139f57b [2022-05-20T11:46:11.541Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T11:46:11.541Z] ---> Running in 093a49c802bb [2022-05-20T11:46:11.804Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T11:46:12.750Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T11:46:13.011Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-20T11:46:13.011Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-20T11:46:13.011Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-20T11:46:13.272Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-20T11:46:13.272Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-20T11:46:13.272Z] (6/81) Installing libxcb (1.14-r2) [2022-05-20T11:46:13.536Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-20T11:46:13.536Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-20T11:46:13.536Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-20T11:46:13.797Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-20T11:46:13.797Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-20T11:46:13.797Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-20T11:46:14.059Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-20T11:46:14.059Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-20T11:46:14.059Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-20T11:46:14.320Z] (16/81) Installing libice (1.0.10-r0) [2022-05-20T11:46:14.320Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-20T11:46:14.320Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-20T11:46:14.460Z] Still waiting to schedule task [2022-05-20T11:46:14.460Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-20T11:46:14.584Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-20T11:46:14.584Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-20T11:46:14.584Z] (21/81) Installing xset (1.2.4-r0) [2022-05-20T11:46:14.853Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-20T11:46:14.853Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-20T11:46:14.853Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-20T11:46:15.115Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-20T11:46:15.115Z] (26/81) Installing libintl (0.21-r0) [2022-05-20T11:46:15.115Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-20T11:46:15.377Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-20T11:46:15.377Z] (29/81) Installing pcre (8.45-r1) [2022-05-20T11:46:15.377Z] (30/81) Installing glib (2.70.1-r0) [2022-05-20T11:46:15.639Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-20T11:46:16.599Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-20T11:46:16.599Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-20T11:46:16.599Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-20T11:46:17.987Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-20T11:46:18.248Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-20T11:46:18.248Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-20T11:46:18.248Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-20T11:46:18.522Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-20T11:46:18.789Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-20T11:46:18.789Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-20T11:46:19.059Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-20T11:46:19.059Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-20T11:46:19.059Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-20T11:46:19.320Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-20T11:46:19.320Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-20T11:46:19.320Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-20T11:46:19.581Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-20T11:46:19.582Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-20T11:46:19.582Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-20T11:46:19.849Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-20T11:46:19.849Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-20T11:46:19.849Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-20T11:46:20.114Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-20T11:46:20.114Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-20T11:46:20.114Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-20T11:46:20.378Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-20T11:46:20.378Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-20T11:46:20.638Z] (59/81) Installing cups-libs (2.3.3-r5) [2022-05-20T11:46:20.639Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-20T11:46:20.639Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-20T11:46:20.900Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-20T11:46:20.900Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-20T11:46:20.900Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T11:46:21.161Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-20T11:46:21.162Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T11:46:21.162Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-20T11:46:21.422Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-20T11:46:21.422Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-20T11:46:21.422Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-20T11:46:21.685Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-20T11:46:21.685Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-20T11:46:21.685Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-20T11:46:22.255Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T11:46:22.255Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-20T11:46:22.515Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-20T11:46:22.515Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T11:46:22.515Z] (77/81) Installing kmod-libs (29-r2) [2022-05-20T11:46:22.515Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-20T11:46:22.777Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-20T11:46:22.777Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-20T11:46:23.038Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-20T11:46:23.038Z] Executing busybox-1.34.1-r3.trigger [2022-05-20T11:46:23.038Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T11:46:23.038Z] OK: 335 MiB in 133 packages [2022-05-20T11:46:25.587Z] Removing intermediate container 093a49c802bb [2022-05-20T11:46:25.587Z] ---> 714a4a3bee79 [2022-05-20T11:46:25.587Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-20T11:46:25.587Z] ---> Running in 226e75ccb157 [2022-05-20T11:46:25.587Z] Removing intermediate container 226e75ccb157 [2022-05-20T11:46:25.587Z] ---> dad853a9bfaa [2022-05-20T11:46:25.587Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-20T11:46:25.587Z] ---> bb1d60a65cf4 [2022-05-20T11:46:25.587Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T11:46:25.587Z] ---> Running in 9ff4ba67e128 [2022-05-20T11:46:41.888Z] Removing intermediate container 9ff4ba67e128 [2022-05-20T11:46:41.888Z] ---> 022507b30063 [2022-05-20T11:46:41.888Z] Step 11/12 : COPY . . [2022-05-20T11:46:42.150Z] ---> 85eb464b5a05 [2022-05-20T11:46:42.150Z] Step 12/12 : RUN ${MAKE} [2022-05-20T11:46:42.150Z] ---> Running in 4fc124a3d44d [2022-05-20T11:46:42.411Z] noop [2022-05-20T11:46:42.672Z] Removing intermediate container 4fc124a3d44d [2022-05-20T11:46:42.672Z] ---> e45c06f63f30 [2022-05-20T11:46:42.672Z] Successfully built e45c06f63f30 [2022-05-20T11:46:42.672Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:46:43.054Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T11:46:43.054Z] . [Pipeline] withDockerContainer [2022-05-20T11:46:43.149Z] prd-ubuntu20.04-docker-8c-8g-64185 does not seem to be running inside a container [2022-05-20T11:46:43.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-29 -v /w/workspace/xfoundry_device-usb-camera_PR-29:/w/workspace/xfoundry_device-usb-camera_PR-29:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-29@tmp:/w/workspace/xfoundry_device-usb-camera_PR-29@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 ******** ci-base-image-x86_64 cat [2022-05-20T11:46:43.610Z] $ docker top e091d7e2123d8f8de8eaabaf548aed66f50df4460ec672d998b66d66b3dd3836 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T11:46:44.045Z] + go version [2022-05-20T11:46:44.045Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-20T11:46:44.083Z] $ docker stop --time=1 e091d7e2123d8f8de8eaabaf548aed66f50df4460ec672d998b66d66b3dd3836 [2022-05-20T11:46:45.403Z] $ docker rm -f e091d7e2123d8f8de8eaabaf548aed66f50df4460ec672d998b66d66b3dd3836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:46:46.089Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T11:46:46.089Z] . [Pipeline] withDockerContainer [2022-05-20T11:46:46.187Z] prd-ubuntu20.04-docker-8c-8g-64185 does not seem to be running inside a container [2022-05-20T11:46:46.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-29 -v /w/workspace/xfoundry_device-usb-camera_PR-29:/w/workspace/xfoundry_device-usb-camera_PR-29:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-29@tmp:/w/workspace/xfoundry_device-usb-camera_PR-29@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 ******** ci-base-image-x86_64 cat [2022-05-20T11:46:46.669Z] $ docker top 33d0cc54a4ea55c3f2c0cbac114e17afc8136dc3655e55a4dc7a8b00767df4be -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-20T11:46:47.140Z] + make test [2022-05-20T11:46:47.140Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-20T11:46:47.400Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-20T11:46:57.420Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-20T11:46:57.420Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-20T11:47:05.572Z] CGO_ENABLED=1 go vet ./... [2022-05-20T11:47:09.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-20T11:47:09.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-20T11:47:09.778Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-20T11:47:09.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-20T11:47:09.848Z] $ docker stop --time=1 33d0cc54a4ea55c3f2c0cbac114e17afc8136dc3655e55a4dc7a8b00767df4be [2022-05-20T11:47:11.728Z] $ docker rm -f 33d0cc54a4ea55c3f2c0cbac114e17afc8136dc3655e55a4dc7a8b00767df4be [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T11:47:12.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-20T11:47:12.357Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-20T11:47:13.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-20T11:47:13.512Z] + ls -al . [2022-05-20T11:47:13.512Z] total 164 [2022-05-20T11:47:13.512Z] drwxrwxr-x 9 jenkins jenkins 4096 May 20 11:47 . [2022-05-20T11:47:13.512Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 11:45 .. [2022-05-20T11:47:13.512Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 11:45 .git [2022-05-20T11:47:13.512Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:45 .github [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 349 May 20 11:45 .gitignore [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 42 May 20 11:45 .golangci.yml [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 11:45 .hadolint.yml [2022-05-20T11:47:13.512Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 11:45 .semver [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 20 11:45 Attribution.txt [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 181 May 20 11:45 CHANGELOG.md [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 20 11:45 Dockerfile [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 11:45 GOVERNANCE.md [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 11:45 Jenkinsfile [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 11:45 LICENSE [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 1641 May 20 11:45 Makefile [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 11:45 OWNERS.md [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 8960 May 20 11:45 README.md [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 11:45 VERSION [2022-05-20T11:47:13.512Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:45 bin [2022-05-20T11:47:13.512Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 11:45 cmd [2022-05-20T11:47:13.512Z] -rw-r--r-- 1 jenkins jenkins 10 May 20 11:46 coverage.out [2022-05-20T11:47:13.512Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:45 docker-compose [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 11:45 docker-entrypoint.sh [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 20 11:45 go.mod [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 20 11:45 go.sum [2022-05-20T11:47:13.512Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 11:45 internal [2022-05-20T11:47:13.512Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 11:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:47:13.879Z] + 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=beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 --label arch=amd64 --label version=0.0.0 . [2022-05-20T11:47:13.879Z] Sending build context to Docker daemon 598.5kB [2022-05-20T11:47:13.879Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T11:47:13.879Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-20T11:47:13.879Z] ---> e45c06f63f30 [2022-05-20T11:47:13.879Z] Step 3/29 : ARG MAKE="make build" [2022-05-20T11:47:13.879Z] ---> Running in de7126b608e5 [2022-05-20T11:47:14.142Z] Removing intermediate container de7126b608e5 [2022-05-20T11:47:14.142Z] ---> 335b87dc40d2 [2022-05-20T11:47:14.142Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T11:47:14.142Z] ---> Running in 5d89422ec7da [2022-05-20T11:47:14.142Z] Removing intermediate container 5d89422ec7da [2022-05-20T11:47:14.142Z] ---> 4dc7c3da4309 [2022-05-20T11:47:14.142Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T11:47:14.142Z] ---> Running in 68fc36dd9ca1 [2022-05-20T11:47:14.403Z] Removing intermediate container 68fc36dd9ca1 [2022-05-20T11:47:14.403Z] ---> 053536b1fa94 [2022-05-20T11:47:14.403Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T11:47:14.403Z] ---> Running in 66ac03b111d9 [2022-05-20T11:47:14.976Z] Removing intermediate container 66ac03b111d9 [2022-05-20T11:47:14.976Z] ---> 760d48c6ce08 [2022-05-20T11:47:14.976Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T11:47:14.976Z] ---> Running in d1c5885058cd [2022-05-20T11:47:15.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T11:47:16.182Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T11:47:16.501Z] OK: 335 MiB in 133 packages [2022-05-20T11:47:16.773Z] Removing intermediate container d1c5885058cd [2022-05-20T11:47:16.773Z] ---> ce430c92e358 [2022-05-20T11:47:16.773Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-20T11:47:16.773Z] ---> Running in 7029177a33e5 [2022-05-20T11:47:17.034Z] Removing intermediate container 7029177a33e5 [2022-05-20T11:47:17.034Z] ---> b41d4525754f [2022-05-20T11:47:17.034Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-20T11:47:17.034Z] ---> e11169ca9f61 [2022-05-20T11:47:17.034Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T11:47:17.296Z] ---> Running in 978c4d52040c [2022-05-20T11:47:17.867Z] Removing intermediate container 978c4d52040c [2022-05-20T11:47:17.867Z] ---> de1405623390 [2022-05-20T11:47:17.867Z] Step 11/29 : COPY . . [2022-05-20T11:47:18.129Z] ---> 882b7b296d65 [2022-05-20T11:47:18.129Z] Step 12/29 : RUN ${MAKE} [2022-05-20T11:47:18.129Z] ---> Running in f4457c4717b6 [2022-05-20T11:47:18.389Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd [2022-05-20T11:47:33.289Z] Removing intermediate container f4457c4717b6 [2022-05-20T11:47:33.289Z] ---> 46dd441a3858 [2022-05-20T11:47:33.289Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-20T11:47:33.289Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-20T11:47:33.289Z] af6660deedbd: Pulling fs layer [2022-05-20T11:47:33.289Z] 97cd0a44c592: Pulling fs layer [2022-05-20T11:47:33.289Z] 97cd0a44c592: Download complete [2022-05-20T11:47:33.289Z] af6660deedbd: Verifying Checksum [2022-05-20T11:47:33.289Z] af6660deedbd: Download complete [2022-05-20T11:47:33.289Z] af6660deedbd: Pull complete [2022-05-20T11:47:33.289Z] 97cd0a44c592: Pull complete [2022-05-20T11:47:33.289Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-20T11:47:33.289Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-20T11:47:33.289Z] ---> fea57e182299 [2022-05-20T11:47:33.289Z] Step 14/29 : FROM alpine:3.15 [2022-05-20T11:47:33.551Z] 3.15: Pulling from library/alpine [2022-05-20T11:47:33.811Z] df9b9388f04a: Pulling fs layer [2022-05-20T11:47:33.811Z] df9b9388f04a: Verifying Checksum [2022-05-20T11:47:33.811Z] df9b9388f04a: Download complete [2022-05-20T11:47:34.074Z] df9b9388f04a: Pull complete [2022-05-20T11:47:34.074Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-20T11:47:34.074Z] Status: Downloaded newer image for alpine:3.15 [2022-05-20T11:47:34.074Z] ---> 0ac33e5f5afa [2022-05-20T11:47:34.074Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-20T11:47:34.074Z] ---> Running in 575fec7a46a3 [2022-05-20T11:47:34.354Z] Removing intermediate container 575fec7a46a3 [2022-05-20T11:47:34.354Z] ---> f097d7b2a48c [2022-05-20T11:47:34.354Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-20T11:47:34.354Z] ---> Running in acaa78a9aee9 [2022-05-20T11:47:34.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T11:47:34.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T11:47:34.977Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-20T11:47:34.977Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-20T11:47:34.977Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-20T11:47:34.977Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-20T11:47:34.977Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-20T11:47:34.977Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-20T11:47:34.977Z] (7/74) Installing libxcb (1.14-r2) [2022-05-20T11:47:34.977Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-20T11:47:34.977Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-20T11:47:34.977Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-20T11:47:34.977Z] (11/74) Installing expat (2.4.7-r0) [2022-05-20T11:47:34.977Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-20T11:47:34.977Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-20T11:47:34.977Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-20T11:47:34.977Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-20T11:47:34.977Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-20T11:47:34.977Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-20T11:47:35.258Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-20T11:47:35.258Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-20T11:47:35.258Z] (20/74) Installing libintl (0.21-r0) [2022-05-20T11:47:35.258Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-20T11:47:35.258Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-20T11:47:35.258Z] (23/74) Installing pcre (8.45-r1) [2022-05-20T11:47:35.258Z] (24/74) Installing glib (2.70.1-r0) [2022-05-20T11:47:35.258Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-20T11:47:35.258Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-20T11:47:35.258Z] (27/74) Installing libass (0.15.2-r0) [2022-05-20T11:47:35.258Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-20T11:47:35.258Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-20T11:47:35.258Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-20T11:47:35.258Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-20T11:47:35.258Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-20T11:47:35.258Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-20T11:47:35.258Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-20T11:47:35.258Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-20T11:47:35.258Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-20T11:47:35.258Z] (37/74) Installing lame (3.100-r0) [2022-05-20T11:47:35.258Z] (38/74) Installing opus (1.3.1-r1) [2022-05-20T11:47:35.258Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-20T11:47:35.258Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-20T11:47:35.258Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-20T11:47:35.258Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-20T11:47:35.258Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-20T11:47:35.258Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-20T11:47:35.258Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-20T11:47:35.258Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-20T11:47:35.258Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T11:47:35.258Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T11:47:35.258Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-20T11:47:35.258Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-20T11:47:35.258Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-20T11:47:35.258Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-20T11:47:35.520Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-20T11:47:35.520Z] (54/74) Installing libva (2.13.0-r0) [2022-05-20T11:47:35.520Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-20T11:47:35.520Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-20T11:47:35.520Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-20T11:47:35.520Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-20T11:47:35.520Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-20T11:47:35.520Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-20T11:47:35.520Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-20T11:47:35.520Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-20T11:47:35.520Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-20T11:47:35.520Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-20T11:47:35.520Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-20T11:47:35.783Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-20T11:47:35.783Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T11:47:35.783Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T11:47:35.783Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-20T11:47:35.783Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-20T11:47:35.783Z] (70/74) Installing kmod-libs (29-r2) [2022-05-20T11:47:35.783Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-20T11:47:35.783Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-20T11:47:35.783Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-20T11:47:35.783Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-20T11:47:35.783Z] Executing busybox-1.34.1-r5.trigger [2022-05-20T11:47:35.783Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T11:47:35.783Z] OK: 78 MiB in 88 packages [2022-05-20T11:47:37.170Z] Removing intermediate container acaa78a9aee9 [2022-05-20T11:47:37.170Z] ---> fb8e479137c7 [2022-05-20T11:47:37.170Z] Step 17/29 : WORKDIR / [2022-05-20T11:47:37.431Z] ---> Running in 0dde97e1d6a2 [2022-05-20T11:47:37.431Z] Removing intermediate container 0dde97e1d6a2 [2022-05-20T11:47:37.431Z] ---> 1449151df7fe [2022-05-20T11:47:37.431Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-20T11:47:38.005Z] ---> dd8a87164262 [2022-05-20T11:47:38.005Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-20T11:47:38.005Z] ---> d56f4ad2dbfc [2022-05-20T11:47:38.005Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-20T11:47:38.265Z] ---> 7f9b72f7f427 [2022-05-20T11:47:38.265Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-20T11:47:38.527Z] ---> 590d26ebe092 [2022-05-20T11:47:38.527Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-20T11:47:38.527Z] ---> 6cb810114f4b [2022-05-20T11:47:38.527Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-20T11:47:39.098Z] ---> d1c79171f9f6 [2022-05-20T11:47:39.098Z] Step 24/29 : EXPOSE 59983 [2022-05-20T11:47:39.098Z] ---> Running in 7424cc313485 [2022-05-20T11:47:39.098Z] Removing intermediate container 7424cc313485 [2022-05-20T11:47:39.098Z] ---> 3b8ea356a436 [2022-05-20T11:47:39.098Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-20T11:47:39.098Z] ---> Running in eba26fa88943 [2022-05-20T11:47:39.359Z] Removing intermediate container eba26fa88943 [2022-05-20T11:47:39.359Z] ---> 207c906891c2 [2022-05-20T11:47:39.359Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-20T11:47:39.359Z] ---> Running in 0876e4928e27 [2022-05-20T11:47:39.359Z] Removing intermediate container 0876e4928e27 [2022-05-20T11:47:39.359Z] ---> 3b61ac5e3ca5 [2022-05-20T11:47:39.359Z] Step 27/29 : LABEL arch=amd64 [2022-05-20T11:47:39.620Z] ---> Running in 2a1303571016 [2022-05-20T11:47:39.620Z] Removing intermediate container 2a1303571016 [2022-05-20T11:47:39.620Z] ---> e89cb102069b [2022-05-20T11:47:39.620Z] Step 28/29 : LABEL git_sha=beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [2022-05-20T11:47:39.620Z] ---> Running in ba54012fc2f8 [2022-05-20T11:47:39.620Z] Removing intermediate container ba54012fc2f8 [2022-05-20T11:47:39.620Z] ---> 340955189fb5 [2022-05-20T11:47:39.620Z] Step 29/29 : LABEL version=0.0.0 [2022-05-20T11:47:39.884Z] ---> Running in 6e823d3d4d3c [2022-05-20T11:47:39.884Z] Removing intermediate container 6e823d3d4d3c [2022-05-20T11:47:39.884Z] ---> 6c31aca7bcdd [2022-05-20T11:47:39.884Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-20T11:47:39.884Z] Successfully built 6c31aca7bcdd [2022-05-20T11:47:39.884Z] Successfully tagged device-usb-camera:latest [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] sh [2022-05-20T11:47:40.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T11:47:40.642Z] [2022-05-20T11:47:40.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:47:40.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T11:47:40.988Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-20T11:47:40.988Z] 5eb5b503b376: Pulling fs layer [2022-05-20T11:47:40.988Z] 5c69ac0246d0: Pulling fs layer [2022-05-20T11:47:40.988Z] ec43610c2a17: Pulling fs layer [2022-05-20T11:47:40.988Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-20T11:47:40.988Z] 33b1e0a273af: Pulling fs layer [2022-05-20T11:47:40.988Z] 3a2ae6a8a46f: Waiting [2022-05-20T11:47:40.988Z] 33b1e0a273af: Waiting [2022-05-20T11:47:40.988Z] 5d3b04190fa2: Pulling fs layer [2022-05-20T11:47:40.988Z] 2f39f015ded8: Pulling fs layer [2022-05-20T11:47:40.988Z] 5d3b04190fa2: Waiting [2022-05-20T11:47:40.988Z] 2f39f015ded8: Waiting [2022-05-20T11:47:40.988Z] 5c69ac0246d0: Verifying Checksum [2022-05-20T11:47:40.988Z] 5c69ac0246d0: Download complete [2022-05-20T11:47:40.988Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-20T11:47:40.988Z] 3a2ae6a8a46f: Download complete [2022-05-20T11:47:40.988Z] 33b1e0a273af: Verifying Checksum [2022-05-20T11:47:40.988Z] 33b1e0a273af: Download complete [2022-05-20T11:47:40.988Z] 5d3b04190fa2: Verifying Checksum [2022-05-20T11:47:40.988Z] 5d3b04190fa2: Download complete [2022-05-20T11:47:40.988Z] ec43610c2a17: Verifying Checksum [2022-05-20T11:47:40.988Z] ec43610c2a17: Download complete [2022-05-20T11:47:41.250Z] 5eb5b503b376: Verifying Checksum [2022-05-20T11:47:41.250Z] 5eb5b503b376: Download complete [2022-05-20T11:47:41.819Z] 2f39f015ded8: Download complete [2022-05-20T11:47:42.391Z] 5eb5b503b376: Pull complete [2022-05-20T11:47:42.650Z] 5c69ac0246d0: Pull complete [2022-05-20T11:47:43.218Z] ec43610c2a17: Pull complete [2022-05-20T11:47:43.218Z] 3a2ae6a8a46f: Pull complete [2022-05-20T11:47:43.481Z] 33b1e0a273af: Pull complete [2022-05-20T11:47:43.481Z] 5d3b04190fa2: Pull complete [2022-05-20T11:47:48.758Z] 2f39f015ded8: Pull complete [2022-05-20T11:47:48.758Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-20T11:47:48.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T11:47:48.758Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-20T11:47:48.849Z] prd-ubuntu20.04-docker-8c-8g-64185 does not seem to be running inside a container [2022-05-20T11:47:48.890Z] $ 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-29 -v /w/workspace/xfoundry_device-usb-camera_PR-29:/w/workspace/xfoundry_device-usb-camera_PR-29:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-29@tmp:/w/workspace/xfoundry_device-usb-camera_PR-29@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-lftools-log-publisher:latest cat [2022-05-20T11:47:49.685Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64186 in /w/workspace/xfoundry_device-usb-camera_PR-29 [2022-05-20T11:47:50.884Z] $ docker top bec96eff175d966f4d1a9175049b6142a9a4ae7ed54b14839bd839d4f557329b -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-05-20T11:47:51.178Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-05-20T11:47:51.416Z] ---> job-cost.sh [2022-05-20T11:47:51.416Z] lf-activate-venv: SKIPPING [2022-05-20T11:47:51.416Z] INFO: No Stack... [2022-05-20T11:47:51.427Z] Selected Git installation does not exist. Using Default [2022-05-20T11:47:51.427Z] The recommended git tool is: NONE [2022-05-20T11:47:51.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T11:47:52.247Z] INFO: Archiving Costs [Pipeline] sh [2022-05-20T11:47:52.566Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-29/archives/cost.csv [2022-05-20T11:47:52.566Z] + cut -d, -f6 [Pipeline] lock [2022-05-20T11:47:52.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [2022-05-20T11:47:52.612Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] did not exist. Created. [2022-05-20T11:47:52.612Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-20T11:47:53.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-20T11:47:53.058Z] Stashed 1 file(s) [Pipeline] } [2022-05-20T11:47:53.088Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-20T11:47:53.161Z] $ docker stop --time=1 bec96eff175d966f4d1a9175049b6142a9a4ae7ed54b14839bd839d4f557329b [2022-05-20T11:47:54.325Z] $ docker rm -f bec96eff175d966f4d1a9175049b6142a9a4ae7ed54b14839bd839d4f557329b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-20T11:47:57.750Z] using credential edgex-jenkins-ssh [2022-05-20T11:47:57.770Z] Cloning the remote Git repository [2022-05-20T11:47:57.832Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T11:47:57.906Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-05-20T11:47:58.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T11:47:58.044Z] > git --version # timeout=10 [2022-05-20T11:47:58.073Z] > git --version # 'git version 2.25.1' [2022-05-20T11:47:58.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T11:47:59.282Z] Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 2709ea4fa666d1aa9addf8c3a53a1ee4ab4d3837 [2022-05-20T11:47:58.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T11:47:58.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-20T11:47:58.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T11:47:58.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-20T11:47:58.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T11:47:58.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T11:47:58.823Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-20T11:47:59.304Z] > git config core.sparsecheckout # timeout=10 [2022-05-20T11:47:59.321Z] > git checkout -f 2709ea4fa666d1aa9addf8c3a53a1ee4ab4d3837 # timeout=10 [2022-05-20T11:47:59.530Z] Merge succeeded, producing 60c4d8a60ab66f4e6bf0c86dd1bdaa58ca84fce6 [2022-05-20T11:47:59.530Z] Checking out Revision 60c4d8a60ab66f4e6bf0c86dd1bdaa58ca84fce6 (PR-29) [2022-05-20T11:47:59.403Z] > git remote # timeout=10 [2022-05-20T11:47:59.423Z] > git config --get remote.origin.url # timeout=10 [2022-05-20T11:47:59.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T11:47:59.457Z] > git merge a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 [2022-05-20T11:47:59.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-20T11:47:59.540Z] > git config core.sparsecheckout # timeout=10 [2022-05-20T11:47:59.552Z] > git checkout -f 60c4d8a60ab66f4e6bf0c86dd1bdaa58ca84fce6 # timeout=10 [2022-05-20T11:48:03.709Z] Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" [2022-05-20T11:48:03.710Z] First time build. Skipping changelog. [2022-05-20T11:48:03.769Z] > git --version # timeout=10 [2022-05-20T11:48:03.782Z] > git --version # 'git version 2.25.1' [2022-05-20T11:48:03.793Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T11:48:04.914Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-20T11:48:04.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-20T11:48:04.914Z] Dload Upload Total Spent Left Speed [2022-05-20T11:48:04.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 47492 0 --:--:-- --:--:-- --:--:-- 47492 [Pipeline] sh [2022-05-20T11:48:05.446Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-20T11:48:05.875Z] + sudo tee /etc/docker/daemon.new [2022-05-20T11:48:05.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-20T11:48:05.875Z] { [2022-05-20T11:48:05.875Z] "registry-mirrors": [ [2022-05-20T11:48:05.875Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-20T11:48:05.875Z] ], [2022-05-20T11:48:05.875Z] "bip": "10.250.0.254/24", [2022-05-20T11:48:05.875Z] "hosts": [ [2022-05-20T11:48:05.875Z] "tcp://0.0.0.0:5555", [2022-05-20T11:48:05.875Z] "unix:///var/run/docker.sock" [2022-05-20T11:48:05.875Z] ], [2022-05-20T11:48:05.875Z] "mtu": 1458, [2022-05-20T11:48:05.875Z] "selinux-enabled": true, [2022-05-20T11:48:05.875Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-20T11:48:05.875Z] } [Pipeline] sh [2022-05-20T11:48:06.232Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-20T11:48:06.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T11:48:25.001Z] provisioning config files... [2022-05-20T11:48:25.027Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1252573854813903673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:48:25.622Z] ---> docker-login.sh [2022-05-20T11:48:25.622Z] nexus3.edgexfoundry.org:10001 [2022-05-20T11:48:26.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:48:26.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:48:26.494Z] Configure a credential helper to remove this warning. See [2022-05-20T11:48:26.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:48:26.494Z] [2022-05-20T11:48:26.494Z] Login Succeeded [2022-05-20T11:48:26.494Z] nexus3.edgexfoundry.org:10002 [2022-05-20T11:48:26.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:48:27.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:48:27.047Z] Configure a credential helper to remove this warning. See [2022-05-20T11:48:27.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:48:27.047Z] [2022-05-20T11:48:27.047Z] Login Succeeded [2022-05-20T11:48:27.047Z] nexus3.edgexfoundry.org:10003 [2022-05-20T11:48:27.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:48:27.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:48:27.599Z] Configure a credential helper to remove this warning. See [2022-05-20T11:48:27.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:48:27.599Z] [2022-05-20T11:48:27.599Z] Login Succeeded [2022-05-20T11:48:27.599Z] nexus3.edgexfoundry.org:10004 [2022-05-20T11:48:27.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:48:27.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:48:27.873Z] Configure a credential helper to remove this warning. See [2022-05-20T11:48:27.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:48:27.873Z] [2022-05-20T11:48:27.873Z] Login Succeeded [2022-05-20T11:48:27.873Z] docker.io [2022-05-20T11:48:28.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T11:48:28.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T11:48:28.740Z] Configure a credential helper to remove this warning. See [2022-05-20T11:48:28.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T11:48:28.740Z] [2022-05-20T11:48:28.740Z] Login Succeeded [2022-05-20T11:48:28.740Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T11:48:28.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-20T11:48:29.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-20T11:48:29.187Z] ========================================================= [2022-05-20T11:48:29.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-20T11:48:29.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:48:29.634Z] + 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-05-20T11:48:29.909Z] Sending build context to Docker daemon 409.1kB [2022-05-20T11:48:29.909Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T11:48:29.909Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-20T11:48:30.192Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-20T11:48:30.192Z] 9b3977197b4f: Pulling fs layer [2022-05-20T11:48:30.192Z] 1a89e8eeedd5: Pulling fs layer [2022-05-20T11:48:30.192Z] 94645a83ff95: Pulling fs layer [2022-05-20T11:48:30.192Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-20T11:48:30.192Z] 0c92f367c5e7: Pulling fs layer [2022-05-20T11:48:30.192Z] 3096ccb668a1: Pulling fs layer [2022-05-20T11:48:30.192Z] e8cf19c19ddd: Pulling fs layer [2022-05-20T11:48:30.192Z] a4caa8a26152: Pulling fs layer [2022-05-20T11:48:30.192Z] 0c92f367c5e7: Waiting [2022-05-20T11:48:30.192Z] 3096ccb668a1: Waiting [2022-05-20T11:48:30.192Z] e8cf19c19ddd: Waiting [2022-05-20T11:48:30.192Z] a4caa8a26152: Waiting [2022-05-20T11:48:30.192Z] 3f3a8bcf1eab: Waiting [2022-05-20T11:48:30.192Z] 94645a83ff95: Verifying Checksum [2022-05-20T11:48:30.192Z] 94645a83ff95: Download complete [2022-05-20T11:48:30.192Z] 1a89e8eeedd5: Verifying Checksum [2022-05-20T11:48:30.192Z] 1a89e8eeedd5: Download complete [2022-05-20T11:48:30.192Z] 0c92f367c5e7: Verifying Checksum [2022-05-20T11:48:30.192Z] 0c92f367c5e7: Download complete [2022-05-20T11:48:30.192Z] 3096ccb668a1: Verifying Checksum [2022-05-20T11:48:30.192Z] 3096ccb668a1: Download complete [2022-05-20T11:48:30.192Z] 9b3977197b4f: Verifying Checksum [2022-05-20T11:48:30.192Z] 9b3977197b4f: Download complete [2022-05-20T11:48:30.192Z] e8cf19c19ddd: Verifying Checksum [2022-05-20T11:48:30.192Z] e8cf19c19ddd: Download complete [2022-05-20T11:48:30.801Z] 9b3977197b4f: Pull complete [2022-05-20T11:48:31.405Z] 1a89e8eeedd5: Pull complete [2022-05-20T11:48:32.011Z] 94645a83ff95: Pull complete [2022-05-20T11:48:32.288Z] a4caa8a26152: Download complete [2022-05-20T11:48:32.891Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-20T11:48:32.891Z] 3f3a8bcf1eab: Download complete [2022-05-20T11:48:45.304Z] 3f3a8bcf1eab: Pull complete [2022-05-20T11:48:45.304Z] 0c92f367c5e7: Pull complete [2022-05-20T11:48:45.304Z] 3096ccb668a1: Pull complete [2022-05-20T11:48:45.304Z] e8cf19c19ddd: Pull complete [2022-05-20T11:48:52.028Z] a4caa8a26152: Pull complete [2022-05-20T11:48:52.028Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-20T11:48:52.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-20T11:48:52.029Z] ---> 725f1c02e7f9 [2022-05-20T11:48:52.029Z] Step 3/12 : ARG MAKE="make build" [2022-05-20T11:48:53.013Z] ---> Running in 5159bbbd36be [2022-05-20T11:48:53.289Z] Removing intermediate container 5159bbbd36be [2022-05-20T11:48:53.289Z] ---> 1ffef4ba07ae [2022-05-20T11:48:53.289Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T11:48:53.289Z] ---> Running in 338adef4e8b9 [2022-05-20T11:48:53.568Z] Removing intermediate container 338adef4e8b9 [2022-05-20T11:48:53.568Z] ---> 8d78c2e6242c [2022-05-20T11:48:53.568Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T11:48:53.568Z] ---> Running in 2b156c4b7227 [2022-05-20T11:48:53.848Z] Removing intermediate container 2b156c4b7227 [2022-05-20T11:48:53.848Z] ---> f45b8c120ba0 [2022-05-20T11:48:53.848Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T11:48:54.124Z] ---> Running in 3579500bccda [2022-05-20T11:48:56.108Z] Removing intermediate container 3579500bccda [2022-05-20T11:48:56.108Z] ---> ff762123872e [2022-05-20T11:48:56.108Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T11:48:56.108Z] ---> Running in 2fc8d3014579 [2022-05-20T11:48:57.111Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-20T11:48:57.708Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-20T11:48:58.692Z] (1/14) Installing libintl (0.21-r0) [2022-05-20T11:48:58.692Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T11:48:58.692Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T11:48:58.964Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T11:48:58.964Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-05-20T11:48:59.236Z] (6/14) Installing udev-init-scripts (35-r0) [2022-05-20T11:48:59.236Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T11:48:59.236Z] (7/14) Installing libblkid (2.37.4-r0) [2022-05-20T11:48:59.508Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-05-20T11:48:59.508Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-05-20T11:48:59.508Z] (10/14) Installing kmod-libs (29-r2) [2022-05-20T11:48:59.782Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-05-20T11:48:59.782Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-20T11:48:59.782Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-20T11:49:00.057Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-05-20T11:49:00.057Z] Executing busybox-1.34.1-r3.trigger [2022-05-20T11:49:00.057Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T11:49:00.057Z] OK: 227 MiB in 66 packages [2022-05-20T11:49:01.494Z] Removing intermediate container 2fc8d3014579 [2022-05-20T11:49:01.494Z] ---> c46e312bdd5b [2022-05-20T11:49:01.494Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-20T11:49:01.494Z] ---> Running in bc1b4d14f74d [2022-05-20T11:49:01.766Z] Removing intermediate container bc1b4d14f74d [2022-05-20T11:49:01.766Z] ---> 338b1972ecad [2022-05-20T11:49:01.766Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-20T11:49:02.360Z] ---> 71df12118f7d [2022-05-20T11:49:02.360Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T11:49:02.360Z] ---> Running in 4b7e053fda1c [2022-05-20T11:49:49.364Z] Removing intermediate container 4b7e053fda1c [2022-05-20T11:49:49.364Z] ---> 00c3f8284bfe [2022-05-20T11:49:49.364Z] Step 11/12 : COPY . . [2022-05-20T11:49:49.364Z] ---> 7cae9cf6af60 [2022-05-20T11:49:49.364Z] Step 12/12 : RUN ${MAKE} [2022-05-20T11:49:49.364Z] ---> Running in 5d65c10a626e [2022-05-20T11:49:49.364Z] noop [2022-05-20T11:49:49.364Z] Removing intermediate container 5d65c10a626e [2022-05-20T11:49:49.364Z] ---> 624b5af50e45 [2022-05-20T11:49:49.364Z] Successfully built 624b5af50e45 [2022-05-20T11:49:49.364Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:49:49.732Z] + docker inspect -f . ci-base-image-arm64 [2022-05-20T11:49:49.732Z] . [Pipeline] withDockerContainer [2022-05-20T11:49:49.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-64186 does not seem to be running inside a container [2022-05-20T11:49:50.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-05-20T11:49:51.354Z] $ docker top 3a40cf96da349754fa30547fc1085dbfa11dd236766410512329ead94a3aaecd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T11:49:52.321Z] + go version [2022-05-20T11:49:52.321Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-20T11:49:52.368Z] $ docker stop --time=1 3a40cf96da349754fa30547fc1085dbfa11dd236766410512329ead94a3aaecd [2022-05-20T11:49:54.019Z] $ docker rm -f 3a40cf96da349754fa30547fc1085dbfa11dd236766410512329ead94a3aaecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:49:54.846Z] + docker inspect -f . ci-base-image-arm64 [2022-05-20T11:49:54.847Z] . [Pipeline] withDockerContainer [2022-05-20T11:49:55.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-64186 does not seem to be running inside a container [2022-05-20T11:49:55.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-05-20T11:49:56.432Z] $ docker top 3b27830da68a76831eb204a292b4e0fdde3e752143b938ea3829db67bf28ba11 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-20T11:49:57.403Z] + make test [2022-05-20T11:49:57.403Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-20T11:49:58.844Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-20T11:51:20.688Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-20T11:51:20.688Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-20T11:51:20.688Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-20T11:51:20.688Z] CGO_ENABLED=1 go vet ./... [2022-05-20T11:51:42.944Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-20T11:51:42.944Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-20T11:51:42.944Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-20T11:51:43.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-20T11:51:43.617Z] $ docker stop --time=1 3b27830da68a76831eb204a292b4e0fdde3e752143b938ea3829db67bf28ba11 [2022-05-20T11:51:45.357Z] $ docker rm -f 3b27830da68a76831eb204a292b4e0fdde3e752143b938ea3829db67bf28ba11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T11:51:46.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-20T11:51:46.392Z] Warning: overwriting stash ‘coverage-report’ [2022-05-20T11:51:46.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T11:51:47.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-20T11:51:47.761Z] + ls -al . [2022-05-20T11:51:47.761Z] total 160 [2022-05-20T11:51:47.761Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 11:51 . [2022-05-20T11:51:47.761Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 11:47 .. [2022-05-20T11:51:47.761Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 11:48 .git [2022-05-20T11:51:47.761Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:47 .github [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 349 May 20 11:47 .gitignore [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 42 May 20 11:47 .golangci.yml [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 11:47 .hadolint.yml [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 20 11:47 Attribution.txt [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 181 May 20 11:47 CHANGELOG.md [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 20 11:47 Dockerfile [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 11:47 GOVERNANCE.md [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 11:47 Jenkinsfile [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 11:47 LICENSE [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 1641 May 20 11:47 Makefile [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 11:47 OWNERS.md [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 8960 May 20 11:47 README.md [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 11:45 VERSION [2022-05-20T11:51:47.761Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:47 bin [2022-05-20T11:51:47.761Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 11:47 cmd [2022-05-20T11:51:47.761Z] -rw-r--r-- 1 jenkins jenkins 10 May 20 11:49 coverage.out [2022-05-20T11:51:47.761Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 11:47 docker-compose [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 11:47 docker-entrypoint.sh [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 20 11:47 go.mod [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 20 11:47 go.sum [2022-05-20T11:51:47.761Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 11:47 internal [2022-05-20T11:51:47.761Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 11:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:51:48.131Z] + 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=60c4d8a60ab66f4e6bf0c86dd1bdaa58ca84fce6 --label arch=arm64 --label version=0.0.0 . [2022-05-20T11:51:48.405Z] Sending build context to Docker daemon 410.1kB [2022-05-20T11:51:48.405Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T11:51:48.405Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-20T11:51:48.405Z] ---> 624b5af50e45 [2022-05-20T11:51:48.405Z] Step 3/29 : ARG MAKE="make build" [2022-05-20T11:51:48.685Z] ---> Running in e0e433eab1d9 [2022-05-20T11:51:48.974Z] Removing intermediate container e0e433eab1d9 [2022-05-20T11:51:48.974Z] ---> 3fa59b29b723 [2022-05-20T11:51:48.974Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T11:51:48.974Z] ---> Running in e23a4b7d8251 [2022-05-20T11:51:49.251Z] Removing intermediate container e23a4b7d8251 [2022-05-20T11:51:49.251Z] ---> b3a7c6996e22 [2022-05-20T11:51:49.251Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T11:51:49.251Z] ---> Running in ff9e0a68dedc [2022-05-20T11:51:49.528Z] Removing intermediate container ff9e0a68dedc [2022-05-20T11:51:49.528Z] ---> 8f16ff2a5fef [2022-05-20T11:51:49.528Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T11:51:49.800Z] ---> Running in 2b3f0c29aa23 [2022-05-20T11:51:51.242Z] Removing intermediate container 2b3f0c29aa23 [2022-05-20T11:51:51.242Z] ---> 3c6561fd4b07 [2022-05-20T11:51:51.242Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T11:51:51.519Z] ---> Running in f2db629fa87b [2022-05-20T11:51:52.508Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-20T11:51:53.484Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-20T11:51:54.080Z] OK: 227 MiB in 66 packages [2022-05-20T11:51:55.054Z] Removing intermediate container f2db629fa87b [2022-05-20T11:51:55.054Z] ---> e40f25b56281 [2022-05-20T11:51:55.054Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-20T11:51:55.054Z] ---> Running in 91dd216cb153 [2022-05-20T11:51:55.331Z] Removing intermediate container 91dd216cb153 [2022-05-20T11:51:55.331Z] ---> 11156fed1bee [2022-05-20T11:51:55.331Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-20T11:51:55.929Z] ---> 6a5e0108a3cd [2022-05-20T11:51:55.929Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T11:51:55.929Z] ---> Running in bc37465db8a6 [2022-05-20T11:51:57.911Z] Removing intermediate container bc37465db8a6 [2022-05-20T11:51:57.911Z] ---> 7043292f4243 [2022-05-20T11:51:57.911Z] Step 11/29 : COPY . . [2022-05-20T11:51:58.887Z] ---> 62dfc6af1902 [2022-05-20T11:51:58.887Z] Step 12/29 : RUN ${MAKE} [2022-05-20T11:51:58.887Z] ---> Running in aa38da43b91b [2022-05-20T11:51:59.863Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd [2022-05-20T11:53:21.704Z] Removing intermediate container aa38da43b91b [2022-05-20T11:53:21.704Z] ---> bff735829c31 [2022-05-20T11:53:21.704Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-20T11:53:21.704Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-20T11:53:21.704Z] eab2503cf8f4: Pulling fs layer [2022-05-20T11:53:21.704Z] 97cd0a44c592: Pulling fs layer [2022-05-20T11:53:21.704Z] 97cd0a44c592: Download complete [2022-05-20T11:53:21.704Z] eab2503cf8f4: Verifying Checksum [2022-05-20T11:53:21.704Z] eab2503cf8f4: Download complete [2022-05-20T11:53:21.704Z] eab2503cf8f4: Pull complete [2022-05-20T11:53:21.704Z] 97cd0a44c592: Pull complete [2022-05-20T11:53:21.704Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-20T11:53:21.704Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-20T11:53:21.704Z] ---> 7f763cca56b3 [2022-05-20T11:53:21.704Z] Step 14/29 : FROM alpine:3.15 [2022-05-20T11:53:21.704Z] 3.15: Pulling from library/alpine [2022-05-20T11:53:21.704Z] 9981e73032c8: Pulling fs layer [2022-05-20T11:53:21.704Z] 9981e73032c8: Verifying Checksum [2022-05-20T11:53:21.704Z] 9981e73032c8: Download complete [2022-05-20T11:53:21.704Z] 9981e73032c8: Pull complete [2022-05-20T11:53:21.704Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-20T11:53:21.704Z] Status: Downloaded newer image for alpine:3.15 [2022-05-20T11:53:21.704Z] ---> 3fb3c9af89a9 [2022-05-20T11:53:21.704Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-20T11:53:21.704Z] ---> Running in 9f34da03a71d [2022-05-20T11:53:21.704Z] Removing intermediate container 9f34da03a71d [2022-05-20T11:53:21.704Z] ---> 4a81e2257131 [2022-05-20T11:53:21.704Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-20T11:53:21.704Z] ---> Running in c4a4d120c88a [2022-05-20T11:53:21.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-20T11:53:21.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-20T11:53:21.704Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-05-20T11:53:21.704Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-05-20T11:53:21.704Z] (3/73) Installing libxau (1.0.9-r0) [2022-05-20T11:53:21.704Z] (4/73) Installing libmd (1.0.3-r0) [2022-05-20T11:53:21.704Z] (5/73) Installing libbsd (0.11.3-r1) [2022-05-20T11:53:21.704Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-05-20T11:53:21.704Z] (7/73) Installing libxcb (1.14-r2) [2022-05-20T11:53:21.704Z] (8/73) Installing libx11 (1.7.2-r0) [2022-05-20T11:53:21.704Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-05-20T11:53:21.704Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-05-20T11:53:21.704Z] (11/73) Installing expat (2.4.7-r0) [2022-05-20T11:53:21.704Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-05-20T11:53:21.704Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-05-20T11:53:21.704Z] (14/73) Installing libpng (1.6.37-r1) [2022-05-20T11:53:21.704Z] (15/73) Installing freetype (2.11.1-r2) [2022-05-20T11:53:21.704Z] (16/73) Installing libuuid (2.37.4-r0) [2022-05-20T11:53:21.704Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-05-20T11:53:21.704Z] (18/73) Installing fribidi (1.0.11-r0) [2022-05-20T11:53:21.704Z] (19/73) Installing libffi (3.4.2-r1) [2022-05-20T11:53:21.704Z] (20/73) Installing libintl (0.21-r0) [2022-05-20T11:53:21.704Z] (21/73) Installing libblkid (2.37.4-r0) [2022-05-20T11:53:21.704Z] (22/73) Installing libmount (2.37.4-r0) [2022-05-20T11:53:21.704Z] (23/73) Installing pcre (8.45-r1) [2022-05-20T11:53:21.704Z] (24/73) Installing glib (2.70.1-r0) [2022-05-20T11:53:21.704Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-05-20T11:53:21.704Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-05-20T11:53:21.704Z] (27/73) Installing libass (0.15.2-r0) [2022-05-20T11:53:21.704Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-05-20T11:53:21.704Z] (29/73) Installing gmp (6.2.1-r1) [2022-05-20T11:53:21.704Z] (30/73) Installing nettle (3.7.3-r0) [2022-05-20T11:53:21.704Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-05-20T11:53:21.704Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-05-20T11:53:21.704Z] (33/73) Installing libunistring (0.9.10-r1) [2022-05-20T11:53:21.704Z] (34/73) Installing gnutls (3.7.1-r0) [2022-05-20T11:53:21.704Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-20T11:53:21.704Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-20T11:53:21.704Z] (37/73) Installing lame (3.100-r0) [2022-05-20T11:53:21.704Z] (38/73) Installing opus (1.3.1-r1) [2022-05-20T11:53:21.704Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-05-20T11:53:21.704Z] (40/73) Installing soxr (0.1.3-r2) [2022-05-20T11:53:21.704Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-05-20T11:53:21.704Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-20T11:53:21.704Z] (43/73) Installing libsrt (1.4.2-r1) [2022-05-20T11:53:21.704Z] (44/73) Installing libssh (0.9.6-r1) [2022-05-20T11:53:21.704Z] (45/73) Installing libogg (1.3.5-r0) [2022-05-20T11:53:21.704Z] (46/73) Installing libtheora (1.1.1-r16) [2022-05-20T11:53:21.704Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T11:53:21.704Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T11:53:21.704Z] (49/73) Installing libxext (1.3.4-r0) [2022-05-20T11:53:21.704Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-05-20T11:53:21.704Z] (51/73) Installing libdrm (2.4.109-r0) [2022-05-20T11:53:21.704Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-05-20T11:53:21.704Z] (53/73) Installing libva (2.13.0-r0) [2022-05-20T11:53:21.704Z] (54/73) Installing libvdpau (1.4-r0) [2022-05-20T11:53:21.704Z] (55/73) Installing vidstab (1.1.0-r1) [2022-05-20T11:53:21.704Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-05-20T11:53:21.704Z] (57/73) Installing libvpx (1.10.0-r0) [2022-05-20T11:53:21.704Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-05-20T11:53:21.704Z] (59/73) Installing libwebp (1.2.2-r0) [2022-05-20T11:53:21.704Z] (60/73) Installing x264-libs (20210613-r0) [2022-05-20T11:53:21.704Z] (61/73) Installing x265-libs (3.5-r0) [2022-05-20T11:53:21.704Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-05-20T11:53:21.704Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-05-20T11:53:21.704Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-05-20T11:53:21.704Z] (65/73) Installing udev-init-scripts (35-r0) [2022-05-20T11:53:21.704Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T11:53:21.704Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T11:53:21.704Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-05-20T11:53:21.704Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-05-20T11:53:21.704Z] (69/73) Installing kmod-libs (29-r2) [2022-05-20T11:53:21.704Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-05-20T11:53:21.704Z] (71/73) Installing libsodium (1.0.18-r0) [2022-05-20T11:53:21.704Z] (72/73) Installing libzmq (4.3.4-r0) [2022-05-20T11:53:21.704Z] (73/73) Installing zeromq (4.3.4-r0) [2022-05-20T11:53:21.704Z] Executing busybox-1.34.1-r5.trigger [2022-05-20T11:53:21.704Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T11:53:21.704Z] OK: 67 MiB in 87 packages [2022-05-20T11:53:24.331Z] Removing intermediate container c4a4d120c88a [2022-05-20T11:53:24.332Z] ---> 6a8334b2781d [2022-05-20T11:53:24.332Z] Step 17/29 : WORKDIR / [2022-05-20T11:53:24.332Z] ---> Running in fd749666b504 [2022-05-20T11:53:24.332Z] Removing intermediate container fd749666b504 [2022-05-20T11:53:24.332Z] ---> 56febed5e501 [2022-05-20T11:53:24.332Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-20T11:53:25.776Z] ---> 4ad632a44ddf [2022-05-20T11:53:25.776Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-20T11:53:26.377Z] ---> f74dd5f454d7 [2022-05-20T11:53:26.377Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-20T11:53:26.975Z] ---> 46d2462541ee [2022-05-20T11:53:26.975Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-20T11:53:27.578Z] ---> 08b159865c64 [2022-05-20T11:53:27.578Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-20T11:53:28.176Z] ---> 49c3eab2d5b5 [2022-05-20T11:53:28.176Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-20T11:53:29.164Z] ---> f73a3c93c3da [2022-05-20T11:53:29.164Z] Step 24/29 : EXPOSE 59983 [2022-05-20T11:53:29.164Z] ---> Running in d746efbe5c23 [2022-05-20T11:53:29.771Z] Removing intermediate container d746efbe5c23 [2022-05-20T11:53:29.771Z] ---> 8a799666bea4 [2022-05-20T11:53:29.771Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-20T11:53:29.771Z] ---> Running in 30bf3bc57863 [2022-05-20T11:53:30.047Z] Removing intermediate container 30bf3bc57863 [2022-05-20T11:53:30.047Z] ---> 6720a5b83858 [2022-05-20T11:53:30.047Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-20T11:53:30.047Z] ---> Running in c4fbc07b7ed1 [2022-05-20T11:53:30.323Z] Removing intermediate container c4fbc07b7ed1 [2022-05-20T11:53:30.323Z] ---> 20f3306bf741 [2022-05-20T11:53:30.323Z] Step 27/29 : LABEL arch=arm64 [2022-05-20T11:53:30.599Z] ---> Running in 84a40654caf5 [2022-05-20T11:53:30.877Z] Removing intermediate container 84a40654caf5 [2022-05-20T11:53:30.877Z] ---> c0fb5b6f9530 [2022-05-20T11:53:30.877Z] Step 28/29 : LABEL git_sha=60c4d8a60ab66f4e6bf0c86dd1bdaa58ca84fce6 [2022-05-20T11:53:30.877Z] ---> Running in 66c66599ac8c [2022-05-20T11:53:31.152Z] Removing intermediate container 66c66599ac8c [2022-05-20T11:53:31.152Z] ---> 7d27d2332bf2 [2022-05-20T11:53:31.152Z] Step 29/29 : LABEL version=0.0.0 [2022-05-20T11:53:31.152Z] ---> Running in 1067385fc8d1 [2022-05-20T11:53:31.427Z] Removing intermediate container 1067385fc8d1 [2022-05-20T11:53:31.427Z] ---> edc4d60715eb [2022-05-20T11:53:31.427Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-20T11:53:31.427Z] Successfully built edc4d60715eb [2022-05-20T11:53:31.427Z] Successfully tagged device-usb-camera-arm64:latest [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] sh [2022-05-20T11:53:32.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T11:53:32.162Z] [2022-05-20T11:53:32.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:53:32.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T11:53:32.549Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-20T11:53:32.549Z] 8998bd30e6a1: Pulling fs layer [2022-05-20T11:53:32.549Z] 04944245beec: Pulling fs layer [2022-05-20T11:53:32.549Z] 699f458cf7ca: Pulling fs layer [2022-05-20T11:53:32.549Z] 765212b225bb: Pulling fs layer [2022-05-20T11:53:32.549Z] f23df028b6ca: Pulling fs layer [2022-05-20T11:53:32.549Z] d65c8cfc05b1: Pulling fs layer [2022-05-20T11:53:32.549Z] 2437ff75d9bd: Pulling fs layer [2022-05-20T11:53:32.549Z] f23df028b6ca: Waiting [2022-05-20T11:53:32.549Z] d65c8cfc05b1: Waiting [2022-05-20T11:53:32.549Z] 2437ff75d9bd: Waiting [2022-05-20T11:53:32.549Z] 765212b225bb: Waiting [2022-05-20T11:53:32.824Z] 04944245beec: Verifying Checksum [2022-05-20T11:53:32.824Z] 04944245beec: Download complete [2022-05-20T11:53:32.824Z] 765212b225bb: Verifying Checksum [2022-05-20T11:53:32.824Z] 765212b225bb: Download complete [2022-05-20T11:53:32.824Z] f23df028b6ca: Verifying Checksum [2022-05-20T11:53:32.824Z] f23df028b6ca: Download complete [2022-05-20T11:53:32.824Z] d65c8cfc05b1: Verifying Checksum [2022-05-20T11:53:32.824Z] d65c8cfc05b1: Download complete [2022-05-20T11:53:32.824Z] 699f458cf7ca: Verifying Checksum [2022-05-20T11:53:32.824Z] 699f458cf7ca: Download complete [2022-05-20T11:53:33.424Z] 8998bd30e6a1: Download complete [2022-05-20T11:53:35.410Z] 2437ff75d9bd: Verifying Checksum [2022-05-20T11:53:35.410Z] 2437ff75d9bd: Download complete [2022-05-20T11:53:37.408Z] 8998bd30e6a1: Pull complete [2022-05-20T11:53:38.007Z] 04944245beec: Pull complete [2022-05-20T11:53:39.447Z] 699f458cf7ca: Pull complete [2022-05-20T11:53:39.447Z] 765212b225bb: Pull complete [2022-05-20T11:53:40.433Z] f23df028b6ca: Pull complete [2022-05-20T11:53:40.709Z] d65c8cfc05b1: Pull complete [2022-05-20T11:53:55.812Z] 2437ff75d9bd: Pull complete [2022-05-20T11:53:55.812Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-20T11:53:55.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T11:53:55.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-20T11:53:56.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-64186 does not seem to be running inside a container [2022-05-20T11:53:56.196Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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-lftools-log-publisher:arm64 cat [2022-05-20T11:53:58.717Z] $ docker top 4ddf49c4a3b77c06c22a64b6ff18b2fa429c3a122987248855f387608c5ec3c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:53:59.681Z] ---> job-cost.sh [2022-05-20T11:53:59.681Z] lf-activate-venv: SKIPPING [2022-05-20T11:53:59.681Z] INFO: No Stack... [2022-05-20T11:53:59.955Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-20T11:54:00.937Z] INFO: Archiving Costs [Pipeline] sh [2022-05-20T11:54:01.628Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-05-20T11:54:01.628Z] + cut -d, -f6 [Pipeline] lock [2022-05-20T11:54:01.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [2022-05-20T11:54:01.719Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] did not exist. Created. [2022-05-20T11:54:01.720Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-20T11:54:02.478Z] /w/workspace/device-usb-camera/1@tmp/durable-3a5caddd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-20T11:54:03.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-20T11:54:03.210Z] Warning: overwriting stash ‘stack-cost’ [2022-05-20T11:54:03.253Z] Stashed 1 file(s) [Pipeline] } [2022-05-20T11:54:03.266Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-20T11:54:03.351Z] $ docker stop --time=1 4ddf49c4a3b77c06c22a64b6ff18b2fa429c3a122987248855f387608c5ec3c2 [2022-05-20T11:54:04.855Z] $ docker rm -f 4ddf49c4a3b77c06c22a64b6ff18b2fa429c3a122987248855f387608c5ec3c2 [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-05-20T11:54:05.901Z] provisioning config files... [2022-05-20T11:54:05.912Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/config4623639930281923624tmp [Pipeline] { [Pipeline] sh [2022-05-20T11:54:06.244Z] + set +x [2022-05-20T11:54:06.244Z] + curl -s https://codecov.io/bash [2022-05-20T11:54:06.244Z] + bash -s -- [2022-05-20T11:54:06.244Z] [2022-05-20T11:54:06.244Z] _____ _ [2022-05-20T11:54:06.244Z] / ____| | | [2022-05-20T11:54:06.244Z] | | ___ __| | ___ ___ _____ __ [2022-05-20T11:54:06.244Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-20T11:54:06.244Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-20T11:54:06.244Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-20T11:54:06.244Z] Bash-1.0.6 [2022-05-20T11:54:06.244Z] [2022-05-20T11:54:06.244Z] [2022-05-20T11:54:06.244Z] ==> git version 2.25.1 found [2022-05-20T11:54:06.244Z] ==> 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-05-20T11:54:06.244Z] Release-Date: 2020-01-08 [2022-05-20T11:54:06.244Z] 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-05-20T11:54:06.244Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-20T11:54:06.244Z] ==> Jenkins CI detected. [2022-05-20T11:54:06.244Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-29 [2022-05-20T11:54:06.244Z] project root: . [2022-05-20T11:54:06.244Z] --> token set from env [2022-05-20T11:54:06.244Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-20T11:54:06.244Z] ==> Running gcov in . (disable via -X gcov) [2022-05-20T11:54:06.244Z] ==> Python coveragepy not found [2022-05-20T11:54:06.244Z] ==> Searching for coverage reports in: [2022-05-20T11:54:06.244Z] + . [2022-05-20T11:54:06.244Z] -> Found 1 reports [2022-05-20T11:54:06.244Z] ==> Detecting git/mercurial file structure [2022-05-20T11:54:06.244Z] ==> Reading reports [2022-05-20T11:54:06.244Z] + ./coverage.out bytes=10 [2022-05-20T11:54:06.244Z] ==> Appending adjustments [2022-05-20T11:54:06.244Z] https://docs.codecov.io/docs/fixing-reports [2022-05-20T11:54:06.506Z] + Found adjustments [2022-05-20T11:54:06.506Z] ==> Gzipping contents [2022-05-20T11:54:06.506Z] 4.0K /tmp/codecov.ZzpamK.gz [2022-05-20T11:54:06.506Z] ==> Uploading reports [2022-05-20T11:54:06.506Z] url: https://codecov.io [2022-05-20T11:54:06.506Z] query: branch=PR-29&commit=beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=29&job=&cmd_args= [2022-05-20T11:54:06.506Z] -> Pinging Codecov [2022-05-20T11:54:06.506Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-29&commit=beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=29&job=&cmd_args= [2022-05-20T11:54:06.768Z] -> Uploading to [2022-05-20T11:54:06.768Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-20/73D8F5FF140700D3E01443B452E23636/beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5/49491450-29a1-4180-992d-26d71dd2b032.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T115406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cb574c7d2989a4e6f7e93a68c8d814954aa6075b7f5ba65c7a396511229332a [2022-05-20T11:54:06.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-20T11:54:06.768Z] Dload Upload Total Spent Left Speed [2022-05-20T11:54:07.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1007 0 0 100 1007 0 3757 --:--:-- --:--:-- --:--:-- 3757 [2022-05-20T11:54:07.028Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/beec03bbfc53c9bf3a1e087609bb4b2ab4311ac5 [Pipeline] } [2022-05-20T11:54:07.057Z] 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-05-20T11:54:08.752Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-29/archives ] [2022-05-20T11:54:08.752Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-29/archives [2022-05-20T11:54:08.752Z] total 16 [2022-05-20T11:54:08.752Z] drwxr-xr-x 3 root root 4096 May 20 11:47 . [2022-05-20T11:54:08.752Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 11:47 .. [2022-05-20T11:54:08.752Z] drwxr-xr-x 2 root root 4096 May 20 11:47 cost [2022-05-20T11:54:08.752Z] -rw-r--r-- 1 root root 87 May 20 11:47 cost.csv [2022-05-20T11:54:08.752Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-29/archives [2022-05-20T11:54:08.752Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-29/archives [2022-05-20T11:54:08.752Z] total 16 [2022-05-20T11:54:08.752Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 11:47 . [2022-05-20T11:54:08.752Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 11:47 .. [2022-05-20T11:54:08.752Z] drwxr-xr-x 2 jenkins jenkins 4096 May 20 11:47 cost [2022-05-20T11:54:08.752Z] -rw-r--r-- 1 jenkins jenkins 87 May 20 11:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:09.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:09.993Z] ---> package-listing.sh [2022-05-20T11:54:09.993Z] ++ facter osfamily [2022-05-20T11:54:09.993Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-20T11:54:10.256Z] + OS_FAMILY=debian [2022-05-20T11:54:10.256Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-29 [2022-05-20T11:54:10.256Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-20T11:54:10.256Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-20T11:54:10.256Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-20T11:54:10.256Z] + PACKAGES=/tmp/packages_start.txt [2022-05-20T11:54:10.256Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-29 ']' [2022-05-20T11:54:10.256Z] + PACKAGES=/tmp/packages_end.txt [2022-05-20T11:54:10.256Z] + case "${OS_FAMILY}" in [2022-05-20T11:54:10.256Z] + dpkg -l [2022-05-20T11:54:10.256Z] + grep '^ii' [2022-05-20T11:54:10.256Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-20T11:54:10.256Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-20T11:54:10.256Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-20T11:54:10.256Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-29 ']' [2022-05-20T11:54:10.256Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-29/archives/ [2022-05-20T11:54:10.256Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-29/archives/ [Pipeline] echo [2022-05-20T11:54:10.293Z] 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-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-20T11:54:10.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-20T11:54:11.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T11:54:11.184Z] . [Pipeline] withDockerContainer [2022-05-20T11:54:11.273Z] prd-ubuntu20.04-docker-8c-8g-64185 does not seem to be running inside a container [2022-05-20T11:54:11.314Z] $ 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-29/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-29 -v /w/workspace/xfoundry_device-usb-camera_PR-29:/w/workspace/xfoundry_device-usb-camera_PR-29:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-29@tmp:/w/workspace/xfoundry_device-usb-camera_PR-29@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-20T11:54:11.592Z] $ docker top d35bd680f1580b03719b6e8f958df2e1bae283615599c888dd43f48b1379fa29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T11:54:12.009Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-20T11:54:12.323Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-20T11:54:12.653Z] + ls /var/log/sa-host [2022-05-20T11:54:12.653Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T11:54:12.933Z] provisioning config files... [2022-05-20T11:54:12.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-29@tmp/config2087486406005728697tmp [Pipeline] { [Pipeline] echo [2022-05-20T11:54:12.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:13.306Z] ---> create-netrc.sh [Pipeline] } [2022-05-20T11:54:13.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:13.743Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-20T11:54:13.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:14.087Z] ---> sudo-logs.sh [2022-05-20T11:54:14.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-20T11:54:14.167Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:14.490Z] ---> job-cost.sh [2022-05-20T11:54:14.490Z] lf-activate-venv: SKIPPING [2022-05-20T11:54:14.490Z] DEBUG: total: 0.2199999988079071 [2022-05-20T11:54:14.490Z] INFO: Retrieving Stack Cost... [2022-05-20T11:54:14.751Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T11:54:15.324Z] INFO: Archiving Costs [Pipeline] echo [2022-05-20T11:54:15.359Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T11:54:15.676Z] ---> logs-deploy.sh [2022-05-20T11:54:15.676Z] lf-activate-venv: SKIPPING [2022-05-20T11:54:15.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-29/1 [2022-05-20T11:54:15.676Z] INFO: archiving workspace using pattern(s): [2022-05-20T11:54:16.616Z] Archives upload complete. [2022-05-20T11:54:16.616Z] INFO: archiving logs to Nexus