Pull request #32 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 c0c23a006101298a5fc8fee3a0b9276276ecc771+aaa7e572fda13da2933300a631edf8df830ba1ce (b2ad218d5d1758e970c1e7ccff4964bf15ac5e78) 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-ssh3527527405970182533.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-ssh14709436107745152739.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-32/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-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16729943887087581979.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-ssh6473918699614308365.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-32/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-32/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4327433791570178786.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-64341 in /w/workspace/xfoundry_device-usb-camera_PR-32 [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-32 # 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 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit c0c23a006101298a5fc8fee3a0b9276276ecc771 Merge succeeded, producing c0c23a006101298a5fc8fee3a0b9276276ecc771 Checking out Revision c0c23a006101298a5fc8fee3a0b9276276ecc771 (PR-32) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0c23a006101298a5fc8fee3a0b9276276ecc771 # 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 c0c23a006101298a5fc8fee3a0b9276276ecc771 # timeout=10 Commit message: "fix: Update README and go.mod" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-23T08:25:43.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-23T08:25:43.196Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-23T08:25:43.214Z] ========================================================= [2022-05-23T08:25:43.214Z] EdgeX Global Pipelines Version Info [2022-05-23T08:25:43.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f3807bee89d266bbe9ad67be82c72f5984317f0b # timeout=10 [2022-05-23T08:25:43.992Z] ------------------- [2022-05-23T08:25:43.993Z] stable info: [2022-05-23T08:25:43.993Z] ------------------- [2022-05-23T08:25:43.993Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-23T08:25:43.993Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-23T08:25:43.993Z] Message: update stable to v1.0.230 [2022-05-23T08:25:44.564Z] ------------------- [2022-05-23T08:25:44.564Z] experimental info: [2022-05-23T08:25:44.564Z] ------------------- [2022-05-23T08:25:44.564Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-23T08:25:44.564Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-23T08:25:44.564Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-23T08:25:44.677Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-23T08:25:44.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-23T08:25:44.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-23T08:25:44.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-23T08:25:44.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-23T08:25:44.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-23T08:25:44.735Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-23T08:25:44.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-23T08:25:44.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-23T08:25:44.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-23T08:25:44.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-23T08:25:44.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-23T08:25:44.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-23T08:25:44.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-23T08:25:44.823Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-23T08:25:44.833Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-23T08:25:44.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-23T08:25:44.853Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-23T08:25:44.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-23T08:25:44.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-23T08:25:44.889Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-23T08:25:44.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-23T08:25:44.909Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-23T08:25:44.923Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-23T08:25:44.933Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-23T08:25:44.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-23T08:25:44.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo [2022-05-23T08:25:44.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo [2022-05-23T08:25:44.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo [2022-05-23T08:25:44.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0c23a006101298a5fc8fee3a0b9276276ecc771 [Pipeline] echo [2022-05-23T08:25:44.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0c23a0 [Pipeline] echo [2022-05-23T08:25:45.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-23T08:25:45.051Z] provisioning config files... [2022-05-23T08:25:45.064Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config7997666636231726032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:25:45.371Z] ---> docker-login.sh [2022-05-23T08:25:45.371Z] nexus3.edgexfoundry.org:10001 [2022-05-23T08:25:45.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:25:45.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:25:45.947Z] Configure a credential helper to remove this warning. See [2022-05-23T08:25:45.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:25:45.947Z] [2022-05-23T08:25:45.947Z] Login Succeeded [2022-05-23T08:25:45.947Z] nexus3.edgexfoundry.org:10002 [2022-05-23T08:25:45.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:25:46.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:25:46.209Z] Configure a credential helper to remove this warning. See [2022-05-23T08:25:46.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:25:46.209Z] [2022-05-23T08:25:46.209Z] Login Succeeded [2022-05-23T08:25:46.209Z] nexus3.edgexfoundry.org:10003 [2022-05-23T08:25:46.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:25:46.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:25:46.210Z] Configure a credential helper to remove this warning. See [2022-05-23T08:25:46.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:25:46.210Z] [2022-05-23T08:25:46.210Z] Login Succeeded [2022-05-23T08:25:46.210Z] nexus3.edgexfoundry.org:10004 [2022-05-23T08:25:46.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:25:46.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:25:46.476Z] Configure a credential helper to remove this warning. See [2022-05-23T08:25:46.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:25:46.476Z] [2022-05-23T08:25:46.476Z] Login Succeeded [2022-05-23T08:25:46.476Z] docker.io [2022-05-23T08:25:46.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:25:46.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:25:46.742Z] Configure a credential helper to remove this warning. See [2022-05-23T08:25:46.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:25:46.742Z] [2022-05-23T08:25:46.742Z] Login Succeeded [2022-05-23T08:25:46.742Z] ---> docker-login.sh ends [Pipeline] } [2022-05-23T08:25:46.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-23T08:25:47.136Z] + git rev-list -1 --merges c0c23a006101298a5fc8fee3a0b9276276ecc771~1..c0c23a006101298a5fc8fee3a0b9276276ecc771 [Pipeline] echo [2022-05-23T08:25:47.241Z] -----------> git rev-list -1 --merges c0c23a006101298a5fc8fee3a0b9276276ecc771~1..c0c23a006101298a5fc8fee3a0b9276276ecc771 c0c23a006101298a5fc8fee3a0b9276276ecc771 [false] [Pipeline] sh [2022-05-23T08:25:47.527Z] + git log --format=format:%s -1 c0c23a006101298a5fc8fee3a0b9276276ecc771 [Pipeline] echo [2022-05-23T08:25:47.545Z] ========================================================= [2022-05-23T08:25:47.545Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-23T08:25:47.545Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-23T08:25:47.869Z] + git log --format=format:%s -1 c0c23a006101298a5fc8fee3a0b9276276ecc771 [Pipeline] echo [2022-05-23T08:25:47.882Z] [semverPrep] GIT_COMMIT: c0c23a006101298a5fc8fee3a0b9276276ecc771, Commit Message: fix: Update README and go.mod [Pipeline] echo [2022-05-23T08:25:47.896Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-23T08:25:48.323Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-23T08:25:48.323Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-23T08:25:48.323Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-23T08:25:48.323Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-23T08:25:48.323Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-23T08:25:48.323Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-23T08:25:48.323Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:25:48.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-23T08:25:48.752Z] [2022-05-23T08:25:48.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:25:49.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-23T08:25:49.063Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-23T08:25:49.063Z] 1fe172e4850f: Pulling fs layer [2022-05-23T08:25:49.063Z] caf521ccaac6: Pulling fs layer [2022-05-23T08:25:49.063Z] 3ead6fa29328: Pulling fs layer [2022-05-23T08:25:49.063Z] 5c2a1cbceb83: Pulling fs layer [2022-05-23T08:25:49.063Z] a8d5f1318db7: Pulling fs layer [2022-05-23T08:25:49.063Z] c427282e49a2: Pulling fs layer [2022-05-23T08:25:49.063Z] 1827001aaf11: Pulling fs layer [2022-05-23T08:25:49.063Z] 0714d37db230: Pulling fs layer [2022-05-23T08:25:49.063Z] ac28cf19c067: Pulling fs layer [2022-05-23T08:25:49.063Z] ca983d60f3e2: Pulling fs layer [2022-05-23T08:25:49.063Z] 9f894cec8388: Pulling fs layer [2022-05-23T08:25:49.063Z] 1827001aaf11: Waiting [2022-05-23T08:25:49.063Z] 0714d37db230: Waiting [2022-05-23T08:25:49.063Z] ac28cf19c067: Waiting [2022-05-23T08:25:49.063Z] ca983d60f3e2: Waiting [2022-05-23T08:25:49.063Z] 9f894cec8388: Waiting [2022-05-23T08:25:49.063Z] a8d5f1318db7: Waiting [2022-05-23T08:25:49.063Z] c427282e49a2: Waiting [2022-05-23T08:25:49.063Z] 5c2a1cbceb83: Waiting [2022-05-23T08:25:49.063Z] caf521ccaac6: Download complete [2022-05-23T08:25:49.063Z] 5c2a1cbceb83: Verifying Checksum [2022-05-23T08:25:49.063Z] 5c2a1cbceb83: Download complete [2022-05-23T08:25:49.325Z] a8d5f1318db7: Verifying Checksum [2022-05-23T08:25:49.325Z] a8d5f1318db7: Download complete [2022-05-23T08:25:49.325Z] 3ead6fa29328: Verifying Checksum [2022-05-23T08:25:49.325Z] 3ead6fa29328: Download complete [2022-05-23T08:25:49.325Z] c427282e49a2: Verifying Checksum [2022-05-23T08:25:49.325Z] c427282e49a2: Download complete [2022-05-23T08:25:49.325Z] 0714d37db230: Verifying Checksum [2022-05-23T08:25:49.325Z] 0714d37db230: Download complete [2022-05-23T08:25:49.325Z] ac28cf19c067: Verifying Checksum [2022-05-23T08:25:49.325Z] ac28cf19c067: Download complete [2022-05-23T08:25:49.325Z] ca983d60f3e2: Download complete [2022-05-23T08:25:49.325Z] 9f894cec8388: Verifying Checksum [2022-05-23T08:25:49.325Z] 9f894cec8388: Download complete [2022-05-23T08:25:49.325Z] 1fe172e4850f: Verifying Checksum [2022-05-23T08:25:49.325Z] 1fe172e4850f: Download complete [2022-05-23T08:25:49.585Z] 1827001aaf11: Verifying Checksum [2022-05-23T08:25:49.585Z] 1827001aaf11: Download complete [2022-05-23T08:25:50.524Z] 1fe172e4850f: Pull complete [2022-05-23T08:25:50.784Z] caf521ccaac6: Pull complete [2022-05-23T08:25:51.044Z] 3ead6fa29328: Pull complete [2022-05-23T08:25:51.304Z] 5c2a1cbceb83: Pull complete [2022-05-23T08:25:51.565Z] a8d5f1318db7: Pull complete [2022-05-23T08:25:51.565Z] c427282e49a2: Pull complete [2022-05-23T08:25:53.476Z] 1827001aaf11: Pull complete [2022-05-23T08:25:53.476Z] 0714d37db230: Pull complete [2022-05-23T08:25:53.476Z] ac28cf19c067: Pull complete [2022-05-23T08:25:53.476Z] ca983d60f3e2: Pull complete [2022-05-23T08:25:53.476Z] 9f894cec8388: Pull complete [2022-05-23T08:25:53.476Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-23T08:25:53.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-23T08:25:53.737Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-23T08:25:53.814Z] prd-ubuntu20.04-docker-8c-8g-64341 does not seem to be running inside a container [2022-05-23T08:25:53.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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-23T08:25:55.425Z] $ docker top e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce -eo pid,comm [2022-05-23T08:25:55.485Z] 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-23T08:25:55.485Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-23T08:25:55.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-23T08:25:55.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-23T08:25:55.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-23T08:25:55.690Z] $ docker exec e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce ssh-agent [2022-05-23T08:25:55.808Z] SSH_AUTH_SOCK=/tmp/ssh-RykntSp4toxf/agent.32 [2022-05-23T08:25:55.808Z] SSH_AGENT_PID=39 [2022-05-23T08:25:55.817Z] Running ssh-add (command line suppressed) [2022-05-23T08:25:55.952Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_7046427347838387418.key (/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_7046427347838387418.key) [2022-05-23T08:25:55.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-23T08:25:56.254Z] + git tag --points-at HEAD [Pipeline] } [2022-05-23T08:25:56.273Z] $ docker exec --env ******** --env ******** e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce ssh-agent -k [2022-05-23T08:25:56.398Z] unset SSH_AUTH_SOCK; [2022-05-23T08:25:56.398Z] unset SSH_AGENT_PID; [2022-05-23T08:25:56.398Z] echo Agent pid 39 killed; [2022-05-23T08:25:56.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-23T08:25:56.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-23T08:25:56.430Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-23T08:25:56.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-23T08:25:56.568Z] $ docker exec e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce ssh-agent [2022-05-23T08:25:56.698Z] SSH_AUTH_SOCK=/tmp/ssh-S6Q2Kb4daejF/agent.72 [2022-05-23T08:25:56.698Z] SSH_AGENT_PID=79 [2022-05-23T08:25:56.704Z] Running ssh-add (command line suppressed) [2022-05-23T08:25:56.823Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_3085241560422517461.key (/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_3085241560422517461.key) [2022-05-23T08:25:56.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-23T08:25:57.124Z] + git semver init [2022-05-23T08:25:57.384Z] 2022-05-23 08:25:57,329 [run_init] DEBUG init version:0.0.0 force:False [2022-05-23T08:25:57.384Z] 2022-05-23 08:25:57,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver [2022-05-23T08:25:57.384Z] 2022-05-23 08:25:57,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-32/.semver [2022-05-23T08:25:57.384Z] 2022-05-23 08:25:57,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-32/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32, universal_newlines=False, shell=None, istream=None) [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,916 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-32/.git/info/exclude [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 with force:False [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,917 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,920 [execute] INFO git cat-file --batch-check [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32/.semver, universal_newlines=False, shell=None, istream=) [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,926 [execute] INFO git cat-file --batch [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32/.semver, universal_newlines=False, shell=None, istream=) [2022-05-23T08:25:57.956Z] 2022-05-23 08:25:57,932 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 [2022-05-23T08:25:57.956Z] 0.0.0 [Pipeline] } [2022-05-23T08:25:57.973Z] $ docker exec --env ******** --env ******** e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce ssh-agent -k [2022-05-23T08:25:58.092Z] unset SSH_AUTH_SOCK; [2022-05-23T08:25:58.092Z] unset SSH_AGENT_PID; [2022-05-23T08:25:58.092Z] echo Agent pid 79 killed; [2022-05-23T08:25:58.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-23T08:25:58.408Z] + git semver [Pipeline] } [2022-05-23T08:25:58.697Z] $ docker stop --time=1 e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce [2022-05-23T08:26:00.164Z] $ docker rm -f e6ad85204a0cbad731499616844277ec4682bb773a2f8f4e7553a3aada72acce [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-23T08:26:00.553Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-23T08:26:00.881Z] Stashed 1 file(s) [Pipeline] echo [2022-05-23T08:26:00.885Z] [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-23T08:26:01.047Z] provisioning config files... [2022-05-23T08:26:01.058Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config6383026020984296257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:26:01.368Z] ---> docker-login.sh [2022-05-23T08:26:01.368Z] nexus3.edgexfoundry.org:10001 [2022-05-23T08:26:01.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:26:01.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:26:01.368Z] Configure a credential helper to remove this warning. See [2022-05-23T08:26:01.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:26:01.368Z] [2022-05-23T08:26:01.368Z] Login Succeeded [2022-05-23T08:26:01.368Z] nexus3.edgexfoundry.org:10002 [2022-05-23T08:26:01.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:26:01.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:26:01.628Z] Configure a credential helper to remove this warning. See [2022-05-23T08:26:01.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:26:01.628Z] [2022-05-23T08:26:01.628Z] Login Succeeded [2022-05-23T08:26:01.628Z] nexus3.edgexfoundry.org:10003 [2022-05-23T08:26:01.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:26:01.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:26:01.629Z] Configure a credential helper to remove this warning. See [2022-05-23T08:26:01.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:26:01.629Z] [2022-05-23T08:26:01.629Z] Login Succeeded [2022-05-23T08:26:01.629Z] nexus3.edgexfoundry.org:10004 [2022-05-23T08:26:01.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:26:01.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:26:01.890Z] Configure a credential helper to remove this warning. See [2022-05-23T08:26:01.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:26:01.890Z] [2022-05-23T08:26:01.890Z] Login Succeeded [2022-05-23T08:26:01.890Z] docker.io [2022-05-23T08:26:01.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-23T08:26:02.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-23T08:26:02.152Z] Configure a credential helper to remove this warning. See [2022-05-23T08:26:02.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-23T08:26:02.152Z] [2022-05-23T08:26:02.152Z] Login Succeeded [2022-05-23T08:26:02.152Z] ---> docker-login.sh ends [Pipeline] } [2022-05-23T08:26:02.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-23T08:26:02.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-23T08:26:02.261Z] ========================================================= [2022-05-23T08:26:02.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-23T08:26:02.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:26:02.589Z] + 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-23T08:26:02.589Z] Sending build context to Docker daemon 656.9kB [2022-05-23T08:26:02.589Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-23T08:26:02.589Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-23T08:26:02.589Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-23T08:26:02.589Z] 59bf1c3509f3: Pulling fs layer [2022-05-23T08:26:02.589Z] 666ba61612fd: Pulling fs layer [2022-05-23T08:26:02.589Z] 8ed8ca486205: Pulling fs layer [2022-05-23T08:26:02.589Z] 4fe6c5a15a65: Pulling fs layer [2022-05-23T08:26:02.589Z] 22a0e8bec74d: Pulling fs layer [2022-05-23T08:26:02.589Z] ca2b28591e48: Pulling fs layer [2022-05-23T08:26:02.589Z] a51346096db8: Pulling fs layer [2022-05-23T08:26:02.589Z] daebc70d1ce1: Pulling fs layer [2022-05-23T08:26:02.589Z] 0e18a0eac166: Pulling fs layer [2022-05-23T08:26:02.589Z] 4fe6c5a15a65: Waiting [2022-05-23T08:26:02.589Z] 22a0e8bec74d: Waiting [2022-05-23T08:26:02.589Z] ca2b28591e48: Waiting [2022-05-23T08:26:02.589Z] a51346096db8: Waiting [2022-05-23T08:26:02.589Z] 8ed8ca486205: Verifying Checksum [2022-05-23T08:26:02.589Z] 8ed8ca486205: Download complete [2022-05-23T08:26:02.589Z] 666ba61612fd: Download complete [2022-05-23T08:26:02.850Z] 22a0e8bec74d: Verifying Checksum [2022-05-23T08:26:02.850Z] 22a0e8bec74d: Download complete [2022-05-23T08:26:02.850Z] ca2b28591e48: Verifying Checksum [2022-05-23T08:26:02.850Z] ca2b28591e48: Download complete [2022-05-23T08:26:02.850Z] 59bf1c3509f3: Verifying Checksum [2022-05-23T08:26:02.850Z] 59bf1c3509f3: Download complete [2022-05-23T08:26:02.850Z] a51346096db8: Verifying Checksum [2022-05-23T08:26:02.850Z] a51346096db8: Download complete [2022-05-23T08:26:02.850Z] daebc70d1ce1: Verifying Checksum [2022-05-23T08:26:02.850Z] daebc70d1ce1: Download complete [2022-05-23T08:26:02.850Z] 59bf1c3509f3: Pull complete [2022-05-23T08:26:03.112Z] 666ba61612fd: Pull complete [2022-05-23T08:26:03.112Z] 8ed8ca486205: Pull complete [2022-05-23T08:26:03.371Z] 0e18a0eac166: Download complete [2022-05-23T08:26:03.371Z] 4fe6c5a15a65: Verifying Checksum [2022-05-23T08:26:03.371Z] 4fe6c5a15a65: Download complete [2022-05-23T08:26:07.568Z] 4fe6c5a15a65: Pull complete [2022-05-23T08:26:07.568Z] 22a0e8bec74d: Pull complete [2022-05-23T08:26:07.568Z] ca2b28591e48: Pull complete [2022-05-23T08:26:07.568Z] a51346096db8: Pull complete [2022-05-23T08:26:07.568Z] daebc70d1ce1: Pull complete [2022-05-23T08:26:09.480Z] 0e18a0eac166: Pull complete [2022-05-23T08:26:09.740Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-23T08:26:09.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-23T08:26:09.740Z] ---> f018257e8ee9 [2022-05-23T08:26:09.740Z] Step 3/12 : ARG MAKE="make build" [2022-05-23T08:26:13.043Z] ---> Running in 3b69ee42f5b5 [2022-05-23T08:26:13.043Z] Removing intermediate container 3b69ee42f5b5 [2022-05-23T08:26:13.043Z] ---> a0e12267cbdf [2022-05-23T08:26:13.043Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-23T08:26:13.043Z] ---> Running in 65c94aa65b34 [2022-05-23T08:26:13.043Z] Removing intermediate container 65c94aa65b34 [2022-05-23T08:26:13.043Z] ---> 21ee74dd31d5 [2022-05-23T08:26:13.043Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-23T08:26:13.043Z] ---> Running in 82ed5e83ce88 [2022-05-23T08:26:13.043Z] Removing intermediate container 82ed5e83ce88 [2022-05-23T08:26:13.043Z] ---> ed7a331c68f5 [2022-05-23T08:26:13.043Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-23T08:26:13.306Z] ---> Running in 1c6d01466797 [2022-05-23T08:26:14.249Z] Removing intermediate container 1c6d01466797 [2022-05-23T08:26:14.249Z] ---> 7ede6b842d7e [2022-05-23T08:26:14.249Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-23T08:26:14.249Z] ---> Running in 8d9bbaae78be [2022-05-23T08:26:14.512Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-23T08:26:15.452Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-23T08:26:15.713Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-23T08:26:15.713Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-23T08:26:15.713Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-23T08:26:15.974Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-23T08:26:15.974Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-23T08:26:15.974Z] (6/81) Installing libxcb (1.14-r2) [2022-05-23T08:26:15.997Z] Still waiting to schedule task [2022-05-23T08:26:15.997Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-23T08:26:16.234Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-23T08:26:16.234Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-23T08:26:16.495Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-23T08:26:16.495Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-23T08:26:16.495Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-23T08:26:16.755Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-23T08:26:16.755Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-23T08:26:16.755Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-23T08:26:17.015Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-23T08:26:17.015Z] (16/81) Installing libice (1.0.10-r0) [2022-05-23T08:26:17.015Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-23T08:26:17.276Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-23T08:26:17.276Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-23T08:26:17.276Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-23T08:26:17.545Z] (21/81) Installing xset (1.2.4-r0) [2022-05-23T08:26:17.545Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-23T08:26:17.545Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-23T08:26:17.806Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-23T08:26:17.806Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-23T08:26:17.806Z] (26/81) Installing libintl (0.21-r0) [2022-05-23T08:26:18.067Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-23T08:26:18.067Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-23T08:26:18.327Z] (29/81) Installing pcre (8.45-r1) [2022-05-23T08:26:18.327Z] (30/81) Installing glib (2.70.1-r0) [2022-05-23T08:26:18.327Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-23T08:26:19.292Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-23T08:26:19.292Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-23T08:26:19.552Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-23T08:26:19.552Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-23T08:26:19.814Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-23T08:26:19.814Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-23T08:26:19.814Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-23T08:26:20.075Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-23T08:26:20.336Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-23T08:26:20.336Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-23T08:26:20.336Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-23T08:26:20.601Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-23T08:26:20.601Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-23T08:26:20.601Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-23T08:26:20.862Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-23T08:26:20.862Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-23T08:26:21.123Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-23T08:26:21.123Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-23T08:26:21.123Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-23T08:26:21.383Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-23T08:26:21.383Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-23T08:26:21.642Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-23T08:26:21.642Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-23T08:26:21.642Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-23T08:26:21.901Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-23T08:26:21.901Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-23T08:26:21.901Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-23T08:26:22.161Z] (59/81) Installing cups-libs (2.3.3-r5) [2022-05-23T08:26:22.161Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-23T08:26:22.421Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-23T08:26:22.421Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-23T08:26:22.421Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-23T08:26:22.682Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-23T08:26:22.682Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-23T08:26:22.682Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-23T08:26:22.942Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-23T08:26:22.942Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-23T08:26:22.942Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-23T08:26:23.203Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-23T08:26:23.203Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-23T08:26:23.203Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-23T08:26:23.465Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-23T08:26:25.375Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-23T08:26:25.375Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-23T08:26:25.375Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-23T08:26:25.375Z] Executing udev-init-scripts-35-r0.post-install [2022-05-23T08:26:25.375Z] (77/81) Installing kmod-libs (29-r2) [2022-05-23T08:26:25.375Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-23T08:26:25.635Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-23T08:26:25.635Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-23T08:26:25.635Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-23T08:26:25.895Z] Executing busybox-1.34.1-r3.trigger [2022-05-23T08:26:25.895Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-23T08:26:25.895Z] OK: 335 MiB in 133 packages [2022-05-23T08:26:27.808Z] Removing intermediate container 8d9bbaae78be [2022-05-23T08:26:27.808Z] ---> 623786b05f4f [2022-05-23T08:26:27.808Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-23T08:26:28.067Z] ---> Running in 3ea53d98713f [2022-05-23T08:26:28.067Z] Removing intermediate container 3ea53d98713f [2022-05-23T08:26:28.067Z] ---> c643f5235e57 [2022-05-23T08:26:28.067Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-23T08:26:28.067Z] ---> d17135e79ea2 [2022-05-23T08:26:28.067Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-23T08:26:28.326Z] ---> Running in 2866e13cc210 [2022-05-23T08:26:46.439Z] Removing intermediate container 2866e13cc210 [2022-05-23T08:26:46.439Z] ---> 2214a04be03e [2022-05-23T08:26:46.439Z] Step 11/12 : COPY . . [2022-05-23T08:26:46.439Z] ---> 642366460304 [2022-05-23T08:26:46.439Z] Step 12/12 : RUN ${MAKE} [2022-05-23T08:26:46.439Z] ---> Running in 9e9bc687c5da [2022-05-23T08:26:46.439Z] noop [2022-05-23T08:26:46.699Z] Removing intermediate container 9e9bc687c5da [2022-05-23T08:26:46.699Z] ---> 7d7a615b55a9 [2022-05-23T08:26:46.699Z] Successfully built 7d7a615b55a9 [2022-05-23T08:26:46.699Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:26:46.999Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-23T08:26:46.999Z] . [Pipeline] withDockerContainer [2022-05-23T08:26:47.069Z] prd-ubuntu20.04-docker-8c-8g-64341 does not seem to be running inside a container [2022-05-23T08:26:47.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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-23T08:26:47.532Z] $ docker top 8ef33899d4763e01eacfe812c3bf054c5479dd44a40f27ae9ceaba19fbf57484 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-23T08:26:47.913Z] + go version [2022-05-23T08:26:47.913Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-23T08:26:47.968Z] $ docker stop --time=1 8ef33899d4763e01eacfe812c3bf054c5479dd44a40f27ae9ceaba19fbf57484 [2022-05-23T08:26:49.364Z] $ docker rm -f 8ef33899d4763e01eacfe812c3bf054c5479dd44a40f27ae9ceaba19fbf57484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:26:49.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-23T08:26:49.747Z] . [Pipeline] withDockerContainer [2022-05-23T08:26:49.816Z] prd-ubuntu20.04-docker-8c-8g-64341 does not seem to be running inside a container [2022-05-23T08:26:49.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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-23T08:26:50.246Z] $ docker top 6742e16fad3b81c6e2778286bb51de91ea1406197f3a1648c5679a57c44c85a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-23T08:26:50.612Z] + make test [2022-05-23T08:26:50.612Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-23T08:26:50.871Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-23T08:27:00.857Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-23T08:27:00.857Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 1.9% of statements [2022-05-23T08:27:07.430Z] CGO_ENABLED=1 go vet ./... [2022-05-23T08:27:10.723Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-23T08:27:10.723Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-23T08:27:10.723Z] ./bin/test-attribution-txt.sh [2022-05-23T08:27:10.723Z] An attribution for github.com/davecgh/go-spew is missing from in Attribution.txt, please add [2022-05-23T08:27:10.983Z] An attribution for github.com/pmezard/go-difflib is missing from in Attribution.txt, please add [2022-05-23T08:27:10.983Z] make: *** [Makefile:50: test] Error 1 [Pipeline] } [2022-05-23T08:27:11.002Z] $ docker stop --time=1 6742e16fad3b81c6e2778286bb51de91ea1406197f3a1648c5679a57c44c85a7 [2022-05-23T08:27:12.909Z] $ docker rm -f 6742e16fad3b81c6e2778286bb51de91ea1406197f3a1648c5679a57c44c85a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:27:13.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-23T08:27:13.504Z] [2022-05-23T08:27:13.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:27:13.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-23T08:27:13.806Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-23T08:27:13.806Z] 5eb5b503b376: Pulling fs layer [2022-05-23T08:27:13.806Z] 5c69ac0246d0: Pulling fs layer [2022-05-23T08:27:13.806Z] ec43610c2a17: Pulling fs layer [2022-05-23T08:27:13.806Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-23T08:27:13.806Z] 33b1e0a273af: Pulling fs layer [2022-05-23T08:27:13.806Z] 5d3b04190fa2: Pulling fs layer [2022-05-23T08:27:13.806Z] 2f39f015ded8: Pulling fs layer [2022-05-23T08:27:13.806Z] 3a2ae6a8a46f: Waiting [2022-05-23T08:27:13.806Z] 33b1e0a273af: Waiting [2022-05-23T08:27:13.806Z] 5d3b04190fa2: Waiting [2022-05-23T08:27:13.806Z] 5c69ac0246d0: Download complete [2022-05-23T08:27:13.806Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-23T08:27:13.806Z] 33b1e0a273af: Verifying Checksum [2022-05-23T08:27:13.806Z] 33b1e0a273af: Download complete [2022-05-23T08:27:13.806Z] 5d3b04190fa2: Verifying Checksum [2022-05-23T08:27:13.806Z] 5d3b04190fa2: Download complete [2022-05-23T08:27:14.065Z] ec43610c2a17: Verifying Checksum [2022-05-23T08:27:14.065Z] ec43610c2a17: Download complete [2022-05-23T08:27:14.065Z] 5eb5b503b376: Verifying Checksum [2022-05-23T08:27:14.065Z] 5eb5b503b376: Download complete [2022-05-23T08:27:14.633Z] 2f39f015ded8: Verifying Checksum [2022-05-23T08:27:14.633Z] 2f39f015ded8: Download complete [2022-05-23T08:27:15.199Z] 5eb5b503b376: Pull complete [2022-05-23T08:27:15.459Z] 5c69ac0246d0: Pull complete [2022-05-23T08:27:15.718Z] ec43610c2a17: Pull complete [2022-05-23T08:27:15.718Z] 3a2ae6a8a46f: Pull complete [2022-05-23T08:27:15.978Z] 33b1e0a273af: Pull complete [2022-05-23T08:27:15.978Z] 5d3b04190fa2: Pull complete [2022-05-23T08:27:20.173Z] 2f39f015ded8: Pull complete [2022-05-23T08:27:20.173Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-23T08:27:20.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-23T08:27:20.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-23T08:27:20.239Z] prd-ubuntu20.04-docker-8c-8g-64341 does not seem to be running inside a container [2022-05-23T08:27:20.278Z] $ 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-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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-23T08:27:22.172Z] $ docker top 2aaa60680fef06be21ffcb2abc09248ace8b144b8da5b880a19c338748295880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:27:22.643Z] ---> job-cost.sh [2022-05-23T08:27:22.643Z] lf-activate-venv: SKIPPING [2022-05-23T08:27:22.643Z] INFO: No Stack... [2022-05-23T08:27:23.213Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-23T08:27:23.474Z] INFO: Archiving Costs [Pipeline] sh [2022-05-23T08:27:23.768Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-32/archives/cost.csv [2022-05-23T08:27:23.768Z] + cut -d, -f6 [Pipeline] lock [2022-05-23T08:27:23.786Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-32-2-stack-cost] [2022-05-23T08:27:23.792Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-32-2-stack-cost] did not exist. Created. [2022-05-23T08:27:23.792Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-32-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-23T08:27:24.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-23T08:27:24.136Z] Stashed 1 file(s) [Pipeline] } [2022-05-23T08:27:24.141Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-32-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-23T08:27:24.165Z] $ docker stop --time=1 2aaa60680fef06be21ffcb2abc09248ace8b144b8da5b880a19c338748295880 [2022-05-23T08:27:25.326Z] $ docker rm -f 2aaa60680fef06be21ffcb2abc09248ace8b144b8da5b880a19c338748295880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-23T08:27:25.448Z] Failed in branch amd64 [2022-05-23T08:27:51.054Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64342 in /w/workspace/xfoundry_device-usb-camera_PR-32 [Pipeline] { [Pipeline] ws [2022-05-23T08:27:51.068Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2022-05-23T08:27:51.383Z] Selected Git installation does not exist. Using Default [2022-05-23T08:27:51.383Z] The recommended git tool is: NONE [2022-05-23T08:27:57.397Z] using credential edgex-jenkins-ssh [2022-05-23T08:27:57.414Z] Cloning the remote Git repository [2022-05-23T08:27:57.472Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-23T08:27:57.554Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2022-05-23T08:27:58.852Z] Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit c0c23a006101298a5fc8fee3a0b9276276ecc771 [2022-05-23T08:27:57.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-23T08:27:57.651Z] > git --version # timeout=10 [2022-05-23T08:27:57.670Z] > git --version # 'git version 2.25.1' [2022-05-23T08:27:57.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-23T08:27:57.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-23T08:27:58.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-23T08:27:58.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-23T08:27:58.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-23T08:27:58.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-23T08:27:58.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-23T08:27:58.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-23T08:27:58.873Z] > git config core.sparsecheckout # timeout=10 [2022-05-23T08:27:58.887Z] > git checkout -f c0c23a006101298a5fc8fee3a0b9276276ecc771 # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-23T08:27:58.969Z] 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-23T08:27:59.718Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-32/archives ] [2022-05-23T08:27:59.718Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-32/archives [2022-05-23T08:27:59.718Z] total 16 [2022-05-23T08:27:59.718Z] drwxr-xr-x 3 root root 4096 May 23 08:27 . [2022-05-23T08:27:59.718Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 08:27 .. [2022-05-23T08:27:59.718Z] drwxr-xr-x 2 root root 4096 May 23 08:27 cost [2022-05-23T08:27:59.718Z] -rw-r--r-- 1 root root 87 May 23 08:27 cost.csv [2022-05-23T08:27:59.718Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-32/archives [2022-05-23T08:27:59.718Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-32/archives [2022-05-23T08:27:59.718Z] total 16 [2022-05-23T08:27:59.719Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 08:27 . [2022-05-23T08:27:59.719Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 08:27 .. [2022-05-23T08:27:59.719Z] drwxr-xr-x 2 jenkins jenkins 4096 May 23 08:27 cost [2022-05-23T08:27:59.719Z] -rw-r--r-- 1 jenkins jenkins 87 May 23 08:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:00.017Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:00.887Z] ---> package-listing.sh [2022-05-23T08:28:00.887Z] ++ facter osfamily [2022-05-23T08:28:00.887Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-23T08:28:01.147Z] + OS_FAMILY=debian [2022-05-23T08:28:01.147Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-32 [2022-05-23T08:28:01.147Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-23T08:28:01.147Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-23T08:28:01.147Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-23T08:28:01.147Z] + PACKAGES=/tmp/packages_start.txt [2022-05-23T08:28:01.147Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-32 ']' [2022-05-23T08:28:01.147Z] + PACKAGES=/tmp/packages_end.txt [2022-05-23T08:28:01.147Z] + case "${OS_FAMILY}" in [2022-05-23T08:28:01.147Z] + dpkg -l [2022-05-23T08:28:01.147Z] + grep '^ii' [2022-05-23T08:28:01.147Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-23T08:28:01.147Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-23T08:28:01.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-23T08:28:01.147Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-32 ']' [2022-05-23T08:28:01.147Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-32/archives/ [2022-05-23T08:28:01.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-32/archives/ [Pipeline] echo [2022-05-23T08:28:01.160Z] 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-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-23T08:28:01.442Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-23T08:28:02.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-23T08:28:02.005Z] . [Pipeline] withDockerContainer [2022-05-23T08:28:02.071Z] prd-ubuntu20.04-docker-8c-8g-64341 does not seem to be running inside a container [2022-05-23T08:28:02.210Z] $ 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-32/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-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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-23T08:28:02.446Z] $ docker top 01dfbd7740933c1aa9a5b121f905d0240aa8794d07031d75d927ab8fe626e034 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-23T08:28:02.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-23T08:28:03.093Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-23T08:28:03.383Z] + ls /var/log/sa-host [2022-05-23T08:28:03.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-23T08:28:03.596Z] provisioning config files... [2022-05-23T08:28:03.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config1938942369403153755tmp [Pipeline] { [Pipeline] echo [2022-05-23T08:28:03.621Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:03.917Z] ---> create-netrc.sh [Pipeline] } [2022-05-23T08:28:03.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:04.265Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-23T08:28:04.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:04.564Z] ---> sudo-logs.sh [2022-05-23T08:28:04.565Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-23T08:28:04.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:04.904Z] ---> job-cost.sh [2022-05-23T08:28:04.904Z] lf-activate-venv: SKIPPING [2022-05-23T08:28:04.904Z] DEBUG: total: 0.2199999988079071 [2022-05-23T08:28:04.904Z] INFO: Retrieving Stack Cost... [2022-05-23T08:28:05.476Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-23T08:28:06.047Z] INFO: Archiving Costs [Pipeline] echo [2022-05-23T08:28:06.060Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-23T08:28:06.357Z] ---> logs-deploy.sh [2022-05-23T08:28:06.357Z] lf-activate-venv: SKIPPING [2022-05-23T08:28:06.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-32/2 [2022-05-23T08:28:06.357Z] INFO: archiving workspace using pattern(s): [2022-05-23T08:28:07.298Z] Archives upload complete. [2022-05-23T08:28:07.298Z] INFO: archiving logs to Nexus [2022-05-23T08:28:07.869Z] ---> uname -a: [2022-05-23T08:28:07.869Z] Linux prd-ubuntu20-04-docker-8c-8g-64341 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-05-23T08:28:07.869Z] [2022-05-23T08:28:07.869Z]