Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from dc09ffe97bc55e90baf0e05a798d3bb200093721+64a0158ebb7ef051a7494343a06668853522f3e5 (a190064c8f8d8769b3887090e33960a4fa755293) 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-ssh6677887568224685881.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-ssh6865613105139284157.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3749952738764048331.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 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-ssh16877037541652786489.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh135625654229396925.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-64171 in /w/workspace/xfoundry_device-usb-camera_PR-27 [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-27 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64a0158ebb7ef051a7494343a06668853522f3e5 into PR head commit dc09ffe97bc55e90baf0e05a798d3bb200093721 Merge succeeded, producing c9c9139f78799d6580d2592f90bd4161b900c8f4 Checking out Revision c9c9139f78799d6580d2592f90bd4161b900c8f4 (PR-27) > git config core.sparsecheckout # timeout=10 > git checkout -f dc09ffe97bc55e90baf0e05a798d3bb200093721 # 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 64a0158ebb7ef051a7494343a06668853522f3e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c9139f78799d6580d2592f90bd4161b900c8f4 # timeout=10 Commit message: "Merge commit '64a0158ebb7ef051a7494343a06668853522f3e5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-20T08:18:36.445Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-20T08:18:36.518Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-20T08:18:36.529Z] ========================================================= [2022-05-20T08:18:36.529Z] EdgeX Global Pipelines Version Info [2022-05-20T08:18:36.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 519f62bd87c314018f0e88f98d3e7a0626f7fd6b # timeout=10 [2022-05-20T08:18:37.321Z] ------------------- [2022-05-20T08:18:37.321Z] stable info: [2022-05-20T08:18:37.321Z] ------------------- [2022-05-20T08:18:37.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T08:18:37.321Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T08:18:37.321Z] Message: update stable to v1.0.230 [2022-05-20T08:18:37.894Z] ------------------- [2022-05-20T08:18:37.894Z] experimental info: [2022-05-20T08:18:37.894Z] ------------------- [2022-05-20T08:18:37.894Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T08:18:37.894Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T08:18:37.894Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-20T08:18:38.034Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-20T08:18:38.046Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-20T08:18:38.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-20T08:18:38.072Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-20T08:18:38.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-20T08:18:38.095Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-20T08:18:38.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-20T08:18:38.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-20T08:18:38.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-20T08:18:38.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-20T08:18:38.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-20T08:18:38.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-20T08:18:38.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-20T08:18:38.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-20T08:18:38.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-20T08:18:38.232Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-20T08:18:38.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T08:18:38.261Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T08:18:38.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-20T08:18:38.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-20T08:18:38.311Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-20T08:18:38.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-20T08:18:38.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-20T08:18:38.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-20T08:18:38.362Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-20T08:18:38.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-20T08:18:38.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo [2022-05-20T08:18:38.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo [2022-05-20T08:18:38.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo [2022-05-20T08:18:38.436Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9c9139f78799d6580d2592f90bd4161b900c8f4 [Pipeline] echo [2022-05-20T08:18:38.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9c9139 [Pipeline] echo [2022-05-20T08:18:38.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T08:18:38.505Z] provisioning config files... [2022-05-20T08:18:38.522Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config2933510052874139731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:18:38.837Z] ---> docker-login.sh [2022-05-20T08:18:38.837Z] nexus3.edgexfoundry.org:10001 [2022-05-20T08:18:39.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:39.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:39.100Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:39.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:39.100Z] [2022-05-20T08:18:39.100Z] Login Succeeded [2022-05-20T08:18:39.100Z] nexus3.edgexfoundry.org:10002 [2022-05-20T08:18:39.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:39.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:39.363Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:39.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:39.363Z] [2022-05-20T08:18:39.363Z] Login Succeeded [2022-05-20T08:18:39.363Z] nexus3.edgexfoundry.org:10003 [2022-05-20T08:18:39.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:39.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:39.627Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:39.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:39.627Z] [2022-05-20T08:18:39.627Z] Login Succeeded [2022-05-20T08:18:39.627Z] nexus3.edgexfoundry.org:10004 [2022-05-20T08:18:39.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:39.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:39.627Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:39.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:39.627Z] [2022-05-20T08:18:39.627Z] Login Succeeded [2022-05-20T08:18:39.627Z] docker.io [2022-05-20T08:18:39.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:40.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:40.205Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:40.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:40.205Z] [2022-05-20T08:18:40.205Z] Login Succeeded [2022-05-20T08:18:40.205Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T08:18:40.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-20T08:18:40.601Z] + git rev-list -1 --merges c9c9139f78799d6580d2592f90bd4161b900c8f4~1..c9c9139f78799d6580d2592f90bd4161b900c8f4 [Pipeline] echo [2022-05-20T08:18:40.635Z] -----------> git rev-list -1 --merges c9c9139f78799d6580d2592f90bd4161b900c8f4~1..c9c9139f78799d6580d2592f90bd4161b900c8f4 c9c9139f78799d6580d2592f90bd4161b900c8f4 [2022-05-20T08:18:40.635Z] c9c9139f78799d6580d2592f90bd4161b900c8f4 [false] [Pipeline] sh [2022-05-20T08:18:40.932Z] + git log --format=format:%s -1 c9c9139f78799d6580d2592f90bd4161b900c8f4 [Pipeline] echo [2022-05-20T08:18:40.951Z] ========================================================= [2022-05-20T08:18:40.951Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-20T08:18:40.951Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T08:18:41.278Z] + git log --format=format:%s -1 c9c9139f78799d6580d2592f90bd4161b900c8f4 [Pipeline] echo [2022-05-20T08:18:41.292Z] [semverPrep] GIT_COMMIT: c9c9139f78799d6580d2592f90bd4161b900c8f4, Commit Message: Merge commit '64a0158ebb7ef051a7494343a06668853522f3e5' into HEAD [Pipeline] echo [2022-05-20T08:18:41.304Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-20T08:18:41.752Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-20T08:18:41.752Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-20T08:18:41.752Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-20T08:18:41.752Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-20T08:18:41.752Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-20T08:18:41.752Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-20T08:18:41.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:18:42.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T08:18:42.180Z] [2022-05-20T08:18:42.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:18:42.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T08:18:42.490Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-20T08:18:42.490Z] 1fe172e4850f: Pulling fs layer [2022-05-20T08:18:42.490Z] caf521ccaac6: Pulling fs layer [2022-05-20T08:18:42.490Z] 3ead6fa29328: Pulling fs layer [2022-05-20T08:18:42.490Z] 5c2a1cbceb83: Pulling fs layer [2022-05-20T08:18:42.490Z] a8d5f1318db7: Pulling fs layer [2022-05-20T08:18:42.490Z] c427282e49a2: Pulling fs layer [2022-05-20T08:18:42.490Z] 1827001aaf11: Pulling fs layer [2022-05-20T08:18:42.490Z] 0714d37db230: Pulling fs layer [2022-05-20T08:18:42.490Z] ac28cf19c067: Pulling fs layer [2022-05-20T08:18:42.490Z] ca983d60f3e2: Pulling fs layer [2022-05-20T08:18:42.490Z] 9f894cec8388: Pulling fs layer [2022-05-20T08:18:42.490Z] 1827001aaf11: Waiting [2022-05-20T08:18:42.490Z] 0714d37db230: Waiting [2022-05-20T08:18:42.490Z] ca983d60f3e2: Waiting [2022-05-20T08:18:42.490Z] ac28cf19c067: Waiting [2022-05-20T08:18:42.490Z] 9f894cec8388: Waiting [2022-05-20T08:18:42.490Z] 5c2a1cbceb83: Waiting [2022-05-20T08:18:42.490Z] c427282e49a2: Waiting [2022-05-20T08:18:42.490Z] caf521ccaac6: Verifying Checksum [2022-05-20T08:18:42.490Z] caf521ccaac6: Download complete [2022-05-20T08:18:42.490Z] 5c2a1cbceb83: Verifying Checksum [2022-05-20T08:18:42.490Z] 5c2a1cbceb83: Download complete [2022-05-20T08:18:42.752Z] a8d5f1318db7: Verifying Checksum [2022-05-20T08:18:42.752Z] a8d5f1318db7: Download complete [2022-05-20T08:18:42.752Z] 3ead6fa29328: Verifying Checksum [2022-05-20T08:18:42.752Z] 3ead6fa29328: Download complete [2022-05-20T08:18:42.752Z] c427282e49a2: Verifying Checksum [2022-05-20T08:18:42.752Z] c427282e49a2: Download complete [2022-05-20T08:18:42.752Z] 0714d37db230: Verifying Checksum [2022-05-20T08:18:42.752Z] 0714d37db230: Download complete [2022-05-20T08:18:42.752Z] ac28cf19c067: Verifying Checksum [2022-05-20T08:18:42.752Z] ac28cf19c067: Download complete [2022-05-20T08:18:42.752Z] ca983d60f3e2: Verifying Checksum [2022-05-20T08:18:42.752Z] ca983d60f3e2: Download complete [2022-05-20T08:18:42.752Z] 9f894cec8388: Verifying Checksum [2022-05-20T08:18:42.752Z] 9f894cec8388: Download complete [2022-05-20T08:18:42.752Z] 1fe172e4850f: Verifying Checksum [2022-05-20T08:18:42.752Z] 1fe172e4850f: Download complete [2022-05-20T08:18:43.013Z] 1827001aaf11: Verifying Checksum [2022-05-20T08:18:43.013Z] 1827001aaf11: Download complete [2022-05-20T08:18:44.399Z] 1fe172e4850f: Pull complete [2022-05-20T08:18:44.399Z] caf521ccaac6: Pull complete [2022-05-20T08:18:44.971Z] 3ead6fa29328: Pull complete [2022-05-20T08:18:44.971Z] 5c2a1cbceb83: Pull complete [2022-05-20T08:18:45.231Z] a8d5f1318db7: Pull complete [2022-05-20T08:18:45.231Z] c427282e49a2: Pull complete [2022-05-20T08:18:47.157Z] 1827001aaf11: Pull complete [2022-05-20T08:18:47.418Z] 0714d37db230: Pull complete [2022-05-20T08:18:47.418Z] ac28cf19c067: Pull complete [2022-05-20T08:18:47.681Z] ca983d60f3e2: Pull complete [2022-05-20T08:18:47.681Z] 9f894cec8388: Pull complete [2022-05-20T08:18:47.681Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-20T08:18:47.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T08:18:47.681Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-20T08:18:47.767Z] prd-ubuntu20.04-docker-8c-8g-64171 does not seem to be running inside a container [2022-05-20T08:18:47.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@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-devops/py-git-semver:latest cat [2022-05-20T08:18:49.250Z] $ docker top 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 -eo pid,comm [2022-05-20T08:18:49.322Z] 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-20T08:18:49.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-20T08:18:49.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T08:18:49.361Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T08:18:49.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T08:18:49.519Z] $ docker exec 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 ssh-agent [2022-05-20T08:18:49.648Z] SSH_AUTH_SOCK=/tmp/ssh-wts6fWrk4fLE/agent.32 [2022-05-20T08:18:49.648Z] SSH_AGENT_PID=38 [2022-05-20T08:18:49.656Z] Running ssh-add (command line suppressed) [2022-05-20T08:18:49.794Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_4413942725116007803.key (/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_4413942725116007803.key) [2022-05-20T08:18:49.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T08:18:50.101Z] + git tag --points-at HEAD [Pipeline] } [2022-05-20T08:18:50.126Z] $ docker exec --env ******** --env ******** 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 ssh-agent -k [2022-05-20T08:18:50.249Z] unset SSH_AUTH_SOCK; [2022-05-20T08:18:50.249Z] unset SSH_AGENT_PID; [2022-05-20T08:18:50.249Z] echo Agent pid 38 killed; [2022-05-20T08:18:50.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-20T08:18:50.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T08:18:50.281Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T08:18:50.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T08:18:50.426Z] $ docker exec 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 ssh-agent [2022-05-20T08:18:50.549Z] SSH_AUTH_SOCK=/tmp/ssh-h7TkctbtDmXc/agent.72 [2022-05-20T08:18:50.549Z] SSH_AGENT_PID=78 [2022-05-20T08:18:50.556Z] Running ssh-add (command line suppressed) [2022-05-20T08:18:50.686Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_1134234039165241032.key (/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_1134234039165241032.key) [2022-05-20T08:18:50.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T08:18:50.991Z] + git semver init [2022-05-20T08:18:51.251Z] 2022-05-20 08:18:51,195 [run_init] DEBUG init version:0.0.0 force:False [2022-05-20T08:18:51.252Z] 2022-05-20 08:18:51,196 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver [2022-05-20T08:18:51.252Z] 2022-05-20 08:18:51,196 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-27/.semver [2022-05-20T08:18:51.252Z] 2022-05-20 08:18:51,196 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-27/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27, universal_newlines=False, shell=None, istream=None) [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,746 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-27/.git/info/exclude [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,746 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 with force:False [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,747 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,751 [execute] INFO git cat-file --batch-check [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,757 [execute] INFO git cat-file --batch [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T08:18:51.826Z] 2022-05-20 08:18:51,764 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 [2022-05-20T08:18:51.826Z] 0.0.0 [Pipeline] } [2022-05-20T08:18:51.842Z] $ docker exec --env ******** --env ******** 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 ssh-agent -k [2022-05-20T08:18:51.970Z] unset SSH_AUTH_SOCK; [2022-05-20T08:18:51.971Z] unset SSH_AGENT_PID; [2022-05-20T08:18:51.971Z] echo Agent pid 78 killed; [2022-05-20T08:18:51.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-20T08:18:52.294Z] + git semver [Pipeline] } [2022-05-20T08:18:52.576Z] $ docker stop --time=1 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 [2022-05-20T08:18:53.926Z] $ docker rm -f 5e1f0aecadcd14318f454ef62f3bd4faf3fed2c8f609e0dd773f9442d8e3e953 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T08:18:54.290Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-20T08:18:54.556Z] Stashed 1 file(s) [Pipeline] echo [2022-05-20T08:18:54.560Z] [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-20T08:18:54.739Z] provisioning config files... [2022-05-20T08:18:54.749Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config1231174265303859458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:18:55.054Z] ---> docker-login.sh [2022-05-20T08:18:55.054Z] nexus3.edgexfoundry.org:10001 [2022-05-20T08:18:55.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:55.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:55.054Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:55.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:55.054Z] [2022-05-20T08:18:55.054Z] Login Succeeded [2022-05-20T08:18:55.054Z] nexus3.edgexfoundry.org:10002 [2022-05-20T08:18:55.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:55.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:55.316Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:55.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:55.316Z] [2022-05-20T08:18:55.316Z] Login Succeeded [2022-05-20T08:18:55.316Z] nexus3.edgexfoundry.org:10003 [2022-05-20T08:18:55.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:55.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:55.316Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:55.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:55.316Z] [2022-05-20T08:18:55.316Z] Login Succeeded [2022-05-20T08:18:55.316Z] nexus3.edgexfoundry.org:10004 [2022-05-20T08:18:55.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:55.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:55.578Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:55.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:55.578Z] [2022-05-20T08:18:55.578Z] Login Succeeded [2022-05-20T08:18:55.578Z] docker.io [2022-05-20T08:18:55.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T08:18:55.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T08:18:55.839Z] Configure a credential helper to remove this warning. See [2022-05-20T08:18:55.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T08:18:55.839Z] [2022-05-20T08:18:55.839Z] Login Succeeded [2022-05-20T08:18:55.839Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T08:18:55.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-20T08:18:55.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-20T08:18:55.925Z] ========================================================= [2022-05-20T08:18:55.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-20T08:18:55.926Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:18:56.241Z] + 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-20T08:18:56.242Z] Sending build context to Docker daemon 574kB [2022-05-20T08:18:56.242Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T08:18:56.242Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-20T08:18:56.242Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-20T08:18:56.242Z] 59bf1c3509f3: Pulling fs layer [2022-05-20T08:18:56.242Z] 666ba61612fd: Pulling fs layer [2022-05-20T08:18:56.242Z] 8ed8ca486205: Pulling fs layer [2022-05-20T08:18:56.242Z] 4fe6c5a15a65: Pulling fs layer [2022-05-20T08:18:56.242Z] 22a0e8bec74d: Pulling fs layer [2022-05-20T08:18:56.242Z] ca2b28591e48: Pulling fs layer [2022-05-20T08:18:56.242Z] a51346096db8: Pulling fs layer [2022-05-20T08:18:56.242Z] daebc70d1ce1: Pulling fs layer [2022-05-20T08:18:56.242Z] 0e18a0eac166: Pulling fs layer [2022-05-20T08:18:56.242Z] 4fe6c5a15a65: Waiting [2022-05-20T08:18:56.242Z] 22a0e8bec74d: Waiting [2022-05-20T08:18:56.242Z] ca2b28591e48: Waiting [2022-05-20T08:18:56.242Z] a51346096db8: Waiting [2022-05-20T08:18:56.242Z] daebc70d1ce1: Waiting [2022-05-20T08:18:56.242Z] 0e18a0eac166: Waiting [2022-05-20T08:18:56.242Z] 8ed8ca486205: Verifying Checksum [2022-05-20T08:18:56.242Z] 8ed8ca486205: Download complete [2022-05-20T08:18:56.242Z] 666ba61612fd: Verifying Checksum [2022-05-20T08:18:56.242Z] 666ba61612fd: Download complete [2022-05-20T08:18:56.242Z] 22a0e8bec74d: Verifying Checksum [2022-05-20T08:18:56.242Z] 22a0e8bec74d: Download complete [2022-05-20T08:18:56.242Z] ca2b28591e48: Download complete [2022-05-20T08:18:56.242Z] a51346096db8: Verifying Checksum [2022-05-20T08:18:56.242Z] a51346096db8: Download complete [2022-05-20T08:18:56.242Z] 59bf1c3509f3: Verifying Checksum [2022-05-20T08:18:56.242Z] 59bf1c3509f3: Download complete [2022-05-20T08:18:56.503Z] daebc70d1ce1: Verifying Checksum [2022-05-20T08:18:56.503Z] daebc70d1ce1: Download complete [2022-05-20T08:18:56.503Z] 59bf1c3509f3: Pull complete [2022-05-20T08:18:56.765Z] 666ba61612fd: Pull complete [2022-05-20T08:18:56.765Z] 8ed8ca486205: Pull complete [2022-05-20T08:18:57.025Z] 0e18a0eac166: Verifying Checksum [2022-05-20T08:18:57.025Z] 0e18a0eac166: Download complete [2022-05-20T08:18:57.025Z] 4fe6c5a15a65: Verifying Checksum [2022-05-20T08:18:57.025Z] 4fe6c5a15a65: Download complete [2022-05-20T08:19:01.224Z] 4fe6c5a15a65: Pull complete [2022-05-20T08:19:01.224Z] 22a0e8bec74d: Pull complete [2022-05-20T08:19:01.224Z] ca2b28591e48: Pull complete [2022-05-20T08:19:01.224Z] a51346096db8: Pull complete [2022-05-20T08:19:01.485Z] daebc70d1ce1: Pull complete [2022-05-20T08:19:04.036Z] 0e18a0eac166: Pull complete [2022-05-20T08:19:04.036Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-20T08:19:04.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-20T08:19:04.036Z] ---> f018257e8ee9 [2022-05-20T08:19:04.036Z] Step 3/12 : ARG MAKE="make build" [2022-05-20T08:19:04.987Z] ---> Running in 2d6ba77e34ed [2022-05-20T08:19:04.987Z] Removing intermediate container 2d6ba77e34ed [2022-05-20T08:19:04.987Z] ---> 1e5007220344 [2022-05-20T08:19:04.987Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T08:19:04.987Z] ---> Running in e6223d20e7cc [2022-05-20T08:19:05.250Z] Removing intermediate container e6223d20e7cc [2022-05-20T08:19:05.250Z] ---> 2710f557efd4 [2022-05-20T08:19:05.250Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T08:19:05.250Z] ---> Running in 1b5180de0417 [2022-05-20T08:19:05.250Z] Removing intermediate container 1b5180de0417 [2022-05-20T08:19:05.250Z] ---> a309ade94a4b [2022-05-20T08:19:05.250Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T08:19:05.511Z] ---> Running in a7c19e660cc9 [2022-05-20T08:19:06.080Z] Removing intermediate container a7c19e660cc9 [2022-05-20T08:19:06.080Z] ---> e1cd9fbddc92 [2022-05-20T08:19:06.080Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T08:19:06.080Z] ---> Running in 762fd8e3a5f6 [2022-05-20T08:19:06.341Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T08:19:07.298Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T08:19:07.299Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-20T08:19:07.559Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-20T08:19:07.559Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-20T08:19:07.559Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-20T08:19:07.820Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-20T08:19:07.820Z] (6/81) Installing libxcb (1.14-r2) [2022-05-20T08:19:07.820Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-20T08:19:08.080Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-20T08:19:08.080Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-20T08:19:08.080Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-20T08:19:08.341Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-20T08:19:08.341Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-20T08:19:08.341Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-20T08:19:08.602Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-20T08:19:08.602Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-20T08:19:08.602Z] (16/81) Installing libice (1.0.10-r0) [2022-05-20T08:19:08.864Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-20T08:19:08.864Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-20T08:19:08.864Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-20T08:19:09.124Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-20T08:19:09.124Z] (21/81) Installing xset (1.2.4-r0) [2022-05-20T08:19:09.124Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-20T08:19:09.385Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-20T08:19:09.385Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-20T08:19:09.385Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-20T08:19:09.646Z] (26/81) Installing libintl (0.21-r0) [2022-05-20T08:19:09.646Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-20T08:19:09.646Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-20T08:19:09.684Z] Still waiting to schedule task [2022-05-20T08:19:09.684Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-20T08:19:09.907Z] (29/81) Installing pcre (8.45-r1) [2022-05-20T08:19:09.907Z] (30/81) Installing glib (2.70.1-r0) [2022-05-20T08:19:09.907Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-20T08:19:10.869Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-20T08:19:10.869Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-20T08:19:11.133Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-20T08:19:11.133Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-20T08:19:11.392Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-20T08:19:11.392Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-20T08:19:11.392Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-20T08:19:11.654Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-20T08:19:11.915Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-20T08:19:11.915Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-20T08:19:11.915Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-20T08:19:12.176Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-20T08:19:12.176Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-20T08:19:12.438Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-20T08:19:12.438Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-20T08:19:12.438Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-20T08:19:12.699Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-20T08:19:12.699Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-20T08:19:12.699Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-20T08:19:12.960Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-20T08:19:12.960Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-20T08:19:12.960Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-20T08:19:13.220Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-20T08:19:13.221Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-20T08:19:13.488Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-20T08:19:13.488Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-20T08:19:13.488Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-20T08:19:13.749Z] (59/81) Installing cups-libs (2.3.3-r5) [2022-05-20T08:19:13.749Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-20T08:19:13.749Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-20T08:19:14.010Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-20T08:19:14.010Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-20T08:19:14.010Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T08:19:14.272Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-20T08:19:14.272Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T08:19:14.272Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-20T08:19:14.534Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-20T08:19:14.534Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-20T08:19:14.534Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-20T08:19:14.795Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-20T08:19:14.795Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-20T08:19:14.795Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-20T08:19:15.368Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T08:19:15.368Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-20T08:19:15.629Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-20T08:19:15.629Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T08:19:15.629Z] (77/81) Installing kmod-libs (29-r2) [2022-05-20T08:19:15.629Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-20T08:19:15.892Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-20T08:19:15.892Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-20T08:19:15.892Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-20T08:19:16.153Z] Executing busybox-1.34.1-r3.trigger [2022-05-20T08:19:16.153Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T08:19:16.153Z] OK: 335 MiB in 133 packages [2022-05-20T08:19:18.696Z] Removing intermediate container 762fd8e3a5f6 [2022-05-20T08:19:18.696Z] ---> 7abb6b29f2e3 [2022-05-20T08:19:18.696Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-20T08:19:18.696Z] ---> Running in 3610c52a9647 [2022-05-20T08:19:18.696Z] Removing intermediate container 3610c52a9647 [2022-05-20T08:19:18.696Z] ---> 99f00c0c595c [2022-05-20T08:19:18.696Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-20T08:19:18.696Z] ---> 7ccbd987fae7 [2022-05-20T08:19:18.696Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T08:19:18.696Z] ---> Running in 038513e09f73 [2022-05-20T08:19:33.622Z] Removing intermediate container 038513e09f73 [2022-05-20T08:19:33.622Z] ---> 4d0b6dae3d2f [2022-05-20T08:19:33.622Z] Step 11/12 : COPY . . [2022-05-20T08:19:33.622Z] ---> a895e9089409 [2022-05-20T08:19:33.622Z] Step 12/12 : RUN ${MAKE} [2022-05-20T08:19:33.622Z] ---> Running in 6c331eb56095 [2022-05-20T08:19:33.622Z] noop [2022-05-20T08:19:34.201Z] Removing intermediate container 6c331eb56095 [2022-05-20T08:19:34.201Z] ---> aa6e052bdca9 [2022-05-20T08:19:34.201Z] Successfully built aa6e052bdca9 [2022-05-20T08:19:34.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:19:34.508Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T08:19:34.508Z] . [Pipeline] withDockerContainer [2022-05-20T08:19:34.585Z] prd-ubuntu20.04-docker-8c-8g-64171 does not seem to be running inside a container [2022-05-20T08:19:34.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-20T08:19:35.032Z] $ docker top 4f62a0c25d8cf41a83ae66164958ede4fb18cb2cd53da8a5a6f2782ea9189c6d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T08:19:35.399Z] + go version [2022-05-20T08:19:35.399Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-20T08:19:35.417Z] $ docker stop --time=1 4f62a0c25d8cf41a83ae66164958ede4fb18cb2cd53da8a5a6f2782ea9189c6d [2022-05-20T08:19:36.767Z] $ docker rm -f 4f62a0c25d8cf41a83ae66164958ede4fb18cb2cd53da8a5a6f2782ea9189c6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:19:37.194Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T08:19:37.194Z] . [Pipeline] withDockerContainer [2022-05-20T08:19:37.264Z] prd-ubuntu20.04-docker-8c-8g-64171 does not seem to be running inside a container [2022-05-20T08:19:37.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-20T08:19:37.708Z] $ docker top fc17756ee99a50d7823a5f02ab4ce41ac01521f9e6c45879d7b5fb46091fe5a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-20T08:19:38.148Z] + make test [2022-05-20T08:19:38.149Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-20T08:19:38.434Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-20T08:19:48.425Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-20T08:19:48.425Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-20T08:19:56.558Z] CGO_ENABLED=1 go vet ./... [2022-05-20T08:19:59.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-20T08:19:59.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-20T08:19:59.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-20T08:20:00.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-20T08:20:00.461Z] $ docker stop --time=1 fc17756ee99a50d7823a5f02ab4ce41ac01521f9e6c45879d7b5fb46091fe5a2 [2022-05-20T08:20:02.249Z] $ docker rm -f fc17756ee99a50d7823a5f02ab4ce41ac01521f9e6c45879d7b5fb46091fe5a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T08:20:02.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-20T08:20:02.755Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-20T08:20:03.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-20T08:20:03.725Z] + ls -al . [2022-05-20T08:20:03.725Z] total 164 [2022-05-20T08:20:03.725Z] drwxrwxr-x 9 jenkins jenkins 4096 May 20 08:20 . [2022-05-20T08:20:03.725Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 08:18 .. [2022-05-20T08:20:03.725Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 08:18 .git [2022-05-20T08:20:03.725Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:18 .github [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 349 May 20 08:18 .gitignore [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 42 May 20 08:18 .golangci.yml [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 08:18 .hadolint.yml [2022-05-20T08:20:03.725Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 08:18 .semver [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 8796 May 20 08:18 Attribution.txt [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 181 May 20 08:18 CHANGELOG.md [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 20 08:18 Dockerfile [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 08:18 GOVERNANCE.md [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 08:18 Jenkinsfile [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 08:18 LICENSE [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 1641 May 20 08:18 Makefile [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 08:18 OWNERS.md [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 8960 May 20 08:18 README.md [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 08:18 VERSION [2022-05-20T08:20:03.725Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:18 bin [2022-05-20T08:20:03.725Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:18 cmd [2022-05-20T08:20:03.725Z] -rw-r--r-- 1 jenkins jenkins 10 May 20 08:19 coverage.out [2022-05-20T08:20:03.725Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:18 docker-compose [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 08:18 docker-entrypoint.sh [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 20 08:18 go.mod [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 20 08:18 go.sum [2022-05-20T08:20:03.725Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:18 internal [2022-05-20T08:20:03.725Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 08:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:20:04.023Z] + 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=c9c9139f78799d6580d2592f90bd4161b900c8f4 --label arch=amd64 --label version=0.0.0 . [2022-05-20T08:20:04.023Z] Sending build context to Docker daemon 575kB [2022-05-20T08:20:04.023Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-20T08:20:04.023Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-20T08:20:04.023Z] ---> aa6e052bdca9 [2022-05-20T08:20:04.023Z] Step 3/29 : ARG MAKE="make build" [2022-05-20T08:20:04.023Z] ---> Running in 398e5e93483d [2022-05-20T08:20:04.285Z] Removing intermediate container 398e5e93483d [2022-05-20T08:20:04.285Z] ---> 8f9a76180c38 [2022-05-20T08:20:04.285Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-20T08:20:04.285Z] ---> Running in 9f17d873bdd7 [2022-05-20T08:20:04.285Z] Removing intermediate container 9f17d873bdd7 [2022-05-20T08:20:04.285Z] ---> d9092ab2bf93 [2022-05-20T08:20:04.285Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-20T08:20:04.285Z] ---> Running in c756982d9333 [2022-05-20T08:20:04.544Z] Removing intermediate container c756982d9333 [2022-05-20T08:20:04.544Z] ---> cb670afd0a1e [2022-05-20T08:20:04.544Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T08:20:04.544Z] ---> Running in 508e9c8fa569 [2022-05-20T08:20:05.114Z] Removing intermediate container 508e9c8fa569 [2022-05-20T08:20:05.114Z] ---> a2dbb3cda1c9 [2022-05-20T08:20:05.114Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-20T08:20:05.114Z] ---> Running in c8bceebb725b [2022-05-20T08:20:05.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T08:20:06.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T08:20:06.585Z] OK: 335 MiB in 133 packages [2022-05-20T08:20:07.160Z] Removing intermediate container c8bceebb725b [2022-05-20T08:20:07.160Z] ---> 6c37e867f4d5 [2022-05-20T08:20:07.160Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-20T08:20:07.160Z] ---> Running in 0dd59aa5109b [2022-05-20T08:20:07.160Z] Removing intermediate container 0dd59aa5109b [2022-05-20T08:20:07.160Z] ---> e4584b6d14c1 [2022-05-20T08:20:07.160Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-20T08:20:07.422Z] ---> 64a2b009565a [2022-05-20T08:20:07.422Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T08:20:07.422Z] ---> Running in 67a5c7b73fe1 [2022-05-20T08:20:07.993Z] Removing intermediate container 67a5c7b73fe1 [2022-05-20T08:20:07.993Z] ---> 19d27feb1f65 [2022-05-20T08:20:07.993Z] Step 11/29 : COPY . . [2022-05-20T08:20:08.253Z] ---> 7497bede6494 [2022-05-20T08:20:08.253Z] Step 12/29 : RUN ${MAKE} [2022-05-20T08:20:08.253Z] ---> Running in 1febe5aa9e76 [2022-05-20T08:20:08.515Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd [2022-05-20T08:20:23.426Z] Removing intermediate container 1febe5aa9e76 [2022-05-20T08:20:23.426Z] ---> 357186166b97 [2022-05-20T08:20:23.426Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-20T08:20:23.426Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-20T08:20:23.426Z] af6660deedbd: Pulling fs layer [2022-05-20T08:20:23.426Z] 97cd0a44c592: Pulling fs layer [2022-05-20T08:20:23.426Z] 97cd0a44c592: Download complete [2022-05-20T08:20:23.426Z] af6660deedbd: Verifying Checksum [2022-05-20T08:20:23.426Z] af6660deedbd: Download complete [2022-05-20T08:20:23.426Z] af6660deedbd: Pull complete [2022-05-20T08:20:23.426Z] 97cd0a44c592: Pull complete [2022-05-20T08:20:23.426Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-20T08:20:23.426Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-20T08:20:23.426Z] ---> fea57e182299 [2022-05-20T08:20:23.426Z] Step 14/29 : FROM alpine:3.15 [2022-05-20T08:20:23.688Z] 3.15: Pulling from library/alpine [2022-05-20T08:20:23.688Z] df9b9388f04a: Pulling fs layer [2022-05-20T08:20:23.949Z] df9b9388f04a: Download complete [2022-05-20T08:20:23.949Z] df9b9388f04a: Pull complete [2022-05-20T08:20:24.210Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-20T08:20:24.210Z] Status: Downloaded newer image for alpine:3.15 [2022-05-20T08:20:24.210Z] ---> 0ac33e5f5afa [2022-05-20T08:20:24.210Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-20T08:20:24.210Z] ---> Running in f1a5c7440d8e [2022-05-20T08:20:24.210Z] Removing intermediate container f1a5c7440d8e [2022-05-20T08:20:24.210Z] ---> 6c8563917867 [2022-05-20T08:20:24.210Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-20T08:20:24.475Z] ---> Running in 24c5023dc674 [2022-05-20T08:20:24.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T08:20:24.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T08:20:24.998Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-20T08:20:24.998Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-20T08:20:24.998Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-20T08:20:24.998Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-20T08:20:24.998Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-20T08:20:24.998Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-20T08:20:24.998Z] (7/74) Installing libxcb (1.14-r2) [2022-05-20T08:20:24.998Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-20T08:20:24.998Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-20T08:20:24.998Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-20T08:20:24.998Z] (11/74) Installing expat (2.4.7-r0) [2022-05-20T08:20:24.998Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-20T08:20:24.998Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-20T08:20:24.998Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-20T08:20:24.998Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-20T08:20:24.998Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-20T08:20:24.998Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-20T08:20:25.260Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-20T08:20:25.260Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-20T08:20:25.260Z] (20/74) Installing libintl (0.21-r0) [2022-05-20T08:20:25.260Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-20T08:20:25.260Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-20T08:20:25.260Z] (23/74) Installing pcre (8.45-r1) [2022-05-20T08:20:25.260Z] (24/74) Installing glib (2.70.1-r0) [2022-05-20T08:20:25.260Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-20T08:20:25.260Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-20T08:20:25.260Z] (27/74) Installing libass (0.15.2-r0) [2022-05-20T08:20:25.260Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-20T08:20:25.260Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-20T08:20:25.260Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-20T08:20:25.260Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-20T08:20:25.260Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-20T08:20:25.260Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-20T08:20:25.260Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-20T08:20:25.260Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-20T08:20:25.260Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-20T08:20:25.260Z] (37/74) Installing lame (3.100-r0) [2022-05-20T08:20:25.260Z] (38/74) Installing opus (1.3.1-r1) [2022-05-20T08:20:25.260Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-20T08:20:25.260Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-20T08:20:25.260Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-20T08:20:25.260Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-20T08:20:25.260Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-20T08:20:25.523Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-20T08:20:25.523Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-20T08:20:25.523Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-20T08:20:25.523Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-20T08:20:25.523Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-20T08:20:25.523Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-20T08:20:25.523Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-20T08:20:25.523Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-20T08:20:25.523Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-20T08:20:25.523Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-20T08:20:25.523Z] (54/74) Installing libva (2.13.0-r0) [2022-05-20T08:20:25.523Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-20T08:20:25.523Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-20T08:20:25.523Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-20T08:20:25.523Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-20T08:20:25.523Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-20T08:20:25.523Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-20T08:20:25.523Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-20T08:20:25.523Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-20T08:20:25.785Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-20T08:20:25.785Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-20T08:20:25.785Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-20T08:20:25.785Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-20T08:20:25.785Z] Executing udev-init-scripts-35-r0.post-install [2022-05-20T08:20:25.785Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-20T08:20:25.785Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-20T08:20:25.785Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-20T08:20:25.785Z] (70/74) Installing kmod-libs (29-r2) [2022-05-20T08:20:25.785Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-20T08:20:25.785Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-20T08:20:25.785Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-20T08:20:25.785Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-20T08:20:25.785Z] Executing busybox-1.34.1-r5.trigger [2022-05-20T08:20:25.785Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-20T08:20:25.785Z] OK: 78 MiB in 88 packages [2022-05-20T08:20:27.167Z] Removing intermediate container 24c5023dc674 [2022-05-20T08:20:27.167Z] ---> 0f384c3d6224 [2022-05-20T08:20:27.167Z] Step 17/29 : WORKDIR / [2022-05-20T08:20:27.167Z] ---> Running in a007f12b4036 [2022-05-20T08:20:27.431Z] Removing intermediate container a007f12b4036 [2022-05-20T08:20:27.431Z] ---> 3fe08024c8f4 [2022-05-20T08:20:27.431Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-20T08:20:28.008Z] ---> 1962c3975750 [2022-05-20T08:20:28.008Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-20T08:20:28.008Z] ---> 7fb757515253 [2022-05-20T08:20:28.008Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-20T08:20:28.275Z] ---> 8ee7541c57f9 [2022-05-20T08:20:28.275Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-20T08:20:28.536Z] ---> 82c2aae1e6e6 [2022-05-20T08:20:28.536Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-20T08:20:28.536Z] ---> 19825dc9703f [2022-05-20T08:20:28.536Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-20T08:20:29.107Z] ---> b23151d24957 [2022-05-20T08:20:29.107Z] Step 24/29 : EXPOSE 59983 [2022-05-20T08:20:29.107Z] ---> Running in 4d23ab9042d7 [2022-05-20T08:20:29.107Z] Removing intermediate container 4d23ab9042d7 [2022-05-20T08:20:29.107Z] ---> de464c9fde3f [2022-05-20T08:20:29.107Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-20T08:20:29.107Z] ---> Running in 7fe68b67d4b9 [2022-05-20T08:20:29.367Z] Removing intermediate container 7fe68b67d4b9 [2022-05-20T08:20:29.367Z] ---> f61185cec4b9 [2022-05-20T08:20:29.367Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-20T08:20:29.367Z] ---> Running in 1448b7aa36a8 [2022-05-20T08:20:29.367Z] Removing intermediate container 1448b7aa36a8 [2022-05-20T08:20:29.367Z] ---> 5417bfd851cc [2022-05-20T08:20:29.367Z] Step 27/29 : LABEL arch=amd64 [2022-05-20T08:20:29.632Z] ---> Running in 49852c60e6b7 [2022-05-20T08:20:29.632Z] Removing intermediate container 49852c60e6b7 [2022-05-20T08:20:29.632Z] ---> e7fd070e81a3 [2022-05-20T08:20:29.632Z] Step 28/29 : LABEL git_sha=c9c9139f78799d6580d2592f90bd4161b900c8f4 [2022-05-20T08:20:29.632Z] ---> Running in ed2c37673757 [2022-05-20T08:20:29.632Z] Removing intermediate container ed2c37673757 [2022-05-20T08:20:29.632Z] ---> 46b8ed10c465 [2022-05-20T08:20:29.632Z] Step 29/29 : LABEL version=0.0.0 [2022-05-20T08:20:29.893Z] ---> Running in d2e259fcfc56 [2022-05-20T08:20:29.893Z] Removing intermediate container d2e259fcfc56 [2022-05-20T08:20:29.893Z] ---> a3790b040184 [2022-05-20T08:20:29.893Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-20T08:20:29.893Z] Successfully built a3790b040184 [2022-05-20T08:20:29.893Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:20:30.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T08:20:30.330Z] [2022-05-20T08:20:30.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:20:30.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T08:20:30.631Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-20T08:20:30.631Z] 5eb5b503b376: Pulling fs layer [2022-05-20T08:20:30.631Z] 5c69ac0246d0: Pulling fs layer [2022-05-20T08:20:30.631Z] ec43610c2a17: Pulling fs layer [2022-05-20T08:20:30.631Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-20T08:20:30.631Z] 33b1e0a273af: Pulling fs layer [2022-05-20T08:20:30.631Z] 5d3b04190fa2: Pulling fs layer [2022-05-20T08:20:30.631Z] 2f39f015ded8: Pulling fs layer [2022-05-20T08:20:30.631Z] 33b1e0a273af: Waiting [2022-05-20T08:20:30.631Z] 5d3b04190fa2: Waiting [2022-05-20T08:20:30.631Z] 2f39f015ded8: Waiting [2022-05-20T08:20:30.631Z] 3a2ae6a8a46f: Waiting [2022-05-20T08:20:30.631Z] 5c69ac0246d0: Download complete [2022-05-20T08:20:30.631Z] 3a2ae6a8a46f: Download complete [2022-05-20T08:20:30.631Z] 33b1e0a273af: Verifying Checksum [2022-05-20T08:20:30.632Z] 33b1e0a273af: Download complete [2022-05-20T08:20:30.632Z] ec43610c2a17: Verifying Checksum [2022-05-20T08:20:30.632Z] ec43610c2a17: Download complete [2022-05-20T08:20:30.632Z] 5d3b04190fa2: Verifying Checksum [2022-05-20T08:20:30.632Z] 5d3b04190fa2: Download complete [2022-05-20T08:20:30.890Z] 5eb5b503b376: Verifying Checksum [2022-05-20T08:20:30.890Z] 5eb5b503b376: Download complete [2022-05-20T08:20:31.460Z] 2f39f015ded8: Verifying Checksum [2022-05-20T08:20:31.460Z] 2f39f015ded8: Download complete [2022-05-20T08:20:32.400Z] 5eb5b503b376: Pull complete [2022-05-20T08:20:32.400Z] 5c69ac0246d0: Pull complete [2022-05-20T08:20:32.972Z] ec43610c2a17: Pull complete [2022-05-20T08:20:32.972Z] 3a2ae6a8a46f: Pull complete [2022-05-20T08:20:33.232Z] 33b1e0a273af: Pull complete [2022-05-20T08:20:33.232Z] 5d3b04190fa2: Pull complete [2022-05-20T08:20:38.506Z] 2f39f015ded8: Pull complete [2022-05-20T08:20:38.506Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-20T08:20:38.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T08:20:38.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-20T08:20:38.576Z] prd-ubuntu20.04-docker-8c-8g-64171 does not seem to be running inside a container [2022-05-20T08:20:38.617Z] $ 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-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-20T08:20:40.453Z] $ docker top 25fd2a48f704a0f61715c85d04aa0d0f7a1fdb9d418a1eb3f833cc42b0d685f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:20:40.900Z] ---> job-cost.sh [2022-05-20T08:20:40.900Z] lf-activate-venv: SKIPPING [2022-05-20T08:20:40.900Z] INFO: No Stack... [2022-05-20T08:20:41.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T08:20:41.733Z] INFO: Archiving Costs [Pipeline] sh [2022-05-20T08:20:42.033Z] + + cat /w/workspace/xfoundry_device-usb-camera_PR-27/archives/cost.csv [2022-05-20T08:20:42.033Z] cut -d, -f6 [Pipeline] lock [2022-05-20T08:20:42.051Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-27-2-stack-cost] [2022-05-20T08:20:42.057Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-27-2-stack-cost] did not exist. Created. [2022-05-20T08:20:42.057Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-27-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-20T08:20:42.365Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-20T08:20:42.390Z] Stashed 1 file(s) [Pipeline] } [2022-05-20T08:20:42.398Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-27-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-20T08:20:42.422Z] $ docker stop --time=1 25fd2a48f704a0f61715c85d04aa0d0f7a1fdb9d418a1eb3f833cc42b0d685f5 [2022-05-20T08:20:43.598Z] $ docker rm -f 25fd2a48f704a0f61715c85d04aa0d0f7a1fdb9d418a1eb3f833cc42b0d685f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-20T08:20:50.095Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64172 in /w/workspace/xfoundry_device-usb-camera_PR-27 [Pipeline] { [Pipeline] ws [2022-05-20T08:20:50.106Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2022-05-20T08:20:50.342Z] Selected Git installation does not exist. Using Default [2022-05-20T08:20:50.342Z] The recommended git tool is: NONE [2022-05-20T08:20:56.480Z] using credential edgex-jenkins-ssh [2022-05-20T08:20:56.502Z] Cloning the remote Git repository [2022-05-20T08:20:56.558Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T08:20:56.631Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2022-05-20T08:20:56.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T08:20:56.715Z] > git --version # timeout=10 [2022-05-20T08:20:56.736Z] > git --version # 'git version 2.25.1' [2022-05-20T08:20:56.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T08:20:56.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T08:20:57.926Z] Merging remotes/origin/main commit 64a0158ebb7ef051a7494343a06668853522f3e5 into PR head commit dc09ffe97bc55e90baf0e05a798d3bb200093721 [2022-05-20T08:20:57.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-20T08:20:57.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T08:20:57.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-20T08:20:57.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-20T08:20:57.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T08:20:57.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-20T08:20:57.967Z] > git config core.sparsecheckout # timeout=10 [2022-05-20T08:20:58.058Z] > git checkout -f dc09ffe97bc55e90baf0e05a798d3bb200093721 # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-20T08:20:58.203Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-20T08:20:58.909Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-27/archives ] [2022-05-20T08:20:58.909Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-27/archives [2022-05-20T08:20:58.909Z] total 16 [2022-05-20T08:20:58.909Z] drwxr-xr-x 3 root root 4096 May 20 08:20 . [2022-05-20T08:20:58.909Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 08:20 .. [2022-05-20T08:20:58.909Z] drwxr-xr-x 2 root root 4096 May 20 08:20 cost [2022-05-20T08:20:58.909Z] -rw-r--r-- 1 root root 87 May 20 08:20 cost.csv [2022-05-20T08:20:58.909Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-27/archives [2022-05-20T08:20:58.909Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-27/archives [2022-05-20T08:20:58.909Z] total 16 [2022-05-20T08:20:58.909Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 08:20 . [2022-05-20T08:20:58.909Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 08:20 .. [2022-05-20T08:20:58.909Z] drwxr-xr-x 2 jenkins jenkins 4096 May 20 08:20 cost [2022-05-20T08:20:58.909Z] -rw-r--r-- 1 jenkins jenkins 87 May 20 08:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:20:59.203Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:00.072Z] ---> package-listing.sh [2022-05-20T08:21:00.072Z] ++ facter osfamily [2022-05-20T08:21:00.072Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-20T08:21:00.334Z] + OS_FAMILY=debian [2022-05-20T08:21:00.334Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-27 [2022-05-20T08:21:00.334Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-20T08:21:00.334Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-20T08:21:00.334Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-20T08:21:00.334Z] + PACKAGES=/tmp/packages_start.txt [2022-05-20T08:21:00.334Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-27 ']' [2022-05-20T08:21:00.334Z] + PACKAGES=/tmp/packages_end.txt [2022-05-20T08:21:00.334Z] + case "${OS_FAMILY}" in [2022-05-20T08:21:00.334Z] + dpkg -l [2022-05-20T08:21:00.334Z] + grep '^ii' [2022-05-20T08:21:00.334Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-20T08:21:00.334Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-20T08:21:00.334Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-20T08:21:00.334Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-27 ']' [2022-05-20T08:21:00.334Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-27/archives/ [2022-05-20T08:21:00.334Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-27/archives/ [Pipeline] echo [2022-05-20T08:21:00.348Z] 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-20T08:21:00.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-20T08:21:01.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T08:21:01.236Z] . [Pipeline] withDockerContainer [2022-05-20T08:21:01.345Z] prd-ubuntu20.04-docker-8c-8g-64171 does not seem to be running inside a container [2022-05-20T08:21:01.415Z] $ 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-27/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-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-20T08:21:01.683Z] $ docker top 17fd3bac25ccfd61cb4121c3f938e4e9f9010fee9ae96ac85ddbb3252bd4dcbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T08:21:02.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-20T08:21:02.338Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-20T08:21:02.637Z] + ls /var/log/sa-host [2022-05-20T08:21:02.637Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T08:21:02.848Z] provisioning config files... [2022-05-20T08:21:02.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config2086217390572300679tmp [Pipeline] { [Pipeline] echo [2022-05-20T08:21:02.875Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:03.164Z] ---> create-netrc.sh [Pipeline] } [2022-05-20T08:21:03.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:03.517Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-20T08:21:03.527Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:03.813Z] ---> sudo-logs.sh [2022-05-20T08:21:03.813Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-20T08:21:03.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:04.125Z] ---> job-cost.sh [2022-05-20T08:21:04.125Z] lf-activate-venv: SKIPPING [2022-05-20T08:21:04.125Z] DEBUG: total: 0.2199999988079071 [2022-05-20T08:21:04.125Z] INFO: Retrieving Stack Cost... [2022-05-20T08:21:04.384Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T08:21:04.956Z] INFO: Archiving Costs [Pipeline] echo [2022-05-20T08:21:04.974Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T08:21:05.260Z] ---> logs-deploy.sh [2022-05-20T08:21:05.260Z] lf-activate-venv: SKIPPING [2022-05-20T08:21:05.260Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-27/2 [2022-05-20T08:21:05.260Z] INFO: archiving workspace using pattern(s): [2022-05-20T08:21:06.201Z] Archives upload complete. [2022-05-20T08:21:06.201Z] INFO: archiving logs to Nexus