Pull request #156 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 396d18d754b015669e82d22be7b37ebd30a860a6+d43df4097523a2749be68cc9a7c29d8397ed8c11 (8275e164843340ebf42b8d0c6509764b18a88b10) 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-ssh5883947909892403496.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-ssh8452705328794390455.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-156/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-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9136492941173914884.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-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6599562414054086608.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-ssh17579485222015416874.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-156/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-156/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14572542913145243925.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7066 in /w/workspace/foundry_device-usb-camera_PR-156 [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-156 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d43df4097523a2749be68cc9a7c29d8397ed8c11 into PR head commit 396d18d754b015669e82d22be7b37ebd30a860a6 Merge succeeded, producing 396d18d754b015669e82d22be7b37ebd30a860a6 Checking out Revision 396d18d754b015669e82d22be7b37ebd30a860a6 (PR-156) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f 396d18d754b015669e82d22be7b37ebd30a860a6 # 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 d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 396d18d754b015669e82d22be7b37ebd30a860a6 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T17:22:41.679Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T17:22:41.880Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T17:22:41.999Z] ========================================================= [2023-02-22T17:22:41.999Z] EdgeX Global Pipelines Version Info [2023-02-22T17:22:41.999Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:22:42.748Z] ------------------- [2023-02-22T17:22:42.748Z] stable info: [2023-02-22T17:22:42.748Z] ------------------- [2023-02-22T17:22:42.748Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T17:22:42.748Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T17:22:42.748Z] Message: update stable to v1.0.244 [2023-02-22T17:22:43.323Z] ------------------- [2023-02-22T17:22:43.323Z] experimental info: [2023-02-22T17:22:43.323Z] ------------------- [2023-02-22T17:22:43.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T17:22:43.323Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T17:22:43.323Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T17:22:43.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-22T17:22:43.673Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-22T17:22:43.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T17:22:43.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T17:22:43.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T17:22:43.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T17:22:43.886Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T17:22:43.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-22T17:22:43.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T17:22:44.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T17:22:44.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T17:22:44.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-22T17:22:44.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T17:22:44.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T17:22:44.218Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T17:22:44.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T17:22:44.308Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T17:22:44.350Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T17:22:44.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T17:22:44.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T17:22:44.483Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-22T17:22:44.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-22T17:22:44.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T17:22:44.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T17:22:44.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T17:22:44.678Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T17:22:44.724Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T17:22:44.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-156 [Pipeline] echo [2023-02-22T17:22:44.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-156 [Pipeline] echo [2023-02-22T17:22:44.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-156 [Pipeline] echo [2023-02-22T17:22:44.895Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 396d18d754b015669e82d22be7b37ebd30a860a6 [Pipeline] echo [2023-02-22T17:22:44.938Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 396d18d [Pipeline] echo [2023-02-22T17:22:44.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T17:22:45.098Z] provisioning config files... [2023-02-22T17:22:45.137Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-156@tmp/config5912884901613053535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:22:45.475Z] ---> docker-login.sh [2023-02-22T17:22:45.475Z] nexus3.edgexfoundry.org:10001 [2023-02-22T17:22:45.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:22:45.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:22:45.741Z] Configure a credential helper to remove this warning. See [2023-02-22T17:22:45.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:22:45.741Z] [2023-02-22T17:22:45.741Z] Login Succeeded [2023-02-22T17:22:45.741Z] nexus3.edgexfoundry.org:10002 [2023-02-22T17:22:46.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:22:46.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:22:46.002Z] Configure a credential helper to remove this warning. See [2023-02-22T17:22:46.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:22:46.002Z] [2023-02-22T17:22:46.002Z] Login Succeeded [2023-02-22T17:22:46.002Z] nexus3.edgexfoundry.org:10003 [2023-02-22T17:22:46.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:22:46.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:22:46.002Z] Configure a credential helper to remove this warning. See [2023-02-22T17:22:46.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:22:46.002Z] [2023-02-22T17:22:46.002Z] Login Succeeded [2023-02-22T17:22:46.002Z] nexus3.edgexfoundry.org:10004 [2023-02-22T17:22:46.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:22:46.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:22:46.262Z] Configure a credential helper to remove this warning. See [2023-02-22T17:22:46.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:22:46.262Z] [2023-02-22T17:22:46.262Z] Login Succeeded [2023-02-22T17:22:46.262Z] docker.io [2023-02-22T17:22:46.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:22:46.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:22:46.522Z] Configure a credential helper to remove this warning. See [2023-02-22T17:22:46.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:22:46.522Z] [2023-02-22T17:22:46.522Z] Login Succeeded [2023-02-22T17:22:46.522Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T17:22:46.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T17:22:47.144Z] + git rev-list -1 --merges 396d18d754b015669e82d22be7b37ebd30a860a6~1..396d18d754b015669e82d22be7b37ebd30a860a6 [Pipeline] echo [2023-02-22T17:22:47.214Z] -----------> git rev-list -1 --merges 396d18d754b015669e82d22be7b37ebd30a860a6~1..396d18d754b015669e82d22be7b37ebd30a860a6 396d18d754b015669e82d22be7b37ebd30a860a6 [false] [Pipeline] sh [2023-02-22T17:22:47.526Z] + git log --format=format:%s -1 396d18d754b015669e82d22be7b37ebd30a860a6 [Pipeline] echo [2023-02-22T17:22:47.564Z] ========================================================= [2023-02-22T17:22:47.564Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T17:22:47.564Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T17:22:47.999Z] + git log --format=format:%s -1 396d18d754b015669e82d22be7b37ebd30a860a6 [Pipeline] echo [2023-02-22T17:22:48.037Z] [semverPrep] GIT_COMMIT: 396d18d754b015669e82d22be7b37ebd30a860a6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-22T17:22:48.073Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T17:22:48.459Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T17:22:48.459Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T17:22:48.459Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T17:22:48.459Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T17:22:48.459Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T17:22:48.459Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T17:22:48.459Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:22:48.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T17:22:48.957Z] [2023-02-22T17:22:48.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:22:49.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T17:22:49.335Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T17:22:49.335Z] b85a868b505f: Pulling fs layer [2023-02-22T17:22:49.335Z] e2be974225ed: Pulling fs layer [2023-02-22T17:22:49.335Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T17:22:49.335Z] 988bab9f4d93: Pulling fs layer [2023-02-22T17:22:49.335Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T17:22:49.335Z] eaf3925da568: Pulling fs layer [2023-02-22T17:22:49.335Z] bab4dde63d76: Pulling fs layer [2023-02-22T17:22:49.335Z] bde34c3a00c8: Pulling fs layer [2023-02-22T17:22:49.335Z] b352a97aabf1: Pulling fs layer [2023-02-22T17:22:49.335Z] 4872d77fe225: Pulling fs layer [2023-02-22T17:22:49.335Z] 5851b861e8e6: Pulling fs layer [2023-02-22T17:22:49.335Z] 988bab9f4d93: Waiting [2023-02-22T17:22:49.335Z] 1469e6f7b9e6: Waiting [2023-02-22T17:22:49.335Z] eaf3925da568: Waiting [2023-02-22T17:22:49.335Z] bab4dde63d76: Waiting [2023-02-22T17:22:49.335Z] bde34c3a00c8: Waiting [2023-02-22T17:22:49.335Z] b352a97aabf1: Waiting [2023-02-22T17:22:49.335Z] 4872d77fe225: Waiting [2023-02-22T17:22:49.335Z] 5851b861e8e6: Waiting [2023-02-22T17:22:49.599Z] e2be974225ed: Download complete [2023-02-22T17:22:49.599Z] 988bab9f4d93: Verifying Checksum [2023-02-22T17:22:49.599Z] 988bab9f4d93: Download complete [2023-02-22T17:22:49.599Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T17:22:49.599Z] 1469e6f7b9e6: Download complete [2023-02-22T17:22:49.599Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T17:22:49.599Z] 339a4e72a1f5: Download complete [2023-02-22T17:22:49.599Z] eaf3925da568: Verifying Checksum [2023-02-22T17:22:49.599Z] eaf3925da568: Download complete [2023-02-22T17:22:49.599Z] bde34c3a00c8: Download complete [2023-02-22T17:22:49.599Z] b352a97aabf1: Download complete [2023-02-22T17:22:49.599Z] 4872d77fe225: Verifying Checksum [2023-02-22T17:22:49.599Z] 4872d77fe225: Download complete [2023-02-22T17:22:49.869Z] 5851b861e8e6: Verifying Checksum [2023-02-22T17:22:49.869Z] 5851b861e8e6: Download complete [2023-02-22T17:22:49.869Z] b85a868b505f: Verifying Checksum [2023-02-22T17:22:49.869Z] b85a868b505f: Download complete [2023-02-22T17:22:50.128Z] bab4dde63d76: Verifying Checksum [2023-02-22T17:22:50.128Z] bab4dde63d76: Download complete [2023-02-22T17:22:51.127Z] b85a868b505f: Pull complete [2023-02-22T17:22:51.127Z] e2be974225ed: Pull complete [2023-02-22T17:22:51.693Z] 339a4e72a1f5: Pull complete [2023-02-22T17:22:51.951Z] 988bab9f4d93: Pull complete [2023-02-22T17:22:52.210Z] 1469e6f7b9e6: Pull complete [2023-02-22T17:22:52.210Z] eaf3925da568: Pull complete [2023-02-22T17:22:54.112Z] bab4dde63d76: Pull complete [2023-02-22T17:22:54.112Z] bde34c3a00c8: Pull complete [2023-02-22T17:22:54.112Z] b352a97aabf1: Pull complete [2023-02-22T17:22:54.112Z] 4872d77fe225: Pull complete [2023-02-22T17:22:54.112Z] 5851b861e8e6: Pull complete [2023-02-22T17:22:54.112Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T17:22:54.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T17:22:54.112Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:22:54.334Z] prd-ubuntu20.04-docker-8c-8g-7066 does not seem to be running inside a container [2023-02-22T17:22:54.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-156 -v /w/workspace/foundry_device-usb-camera_PR-156:/w/workspace/foundry_device-usb-camera_PR-156:rw,z -v /w/workspace/foundry_device-usb-camera_PR-156@tmp:/w/workspace/foundry_device-usb-camera_PR-156@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-02-22T17:22:58.642Z] $ docker top 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 -eo pid,comm [2023-02-22T17:22:58.697Z] 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-02-22T17:22:58.697Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T17:22:58.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T17:22:58.839Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T17:22:58.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T17:22:58.958Z] $ docker exec 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 ssh-agent [2023-02-22T17:22:59.064Z] SSH_AUTH_SOCK=/tmp/ssh-95qoEHvy3A3c/agent.33 [2023-02-22T17:22:59.064Z] SSH_AGENT_PID=39 [2023-02-22T17:22:59.071Z] Running ssh-add (command line suppressed) [2023-02-22T17:22:59.183Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-156@tmp/private_key_11868066654194745016.key (/w/workspace/foundry_device-usb-camera_PR-156@tmp/private_key_11868066654194745016.key) [2023-02-22T17:22:59.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T17:22:59.526Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T17:22:59.556Z] $ docker exec --env ******** --env ******** 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 ssh-agent -k [2023-02-22T17:22:59.657Z] unset SSH_AUTH_SOCK; [2023-02-22T17:22:59.657Z] unset SSH_AGENT_PID; [2023-02-22T17:22:59.657Z] echo Agent pid 39 killed; [2023-02-22T17:22:59.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T17:22:59.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T17:22:59.760Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T17:22:59.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T17:22:59.885Z] $ docker exec 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 ssh-agent [2023-02-22T17:22:59.999Z] SSH_AUTH_SOCK=/tmp/ssh-AgrAFAKZOo7B/agent.71 [2023-02-22T17:22:59.999Z] SSH_AGENT_PID=78 [2023-02-22T17:23:00.004Z] Running ssh-add (command line suppressed) [2023-02-22T17:23:00.110Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-156@tmp/private_key_13575914050377251261.key (/w/workspace/foundry_device-usb-camera_PR-156@tmp/private_key_13575914050377251261.key) [2023-02-22T17:23:00.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T17:23:00.451Z] + git semver init [2023-02-22T17:23:00.710Z] 2023-02-22 17:23:00,646 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T17:23:00.710Z] 2023-02-22 17:23:00,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-156/.semver [2023-02-22T17:23:00.710Z] 2023-02-22 17:23:00,649 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-156/.semver [2023-02-22T17:23:00.710Z] 2023-02-22 17:23:00,650 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-156/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-156, universal_newlines=False, shell=None, istream=None) [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,514 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-156/.git/info/exclude [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,514 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-156/.semver/PR-156 with force:False [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,514 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-156/.semver/PR-156 [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,518 [execute] INFO git cat-file --batch-check [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-156/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,525 [execute] INFO git cat-file --batch [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-156/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T17:23:01.648Z] 2023-02-22 17:23:01,530 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-156/.semver/PR-156 [2023-02-22T17:23:01.648Z] 0.0.0 [Pipeline] } [2023-02-22T17:23:01.672Z] $ docker exec --env ******** --env ******** 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 ssh-agent -k [2023-02-22T17:23:01.779Z] unset SSH_AUTH_SOCK; [2023-02-22T17:23:01.780Z] unset SSH_AGENT_PID; [2023-02-22T17:23:01.780Z] echo Agent pid 78 killed; [2023-02-22T17:23:01.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T17:23:02.207Z] + git semver [Pipeline] } [2023-02-22T17:23:02.494Z] $ docker stop --time=1 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 [2023-02-22T17:23:03.801Z] $ docker rm -f --volumes 3bfcdffe1a4719e84034d4e309add0d112b5f55eb44940bfead8d54c0b511385 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T17:23:04.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T17:23:04.543Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T17:23:04.560Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T17:23:05.142Z] provisioning config files... [2023-02-22T17:23:05.153Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-156@tmp/config7352648616264385739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:23:05.502Z] ---> docker-login.sh [2023-02-22T17:23:05.502Z] nexus3.edgexfoundry.org:10001 [2023-02-22T17:23:05.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:23:05.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:23:05.502Z] Configure a credential helper to remove this warning. See [2023-02-22T17:23:05.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:23:05.502Z] [2023-02-22T17:23:05.502Z] Login Succeeded [2023-02-22T17:23:05.503Z] nexus3.edgexfoundry.org:10002 [2023-02-22T17:23:05.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:23:05.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:23:05.503Z] Configure a credential helper to remove this warning. See [2023-02-22T17:23:05.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:23:05.503Z] [2023-02-22T17:23:05.503Z] Login Succeeded [2023-02-22T17:23:05.503Z] nexus3.edgexfoundry.org:10003 [2023-02-22T17:23:05.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:23:05.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:23:05.762Z] Configure a credential helper to remove this warning. See [2023-02-22T17:23:05.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:23:05.762Z] [2023-02-22T17:23:05.762Z] Login Succeeded [2023-02-22T17:23:05.762Z] nexus3.edgexfoundry.org:10004 [2023-02-22T17:23:05.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:23:05.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:23:05.762Z] Configure a credential helper to remove this warning. See [2023-02-22T17:23:05.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:23:05.762Z] [2023-02-22T17:23:05.762Z] Login Succeeded [2023-02-22T17:23:05.762Z] docker.io [2023-02-22T17:23:05.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:23:06.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:23:06.023Z] Configure a credential helper to remove this warning. See [2023-02-22T17:23:06.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:23:06.023Z] [2023-02-22T17:23:06.023Z] Login Succeeded [2023-02-22T17:23:06.023Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T17:23:06.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T17:23:06.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T17:23:06.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T17:23:06.317Z] ========================================================= [2023-02-22T17:23:06.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T17:23:06.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:23:06.798Z] + 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-02-22T17:23:06.798Z] Sending build context to Docker daemon 1.75MB [2023-02-22T17:23:06.798Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T17:23:06.798Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-22T17:23:06.798Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T17:23:06.798Z] 213ec9aee27d: Pulling fs layer [2023-02-22T17:23:06.798Z] 4583459ba037: Pulling fs layer [2023-02-22T17:23:06.798Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T17:23:06.798Z] 53926ce57604: Pulling fs layer [2023-02-22T17:23:06.798Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T17:23:06.798Z] 22ff95d597cd: Pulling fs layer [2023-02-22T17:23:06.798Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T17:23:06.798Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T17:23:06.798Z] a7acece74701: Pulling fs layer [2023-02-22T17:23:06.798Z] 21b2b0c7a3f4: Waiting [2023-02-22T17:23:06.798Z] 22ff95d597cd: Waiting [2023-02-22T17:23:06.798Z] 12d6caf4c0d1: Waiting [2023-02-22T17:23:06.798Z] 96b7cbca73a9: Waiting [2023-02-22T17:23:06.798Z] a7acece74701: Waiting [2023-02-22T17:23:06.798Z] 53926ce57604: Waiting [2023-02-22T17:23:06.798Z] 93c1e223e6f2: Verifying Checksum [2023-02-22T17:23:06.798Z] 93c1e223e6f2: Download complete [2023-02-22T17:23:06.798Z] 4583459ba037: Download complete [2023-02-22T17:23:06.798Z] 21b2b0c7a3f4: Download complete [2023-02-22T17:23:06.798Z] 22ff95d597cd: Verifying Checksum [2023-02-22T17:23:06.798Z] 22ff95d597cd: Download complete [2023-02-22T17:23:07.060Z] 213ec9aee27d: Verifying Checksum [2023-02-22T17:23:07.060Z] 213ec9aee27d: Download complete [2023-02-22T17:23:07.060Z] 12d6caf4c0d1: Verifying Checksum [2023-02-22T17:23:07.060Z] 12d6caf4c0d1: Download complete [2023-02-22T17:23:07.060Z] 213ec9aee27d: Pull complete [2023-02-22T17:23:07.337Z] 4583459ba037: Pull complete [2023-02-22T17:23:07.600Z] 93c1e223e6f2: Pull complete [2023-02-22T17:23:07.600Z] a7acece74701: Verifying Checksum [2023-02-22T17:23:07.600Z] a7acece74701: Download complete [2023-02-22T17:23:07.859Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T17:23:07.859Z] 96b7cbca73a9: Download complete [2023-02-22T17:23:07.859Z] 53926ce57604: Verifying Checksum [2023-02-22T17:23:07.859Z] 53926ce57604: Download complete [2023-02-22T17:23:12.045Z] 53926ce57604: Pull complete [2023-02-22T17:23:12.045Z] 21b2b0c7a3f4: Pull complete [2023-02-22T17:23:12.045Z] 22ff95d597cd: Pull complete [2023-02-22T17:23:12.303Z] 12d6caf4c0d1: Pull complete [2023-02-22T17:23:14.201Z] 96b7cbca73a9: Pull complete [2023-02-22T17:23:14.804Z] a7acece74701: Pull complete [2023-02-22T17:23:14.804Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T17:23:14.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T17:23:14.804Z] ---> db6d94c90886 [2023-02-22T17:23:14.804Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-22T17:23:19.970Z] Still waiting to schedule task [2023-02-22T17:23:19.970Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7062’ [2023-02-22T17:23:22.925Z] ---> Running in e87561e2feda [2023-02-22T17:23:22.925Z] Removing intermediate container e87561e2feda [2023-02-22T17:23:22.925Z] ---> 616b262a0c69 [2023-02-22T17:23:22.925Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T17:23:22.925Z] ---> Running in 7d7e4b17b028 [2023-02-22T17:23:22.925Z] Removing intermediate container 7d7e4b17b028 [2023-02-22T17:23:22.925Z] ---> 95d46047a2b8 [2023-02-22T17:23:22.925Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-22T17:23:22.925Z] ---> Running in 626273282c93 [2023-02-22T17:23:24.854Z] Removing intermediate container 626273282c93 [2023-02-22T17:23:24.854Z] ---> 4e00378952d6 [2023-02-22T17:23:24.854Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-22T17:23:25.422Z] ---> Running in 02407156d5df [2023-02-22T17:23:26.363Z] Removing intermediate container 02407156d5df [2023-02-22T17:23:26.363Z] ---> 19bbb08ff471 [2023-02-22T17:23:26.363Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T17:23:27.300Z] ---> Running in bbf88a2c6935 [2023-02-22T17:23:28.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T17:23:28.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T17:23:28.754Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-22T17:23:28.754Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-22T17:23:28.754Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-22T17:23:28.754Z] (4/80) Installing libxcb (1.15-r0) [2023-02-22T17:23:28.754Z] (5/80) Installing libx11 (1.8-r0) [2023-02-22T17:23:28.754Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-22T17:23:28.754Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-22T17:23:28.754Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-22T17:23:28.754Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-22T17:23:28.754Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-22T17:23:28.754Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-22T17:23:28.754Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-22T17:23:28.754Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-22T17:23:28.754Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-22T17:23:29.012Z] (15/80) Installing libice (1.0.10-r0) [2023-02-22T17:23:29.012Z] (16/80) Installing libuuid (2.38-r1) [2023-02-22T17:23:29.012Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-22T17:23:29.012Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-22T17:23:29.012Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-22T17:23:29.012Z] (20/80) Installing xset (1.2.4-r0) [2023-02-22T17:23:29.012Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-22T17:23:29.012Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-22T17:23:29.012Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-22T17:23:29.012Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-22T17:23:29.012Z] (25/80) Installing libintl (0.21-r2) [2023-02-22T17:23:29.012Z] (26/80) Installing libblkid (2.38-r1) [2023-02-22T17:23:29.012Z] (27/80) Installing libmount (2.38-r1) [2023-02-22T17:23:29.012Z] (28/80) Installing pcre (8.45-r2) [2023-02-22T17:23:29.012Z] (29/80) Installing glib (2.72.1-r0) [2023-02-22T17:23:29.012Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-22T17:23:29.310Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-22T17:23:29.310Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-22T17:23:29.310Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-22T17:23:29.310Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-22T17:23:29.310Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-22T17:23:29.310Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-22T17:23:29.310Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-22T17:23:29.310Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-22T17:23:29.609Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-22T17:23:29.609Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-22T17:23:29.609Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-22T17:23:29.609Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-22T17:23:29.609Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-22T17:23:29.609Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-22T17:23:29.609Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-22T17:23:29.609Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-22T17:23:29.609Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-22T17:23:29.609Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-22T17:23:29.896Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-22T17:23:29.896Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-22T17:23:29.897Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-22T17:23:29.897Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-22T17:23:29.897Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-22T17:23:29.897Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-22T17:23:29.897Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-22T17:23:29.897Z] (56/80) Installing libunistring (1.0-r0) [2023-02-22T17:23:29.897Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-22T17:23:29.897Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-22T17:23:29.897Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-22T17:23:29.897Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-22T17:23:29.897Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-22T17:23:29.897Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-22T17:23:29.897Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-22T17:23:29.897Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-22T17:23:29.897Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-22T17:23:29.897Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-22T17:23:29.897Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-22T17:23:29.897Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-22T17:23:29.897Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-22T17:23:29.897Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-22T17:23:29.897Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-22T17:23:29.897Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-22T17:23:30.179Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-22T17:23:30.179Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-22T17:23:30.179Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-22T17:23:30.179Z] Executing udev-init-scripts-35-r0.post-install [2023-02-22T17:23:30.179Z] (76/80) Installing kmod-libs (29-r2) [2023-02-22T17:23:30.179Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-22T17:23:30.179Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-22T17:23:30.179Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-22T17:23:30.179Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-22T17:23:30.179Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T17:23:30.179Z] Executing eudev-3.2.11-r0.trigger [2023-02-22T17:23:30.179Z] OK: 331 MiB in 131 packages [2023-02-22T17:23:35.589Z] Removing intermediate container bbf88a2c6935 [2023-02-22T17:23:35.589Z] ---> 12afec8fa75f [2023-02-22T17:23:35.589Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-22T17:23:35.589Z] ---> Running in d218df91ba3e [2023-02-22T17:23:35.589Z] Removing intermediate container d218df91ba3e [2023-02-22T17:23:35.589Z] ---> 03e72a73d953 [2023-02-22T17:23:35.589Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-22T17:23:35.589Z] ---> a49c1ec81d27 [2023-02-22T17:23:35.589Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T17:23:35.589Z] ---> Running in 533be7eb7933 [2023-02-22T17:24:07.714Z] Removing intermediate container 533be7eb7933 [2023-02-22T17:24:07.714Z] ---> 87e8acd9b662 [2023-02-22T17:24:07.714Z] Step 11/13 : COPY . . [2023-02-22T17:24:07.714Z] ---> dc6d6fac3baf [2023-02-22T17:24:07.714Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-22T17:24:07.714Z] ---> Running in dbf631525131 [2023-02-22T17:24:07.714Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T17:24:07.714Z] Dload Upload Total Spent Left Speed [2023-02-22T17:24:07.714Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5962 0 --:--:-- --:--:-- --:--:-- 6000 [2023-02-22T17:24:07.714Z] Removing intermediate container dbf631525131 [2023-02-22T17:24:07.714Z] ---> 34e2ce24b165 [2023-02-22T17:24:07.714Z] Step 13/13 : RUN ${MAKE} [2023-02-22T17:24:07.714Z] ---> Running in 6c89213a3cc2 [2023-02-22T17:24:07.714Z] noop [2023-02-22T17:24:07.714Z] Removing intermediate container 6c89213a3cc2 [2023-02-22T17:24:07.714Z] ---> dc834a9e870e [2023-02-22T17:24:07.714Z] Successfully built dc834a9e870e [2023-02-22T17:24:07.714Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:24:08.167Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T17:24:08.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:24:08.325Z] prd-ubuntu20.04-docker-8c-8g-7066 does not seem to be running inside a container [2023-02-22T17:24:08.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-156 -v /w/workspace/foundry_device-usb-camera_PR-156:/w/workspace/foundry_device-usb-camera_PR-156:rw,z -v /w/workspace/foundry_device-usb-camera_PR-156@tmp:/w/workspace/foundry_device-usb-camera_PR-156@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-02-22T17:24:08.765Z] $ docker top 8cf65c6268c8985d3ba1a7cc703a5786ff182311dd3cb7ba6447c247287a9e0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T17:24:09.152Z] + go version [2023-02-22T17:24:09.152Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T17:24:09.184Z] $ docker stop --time=1 8cf65c6268c8985d3ba1a7cc703a5786ff182311dd3cb7ba6447c247287a9e0e [2023-02-22T17:24:10.487Z] $ docker rm -f --volumes 8cf65c6268c8985d3ba1a7cc703a5786ff182311dd3cb7ba6447c247287a9e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:24:11.192Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T17:24:11.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:24:11.359Z] prd-ubuntu20.04-docker-8c-8g-7066 does not seem to be running inside a container [2023-02-22T17:24:11.391Z] $ 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-156 -v /w/workspace/foundry_device-usb-camera_PR-156:/w/workspace/foundry_device-usb-camera_PR-156:rw,z -v /w/workspace/foundry_device-usb-camera_PR-156@tmp:/w/workspace/foundry_device-usb-camera_PR-156@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-02-22T17:24:11.804Z] $ docker top 87f13337085aa6cf73eea95736a9aa31873e599aec9834c25733866f3471a97a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T17:24:12.196Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-156 [Pipeline] fileExists [Pipeline] sh [2023-02-22T17:24:12.565Z] + make test [2023-02-22T17:24:12.565Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T17:24:12.824Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-22T17:24:19.382Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-22T17:24:19.382Z] /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-02-22T17:24:19.382Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-22T17:24:19.382Z] 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-02-22T17:24:19.382Z] 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-02-22T17:24:19.382Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-22T17:24:19.947Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-22T17:24:19.947Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-22T17:24:19.947Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-02-22T17:24:19.947Z] have (context.Context, requests.AddEventRequest) [2023-02-22T17:24:19.947Z] want (context.Context, string, requests.AddEventRequest) [2023-02-22T17:24:20.881Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-02-22T17:24:20.881Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-02-22T17:24:20.924Z] $ docker stop --time=1 87f13337085aa6cf73eea95736a9aa31873e599aec9834c25733866f3471a97a [2023-02-22T17:24:23.791Z] $ docker rm -f --volumes 87f13337085aa6cf73eea95736a9aa31873e599aec9834c25733866f3471a97a [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-02-22T17:24:24.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T17:24:24.945Z] [2023-02-22T17:24:24.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:24:25.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T17:24:25.345Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T17:24:25.345Z] 5eb5b503b376: Pulling fs layer [2023-02-22T17:24:25.345Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T17:24:25.345Z] ec43610c2a17: Pulling fs layer [2023-02-22T17:24:25.345Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T17:24:25.345Z] 33b1e0a273af: Pulling fs layer [2023-02-22T17:24:25.345Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T17:24:25.345Z] 2f39f015ded8: Pulling fs layer [2023-02-22T17:24:25.345Z] 3a2ae6a8a46f: Waiting [2023-02-22T17:24:25.345Z] 33b1e0a273af: Waiting [2023-02-22T17:24:25.345Z] 5d3b04190fa2: Waiting [2023-02-22T17:24:25.345Z] 5c69ac0246d0: Download complete [2023-02-22T17:24:25.345Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T17:24:25.345Z] 3a2ae6a8a46f: Download complete [2023-02-22T17:24:25.606Z] 33b1e0a273af: Verifying Checksum [2023-02-22T17:24:25.606Z] 33b1e0a273af: Download complete [2023-02-22T17:24:25.606Z] 5d3b04190fa2: Download complete [2023-02-22T17:24:25.606Z] ec43610c2a17: Verifying Checksum [2023-02-22T17:24:25.606Z] ec43610c2a17: Download complete [2023-02-22T17:24:25.606Z] 5eb5b503b376: Verifying Checksum [2023-02-22T17:24:25.606Z] 5eb5b503b376: Download complete [2023-02-22T17:24:26.174Z] 2f39f015ded8: Download complete [2023-02-22T17:24:26.746Z] 5eb5b503b376: Pull complete [2023-02-22T17:24:27.005Z] 5c69ac0246d0: Pull complete [2023-02-22T17:24:27.265Z] ec43610c2a17: Pull complete [2023-02-22T17:24:27.523Z] 3a2ae6a8a46f: Pull complete [2023-02-22T17:24:27.523Z] 33b1e0a273af: Pull complete [2023-02-22T17:24:27.780Z] 5d3b04190fa2: Pull complete [2023-02-22T17:24:31.963Z] 2f39f015ded8: Pull complete [2023-02-22T17:24:31.964Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T17:24:31.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T17:24:31.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:24:32.163Z] prd-ubuntu20.04-docker-8c-8g-7066 does not seem to be running inside a container [2023-02-22T17:24:32.195Z] $ 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-156 -v /w/workspace/foundry_device-usb-camera_PR-156:/w/workspace/foundry_device-usb-camera_PR-156:rw,z -v /w/workspace/foundry_device-usb-camera_PR-156@tmp:/w/workspace/foundry_device-usb-camera_PR-156@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-02-22T17:24:36.914Z] $ docker top ef4cdb455f728343434004886e8f7faa5deff3ab89dfa374344d1c4289dca672 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:24:37.368Z] ---> job-cost.sh [2023-02-22T17:24:37.368Z] lf-activate-venv: SKIPPING [2023-02-22T17:24:37.368Z] INFO: No Stack... [2023-02-22T17:24:37.627Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T17:24:37.886Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T17:24:38.200Z] + cat /w/workspace/foundry_device-usb-camera_PR-156/archives/cost.csv [2023-02-22T17:24:38.200Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T17:24:38.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [2023-02-22T17:24:38.244Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] did not exist. Created. [2023-02-22T17:24:38.245Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T17:24:38.625Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T17:24:38.681Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T17:24:38.701Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T17:24:38.776Z] $ docker stop --time=1 ef4cdb455f728343434004886e8f7faa5deff3ab89dfa374344d1c4289dca672 [2023-02-22T17:24:40.281Z] $ docker rm -f --volumes ef4cdb455f728343434004886e8f7faa5deff3ab89dfa374344d1c4289dca672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T17:24:40.618Z] Failed in branch amd64 [2023-02-22T17:25:53.761Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7069 in /w/workspace/foundry_device-usb-camera_PR-156 [Pipeline] { [Pipeline] ws [2023-02-22T17:25:53.824Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-22T17:25:53.905Z] Selected Git installation does not exist. Using Default [2023-02-22T17:25:53.905Z] The recommended git tool is: NONE [2023-02-22T17:25:59.921Z] using credential edgex-jenkins-ssh [2023-02-22T17:25:59.939Z] Cloning the remote Git repository [2023-02-22T17:25:59.990Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-22T17:26:00.071Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-22T17:26:00.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-22T17:26:00.244Z] > git --version # timeout=10 [2023-02-22T17:26:00.262Z] > git --version # 'git version 2.25.1' [2023-02-22T17:26:00.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T17:26:00.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T17:26:01.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-22T17:26:01.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T17:26:02.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-22T17:26:02.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-22T17:26:02.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T17:26:02.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T17:26:02.893Z] Merging remotes/origin/main commit d43df4097523a2749be68cc9a7c29d8397ed8c11 into PR head commit 396d18d754b015669e82d22be7b37ebd30a860a6 [2023-02-22T17:26:03.159Z] Merge succeeded, producing 396d18d754b015669e82d22be7b37ebd30a860a6 [2023-02-22T17:26:03.160Z] Checking out Revision 396d18d754b015669e82d22be7b37ebd30a860a6 (PR-156) [2023-02-22T17:26:03.769Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-22T17:26:03.830Z] > git --version # timeout=10 [2023-02-22T17:26:03.841Z] > git --version # 'git version 2.25.1' [2023-02-22T17:26:03.857Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T17:26:02.917Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T17:26:02.937Z] > git checkout -f 396d18d754b015669e82d22be7b37ebd30a860a6 # timeout=10 [2023-02-22T17:26:03.037Z] > git remote # timeout=10 [2023-02-22T17:26:03.057Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T17:26:03.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T17:26:03.102Z] > git merge d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 [2023-02-22T17:26:03.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T17:26:03.170Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T17:26:03.191Z] > git checkout -f 396d18d754b015669e82d22be7b37ebd30a860a6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T17:26:05.063Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T17:26:05.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T17:26:05.063Z] Dload Upload Total Spent Left Speed [2023-02-22T17:26:05.063Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61302 0 --:--:-- --:--:-- --:--:-- 61302 [Pipeline] sh [2023-02-22T17:26:05.633Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T17:26:05.988Z] + sudo tee /etc/docker/daemon.new [2023-02-22T17:26:05.988Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T17:26:05.988Z] { [2023-02-22T17:26:05.988Z] "registry-mirrors": [ [2023-02-22T17:26:05.988Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T17:26:05.988Z] ], [2023-02-22T17:26:05.988Z] "bip": "10.250.0.254/24", [2023-02-22T17:26:05.988Z] "hosts": [ [2023-02-22T17:26:05.988Z] "tcp://0.0.0.0:5555", [2023-02-22T17:26:05.988Z] "unix:///var/run/docker.sock" [2023-02-22T17:26:05.988Z] ], [2023-02-22T17:26:05.988Z] "mtu": 1458, [2023-02-22T17:26:05.988Z] "selinux-enabled": true, [2023-02-22T17:26:05.988Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T17:26:05.988Z] } [Pipeline] sh [2023-02-22T17:26:06.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T17:26:06.710Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T17:26:25.066Z] provisioning config files... [2023-02-22T17:26:25.098Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15229369524656659074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:26:25.498Z] ---> docker-login.sh [2023-02-22T17:26:25.499Z] nexus3.edgexfoundry.org:10001 [2023-02-22T17:26:26.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:26:26.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:26:26.371Z] Configure a credential helper to remove this warning. See [2023-02-22T17:26:26.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:26:26.371Z] [2023-02-22T17:26:26.371Z] Login Succeeded [2023-02-22T17:26:26.371Z] nexus3.edgexfoundry.org:10002 [2023-02-22T17:26:26.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:26:26.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:26:26.642Z] Configure a credential helper to remove this warning. See [2023-02-22T17:26:26.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:26:26.642Z] [2023-02-22T17:26:26.642Z] Login Succeeded [2023-02-22T17:26:26.642Z] nexus3.edgexfoundry.org:10003 [2023-02-22T17:26:26.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:26:26.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:26:26.914Z] Configure a credential helper to remove this warning. See [2023-02-22T17:26:26.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:26:26.914Z] [2023-02-22T17:26:27.187Z] Login Succeeded [2023-02-22T17:26:27.187Z] nexus3.edgexfoundry.org:10004 [2023-02-22T17:26:27.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:26:27.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:26:27.458Z] Configure a credential helper to remove this warning. See [2023-02-22T17:26:27.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:26:27.458Z] [2023-02-22T17:26:27.458Z] Login Succeeded [2023-02-22T17:26:27.458Z] docker.io [2023-02-22T17:26:27.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T17:26:27.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T17:26:27.999Z] Configure a credential helper to remove this warning. See [2023-02-22T17:26:27.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T17:26:27.999Z] [2023-02-22T17:26:27.999Z] Login Succeeded [2023-02-22T17:26:27.999Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T17:26:28.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T17:26:28.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T17:26:28.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T17:26:28.516Z] ========================================================= [2023-02-22T17:26:28.516Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T17:26:28.516Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:26:29.046Z] + 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-02-22T17:26:29.316Z] Sending build context to Docker daemon 1.135MB [2023-02-22T17:26:29.316Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T17:26:29.316Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-22T17:26:29.591Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T17:26:29.591Z] 9b18e9b68314: Pulling fs layer [2023-02-22T17:26:29.591Z] 35d82f9e3411: Pulling fs layer [2023-02-22T17:26:29.591Z] e16973657156: Pulling fs layer [2023-02-22T17:26:29.591Z] fc693d55d65f: Pulling fs layer [2023-02-22T17:26:29.591Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T17:26:29.591Z] dda99020689f: Pulling fs layer [2023-02-22T17:26:29.591Z] db1c61fa0a46: Pulling fs layer [2023-02-22T17:26:29.591Z] 891c053d2c06: Pulling fs layer [2023-02-22T17:26:29.591Z] fc693d55d65f: Waiting [2023-02-22T17:26:29.591Z] 7e9fc2657dce: Waiting [2023-02-22T17:26:29.591Z] dda99020689f: Waiting [2023-02-22T17:26:29.591Z] db1c61fa0a46: Waiting [2023-02-22T17:26:29.591Z] 891c053d2c06: Waiting [2023-02-22T17:26:29.591Z] e16973657156: Verifying Checksum [2023-02-22T17:26:29.591Z] e16973657156: Download complete [2023-02-22T17:26:29.591Z] 35d82f9e3411: Verifying Checksum [2023-02-22T17:26:29.591Z] 35d82f9e3411: Download complete [2023-02-22T17:26:29.591Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T17:26:29.591Z] 7e9fc2657dce: Download complete [2023-02-22T17:26:29.591Z] dda99020689f: Verifying Checksum [2023-02-22T17:26:29.591Z] dda99020689f: Download complete [2023-02-22T17:26:29.591Z] 9b18e9b68314: Verifying Checksum [2023-02-22T17:26:31.033Z] 891c053d2c06: Verifying Checksum [2023-02-22T17:26:31.033Z] 891c053d2c06: Download complete [2023-02-22T17:26:32.009Z] 9b18e9b68314: Pull complete [2023-02-22T17:26:32.009Z] db1c61fa0a46: Verifying Checksum [2023-02-22T17:26:32.009Z] db1c61fa0a46: Download complete [2023-02-22T17:26:32.278Z] 35d82f9e3411: Pull complete [2023-02-22T17:26:32.550Z] e16973657156: Pull complete [2023-02-22T17:26:32.819Z] fc693d55d65f: Download complete [2023-02-22T17:26:47.907Z] fc693d55d65f: Pull complete [2023-02-22T17:26:47.907Z] 7e9fc2657dce: Pull complete [2023-02-22T17:26:47.907Z] dda99020689f: Pull complete [2023-02-22T17:26:53.278Z] db1c61fa0a46: Pull complete [2023-02-22T17:26:55.235Z] 891c053d2c06: Pull complete [2023-02-22T17:26:55.235Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T17:26:55.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T17:26:55.235Z] ---> f96f9c87975a [2023-02-22T17:26:55.235Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-22T17:26:55.839Z] ---> Running in 18ab5170968c [2023-02-22T17:26:56.434Z] Removing intermediate container 18ab5170968c [2023-02-22T17:26:56.434Z] ---> 6d88f7e23bc0 [2023-02-22T17:26:56.434Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T17:26:56.434Z] ---> Running in aead739c6168 [2023-02-22T17:26:56.702Z] Removing intermediate container aead739c6168 [2023-02-22T17:26:56.702Z] ---> e7d0ea19f7a8 [2023-02-22T17:26:56.702Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-22T17:26:56.973Z] ---> Running in 98c2dbae5075 [2023-02-22T17:26:57.242Z] Removing intermediate container 98c2dbae5075 [2023-02-22T17:26:57.242Z] ---> dbd3de7971bb [2023-02-22T17:26:57.242Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-22T17:26:57.242Z] ---> Running in 5924b8331bca [2023-02-22T17:26:57.831Z] Removing intermediate container 5924b8331bca [2023-02-22T17:26:57.831Z] ---> 3c4b503be4a1 [2023-02-22T17:26:57.831Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T17:26:57.831Z] ---> Running in 34f4f91a0765 [2023-02-22T17:26:59.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T17:26:59.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T17:27:00.221Z] (1/14) Installing libintl (0.21-r2) [2023-02-22T17:27:00.221Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-22T17:27:00.221Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-22T17:27:00.492Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-22T17:27:00.492Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-22T17:27:00.492Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-22T17:27:00.492Z] Executing udev-init-scripts-35-r0.post-install [2023-02-22T17:27:00.492Z] (7/14) Installing libblkid (2.38-r1) [2023-02-22T17:27:00.492Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-22T17:27:00.492Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-22T17:27:00.492Z] (10/14) Installing kmod-libs (29-r2) [2023-02-22T17:27:00.492Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-22T17:27:00.492Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-22T17:27:00.492Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-22T17:27:00.492Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-22T17:27:00.763Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T17:27:00.763Z] Executing eudev-3.2.11-r0.trigger [2023-02-22T17:27:00.763Z] OK: 228 MiB in 65 packages [2023-02-22T17:27:02.190Z] Removing intermediate container 34f4f91a0765 [2023-02-22T17:27:02.190Z] ---> 7fde96ebfb27 [2023-02-22T17:27:02.190Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-22T17:27:02.190Z] ---> Running in 61d794ac6898 [2023-02-22T17:27:02.462Z] Removing intermediate container 61d794ac6898 [2023-02-22T17:27:02.462Z] ---> dbeb8986ce9b [2023-02-22T17:27:02.462Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-22T17:27:03.051Z] ---> aeb013e94171 [2023-02-22T17:27:03.051Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T17:27:03.051Z] ---> Running in 19925d4dd565 [2023-02-22T17:28:10.967Z] Removing intermediate container 19925d4dd565 [2023-02-22T17:28:10.967Z] ---> 1f91d869fd14 [2023-02-22T17:28:10.967Z] Step 11/13 : COPY . . [2023-02-22T17:28:10.967Z] ---> e2ef000e00a9 [2023-02-22T17:28:10.967Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-22T17:28:10.967Z] ---> Running in a68b5afa160f [2023-02-22T17:28:10.967Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T17:28:10.967Z] Dload Upload Total Spent Left Speed [2023-02-22T17:28:10.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13830 0 --:--:-- --:--:-- --:--:-- 13973 [2023-02-22T17:28:10.967Z] Removing intermediate container a68b5afa160f [2023-02-22T17:28:10.967Z] ---> 41a9feba065b [2023-02-22T17:28:10.967Z] Step 13/13 : RUN ${MAKE} [2023-02-22T17:28:10.967Z] ---> Running in 3b730cc8a49e [2023-02-22T17:28:10.967Z] noop [2023-02-22T17:28:10.967Z] Removing intermediate container 3b730cc8a49e [2023-02-22T17:28:10.967Z] ---> a33dc1b0f1d3 [2023-02-22T17:28:10.967Z] Successfully built a33dc1b0f1d3 [2023-02-22T17:28:10.967Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:28:11.458Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T17:28:11.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:28:11.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-7069 does not seem to be running inside a container [2023-02-22T17:28:11.783Z] $ 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-02-22T17:28:12.971Z] $ docker top 1cccf2e22b3550a2afd8bb2a7362798a945bfe0f667dd4cc5cf942fd443e005e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T17:28:13.844Z] + go version [2023-02-22T17:28:13.844Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T17:28:13.879Z] $ docker stop --time=1 1cccf2e22b3550a2afd8bb2a7362798a945bfe0f667dd4cc5cf942fd443e005e [2023-02-22T17:28:15.466Z] $ docker rm -f --volumes 1cccf2e22b3550a2afd8bb2a7362798a945bfe0f667dd4cc5cf942fd443e005e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:28:16.323Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T17:28:16.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:28:16.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-7069 does not seem to be running inside a container [2023-02-22T17:28:16.659Z] $ 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-02-22T17:28:17.800Z] $ docker top 1b44110eb44deb2e4b1f3ffc9f5c2c7c7f3e35151fd6c430883ee466c669d1ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T17:28:18.709Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-22T17:28:19.422Z] + make test [2023-02-22T17:28:19.422Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T17:28:21.369Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-22T17:29:17.835Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-22T17:29:17.835Z] /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-02-22T17:29:17.835Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-22T17:29:17.835Z] 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-02-22T17:29:17.835Z] 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-02-22T17:29:17.835Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-22T17:29:36.063Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-22T17:29:36.063Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-22T17:29:36.063Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-02-22T17:29:36.063Z] have (context.Context, requests.AddEventRequest) [2023-02-22T17:29:36.063Z] want (context.Context, string, requests.AddEventRequest) [2023-02-22T17:29:54.298Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-02-22T17:29:54.298Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-02-22T17:29:54.348Z] $ docker stop --time=1 1b44110eb44deb2e4b1f3ffc9f5c2c7c7f3e35151fd6c430883ee466c669d1ca [2023-02-22T17:29:58.487Z] $ docker rm -f --volumes 1b44110eb44deb2e4b1f3ffc9f5c2c7c7f3e35151fd6c430883ee466c669d1ca [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-02-22T17:29:59.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T17:29:59.975Z] [2023-02-22T17:29:59.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:30:00.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T17:30:00.380Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T17:30:00.380Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T17:30:00.380Z] 04944245beec: Pulling fs layer [2023-02-22T17:30:00.380Z] 699f458cf7ca: Pulling fs layer [2023-02-22T17:30:00.380Z] 765212b225bb: Pulling fs layer [2023-02-22T17:30:00.380Z] f23df028b6ca: Pulling fs layer [2023-02-22T17:30:00.380Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T17:30:00.380Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T17:30:00.380Z] f23df028b6ca: Waiting [2023-02-22T17:30:00.380Z] d65c8cfc05b1: Waiting [2023-02-22T17:30:00.380Z] 765212b225bb: Waiting [2023-02-22T17:30:00.380Z] 2437ff75d9bd: Waiting [2023-02-22T17:30:00.651Z] 04944245beec: Verifying Checksum [2023-02-22T17:30:00.651Z] 04944245beec: Download complete [2023-02-22T17:30:00.651Z] 765212b225bb: Download complete [2023-02-22T17:30:00.651Z] f23df028b6ca: Verifying Checksum [2023-02-22T17:30:00.651Z] f23df028b6ca: Download complete [2023-02-22T17:30:00.651Z] d65c8cfc05b1: Verifying Checksum [2023-02-22T17:30:00.651Z] d65c8cfc05b1: Download complete [2023-02-22T17:30:00.920Z] 699f458cf7ca: Verifying Checksum [2023-02-22T17:30:00.920Z] 699f458cf7ca: Download complete [2023-02-22T17:30:01.189Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T17:30:01.189Z] 8998bd30e6a1: Download complete [2023-02-22T17:30:03.779Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T17:30:03.779Z] 2437ff75d9bd: Download complete [2023-02-22T17:30:05.187Z] 8998bd30e6a1: Pull complete [2023-02-22T17:30:05.789Z] 04944245beec: Pull complete [2023-02-22T17:30:07.735Z] 699f458cf7ca: Pull complete [2023-02-22T17:30:07.735Z] 765212b225bb: Pull complete [2023-02-22T17:30:11.986Z] f23df028b6ca: Pull complete [2023-02-22T17:30:11.987Z] d65c8cfc05b1: Pull complete [2023-02-22T17:30:30.218Z] 2437ff75d9bd: Pull complete [2023-02-22T17:30:30.218Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T17:30:30.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T17:30:30.218Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:30:30.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-7069 does not seem to be running inside a container [2023-02-22T17:30:30.638Z] $ 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-02-22T17:30:32.722Z] $ docker top 6c3510cf68875e2722320c2a8d81854e9def8c7859b751a0946d605c1d4d1969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:33.639Z] ---> job-cost.sh [2023-02-22T17:30:33.639Z] lf-activate-venv: SKIPPING [2023-02-22T17:30:33.639Z] INFO: No Stack... [2023-02-22T17:30:33.908Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T17:30:34.871Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T17:30:35.533Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-02-22T17:30:35.533Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T17:30:35.632Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [2023-02-22T17:30:35.638Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] did not exist. Created. [2023-02-22T17:30:35.638Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T17:30:36.399Z] /w/workspace/device-usb-camera/1@tmp/durable-461d3f3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T17:30:37.084Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T17:30:37.119Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T17:30:37.652Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T17:30:37.669Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T17:30:37.756Z] $ docker stop --time=1 6c3510cf68875e2722320c2a8d81854e9def8c7859b751a0946d605c1d4d1969 [2023-02-22T17:30:39.308Z] $ docker rm -f --volumes 6c3510cf68875e2722320c2a8d81854e9def8c7859b751a0946d605c1d4d1969 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T17:30:40.024Z] 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-02-22T17:30:42.003Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-156/archives ] [2023-02-22T17:30:42.003Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-156/archives [2023-02-22T17:30:42.003Z] total 16 [2023-02-22T17:30:42.003Z] drwxr-xr-x 3 root root 4096 Feb 22 17:24 . [2023-02-22T17:30:42.003Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 17:24 .. [2023-02-22T17:30:42.003Z] drwxr-xr-x 2 root root 4096 Feb 22 17:24 cost [2023-02-22T17:30:42.003Z] -rw-r--r-- 1 root root 89 Feb 22 17:24 cost.csv [2023-02-22T17:30:42.003Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-156/archives [2023-02-22T17:30:42.003Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-156/archives [2023-02-22T17:30:42.003Z] total 16 [2023-02-22T17:30:42.003Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 17:24 . [2023-02-22T17:30:42.003Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 17:24 .. [2023-02-22T17:30:42.003Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 17:24 cost [2023-02-22T17:30:42.003Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 22 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:42.336Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:43.251Z] ---> package-listing.sh [2023-02-22T17:30:43.251Z] ++ facter osfamily [2023-02-22T17:30:43.251Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T17:30:43.510Z] + OS_FAMILY=debian [2023-02-22T17:30:43.510Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-156 [2023-02-22T17:30:43.510Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T17:30:43.510Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T17:30:43.510Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T17:30:43.510Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T17:30:43.510Z] + '[' /w/workspace/foundry_device-usb-camera_PR-156 ']' [2023-02-22T17:30:43.510Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T17:30:43.510Z] + case "${OS_FAMILY}" in [2023-02-22T17:30:43.510Z] + dpkg -l [2023-02-22T17:30:43.510Z] + grep '^ii' [2023-02-22T17:30:43.510Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T17:30:43.510Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T17:30:43.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T17:30:43.510Z] + '[' /w/workspace/foundry_device-usb-camera_PR-156 ']' [2023-02-22T17:30:43.510Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-156/archives/ [2023-02-22T17:30:43.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-156/archives/ [Pipeline] echo [2023-02-22T17:30:43.541Z] 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-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T17:30:43.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T17:30:44.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T17:30:44.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T17:30:44.609Z] prd-ubuntu20.04-docker-8c-8g-7066 does not seem to be running inside a container [2023-02-22T17:30:44.648Z] $ 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-156/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-156 -v /w/workspace/foundry_device-usb-camera_PR-156:/w/workspace/foundry_device-usb-camera_PR-156:rw,z -v /w/workspace/foundry_device-usb-camera_PR-156@tmp:/w/workspace/foundry_device-usb-camera_PR-156@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-02-22T17:30:45.893Z] $ docker top db93a5ea2c5d56deaced4a58263375017834316fe486c6ddf702ef85c79106a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T17:30:46.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T17:30:46.647Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T17:30:46.961Z] + ls /var/log/sa-host [2023-02-22T17:30:46.961Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T17:30:47.182Z] provisioning config files... [2023-02-22T17:30:47.190Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-156@tmp/config7440628172026090856tmp [Pipeline] { [Pipeline] echo [2023-02-22T17:30:47.241Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:47.556Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T17:30:47.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:48.003Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T17:30:48.040Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:48.363Z] ---> sudo-logs.sh [2023-02-22T17:30:48.363Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T17:30:48.451Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:48.761Z] ---> job-cost.sh [2023-02-22T17:30:48.761Z] lf-activate-venv: SKIPPING [2023-02-22T17:30:48.761Z] DEBUG: total: 0.2199999988079071 [2023-02-22T17:30:48.761Z] INFO: Retrieving Stack Cost... [2023-02-22T17:30:49.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T17:30:49.281Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T17:30:49.315Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T17:30:49.628Z] ---> logs-deploy.sh [2023-02-22T17:30:49.628Z] lf-activate-venv: SKIPPING [2023-02-22T17:30:49.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-156/1 [2023-02-22T17:30:49.628Z] INFO: archiving workspace using pattern(s): [2023-02-22T17:30:50.583Z] Archives upload complete. [2023-02-22T17:30:50.843Z] INFO: archiving logs to Nexus