Pull request #266 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 040a5a62acea184fdd41387d4dec6344494c5d71 rather than 19bfebf0419c1e57119ab80c37bd05d2c84bf276 Obtained Jenkinsfile from 040a5a62acea184fdd41387d4dec6344494c5d71 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-ssh12702024058695482401.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9968449339142062261.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-266/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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10238657813399196052.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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17047291414927650289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9550386317036031906.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-266/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-266/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6423868942871741576.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-2850 in /w/workspace/foundry_device-usb-camera_PR-266 [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-266 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit 19bfebf0419c1e57119ab80c37bd05d2c84bf276 Merge succeeded, producing 19bfebf0419c1e57119ab80c37bd05d2c84bf276 Checking out Revision 19bfebf0419c1e57119ab80c37bd05d2c84bf276 (PR-266) > git config core.sparsecheckout # timeout=10 > git checkout -f 19bfebf0419c1e57119ab80c37bd05d2c84bf276 # 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 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19bfebf0419c1e57119ab80c37bd05d2c84bf276 # timeout=10 Commit message: "feat: implement StreamFormat query" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-03T20:13:34.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-03T20:13:34.772Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-03T20:13:34.877Z] ========================================================= [2023-08-03T20:13:34.877Z] EdgeX Global Pipelines Version Info [2023-08-03T20:13:34.877Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:13:35.628Z] ------------------- [2023-08-03T20:13:35.628Z] stable info: [2023-08-03T20:13:35.628Z] ------------------- [2023-08-03T20:13:35.628Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-03T20:13:35.628Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-03T20:13:35.628Z] Message: update stable to v1.0.250 [2023-08-03T20:13:36.197Z] ------------------- [2023-08-03T20:13:36.197Z] experimental info: [2023-08-03T20:13:36.197Z] ------------------- [2023-08-03T20:13:36.197Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-03T20:13:36.197Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-03T20:13:36.197Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-03T20:13:36.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-03T20:13:36.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-03T20:13:36.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-03T20:13:36.592Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-03T20:13:36.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-03T20:13:36.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-03T20:13:36.713Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-03T20:13:36.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-03T20:13:36.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-03T20:13:36.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-03T20:13:36.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-03T20:13:36.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-03T20:13:36.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-03T20:13:37.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-03T20:13:37.052Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-03T20:13:37.102Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-03T20:13:37.151Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-03T20:13:37.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-03T20:13:37.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-03T20:13:37.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-03T20:13:37.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-03T20:13:37.363Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-03T20:13:37.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-03T20:13:37.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-03T20:13:37.494Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-03T20:13:37.537Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-03T20:13:37.578Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-03T20:13:37.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo [2023-08-03T20:13:37.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo [2023-08-03T20:13:37.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo [2023-08-03T20:13:37.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [Pipeline] echo [2023-08-03T20:13:37.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19bfebf [Pipeline] echo [2023-08-03T20:13:37.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T20:13:37.959Z] provisioning config files... [2023-08-03T20:13:37.972Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-266@tmp/config12801367119574776418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:13:38.319Z] ---> docker-login.sh [2023-08-03T20:13:38.319Z] nexus3.edgexfoundry.org:10001 [2023-08-03T20:13:38.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:38.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:38.838Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:38.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:38.838Z] [2023-08-03T20:13:38.838Z] Login Succeeded [2023-08-03T20:13:38.838Z] nexus3.edgexfoundry.org:10002 [2023-08-03T20:13:38.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:38.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:38.838Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:38.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:38.838Z] [2023-08-03T20:13:38.838Z] Login Succeeded [2023-08-03T20:13:38.838Z] nexus3.edgexfoundry.org:10003 [2023-08-03T20:13:38.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:38.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:38.838Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:38.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:38.838Z] [2023-08-03T20:13:38.838Z] Login Succeeded [2023-08-03T20:13:38.838Z] nexus3.edgexfoundry.org:10004 [2023-08-03T20:13:39.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:39.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:39.098Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:39.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:39.098Z] [2023-08-03T20:13:39.098Z] Login Succeeded [2023-08-03T20:13:39.098Z] docker.io [2023-08-03T20:13:39.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:39.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:39.358Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:39.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:39.358Z] [2023-08-03T20:13:39.358Z] Login Succeeded [2023-08-03T20:13:39.358Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T20:13:39.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-03T20:13:40.010Z] + git rev-list -1 --merges 19bfebf0419c1e57119ab80c37bd05d2c84bf276~1..19bfebf0419c1e57119ab80c37bd05d2c84bf276 [Pipeline] echo [2023-08-03T20:13:40.063Z] -----------> git rev-list -1 --merges 19bfebf0419c1e57119ab80c37bd05d2c84bf276~1..19bfebf0419c1e57119ab80c37bd05d2c84bf276 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [false] [Pipeline] sh [2023-08-03T20:13:40.375Z] + git log --format=format:%s -1 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [Pipeline] echo [2023-08-03T20:13:40.413Z] ========================================================= [2023-08-03T20:13:40.413Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-03T20:13:40.413Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-03T20:13:40.856Z] + git log --format=format:%s -1 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [Pipeline] echo [2023-08-03T20:13:40.892Z] [semverPrep] GIT_COMMIT: 19bfebf0419c1e57119ab80c37bd05d2c84bf276, Commit Message: feat: implement StreamFormat query [Pipeline] echo [2023-08-03T20:13:40.922Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-03T20:13:41.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-03T20:13:41.311Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-03T20:13:41.311Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-03T20:13:41.311Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-03T20:13:41.311Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-03T20:13:41.311Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-03T20:13:41.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:13:41.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T20:13:41.811Z] [2023-08-03T20:13:41.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:13:42.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T20:13:42.185Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-03T20:13:42.185Z] b85a868b505f: Pulling fs layer [2023-08-03T20:13:42.185Z] e2be974225ed: Pulling fs layer [2023-08-03T20:13:42.185Z] 339a4e72a1f5: Pulling fs layer [2023-08-03T20:13:42.185Z] 988bab9f4d93: Pulling fs layer [2023-08-03T20:13:42.185Z] 1469e6f7b9e6: Pulling fs layer [2023-08-03T20:13:42.185Z] eaf3925da568: Pulling fs layer [2023-08-03T20:13:42.185Z] bab4dde63d76: Pulling fs layer [2023-08-03T20:13:42.185Z] 1469e6f7b9e6: Waiting [2023-08-03T20:13:42.185Z] bab4dde63d76: Waiting [2023-08-03T20:13:42.185Z] bde34c3a00c8: Pulling fs layer [2023-08-03T20:13:42.185Z] b352a97aabf1: Pulling fs layer [2023-08-03T20:13:42.185Z] bde34c3a00c8: Waiting [2023-08-03T20:13:42.185Z] 4872d77fe225: Pulling fs layer [2023-08-03T20:13:42.185Z] 5851b861e8e6: Pulling fs layer [2023-08-03T20:13:42.185Z] 5851b861e8e6: Waiting [2023-08-03T20:13:42.185Z] 4872d77fe225: Waiting [2023-08-03T20:13:42.185Z] e2be974225ed: Download complete [2023-08-03T20:13:42.185Z] 988bab9f4d93: Verifying Checksum [2023-08-03T20:13:42.185Z] 988bab9f4d93: Download complete [2023-08-03T20:13:42.444Z] 339a4e72a1f5: Verifying Checksum [2023-08-03T20:13:42.445Z] 339a4e72a1f5: Download complete [2023-08-03T20:13:42.445Z] 1469e6f7b9e6: Verifying Checksum [2023-08-03T20:13:42.445Z] 1469e6f7b9e6: Download complete [2023-08-03T20:13:42.445Z] eaf3925da568: Download complete [2023-08-03T20:13:42.445Z] bde34c3a00c8: Download complete [2023-08-03T20:13:42.445Z] 4872d77fe225: Verifying Checksum [2023-08-03T20:13:42.445Z] 4872d77fe225: Download complete [2023-08-03T20:13:42.445Z] 5851b861e8e6: Verifying Checksum [2023-08-03T20:13:42.445Z] 5851b861e8e6: Download complete [2023-08-03T20:13:42.445Z] b85a868b505f: Verifying Checksum [2023-08-03T20:13:42.445Z] b85a868b505f: Download complete [2023-08-03T20:13:42.703Z] bab4dde63d76: Verifying Checksum [2023-08-03T20:13:42.703Z] bab4dde63d76: Download complete [2023-08-03T20:13:43.641Z] b85a868b505f: Pull complete [2023-08-03T20:13:43.641Z] e2be974225ed: Pull complete [2023-08-03T20:13:44.210Z] 339a4e72a1f5: Pull complete [2023-08-03T20:13:44.210Z] 988bab9f4d93: Pull complete [2023-08-03T20:13:44.471Z] 1469e6f7b9e6: Pull complete [2023-08-03T20:13:44.731Z] eaf3925da568: Pull complete [2023-08-03T20:13:46.694Z] bab4dde63d76: Pull complete [2023-08-03T20:13:46.694Z] bde34c3a00c8: Pull complete [2023-08-03T20:13:46.694Z] b352a97aabf1: Pull complete [2023-08-03T20:13:46.694Z] 4872d77fe225: Pull complete [2023-08-03T20:13:46.694Z] 5851b861e8e6: Pull complete [2023-08-03T20:13:46.694Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-03T20:13:46.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T20:13:46.694Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:13:46.935Z] prd-ubuntu20.04-docker-8c-8g-2850 does not seem to be running inside a container [2023-08-03T20:13:47.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-266 -v /w/workspace/foundry_device-usb-camera_PR-266:/w/workspace/foundry_device-usb-camera_PR-266:rw,z -v /w/workspace/foundry_device-usb-camera_PR-266@tmp:/w/workspace/foundry_device-usb-camera_PR-266@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-devops/py-git-semver:0.1.4 cat [2023-08-03T20:13:49.910Z] $ docker top cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 -eo pid,comm [2023-08-03T20:13:49.960Z] 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-08-03T20:13:49.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-03T20:13:50.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-03T20:13:50.084Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-03T20:13:50.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-03T20:13:50.205Z] $ docker exec cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 ssh-agent [2023-08-03T20:13:50.321Z] SSH_AUTH_SOCK=/tmp/ssh-L3qROvSXhVW5/agent.34 [2023-08-03T20:13:50.321Z] SSH_AGENT_PID=40 [2023-08-03T20:13:50.327Z] Running ssh-add (command line suppressed) [2023-08-03T20:13:50.426Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-266@tmp/private_key_12214869675958084244.key (/w/workspace/foundry_device-usb-camera_PR-266@tmp/private_key_12214869675958084244.key) [2023-08-03T20:13:50.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-03T20:13:50.763Z] + git tag --points-at HEAD [Pipeline] } [2023-08-03T20:13:50.793Z] $ docker exec --env ******** --env ******** cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 ssh-agent -k [2023-08-03T20:13:50.887Z] unset SSH_AUTH_SOCK; [2023-08-03T20:13:50.888Z] unset SSH_AGENT_PID; [2023-08-03T20:13:50.888Z] echo Agent pid 40 killed; [2023-08-03T20:13:50.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-03T20:13:50.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-03T20:13:50.979Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-03T20:13:51.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-03T20:13:51.100Z] $ docker exec cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 ssh-agent [2023-08-03T20:13:51.206Z] SSH_AUTH_SOCK=/tmp/ssh-p2p11q20KcAs/agent.72 [2023-08-03T20:13:51.206Z] SSH_AGENT_PID=78 [2023-08-03T20:13:51.212Z] Running ssh-add (command line suppressed) [2023-08-03T20:13:51.320Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-266@tmp/private_key_12418577559129531614.key (/w/workspace/foundry_device-usb-camera_PR-266@tmp/private_key_12418577559129531614.key) [2023-08-03T20:13:51.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-03T20:13:51.657Z] + git semver init [2023-08-03T20:13:51.916Z] 2023-08-03 20:13:51,826 [run_init] DEBUG init version:0.0.0 force:False [2023-08-03T20:13:51.916Z] 2023-08-03 20:13:51,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-266/.semver [2023-08-03T20:13:51.916Z] 2023-08-03 20:13:51,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-266/.semver [2023-08-03T20:13:51.916Z] 2023-08-03 20:13:51,827 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-266/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-266, universal_newlines=False, shell=None, istream=None) [2023-08-03T20:13:52.854Z] 2023-08-03 20:13:52,572 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-266/.git/info/exclude [2023-08-03T20:13:52.854Z] 2023-08-03 20:13:52,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-266/.semver/PR-266 with force:False [2023-08-03T20:13:52.854Z] 2023-08-03 20:13:52,573 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-266/.semver/PR-266 [2023-08-03T20:13:52.855Z] 2023-08-03 20:13:52,577 [execute] INFO git cat-file --batch-check [2023-08-03T20:13:52.855Z] 2023-08-03 20:13:52,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-08-03T20:13:52.855Z] 2023-08-03 20:13:52,583 [execute] INFO git cat-file --batch [2023-08-03T20:13:52.855Z] 2023-08-03 20:13:52,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-08-03T20:13:52.855Z] 2023-08-03 20:13:52,588 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-266/.semver/PR-266 [2023-08-03T20:13:52.855Z] 0.0.0 [Pipeline] } [2023-08-03T20:13:52.887Z] $ docker exec --env ******** --env ******** cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 ssh-agent -k [2023-08-03T20:13:52.986Z] unset SSH_AUTH_SOCK; [2023-08-03T20:13:52.987Z] unset SSH_AGENT_PID; [2023-08-03T20:13:52.987Z] echo Agent pid 78 killed; [2023-08-03T20:13:53.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-03T20:13:53.488Z] + git semver [Pipeline] } [2023-08-03T20:13:53.776Z] $ docker stop --time=1 cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 [2023-08-03T20:13:55.078Z] $ docker rm -f --volumes cd46f4de42f0275b7ec280e2755a7048ad42f101a0ba582a442f528599e21d74 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-03T20:13:55.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-03T20:13:55.743Z] Stashed 1 file(s) [Pipeline] echo [2023-08-03T20:13:55.759Z] [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-08-03T20:13:56.342Z] provisioning config files... [2023-08-03T20:13:56.351Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-266@tmp/config13601494997293794529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:13:56.697Z] ---> docker-login.sh [2023-08-03T20:13:56.697Z] nexus3.edgexfoundry.org:10001 [2023-08-03T20:13:56.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:56.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:56.697Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:56.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:56.697Z] [2023-08-03T20:13:56.697Z] Login Succeeded [2023-08-03T20:13:56.697Z] nexus3.edgexfoundry.org:10002 [2023-08-03T20:13:56.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:56.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:56.697Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:56.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:56.697Z] [2023-08-03T20:13:56.697Z] Login Succeeded [2023-08-03T20:13:56.697Z] nexus3.edgexfoundry.org:10003 [2023-08-03T20:13:56.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:56.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:56.956Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:56.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:56.956Z] [2023-08-03T20:13:56.956Z] Login Succeeded [2023-08-03T20:13:56.956Z] nexus3.edgexfoundry.org:10004 [2023-08-03T20:13:56.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:56.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:56.956Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:56.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:56.956Z] [2023-08-03T20:13:56.956Z] Login Succeeded [2023-08-03T20:13:56.956Z] docker.io [2023-08-03T20:13:56.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:13:57.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:13:57.215Z] Configure a credential helper to remove this warning. See [2023-08-03T20:13:57.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:13:57.215Z] [2023-08-03T20:13:57.215Z] Login Succeeded [2023-08-03T20:13:57.215Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T20:13:57.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-03T20:13:57.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T20:13:57.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T20:13:57.514Z] ========================================================= [2023-08-03T20:13:57.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-03T20:13:57.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:13:57.980Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-03T20:13:57.980Z] Sending build context to Docker daemon 2.123MB [2023-08-03T20:13:57.980Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T20:13:57.980Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-03T20:13:57.980Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-03T20:13:57.980Z] 4db1b89c0bd1: Pulling fs layer [2023-08-03T20:13:57.980Z] 6911f1a30b25: Pulling fs layer [2023-08-03T20:13:57.980Z] e194b8c5c2a9: Pulling fs layer [2023-08-03T20:13:57.980Z] 6863d3e3a2b1: Pulling fs layer [2023-08-03T20:13:57.980Z] ec0bb842ea78: Pulling fs layer [2023-08-03T20:13:57.980Z] 40a00589a448: Pulling fs layer [2023-08-03T20:13:57.980Z] 6863d3e3a2b1: Waiting [2023-08-03T20:13:57.980Z] ec0bb842ea78: Waiting [2023-08-03T20:13:57.980Z] 6c08303d61cc: Pulling fs layer [2023-08-03T20:13:57.980Z] 798269fcf238: Pulling fs layer [2023-08-03T20:13:57.980Z] 40a00589a448: Waiting [2023-08-03T20:13:57.980Z] 798269fcf238: Waiting [2023-08-03T20:13:57.980Z] 6911f1a30b25: Download complete [2023-08-03T20:13:57.980Z] 6863d3e3a2b1: Verifying Checksum [2023-08-03T20:13:57.980Z] 6863d3e3a2b1: Download complete [2023-08-03T20:13:57.980Z] ec0bb842ea78: Verifying Checksum [2023-08-03T20:13:57.980Z] ec0bb842ea78: Download complete [2023-08-03T20:13:57.980Z] 4db1b89c0bd1: Download complete [2023-08-03T20:13:58.239Z] 40a00589a448: Verifying Checksum [2023-08-03T20:13:58.239Z] 40a00589a448: Download complete [2023-08-03T20:13:58.239Z] 4db1b89c0bd1: Pull complete [2023-08-03T20:13:58.499Z] 6911f1a30b25: Pull complete [2023-08-03T20:13:58.499Z] 798269fcf238: Download complete [2023-08-03T20:13:58.758Z] e194b8c5c2a9: Verifying Checksum [2023-08-03T20:13:58.758Z] e194b8c5c2a9: Download complete [2023-08-03T20:13:58.758Z] 6c08303d61cc: Verifying Checksum [2023-08-03T20:13:58.758Z] 6c08303d61cc: Download complete [2023-08-03T20:14:02.042Z] e194b8c5c2a9: Pull complete [2023-08-03T20:14:02.042Z] 6863d3e3a2b1: Pull complete [2023-08-03T20:14:02.042Z] ec0bb842ea78: Pull complete [2023-08-03T20:14:02.301Z] 40a00589a448: Pull complete [2023-08-03T20:14:04.842Z] 6c08303d61cc: Pull complete [2023-08-03T20:14:05.811Z] 798269fcf238: Pull complete [2023-08-03T20:14:05.811Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-03T20:14:05.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-03T20:14:05.811Z] ---> ec979cd7f677 [2023-08-03T20:14:05.811Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-03T20:14:10.006Z] ---> Running in c7fe5d0afb8d [2023-08-03T20:14:10.265Z] Removing intermediate container c7fe5d0afb8d [2023-08-03T20:14:10.265Z] ---> 22f4daebc10d [2023-08-03T20:14:10.265Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-03T20:14:10.265Z] ---> Running in e3d0a0bda378 [2023-08-03T20:14:10.265Z] Removing intermediate container e3d0a0bda378 [2023-08-03T20:14:10.265Z] ---> 98387213c871 [2023-08-03T20:14:10.265Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-03T20:14:10.265Z] ---> Running in db08f4f35736 [2023-08-03T20:14:10.265Z] Removing intermediate container db08f4f35736 [2023-08-03T20:14:10.265Z] ---> 5b76230056bc [2023-08-03T20:14:10.265Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-03T20:14:10.525Z] ---> Running in c0be463aa289 [2023-08-03T20:14:10.525Z] Removing intermediate container c0be463aa289 [2023-08-03T20:14:10.525Z] ---> 1023c7e89a3d [2023-08-03T20:14:10.525Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-03T20:14:10.525Z] ---> Running in 52f2c9cbacd3 [2023-08-03T20:14:10.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-03T20:14:11.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-03T20:14:11.165Z] Still waiting to schedule task [2023-08-03T20:14:11.166Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-03T20:14:11.305Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-03T20:14:11.305Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-03T20:14:11.305Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-03T20:14:11.305Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-03T20:14:11.306Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-03T20:14:11.306Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-03T20:14:11.306Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-03T20:14:11.306Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-03T20:14:11.565Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-03T20:14:11.565Z] (10/14) Installing kmod-libs (30-r1) [2023-08-03T20:14:11.565Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-03T20:14:11.565Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-03T20:14:11.565Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-03T20:14:11.565Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-03T20:14:11.565Z] Executing busybox-1.35.0-r29.trigger [2023-08-03T20:14:11.565Z] Executing eudev-3.2.11-r4.trigger [2023-08-03T20:14:11.565Z] OK: 272 MiB in 67 packages [2023-08-03T20:14:12.140Z] Removing intermediate container 52f2c9cbacd3 [2023-08-03T20:14:12.140Z] ---> e664db88aee3 [2023-08-03T20:14:12.140Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-03T20:14:12.140Z] ---> Running in 0a8faa084a87 [2023-08-03T20:14:12.398Z] Removing intermediate container 0a8faa084a87 [2023-08-03T20:14:12.398Z] ---> e7424262c23e [2023-08-03T20:14:12.398Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-03T20:14:12.398Z] ---> 5ac79dca1aeb [2023-08-03T20:14:12.398Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T20:14:12.398Z] ---> Running in 7439b44f7cc3 [2023-08-03T20:14:44.503Z] Removing intermediate container 7439b44f7cc3 [2023-08-03T20:14:44.504Z] ---> ad8f1c4b36cd [2023-08-03T20:14:44.504Z] Step 11/13 : COPY . . [2023-08-03T20:14:44.504Z] ---> feb7dffccd33 [2023-08-03T20:14:44.504Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-03T20:14:44.504Z] ---> Running in 10302f913289 [2023-08-03T20:14:44.763Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-03T20:14:44.763Z] Dload Upload Total Spent Left Speed [2023-08-03T20:14:45.027Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4706 0 --:--:-- --:--:-- --:--:-- 4720 [2023-08-03T20:14:45.286Z] Removing intermediate container 10302f913289 [2023-08-03T20:14:45.286Z] ---> 638837ca62b5 [2023-08-03T20:14:45.286Z] Step 13/13 : RUN ${MAKE} [2023-08-03T20:14:45.286Z] ---> Running in 1facf9162aed [2023-08-03T20:14:45.544Z] noop [2023-08-03T20:14:45.802Z] Removing intermediate container 1facf9162aed [2023-08-03T20:14:45.802Z] ---> 05525e7a51f4 [2023-08-03T20:14:45.802Z] Successfully built 05525e7a51f4 [2023-08-03T20:14:45.802Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:14:46.259Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-03T20:14:46.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:14:46.416Z] prd-ubuntu20.04-docker-8c-8g-2850 does not seem to be running inside a container [2023-08-03T20:14:46.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-266 -v /w/workspace/foundry_device-usb-camera_PR-266:/w/workspace/foundry_device-usb-camera_PR-266:rw,z -v /w/workspace/foundry_device-usb-camera_PR-266@tmp:/w/workspace/foundry_device-usb-camera_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-03T20:14:46.804Z] $ docker top 1c3282c8e8db8cf49ee6e7c3640ddb21fe93e6b5d17e31bc22c7ba426589c70c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T20:14:47.189Z] + go version [2023-08-03T20:14:47.189Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-03T20:14:47.227Z] $ docker stop --time=1 1c3282c8e8db8cf49ee6e7c3640ddb21fe93e6b5d17e31bc22c7ba426589c70c [2023-08-03T20:14:48.500Z] $ docker rm -f --volumes 1c3282c8e8db8cf49ee6e7c3640ddb21fe93e6b5d17e31bc22c7ba426589c70c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:14:49.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-03T20:14:49.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:14:49.372Z] prd-ubuntu20.04-docker-8c-8g-2850 does not seem to be running inside a container [2023-08-03T20:14:49.404Z] $ 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-266 -v /w/workspace/foundry_device-usb-camera_PR-266:/w/workspace/foundry_device-usb-camera_PR-266:rw,z -v /w/workspace/foundry_device-usb-camera_PR-266@tmp:/w/workspace/foundry_device-usb-camera_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-03T20:14:49.718Z] $ docker top 7400e16c18f66e9696c64781bb1539f6286b593dbedc2760f323cd239364959e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T20:14:50.102Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-266 [Pipeline] fileExists [Pipeline] sh [2023-08-03T20:14:50.462Z] + make test [2023-08-03T20:14:50.462Z] go test ./... -coverprofile=coverage.out ./... [2023-08-03T20:14:55.729Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-03T20:15:05.687Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-03T20:15:05.688Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 3.3% of statements [2023-08-03T20:15:12.244Z] go vet ./... [2023-08-03T20:15:16.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-03T20:15:16.424Z] ./internal/driver/types.go [2023-08-03T20:15:16.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-03T20:15:16.424Z] make: *** [Makefile:58: test] Error 1 [Pipeline] } [2023-08-03T20:15:16.468Z] $ docker stop --time=1 7400e16c18f66e9696c64781bb1539f6286b593dbedc2760f323cd239364959e [2023-08-03T20:15:20.119Z] $ docker rm -f --volumes 7400e16c18f66e9696c64781bb1539f6286b593dbedc2760f323cd239364959e [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-08-03T20:15:21.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T20:15:21.295Z] [2023-08-03T20:15:21.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:15:21.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T20:15:21.665Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-03T20:15:21.665Z] 5eb5b503b376: Pulling fs layer [2023-08-03T20:15:21.665Z] 5c69ac0246d0: Pulling fs layer [2023-08-03T20:15:21.665Z] ec43610c2a17: Pulling fs layer [2023-08-03T20:15:21.665Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-03T20:15:21.665Z] 33b1e0a273af: Pulling fs layer [2023-08-03T20:15:21.665Z] 5d3b04190fa2: Pulling fs layer [2023-08-03T20:15:21.665Z] 2f39f015ded8: Pulling fs layer [2023-08-03T20:15:21.665Z] 33b1e0a273af: Waiting [2023-08-03T20:15:21.665Z] 5d3b04190fa2: Waiting [2023-08-03T20:15:21.665Z] 2f39f015ded8: Waiting [2023-08-03T20:15:21.665Z] 3a2ae6a8a46f: Waiting [2023-08-03T20:15:21.665Z] 5c69ac0246d0: Download complete [2023-08-03T20:15:21.665Z] 3a2ae6a8a46f: Download complete [2023-08-03T20:15:21.665Z] 33b1e0a273af: Verifying Checksum [2023-08-03T20:15:21.665Z] 33b1e0a273af: Download complete [2023-08-03T20:15:21.665Z] 5d3b04190fa2: Download complete [2023-08-03T20:15:21.665Z] ec43610c2a17: Verifying Checksum [2023-08-03T20:15:21.665Z] ec43610c2a17: Download complete [2023-08-03T20:15:21.924Z] 5eb5b503b376: Verifying Checksum [2023-08-03T20:15:21.924Z] 5eb5b503b376: Download complete [2023-08-03T20:15:22.489Z] 2f39f015ded8: Download complete [2023-08-03T20:15:23.055Z] 5eb5b503b376: Pull complete [2023-08-03T20:15:23.055Z] 5c69ac0246d0: Pull complete [2023-08-03T20:15:23.621Z] ec43610c2a17: Pull complete [2023-08-03T20:15:23.621Z] 3a2ae6a8a46f: Pull complete [2023-08-03T20:15:23.879Z] 33b1e0a273af: Pull complete [2023-08-03T20:15:23.879Z] 5d3b04190fa2: Pull complete [2023-08-03T20:15:28.064Z] 2f39f015ded8: Pull complete [2023-08-03T20:15:28.064Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-03T20:15:28.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T20:15:28.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:15:28.302Z] prd-ubuntu20.04-docker-8c-8g-2850 does not seem to be running inside a container [2023-08-03T20:15:28.339Z] $ 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-266 -v /w/workspace/foundry_device-usb-camera_PR-266:/w/workspace/foundry_device-usb-camera_PR-266:rw,z -v /w/workspace/foundry_device-usb-camera_PR-266@tmp:/w/workspace/foundry_device-usb-camera_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-03T20:15:33.108Z] $ docker top 7e1d70fbd22e415fa5ab61e6b5e0745a00934f3980d5a191e652611eb084746d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:15:33.555Z] ---> job-cost.sh [2023-08-03T20:15:33.556Z] lf-activate-venv: SKIPPING [2023-08-03T20:15:33.556Z] INFO: No Stack... [2023-08-03T20:15:33.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-03T20:15:34.073Z] INFO: Archiving Costs [Pipeline] sh [2023-08-03T20:15:34.387Z] + cat /w/workspace/foundry_device-usb-camera_PR-266/archives/cost.csv [2023-08-03T20:15:34.387Z] + cut -d, -f6 [Pipeline] lock [2023-08-03T20:15:34.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [2023-08-03T20:15:34.428Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] did not exist. Created. [2023-08-03T20:15:34.428Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-03T20:15:34.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-03T20:15:34.875Z] Stashed 1 file(s) [Pipeline] } [2023-08-03T20:15:34.897Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-03T20:15:34.974Z] $ docker stop --time=1 7e1d70fbd22e415fa5ab61e6b5e0745a00934f3980d5a191e652611eb084746d [2023-08-03T20:15:36.121Z] $ docker rm -f --volumes 7e1d70fbd22e415fa5ab61e6b5e0745a00934f3980d5a191e652611eb084746d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-03T20:15:36.492Z] Failed in branch amd64 [2023-08-03T20:15:46.758Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2851 in /w/workspace/foundry_device-usb-camera_PR-266 [Pipeline] { [Pipeline] ws [2023-08-03T20:15:46.816Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-08-03T20:15:46.886Z] Selected Git installation does not exist. Using Default [2023-08-03T20:15:46.886Z] The recommended git tool is: NONE [2023-08-03T20:15:52.049Z] using credential edgex-jenkins-ssh [2023-08-03T20:15:52.064Z] Cloning the remote Git repository [2023-08-03T20:15:52.098Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-03T20:15:52.197Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-08-03T20:15:52.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-03T20:15:52.330Z] > git --version # timeout=10 [2023-08-03T20:15:52.354Z] > git --version # 'git version 2.25.1' [2023-08-03T20:15:52.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T20:15:52.488Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-03T20:15:53.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-03T20:15:53.309Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-03T20:15:54.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-03T20:15:54.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-03T20:15:54.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T20:15:54.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-03T20:15:54.854Z] Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [2023-08-03T20:15:55.131Z] Merge succeeded, producing 19bfebf0419c1e57119ab80c37bd05d2c84bf276 [2023-08-03T20:15:55.132Z] Checking out Revision 19bfebf0419c1e57119ab80c37bd05d2c84bf276 (PR-266) [2023-08-03T20:15:54.871Z] > git config core.sparsecheckout # timeout=10 [2023-08-03T20:15:54.939Z] > git checkout -f 19bfebf0419c1e57119ab80c37bd05d2c84bf276 # timeout=10 [2023-08-03T20:15:55.021Z] > git remote # timeout=10 [2023-08-03T20:15:55.040Z] > git config --get remote.origin.url # timeout=10 [2023-08-03T20:15:55.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T20:15:55.084Z] > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [2023-08-03T20:15:55.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-03T20:15:55.136Z] > git config core.sparsecheckout # timeout=10 [2023-08-03T20:15:55.147Z] > git checkout -f 19bfebf0419c1e57119ab80c37bd05d2c84bf276 # timeout=10 [2023-08-03T20:15:58.593Z] Commit message: "feat: implement StreamFormat query" [2023-08-03T20:15:58.641Z] > git --version # timeout=10 [2023-08-03T20:15:58.656Z] > git --version # 'git version 2.25.1' [2023-08-03T20:15:58.673Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-03T20:15:59.809Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-03T20:15:59.809Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-03T20:15:59.809Z] Dload Upload Total Spent Left Speed [2023-08-03T20:15:59.809Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-08-03T20:16:00.514Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-03T20:16:00.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-03T20:16:00.852Z] + sudo tee /etc/docker/daemon.new [2023-08-03T20:16:00.852Z] { [2023-08-03T20:16:00.852Z] "registry-mirrors": [ [2023-08-03T20:16:00.852Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-03T20:16:00.852Z] ], [2023-08-03T20:16:00.852Z] "bip": "10.250.0.254/24", [2023-08-03T20:16:00.852Z] "hosts": [ [2023-08-03T20:16:00.852Z] "tcp://0.0.0.0:5555", [2023-08-03T20:16:00.852Z] "unix:///var/run/docker.sock" [2023-08-03T20:16:00.852Z] ], [2023-08-03T20:16:00.852Z] "mtu": 1458, [2023-08-03T20:16:00.852Z] "selinux-enabled": true, [2023-08-03T20:16:00.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-03T20:16:00.852Z] } [Pipeline] sh [2023-08-03T20:16:01.186Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-03T20:16:01.529Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T20:16:19.824Z] provisioning config files... [2023-08-03T20:16:19.852Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10171297798160316715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:16:20.230Z] ---> docker-login.sh [2023-08-03T20:16:20.230Z] nexus3.edgexfoundry.org:10001 [2023-08-03T20:16:20.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:16:20.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:16:20.770Z] Configure a credential helper to remove this warning. See [2023-08-03T20:16:20.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:16:20.770Z] [2023-08-03T20:16:20.770Z] Login Succeeded [2023-08-03T20:16:20.770Z] nexus3.edgexfoundry.org:10002 [2023-08-03T20:16:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:16:21.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:16:21.039Z] Configure a credential helper to remove this warning. See [2023-08-03T20:16:21.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:16:21.039Z] [2023-08-03T20:16:21.039Z] Login Succeeded [2023-08-03T20:16:21.039Z] nexus3.edgexfoundry.org:10003 [2023-08-03T20:16:21.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:16:21.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:16:21.577Z] Configure a credential helper to remove this warning. See [2023-08-03T20:16:21.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:16:21.577Z] [2023-08-03T20:16:21.577Z] Login Succeeded [2023-08-03T20:16:21.577Z] nexus3.edgexfoundry.org:10004 [2023-08-03T20:16:21.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:16:21.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:16:21.847Z] Configure a credential helper to remove this warning. See [2023-08-03T20:16:21.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:16:21.847Z] [2023-08-03T20:16:21.847Z] Login Succeeded [2023-08-03T20:16:21.847Z] docker.io [2023-08-03T20:16:22.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T20:16:22.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T20:16:22.383Z] Configure a credential helper to remove this warning. See [2023-08-03T20:16:22.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T20:16:22.383Z] [2023-08-03T20:16:22.383Z] Login Succeeded [2023-08-03T20:16:22.383Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T20:16:22.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-03T20:16:22.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T20:16:22.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T20:16:22.837Z] ========================================================= [2023-08-03T20:16:22.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-03T20:16:22.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:16:23.335Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-03T20:16:23.603Z] Sending build context to Docker daemon 1.31MB [2023-08-03T20:16:23.603Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T20:16:23.603Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-03T20:16:23.873Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-03T20:16:23.873Z] edb6bdbacee9: Pulling fs layer [2023-08-03T20:16:23.873Z] 5f9638ab2659: Pulling fs layer [2023-08-03T20:16:23.873Z] 8d51d6327a98: Pulling fs layer [2023-08-03T20:16:23.873Z] 8b374f2dd631: Pulling fs layer [2023-08-03T20:16:23.873Z] ec14aa9079de: Pulling fs layer [2023-08-03T20:16:23.873Z] 2f466654f4bb: Pulling fs layer [2023-08-03T20:16:23.873Z] 554e91adad29: Pulling fs layer [2023-08-03T20:16:23.873Z] 8b374f2dd631: Waiting [2023-08-03T20:16:23.873Z] ec14aa9079de: Waiting [2023-08-03T20:16:23.873Z] 2f466654f4bb: Waiting [2023-08-03T20:16:23.873Z] 554e91adad29: Waiting [2023-08-03T20:16:23.873Z] 5f9638ab2659: Verifying Checksum [2023-08-03T20:16:23.873Z] 5f9638ab2659: Download complete [2023-08-03T20:16:23.873Z] 8b374f2dd631: Verifying Checksum [2023-08-03T20:16:23.873Z] 8b374f2dd631: Download complete [2023-08-03T20:16:23.873Z] ec14aa9079de: Verifying Checksum [2023-08-03T20:16:23.873Z] ec14aa9079de: Download complete [2023-08-03T20:16:23.873Z] edb6bdbacee9: Verifying Checksum [2023-08-03T20:16:23.873Z] edb6bdbacee9: Download complete [2023-08-03T20:16:24.877Z] edb6bdbacee9: Pull complete [2023-08-03T20:16:25.147Z] 554e91adad29: Verifying Checksum [2023-08-03T20:16:25.147Z] 554e91adad29: Download complete [2023-08-03T20:16:25.420Z] 5f9638ab2659: Pull complete [2023-08-03T20:16:26.393Z] 8d51d6327a98: Verifying Checksum [2023-08-03T20:16:26.393Z] 8d51d6327a98: Download complete [2023-08-03T20:16:26.393Z] 2f466654f4bb: Verifying Checksum [2023-08-03T20:16:26.393Z] 2f466654f4bb: Download complete [2023-08-03T20:16:38.715Z] 8d51d6327a98: Pull complete [2023-08-03T20:16:38.715Z] 8b374f2dd631: Pull complete [2023-08-03T20:16:38.715Z] ec14aa9079de: Pull complete [2023-08-03T20:16:44.089Z] 2f466654f4bb: Pull complete [2023-08-03T20:16:46.693Z] 554e91adad29: Pull complete [2023-08-03T20:16:46.693Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-03T20:16:46.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-03T20:16:46.693Z] ---> 1e15ea492957 [2023-08-03T20:16:46.693Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-03T20:16:48.650Z] ---> Running in 642bc7df22a8 [2023-08-03T20:16:48.650Z] Removing intermediate container 642bc7df22a8 [2023-08-03T20:16:48.650Z] ---> 9692476fde8f [2023-08-03T20:16:48.650Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-03T20:16:48.650Z] ---> Running in d0abc38f8220 [2023-08-03T20:16:48.919Z] Removing intermediate container d0abc38f8220 [2023-08-03T20:16:48.919Z] ---> bd3eb9358dd1 [2023-08-03T20:16:48.919Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-03T20:16:48.919Z] ---> Running in d31606c8168c [2023-08-03T20:16:49.187Z] Removing intermediate container d31606c8168c [2023-08-03T20:16:49.187Z] ---> 65066a2d353a [2023-08-03T20:16:49.187Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-03T20:16:49.455Z] ---> Running in fac50e80622a [2023-08-03T20:16:49.721Z] Removing intermediate container fac50e80622a [2023-08-03T20:16:49.721Z] ---> e8639255b2bb [2023-08-03T20:16:49.721Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-03T20:16:49.721Z] ---> Running in 4d5dbc5ce859 [2023-08-03T20:16:50.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-03T20:16:51.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-03T20:16:52.222Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-03T20:16:52.222Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-03T20:16:52.222Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-03T20:16:52.222Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-03T20:16:52.222Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-03T20:16:52.222Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-03T20:16:52.222Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-03T20:16:52.490Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-03T20:16:52.490Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-03T20:16:52.490Z] (10/14) Installing kmod-libs (30-r1) [2023-08-03T20:16:52.490Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-03T20:16:52.490Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-03T20:16:52.490Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-03T20:16:52.760Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-03T20:16:52.760Z] Executing busybox-1.35.0-r29.trigger [2023-08-03T20:16:52.760Z] Executing eudev-3.2.11-r4.trigger [2023-08-03T20:16:52.760Z] OK: 271 MiB in 67 packages [2023-08-03T20:16:54.171Z] Removing intermediate container 4d5dbc5ce859 [2023-08-03T20:16:54.171Z] ---> f2d0666386fb [2023-08-03T20:16:54.171Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-03T20:16:54.171Z] ---> Running in 39eacccb9fb2 [2023-08-03T20:16:54.171Z] Removing intermediate container 39eacccb9fb2 [2023-08-03T20:16:54.171Z] ---> 1c59d561cc92 [2023-08-03T20:16:54.171Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-03T20:16:57.512Z] ---> 9cdbe71a6458 [2023-08-03T20:16:57.512Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T20:16:57.512Z] ---> Running in 15b34ef35d9d [2023-08-03T20:18:05.427Z] Removing intermediate container 15b34ef35d9d [2023-08-03T20:18:05.427Z] ---> 8e32ab49d8e1 [2023-08-03T20:18:05.427Z] Step 11/13 : COPY . . [2023-08-03T20:18:05.427Z] ---> c3585c8930c1 [2023-08-03T20:18:05.427Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-03T20:18:05.427Z] ---> Running in d96471ba2dbf [2023-08-03T20:18:05.427Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-03T20:18:05.427Z] Dload Upload Total Spent Left Speed [2023-08-03T20:18:05.427Z] 0 0 0  0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4472 0 --:--:-- --:--:-- --:--:-- 4500 [2023-08-03T20:18:05.427Z] Removing intermediate container d96471ba2dbf [2023-08-03T20:18:05.427Z] ---> e2842c8d73ef [2023-08-03T20:18:05.427Z] Step 13/13 : RUN ${MAKE} [2023-08-03T20:18:05.427Z] ---> Running in 0c9a71ecd23f [2023-08-03T20:18:05.427Z] noop [2023-08-03T20:18:05.427Z] Removing intermediate container 0c9a71ecd23f [2023-08-03T20:18:05.427Z] ---> c352b88120a8 [2023-08-03T20:18:05.427Z] Successfully built c352b88120a8 [2023-08-03T20:18:05.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:18:05.899Z] + docker inspect -f . ci-base-image-arm64 [2023-08-03T20:18:05.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:18:06.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-2851 does not seem to be running inside a container [2023-08-03T20:18:06.239Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-08-03T20:18:07.366Z] $ docker top 9cab4d38f2a55fccd599d1beb670f4bdc02f30016abc7a5cbdb78d6c8ba59cf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T20:18:08.226Z] + go version [2023-08-03T20:18:08.227Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-03T20:18:08.267Z] $ docker stop --time=1 9cab4d38f2a55fccd599d1beb670f4bdc02f30016abc7a5cbdb78d6c8ba59cf4 [2023-08-03T20:18:09.825Z] $ docker rm -f --volumes 9cab4d38f2a55fccd599d1beb670f4bdc02f30016abc7a5cbdb78d6c8ba59cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:18:10.652Z] + docker inspect -f . ci-base-image-arm64 [2023-08-03T20:18:10.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:18:10.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-2851 does not seem to be running inside a container [2023-08-03T20:18:10.960Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-08-03T20:18:12.038Z] $ docker top 87f0a97c4182d7642cefac5548f02b9e59f41873528fef479fb06fb90fa3daa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T20:18:12.571Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-08-03T20:18:12.952Z] + make test [2023-08-03T20:18:12.952Z] go test ./... -coverprofile=coverage.out ./... [2023-08-03T20:18:45.185Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-03T20:20:36.836Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-03T20:20:45.045Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 3.3% of statements [2023-08-03T20:20:45.628Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-03T20:20:45.628Z] go vet ./... [2023-08-03T20:21:24.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-03T20:21:24.493Z] ./internal/driver/types.go [2023-08-03T20:21:24.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-03T20:21:24.493Z] make: *** [Makefile:58: test] Error 1 [Pipeline] } [2023-08-03T20:21:24.545Z] $ docker stop --time=1 87f0a97c4182d7642cefac5548f02b9e59f41873528fef479fb06fb90fa3daa6 [2023-08-03T20:21:26.249Z] $ docker rm -f --volumes 87f0a97c4182d7642cefac5548f02b9e59f41873528fef479fb06fb90fa3daa6 [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-08-03T20:21:28.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T20:21:28.031Z] [2023-08-03T20:21:28.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:21:28.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T20:21:28.694Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-03T20:21:28.694Z] 8998bd30e6a1: Pulling fs layer [2023-08-03T20:21:28.694Z] 04944245beec: Pulling fs layer [2023-08-03T20:21:28.694Z] 699f458cf7ca: Pulling fs layer [2023-08-03T20:21:28.694Z] 765212b225bb: Pulling fs layer [2023-08-03T20:21:28.694Z] f23df028b6ca: Pulling fs layer [2023-08-03T20:21:28.694Z] d65c8cfc05b1: Pulling fs layer [2023-08-03T20:21:28.694Z] 2437ff75d9bd: Pulling fs layer [2023-08-03T20:21:28.694Z] 765212b225bb: Waiting [2023-08-03T20:21:28.694Z] f23df028b6ca: Waiting [2023-08-03T20:21:28.694Z] d65c8cfc05b1: Waiting [2023-08-03T20:21:28.694Z] 2437ff75d9bd: Waiting [2023-08-03T20:21:28.694Z] 04944245beec: Verifying Checksum [2023-08-03T20:21:28.694Z] 04944245beec: Download complete [2023-08-03T20:21:28.694Z] 765212b225bb: Verifying Checksum [2023-08-03T20:21:28.694Z] 765212b225bb: Download complete [2023-08-03T20:21:28.694Z] f23df028b6ca: Verifying Checksum [2023-08-03T20:21:28.694Z] f23df028b6ca: Download complete [2023-08-03T20:21:28.694Z] d65c8cfc05b1: Verifying Checksum [2023-08-03T20:21:28.694Z] d65c8cfc05b1: Download complete [2023-08-03T20:21:28.960Z] 699f458cf7ca: Verifying Checksum [2023-08-03T20:21:28.960Z] 699f458cf7ca: Download complete [2023-08-03T20:21:29.229Z] 8998bd30e6a1: Download complete [2023-08-03T20:21:31.167Z] 2437ff75d9bd: Verifying Checksum [2023-08-03T20:21:31.167Z] 2437ff75d9bd: Download complete [2023-08-03T20:21:33.109Z] 8998bd30e6a1: Pull complete [2023-08-03T20:21:33.377Z] 04944245beec: Pull complete [2023-08-03T20:21:36.715Z] 699f458cf7ca: Pull complete [2023-08-03T20:21:36.984Z] 765212b225bb: Pull complete [2023-08-03T20:21:37.566Z] f23df028b6ca: Pull complete [2023-08-03T20:21:37.834Z] d65c8cfc05b1: Pull complete [2023-08-03T20:21:54.475Z] 2437ff75d9bd: Pull complete [2023-08-03T20:21:54.475Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-03T20:21:54.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T20:21:54.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:21:54.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-2851 does not seem to be running inside a container [2023-08-03T20:21:54.904Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-03T20:21:56.138Z] $ docker top 68cd5ebafa5858f058f5f2eaddedb806467b4ca20fe70f6a3d2cbb521f605793 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:21:57.012Z] ---> job-cost.sh [2023-08-03T20:21:57.012Z] lf-activate-venv: SKIPPING [2023-08-03T20:21:57.012Z] INFO: No Stack... [2023-08-03T20:21:57.277Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-03T20:21:58.233Z] INFO: Archiving Costs [Pipeline] sh [2023-08-03T20:21:58.887Z] + + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-08-03T20:21:58.887Z] cut -d, -f6 [Pipeline] lock [2023-08-03T20:21:58.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [2023-08-03T20:21:58.965Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] did not exist. Created. [2023-08-03T20:21:58.966Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-03T20:21:59.365Z] /w/workspace/device-usb-camera/1@tmp/durable-e9a4d871/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-03T20:21:59.715Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-03T20:21:59.789Z] Warning: overwriting stash ‘stack-cost’ [2023-08-03T20:22:00.153Z] Stashed 1 file(s) [Pipeline] } [2023-08-03T20:22:00.168Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-03T20:22:00.259Z] $ docker stop --time=1 68cd5ebafa5858f058f5f2eaddedb806467b4ca20fe70f6a3d2cbb521f605793 [2023-08-03T20:22:01.745Z] $ docker rm -f --volumes 68cd5ebafa5858f058f5f2eaddedb806467b4ca20fe70f6a3d2cbb521f605793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-03T20:22:02.421Z] 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-08-03T20:22:04.424Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-266/archives ] [2023-08-03T20:22:04.424Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-266/archives [2023-08-03T20:22:04.424Z] total 16 [2023-08-03T20:22:04.424Z] drwxr-xr-x 3 root root 4096 Aug 3 20:15 . [2023-08-03T20:22:04.424Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 20:15 .. [2023-08-03T20:22:04.424Z] drwxr-xr-x 2 root root 4096 Aug 3 20:15 cost [2023-08-03T20:22:04.424Z] -rw-r--r-- 1 root root 89 Aug 3 20:15 cost.csv [2023-08-03T20:22:04.424Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-266/archives [2023-08-03T20:22:04.424Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-266/archives [2023-08-03T20:22:04.424Z] total 16 [2023-08-03T20:22:04.424Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 20:15 . [2023-08-03T20:22:04.424Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 20:15 .. [2023-08-03T20:22:04.424Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 20:15 cost [2023-08-03T20:22:04.424Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 3 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:04.751Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:05.645Z] ---> package-listing.sh [2023-08-03T20:22:05.645Z] ++ facter osfamily [2023-08-03T20:22:05.645Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-03T20:22:05.904Z] + OS_FAMILY=debian [2023-08-03T20:22:05.904Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-266 [2023-08-03T20:22:05.904Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-03T20:22:05.904Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-03T20:22:05.904Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-03T20:22:05.904Z] + PACKAGES=/tmp/packages_start.txt [2023-08-03T20:22:05.904Z] + '[' /w/workspace/foundry_device-usb-camera_PR-266 ']' [2023-08-03T20:22:05.904Z] + PACKAGES=/tmp/packages_end.txt [2023-08-03T20:22:05.904Z] + case "${OS_FAMILY}" in [2023-08-03T20:22:05.904Z] + dpkg -l [2023-08-03T20:22:05.904Z] + grep '^ii' [2023-08-03T20:22:05.904Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-03T20:22:05.904Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-03T20:22:05.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-03T20:22:05.904Z] + '[' /w/workspace/foundry_device-usb-camera_PR-266 ']' [2023-08-03T20:22:05.904Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-266/archives/ [2023-08-03T20:22:05.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-266/archives/ [Pipeline] echo [2023-08-03T20:22:05.936Z] 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-266/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-03T20:22:06.224Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T20:22:06.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T20:22:06.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T20:22:06.979Z] prd-ubuntu20.04-docker-8c-8g-2850 does not seem to be running inside a container [2023-08-03T20:22:07.010Z] $ 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-266/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-266 -v /w/workspace/foundry_device-usb-camera_PR-266:/w/workspace/foundry_device-usb-camera_PR-266:rw,z -v /w/workspace/foundry_device-usb-camera_PR-266@tmp:/w/workspace/foundry_device-usb-camera_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-03T20:22:07.188Z] $ docker top 50f3ffa29f918cf44366d8f7c24db8b9278574b7f0686037d4a4e6915b560a65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T20:22:07.569Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-03T20:22:07.880Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-03T20:22:08.187Z] + ls /var/log/sa-host [2023-08-03T20:22:08.187Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T20:22:08.400Z] provisioning config files... [2023-08-03T20:22:08.409Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-266@tmp/config16527168569441151472tmp [Pipeline] { [Pipeline] echo [2023-08-03T20:22:08.459Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:08.769Z] ---> create-netrc.sh [Pipeline] } [2023-08-03T20:22:08.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:09.198Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-03T20:22:09.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:09.537Z] ---> sudo-logs.sh [2023-08-03T20:22:09.537Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-03T20:22:09.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:09.918Z] ---> job-cost.sh [2023-08-03T20:22:09.919Z] lf-activate-venv: SKIPPING [2023-08-03T20:22:09.919Z] DEBUG: total: 0.2199999988079071 [2023-08-03T20:22:09.919Z] INFO: Retrieving Stack Cost... [2023-08-03T20:22:10.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-03T20:22:10.436Z] INFO: Archiving Costs [Pipeline] echo [2023-08-03T20:22:10.469Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T20:22:10.782Z] ---> logs-deploy.sh [2023-08-03T20:22:10.783Z] lf-activate-venv: SKIPPING [2023-08-03T20:22:10.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-266/1 [2023-08-03T20:22:10.783Z] INFO: archiving workspace using pattern(s): [2023-08-03T20:22:11.719Z] Archives upload complete. [2023-08-03T20:22:11.719Z] INFO: archiving logs to Nexus