Pull request #180 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 132b212860f6ed88cbb3a9eaaadcf003ff76ff25+ed547cb9b404855c4500ba28f125032074ed2dc3 (b0249712a71a2f006bf2d6335a93897ab380d787) 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-ssh17348566809679138844.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-ssh5593967495156562928.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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3200369003714512591.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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10612171552721123939.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-ssh1838501127235670305.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2195746674587037691.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9928 in /w/workspace/foundry_device-usb-camera_PR-180 [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-180 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 Merge succeeded, producing 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 Checking out Revision 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 (PR-180) > 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 # 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 ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T18:14:03.063Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T18:14:03.246Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T18:14:03.339Z] ========================================================= [2023-03-13T18:14:03.339Z] EdgeX Global Pipelines Version Info [2023-03-13T18:14:03.339Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:14:04.072Z] ------------------- [2023-03-13T18:14:04.073Z] stable info: [2023-03-13T18:14:04.073Z] ------------------- [2023-03-13T18:14:04.073Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T18:14:04.073Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T18:14:04.073Z] Message: update stable to v1.0.244 [2023-03-13T18:14:04.642Z] ------------------- [2023-03-13T18:14:04.642Z] experimental info: [2023-03-13T18:14:04.642Z] ------------------- [2023-03-13T18:14:04.642Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T18:14:04.642Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T18:14:04.642Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T18:14:05.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-13T18:14:05.112Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-13T18:14:05.154Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T18:14:05.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T18:14:05.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T18:14:05.371Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T18:14:05.457Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T18:14:05.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T18:14:05.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T18:14:05.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T18:14:05.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T18:14:05.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-13T18:14:05.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T18:14:05.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T18:14:05.777Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T18:14:05.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T18:14:05.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:14:05.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:14:05.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T18:14:05.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T18:14:05.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T18:14:06.033Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T18:14:06.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T18:14:06.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T18:14:06.143Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T18:14:06.184Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T18:14:06.221Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T18:14:06.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2023-03-13T18:14:06.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2023-03-13T18:14:06.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2023-03-13T18:14:06.397Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [Pipeline] echo [2023-03-13T18:14:06.433Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 132b212 [Pipeline] echo [2023-03-13T18:14:06.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:14:06.576Z] provisioning config files... [2023-03-13T18:14:06.595Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-180@tmp/config17641190248150012060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:14:06.941Z] ---> docker-login.sh [2023-03-13T18:14:06.941Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:14:07.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:07.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:07.204Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:07.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:07.204Z] [2023-03-13T18:14:07.204Z] Login Succeeded [2023-03-13T18:14:07.204Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:14:07.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:07.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:07.463Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:07.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:07.463Z] [2023-03-13T18:14:07.463Z] Login Succeeded [2023-03-13T18:14:07.463Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:14:07.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:07.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:07.463Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:07.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:07.463Z] [2023-03-13T18:14:07.463Z] Login Succeeded [2023-03-13T18:14:07.463Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:14:07.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:07.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:07.723Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:07.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:07.723Z] [2023-03-13T18:14:07.723Z] Login Succeeded [2023-03-13T18:14:07.723Z] docker.io [2023-03-13T18:14:07.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:07.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:07.982Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:07.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:07.982Z] [2023-03-13T18:14:07.982Z] Login Succeeded [2023-03-13T18:14:07.982Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:14:08.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T18:14:08.600Z] + git rev-list -1 --merges 132b212860f6ed88cbb3a9eaaadcf003ff76ff25~1..132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [Pipeline] echo [2023-03-13T18:14:08.666Z] -----------> git rev-list -1 --merges 132b212860f6ed88cbb3a9eaaadcf003ff76ff25~1..132b212860f6ed88cbb3a9eaaadcf003ff76ff25 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [false] [Pipeline] sh [2023-03-13T18:14:08.977Z] + git log --format=format:%s -1 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [Pipeline] echo [2023-03-13T18:14:09.017Z] ========================================================= [2023-03-13T18:14:09.017Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T18:14:09.017Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:14:09.458Z] + git log --format=format:%s -1 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [Pipeline] echo [2023-03-13T18:14:09.489Z] [semverPrep] GIT_COMMIT: 132b212860f6ed88cbb3a9eaaadcf003ff76ff25, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-13T18:14:09.517Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T18:14:09.906Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T18:14:09.906Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T18:14:09.906Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T18:14:09.906Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T18:14:09.906Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T18:14:09.906Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T18:14:09.906Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:14:10.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:14:10.388Z] [2023-03-13T18:14:10.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:14:10.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:14:10.774Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T18:14:10.774Z] b85a868b505f: Pulling fs layer [2023-03-13T18:14:10.774Z] e2be974225ed: Pulling fs layer [2023-03-13T18:14:10.774Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T18:14:10.774Z] 988bab9f4d93: Pulling fs layer [2023-03-13T18:14:10.774Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T18:14:10.774Z] eaf3925da568: Pulling fs layer [2023-03-13T18:14:10.774Z] bab4dde63d76: Pulling fs layer [2023-03-13T18:14:10.774Z] bde34c3a00c8: Pulling fs layer [2023-03-13T18:14:10.774Z] b352a97aabf1: Pulling fs layer [2023-03-13T18:14:10.774Z] 988bab9f4d93: Waiting [2023-03-13T18:14:10.774Z] 4872d77fe225: Pulling fs layer [2023-03-13T18:14:10.774Z] 5851b861e8e6: Pulling fs layer [2023-03-13T18:14:10.774Z] 1469e6f7b9e6: Waiting [2023-03-13T18:14:10.774Z] eaf3925da568: Waiting [2023-03-13T18:14:10.774Z] b352a97aabf1: Waiting [2023-03-13T18:14:10.774Z] bab4dde63d76: Waiting [2023-03-13T18:14:10.774Z] bde34c3a00c8: Waiting [2023-03-13T18:14:10.774Z] 4872d77fe225: Waiting [2023-03-13T18:14:10.774Z] 5851b861e8e6: Waiting [2023-03-13T18:14:10.774Z] e2be974225ed: Verifying Checksum [2023-03-13T18:14:10.774Z] e2be974225ed: Download complete [2023-03-13T18:14:10.774Z] 988bab9f4d93: Verifying Checksum [2023-03-13T18:14:10.774Z] 988bab9f4d93: Download complete [2023-03-13T18:14:11.034Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T18:14:11.034Z] 1469e6f7b9e6: Download complete [2023-03-13T18:14:11.034Z] eaf3925da568: Verifying Checksum [2023-03-13T18:14:11.034Z] eaf3925da568: Download complete [2023-03-13T18:14:11.034Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T18:14:11.034Z] 339a4e72a1f5: Download complete [2023-03-13T18:14:11.034Z] bde34c3a00c8: Verifying Checksum [2023-03-13T18:14:11.034Z] bde34c3a00c8: Download complete [2023-03-13T18:14:11.034Z] b352a97aabf1: Verifying Checksum [2023-03-13T18:14:11.034Z] b352a97aabf1: Download complete [2023-03-13T18:14:11.034Z] 4872d77fe225: Verifying Checksum [2023-03-13T18:14:11.034Z] 4872d77fe225: Download complete [2023-03-13T18:14:11.034Z] 5851b861e8e6: Verifying Checksum [2023-03-13T18:14:11.034Z] 5851b861e8e6: Download complete [2023-03-13T18:14:11.034Z] b85a868b505f: Verifying Checksum [2023-03-13T18:14:11.034Z] b85a868b505f: Download complete [2023-03-13T18:14:11.292Z] bab4dde63d76: Verifying Checksum [2023-03-13T18:14:11.292Z] bab4dde63d76: Download complete [2023-03-13T18:14:12.227Z] b85a868b505f: Pull complete [2023-03-13T18:14:12.486Z] e2be974225ed: Pull complete [2023-03-13T18:14:12.747Z] 339a4e72a1f5: Pull complete [2023-03-13T18:14:13.007Z] 988bab9f4d93: Pull complete [2023-03-13T18:14:13.265Z] 1469e6f7b9e6: Pull complete [2023-03-13T18:14:13.265Z] eaf3925da568: Pull complete [2023-03-13T18:14:15.165Z] bab4dde63d76: Pull complete [2023-03-13T18:14:15.165Z] bde34c3a00c8: Pull complete [2023-03-13T18:14:15.165Z] b352a97aabf1: Pull complete [2023-03-13T18:14:15.165Z] 4872d77fe225: Pull complete [2023-03-13T18:14:15.165Z] 5851b861e8e6: Pull complete [2023-03-13T18:14:15.165Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T18:14:15.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:14:15.165Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:14:15.396Z] prd-ubuntu20.04-docker-8c-8g-9928 does not seem to be running inside a container [2023-03-13T18:14:15.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-180 -v /w/workspace/foundry_device-usb-camera_PR-180:/w/workspace/foundry_device-usb-camera_PR-180:rw,z -v /w/workspace/foundry_device-usb-camera_PR-180@tmp:/w/workspace/foundry_device-usb-camera_PR-180@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T18:14:16.591Z] $ docker top 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da -eo pid,comm [2023-03-13T18:14:16.642Z] 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-03-13T18:14:16.642Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T18:14:16.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:14:16.779Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:14:16.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:14:16.892Z] $ docker exec 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da ssh-agent [2023-03-13T18:14:16.984Z] SSH_AUTH_SOCK=/tmp/ssh-dxb4YBmmANTr/agent.32 [2023-03-13T18:14:16.984Z] SSH_AGENT_PID=38 [2023-03-13T18:14:16.990Z] Running ssh-add (command line suppressed) [2023-03-13T18:14:17.084Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-180@tmp/private_key_13707135982785596139.key (/w/workspace/foundry_device-usb-camera_PR-180@tmp/private_key_13707135982785596139.key) [2023-03-13T18:14:17.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:14:17.430Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T18:14:17.459Z] $ docker exec --env ******** --env ******** 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da ssh-agent -k [2023-03-13T18:14:17.560Z] unset SSH_AUTH_SOCK; [2023-03-13T18:14:17.560Z] unset SSH_AGENT_PID; [2023-03-13T18:14:17.560Z] echo Agent pid 38 killed; [2023-03-13T18:14:17.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T18:14:17.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:14:17.647Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:14:17.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:14:17.753Z] $ docker exec 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da ssh-agent [2023-03-13T18:14:17.860Z] SSH_AUTH_SOCK=/tmp/ssh-cw8FGpew5kLj/agent.70 [2023-03-13T18:14:17.860Z] SSH_AGENT_PID=76 [2023-03-13T18:14:17.865Z] Running ssh-add (command line suppressed) [2023-03-13T18:14:17.971Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-180@tmp/private_key_17311884173877812270.key (/w/workspace/foundry_device-usb-camera_PR-180@tmp/private_key_17311884173877812270.key) [2023-03-13T18:14:17.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:14:18.307Z] + git semver init [2023-03-13T18:14:18.566Z] 2023-03-13 18:14:18,490 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T18:14:18.566Z] 2023-03-13 18:14:18,491 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-180/.semver [2023-03-13T18:14:18.566Z] 2023-03-13 18:14:18,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-180/.semver [2023-03-13T18:14:18.566Z] 2023-03-13 18:14:18,492 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-180/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,295 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-180/.git/info/exclude [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,296 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-180/.semver/PR-180 with force:False [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,296 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-180/.semver/PR-180 [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,300 [execute] INFO git cat-file --batch-check [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,306 [execute] INFO git cat-file --batch [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:14:19.506Z] 2023-03-13 18:14:19,310 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-180/.semver/PR-180 [2023-03-13T18:14:19.506Z] 0.0.0 [Pipeline] } [2023-03-13T18:14:19.533Z] $ docker exec --env ******** --env ******** 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da ssh-agent -k [2023-03-13T18:14:19.628Z] unset SSH_AUTH_SOCK; [2023-03-13T18:14:19.628Z] unset SSH_AGENT_PID; [2023-03-13T18:14:19.628Z] echo Agent pid 76 killed; [2023-03-13T18:14:19.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T18:14:20.072Z] + git semver [Pipeline] } [2023-03-13T18:14:20.361Z] $ docker stop --time=1 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da [2023-03-13T18:14:21.668Z] $ docker rm -f --volumes 4198f23421d2100810ab739990532c71727be372244948ea26a75158a0bf54da [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T18:14:22.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T18:14:22.356Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T18:14:22.373Z] [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-03-13T18:14:22.942Z] provisioning config files... [2023-03-13T18:14:22.951Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-180@tmp/config5853522835427209472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:14:23.297Z] ---> docker-login.sh [2023-03-13T18:14:23.297Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:14:23.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:23.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:23.297Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:23.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:23.297Z] [2023-03-13T18:14:23.297Z] Login Succeeded [2023-03-13T18:14:23.297Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:14:23.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:23.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:23.297Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:23.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:23.297Z] [2023-03-13T18:14:23.297Z] Login Succeeded [2023-03-13T18:14:23.297Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:14:23.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:23.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:23.556Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:23.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:23.556Z] [2023-03-13T18:14:23.556Z] Login Succeeded [2023-03-13T18:14:23.556Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:14:23.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:23.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:23.556Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:23.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:23.556Z] [2023-03-13T18:14:23.556Z] Login Succeeded [2023-03-13T18:14:23.556Z] docker.io [2023-03-13T18:14:23.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:14:23.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:14:23.814Z] Configure a credential helper to remove this warning. See [2023-03-13T18:14:23.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:14:23.814Z] [2023-03-13T18:14:23.814Z] Login Succeeded [2023-03-13T18:14:23.814Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:14:23.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:14:24.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:14:24.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:14:24.096Z] ========================================================= [2023-03-13T18:14:24.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T18:14:24.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:14:24.559Z] + 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-03-13T18:14:24.559Z] Sending build context to Docker daemon 1.811MB [2023-03-13T18:14:24.559Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:14:24.559Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T18:14:24.559Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T18:14:24.559Z] 213ec9aee27d: Pulling fs layer [2023-03-13T18:14:24.559Z] 4583459ba037: Pulling fs layer [2023-03-13T18:14:24.559Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T18:14:24.559Z] 53926ce57604: Pulling fs layer [2023-03-13T18:14:24.559Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T18:14:24.559Z] 22ff95d597cd: Pulling fs layer [2023-03-13T18:14:24.559Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T18:14:24.559Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T18:14:24.559Z] a7acece74701: Pulling fs layer [2023-03-13T18:14:24.559Z] 53926ce57604: Waiting [2023-03-13T18:14:24.559Z] 21b2b0c7a3f4: Waiting [2023-03-13T18:14:24.559Z] 22ff95d597cd: Waiting [2023-03-13T18:14:24.559Z] 12d6caf4c0d1: Waiting [2023-03-13T18:14:24.559Z] 96b7cbca73a9: Waiting [2023-03-13T18:14:24.559Z] a7acece74701: Waiting [2023-03-13T18:14:24.559Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T18:14:24.559Z] 93c1e223e6f2: Download complete [2023-03-13T18:14:24.559Z] 4583459ba037: Download complete [2023-03-13T18:14:24.559Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T18:14:24.559Z] 21b2b0c7a3f4: Download complete [2023-03-13T18:14:24.559Z] 22ff95d597cd: Download complete [2023-03-13T18:14:24.825Z] 213ec9aee27d: Verifying Checksum [2023-03-13T18:14:24.825Z] 213ec9aee27d: Download complete [2023-03-13T18:14:24.825Z] 12d6caf4c0d1: Download complete [2023-03-13T18:14:24.825Z] 213ec9aee27d: Pull complete [2023-03-13T18:14:25.104Z] 4583459ba037: Pull complete [2023-03-13T18:14:25.104Z] 93c1e223e6f2: Pull complete [2023-03-13T18:14:25.370Z] a7acece74701: Download complete [2023-03-13T18:14:25.628Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T18:14:25.628Z] 96b7cbca73a9: Download complete [2023-03-13T18:14:25.628Z] 53926ce57604: Verifying Checksum [2023-03-13T18:14:25.628Z] 53926ce57604: Download complete [2023-03-13T18:14:29.809Z] 53926ce57604: Pull complete [2023-03-13T18:14:29.809Z] 21b2b0c7a3f4: Pull complete [2023-03-13T18:14:29.809Z] 22ff95d597cd: Pull complete [2023-03-13T18:14:29.809Z] 12d6caf4c0d1: Pull complete [2023-03-13T18:14:31.707Z] 96b7cbca73a9: Pull complete [2023-03-13T18:14:32.273Z] a7acece74701: Pull complete [2023-03-13T18:14:32.273Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T18:14:32.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T18:14:32.273Z] ---> db6d94c90886 [2023-03-13T18:14:32.273Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T18:14:34.179Z] ---> Running in 3a45a5a627ff [2023-03-13T18:14:34.180Z] Removing intermediate container 3a45a5a627ff [2023-03-13T18:14:34.180Z] ---> 74c3b2562acd [2023-03-13T18:14:34.180Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T18:14:34.180Z] ---> Running in 7c9978831c12 [2023-03-13T18:14:34.180Z] Removing intermediate container 7c9978831c12 [2023-03-13T18:14:34.180Z] ---> ee98389769e9 [2023-03-13T18:14:34.180Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T18:14:34.180Z] ---> Running in 505271ca8b4e [2023-03-13T18:14:34.180Z] Removing intermediate container 505271ca8b4e [2023-03-13T18:14:34.180Z] ---> 052b4a0d3329 [2023-03-13T18:14:34.180Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T18:14:34.180Z] ---> Running in eeccdc99ef76 [2023-03-13T18:14:34.180Z] Removing intermediate container eeccdc99ef76 [2023-03-13T18:14:34.180Z] ---> ee59e27ee42f [2023-03-13T18:14:34.180Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T18:14:34.440Z] ---> Running in 5672677f4d0b [2023-03-13T18:14:34.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T18:14:34.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T18:14:34.970Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-13T18:14:34.971Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-13T18:14:34.971Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-13T18:14:34.971Z] (4/80) Installing libxcb (1.15-r0) [2023-03-13T18:14:34.971Z] (5/80) Installing libx11 (1.8-r0) [2023-03-13T18:14:34.971Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-13T18:14:34.971Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-13T18:14:35.230Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-13T18:14:35.230Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-13T18:14:35.230Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-13T18:14:35.230Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-13T18:14:35.230Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-13T18:14:35.230Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-13T18:14:35.230Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-13T18:14:35.230Z] (15/80) Installing libice (1.0.10-r0) [2023-03-13T18:14:35.230Z] (16/80) Installing libuuid (2.38-r1) [2023-03-13T18:14:35.230Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-13T18:14:35.230Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-13T18:14:35.230Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-13T18:14:35.230Z] (20/80) Installing xset (1.2.4-r0) [2023-03-13T18:14:35.230Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-13T18:14:35.230Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-13T18:14:35.230Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-13T18:14:35.490Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-13T18:14:35.490Z] (25/80) Installing libintl (0.21-r2) [2023-03-13T18:14:35.490Z] (26/80) Installing libblkid (2.38-r1) [2023-03-13T18:14:35.490Z] (27/80) Installing libmount (2.38-r1) [2023-03-13T18:14:35.490Z] (28/80) Installing pcre (8.45-r2) [2023-03-13T18:14:35.490Z] (29/80) Installing glib (2.72.1-r0) [2023-03-13T18:14:35.490Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-13T18:14:35.490Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-13T18:14:35.490Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-13T18:14:35.490Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-13T18:14:35.490Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-13T18:14:35.490Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-13T18:14:35.490Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-13T18:14:35.490Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-13T18:14:35.490Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-13T18:14:35.753Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-13T18:14:35.753Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-13T18:14:35.753Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-13T18:14:35.753Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-13T18:14:35.753Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-13T18:14:35.753Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-13T18:14:35.753Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-13T18:14:35.753Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-13T18:14:35.753Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-13T18:14:35.753Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-13T18:14:35.753Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-13T18:14:35.753Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-13T18:14:35.753Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-13T18:14:35.753Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-13T18:14:35.753Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-13T18:14:35.753Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-13T18:14:35.753Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-13T18:14:35.753Z] (56/80) Installing libunistring (1.0-r0) [2023-03-13T18:14:35.753Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-13T18:14:36.013Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-13T18:14:36.013Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-13T18:14:36.013Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-13T18:14:36.013Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-13T18:14:36.013Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-13T18:14:36.013Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-13T18:14:36.013Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-13T18:14:36.013Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T18:14:36.013Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-13T18:14:36.013Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-13T18:14:36.013Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-13T18:14:36.013Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-13T18:14:36.013Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-13T18:14:36.013Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-13T18:14:36.013Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-13T18:14:36.013Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T18:14:36.013Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-13T18:14:36.273Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-13T18:14:36.273Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T18:14:36.273Z] (76/80) Installing kmod-libs (29-r2) [2023-03-13T18:14:36.273Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-13T18:14:36.273Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-13T18:14:36.273Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-13T18:14:36.273Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-13T18:14:36.273Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T18:14:36.273Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T18:14:36.273Z] OK: 331 MiB in 131 packages [2023-03-13T18:14:37.772Z] Still waiting to schedule task [2023-03-13T18:14:37.772Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-13T18:14:38.183Z] Removing intermediate container 5672677f4d0b [2023-03-13T18:14:38.183Z] ---> acace5f434a3 [2023-03-13T18:14:38.183Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-13T18:14:38.183Z] ---> Running in c109cbcecda9 [2023-03-13T18:14:38.183Z] Removing intermediate container c109cbcecda9 [2023-03-13T18:14:38.183Z] ---> 0918ead9271e [2023-03-13T18:14:38.183Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-13T18:14:38.183Z] ---> 2f63d2d3e30b [2023-03-13T18:14:38.183Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:14:38.183Z] ---> Running in 1a728d6baee7 [2023-03-13T18:15:00.135Z] Removing intermediate container 1a728d6baee7 [2023-03-13T18:15:00.135Z] ---> 9ce6cbcead52 [2023-03-13T18:15:00.135Z] Step 11/13 : COPY . . [2023-03-13T18:15:00.135Z] ---> 2e83eb175d8a [2023-03-13T18:15:00.135Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T18:15:00.135Z] ---> Running in ab03f7d2ad27 [2023-03-13T18:15:00.135Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T18:15:00.135Z] Dload Upload Total Spent Left Speed [2023-03-13T18:15:00.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6862 0 --:--:-- --:--:-- --:--:-- 6896 [2023-03-13T18:15:00.135Z] Removing intermediate container ab03f7d2ad27 [2023-03-13T18:15:00.135Z] ---> 9bb5788517fc [2023-03-13T18:15:00.135Z] Step 13/13 : RUN ${MAKE} [2023-03-13T18:15:00.135Z] ---> Running in 7d4ed9c44b30 [2023-03-13T18:15:00.135Z] noop [2023-03-13T18:15:00.135Z] Removing intermediate container 7d4ed9c44b30 [2023-03-13T18:15:00.135Z] ---> 89bd04156704 [2023-03-13T18:15:00.135Z] Successfully built 89bd04156704 [2023-03-13T18:15:00.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:15:00.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:15:00.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:15:00.750Z] prd-ubuntu20.04-docker-8c-8g-9928 does not seem to be running inside a container [2023-03-13T18:15:00.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-180 -v /w/workspace/foundry_device-usb-camera_PR-180:/w/workspace/foundry_device-usb-camera_PR-180:rw,z -v /w/workspace/foundry_device-usb-camera_PR-180@tmp:/w/workspace/foundry_device-usb-camera_PR-180@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 ******** ci-base-image-x86_64 cat [2023-03-13T18:15:01.112Z] $ docker top b582a3653770c33d84ae7168abf8fea64c3ce6fc7792e20efe58dda68503a926 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:15:01.519Z] + go version [2023-03-13T18:15:01.520Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T18:15:01.557Z] $ docker stop --time=1 b582a3653770c33d84ae7168abf8fea64c3ce6fc7792e20efe58dda68503a926 [2023-03-13T18:15:02.832Z] $ docker rm -f --volumes b582a3653770c33d84ae7168abf8fea64c3ce6fc7792e20efe58dda68503a926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:15:03.513Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:15:03.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:15:03.651Z] prd-ubuntu20.04-docker-8c-8g-9928 does not seem to be running inside a container [2023-03-13T18:15:03.683Z] $ 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-180 -v /w/workspace/foundry_device-usb-camera_PR-180:/w/workspace/foundry_device-usb-camera_PR-180:rw,z -v /w/workspace/foundry_device-usb-camera_PR-180@tmp:/w/workspace/foundry_device-usb-camera_PR-180@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 ******** ci-base-image-x86_64 cat [2023-03-13T18:15:04.018Z] $ docker top b7759a47fbc2d34837e700811e633995c3f2e62558ebfdd17dbdfb683399d4ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:15:04.413Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:15:04.772Z] + make test [2023-03-13T18:15:04.772Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T18:15:05.030Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-13T18:15:15.001Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-13T18:15:15.001Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-13T18:15:15.001Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-13T18:15:15.001Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-13T18:15:15.001Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-13T18:15:15.001Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: [2023-03-13T18:15:15.001Z] need type assertion [2023-03-13T18:15:15.001Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: [2023-03-13T18:15:15.001Z] need type assertion [2023-03-13T18:15:15.001Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-13T18:15:15.001Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-13T18:15:15.001Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-03-13T18:15:15.052Z] $ docker stop --time=1 b7759a47fbc2d34837e700811e633995c3f2e62558ebfdd17dbdfb683399d4ab [2023-03-13T18:15:16.570Z] $ docker rm -f --volumes b7759a47fbc2d34837e700811e633995c3f2e62558ebfdd17dbdfb683399d4ab [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-03-13T18:15:17.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:15:17.750Z] [2023-03-13T18:15:17.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:15:18.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:15:18.135Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T18:15:18.135Z] 5eb5b503b376: Pulling fs layer [2023-03-13T18:15:18.135Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T18:15:18.135Z] ec43610c2a17: Pulling fs layer [2023-03-13T18:15:18.135Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T18:15:18.135Z] 33b1e0a273af: Pulling fs layer [2023-03-13T18:15:18.135Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T18:15:18.135Z] 2f39f015ded8: Pulling fs layer [2023-03-13T18:15:18.135Z] 33b1e0a273af: Waiting [2023-03-13T18:15:18.135Z] 5d3b04190fa2: Waiting [2023-03-13T18:15:18.135Z] 2f39f015ded8: Waiting [2023-03-13T18:15:18.135Z] 5c69ac0246d0: Download complete [2023-03-13T18:15:18.135Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T18:15:18.135Z] 3a2ae6a8a46f: Download complete [2023-03-13T18:15:18.135Z] 33b1e0a273af: Verifying Checksum [2023-03-13T18:15:18.135Z] 33b1e0a273af: Download complete [2023-03-13T18:15:18.394Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T18:15:18.394Z] 5d3b04190fa2: Download complete [2023-03-13T18:15:18.394Z] ec43610c2a17: Verifying Checksum [2023-03-13T18:15:18.394Z] ec43610c2a17: Download complete [2023-03-13T18:15:18.394Z] 5eb5b503b376: Verifying Checksum [2023-03-13T18:15:18.394Z] 5eb5b503b376: Download complete [2023-03-13T18:15:18.965Z] 2f39f015ded8: Verifying Checksum [2023-03-13T18:15:18.965Z] 2f39f015ded8: Download complete [2023-03-13T18:15:19.530Z] 5eb5b503b376: Pull complete [2023-03-13T18:15:19.788Z] 5c69ac0246d0: Pull complete [2023-03-13T18:15:20.047Z] ec43610c2a17: Pull complete [2023-03-13T18:15:20.047Z] 3a2ae6a8a46f: Pull complete [2023-03-13T18:15:20.307Z] 33b1e0a273af: Pull complete [2023-03-13T18:15:20.566Z] 5d3b04190fa2: Pull complete [2023-03-13T18:15:24.753Z] 2f39f015ded8: Pull complete [2023-03-13T18:15:24.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T18:15:24.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:15:24.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:15:24.990Z] prd-ubuntu20.04-docker-8c-8g-9928 does not seem to be running inside a container [2023-03-13T18:15:25.022Z] $ 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-180 -v /w/workspace/foundry_device-usb-camera_PR-180:/w/workspace/foundry_device-usb-camera_PR-180:rw,z -v /w/workspace/foundry_device-usb-camera_PR-180@tmp:/w/workspace/foundry_device-usb-camera_PR-180@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-03-13T18:15:26.220Z] $ docker top ee461e18eebc5507767a5c5e0825bdf51135f2603cd20a933fec2cec7a3db15f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:15:26.682Z] ---> job-cost.sh [2023-03-13T18:15:26.682Z] lf-activate-venv: SKIPPING [2023-03-13T18:15:26.682Z] INFO: No Stack... [2023-03-13T18:15:26.940Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:15:27.509Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:15:27.923Z] + cat /w/workspace/foundry_device-usb-camera_PR-180/archives/cost.csv [2023-03-13T18:15:27.923Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T18:15:27.965Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [2023-03-13T18:15:27.971Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] did not exist. Created. [2023-03-13T18:15:27.971Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:15:28.417Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T18:15:28.479Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:15:28.497Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:15:28.569Z] $ docker stop --time=1 ee461e18eebc5507767a5c5e0825bdf51135f2603cd20a933fec2cec7a3db15f [2023-03-13T18:15:29.720Z] $ docker rm -f --volumes ee461e18eebc5507767a5c5e0825bdf51135f2603cd20a933fec2cec7a3db15f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:15:30.086Z] Failed in branch amd64 [2023-03-13T18:16:10.563Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9929 in /w/workspace/foundry_device-usb-camera_PR-180 [Pipeline] { [Pipeline] ws [2023-03-13T18:16:10.621Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-13T18:16:10.694Z] Selected Git installation does not exist. Using Default [2023-03-13T18:16:10.694Z] The recommended git tool is: NONE [2023-03-13T18:16:15.998Z] using credential edgex-jenkins-ssh [2023-03-13T18:16:16.014Z] Cloning the remote Git repository [2023-03-13T18:16:16.055Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T18:16:16.130Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-13T18:16:16.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T18:16:16.321Z] > git --version # timeout=10 [2023-03-13T18:16:16.341Z] > git --version # 'git version 2.25.1' [2023-03-13T18:16:16.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:16:16.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:16:17.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-13T18:16:17.245Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:16:18.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-13T18:16:18.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T18:16:18.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:16:18.612Z] Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [2023-03-13T18:16:18.843Z] Merge succeeded, producing 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 [2023-03-13T18:16:18.844Z] Checking out Revision 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 (PR-180) [2023-03-13T18:16:19.335Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-13T18:16:19.381Z] > git --version # timeout=10 [2023-03-13T18:16:19.392Z] > git --version # 'git version 2.25.1' [2023-03-13T18:16:19.403Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T18:16:18.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T18:16:18.632Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:16:18.658Z] > git checkout -f 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 # timeout=10 [2023-03-13T18:16:18.750Z] > git remote # timeout=10 [2023-03-13T18:16:18.766Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T18:16:18.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:16:18.803Z] > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 [2023-03-13T18:16:18.826Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T18:16:18.847Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:16:18.859Z] > git checkout -f 132b212860f6ed88cbb3a9eaaadcf003ff76ff25 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:16:20.653Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T18:16:20.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T18:16:20.653Z] Dload Upload Total Spent Left Speed [2023-03-13T18:16:20.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 41000 0 --:--:-- --:--:-- --:--:-- 41000 [Pipeline] sh [2023-03-13T18:16:21.503Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T18:16:21.842Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T18:16:21.842Z] + sudo tee /etc/docker/daemon.new [2023-03-13T18:16:21.842Z] { [2023-03-13T18:16:21.842Z] "registry-mirrors": [ [2023-03-13T18:16:21.842Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T18:16:21.842Z] ], [2023-03-13T18:16:21.842Z] "bip": "10.250.0.254/24", [2023-03-13T18:16:21.842Z] "hosts": [ [2023-03-13T18:16:21.842Z] "tcp://0.0.0.0:5555", [2023-03-13T18:16:21.842Z] "unix:///var/run/docker.sock" [2023-03-13T18:16:21.842Z] ], [2023-03-13T18:16:21.842Z] "mtu": 1458, [2023-03-13T18:16:21.842Z] "selinux-enabled": true, [2023-03-13T18:16:21.842Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T18:16:21.842Z] } [Pipeline] sh [2023-03-13T18:16:22.183Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T18:16:22.531Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:16:40.878Z] provisioning config files... [2023-03-13T18:16:40.905Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config954586475315256854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:16:41.287Z] ---> docker-login.sh [2023-03-13T18:16:41.287Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:16:41.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:16:41.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:16:41.826Z] Configure a credential helper to remove this warning. See [2023-03-13T18:16:41.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:16:41.826Z] [2023-03-13T18:16:41.826Z] Login Succeeded [2023-03-13T18:16:41.826Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:16:42.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:16:42.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:16:42.104Z] Configure a credential helper to remove this warning. See [2023-03-13T18:16:42.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:16:42.104Z] [2023-03-13T18:16:42.104Z] Login Succeeded [2023-03-13T18:16:42.104Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:16:42.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:16:42.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:16:42.373Z] Configure a credential helper to remove this warning. See [2023-03-13T18:16:42.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:16:42.373Z] [2023-03-13T18:16:42.373Z] Login Succeeded [2023-03-13T18:16:42.373Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:16:42.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:16:42.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:16:42.910Z] Configure a credential helper to remove this warning. See [2023-03-13T18:16:42.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:16:42.910Z] [2023-03-13T18:16:42.910Z] Login Succeeded [2023-03-13T18:16:42.910Z] docker.io [2023-03-13T18:16:43.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:16:43.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:16:43.178Z] Configure a credential helper to remove this warning. See [2023-03-13T18:16:43.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:16:43.178Z] [2023-03-13T18:16:43.178Z] Login Succeeded [2023-03-13T18:16:43.178Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:16:43.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:16:43.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:16:43.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:16:43.637Z] ========================================================= [2023-03-13T18:16:43.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T18:16:43.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:16:44.140Z] + 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-03-13T18:16:44.407Z] Sending build context to Docker daemon 1.162MB [2023-03-13T18:16:44.407Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:16:44.407Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T18:16:44.674Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T18:16:44.674Z] 9b18e9b68314: Pulling fs layer [2023-03-13T18:16:44.674Z] 35d82f9e3411: Pulling fs layer [2023-03-13T18:16:44.674Z] e16973657156: Pulling fs layer [2023-03-13T18:16:44.674Z] fc693d55d65f: Pulling fs layer [2023-03-13T18:16:44.674Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T18:16:44.674Z] dda99020689f: Pulling fs layer [2023-03-13T18:16:44.674Z] db1c61fa0a46: Pulling fs layer [2023-03-13T18:16:44.674Z] 891c053d2c06: Pulling fs layer [2023-03-13T18:16:44.674Z] fc693d55d65f: Waiting [2023-03-13T18:16:44.674Z] 7e9fc2657dce: Waiting [2023-03-13T18:16:44.674Z] dda99020689f: Waiting [2023-03-13T18:16:44.674Z] db1c61fa0a46: Waiting [2023-03-13T18:16:44.674Z] 891c053d2c06: Waiting [2023-03-13T18:16:44.674Z] e16973657156: Verifying Checksum [2023-03-13T18:16:44.674Z] e16973657156: Download complete [2023-03-13T18:16:44.674Z] 35d82f9e3411: Verifying Checksum [2023-03-13T18:16:44.674Z] 35d82f9e3411: Download complete [2023-03-13T18:16:44.674Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T18:16:44.674Z] 7e9fc2657dce: Download complete [2023-03-13T18:16:44.674Z] dda99020689f: Verifying Checksum [2023-03-13T18:16:44.674Z] dda99020689f: Download complete [2023-03-13T18:16:44.674Z] 9b18e9b68314: Download complete [2023-03-13T18:16:45.646Z] 891c053d2c06: Verifying Checksum [2023-03-13T18:16:45.646Z] 891c053d2c06: Download complete [2023-03-13T18:16:46.610Z] db1c61fa0a46: Verifying Checksum [2023-03-13T18:16:46.610Z] db1c61fa0a46: Download complete [2023-03-13T18:16:46.877Z] 9b18e9b68314: Pull complete [2023-03-13T18:16:47.145Z] fc693d55d65f: Verifying Checksum [2023-03-13T18:16:47.145Z] fc693d55d65f: Download complete [2023-03-13T18:16:47.145Z] 35d82f9e3411: Pull complete [2023-03-13T18:16:47.411Z] e16973657156: Pull complete [2023-03-13T18:17:02.457Z] fc693d55d65f: Pull complete [2023-03-13T18:17:02.457Z] 7e9fc2657dce: Pull complete [2023-03-13T18:17:02.457Z] dda99020689f: Pull complete [2023-03-13T18:17:06.722Z] db1c61fa0a46: Pull complete [2023-03-13T18:17:08.792Z] 891c053d2c06: Pull complete [2023-03-13T18:17:08.792Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T18:17:08.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T18:17:08.792Z] ---> f96f9c87975a [2023-03-13T18:17:08.792Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T18:17:10.750Z] ---> Running in 682b24305a44 [2023-03-13T18:17:11.018Z] Removing intermediate container 682b24305a44 [2023-03-13T18:17:11.018Z] ---> 07812d6c63d4 [2023-03-13T18:17:11.018Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T18:17:11.018Z] ---> Running in 20f4e26c44af [2023-03-13T18:17:12.959Z] Removing intermediate container 20f4e26c44af [2023-03-13T18:17:12.959Z] ---> 3b8b6768165a [2023-03-13T18:17:12.959Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T18:17:12.959Z] ---> Running in ef675e9bbe03 [2023-03-13T18:17:13.227Z] Removing intermediate container ef675e9bbe03 [2023-03-13T18:17:13.227Z] ---> 321490dbca65 [2023-03-13T18:17:13.227Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T18:17:13.227Z] ---> Running in 2a0250e0f496 [2023-03-13T18:17:13.496Z] Removing intermediate container 2a0250e0f496 [2023-03-13T18:17:13.496Z] ---> f8dc91405df0 [2023-03-13T18:17:13.496Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T18:17:13.496Z] ---> Running in 901b9dbd4eb7 [2023-03-13T18:17:14.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T18:17:14.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T18:17:15.871Z] (1/14) Installing libintl (0.21-r2) [2023-03-13T18:17:15.871Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-13T18:17:15.871Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T18:17:15.871Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T18:17:15.871Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-13T18:17:15.871Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-13T18:17:15.871Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T18:17:15.871Z] (7/14) Installing libblkid (2.38-r1) [2023-03-13T18:17:15.871Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-13T18:17:15.871Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-13T18:17:15.871Z] (10/14) Installing kmod-libs (29-r2) [2023-03-13T18:17:15.871Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-13T18:17:16.136Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-13T18:17:16.136Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-13T18:17:16.136Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-13T18:17:16.136Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T18:17:16.136Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T18:17:16.136Z] OK: 228 MiB in 65 packages [2023-03-13T18:17:17.096Z] Removing intermediate container 901b9dbd4eb7 [2023-03-13T18:17:17.096Z] ---> c95f6a3d36e5 [2023-03-13T18:17:17.096Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-13T18:17:17.096Z] ---> Running in 23f245cd0723 [2023-03-13T18:17:17.363Z] Removing intermediate container 23f245cd0723 [2023-03-13T18:17:17.363Z] ---> 75e5a7070be7 [2023-03-13T18:17:17.363Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-13T18:17:17.949Z] ---> 70425ccdb254 [2023-03-13T18:17:17.949Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:17:17.949Z] ---> Running in 05c072b33942 [2023-03-13T18:18:25.819Z] Removing intermediate container 05c072b33942 [2023-03-13T18:18:25.819Z] ---> 7936444e711e [2023-03-13T18:18:25.819Z] Step 11/13 : COPY . . [2023-03-13T18:18:25.819Z] ---> b3122666c445 [2023-03-13T18:18:25.819Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T18:18:25.819Z] ---> Running in 6eb2e0e80605 [2023-03-13T18:18:25.819Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T18:18:25.819Z] Dload Upload Total Spent Left Speed [2023-03-13T18:18:25.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14490 0 --:--:-- --:--:-- --:--:-- 14750 [2023-03-13T18:18:25.819Z] Removing intermediate container 6eb2e0e80605 [2023-03-13T18:18:25.819Z] ---> b4f46ae4f8bc [2023-03-13T18:18:25.819Z] Step 13/13 : RUN ${MAKE} [2023-03-13T18:18:25.819Z] ---> Running in 32b8401fe00a [2023-03-13T18:18:25.819Z] noop [2023-03-13T18:18:25.819Z] Removing intermediate container 32b8401fe00a [2023-03-13T18:18:25.819Z] ---> 51f713c1284d [2023-03-13T18:18:25.819Z] Successfully built 51f713c1284d [2023-03-13T18:18:25.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:18:26.299Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:18:26.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:18:26.566Z] prd-ubuntu20.04-docker-arm64-4c-16g-9929 does not seem to be running inside a container [2023-03-13T18:18:26.628Z] $ 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-03-13T18:18:29.144Z] $ docker top cb33f02c2ad12d7b378819f5e8d04c2793077f263d41906f4ed88e01e2e2f8fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:18:30.018Z] + go version [2023-03-13T18:18:30.018Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T18:18:30.049Z] $ docker stop --time=1 cb33f02c2ad12d7b378819f5e8d04c2793077f263d41906f4ed88e01e2e2f8fa [2023-03-13T18:18:31.675Z] $ docker rm -f --volumes cb33f02c2ad12d7b378819f5e8d04c2793077f263d41906f4ed88e01e2e2f8fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:18:32.536Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:18:32.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:18:32.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-9929 does not seem to be running inside a container [2023-03-13T18:18:32.841Z] $ 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-03-13T18:18:34.152Z] $ docker top 892965fb0836d9d3011577a0592ae6b0eb4f6ed2944e4b8ab6529967978296d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:18:34.782Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:18:35.159Z] + make test [2023-03-13T18:18:35.430Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T18:18:36.839Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-13T18:19:58.459Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-13T18:19:58.459Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-13T18:19:58.459Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-13T18:19:58.459Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-13T18:19:58.459Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-13T18:19:58.459Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: [2023-03-13T18:19:58.459Z] need type assertion [2023-03-13T18:19:58.459Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: [2023-03-13T18:19:58.459Z] need type assertion [2023-03-13T18:19:58.459Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-13T18:19:58.459Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-13T18:19:59.045Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-03-13T18:19:59.090Z] $ docker stop --time=1 892965fb0836d9d3011577a0592ae6b0eb4f6ed2944e4b8ab6529967978296d1 [2023-03-13T18:20:00.913Z] $ docker rm -f --volumes 892965fb0836d9d3011577a0592ae6b0eb4f6ed2944e4b8ab6529967978296d1 [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-03-13T18:20:02.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:20:02.445Z] [2023-03-13T18:20:02.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:20:02.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:20:03.126Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T18:20:03.126Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T18:20:03.126Z] 04944245beec: Pulling fs layer [2023-03-13T18:20:03.126Z] 699f458cf7ca: Pulling fs layer [2023-03-13T18:20:03.126Z] 765212b225bb: Pulling fs layer [2023-03-13T18:20:03.126Z] f23df028b6ca: Pulling fs layer [2023-03-13T18:20:03.126Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T18:20:03.126Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T18:20:03.126Z] f23df028b6ca: Waiting [2023-03-13T18:20:03.126Z] d65c8cfc05b1: Waiting [2023-03-13T18:20:03.126Z] 2437ff75d9bd: Waiting [2023-03-13T18:20:03.126Z] 765212b225bb: Waiting [2023-03-13T18:20:03.126Z] 04944245beec: Verifying Checksum [2023-03-13T18:20:03.126Z] 04944245beec: Download complete [2023-03-13T18:20:03.126Z] 765212b225bb: Verifying Checksum [2023-03-13T18:20:03.126Z] 765212b225bb: Download complete [2023-03-13T18:20:03.126Z] f23df028b6ca: Verifying Checksum [2023-03-13T18:20:03.126Z] f23df028b6ca: Download complete [2023-03-13T18:20:03.393Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T18:20:03.393Z] d65c8cfc05b1: Download complete [2023-03-13T18:20:03.393Z] 699f458cf7ca: Verifying Checksum [2023-03-13T18:20:03.393Z] 699f458cf7ca: Download complete [2023-03-13T18:20:03.661Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T18:20:03.661Z] 8998bd30e6a1: Download complete [2023-03-13T18:20:06.252Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T18:20:06.252Z] 2437ff75d9bd: Download complete [2023-03-13T18:20:07.664Z] 8998bd30e6a1: Pull complete [2023-03-13T18:20:08.256Z] 04944245beec: Pull complete [2023-03-13T18:20:09.674Z] 699f458cf7ca: Pull complete [2023-03-13T18:20:09.674Z] 765212b225bb: Pull complete [2023-03-13T18:20:10.636Z] f23df028b6ca: Pull complete [2023-03-13T18:20:10.636Z] d65c8cfc05b1: Pull complete [2023-03-13T18:20:25.637Z] 2437ff75d9bd: Pull complete [2023-03-13T18:20:25.637Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T18:20:25.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:20:25.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:20:25.975Z] prd-ubuntu20.04-docker-arm64-4c-16g-9929 does not seem to be running inside a container [2023-03-13T18:20:26.038Z] $ 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-03-13T18:20:28.530Z] $ docker top a64471785f0e3012558122eef14e80ee86c2385b6a06e7f31437d0dc74439ebc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:29.434Z] ---> job-cost.sh [2023-03-13T18:20:29.435Z] lf-activate-venv: SKIPPING [2023-03-13T18:20:29.435Z] INFO: No Stack... [2023-03-13T18:20:29.700Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T18:20:30.661Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:20:31.326Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-13T18:20:31.326Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T18:20:31.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [2023-03-13T18:20:31.418Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] did not exist. Created. [2023-03-13T18:20:31.418Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:20:31.840Z] /w/workspace/device-usb-camera/1@tmp/durable-0092533d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T18:20:32.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T18:20:32.272Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T18:20:32.683Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:20:32.699Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:20:32.779Z] $ docker stop --time=1 a64471785f0e3012558122eef14e80ee86c2385b6a06e7f31437d0dc74439ebc [2023-03-13T18:20:34.333Z] $ docker rm -f --volumes a64471785f0e3012558122eef14e80ee86c2385b6a06e7f31437d0dc74439ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:20:35.110Z] 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-03-13T18:20:37.161Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-180/archives ] [2023-03-13T18:20:37.161Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-180/archives [2023-03-13T18:20:37.161Z] total 16 [2023-03-13T18:20:37.161Z] drwxr-xr-x 3 root root 4096 Mar 13 18:15 . [2023-03-13T18:20:37.161Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 18:15 .. [2023-03-13T18:20:37.161Z] drwxr-xr-x 2 root root 4096 Mar 13 18:15 cost [2023-03-13T18:20:37.161Z] -rw-r--r-- 1 root root 89 Mar 13 18:15 cost.csv [2023-03-13T18:20:37.161Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-180/archives [2023-03-13T18:20:37.161Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-180/archives [2023-03-13T18:20:37.161Z] total 16 [2023-03-13T18:20:37.161Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 18:15 . [2023-03-13T18:20:37.161Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 18:15 .. [2023-03-13T18:20:37.161Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 18:15 cost [2023-03-13T18:20:37.161Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 13 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:37.492Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:38.387Z] ---> package-listing.sh [2023-03-13T18:20:38.387Z] ++ facter osfamily [2023-03-13T18:20:38.387Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T18:20:38.648Z] + OS_FAMILY=debian [2023-03-13T18:20:38.648Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-180 [2023-03-13T18:20:38.648Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T18:20:38.648Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T18:20:38.648Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T18:20:38.648Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T18:20:38.648Z] + '[' /w/workspace/foundry_device-usb-camera_PR-180 ']' [2023-03-13T18:20:38.648Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T18:20:38.648Z] + case "${OS_FAMILY}" in [2023-03-13T18:20:38.648Z] + dpkg -l [2023-03-13T18:20:38.648Z] + grep '^ii' [2023-03-13T18:20:38.648Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T18:20:38.648Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T18:20:38.648Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T18:20:38.648Z] + '[' /w/workspace/foundry_device-usb-camera_PR-180 ']' [2023-03-13T18:20:38.648Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-180/archives/ [2023-03-13T18:20:38.648Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-180/archives/ [Pipeline] echo [2023-03-13T18:20:38.687Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T18:20:38.983Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:20:39.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:20:39.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:20:39.756Z] prd-ubuntu20.04-docker-8c-8g-9928 does not seem to be running inside a container [2023-03-13T18:20:39.785Z] $ 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-180/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-180 -v /w/workspace/foundry_device-usb-camera_PR-180:/w/workspace/foundry_device-usb-camera_PR-180:rw,z -v /w/workspace/foundry_device-usb-camera_PR-180@tmp:/w/workspace/foundry_device-usb-camera_PR-180@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T18:20:39.999Z] $ docker top a5d656feeae9c2cbc6cad512bc42d5041ee0df29319373a6bb6970fa96610647 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:20:40.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T18:20:40.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T18:20:41.020Z] + ls /var/log/sa-host [2023-03-13T18:20:41.020Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:20:41.236Z] provisioning config files... [2023-03-13T18:20:41.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-180@tmp/config11588579707934686757tmp [Pipeline] { [Pipeline] echo [2023-03-13T18:20:41.296Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:41.614Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T18:20:41.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:42.052Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T18:20:42.089Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:42.401Z] ---> sudo-logs.sh [2023-03-13T18:20:42.401Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T18:20:42.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:42.798Z] ---> job-cost.sh [2023-03-13T18:20:42.798Z] lf-activate-venv: SKIPPING [2023-03-13T18:20:42.798Z] DEBUG: total: 0.2199999988079071 [2023-03-13T18:20:42.798Z] INFO: Retrieving Stack Cost... [2023-03-13T18:20:43.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:20:43.317Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T18:20:43.352Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:20:43.667Z] ---> logs-deploy.sh [2023-03-13T18:20:43.667Z] lf-activate-venv: SKIPPING [2023-03-13T18:20:43.667Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-180/1 [2023-03-13T18:20:43.667Z] INFO: archiving workspace using pattern(s): [2023-03-13T18:20:44.605Z] Archives upload complete. [2023-03-13T18:20:44.605Z] INFO: archiving logs to Nexus