Pull request #137 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c760a796dc8ed50bcad79e8fbac86931b0aa7d4d+ad81b6791089a5483c30c2e43f91131867ddea47 (e52bec21997282242d28e29c7ddf23967b0987a2) 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-ssh13271869584113842023.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4635343976871412187.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-137/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-137/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12554810301587317299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-137/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11714271788008859852.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh9943171758636971762.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-137/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-137/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12010460004468194180.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4166’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4172 in /w/workspace/foundry_device-usb-camera_PR-137 [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/foundry_device-usb-camera_PR-137 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit c760a796dc8ed50bcad79e8fbac86931b0aa7d4d Merge succeeded, producing c760a796dc8ed50bcad79e8fbac86931b0aa7d4d Checking out Revision c760a796dc8ed50bcad79e8fbac86931b0aa7d4d (PR-137) > 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/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c760a796dc8ed50bcad79e8fbac86931b0aa7d4d # 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 ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c760a796dc8ed50bcad79e8fbac86931b0aa7d4d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T17:08:07.331Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T17:08:07.518Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T17:08:07.618Z] ========================================================= [2023-01-31T17:08:07.618Z] EdgeX Global Pipelines Version Info [2023-01-31T17:08:07.618Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:08:08.348Z] ------------------- [2023-01-31T17:08:08.348Z] stable info: [2023-01-31T17:08:08.348Z] ------------------- [2023-01-31T17:08:08.348Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T17:08:08.348Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T17:08:08.348Z] Message: update stable to v1.0.244 [2023-01-31T17:08:08.918Z] ------------------- [2023-01-31T17:08:08.918Z] experimental info: [2023-01-31T17:08:08.918Z] ------------------- [2023-01-31T17:08:08.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T17:08:08.918Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T17:08:08.918Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T17:08:09.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-01-31T17:08:09.249Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-01-31T17:08:09.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T17:08:09.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T17:08:09.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T17:08:09.413Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T17:08:09.452Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T17:08:09.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-31T17:08:09.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T17:08:09.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T17:08:09.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T17:08:09.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-01-31T17:08:09.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T17:08:09.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T17:08:09.745Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T17:08:09.780Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T17:08:09.817Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T17:08:09.856Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T17:08:09.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T17:08:09.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T17:08:09.968Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-31T17:08:10.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-31T17:08:10.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T17:08:10.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T17:08:10.128Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T17:08:10.163Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T17:08:10.202Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T17:08:10.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo [2023-01-31T17:08:10.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo [2023-01-31T17:08:10.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo [2023-01-31T17:08:10.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [Pipeline] echo [2023-01-31T17:08:10.394Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c760a79 [Pipeline] echo [2023-01-31T17:08:10.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T17:08:10.578Z] provisioning config files... [2023-01-31T17:08:10.595Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-137@tmp/config17854846961126176199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:08:10.983Z] ---> docker-login.sh [2023-01-31T17:08:10.984Z] nexus3.edgexfoundry.org:10001 [2023-01-31T17:08:11.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:11.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:11.244Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:11.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:11.244Z] [2023-01-31T17:08:11.244Z] Login Succeeded [2023-01-31T17:08:11.244Z] nexus3.edgexfoundry.org:10002 [2023-01-31T17:08:11.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:11.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:11.504Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:11.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:11.504Z] [2023-01-31T17:08:11.504Z] Login Succeeded [2023-01-31T17:08:11.504Z] nexus3.edgexfoundry.org:10003 [2023-01-31T17:08:11.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:11.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:11.504Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:11.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:11.504Z] [2023-01-31T17:08:11.504Z] Login Succeeded [2023-01-31T17:08:11.504Z] nexus3.edgexfoundry.org:10004 [2023-01-31T17:08:11.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:11.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:11.504Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:11.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:11.504Z] [2023-01-31T17:08:11.504Z] Login Succeeded [2023-01-31T17:08:11.764Z] docker.io [2023-01-31T17:08:11.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:12.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:12.024Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:12.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:12.024Z] [2023-01-31T17:08:12.024Z] Login Succeeded [2023-01-31T17:08:12.024Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T17:08:12.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T17:08:12.691Z] + git rev-list -1 --merges c760a796dc8ed50bcad79e8fbac86931b0aa7d4d~1..c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [Pipeline] echo [2023-01-31T17:08:12.756Z] -----------> git rev-list -1 --merges c760a796dc8ed50bcad79e8fbac86931b0aa7d4d~1..c760a796dc8ed50bcad79e8fbac86931b0aa7d4d c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [false] [Pipeline] sh [2023-01-31T17:08:13.066Z] + git log --format=format:%s -1 c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [Pipeline] echo [2023-01-31T17:08:13.100Z] ========================================================= [2023-01-31T17:08:13.100Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T17:08:13.100Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T17:08:13.550Z] + git log --format=format:%s -1 c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [Pipeline] echo [2023-01-31T17:08:13.583Z] [semverPrep] GIT_COMMIT: c760a796dc8ed50bcad79e8fbac86931b0aa7d4d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-31T17:08:13.619Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T17:08:14.024Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T17:08:14.024Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T17:08:14.024Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T17:08:14.024Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T17:08:14.024Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-01-31T17:08:14.024Z] /etc/ssh/ssh_known_hosts [2023-01-31T17:08:14.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:08:14.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T17:08:14.467Z] [2023-01-31T17:08:14.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:08:14.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T17:08:14.851Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T17:08:14.851Z] b85a868b505f: Pulling fs layer [2023-01-31T17:08:14.851Z] e2be974225ed: Pulling fs layer [2023-01-31T17:08:14.851Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T17:08:14.851Z] 988bab9f4d93: Pulling fs layer [2023-01-31T17:08:14.851Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T17:08:14.851Z] eaf3925da568: Pulling fs layer [2023-01-31T17:08:14.851Z] bab4dde63d76: Pulling fs layer [2023-01-31T17:08:14.851Z] bde34c3a00c8: Pulling fs layer [2023-01-31T17:08:14.851Z] b352a97aabf1: Pulling fs layer [2023-01-31T17:08:14.851Z] 4872d77fe225: Pulling fs layer [2023-01-31T17:08:14.851Z] 5851b861e8e6: Pulling fs layer [2023-01-31T17:08:14.851Z] bab4dde63d76: Waiting [2023-01-31T17:08:14.851Z] bde34c3a00c8: Waiting [2023-01-31T17:08:14.851Z] b352a97aabf1: Waiting [2023-01-31T17:08:14.851Z] 4872d77fe225: Waiting [2023-01-31T17:08:14.851Z] 5851b861e8e6: Waiting [2023-01-31T17:08:14.851Z] eaf3925da568: Waiting [2023-01-31T17:08:14.851Z] 988bab9f4d93: Waiting [2023-01-31T17:08:14.851Z] e2be974225ed: Verifying Checksum [2023-01-31T17:08:14.851Z] e2be974225ed: Download complete [2023-01-31T17:08:14.851Z] 988bab9f4d93: Verifying Checksum [2023-01-31T17:08:14.851Z] 988bab9f4d93: Download complete [2023-01-31T17:08:15.118Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T17:08:15.118Z] 1469e6f7b9e6: Download complete [2023-01-31T17:08:15.118Z] eaf3925da568: Download complete [2023-01-31T17:08:15.118Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T17:08:15.118Z] 339a4e72a1f5: Download complete [2023-01-31T17:08:15.118Z] bde34c3a00c8: Download complete [2023-01-31T17:08:15.378Z] b352a97aabf1: Download complete [2023-01-31T17:08:15.378Z] 4872d77fe225: Verifying Checksum [2023-01-31T17:08:15.378Z] 4872d77fe225: Download complete [2023-01-31T17:08:15.378Z] 5851b861e8e6: Verifying Checksum [2023-01-31T17:08:15.378Z] 5851b861e8e6: Download complete [2023-01-31T17:08:15.378Z] b85a868b505f: Download complete [2023-01-31T17:08:15.637Z] bab4dde63d76: Verifying Checksum [2023-01-31T17:08:15.637Z] bab4dde63d76: Download complete [2023-01-31T17:08:16.574Z] b85a868b505f: Pull complete [2023-01-31T17:08:16.832Z] e2be974225ed: Pull complete [2023-01-31T17:08:17.403Z] 339a4e72a1f5: Pull complete [2023-01-31T17:08:17.403Z] 988bab9f4d93: Pull complete [2023-01-31T17:08:17.663Z] 1469e6f7b9e6: Pull complete [2023-01-31T17:08:17.663Z] eaf3925da568: Pull complete [2023-01-31T17:08:19.566Z] bab4dde63d76: Pull complete [2023-01-31T17:08:19.566Z] bde34c3a00c8: Pull complete [2023-01-31T17:08:19.827Z] b352a97aabf1: Pull complete [2023-01-31T17:08:19.827Z] 4872d77fe225: Pull complete [2023-01-31T17:08:19.827Z] 5851b861e8e6: Pull complete [2023-01-31T17:08:19.827Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T17:08:19.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T17:08:19.827Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:08:20.055Z] prd-ubuntu20.04-docker-8c-8g-4172 does not seem to be running inside a container [2023-01-31T17:08:20.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-137 -v /w/workspace/foundry_device-usb-camera_PR-137:/w/workspace/foundry_device-usb-camera_PR-137:rw,z -v /w/workspace/foundry_device-usb-camera_PR-137@tmp:/w/workspace/foundry_device-usb-camera_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-31T17:08:22.783Z] $ docker top 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 -eo pid,comm [2023-01-31T17:08:22.838Z] 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). [2023-01-31T17:08:22.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T17:08:22.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T17:08:22.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T17:08:23.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T17:08:23.087Z] $ docker exec 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 ssh-agent [2023-01-31T17:08:23.210Z] SSH_AUTH_SOCK=/tmp/ssh-uXR7JrFWtSn9/agent.33 [2023-01-31T17:08:23.210Z] SSH_AGENT_PID=39 [2023-01-31T17:08:23.216Z] Running ssh-add (command line suppressed) [2023-01-31T17:08:23.327Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-137@tmp/private_key_1107583435546704583.key (/w/workspace/foundry_device-usb-camera_PR-137@tmp/private_key_1107583435546704583.key) [2023-01-31T17:08:23.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T17:08:23.680Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T17:08:23.707Z] $ docker exec --env ******** --env ******** 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 ssh-agent -k [2023-01-31T17:08:23.809Z] unset SSH_AUTH_SOCK; [2023-01-31T17:08:23.809Z] unset SSH_AGENT_PID; [2023-01-31T17:08:23.810Z] echo Agent pid 39 killed; [2023-01-31T17:08:23.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T17:08:23.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T17:08:23.914Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T17:08:24.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T17:08:24.028Z] $ docker exec 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 ssh-agent [2023-01-31T17:08:24.142Z] SSH_AUTH_SOCK=/tmp/ssh-DL0h2nIgturu/agent.71 [2023-01-31T17:08:24.142Z] SSH_AGENT_PID=77 [2023-01-31T17:08:24.147Z] Running ssh-add (command line suppressed) [2023-01-31T17:08:24.252Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-137@tmp/private_key_11625221281060518675.key (/w/workspace/foundry_device-usb-camera_PR-137@tmp/private_key_11625221281060518675.key) [2023-01-31T17:08:24.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T17:08:24.594Z] + git semver init [2023-01-31T17:08:24.855Z] 2023-01-31 17:08:24,785 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T17:08:24.855Z] 2023-01-31 17:08:24,786 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-137/.semver [2023-01-31T17:08:24.855Z] 2023-01-31 17:08:24,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-137/.semver [2023-01-31T17:08:24.855Z] 2023-01-31 17:08:24,787 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-137/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-137, universal_newlines=False, shell=None, istream=None) [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,517 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-137/.git/info/exclude [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-137/.semver/PR-137 with force:False [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,518 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-137/.semver/PR-137 [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,522 [execute] INFO git cat-file --batch-check [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-137/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,528 [execute] INFO git cat-file --batch [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-137/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T17:08:25.792Z] 2023-01-31 17:08:25,533 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-137/.semver/PR-137 [2023-01-31T17:08:25.792Z] 0.0.0 [Pipeline] } [2023-01-31T17:08:25.827Z] $ docker exec --env ******** --env ******** 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 ssh-agent -k [2023-01-31T17:08:25.928Z] unset SSH_AUTH_SOCK; [2023-01-31T17:08:25.929Z] unset SSH_AGENT_PID; [2023-01-31T17:08:25.929Z] echo Agent pid 77 killed; [2023-01-31T17:08:25.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T17:08:26.358Z] + git semver [Pipeline] } [2023-01-31T17:08:26.644Z] $ docker stop --time=1 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 [2023-01-31T17:08:27.915Z] $ docker rm -f --volumes 5fd7c1a9c80d2e84af96b1ca166e8be263bf251f5833687c7ad9c50142f2fdb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T17:08:28.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T17:08:28.724Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T17:08:28.744Z] [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 [2023-01-31T17:08:29.386Z] provisioning config files... [2023-01-31T17:08:29.396Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-137@tmp/config4213095578565727595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:08:29.744Z] ---> docker-login.sh [2023-01-31T17:08:29.744Z] nexus3.edgexfoundry.org:10001 [2023-01-31T17:08:29.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:29.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:29.744Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:29.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:29.744Z] [2023-01-31T17:08:29.744Z] Login Succeeded [2023-01-31T17:08:29.744Z] nexus3.edgexfoundry.org:10002 [2023-01-31T17:08:29.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:29.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:29.744Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:29.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:29.744Z] [2023-01-31T17:08:29.744Z] Login Succeeded [2023-01-31T17:08:29.744Z] nexus3.edgexfoundry.org:10003 [2023-01-31T17:08:30.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:30.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:30.004Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:30.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:30.004Z] [2023-01-31T17:08:30.004Z] Login Succeeded [2023-01-31T17:08:30.004Z] nexus3.edgexfoundry.org:10004 [2023-01-31T17:08:30.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:30.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:30.004Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:30.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:30.004Z] [2023-01-31T17:08:30.004Z] Login Succeeded [2023-01-31T17:08:30.004Z] docker.io [2023-01-31T17:08:30.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:08:30.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:08:30.523Z] Configure a credential helper to remove this warning. See [2023-01-31T17:08:30.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:08:30.523Z] [2023-01-31T17:08:30.523Z] Login Succeeded [2023-01-31T17:08:30.523Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T17:08:30.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T17:08:30.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T17:08:30.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T17:08:30.830Z] ========================================================= [2023-01-31T17:08:30.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T17:08:30.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:08:31.327Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-31T17:08:31.327Z] Sending build context to Docker daemon 1.749MB [2023-01-31T17:08:31.327Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T17:08:31.327Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-31T17:08:31.327Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T17:08:31.327Z] 213ec9aee27d: Pulling fs layer [2023-01-31T17:08:31.327Z] 4583459ba037: Pulling fs layer [2023-01-31T17:08:31.327Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T17:08:31.327Z] 53926ce57604: Pulling fs layer [2023-01-31T17:08:31.327Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T17:08:31.327Z] 22ff95d597cd: Pulling fs layer [2023-01-31T17:08:31.327Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T17:08:31.327Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T17:08:31.327Z] a7acece74701: Pulling fs layer [2023-01-31T17:08:31.327Z] 22ff95d597cd: Waiting [2023-01-31T17:08:31.327Z] 12d6caf4c0d1: Waiting [2023-01-31T17:08:31.327Z] 96b7cbca73a9: Waiting [2023-01-31T17:08:31.327Z] a7acece74701: Waiting [2023-01-31T17:08:31.327Z] 21b2b0c7a3f4: Waiting [2023-01-31T17:08:31.327Z] 53926ce57604: Waiting [2023-01-31T17:08:31.327Z] 93c1e223e6f2: Verifying Checksum [2023-01-31T17:08:31.327Z] 93c1e223e6f2: Download complete [2023-01-31T17:08:31.327Z] 4583459ba037: Verifying Checksum [2023-01-31T17:08:31.327Z] 4583459ba037: Download complete [2023-01-31T17:08:31.327Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-31T17:08:31.327Z] 21b2b0c7a3f4: Download complete [2023-01-31T17:08:31.589Z] 22ff95d597cd: Verifying Checksum [2023-01-31T17:08:31.589Z] 22ff95d597cd: Download complete [2023-01-31T17:08:31.589Z] 213ec9aee27d: Verifying Checksum [2023-01-31T17:08:31.589Z] 213ec9aee27d: Download complete [2023-01-31T17:08:31.589Z] 12d6caf4c0d1: Download complete [2023-01-31T17:08:31.589Z] 213ec9aee27d: Pull complete [2023-01-31T17:08:31.861Z] 4583459ba037: Pull complete [2023-01-31T17:08:31.861Z] 93c1e223e6f2: Pull complete [2023-01-31T17:08:32.463Z] a7acece74701: Verifying Checksum [2023-01-31T17:08:32.463Z] a7acece74701: Download complete [2023-01-31T17:08:32.724Z] 53926ce57604: Verifying Checksum [2023-01-31T17:08:32.724Z] 53926ce57604: Download complete [2023-01-31T17:08:32.984Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T17:08:32.984Z] 96b7cbca73a9: Download complete [2023-01-31T17:08:37.173Z] 53926ce57604: Pull complete [2023-01-31T17:08:37.173Z] 21b2b0c7a3f4: Pull complete [2023-01-31T17:08:37.173Z] 22ff95d597cd: Pull complete [2023-01-31T17:08:37.173Z] 12d6caf4c0d1: Pull complete [2023-01-31T17:08:38.553Z] 96b7cbca73a9: Pull complete [2023-01-31T17:08:39.553Z] a7acece74701: Pull complete [2023-01-31T17:08:39.553Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T17:08:39.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T17:08:39.553Z] ---> db6d94c90886 [2023-01-31T17:08:39.553Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-31T17:08:42.862Z] ---> Running in 6835dc609ebe [2023-01-31T17:08:42.862Z] Removing intermediate container 6835dc609ebe [2023-01-31T17:08:42.862Z] ---> ff4091007f86 [2023-01-31T17:08:42.862Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T17:08:42.862Z] ---> Running in c80f15b446c4 [2023-01-31T17:08:43.121Z] Removing intermediate container c80f15b446c4 [2023-01-31T17:08:43.121Z] ---> 37d977992f3d [2023-01-31T17:08:43.121Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-01-31T17:08:43.121Z] ---> Running in 42e82cc18910 [2023-01-31T17:08:43.121Z] Removing intermediate container 42e82cc18910 [2023-01-31T17:08:43.121Z] ---> c0233b56d0bb [2023-01-31T17:08:43.121Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-01-31T17:08:43.121Z] ---> Running in 88bbccc54e60 [2023-01-31T17:08:43.381Z] Removing intermediate container 88bbccc54e60 [2023-01-31T17:08:43.381Z] ---> c98ca0162948 [2023-01-31T17:08:43.381Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T17:08:43.381Z] ---> Running in 614f58c59cbd [2023-01-31T17:08:43.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T17:08:43.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T17:08:44.163Z] (1/80) Installing mesa (21.3.8-r2) [2023-01-31T17:08:44.163Z] (2/80) Installing libxau (1.0.9-r0) [2023-01-31T17:08:44.163Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-01-31T17:08:44.163Z] (4/80) Installing libxcb (1.15-r0) [2023-01-31T17:08:44.206Z] Still waiting to schedule task [2023-01-31T17:08:44.206Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4170’ is offline [2023-01-31T17:08:44.423Z] (5/80) Installing libx11 (1.8-r0) [2023-01-31T17:08:44.423Z] (6/80) Installing libxext (1.3.4-r0) [2023-01-31T17:08:44.423Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-01-31T17:08:44.423Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-01-31T17:08:44.423Z] (9/80) Installing libpciaccess (0.16-r0) [2023-01-31T17:08:44.423Z] (10/80) Installing libdrm (2.4.110-r0) [2023-01-31T17:08:44.423Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2023-01-31T17:08:44.423Z] (12/80) Installing libxshmfence (1.3-r1) [2023-01-31T17:08:44.423Z] (13/80) Installing mesa-gl (21.3.8-r2) [2023-01-31T17:08:44.423Z] (14/80) Installing icu-data-full (71.1-r2) [2023-01-31T17:08:44.684Z] (15/80) Installing libice (1.0.10-r0) [2023-01-31T17:08:44.684Z] (16/80) Installing libuuid (2.38-r1) [2023-01-31T17:08:44.684Z] (17/80) Installing libsm (1.2.3-r0) [2023-01-31T17:08:44.684Z] (18/80) Installing libxt (1.2.1-r0) [2023-01-31T17:08:44.944Z] (19/80) Installing libxmu (1.1.3-r0) [2023-01-31T17:08:44.944Z] (20/80) Installing xset (1.2.4-r0) [2023-01-31T17:08:44.944Z] (21/80) Installing xprop (1.2.5-r0) [2023-01-31T17:08:44.944Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-01-31T17:08:44.944Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-01-31T17:08:44.944Z] (24/80) Installing libffi (3.4.2-r1) [2023-01-31T17:08:44.944Z] (25/80) Installing libintl (0.21-r2) [2023-01-31T17:08:44.944Z] (26/80) Installing libblkid (2.38-r1) [2023-01-31T17:08:44.944Z] (27/80) Installing libmount (2.38-r1) [2023-01-31T17:08:44.944Z] (28/80) Installing pcre (8.45-r2) [2023-01-31T17:08:44.944Z] (29/80) Installing glib (2.72.1-r0) [2023-01-31T17:08:44.944Z] (30/80) Installing icu-libs (71.1-r2) [2023-01-31T17:08:44.944Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-01-31T17:08:44.944Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-01-31T17:08:44.944Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-01-31T17:08:45.202Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-01-31T17:08:45.202Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-01-31T17:08:45.202Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2023-01-31T17:08:45.202Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-01-31T17:08:45.202Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-01-31T17:08:45.202Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-01-31T17:08:45.202Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-01-31T17:08:45.202Z] (41/80) Installing libpng (1.6.37-r1) [2023-01-31T17:08:45.202Z] (42/80) Installing freetype (2.12.1-r0) [2023-01-31T17:08:45.202Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-01-31T17:08:45.202Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-01-31T17:08:45.202Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-01-31T17:08:45.461Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-01-31T17:08:45.461Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-01-31T17:08:45.461Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-01-31T17:08:45.461Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-01-31T17:08:45.461Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-01-31T17:08:45.461Z] (51/80) Installing mesa-egl (21.3.8-r2) [2023-01-31T17:08:45.461Z] (52/80) Installing avahi-libs (0.8-r6) [2023-01-31T17:08:45.461Z] (53/80) Installing nettle (3.7.3-r0) [2023-01-31T17:08:45.461Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-01-31T17:08:45.461Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-01-31T17:08:45.461Z] (56/80) Installing libunistring (1.0-r0) [2023-01-31T17:08:45.461Z] (57/80) Installing gnutls (3.7.7-r0) [2023-01-31T17:08:45.720Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-01-31T17:08:45.720Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-01-31T17:08:45.720Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-01-31T17:08:45.720Z] (61/80) Installing libevdev (1.12.1-r0) [2023-01-31T17:08:45.720Z] (62/80) Installing mtdev (1.1.6-r0) [2023-01-31T17:08:45.720Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-01-31T17:08:45.720Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-01-31T17:08:45.720Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-01-31T17:08:45.979Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-01-31T17:08:45.979Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-01-31T17:08:45.979Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-01-31T17:08:45.979Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-01-31T17:08:45.979Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-01-31T17:08:45.979Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-01-31T17:08:45.979Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-01-31T17:08:46.242Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-01-31T17:08:46.242Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-01-31T17:08:46.502Z] (75/80) Installing udev-init-scripts (35-r0) [2023-01-31T17:08:46.502Z] Executing udev-init-scripts-35-r0.post-install [2023-01-31T17:08:46.502Z] (76/80) Installing kmod-libs (29-r2) [2023-01-31T17:08:46.502Z] (77/80) Installing eudev (3.2.11-r0) [2023-01-31T17:08:46.502Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-01-31T17:08:46.502Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-01-31T17:08:46.502Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-01-31T17:08:46.502Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T17:08:46.502Z] Executing eudev-3.2.11-r0.trigger [2023-01-31T17:08:46.762Z] OK: 330 MiB in 131 packages [2023-01-31T17:08:49.366Z] Removing intermediate container 614f58c59cbd [2023-01-31T17:08:49.366Z] ---> 23b6ab212937 [2023-01-31T17:08:49.366Z] Step 8/13 : WORKDIR /device-usb-camera [2023-01-31T17:08:49.366Z] ---> Running in 65565882c675 [2023-01-31T17:08:49.366Z] Removing intermediate container 65565882c675 [2023-01-31T17:08:49.366Z] ---> eb5e47be86ce [2023-01-31T17:08:49.366Z] Step 9/13 : COPY go.mod vendor* ./ [2023-01-31T17:08:49.627Z] ---> 9d111852635b [2023-01-31T17:08:49.627Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T17:08:49.627Z] ---> Running in b589895fe5bf [2023-01-31T17:09:21.934Z] Removing intermediate container b589895fe5bf [2023-01-31T17:09:21.934Z] ---> 2b1cbd15eec3 [2023-01-31T17:09:21.934Z] Step 11/13 : COPY . . [2023-01-31T17:09:21.934Z] ---> 5505a24d9e0c [2023-01-31T17:09:21.934Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-01-31T17:09:21.934Z] ---> Running in 51ee6782ec30 [2023-01-31T17:09:21.934Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T17:09:21.934Z] Dload Upload Total Spent Left Speed [2023-01-31T17:09:21.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9096 0 --:--:-- --:--:-- --:--:-- 9155 [2023-01-31T17:09:21.934Z] Removing intermediate container 51ee6782ec30 [2023-01-31T17:09:21.934Z] ---> 50f3b3d45726 [2023-01-31T17:09:21.934Z] Step 13/13 : RUN ${MAKE} [2023-01-31T17:09:21.934Z] ---> Running in 5b7038a72464 [2023-01-31T17:09:21.934Z] noop [2023-01-31T17:09:21.934Z] Removing intermediate container 5b7038a72464 [2023-01-31T17:09:21.934Z] ---> 7ee215ce19c9 [2023-01-31T17:09:21.934Z] Successfully built 7ee215ce19c9 [2023-01-31T17:09:21.934Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:09:22.409Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T17:09:22.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:09:22.572Z] prd-ubuntu20.04-docker-8c-8g-4172 does not seem to be running inside a container [2023-01-31T17:09:22.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-137 -v /w/workspace/foundry_device-usb-camera_PR-137:/w/workspace/foundry_device-usb-camera_PR-137:rw,z -v /w/workspace/foundry_device-usb-camera_PR-137@tmp:/w/workspace/foundry_device-usb-camera_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T17:09:22.930Z] $ docker top 99ac5e2fab6003ca14fa2d302a4f05183bfec957c481e720c5ce5354c43dcc49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T17:09:23.314Z] + go version [2023-01-31T17:09:23.314Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T17:09:23.348Z] $ docker stop --time=1 99ac5e2fab6003ca14fa2d302a4f05183bfec957c481e720c5ce5354c43dcc49 [2023-01-31T17:09:24.625Z] $ docker rm -f --volumes 99ac5e2fab6003ca14fa2d302a4f05183bfec957c481e720c5ce5354c43dcc49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:09:25.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T17:09:25.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:09:25.521Z] prd-ubuntu20.04-docker-8c-8g-4172 does not seem to be running inside a container [2023-01-31T17:09:25.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-137 -v /w/workspace/foundry_device-usb-camera_PR-137:/w/workspace/foundry_device-usb-camera_PR-137:rw,z -v /w/workspace/foundry_device-usb-camera_PR-137@tmp:/w/workspace/foundry_device-usb-camera_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T17:09:25.878Z] $ docker top 6675cdb1ec96d5894a8d3013096a8b509024f52a0ae31b0b55e79715451b5b7e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T17:09:26.272Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-137 [Pipeline] fileExists [Pipeline] sh [2023-01-31T17:09:26.627Z] + make test [2023-01-31T17:09:26.627Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T17:09:26.886Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-01-31T17:09:33.445Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-31T17:09:33.445Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-31T17:09:33.445Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-31T17:09:33.445Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-31T17:09:33.445Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-31T17:09:33.445Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-31T17:09:34.819Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-31T17:09:34.819Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-31T17:09:34.819Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-31T17:09:34.819Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-31T17:09:34.819Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-31T17:09:34.819Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-31T17:09:35.388Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-01-31T17:09:35.388Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-01-31T17:09:35.437Z] $ docker stop --time=1 6675cdb1ec96d5894a8d3013096a8b509024f52a0ae31b0b55e79715451b5b7e [2023-01-31T17:09:37.796Z] $ docker rm -f --volumes 6675cdb1ec96d5894a8d3013096a8b509024f52a0ae31b0b55e79715451b5b7e [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] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:09:38.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T17:09:38.963Z] [2023-01-31T17:09:38.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:09:39.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T17:09:39.336Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T17:09:39.336Z] 5eb5b503b376: Pulling fs layer [2023-01-31T17:09:39.336Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T17:09:39.336Z] ec43610c2a17: Pulling fs layer [2023-01-31T17:09:39.336Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T17:09:39.336Z] 33b1e0a273af: Pulling fs layer [2023-01-31T17:09:39.336Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T17:09:39.336Z] 2f39f015ded8: Pulling fs layer [2023-01-31T17:09:39.336Z] 5d3b04190fa2: Waiting [2023-01-31T17:09:39.336Z] 2f39f015ded8: Waiting [2023-01-31T17:09:39.336Z] 3a2ae6a8a46f: Waiting [2023-01-31T17:09:39.336Z] 33b1e0a273af: Waiting [2023-01-31T17:09:39.336Z] 5c69ac0246d0: Verifying Checksum [2023-01-31T17:09:39.336Z] 5c69ac0246d0: Download complete [2023-01-31T17:09:39.336Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-31T17:09:39.336Z] 3a2ae6a8a46f: Download complete [2023-01-31T17:09:39.599Z] ec43610c2a17: Verifying Checksum [2023-01-31T17:09:39.599Z] ec43610c2a17: Download complete [2023-01-31T17:09:39.599Z] 33b1e0a273af: Verifying Checksum [2023-01-31T17:09:39.599Z] 33b1e0a273af: Download complete [2023-01-31T17:09:39.599Z] 5d3b04190fa2: Verifying Checksum [2023-01-31T17:09:39.599Z] 5d3b04190fa2: Download complete [2023-01-31T17:09:39.858Z] 5eb5b503b376: Verifying Checksum [2023-01-31T17:09:39.858Z] 5eb5b503b376: Download complete [2023-01-31T17:09:40.793Z] 5eb5b503b376: Pull complete [2023-01-31T17:09:41.051Z] 5c69ac0246d0: Pull complete [2023-01-31T17:09:41.309Z] ec43610c2a17: Pull complete [2023-01-31T17:09:41.569Z] 3a2ae6a8a46f: Pull complete [2023-01-31T17:09:41.827Z] 33b1e0a273af: Pull complete [2023-01-31T17:09:41.827Z] 5d3b04190fa2: Pull complete [2023-01-31T17:09:46.014Z] 2f39f015ded8: Pull complete [2023-01-31T17:09:46.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T17:09:46.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T17:09:46.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:09:46.252Z] prd-ubuntu20.04-docker-8c-8g-4172 does not seem to be running inside a container [2023-01-31T17:09:46.350Z] $ 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/foundry_device-usb-camera_PR-137 -v /w/workspace/foundry_device-usb-camera_PR-137:/w/workspace/foundry_device-usb-camera_PR-137:rw,z -v /w/workspace/foundry_device-usb-camera_PR-137@tmp:/w/workspace/foundry_device-usb-camera_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T17:09:50.265Z] $ docker top c9e83d7e5ce2bae67d153a4c95be3ba73641feb001cb14e93d686eb83cf3084f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:09:50.742Z] ---> job-cost.sh [2023-01-31T17:09:50.742Z] lf-activate-venv: SKIPPING [2023-01-31T17:09:50.742Z] INFO: No Stack... [2023-01-31T17:09:51.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T17:09:51.283Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T17:09:51.604Z] + cut -d, -f6 [2023-01-31T17:09:51.604Z] + cat /w/workspace/foundry_device-usb-camera_PR-137/archives/cost.csv [Pipeline] lock [2023-01-31T17:09:51.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [2023-01-31T17:09:51.652Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] did not exist. Created. [2023-01-31T17:09:51.653Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T17:09:52.041Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T17:09:52.117Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T17:09:52.134Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T17:09:52.214Z] $ docker stop --time=1 c9e83d7e5ce2bae67d153a4c95be3ba73641feb001cb14e93d686eb83cf3084f [2023-01-31T17:09:53.366Z] $ docker rm -f --volumes c9e83d7e5ce2bae67d153a4c95be3ba73641feb001cb14e93d686eb83cf3084f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T17:09:53.708Z] Failed in branch amd64 [2023-01-31T17:10:13.445Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4173 in /w/workspace/foundry_device-usb-camera_PR-137 [Pipeline] { [Pipeline] ws [2023-01-31T17:10:13.505Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-31T17:10:13.581Z] Selected Git installation does not exist. Using Default [2023-01-31T17:10:13.582Z] The recommended git tool is: NONE [2023-01-31T17:10:18.906Z] using credential edgex-jenkins-ssh [2023-01-31T17:10:18.925Z] Cloning the remote Git repository [2023-01-31T17:10:18.987Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-01-31T17:10:19.069Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-01-31T17:10:19.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-01-31T17:10:19.224Z] > git --version # timeout=10 [2023-01-31T17:10:19.247Z] > git --version # 'git version 2.25.1' [2023-01-31T17:10:19.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T17:10:19.308Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T17:10:20.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-01-31T17:10:20.876Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T17:10:21.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-01-31T17:10:21.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-01-31T17:10:21.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T17:10:21.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-31T17:10:22.322Z] Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [2023-01-31T17:10:22.555Z] Merge succeeded, producing c760a796dc8ed50bcad79e8fbac86931b0aa7d4d [2023-01-31T17:10:22.555Z] Checking out Revision c760a796dc8ed50bcad79e8fbac86931b0aa7d4d (PR-137) [2023-01-31T17:10:23.052Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-31T17:10:23.105Z] > git --version # timeout=10 [2023-01-31T17:10:23.118Z] > git --version # 'git version 2.25.1' [2023-01-31T17:10:23.136Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-01-31T17:10:22.343Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T17:10:22.360Z] > git checkout -f c760a796dc8ed50bcad79e8fbac86931b0aa7d4d # timeout=10 [2023-01-31T17:10:22.455Z] > git remote # timeout=10 [2023-01-31T17:10:22.477Z] > git config --get remote.origin.url # timeout=10 [2023-01-31T17:10:22.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T17:10:22.515Z] > git merge ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 [2023-01-31T17:10:22.539Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-31T17:10:22.562Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T17:10:22.575Z] > git checkout -f c760a796dc8ed50bcad79e8fbac86931b0aa7d4d # timeout=10 [Pipeline] sh [2023-01-31T17:10:24.166Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T17:10:24.166Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T17:10:24.166Z] Dload Upload Total Spent Left Speed [2023-01-31T17:10:24.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72448 0 --:--:-- --:--:-- --:--:-- 72448 [Pipeline] sh [2023-01-31T17:10:24.810Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T17:10:25.157Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-31T17:10:25.157Z] + sudo tee /etc/docker/daemon.new [2023-01-31T17:10:25.157Z] { [2023-01-31T17:10:25.157Z] "registry-mirrors": [ [2023-01-31T17:10:25.157Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T17:10:25.157Z] ], [2023-01-31T17:10:25.157Z] "bip": "10.250.0.254/24", [2023-01-31T17:10:25.157Z] "hosts": [ [2023-01-31T17:10:25.157Z] "tcp://0.0.0.0:5555", [2023-01-31T17:10:25.157Z] "unix:///var/run/docker.sock" [2023-01-31T17:10:25.157Z] ], [2023-01-31T17:10:25.157Z] "mtu": 1458, [2023-01-31T17:10:25.157Z] "selinux-enabled": true, [2023-01-31T17:10:25.157Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T17:10:25.157Z] } [Pipeline] sh [2023-01-31T17:10:25.505Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T17:10:25.860Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T17:10:44.192Z] provisioning config files... [2023-01-31T17:10:44.220Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10037165083936998877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:10:44.614Z] ---> docker-login.sh [2023-01-31T17:10:44.614Z] nexus3.edgexfoundry.org:10001 [2023-01-31T17:10:44.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:10:45.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:10:45.169Z] Configure a credential helper to remove this warning. See [2023-01-31T17:10:45.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:10:45.169Z] [2023-01-31T17:10:45.169Z] Login Succeeded [2023-01-31T17:10:45.169Z] nexus3.edgexfoundry.org:10002 [2023-01-31T17:10:45.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:10:45.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:10:45.713Z] Configure a credential helper to remove this warning. See [2023-01-31T17:10:45.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:10:45.713Z] [2023-01-31T17:10:45.713Z] Login Succeeded [2023-01-31T17:10:45.713Z] nexus3.edgexfoundry.org:10003 [2023-01-31T17:10:45.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:10:45.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:10:45.983Z] Configure a credential helper to remove this warning. See [2023-01-31T17:10:45.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:10:45.983Z] [2023-01-31T17:10:45.983Z] Login Succeeded [2023-01-31T17:10:45.983Z] nexus3.edgexfoundry.org:10004 [2023-01-31T17:10:46.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:10:46.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:10:46.257Z] Configure a credential helper to remove this warning. See [2023-01-31T17:10:46.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:10:46.257Z] [2023-01-31T17:10:46.257Z] Login Succeeded [2023-01-31T17:10:46.257Z] docker.io [2023-01-31T17:10:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T17:10:46.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T17:10:46.801Z] Configure a credential helper to remove this warning. See [2023-01-31T17:10:46.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T17:10:46.801Z] [2023-01-31T17:10:46.801Z] Login Succeeded [2023-01-31T17:10:46.801Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T17:10:46.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T17:10:47.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T17:10:47.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T17:10:47.266Z] ========================================================= [2023-01-31T17:10:47.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T17:10:47.266Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:10:47.742Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-31T17:10:48.010Z] Sending build context to Docker daemon 1.136MB [2023-01-31T17:10:48.010Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T17:10:48.010Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-31T17:10:48.277Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T17:10:48.277Z] 9b18e9b68314: Pulling fs layer [2023-01-31T17:10:48.277Z] 35d82f9e3411: Pulling fs layer [2023-01-31T17:10:48.277Z] e16973657156: Pulling fs layer [2023-01-31T17:10:48.277Z] fc693d55d65f: Pulling fs layer [2023-01-31T17:10:48.277Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T17:10:48.277Z] dda99020689f: Pulling fs layer [2023-01-31T17:10:48.277Z] db1c61fa0a46: Pulling fs layer [2023-01-31T17:10:48.277Z] 891c053d2c06: Pulling fs layer [2023-01-31T17:10:48.277Z] db1c61fa0a46: Waiting [2023-01-31T17:10:48.277Z] 891c053d2c06: Waiting [2023-01-31T17:10:48.277Z] 7e9fc2657dce: Waiting [2023-01-31T17:10:48.277Z] fc693d55d65f: Waiting [2023-01-31T17:10:48.277Z] dda99020689f: Waiting [2023-01-31T17:10:48.277Z] e16973657156: Download complete [2023-01-31T17:10:48.277Z] 35d82f9e3411: Verifying Checksum [2023-01-31T17:10:48.277Z] 35d82f9e3411: Download complete [2023-01-31T17:10:48.277Z] 7e9fc2657dce: Download complete [2023-01-31T17:10:48.277Z] dda99020689f: Verifying Checksum [2023-01-31T17:10:48.277Z] dda99020689f: Download complete [2023-01-31T17:10:48.277Z] 9b18e9b68314: Verifying Checksum [2023-01-31T17:10:48.277Z] 9b18e9b68314: Download complete [2023-01-31T17:10:49.257Z] 9b18e9b68314: Pull complete [2023-01-31T17:10:49.257Z] 891c053d2c06: Verifying Checksum [2023-01-31T17:10:49.257Z] 891c053d2c06: Download complete [2023-01-31T17:10:49.855Z] 35d82f9e3411: Pull complete [2023-01-31T17:10:50.130Z] e16973657156: Pull complete [2023-01-31T17:10:50.719Z] db1c61fa0a46: Verifying Checksum [2023-01-31T17:10:50.719Z] db1c61fa0a46: Download complete [2023-01-31T17:10:51.313Z] fc693d55d65f: Verifying Checksum [2023-01-31T17:10:51.313Z] fc693d55d65f: Download complete [2023-01-31T17:11:03.647Z] fc693d55d65f: Pull complete [2023-01-31T17:11:03.647Z] 7e9fc2657dce: Pull complete [2023-01-31T17:11:03.647Z] dda99020689f: Pull complete [2023-01-31T17:11:10.446Z] db1c61fa0a46: Pull complete [2023-01-31T17:11:12.406Z] 891c053d2c06: Pull complete [2023-01-31T17:11:12.406Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T17:11:12.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T17:11:12.406Z] ---> f96f9c87975a [2023-01-31T17:11:12.406Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-31T17:11:14.364Z] ---> Running in 34e689057f3d [2023-01-31T17:11:14.364Z] Removing intermediate container 34e689057f3d [2023-01-31T17:11:14.364Z] ---> ac66381a4ab8 [2023-01-31T17:11:14.364Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T17:11:14.364Z] ---> Running in eff5145c5df9 [2023-01-31T17:11:14.637Z] Removing intermediate container eff5145c5df9 [2023-01-31T17:11:14.637Z] ---> dad603198751 [2023-01-31T17:11:14.637Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-01-31T17:11:14.905Z] ---> Running in dcea4fac6eab [2023-01-31T17:11:15.173Z] Removing intermediate container dcea4fac6eab [2023-01-31T17:11:15.173Z] ---> 548acdd4c34a [2023-01-31T17:11:15.173Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-01-31T17:11:15.173Z] ---> Running in d21879c5ddb0 [2023-01-31T17:11:15.450Z] Removing intermediate container d21879c5ddb0 [2023-01-31T17:11:15.450Z] ---> 52c311a740c9 [2023-01-31T17:11:15.450Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T17:11:15.450Z] ---> Running in 148766b603b5 [2023-01-31T17:11:16.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T17:11:16.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T17:11:17.830Z] (1/14) Installing libintl (0.21-r2) [2023-01-31T17:11:17.830Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-01-31T17:11:17.830Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-01-31T17:11:17.830Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-01-31T17:11:17.830Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-01-31T17:11:17.830Z] (6/14) Installing udev-init-scripts (35-r0) [2023-01-31T17:11:17.830Z] Executing udev-init-scripts-35-r0.post-install [2023-01-31T17:11:17.830Z] (7/14) Installing libblkid (2.38-r1) [2023-01-31T17:11:17.830Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-01-31T17:11:17.830Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-01-31T17:11:17.830Z] (10/14) Installing kmod-libs (29-r2) [2023-01-31T17:11:17.830Z] (11/14) Installing eudev (3.2.11-r0) [2023-01-31T17:11:18.100Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-01-31T17:11:18.100Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-01-31T17:11:18.100Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-01-31T17:11:18.100Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T17:11:18.100Z] Executing eudev-3.2.11-r0.trigger [2023-01-31T17:11:18.100Z] OK: 228 MiB in 65 packages [2023-01-31T17:11:19.525Z] Removing intermediate container 148766b603b5 [2023-01-31T17:11:19.525Z] ---> 1e655b79851f [2023-01-31T17:11:19.525Z] Step 8/13 : WORKDIR /device-usb-camera [2023-01-31T17:11:19.525Z] ---> Running in dfa2a54e9eb7 [2023-01-31T17:11:19.525Z] Removing intermediate container dfa2a54e9eb7 [2023-01-31T17:11:19.525Z] ---> b65780f56445 [2023-01-31T17:11:19.525Z] Step 9/13 : COPY go.mod vendor* ./ [2023-01-31T17:11:20.122Z] ---> 1423bafa7571 [2023-01-31T17:11:20.122Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T17:11:20.122Z] ---> Running in 7b04c547bdc0 [2023-01-31T17:12:28.173Z] Removing intermediate container 7b04c547bdc0 [2023-01-31T17:12:28.173Z] ---> 9f04ffb3b3c6 [2023-01-31T17:12:28.173Z] Step 11/13 : COPY . . [2023-01-31T17:12:28.173Z] ---> f6e99a9f2b70 [2023-01-31T17:12:28.173Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-01-31T17:12:28.173Z] ---> Running in 09cdc74c928c [2023-01-31T17:12:28.173Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T17:12:28.173Z] Dload Upload Total Spent Left Speed [2023-01-31T17:12:28.173Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14007 0 --:--:-- --:--:-- --:--:-- 14160 [2023-01-31T17:12:28.173Z] Removing intermediate container 09cdc74c928c [2023-01-31T17:12:28.173Z] ---> a38dcf4ca5c0 [2023-01-31T17:12:28.173Z] Step 13/13 : RUN ${MAKE} [2023-01-31T17:12:28.173Z] ---> Running in c647d9fce5f3 [2023-01-31T17:12:28.173Z] noop [2023-01-31T17:12:28.173Z] Removing intermediate container c647d9fce5f3 [2023-01-31T17:12:28.173Z] ---> d3bdc626b24c [2023-01-31T17:12:28.173Z] Successfully built d3bdc626b24c [2023-01-31T17:12:28.173Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:12:28.653Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T17:12:28.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:12:28.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-4173 does not seem to be running inside a container [2023-01-31T17:12:28.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T17:12:30.122Z] $ docker top 3d58c983601db1bbc3fbad6fff3a88ef99d686c3415ab24310f16aa855c8f272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T17:12:31.004Z] + go version [2023-01-31T17:12:31.004Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T17:12:31.040Z] $ docker stop --time=1 3d58c983601db1bbc3fbad6fff3a88ef99d686c3415ab24310f16aa855c8f272 [2023-01-31T17:12:32.639Z] $ docker rm -f --volumes 3d58c983601db1bbc3fbad6fff3a88ef99d686c3415ab24310f16aa855c8f272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:12:33.492Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T17:12:33.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:12:33.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-4173 does not seem to be running inside a container [2023-01-31T17:12:33.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T17:12:34.950Z] $ docker top 4dc0c6865915a53e78bd819063a2a0d8742ff21b0ca90cf66405ce9b30da654e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T17:12:35.828Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-31T17:12:36.205Z] + make test [2023-01-31T17:12:36.205Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T17:12:38.152Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-01-31T17:13:25.045Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-31T17:13:25.045Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-31T17:13:25.045Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-31T17:13:25.045Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-31T17:13:25.045Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-31T17:13:25.045Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-31T17:13:47.126Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-31T17:13:47.126Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-31T17:13:47.126Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-31T17:13:47.126Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-31T17:13:47.126Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-31T17:13:47.126Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-31T17:13:59.436Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-01-31T17:13:59.436Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-01-31T17:13:59.480Z] $ docker stop --time=1 4dc0c6865915a53e78bd819063a2a0d8742ff21b0ca90cf66405ce9b30da654e [2023-01-31T17:14:01.284Z] $ docker rm -f --volumes 4dc0c6865915a53e78bd819063a2a0d8742ff21b0ca90cf66405ce9b30da654e [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:14:02.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T17:14:02.757Z] [2023-01-31T17:14:02.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:14:03.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T17:14:03.426Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T17:14:03.426Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T17:14:03.426Z] 04944245beec: Pulling fs layer [2023-01-31T17:14:03.426Z] 699f458cf7ca: Pulling fs layer [2023-01-31T17:14:03.426Z] 765212b225bb: Pulling fs layer [2023-01-31T17:14:03.426Z] f23df028b6ca: Pulling fs layer [2023-01-31T17:14:03.426Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T17:14:03.426Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T17:14:03.426Z] f23df028b6ca: Waiting [2023-01-31T17:14:03.426Z] d65c8cfc05b1: Waiting [2023-01-31T17:14:03.426Z] 2437ff75d9bd: Waiting [2023-01-31T17:14:03.426Z] 765212b225bb: Waiting [2023-01-31T17:14:03.426Z] 04944245beec: Download complete [2023-01-31T17:14:03.426Z] 765212b225bb: Verifying Checksum [2023-01-31T17:14:03.426Z] 765212b225bb: Download complete [2023-01-31T17:14:03.695Z] f23df028b6ca: Verifying Checksum [2023-01-31T17:14:03.695Z] f23df028b6ca: Download complete [2023-01-31T17:14:03.695Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T17:14:03.695Z] d65c8cfc05b1: Download complete [2023-01-31T17:14:03.695Z] 699f458cf7ca: Verifying Checksum [2023-01-31T17:14:03.695Z] 699f458cf7ca: Download complete [2023-01-31T17:14:04.278Z] 8998bd30e6a1: Download complete [2023-01-31T17:14:06.232Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T17:14:06.232Z] 2437ff75d9bd: Download complete [2023-01-31T17:14:08.180Z] 8998bd30e6a1: Pull complete [2023-01-31T17:14:08.180Z] 04944245beec: Pull complete [2023-01-31T17:14:09.592Z] 699f458cf7ca: Pull complete [2023-01-31T17:14:09.860Z] 765212b225bb: Pull complete [2023-01-31T17:14:10.446Z] f23df028b6ca: Pull complete [2023-01-31T17:14:10.715Z] d65c8cfc05b1: Pull complete [2023-01-31T17:14:25.721Z] 2437ff75d9bd: Pull complete [2023-01-31T17:14:25.721Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T17:14:25.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T17:14:25.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:14:26.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-4173 does not seem to be running inside a container [2023-01-31T17:14:26.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-31T17:14:28.727Z] $ docker top 63128c121ff6db1c5b02787218ab2ba7000273ea980b42c3997ebdd15e884400 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:29.640Z] ---> job-cost.sh [2023-01-31T17:14:29.640Z] lf-activate-venv: SKIPPING [2023-01-31T17:14:29.640Z] INFO: No Stack... [2023-01-31T17:14:29.906Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T17:14:30.866Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T17:14:31.529Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-01-31T17:14:31.529Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T17:14:31.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [2023-01-31T17:14:31.628Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] did not exist. Created. [2023-01-31T17:14:31.628Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T17:14:32.365Z] /w/workspace/device-usb-camera/1@tmp/durable-07af0461/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T17:14:35.845Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T17:14:35.881Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T17:14:36.328Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T17:14:36.346Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T17:14:36.414Z] $ docker stop --time=1 63128c121ff6db1c5b02787218ab2ba7000273ea980b42c3997ebdd15e884400 [2023-01-31T17:14:37.915Z] $ docker rm -f --volumes 63128c121ff6db1c5b02787218ab2ba7000273ea980b42c3997ebdd15e884400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T17:14:38.606Z] 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 [2023-01-31T17:14:40.532Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-137/archives ] [2023-01-31T17:14:40.532Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-137/archives [2023-01-31T17:14:40.532Z] total 16 [2023-01-31T17:14:40.532Z] drwxr-xr-x 3 root root 4096 Jan 31 17:09 . [2023-01-31T17:14:40.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 17:09 .. [2023-01-31T17:14:40.532Z] drwxr-xr-x 2 root root 4096 Jan 31 17:09 cost [2023-01-31T17:14:40.532Z] -rw-r--r-- 1 root root 89 Jan 31 17:09 cost.csv [2023-01-31T17:14:40.532Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-137/archives [2023-01-31T17:14:40.532Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-137/archives [2023-01-31T17:14:40.532Z] total 16 [2023-01-31T17:14:40.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 17:09 . [2023-01-31T17:14:40.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 17:09 .. [2023-01-31T17:14:40.532Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 17:09 cost [2023-01-31T17:14:40.532Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 31 17:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:40.865Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:41.761Z] ---> package-listing.sh [2023-01-31T17:14:41.761Z] ++ facter osfamily [2023-01-31T17:14:41.761Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T17:14:42.021Z] + OS_FAMILY=debian [2023-01-31T17:14:42.021Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-137 [2023-01-31T17:14:42.021Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T17:14:42.021Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T17:14:42.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T17:14:42.021Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T17:14:42.021Z] + '[' /w/workspace/foundry_device-usb-camera_PR-137 ']' [2023-01-31T17:14:42.021Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T17:14:42.021Z] + case "${OS_FAMILY}" in [2023-01-31T17:14:42.021Z] + dpkg -l [2023-01-31T17:14:42.021Z] + grep '^ii' [2023-01-31T17:14:42.021Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T17:14:42.021Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T17:14:42.021Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T17:14:42.021Z] + '[' /w/workspace/foundry_device-usb-camera_PR-137 ']' [2023-01-31T17:14:42.021Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-137/archives/ [2023-01-31T17:14:42.021Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-137/archives/ [Pipeline] echo [2023-01-31T17:14:42.054Z] 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/foundry_device-usb-camera_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-31T17:14:42.361Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T17:14:42.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T17:14:42.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T17:14:43.135Z] prd-ubuntu20.04-docker-8c-8g-4172 does not seem to be running inside a container [2023-01-31T17:14:43.173Z] $ 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/foundry_device-usb-camera_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-137 -v /w/workspace/foundry_device-usb-camera_PR-137:/w/workspace/foundry_device-usb-camera_PR-137:rw,z -v /w/workspace/foundry_device-usb-camera_PR-137@tmp:/w/workspace/foundry_device-usb-camera_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T17:14:44.440Z] $ docker top 8a518d6013b97ffd56db0b28608880263604cdde09c9dc5b6a7a3948d856d7c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T17:14:44.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T17:14:45.165Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T17:14:45.474Z] + ls /var/log/sa-host [2023-01-31T17:14:45.474Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T17:14:45.599Z] provisioning config files... [2023-01-31T17:14:45.609Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-137@tmp/config18051775355536001646tmp [Pipeline] { [Pipeline] echo [2023-01-31T17:14:45.661Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:45.972Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T17:14:45.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:46.381Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T17:14:46.414Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:46.749Z] ---> sudo-logs.sh [2023-01-31T17:14:46.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T17:14:46.825Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:47.140Z] ---> job-cost.sh [2023-01-31T17:14:47.140Z] lf-activate-venv: SKIPPING [2023-01-31T17:14:47.140Z] DEBUG: total: 0.2199999988079071 [2023-01-31T17:14:47.140Z] INFO: Retrieving Stack Cost... [2023-01-31T17:14:47.400Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T17:14:47.659Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T17:14:47.694Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T17:14:48.007Z] ---> logs-deploy.sh [2023-01-31T17:14:48.007Z] lf-activate-venv: SKIPPING [2023-01-31T17:14:48.007Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-137/1 [2023-01-31T17:14:48.007Z] INFO: archiving workspace using pattern(s): [2023-01-31T17:14:48.945Z] Archives upload complete. [2023-01-31T17:14:48.945Z] INFO: archiving logs to Nexus