Pull request #36 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 8335b304f069749f7ac9f3572061b8c8386e1043+aaa7e572fda13da2933300a631edf8df830ba1ce (bf0cfe9d255014b1c274412055cbfbd070d7d6d6) 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-ssh12029734585627405453.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-ssh10333228235908235889.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-36/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-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12872576978771446682.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-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8377812030319135087.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-ssh12361502030015654100.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-36/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-36/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14105851041861627370.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-64471 in /w/workspace/xfoundry_device-usb-camera_PR-36 [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-36 # 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 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit 8335b304f069749f7ac9f3572061b8c8386e1043 Merge succeeded, producing 8335b304f069749f7ac9f3572061b8c8386e1043 Checking out Revision 8335b304f069749f7ac9f3572061b8c8386e1043 (PR-36) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # 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 aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 Commit message: "fix: Update Makefile to show the version number" 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-24T10:20:26.445Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-24T10:20:26.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-24T10:20:26.713Z] ========================================================= [2022-05-24T10:20:26.713Z] EdgeX Global Pipelines Version Info [2022-05-24T10:20:26.713Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:20:27.516Z] ------------------- [2022-05-24T10:20:27.516Z] stable info: [2022-05-24T10:20:27.516Z] ------------------- [2022-05-24T10:20:27.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T10:20:27.516Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T10:20:27.516Z] Message: update stable to v1.0.230 [2022-05-24T10:20:28.095Z] ------------------- [2022-05-24T10:20:28.095Z] experimental info: [2022-05-24T10:20:28.095Z] ------------------- [2022-05-24T10:20:28.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T10:20:28.095Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T10:20:28.095Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-24T10:20:28.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-24T10:20:28.433Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-24T10:20:28.477Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-24T10:20:28.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-24T10:20:28.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-24T10:20:28.607Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-24T10:20:28.645Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-24T10:20:28.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-24T10:20:28.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-24T10:20:28.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-24T10:20:28.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-24T10:20:28.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-24T10:20:28.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-24T10:20:28.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-24T10:20:28.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T10:20:28.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T10:20:29.033Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T10:20:29.072Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T10:20:29.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-24T10:20:29.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-24T10:20:29.185Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-24T10:20:29.222Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-24T10:20:29.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-24T10:20:29.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-24T10:20:29.340Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-24T10:20:29.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-24T10:20:29.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo [2022-05-24T10:20:29.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo [2022-05-24T10:20:29.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo [2022-05-24T10:20:29.615Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo [2022-05-24T10:20:29.652Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8335b30 [Pipeline] echo [2022-05-24T10:20:29.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:20:29.798Z] provisioning config files... [2022-05-24T10:20:29.812Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config6539518029634438699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:20:30.199Z] ---> docker-login.sh [2022-05-24T10:20:30.199Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:20:31.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:31.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:31.146Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:31.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:31.146Z] [2022-05-24T10:20:31.146Z] Login Succeeded [2022-05-24T10:20:31.146Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:20:31.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:31.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:31.146Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:31.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:31.146Z] [2022-05-24T10:20:31.146Z] Login Succeeded [2022-05-24T10:20:31.146Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:20:31.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:31.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:31.410Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:31.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:31.410Z] [2022-05-24T10:20:31.410Z] Login Succeeded [2022-05-24T10:20:31.410Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:20:31.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:31.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:31.679Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:31.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:31.679Z] [2022-05-24T10:20:31.679Z] Login Succeeded [2022-05-24T10:20:31.679Z] docker.io [2022-05-24T10:20:31.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:31.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:31.943Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:31.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:31.943Z] [2022-05-24T10:20:31.943Z] Login Succeeded [2022-05-24T10:20:31.943Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:20:31.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-24T10:20:32.618Z] + git rev-list -1 --merges 8335b304f069749f7ac9f3572061b8c8386e1043~1..8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo [2022-05-24T10:20:32.668Z] -----------> git rev-list -1 --merges 8335b304f069749f7ac9f3572061b8c8386e1043~1..8335b304f069749f7ac9f3572061b8c8386e1043 8335b304f069749f7ac9f3572061b8c8386e1043 [false] [Pipeline] sh [2022-05-24T10:20:32.988Z] + git log --format=format:%s -1 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo [2022-05-24T10:20:33.023Z] ========================================================= [2022-05-24T10:20:33.023Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-24T10:20:33.023Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T10:20:33.469Z] + git log --format=format:%s -1 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo [2022-05-24T10:20:33.500Z] [semverPrep] GIT_COMMIT: 8335b304f069749f7ac9f3572061b8c8386e1043, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo [2022-05-24T10:20:33.530Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-24T10:20:33.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T10:20:33.995Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-24T10:20:33.995Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-24T10:20:33.995Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-24T10:20:33.995Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-24T10:20:33.995Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-24T10:20:33.995Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:20:34.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:20:34.471Z] [2022-05-24T10:20:34.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:20:34.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:20:35.088Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-24T10:20:35.088Z] 1fe172e4850f: Pulling fs layer [2022-05-24T10:20:35.088Z] caf521ccaac6: Pulling fs layer [2022-05-24T10:20:35.088Z] 3ead6fa29328: Pulling fs layer [2022-05-24T10:20:35.088Z] 5c2a1cbceb83: Pulling fs layer [2022-05-24T10:20:35.088Z] a8d5f1318db7: Pulling fs layer [2022-05-24T10:20:35.088Z] c427282e49a2: Pulling fs layer [2022-05-24T10:20:35.088Z] a8d5f1318db7: Waiting [2022-05-24T10:20:35.088Z] 5c2a1cbceb83: Waiting [2022-05-24T10:20:35.088Z] 1827001aaf11: Pulling fs layer [2022-05-24T10:20:35.088Z] 0714d37db230: Pulling fs layer [2022-05-24T10:20:35.088Z] c427282e49a2: Waiting [2022-05-24T10:20:35.088Z] 1827001aaf11: Waiting [2022-05-24T10:20:35.088Z] 0714d37db230: Waiting [2022-05-24T10:20:35.088Z] ac28cf19c067: Pulling fs layer [2022-05-24T10:20:35.088Z] ca983d60f3e2: Pulling fs layer [2022-05-24T10:20:35.088Z] ac28cf19c067: Waiting [2022-05-24T10:20:35.088Z] 9f894cec8388: Pulling fs layer [2022-05-24T10:20:35.088Z] ca983d60f3e2: Waiting [2022-05-24T10:20:35.088Z] 9f894cec8388: Waiting [2022-05-24T10:20:35.088Z] caf521ccaac6: Verifying Checksum [2022-05-24T10:20:35.088Z] caf521ccaac6: Download complete [2022-05-24T10:20:35.088Z] 5c2a1cbceb83: Verifying Checksum [2022-05-24T10:20:35.088Z] 5c2a1cbceb83: Download complete [2022-05-24T10:20:35.349Z] 3ead6fa29328: Verifying Checksum [2022-05-24T10:20:35.349Z] 3ead6fa29328: Download complete [2022-05-24T10:20:35.349Z] a8d5f1318db7: Verifying Checksum [2022-05-24T10:20:35.349Z] a8d5f1318db7: Download complete [2022-05-24T10:20:35.349Z] c427282e49a2: Verifying Checksum [2022-05-24T10:20:35.349Z] c427282e49a2: Download complete [2022-05-24T10:20:35.349Z] 0714d37db230: Download complete [2022-05-24T10:20:35.349Z] ac28cf19c067: Verifying Checksum [2022-05-24T10:20:35.349Z] ac28cf19c067: Download complete [2022-05-24T10:20:35.349Z] ca983d60f3e2: Verifying Checksum [2022-05-24T10:20:35.349Z] ca983d60f3e2: Download complete [2022-05-24T10:20:35.349Z] 9f894cec8388: Verifying Checksum [2022-05-24T10:20:35.349Z] 9f894cec8388: Download complete [2022-05-24T10:20:35.349Z] 1fe172e4850f: Download complete [2022-05-24T10:20:35.924Z] 1827001aaf11: Verifying Checksum [2022-05-24T10:20:35.924Z] 1827001aaf11: Download complete [2022-05-24T10:20:36.871Z] 1fe172e4850f: Pull complete [2022-05-24T10:20:37.132Z] caf521ccaac6: Pull complete [2022-05-24T10:20:37.706Z] 3ead6fa29328: Pull complete [2022-05-24T10:20:37.706Z] 5c2a1cbceb83: Pull complete [2022-05-24T10:20:38.292Z] a8d5f1318db7: Pull complete [2022-05-24T10:20:38.553Z] c427282e49a2: Pull complete [2022-05-24T10:20:40.461Z] 1827001aaf11: Pull complete [2022-05-24T10:20:40.461Z] 0714d37db230: Pull complete [2022-05-24T10:20:40.723Z] ac28cf19c067: Pull complete [2022-05-24T10:20:40.986Z] ca983d60f3e2: Pull complete [2022-05-24T10:20:41.249Z] 9f894cec8388: Pull complete [2022-05-24T10:20:41.249Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-24T10:20:41.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:20:41.249Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-24T10:20:41.348Z] prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container [2022-05-24T10:20:41.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T10:20:44.771Z] $ docker top 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc -eo pid,comm [2022-05-24T10:20:44.849Z] 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-24T10:20:44.849Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T10:20:44.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T10:20:44.975Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T10:20:45.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T10:20:45.122Z] $ docker exec 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent [2022-05-24T10:20:45.253Z] SSH_AUTH_SOCK=/tmp/ssh-fweuFQvjOJwe/agent.23 [2022-05-24T10:20:45.253Z] SSH_AGENT_PID=41 [2022-05-24T10:20:45.271Z] Running ssh-add (command line suppressed) [2022-05-24T10:20:45.399Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_986712671979116355.key (/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_986712671979116355.key) [2022-05-24T10:20:45.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T10:20:45.765Z] + git tag --points-at HEAD [Pipeline] } [2022-05-24T10:20:45.792Z] $ docker exec --env ******** --env ******** 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent -k [2022-05-24T10:20:45.922Z] unset SSH_AUTH_SOCK; [2022-05-24T10:20:45.922Z] unset SSH_AGENT_PID; [2022-05-24T10:20:45.922Z] echo Agent pid 41 killed; [2022-05-24T10:20:45.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-24T10:20:46.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T10:20:46.022Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T10:20:46.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T10:20:46.155Z] $ docker exec 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent [2022-05-24T10:20:46.277Z] SSH_AUTH_SOCK=/tmp/ssh-kU19VB3DVw90/agent.74 [2022-05-24T10:20:46.277Z] SSH_AGENT_PID=80 [2022-05-24T10:20:46.286Z] Running ssh-add (command line suppressed) [2022-05-24T10:20:46.454Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_7100503517175033947.key (/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_7100503517175033947.key) [2022-05-24T10:20:46.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T10:20:46.800Z] + git semver init [2022-05-24T10:20:47.373Z] 2022-05-24 10:20:47,070 [run_init] DEBUG init version:0.0.0 force:False [2022-05-24T10:20:47.373Z] 2022-05-24 10:20:47,070 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver [2022-05-24T10:20:47.373Z] 2022-05-24 10:20:47,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-36/.semver [2022-05-24T10:20:47.373Z] 2022-05-24 10:20:47,071 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-36/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36, universal_newlines=False, shell=None, istream=None) [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,685 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-36/.git/info/exclude [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,686 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 with force:False [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,686 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,690 [execute] INFO git cat-file --batch-check [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,698 [execute] INFO git cat-file --batch [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T10:20:47.950Z] 2022-05-24 10:20:47,703 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 [2022-05-24T10:20:47.950Z] 0.0.0 [Pipeline] } [2022-05-24T10:20:47.982Z] $ docker exec --env ******** --env ******** 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent -k [2022-05-24T10:20:48.107Z] unset SSH_AUTH_SOCK; [2022-05-24T10:20:48.108Z] unset SSH_AGENT_PID; [2022-05-24T10:20:48.108Z] echo Agent pid 80 killed; [2022-05-24T10:20:48.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T10:20:48.533Z] + git semver [Pipeline] } [2022-05-24T10:20:48.823Z] $ docker stop --time=1 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc [2022-05-24T10:20:50.424Z] $ docker rm -f 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T10:20:50.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-24T10:20:51.252Z] Stashed 1 file(s) [Pipeline] echo [2022-05-24T10:20:51.271Z] [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-24T10:20:51.836Z] provisioning config files... [2022-05-24T10:20:51.849Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config8789703374174805181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:20:52.197Z] ---> docker-login.sh [2022-05-24T10:20:52.197Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:20:52.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:52.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:52.197Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:52.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:52.197Z] [2022-05-24T10:20:52.197Z] Login Succeeded [2022-05-24T10:20:52.197Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:20:52.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:52.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:52.458Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:52.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:52.458Z] [2022-05-24T10:20:52.458Z] Login Succeeded [2022-05-24T10:20:52.458Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:20:52.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:52.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:52.458Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:52.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:52.458Z] [2022-05-24T10:20:52.458Z] Login Succeeded [2022-05-24T10:20:52.458Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:20:52.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:52.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:52.719Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:52.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:52.719Z] [2022-05-24T10:20:52.719Z] Login Succeeded [2022-05-24T10:20:52.719Z] docker.io [2022-05-24T10:20:52.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:20:52.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:20:52.980Z] Configure a credential helper to remove this warning. See [2022-05-24T10:20:52.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:20:52.980Z] [2022-05-24T10:20:52.980Z] Login Succeeded [2022-05-24T10:20:52.980Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:20:53.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T10:20:53.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T10:20:53.238Z] ========================================================= [2022-05-24T10:20:53.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-24T10:20:53.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:20:53.649Z] + 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-24T10:20:53.649Z] Sending build context to Docker daemon 586.2kB [2022-05-24T10:20:53.649Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:20:53.649Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-24T10:20:53.913Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-24T10:20:53.913Z] 59bf1c3509f3: Pulling fs layer [2022-05-24T10:20:53.913Z] 666ba61612fd: Pulling fs layer [2022-05-24T10:20:53.913Z] 8ed8ca486205: Pulling fs layer [2022-05-24T10:20:53.913Z] 4fe6c5a15a65: Pulling fs layer [2022-05-24T10:20:53.913Z] 22a0e8bec74d: Pulling fs layer [2022-05-24T10:20:53.913Z] ca2b28591e48: Pulling fs layer [2022-05-24T10:20:53.913Z] a51346096db8: Pulling fs layer [2022-05-24T10:20:53.913Z] daebc70d1ce1: Pulling fs layer [2022-05-24T10:20:53.913Z] 0e18a0eac166: Pulling fs layer [2022-05-24T10:20:53.913Z] ca2b28591e48: Waiting [2022-05-24T10:20:53.913Z] a51346096db8: Waiting [2022-05-24T10:20:53.913Z] 22a0e8bec74d: Waiting [2022-05-24T10:20:53.913Z] daebc70d1ce1: Waiting [2022-05-24T10:20:53.913Z] 0e18a0eac166: Waiting [2022-05-24T10:20:53.913Z] 4fe6c5a15a65: Waiting [2022-05-24T10:20:53.913Z] 8ed8ca486205: Download complete [2022-05-24T10:20:53.913Z] 666ba61612fd: Download complete [2022-05-24T10:20:53.913Z] 22a0e8bec74d: Download complete [2022-05-24T10:20:53.913Z] 59bf1c3509f3: Download complete [2022-05-24T10:20:53.913Z] a51346096db8: Verifying Checksum [2022-05-24T10:20:53.913Z] a51346096db8: Download complete [2022-05-24T10:20:53.913Z] ca2b28591e48: Verifying Checksum [2022-05-24T10:20:53.913Z] ca2b28591e48: Download complete [2022-05-24T10:20:54.176Z] daebc70d1ce1: Verifying Checksum [2022-05-24T10:20:54.176Z] daebc70d1ce1: Download complete [2022-05-24T10:20:54.439Z] 59bf1c3509f3: Pull complete [2022-05-24T10:20:54.700Z] 666ba61612fd: Pull complete [2022-05-24T10:20:54.700Z] 8ed8ca486205: Pull complete [2022-05-24T10:20:54.700Z] 0e18a0eac166: Verifying Checksum [2022-05-24T10:20:54.700Z] 0e18a0eac166: Download complete [2022-05-24T10:20:54.961Z] 4fe6c5a15a65: Verifying Checksum [2022-05-24T10:20:54.961Z] 4fe6c5a15a65: Download complete [2022-05-24T10:20:59.161Z] 4fe6c5a15a65: Pull complete [2022-05-24T10:20:59.161Z] 22a0e8bec74d: Pull complete [2022-05-24T10:20:59.161Z] ca2b28591e48: Pull complete [2022-05-24T10:20:59.161Z] a51346096db8: Pull complete [2022-05-24T10:20:59.422Z] daebc70d1ce1: Pull complete [2022-05-24T10:21:02.739Z] 0e18a0eac166: Pull complete [2022-05-24T10:21:02.740Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-24T10:21:02.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-24T10:21:02.740Z] ---> f018257e8ee9 [2022-05-24T10:21:02.740Z] Step 3/12 : ARG MAKE="make build" [2022-05-24T10:21:06.664Z] Still waiting to schedule task [2022-05-24T10:21:06.664Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-24T10:21:08.070Z] ---> Running in fd0f85f83b32 [2022-05-24T10:21:08.642Z] Removing intermediate container fd0f85f83b32 [2022-05-24T10:21:08.642Z] ---> 49d3103f81d3 [2022-05-24T10:21:08.642Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T10:21:09.585Z] ---> Running in a6f8e6551fdf [2022-05-24T10:21:09.856Z] Removing intermediate container a6f8e6551fdf [2022-05-24T10:21:09.856Z] ---> fcf5d7ed93b2 [2022-05-24T10:21:09.856Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T10:21:10.819Z] ---> Running in 0ccb0e5a6052 [2022-05-24T10:21:11.084Z] Removing intermediate container 0ccb0e5a6052 [2022-05-24T10:21:11.084Z] ---> d70697dba695 [2022-05-24T10:21:11.084Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:21:11.657Z] ---> Running in cf1377a793ee [2022-05-24T10:21:12.599Z] Removing intermediate container cf1377a793ee [2022-05-24T10:21:12.599Z] ---> c3b9c4e36007 [2022-05-24T10:21:12.599Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T10:21:12.858Z] ---> Running in 263b46d07292 [2022-05-24T10:21:13.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T10:21:14.060Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T10:21:14.322Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-24T10:21:14.583Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-24T10:21:14.583Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-24T10:21:14.583Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-24T10:21:14.845Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-24T10:21:14.845Z] (6/81) Installing libxcb (1.14-r2) [2022-05-24T10:21:14.845Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-24T10:21:15.109Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-24T10:21:15.109Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-24T10:21:15.109Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-24T10:21:15.370Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-24T10:21:15.371Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-24T10:21:15.371Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-24T10:21:15.643Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-24T10:21:15.643Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-24T10:21:15.643Z] (16/81) Installing libice (1.0.10-r0) [2022-05-24T10:21:15.905Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-24T10:21:15.905Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-24T10:21:15.905Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-24T10:21:16.166Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-24T10:21:16.166Z] (21/81) Installing xset (1.2.4-r0) [2022-05-24T10:21:16.166Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-24T10:21:16.427Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-24T10:21:16.427Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-24T10:21:16.427Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-24T10:21:16.688Z] (26/81) Installing libintl (0.21-r0) [2022-05-24T10:21:16.688Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-24T10:21:16.688Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-24T10:21:16.952Z] (29/81) Installing pcre (8.45-r1) [2022-05-24T10:21:16.952Z] (30/81) Installing glib (2.70.1-r0) [2022-05-24T10:21:16.952Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-24T10:21:17.922Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-24T10:21:17.922Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-24T10:21:17.922Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-24T10:21:18.497Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-24T10:21:18.497Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-24T10:21:18.497Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-24T10:21:18.497Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T10:21:18.773Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-24T10:21:20.159Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-24T10:21:20.159Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-24T10:21:20.159Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-24T10:21:20.159Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-24T10:21:20.421Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-24T10:21:20.421Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-24T10:21:20.421Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-24T10:21:20.683Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-24T10:21:20.683Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-24T10:21:20.683Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-24T10:21:20.944Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-24T10:21:20.944Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-24T10:21:21.207Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-24T10:21:21.207Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-24T10:21:21.207Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-24T10:21:21.482Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-24T10:21:21.482Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-24T10:21:21.482Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-24T10:21:21.744Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-24T10:21:21.744Z] (59/81) Installing cups-libs (2.3.3-r5) [2022-05-24T10:21:21.744Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-24T10:21:22.007Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-24T10:21:22.007Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-24T10:21:22.007Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-24T10:21:22.267Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T10:21:22.267Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-24T10:21:22.267Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T10:21:22.528Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-24T10:21:22.528Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-24T10:21:22.528Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-24T10:21:22.789Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-24T10:21:22.789Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-24T10:21:22.789Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-24T10:21:23.053Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-24T10:21:23.629Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T10:21:23.629Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-24T10:21:23.629Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-24T10:21:23.890Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T10:21:23.890Z] (77/81) Installing kmod-libs (29-r2) [2022-05-24T10:21:23.890Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-24T10:21:23.890Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-24T10:21:24.152Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-24T10:21:24.152Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-24T10:21:24.152Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T10:21:24.152Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T10:21:24.451Z] OK: 335 MiB in 133 packages [2022-05-24T10:21:29.228Z] Removing intermediate container 263b46d07292 [2022-05-24T10:21:29.228Z] ---> c655a2e7e492 [2022-05-24T10:21:29.228Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-24T10:21:29.833Z] ---> Running in 582e3c29e5e2 [2022-05-24T10:21:30.405Z] Removing intermediate container 582e3c29e5e2 [2022-05-24T10:21:30.405Z] ---> 867aab6a4aab [2022-05-24T10:21:30.405Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T10:21:30.977Z] ---> da17ea341f25 [2022-05-24T10:21:30.978Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:21:31.923Z] ---> Running in 635de4b2fff5 [2022-05-24T10:22:04.043Z] Removing intermediate container 635de4b2fff5 [2022-05-24T10:22:04.043Z] ---> c1d1828fa2f8 [2022-05-24T10:22:04.043Z] Step 11/12 : COPY . . [2022-05-24T10:22:04.043Z] ---> 0e2f81865df8 [2022-05-24T10:22:04.043Z] Step 12/12 : RUN ${MAKE} [2022-05-24T10:22:04.043Z] ---> Running in ac7f275e2f76 [2022-05-24T10:22:04.043Z] noop [2022-05-24T10:22:04.043Z] Removing intermediate container ac7f275e2f76 [2022-05-24T10:22:04.043Z] ---> fd38576487fd [2022-05-24T10:22:04.043Z] Successfully built fd38576487fd [2022-05-24T10:22:04.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:22:04.394Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T10:22:04.395Z] . [Pipeline] withDockerContainer [2022-05-24T10:22:04.500Z] prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container [2022-05-24T10:22:04.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@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 ******** ci-base-image-x86_64 cat [2022-05-24T10:22:05.387Z] $ docker top 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:22:05.799Z] + go version [2022-05-24T10:22:05.799Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-24T10:22:05.834Z] $ docker stop --time=1 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 [2022-05-24T10:22:07.505Z] $ docker rm -f 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:22:08.237Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T10:22:08.237Z] . [Pipeline] withDockerContainer [2022-05-24T10:22:08.339Z] prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container [2022-05-24T10:22:08.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@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 ******** ci-base-image-x86_64 cat [2022-05-24T10:22:09.004Z] $ docker top b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T10:22:09.470Z] + make test [2022-05-24T10:22:09.470Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-24T10:22:09.730Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-24T10:22:21.957Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-24T10:22:21.957Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-24T10:22:27.232Z] CGO_ENABLED=1 go vet ./... [2022-05-24T10:22:31.422Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T10:22:31.422Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T10:22:31.422Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T10:22:31.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T10:22:31.736Z] $ docker stop --time=1 b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 [2022-05-24T10:22:34.849Z] $ docker rm -f b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T10:22:35.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T10:22:35.420Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-24T10:22:36.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T10:22:36.624Z] + ls -al . [2022-05-24T10:22:36.624Z] total 164 [2022-05-24T10:22:36.624Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 10:22 . [2022-05-24T10:22:36.624Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:20 .. [2022-05-24T10:22:36.624Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:20 .git [2022-05-24T10:22:36.624Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 .github [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 349 May 24 10:20 .gitignore [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:20 .golangci.yml [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 77 May 24 10:20 .hadolint.yml [2022-05-24T10:22:36.624Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:20 .semver [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 24 10:20 Attribution.txt [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 181 May 24 10:20 CHANGELOG.md [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 24 10:20 Dockerfile [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 678 May 24 10:20 GOVERNANCE.md [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 659 May 24 10:20 Jenkinsfile [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 10:20 LICENSE [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 24 10:20 Makefile [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 622 May 24 10:20 OWNERS.md [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 8944 May 24 10:20 README.md [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:20 VERSION [2022-05-24T10:22:36.624Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 bin [2022-05-24T10:22:36.624Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:20 cmd [2022-05-24T10:22:36.624Z] -rw-r--r-- 1 jenkins jenkins 10 May 24 10:22 coverage.out [2022-05-24T10:22:36.624Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 docker-compose [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:20 docker-entrypoint.sh [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 24 10:20 go.mod [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 24 10:20 go.sum [2022-05-24T10:22:36.624Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:20 internal [2022-05-24T10:22:36.624Z] -rw-rw-r-- 1 jenkins jenkins 231 May 24 10:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:22:36.964Z] + 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=8335b304f069749f7ac9f3572061b8c8386e1043 --label arch=amd64 --label version=0.0.0 . [2022-05-24T10:22:36.965Z] Sending build context to Docker daemon 587.3kB [2022-05-24T10:22:36.965Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:22:36.965Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-24T10:22:36.965Z] ---> fd38576487fd [2022-05-24T10:22:36.965Z] Step 3/29 : ARG MAKE="make build" [2022-05-24T10:22:37.230Z] ---> Running in fc5072cbf5a9 [2022-05-24T10:22:37.491Z] Removing intermediate container fc5072cbf5a9 [2022-05-24T10:22:37.491Z] ---> 0b8f590db06d [2022-05-24T10:22:37.491Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T10:22:37.491Z] ---> Running in 43d0a31e0774 [2022-05-24T10:22:37.491Z] Removing intermediate container 43d0a31e0774 [2022-05-24T10:22:37.491Z] ---> fb93f2b88d34 [2022-05-24T10:22:37.491Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T10:22:37.756Z] ---> Running in 4f286a54fce8 [2022-05-24T10:22:38.026Z] Removing intermediate container 4f286a54fce8 [2022-05-24T10:22:38.026Z] ---> ef554ca9d3c4 [2022-05-24T10:22:38.026Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:22:38.026Z] ---> Running in 74ad4a12577d [2022-05-24T10:22:38.967Z] Removing intermediate container 74ad4a12577d [2022-05-24T10:22:38.967Z] ---> 6c688a9d9cbe [2022-05-24T10:22:38.967Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T10:22:38.967Z] ---> Running in 64bdf6006dd1 [2022-05-24T10:22:39.040Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64472 in /w/workspace/xfoundry_device-usb-camera_PR-36 [Pipeline] { [Pipeline] ws [2022-05-24T10:22:39.085Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-05-24T10:22:39.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T10:22:39.364Z] Selected Git installation does not exist. Using Default [2022-05-24T10:22:39.364Z] The recommended git tool is: NONE [2022-05-24T10:22:40.175Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T10:22:40.436Z] OK: 335 MiB in 133 packages [2022-05-24T10:22:40.697Z] Removing intermediate container 64bdf6006dd1 [2022-05-24T10:22:40.697Z] ---> 1f1f2571b966 [2022-05-24T10:22:40.697Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-24T10:22:40.982Z] ---> Running in 2db9fe599e40 [2022-05-24T10:22:40.982Z] Removing intermediate container 2db9fe599e40 [2022-05-24T10:22:40.982Z] ---> 2ae5362823ab [2022-05-24T10:22:40.982Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-24T10:22:41.242Z] ---> aca24c9babed [2022-05-24T10:22:41.242Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:22:41.242Z] ---> Running in c297c1847c1c [2022-05-24T10:22:42.251Z] Removing intermediate container c297c1847c1c [2022-05-24T10:22:42.251Z] ---> e4c6acc7795a [2022-05-24T10:22:42.251Z] Step 11/29 : COPY . . [2022-05-24T10:22:42.511Z] ---> 320ae9bb4e52 [2022-05-24T10:22:42.511Z] Step 12/29 : RUN ${MAKE} [2022-05-24T10:22:42.511Z] ---> Running in 871cade4e5dc [2022-05-24T10:22:42.769Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-24T10:22:44.334Z] using credential edgex-jenkins-ssh [2022-05-24T10:22:44.350Z] Cloning the remote Git repository [2022-05-24T10:22:44.410Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T10:22:44.484Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-05-24T10:22:44.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T10:22:44.572Z] > git --version # timeout=10 [2022-05-24T10:22:44.596Z] > git --version # 'git version 2.25.1' [2022-05-24T10:22:44.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:22:44.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T10:22:45.296Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-24T10:22:45.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T10:22:45.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-24T10:22:45.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T10:22:45.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:22:45.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-24T10:22:45.843Z] Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit 8335b304f069749f7ac9f3572061b8c8386e1043 [2022-05-24T10:22:46.070Z] Merge succeeded, producing 8335b304f069749f7ac9f3572061b8c8386e1043 [2022-05-24T10:22:46.070Z] Checking out Revision 8335b304f069749f7ac9f3572061b8c8386e1043 (PR-36) [2022-05-24T10:22:45.865Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T10:22:45.895Z] > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 [2022-05-24T10:22:45.981Z] > git remote # timeout=10 [2022-05-24T10:22:45.998Z] > git config --get remote.origin.url # timeout=10 [2022-05-24T10:22:46.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:22:46.025Z] > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 [2022-05-24T10:22:46.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-24T10:22:46.082Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T10:22:46.096Z] > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 [2022-05-24T10:22:50.176Z] Commit message: "fix: Update Makefile to show the version number" [2022-05-24T10:22:50.239Z] > git --version # timeout=10 [2022-05-24T10:22:50.250Z] > git --version # 'git version 2.25.1' [2022-05-24T10:22:50.262Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T10:22:51.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-24T10:22:51.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T10:22:51.328Z] Dload Upload Total Spent Left Speed [2022-05-24T10:22:51.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50632 0 --:--:-- --:--:-- --:--:-- 50632 [Pipeline] sh [2022-05-24T10:22:51.845Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-24T10:22:52.210Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-24T10:22:52.210Z] + sudo tee /etc/docker/daemon.new [2022-05-24T10:22:52.210Z] { [2022-05-24T10:22:52.210Z] "registry-mirrors": [ [2022-05-24T10:22:52.210Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-24T10:22:52.210Z] ], [2022-05-24T10:22:52.210Z] "bip": "10.250.0.254/24", [2022-05-24T10:22:52.210Z] "hosts": [ [2022-05-24T10:22:52.210Z] "tcp://0.0.0.0:5555", [2022-05-24T10:22:52.210Z] "unix:///var/run/docker.sock" [2022-05-24T10:22:52.210Z] ], [2022-05-24T10:22:52.210Z] "mtu": 1458, [2022-05-24T10:22:52.210Z] "selinux-enabled": true, [2022-05-24T10:22:52.210Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-24T10:22:52.210Z] } [Pipeline] sh [2022-05-24T10:22:52.686Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-24T10:22:53.045Z] + sudo service docker restart [2022-05-24T10:23:09.327Z] Removing intermediate container 871cade4e5dc [2022-05-24T10:23:09.327Z] ---> fe0062be4cd5 [2022-05-24T10:23:09.327Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-24T10:23:09.327Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-24T10:23:09.327Z] af6660deedbd: Pulling fs layer [2022-05-24T10:23:09.327Z] 97cd0a44c592: Pulling fs layer [2022-05-24T10:23:09.327Z] 97cd0a44c592: Verifying Checksum [2022-05-24T10:23:09.327Z] 97cd0a44c592: Download complete [2022-05-24T10:23:09.327Z] af6660deedbd: Verifying Checksum [2022-05-24T10:23:09.327Z] af6660deedbd: Download complete [2022-05-24T10:23:09.327Z] af6660deedbd: Pull complete [2022-05-24T10:23:09.327Z] 97cd0a44c592: Pull complete [2022-05-24T10:23:09.327Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-24T10:23:09.327Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-24T10:23:09.327Z] ---> fea57e182299 [2022-05-24T10:23:09.327Z] Step 14/29 : FROM alpine:3.15 [2022-05-24T10:23:09.327Z] 3.15: Pulling from library/alpine [2022-05-24T10:23:09.327Z] df9b9388f04a: Pulling fs layer [2022-05-24T10:23:09.327Z] df9b9388f04a: Verifying Checksum [2022-05-24T10:23:09.327Z] df9b9388f04a: Download complete [2022-05-24T10:23:09.327Z] df9b9388f04a: Pull complete [2022-05-24T10:23:09.327Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T10:23:09.327Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T10:23:09.327Z] ---> 0ac33e5f5afa [2022-05-24T10:23:09.327Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T10:23:09.327Z] ---> Running in c07f7122939d [2022-05-24T10:23:09.327Z] Removing intermediate container c07f7122939d [2022-05-24T10:23:09.327Z] ---> 9ff771085bc2 [2022-05-24T10:23:09.327Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-24T10:23:09.327Z] ---> Running in e1ba96aa0147 [2022-05-24T10:23:09.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T10:23:09.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T10:23:09.589Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-24T10:23:09.589Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-24T10:23:09.589Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-24T10:23:09.589Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-24T10:23:09.589Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-24T10:23:09.852Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-24T10:23:09.852Z] (7/74) Installing libxcb (1.14-r2) [2022-05-24T10:23:09.852Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-24T10:23:09.852Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-24T10:23:09.852Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-24T10:23:09.852Z] (11/74) Installing expat (2.4.7-r0) [2022-05-24T10:23:09.852Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-24T10:23:09.852Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-24T10:23:09.852Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-24T10:23:09.852Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-24T10:23:09.852Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-24T10:23:09.852Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-24T10:23:09.852Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-24T10:23:09.852Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-24T10:23:09.852Z] (20/74) Installing libintl (0.21-r0) [2022-05-24T10:23:09.852Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-24T10:23:09.852Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-24T10:23:10.112Z] (23/74) Installing pcre (8.45-r1) [2022-05-24T10:23:10.112Z] (24/74) Installing glib (2.70.1-r0) [2022-05-24T10:23:10.112Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-24T10:23:10.112Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-24T10:23:10.112Z] (27/74) Installing libass (0.15.2-r0) [2022-05-24T10:23:10.112Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-24T10:23:10.112Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-24T10:23:10.112Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-24T10:23:10.112Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-24T10:23:10.112Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-24T10:23:10.112Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-24T10:23:10.112Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-24T10:23:10.112Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-24T10:23:10.112Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-24T10:23:10.112Z] (37/74) Installing lame (3.100-r0) [2022-05-24T10:23:10.112Z] (38/74) Installing opus (1.3.1-r1) [2022-05-24T10:23:10.112Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-24T10:23:10.112Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-24T10:23:10.112Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T10:23:10.112Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T10:23:10.112Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-24T10:23:10.373Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-24T10:23:10.373Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-24T10:23:10.373Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-24T10:23:10.373Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T10:23:10.373Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T10:23:10.373Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-24T10:23:10.373Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-24T10:23:10.373Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-24T10:23:10.373Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-24T10:23:10.373Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T10:23:10.373Z] (54/74) Installing libva (2.13.0-r0) [2022-05-24T10:23:10.373Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-24T10:23:10.373Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-24T10:23:10.373Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-24T10:23:10.373Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-24T10:23:10.373Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-24T10:23:10.373Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-24T10:23:10.373Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-24T10:23:10.373Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-24T10:23:10.373Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-24T10:23:10.373Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-24T10:23:10.633Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-24T10:23:10.633Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-24T10:23:10.633Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T10:23:10.633Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T10:23:10.633Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-24T10:23:10.633Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-24T10:23:10.633Z] (70/74) Installing kmod-libs (29-r2) [2022-05-24T10:23:10.633Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-24T10:23:10.633Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-24T10:23:10.633Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-24T10:23:10.633Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-24T10:23:10.633Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T10:23:10.633Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T10:23:10.633Z] OK: 78 MiB in 88 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:23:11.434Z] provisioning config files... [2022-05-24T10:23:11.457Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1706834394616833308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:23:11.986Z] ---> docker-login.sh [2022-05-24T10:23:11.986Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:23:12.542Z] Removing intermediate container e1ba96aa0147 [2022-05-24T10:23:12.543Z] ---> 771a12109fdf [2022-05-24T10:23:12.543Z] Step 17/29 : WORKDIR / [2022-05-24T10:23:12.543Z] ---> Running in 3dc05a916951 [2022-05-24T10:23:12.543Z] Removing intermediate container 3dc05a916951 [2022-05-24T10:23:12.543Z] ---> e7797f27635c [2022-05-24T10:23:12.543Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-24T10:23:12.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:23:12.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:23:12.848Z] Configure a credential helper to remove this warning. See [2022-05-24T10:23:12.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:23:12.848Z] [2022-05-24T10:23:12.848Z] Login Succeeded [2022-05-24T10:23:12.848Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:23:13.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:23:13.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:23:13.135Z] Configure a credential helper to remove this warning. See [2022-05-24T10:23:13.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:23:13.135Z] [2022-05-24T10:23:13.135Z] Login Succeeded [2022-05-24T10:23:13.135Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:23:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:23:13.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:23:13.690Z] Configure a credential helper to remove this warning. See [2022-05-24T10:23:13.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:23:13.690Z] [2022-05-24T10:23:13.690Z] Login Succeeded [2022-05-24T10:23:13.690Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:23:13.952Z] ---> 092892fe2f5d [2022-05-24T10:23:13.952Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-24T10:23:13.952Z] ---> 9d94aa9e6f83 [2022-05-24T10:23:13.952Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-24T10:23:13.952Z] ---> baf10e0c050a [2022-05-24T10:23:13.952Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-24T10:23:13.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:23:13.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:23:13.965Z] Configure a credential helper to remove this warning. See [2022-05-24T10:23:13.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:23:13.965Z] [2022-05-24T10:23:13.965Z] Login Succeeded [2022-05-24T10:23:14.216Z] ---> 5e8dbc9208fd [2022-05-24T10:23:14.216Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-24T10:23:14.238Z] docker.io [2022-05-24T10:23:14.475Z] ---> 3ef4f33182e5 [2022-05-24T10:23:14.475Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-24T10:23:14.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:23:14.736Z] ---> 7c621be46779 [2022-05-24T10:23:14.736Z] Step 24/29 : EXPOSE 59983 [2022-05-24T10:23:14.736Z] ---> Running in c687d5cf1aa8 [2022-05-24T10:23:14.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:23:14.780Z] Configure a credential helper to remove this warning. See [2022-05-24T10:23:14.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:23:14.780Z] [2022-05-24T10:23:14.780Z] Login Succeeded [2022-05-24T10:23:14.780Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:23:14.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-05-24T10:23:14.997Z] Removing intermediate container c687d5cf1aa8 [2022-05-24T10:23:14.997Z] ---> 21387ac74045 [2022-05-24T10:23:14.997Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-24T10:23:14.997Z] ---> Running in b7d7f48bcc8e [2022-05-24T10:23:14.997Z] Removing intermediate container b7d7f48bcc8e [2022-05-24T10:23:14.997Z] ---> e622a6d39e5c [2022-05-24T10:23:14.997Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [Pipeline] echo [2022-05-24T10:23:15.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T10:23:15.246Z] ========================================================= [2022-05-24T10:23:15.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-24T10:23:15.246Z] ========================================================= [2022-05-24T10:23:15.259Z] ---> Running in 956de1f5d2bd [2022-05-24T10:23:15.259Z] Removing intermediate container 956de1f5d2bd [2022-05-24T10:23:15.259Z] ---> 3d9357ec0511 [2022-05-24T10:23:15.259Z] Step 27/29 : LABEL arch=amd64 [2022-05-24T10:23:15.259Z] ---> Running in 50439eb07245 [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:23:15.520Z] Removing intermediate container 50439eb07245 [2022-05-24T10:23:15.520Z] ---> 6bd16456325c [2022-05-24T10:23:15.520Z] Step 28/29 : LABEL git_sha=8335b304f069749f7ac9f3572061b8c8386e1043 [2022-05-24T10:23:15.520Z] ---> Running in c85b95a6c0e5 [2022-05-24T10:23:15.520Z] Removing intermediate container c85b95a6c0e5 [2022-05-24T10:23:15.520Z] ---> 81c06b8d4afa [2022-05-24T10:23:15.520Z] Step 29/29 : LABEL version=0.0.0 [2022-05-24T10:23:15.733Z] + 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-24T10:23:15.781Z] ---> Running in 1ac21c00d83b [2022-05-24T10:23:15.781Z] Removing intermediate container 1ac21c00d83b [2022-05-24T10:23:15.781Z] ---> 79961d525d88 [2022-05-24T10:23:15.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T10:23:15.781Z] Successfully built 79961d525d88 [2022-05-24T10:23:15.781Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2022-05-24T10:23:16.018Z] Sending build context to Docker daemon 398.3kB [2022-05-24T10:23:16.018Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:23:16.018Z] Step 2/12 : FROM ${BASE} AS builder [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [2022-05-24T10:23:16.298Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-24T10:23:16.298Z] 9b3977197b4f: Pulling fs layer [2022-05-24T10:23:16.298Z] 1a89e8eeedd5: Pulling fs layer [2022-05-24T10:23:16.298Z] 94645a83ff95: Pulling fs layer [2022-05-24T10:23:16.298Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-24T10:23:16.298Z] 0c92f367c5e7: Pulling fs layer [2022-05-24T10:23:16.298Z] 3096ccb668a1: Pulling fs layer [2022-05-24T10:23:16.299Z] e8cf19c19ddd: Pulling fs layer [2022-05-24T10:23:16.299Z] a4caa8a26152: Pulling fs layer [2022-05-24T10:23:16.299Z] 3f3a8bcf1eab: Waiting [2022-05-24T10:23:16.299Z] 0c92f367c5e7: Waiting [2022-05-24T10:23:16.299Z] 3096ccb668a1: Waiting [2022-05-24T10:23:16.299Z] e8cf19c19ddd: Waiting [2022-05-24T10:23:16.299Z] a4caa8a26152: Waiting [2022-05-24T10:23:16.299Z] 94645a83ff95: Verifying Checksum [2022-05-24T10:23:16.299Z] 94645a83ff95: Download complete [2022-05-24T10:23:16.299Z] 1a89e8eeedd5: Verifying Checksum [2022-05-24T10:23:16.299Z] 1a89e8eeedd5: Download complete [2022-05-24T10:23:16.299Z] 0c92f367c5e7: Verifying Checksum [2022-05-24T10:23:16.299Z] 0c92f367c5e7: Download complete [2022-05-24T10:23:16.299Z] 9b3977197b4f: Verifying Checksum [2022-05-24T10:23:16.299Z] 9b3977197b4f: Download complete [2022-05-24T10:23:16.299Z] 3096ccb668a1: Verifying Checksum [2022-05-24T10:23:16.299Z] 3096ccb668a1: Download complete [2022-05-24T10:23:16.299Z] e8cf19c19ddd: Verifying Checksum [2022-05-24T10:23:16.299Z] e8cf19c19ddd: Download complete [Pipeline] sh [2022-05-24T10:23:16.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:23:16.600Z] [2022-05-24T10:23:16.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:23:16.903Z] 9b3977197b4f: Pull complete [2022-05-24T10:23:16.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:23:16.946Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-24T10:23:16.946Z] 5eb5b503b376: Pulling fs layer [2022-05-24T10:23:16.946Z] 5c69ac0246d0: Pulling fs layer [2022-05-24T10:23:16.946Z] ec43610c2a17: Pulling fs layer [2022-05-24T10:23:16.946Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-24T10:23:16.946Z] 33b1e0a273af: Pulling fs layer [2022-05-24T10:23:16.946Z] 5d3b04190fa2: Pulling fs layer [2022-05-24T10:23:16.946Z] 2f39f015ded8: Pulling fs layer [2022-05-24T10:23:16.946Z] 3a2ae6a8a46f: Waiting [2022-05-24T10:23:16.946Z] 33b1e0a273af: Waiting [2022-05-24T10:23:16.946Z] 5d3b04190fa2: Waiting [2022-05-24T10:23:16.946Z] 2f39f015ded8: Waiting [2022-05-24T10:23:16.946Z] 5c69ac0246d0: Verifying Checksum [2022-05-24T10:23:16.946Z] 5c69ac0246d0: Download complete [2022-05-24T10:23:16.946Z] 3a2ae6a8a46f: Download complete [2022-05-24T10:23:16.946Z] 33b1e0a273af: Verifying Checksum [2022-05-24T10:23:16.946Z] 33b1e0a273af: Download complete [2022-05-24T10:23:16.946Z] ec43610c2a17: Verifying Checksum [2022-05-24T10:23:16.946Z] ec43610c2a17: Download complete [2022-05-24T10:23:16.946Z] 5d3b04190fa2: Verifying Checksum [2022-05-24T10:23:17.209Z] 5eb5b503b376: Verifying Checksum [2022-05-24T10:23:17.209Z] 5eb5b503b376: Download complete [2022-05-24T10:23:17.521Z] 1a89e8eeedd5: Pull complete [2022-05-24T10:23:17.780Z] 2f39f015ded8: Verifying Checksum [2022-05-24T10:23:17.780Z] 2f39f015ded8: Download complete [2022-05-24T10:23:17.800Z] 94645a83ff95: Pull complete [2022-05-24T10:23:18.401Z] a4caa8a26152: Verifying Checksum [2022-05-24T10:23:18.401Z] a4caa8a26152: Download complete [2022-05-24T10:23:18.718Z] 5eb5b503b376: Pull complete [2022-05-24T10:23:18.718Z] 5c69ac0246d0: Pull complete [2022-05-24T10:23:18.998Z] 3f3a8bcf1eab: Download complete [2022-05-24T10:23:19.287Z] ec43610c2a17: Pull complete [2022-05-24T10:23:19.287Z] 3a2ae6a8a46f: Pull complete [2022-05-24T10:23:19.545Z] 33b1e0a273af: Pull complete [2022-05-24T10:23:19.545Z] 5d3b04190fa2: Pull complete [2022-05-24T10:23:23.742Z] 2f39f015ded8: Pull complete [2022-05-24T10:23:23.742Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-24T10:23:23.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:23:23.742Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-24T10:23:23.869Z] prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container [2022-05-24T10:23:23.909Z] $ 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-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@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-24T10:23:26.867Z] $ docker top cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:23:27.351Z] ---> job-cost.sh [2022-05-24T10:23:27.351Z] lf-activate-venv: SKIPPING [2022-05-24T10:23:27.351Z] INFO: No Stack... [2022-05-24T10:23:27.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T10:23:28.188Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T10:23:28.516Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-36/archives/cost.csv [2022-05-24T10:23:28.516Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T10:23:28.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [2022-05-24T10:23:28.564Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] did not exist. Created. [2022-05-24T10:23:28.564Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T10:23:28.957Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-24T10:23:29.006Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T10:23:29.033Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T10:23:29.118Z] $ docker stop --time=1 cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 [2022-05-24T10:23:30.338Z] $ docker rm -f cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T10:23:31.404Z] 3f3a8bcf1eab: Pull complete [2022-05-24T10:23:31.404Z] 0c92f367c5e7: Pull complete [2022-05-24T10:23:31.405Z] 3096ccb668a1: Pull complete [2022-05-24T10:23:31.405Z] e8cf19c19ddd: Pull complete [2022-05-24T10:23:38.119Z] a4caa8a26152: Pull complete [2022-05-24T10:23:38.119Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-24T10:23:38.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-24T10:23:38.119Z] ---> 725f1c02e7f9 [2022-05-24T10:23:38.119Z] Step 3/12 : ARG MAKE="make build" [2022-05-24T10:23:39.104Z] ---> Running in c95f3eb33fab [2022-05-24T10:23:39.378Z] Removing intermediate container c95f3eb33fab [2022-05-24T10:23:39.378Z] ---> 3a3ca6c9444a [2022-05-24T10:23:39.378Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T10:23:39.378Z] ---> Running in 5b592d19719a [2022-05-24T10:23:39.652Z] Removing intermediate container 5b592d19719a [2022-05-24T10:23:39.652Z] ---> f89788be466b [2022-05-24T10:23:39.652Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T10:23:39.927Z] ---> Running in e7b814a7ae9e [2022-05-24T10:23:40.201Z] Removing intermediate container e7b814a7ae9e [2022-05-24T10:23:40.201Z] ---> ce785be480a5 [2022-05-24T10:23:40.201Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:23:40.201Z] ---> Running in 02995d7429e1 [2022-05-24T10:23:42.190Z] Removing intermediate container 02995d7429e1 [2022-05-24T10:23:42.190Z] ---> e69af528de1d [2022-05-24T10:23:42.190Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T10:23:42.190Z] ---> Running in 6044432af0f1 [2022-05-24T10:23:43.178Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T10:23:44.160Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T10:23:44.757Z] (1/14) Installing libintl (0.21-r0) [2022-05-24T10:23:44.757Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T10:23:45.029Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T10:23:45.029Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T10:23:45.029Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-05-24T10:23:45.301Z] (6/14) Installing udev-init-scripts (35-r0) [2022-05-24T10:23:45.301Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T10:23:45.301Z] (7/14) Installing libblkid (2.37.4-r0) [2022-05-24T10:23:45.573Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-05-24T10:23:45.573Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-05-24T10:23:45.573Z] (10/14) Installing kmod-libs (29-r2) [2022-05-24T10:23:45.844Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-05-24T10:23:45.844Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-24T10:23:46.116Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-24T10:23:46.116Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-05-24T10:23:46.116Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T10:23:46.388Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T10:23:46.388Z] OK: 227 MiB in 66 packages [2022-05-24T10:23:47.369Z] Removing intermediate container 6044432af0f1 [2022-05-24T10:23:47.369Z] ---> efec3d4835bd [2022-05-24T10:23:47.369Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-24T10:23:47.369Z] ---> Running in 076b5b057953 [2022-05-24T10:23:47.642Z] Removing intermediate container 076b5b057953 [2022-05-24T10:23:47.642Z] ---> 4be09341ba32 [2022-05-24T10:23:47.642Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T10:23:48.242Z] ---> 1bacf53c5bed [2022-05-24T10:23:48.242Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:23:48.242Z] ---> Running in 78ea35cea200 [2022-05-24T10:24:35.228Z] Removing intermediate container 78ea35cea200 [2022-05-24T10:24:35.228Z] ---> 1c5f5f9430cd [2022-05-24T10:24:35.228Z] Step 11/12 : COPY . . [2022-05-24T10:24:35.228Z] ---> f2331ad7b3b4 [2022-05-24T10:24:35.228Z] Step 12/12 : RUN ${MAKE} [2022-05-24T10:24:35.228Z] ---> Running in ca8f77cfd618 [2022-05-24T10:24:35.228Z] noop [2022-05-24T10:24:35.228Z] Removing intermediate container ca8f77cfd618 [2022-05-24T10:24:35.228Z] ---> b47ced75f9d2 [2022-05-24T10:24:35.228Z] Successfully built b47ced75f9d2 [2022-05-24T10:24:35.228Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:24:35.592Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T10:24:35.592Z] . [Pipeline] withDockerContainer [2022-05-24T10:24:35.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container [2022-05-24T10:24:35.922Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-24T10:24:37.190Z] $ docker top 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:24:38.126Z] + go version [2022-05-24T10:24:38.126Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-24T10:24:38.163Z] $ docker stop --time=1 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 [2022-05-24T10:24:39.755Z] $ docker rm -f 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:24:40.590Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T10:24:40.590Z] . [Pipeline] withDockerContainer [2022-05-24T10:24:40.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container [2022-05-24T10:24:40.899Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-24T10:24:42.115Z] $ docker top 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T10:24:43.088Z] + make test [2022-05-24T10:24:43.088Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-24T10:24:44.524Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-24T10:26:06.345Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-24T10:26:06.345Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-24T10:26:06.345Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-24T10:26:06.345Z] CGO_ENABLED=1 go vet ./... [2022-05-24T10:26:28.531Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T10:26:28.531Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T10:26:28.531Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T10:26:31.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T10:26:32.003Z] $ docker stop --time=1 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 [2022-05-24T10:26:33.769Z] $ docker rm -f 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T10:26:34.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T10:26:34.818Z] Warning: overwriting stash ‘coverage-report’ [2022-05-24T10:26:35.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T10:26:35.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T10:26:36.182Z] + ls -al . [2022-05-24T10:26:36.182Z] total 160 [2022-05-24T10:26:36.182Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:26 . [2022-05-24T10:26:36.182Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:22 .. [2022-05-24T10:26:36.182Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:22 .git [2022-05-24T10:26:36.182Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 .github [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 349 May 24 10:22 .gitignore [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:22 .golangci.yml [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 77 May 24 10:22 .hadolint.yml [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 24 10:22 Attribution.txt [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 181 May 24 10:22 CHANGELOG.md [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 24 10:22 Dockerfile [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 678 May 24 10:22 GOVERNANCE.md [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 659 May 24 10:22 Jenkinsfile [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 10:22 LICENSE [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 24 10:22 Makefile [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 622 May 24 10:22 OWNERS.md [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 8944 May 24 10:22 README.md [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:20 VERSION [2022-05-24T10:26:36.182Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 bin [2022-05-24T10:26:36.182Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:22 cmd [2022-05-24T10:26:36.182Z] -rw-r--r-- 1 jenkins jenkins 10 May 24 10:24 coverage.out [2022-05-24T10:26:36.182Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 docker-compose [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:22 docker-entrypoint.sh [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 24 10:22 go.mod [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 24 10:22 go.sum [2022-05-24T10:26:36.182Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:22 internal [2022-05-24T10:26:36.182Z] -rw-rw-r-- 1 jenkins jenkins 231 May 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:26:36.547Z] + 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=8335b304f069749f7ac9f3572061b8c8386e1043 --label arch=arm64 --label version=0.0.0 . [2022-05-24T10:26:36.887Z] Sending build context to Docker daemon 399.4kB [2022-05-24T10:26:36.887Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:26:36.887Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-24T10:26:36.887Z] ---> b47ced75f9d2 [2022-05-24T10:26:36.887Z] Step 3/29 : ARG MAKE="make build" [2022-05-24T10:26:36.887Z] ---> Running in 621236ec7aac [2022-05-24T10:26:37.594Z] Removing intermediate container 621236ec7aac [2022-05-24T10:26:37.594Z] ---> 63f5439041e1 [2022-05-24T10:26:37.594Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T10:26:37.594Z] ---> Running in 69f448c1b315 [2022-05-24T10:26:37.888Z] Removing intermediate container 69f448c1b315 [2022-05-24T10:26:37.888Z] ---> 069ecb966727 [2022-05-24T10:26:37.888Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T10:26:37.888Z] ---> Running in 9d012345d5c5 [2022-05-24T10:26:38.188Z] Removing intermediate container 9d012345d5c5 [2022-05-24T10:26:38.188Z] ---> b08fab77bf25 [2022-05-24T10:26:38.188Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:26:38.520Z] ---> Running in 556aa6dd85f2 [2022-05-24T10:26:40.047Z] Removing intermediate container 556aa6dd85f2 [2022-05-24T10:26:40.047Z] ---> b02a6308a12d [2022-05-24T10:26:40.047Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T10:26:40.336Z] ---> Running in eac659525a2a [2022-05-24T10:26:41.312Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T10:26:42.300Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T10:26:42.897Z] OK: 227 MiB in 66 packages [2022-05-24T10:26:43.885Z] Removing intermediate container eac659525a2a [2022-05-24T10:26:43.885Z] ---> 2d2960c3447b [2022-05-24T10:26:43.885Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-24T10:26:43.885Z] ---> Running in fbac7ea5e08e [2022-05-24T10:26:44.160Z] Removing intermediate container fbac7ea5e08e [2022-05-24T10:26:44.160Z] ---> aae06ab9b6f1 [2022-05-24T10:26:44.160Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-24T10:26:44.754Z] ---> 8864cbf24739 [2022-05-24T10:26:44.754Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:26:44.754Z] ---> Running in 63b85cd6d247 [2022-05-24T10:26:46.730Z] Removing intermediate container 63b85cd6d247 [2022-05-24T10:26:46.730Z] ---> 625df58da24c [2022-05-24T10:26:46.730Z] Step 11/29 : COPY . . [2022-05-24T10:26:47.328Z] ---> 3ffcbe1309c9 [2022-05-24T10:26:47.328Z] Step 12/29 : RUN ${MAKE} [2022-05-24T10:26:47.328Z] ---> Running in 419a5a1811e7 [2022-05-24T10:26:48.310Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-24T10:28:55.177Z] Removing intermediate container 419a5a1811e7 [2022-05-24T10:28:55.177Z] ---> 9f9bf67e09a5 [2022-05-24T10:28:55.177Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-24T10:28:55.177Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-24T10:28:55.177Z] eab2503cf8f4: Pulling fs layer [2022-05-24T10:28:55.177Z] 97cd0a44c592: Pulling fs layer [2022-05-24T10:28:55.177Z] 97cd0a44c592: Download complete [2022-05-24T10:28:55.177Z] eab2503cf8f4: Verifying Checksum [2022-05-24T10:28:55.177Z] eab2503cf8f4: Download complete [2022-05-24T10:28:55.177Z] eab2503cf8f4: Pull complete [2022-05-24T10:28:55.177Z] 97cd0a44c592: Pull complete [2022-05-24T10:28:55.177Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-24T10:28:55.177Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-24T10:28:55.177Z] ---> 7f763cca56b3 [2022-05-24T10:28:55.177Z] Step 14/29 : FROM alpine:3.15 [2022-05-24T10:28:55.177Z] 3.15: Pulling from library/alpine [2022-05-24T10:28:55.177Z] 9981e73032c8: Pulling fs layer [2022-05-24T10:28:55.177Z] 9981e73032c8: Verifying Checksum [2022-05-24T10:28:55.177Z] 9981e73032c8: Download complete [2022-05-24T10:28:55.177Z] 9981e73032c8: Pull complete [2022-05-24T10:28:55.177Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T10:28:55.177Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T10:28:55.177Z] ---> 3fb3c9af89a9 [2022-05-24T10:28:55.177Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T10:28:55.177Z] ---> Running in 5a3b434eef15 [2022-05-24T10:28:55.177Z] Removing intermediate container 5a3b434eef15 [2022-05-24T10:28:55.177Z] ---> 4fc0de04e5c8 [2022-05-24T10:28:55.177Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-24T10:28:55.177Z] ---> Running in 2e9267797b24 [2022-05-24T10:28:55.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T10:28:55.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T10:28:55.177Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-05-24T10:28:55.177Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-05-24T10:28:55.177Z] (3/73) Installing libxau (1.0.9-r0) [2022-05-24T10:28:55.177Z] (4/73) Installing libmd (1.0.3-r0) [2022-05-24T10:28:55.177Z] (5/73) Installing libbsd (0.11.3-r1) [2022-05-24T10:28:55.177Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-05-24T10:28:55.177Z] (7/73) Installing libxcb (1.14-r2) [2022-05-24T10:28:55.177Z] (8/73) Installing libx11 (1.7.2-r0) [2022-05-24T10:28:55.177Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-05-24T10:28:55.177Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-05-24T10:28:55.177Z] (11/73) Installing expat (2.4.7-r0) [2022-05-24T10:28:55.177Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-05-24T10:28:55.177Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-05-24T10:28:55.177Z] (14/73) Installing libpng (1.6.37-r1) [2022-05-24T10:28:55.177Z] (15/73) Installing freetype (2.11.1-r2) [2022-05-24T10:28:55.177Z] (16/73) Installing libuuid (2.37.4-r0) [2022-05-24T10:28:55.177Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-05-24T10:28:55.177Z] (18/73) Installing fribidi (1.0.11-r0) [2022-05-24T10:28:55.177Z] (19/73) Installing libffi (3.4.2-r1) [2022-05-24T10:28:55.177Z] (20/73) Installing libintl (0.21-r0) [2022-05-24T10:28:55.177Z] (21/73) Installing libblkid (2.37.4-r0) [2022-05-24T10:28:55.177Z] (22/73) Installing libmount (2.37.4-r0) [2022-05-24T10:28:55.177Z] (23/73) Installing pcre (8.45-r1) [2022-05-24T10:28:55.177Z] (24/73) Installing glib (2.70.1-r0) [2022-05-24T10:28:55.177Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-05-24T10:28:55.177Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-05-24T10:28:55.177Z] (27/73) Installing libass (0.15.2-r0) [2022-05-24T10:28:55.177Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-05-24T10:28:55.177Z] (29/73) Installing gmp (6.2.1-r1) [2022-05-24T10:28:55.177Z] (30/73) Installing nettle (3.7.3-r0) [2022-05-24T10:28:55.177Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-05-24T10:28:55.177Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-05-24T10:28:55.177Z] (33/73) Installing libunistring (0.9.10-r1) [2022-05-24T10:28:55.177Z] (34/73) Installing gnutls (3.7.1-r0) [2022-05-24T10:28:55.177Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-24T10:28:55.177Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-24T10:28:55.177Z] (37/73) Installing lame (3.100-r0) [2022-05-24T10:28:55.177Z] (38/73) Installing opus (1.3.1-r1) [2022-05-24T10:28:55.177Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-05-24T10:28:55.177Z] (40/73) Installing soxr (0.1.3-r2) [2022-05-24T10:28:55.177Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T10:28:55.177Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T10:28:55.177Z] (43/73) Installing libsrt (1.4.2-r1) [2022-05-24T10:28:55.177Z] (44/73) Installing libssh (0.9.6-r1) [2022-05-24T10:28:55.177Z] (45/73) Installing libogg (1.3.5-r0) [2022-05-24T10:28:55.177Z] (46/73) Installing libtheora (1.1.1-r16) [2022-05-24T10:28:55.177Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T10:28:55.177Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T10:28:55.177Z] (49/73) Installing libxext (1.3.4-r0) [2022-05-24T10:28:55.177Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-05-24T10:28:55.177Z] (51/73) Installing libdrm (2.4.109-r0) [2022-05-24T10:28:55.177Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T10:28:55.177Z] (53/73) Installing libva (2.13.0-r0) [2022-05-24T10:28:55.177Z] (54/73) Installing libvdpau (1.4-r0) [2022-05-24T10:28:55.177Z] (55/73) Installing vidstab (1.1.0-r1) [2022-05-24T10:28:55.177Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-05-24T10:28:55.177Z] (57/73) Installing libvpx (1.10.0-r0) [2022-05-24T10:28:55.177Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-05-24T10:28:55.177Z] (59/73) Installing libwebp (1.2.2-r0) [2022-05-24T10:28:55.177Z] (60/73) Installing x264-libs (20210613-r0) [2022-05-24T10:28:55.177Z] (61/73) Installing x265-libs (3.5-r0) [2022-05-24T10:28:55.177Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-05-24T10:28:55.177Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-05-24T10:28:55.177Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-05-24T10:28:55.177Z] (65/73) Installing udev-init-scripts (35-r0) [2022-05-24T10:28:55.177Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T10:28:55.177Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T10:28:55.177Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-05-24T10:28:55.177Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-05-24T10:28:55.177Z] (69/73) Installing kmod-libs (29-r2) [2022-05-24T10:28:55.177Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-05-24T10:28:55.177Z] (71/73) Installing libsodium (1.0.18-r0) [2022-05-24T10:28:55.177Z] (72/73) Installing libzmq (4.3.4-r0) [2022-05-24T10:28:55.177Z] (73/73) Installing zeromq (4.3.4-r0) [2022-05-24T10:28:55.177Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T10:28:55.177Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T10:28:55.177Z] OK: 67 MiB in 87 packages [2022-05-24T10:28:56.153Z] Removing intermediate container 2e9267797b24 [2022-05-24T10:28:56.153Z] ---> ae9dcdaec665 [2022-05-24T10:28:56.153Z] Step 17/29 : WORKDIR / [2022-05-24T10:28:56.153Z] ---> Running in cb2de57ab93f [2022-05-24T10:28:56.426Z] Removing intermediate container cb2de57ab93f [2022-05-24T10:28:56.426Z] ---> 840f101af146 [2022-05-24T10:28:56.426Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-24T10:28:57.864Z] ---> 5465207e8b8d [2022-05-24T10:28:57.864Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-24T10:28:58.461Z] ---> 5b91653fd296 [2022-05-24T10:28:58.461Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-24T10:28:59.062Z] ---> 1892866b620a [2022-05-24T10:28:59.062Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-24T10:28:59.657Z] ---> 97d5a1710541 [2022-05-24T10:28:59.657Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-24T10:29:00.258Z] ---> 26818b9a6e9e [2022-05-24T10:29:00.258Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-24T10:29:01.253Z] ---> 5385ab939589 [2022-05-24T10:29:01.253Z] Step 24/29 : EXPOSE 59983 [2022-05-24T10:29:01.253Z] ---> Running in 27a0b7fb72c2 [2022-05-24T10:29:01.850Z] Removing intermediate container 27a0b7fb72c2 [2022-05-24T10:29:01.850Z] ---> 1b9d1622c3a9 [2022-05-24T10:29:01.850Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-24T10:29:01.850Z] ---> Running in 340bc17688dc [2022-05-24T10:29:02.122Z] Removing intermediate container 340bc17688dc [2022-05-24T10:29:02.122Z] ---> 8bef490cc61e [2022-05-24T10:29:02.122Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-24T10:29:02.122Z] ---> Running in 5c97ff3e3b6c [2022-05-24T10:29:02.396Z] Removing intermediate container 5c97ff3e3b6c [2022-05-24T10:29:02.396Z] ---> d7ada02c2d97 [2022-05-24T10:29:02.396Z] Step 27/29 : LABEL arch=arm64 [2022-05-24T10:29:02.396Z] ---> Running in 905ce20fada0 [2022-05-24T10:29:02.667Z] Removing intermediate container 905ce20fada0 [2022-05-24T10:29:02.667Z] ---> 5b8d4880f7f0 [2022-05-24T10:29:02.667Z] Step 28/29 : LABEL git_sha=8335b304f069749f7ac9f3572061b8c8386e1043 [2022-05-24T10:29:02.940Z] ---> Running in 293c80f1c121 [2022-05-24T10:29:03.214Z] Removing intermediate container 293c80f1c121 [2022-05-24T10:29:03.214Z] ---> 40daf5161a2c [2022-05-24T10:29:03.214Z] Step 29/29 : LABEL version=0.0.0 [2022-05-24T10:29:03.214Z] ---> Running in 01a942ce713e [2022-05-24T10:29:03.485Z] Removing intermediate container 01a942ce713e [2022-05-24T10:29:03.485Z] ---> 6577ccd1dab5 [2022-05-24T10:29:03.485Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T10:29:03.485Z] Successfully built 6577ccd1dab5 [2022-05-24T10:29:03.485Z] 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-24T10:29:04.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:29:04.134Z] [2022-05-24T10:29:04.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:29:04.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:29:04.801Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-24T10:29:04.801Z] 8998bd30e6a1: Pulling fs layer [2022-05-24T10:29:04.801Z] 04944245beec: Pulling fs layer [2022-05-24T10:29:04.801Z] 699f458cf7ca: Pulling fs layer [2022-05-24T10:29:04.801Z] 765212b225bb: Pulling fs layer [2022-05-24T10:29:04.801Z] f23df028b6ca: Pulling fs layer [2022-05-24T10:29:04.801Z] d65c8cfc05b1: Pulling fs layer [2022-05-24T10:29:04.801Z] 2437ff75d9bd: Pulling fs layer [2022-05-24T10:29:04.801Z] f23df028b6ca: Waiting [2022-05-24T10:29:04.801Z] d65c8cfc05b1: Waiting [2022-05-24T10:29:04.801Z] 2437ff75d9bd: Waiting [2022-05-24T10:29:04.801Z] 765212b225bb: Waiting [2022-05-24T10:29:04.801Z] 04944245beec: Verifying Checksum [2022-05-24T10:29:04.801Z] 04944245beec: Download complete [2022-05-24T10:29:04.801Z] 765212b225bb: Verifying Checksum [2022-05-24T10:29:04.801Z] 765212b225bb: Download complete [2022-05-24T10:29:04.801Z] f23df028b6ca: Verifying Checksum [2022-05-24T10:29:04.801Z] f23df028b6ca: Download complete [2022-05-24T10:29:04.801Z] d65c8cfc05b1: Verifying Checksum [2022-05-24T10:29:04.801Z] d65c8cfc05b1: Download complete [2022-05-24T10:29:05.077Z] 699f458cf7ca: Verifying Checksum [2022-05-24T10:29:05.077Z] 699f458cf7ca: Download complete [2022-05-24T10:29:05.351Z] 8998bd30e6a1: Verifying Checksum [2022-05-24T10:29:05.351Z] 8998bd30e6a1: Download complete [2022-05-24T10:29:07.978Z] 2437ff75d9bd: Verifying Checksum [2022-05-24T10:29:07.978Z] 2437ff75d9bd: Download complete [2022-05-24T10:29:09.421Z] 8998bd30e6a1: Pull complete [2022-05-24T10:29:10.018Z] 04944245beec: Pull complete [2022-05-24T10:29:11.457Z] 699f458cf7ca: Pull complete [2022-05-24T10:29:11.733Z] 765212b225bb: Pull complete [2022-05-24T10:29:12.330Z] f23df028b6ca: Pull complete [2022-05-24T10:29:12.604Z] d65c8cfc05b1: Pull complete [2022-05-24T10:29:27.691Z] 2437ff75d9bd: Pull complete [2022-05-24T10:29:27.691Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-24T10:29:27.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:29:27.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-24T10:29:27.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container [2022-05-24T10:29:28.007Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-24T10:29:30.466Z] $ docker top 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:31.448Z] ---> job-cost.sh [2022-05-24T10:29:31.448Z] lf-activate-venv: SKIPPING [2022-05-24T10:29:31.448Z] INFO: No Stack... [2022-05-24T10:29:31.720Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-24T10:29:32.693Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T10:29:33.403Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-05-24T10:29:33.404Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T10:29:33.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [2022-05-24T10:29:33.497Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] did not exist. Created. [2022-05-24T10:29:33.497Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T10:29:34.288Z] /w/workspace/device-usb-camera/1@tmp/durable-8f621f4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-24T10:29:35.000Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-24T10:29:35.033Z] Warning: overwriting stash ‘stack-cost’ [2022-05-24T10:29:35.074Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T10:29:35.088Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T10:29:35.154Z] $ docker stop --time=1 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 [2022-05-24T10:29:36.656Z] $ docker rm -f 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 [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-24T10:29:37.662Z] provisioning config files... [2022-05-24T10:29:37.672Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config3351258302841820263tmp [Pipeline] { [Pipeline] sh [2022-05-24T10:29:38.002Z] + set +x [2022-05-24T10:29:38.002Z] + curl -s https://codecov.io/bash [2022-05-24T10:29:38.002Z] + bash -s -- [2022-05-24T10:29:38.002Z] [2022-05-24T10:29:38.002Z] _____ _ [2022-05-24T10:29:38.002Z] / ____| | | [2022-05-24T10:29:38.002Z] | | ___ __| | ___ ___ _____ __ [2022-05-24T10:29:38.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-24T10:29:38.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-24T10:29:38.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-24T10:29:38.002Z] Bash-1.0.6 [2022-05-24T10:29:38.002Z] [2022-05-24T10:29:38.002Z] [2022-05-24T10:29:38.002Z] ==> git version 2.25.1 found [2022-05-24T10:29:38.002Z] ==> 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-24T10:29:38.002Z] Release-Date: 2020-01-08 [2022-05-24T10:29:38.002Z] 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-24T10:29:38.002Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-24T10:29:38.002Z] ==> Jenkins CI detected. [2022-05-24T10:29:38.002Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-36 [2022-05-24T10:29:38.002Z] project root: . [2022-05-24T10:29:38.002Z] --> token set from env [2022-05-24T10:29:38.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-24T10:29:38.002Z] ==> Running gcov in . (disable via -X gcov) [2022-05-24T10:29:38.002Z] ==> Python coveragepy not found [2022-05-24T10:29:38.002Z] ==> Searching for coverage reports in: [2022-05-24T10:29:38.002Z] + . [2022-05-24T10:29:38.002Z] -> Found 1 reports [2022-05-24T10:29:38.002Z] ==> Detecting git/mercurial file structure [2022-05-24T10:29:38.002Z] ==> Reading reports [2022-05-24T10:29:38.002Z] + ./coverage.out bytes=10 [2022-05-24T10:29:38.002Z] ==> Appending adjustments [2022-05-24T10:29:38.002Z] https://docs.codecov.io/docs/fixing-reports [2022-05-24T10:29:38.262Z] + Found adjustments [2022-05-24T10:29:38.262Z] ==> Gzipping contents [2022-05-24T10:29:38.262Z] 4.0K /tmp/codecov.3kQ4LM.gz [2022-05-24T10:29:38.262Z] ==> Uploading reports [2022-05-24T10:29:38.262Z] url: https://codecov.io [2022-05-24T10:29:38.262Z] query: branch=PR-36&commit=8335b304f069749f7ac9f3572061b8c8386e1043&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=36&job=&cmd_args= [2022-05-24T10:29:38.262Z] -> Pinging Codecov [2022-05-24T10:29:38.262Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-36&commit=8335b304f069749f7ac9f3572061b8c8386e1043&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=36&job=&cmd_args= [2022-05-24T10:29:38.523Z] -> Uploading to [2022-05-24T10:29:38.523Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/8335b304f069749f7ac9f3572061b8c8386e1043/9e03b567-cdfa-408b-848f-beb084845636.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T102938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8dc7e75719c98c5621352bba85580c3ca08ecda1ec4e17d5932bc89370046dc0 [2022-05-24T10:29:38.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T10:29:38.523Z] Dload Upload Total Spent Left Speed [2022-05-24T10:29:38.784Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1007 0 0 100 1007 0 4436 --:--:-- --:--:-- --:--:-- 4416 100 1007 0 0 100 1007 0 4436 --:--:-- --:--:-- --:--:-- 4416 [2022-05-24T10:29:38.784Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] } [2022-05-24T10:29:38.811Z] 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-24T10:29:40.633Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-36/archives ] [2022-05-24T10:29:40.633Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-36/archives [2022-05-24T10:29:40.633Z] total 16 [2022-05-24T10:29:40.633Z] drwxr-xr-x 3 root root 4096 May 24 10:23 . [2022-05-24T10:29:40.633Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 10:23 .. [2022-05-24T10:29:40.633Z] drwxr-xr-x 2 root root 4096 May 24 10:23 cost [2022-05-24T10:29:40.633Z] -rw-r--r-- 1 root root 87 May 24 10:23 cost.csv [2022-05-24T10:29:40.633Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-36/archives [2022-05-24T10:29:40.633Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-36/archives [2022-05-24T10:29:40.633Z] total 16 [2022-05-24T10:29:40.633Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:23 . [2022-05-24T10:29:40.633Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 10:23 .. [2022-05-24T10:29:40.633Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 10:23 cost [2022-05-24T10:29:40.633Z] -rw-r--r-- 1 jenkins jenkins 87 May 24 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:40.963Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:41.857Z] ---> package-listing.sh [2022-05-24T10:29:41.857Z] ++ facter osfamily [2022-05-24T10:29:41.857Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-24T10:29:42.120Z] + OS_FAMILY=debian [2022-05-24T10:29:42.120Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-36 [2022-05-24T10:29:42.120Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-24T10:29:42.120Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-24T10:29:42.120Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-24T10:29:42.120Z] + PACKAGES=/tmp/packages_start.txt [2022-05-24T10:29:42.120Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-36 ']' [2022-05-24T10:29:42.120Z] + PACKAGES=/tmp/packages_end.txt [2022-05-24T10:29:42.120Z] + case "${OS_FAMILY}" in [2022-05-24T10:29:42.120Z] + dpkg -l [2022-05-24T10:29:42.120Z] + grep '^ii' [2022-05-24T10:29:42.120Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-24T10:29:42.120Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-24T10:29:42.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-24T10:29:42.120Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-36 ']' [2022-05-24T10:29:42.120Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-36/archives/ [2022-05-24T10:29:42.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-36/archives/ [Pipeline] echo [2022-05-24T10:29:42.162Z] 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-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-24T10:29:42.457Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:29:43.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:29:43.037Z] . [Pipeline] withDockerContainer [2022-05-24T10:29:43.120Z] prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container [2022-05-24T10:29:43.160Z] $ 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-36/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-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T10:29:43.388Z] $ docker top c3900b61f0d4a6663bc3b17234b08e6b018e209d57541127f5c7d4ab0a5c01be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:29:43.777Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-24T10:29:44.084Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-24T10:29:44.400Z] + ls /var/log/sa-host [2022-05-24T10:29:44.400Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:29:44.669Z] provisioning config files... [2022-05-24T10:29:44.679Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config3872456991778247594tmp [Pipeline] { [Pipeline] echo [2022-05-24T10:29:44.720Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:45.055Z] ---> create-netrc.sh [Pipeline] } [2022-05-24T10:29:45.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:45.500Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-24T10:29:45.537Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:45.858Z] ---> sudo-logs.sh [2022-05-24T10:29:45.858Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-24T10:29:45.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:46.270Z] ---> job-cost.sh [2022-05-24T10:29:46.270Z] lf-activate-venv: SKIPPING [2022-05-24T10:29:46.270Z] DEBUG: total: 0.2199999988079071 [2022-05-24T10:29:46.270Z] INFO: Retrieving Stack Cost... [2022-05-24T10:29:46.843Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T10:29:47.104Z] INFO: Archiving Costs [Pipeline] echo [2022-05-24T10:29:47.137Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:29:47.444Z] ---> logs-deploy.sh [2022-05-24T10:29:47.444Z] lf-activate-venv: SKIPPING [2022-05-24T10:29:47.444Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-36/1 [2022-05-24T10:29:47.444Z] INFO: archiving workspace using pattern(s): [2022-05-24T10:29:48.382Z] Archives upload complete. [2022-05-24T10:29:48.643Z] INFO: archiving logs to Nexus