Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8c615475b04751833d5a4ed77b1f866c80ece4c+ed547cb9b404855c4500ba28f125032074ed2dc3 (159a5867858fbea4b70749d626529ff0a4076019) 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-ssh10726302743098361450.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17805231145522221224.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3069416800709517383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh13237966594246882327.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4907317507580239812.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-74 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c Merge succeeded, producing ac4afcf84d4d4ec41c4712d4c311120b52a78ecd Checking out Revision ac4afcf84d4d4ec41c4712d4c311120b52a78ecd (PR-99) > git config core.sparsecheckout # timeout=10 > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4afcf84d4d4ec41c4712d4c311120b52a78ecd # timeout=10 Commit message: "Merge commit 'ed547cb9b404855c4500ba28f125032074ed2dc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 90ae11d7765f8654341e58d994582db61243e144 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T06:16:11.526Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T06:16:11.579Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T06:16:11.592Z] ========================================================= [2023-03-14T06:16:11.592Z] EdgeX Global Pipelines Version Info [2023-03-14T06:16:11.592Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:16:12.293Z] ------------------- [2023-03-14T06:16:12.293Z] stable info: [2023-03-14T06:16:12.293Z] ------------------- [2023-03-14T06:16:12.293Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T06:16:12.293Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T06:16:12.293Z] Message: update stable to v1.0.245 [2023-03-14T06:16:12.864Z] ------------------- [2023-03-14T06:16:12.864Z] experimental info: [2023-03-14T06:16:12.864Z] ------------------- [2023-03-14T06:16:12.864Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T06:16:12.864Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T06:16:12.864Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T06:16:13.029Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-14T06:16:13.044Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-14T06:16:13.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T06:16:13.067Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T06:16:13.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T06:16:13.087Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T06:16:13.101Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T06:16:13.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T06:16:13.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T06:16:13.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T06:16:13.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T06:16:13.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-14T06:16:13.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T06:16:13.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T06:16:13.204Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T06:16:13.215Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T06:16:13.227Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T06:16:13.238Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T06:16:13.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T06:16:13.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T06:16:13.273Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T06:16:13.290Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T06:16:13.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T06:16:13.318Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T06:16:13.331Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T06:16:13.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T06:16:13.354Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T06:16:13.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2023-03-14T06:16:13.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2023-03-14T06:16:13.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2023-03-14T06:16:13.415Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [Pipeline] echo [2023-03-14T06:16:13.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4afcf [Pipeline] echo [2023-03-14T06:16:13.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:16:13.482Z] provisioning config files... [2023-03-14T06:16:13.499Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config12876418556225996499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:16:13.805Z] ---> docker-login.sh [2023-03-14T06:16:13.805Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:16:14.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:14.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:14.065Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:14.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:14.065Z] [2023-03-14T06:16:14.065Z] Login Succeeded [2023-03-14T06:16:14.065Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:16:14.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:14.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:14.326Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:14.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:14.326Z] [2023-03-14T06:16:14.326Z] Login Succeeded [2023-03-14T06:16:14.326Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:16:14.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:14.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:14.326Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:14.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:14.326Z] [2023-03-14T06:16:14.326Z] Login Succeeded [2023-03-14T06:16:14.326Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:16:14.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:14.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:14.585Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:14.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:14.585Z] [2023-03-14T06:16:14.585Z] Login Succeeded [2023-03-14T06:16:14.585Z] docker.io [2023-03-14T06:16:14.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:14.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:14.846Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:14.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:14.846Z] [2023-03-14T06:16:14.846Z] Login Succeeded [2023-03-14T06:16:14.846Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:16:14.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T06:16:15.219Z] + git rev-list -1 --merges ac4afcf84d4d4ec41c4712d4c311120b52a78ecd~1..ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [Pipeline] echo [2023-03-14T06:16:15.276Z] -----------> git rev-list -1 --merges ac4afcf84d4d4ec41c4712d4c311120b52a78ecd~1..ac4afcf84d4d4ec41c4712d4c311120b52a78ecd ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [2023-03-14T06:16:15.276Z] ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [false] [Pipeline] sh [2023-03-14T06:16:15.569Z] + git log --format=format:%s -1 ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [Pipeline] echo [2023-03-14T06:16:15.585Z] ========================================================= [2023-03-14T06:16:15.585Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T06:16:15.585Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T06:16:15.896Z] + git log --format=format:%s -1 ac4afcf84d4d4ec41c4712d4c311120b52a78ecd [Pipeline] echo [2023-03-14T06:16:15.908Z] [semverPrep] GIT_COMMIT: ac4afcf84d4d4ec41c4712d4c311120b52a78ecd, Commit Message: Merge commit 'ed547cb9b404855c4500ba28f125032074ed2dc3' into HEAD [Pipeline] echo [2023-03-14T06:16:15.917Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T06:16:16.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T06:16:16.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T06:16:16.265Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T06:16:16.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T06:16:16.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T06:16:16.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T06:16:16.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:16:16.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:16:16.606Z] [2023-03-14T06:16:16.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:16:16.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:16:16.905Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T06:16:16.905Z] b85a868b505f: Pulling fs layer [2023-03-14T06:16:16.905Z] e2be974225ed: Pulling fs layer [2023-03-14T06:16:16.905Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T06:16:16.905Z] 988bab9f4d93: Pulling fs layer [2023-03-14T06:16:16.905Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T06:16:16.905Z] eaf3925da568: Pulling fs layer [2023-03-14T06:16:16.905Z] bab4dde63d76: Pulling fs layer [2023-03-14T06:16:16.905Z] bde34c3a00c8: Pulling fs layer [2023-03-14T06:16:16.905Z] b352a97aabf1: Pulling fs layer [2023-03-14T06:16:16.905Z] 4872d77fe225: Pulling fs layer [2023-03-14T06:16:16.905Z] 5851b861e8e6: Pulling fs layer [2023-03-14T06:16:16.905Z] 988bab9f4d93: Waiting [2023-03-14T06:16:16.905Z] 1469e6f7b9e6: Waiting [2023-03-14T06:16:16.905Z] eaf3925da568: Waiting [2023-03-14T06:16:16.905Z] bab4dde63d76: Waiting [2023-03-14T06:16:16.905Z] bde34c3a00c8: Waiting [2023-03-14T06:16:16.905Z] b352a97aabf1: Waiting [2023-03-14T06:16:16.905Z] 4872d77fe225: Waiting [2023-03-14T06:16:16.905Z] 5851b861e8e6: Waiting [2023-03-14T06:16:16.905Z] e2be974225ed: Download complete [2023-03-14T06:16:16.905Z] 988bab9f4d93: Download complete [2023-03-14T06:16:17.165Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T06:16:17.165Z] 1469e6f7b9e6: Download complete [2023-03-14T06:16:17.165Z] eaf3925da568: Verifying Checksum [2023-03-14T06:16:17.165Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T06:16:17.165Z] 339a4e72a1f5: Download complete [2023-03-14T06:16:17.165Z] bde34c3a00c8: Download complete [2023-03-14T06:16:17.165Z] b352a97aabf1: Verifying Checksum [2023-03-14T06:16:17.165Z] b352a97aabf1: Download complete [2023-03-14T06:16:17.165Z] 4872d77fe225: Verifying Checksum [2023-03-14T06:16:17.165Z] 4872d77fe225: Download complete [2023-03-14T06:16:17.165Z] 5851b861e8e6: Verifying Checksum [2023-03-14T06:16:17.165Z] 5851b861e8e6: Download complete [2023-03-14T06:16:17.165Z] b85a868b505f: Download complete [2023-03-14T06:16:17.425Z] bab4dde63d76: Verifying Checksum [2023-03-14T06:16:17.425Z] bab4dde63d76: Download complete [2023-03-14T06:16:18.804Z] b85a868b505f: Pull complete [2023-03-14T06:16:18.804Z] e2be974225ed: Pull complete [2023-03-14T06:16:19.373Z] 339a4e72a1f5: Pull complete [2023-03-14T06:16:19.373Z] 988bab9f4d93: Pull complete [2023-03-14T06:16:19.636Z] 1469e6f7b9e6: Pull complete [2023-03-14T06:16:19.636Z] eaf3925da568: Pull complete [2023-03-14T06:16:21.542Z] bab4dde63d76: Pull complete [2023-03-14T06:16:21.542Z] bde34c3a00c8: Pull complete [2023-03-14T06:16:21.542Z] b352a97aabf1: Pull complete [2023-03-14T06:16:21.801Z] 4872d77fe225: Pull complete [2023-03-14T06:16:21.801Z] 5851b861e8e6: Pull complete [2023-03-14T06:16:21.801Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T06:16:21.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:16:21.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:16:21.912Z] prd-ubuntu20.04-docker-8c-8g-74 does not seem to be running inside a container [2023-03-14T06:16:21.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T06:16:23.478Z] $ docker top 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 -eo pid,comm [2023-03-14T06:16:23.542Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-14T06:16:23.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T06:16:23.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T06:16:23.581Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T06:16:23.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T06:16:23.706Z] $ docker exec 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 ssh-agent [2023-03-14T06:16:23.811Z] SSH_AUTH_SOCK=/tmp/ssh-5wYSWrWLmtd6/agent.32 [2023-03-14T06:16:23.811Z] SSH_AGENT_PID=38 [2023-03-14T06:16:23.818Z] Running ssh-add (command line suppressed) [2023-03-14T06:16:23.923Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_3955972264065626317.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_3955972264065626317.key) [2023-03-14T06:16:23.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T06:16:24.217Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T06:16:24.235Z] $ docker exec --env ******** --env ******** 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 ssh-agent -k [2023-03-14T06:16:24.338Z] unset SSH_AUTH_SOCK; [2023-03-14T06:16:24.339Z] unset SSH_AGENT_PID; [2023-03-14T06:16:24.339Z] echo Agent pid 38 killed; [2023-03-14T06:16:24.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T06:16:24.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T06:16:24.370Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T06:16:24.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T06:16:24.499Z] $ docker exec 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 ssh-agent [2023-03-14T06:16:24.609Z] SSH_AUTH_SOCK=/tmp/ssh-UJd5xM70P3C4/agent.71 [2023-03-14T06:16:24.609Z] SSH_AGENT_PID=77 [2023-03-14T06:16:24.614Z] Running ssh-add (command line suppressed) [2023-03-14T06:16:24.719Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_12955746605549892389.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_12955746605549892389.key) [2023-03-14T06:16:24.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T06:16:25.028Z] + git semver init [2023-03-14T06:16:25.288Z] 2023-03-14 06:16:25,200 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T06:16:25.288Z] 2023-03-14 06:16:25,201 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-14T06:16:25.288Z] 2023-03-14 06:16:25,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-14T06:16:25.288Z] 2023-03-14 06:16:25,202 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,931 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,931 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,935 [execute] INFO git cat-file --batch-check [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,943 [execute] INFO git cat-file --batch [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T06:16:26.227Z] 2023-03-14 06:16:25,948 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-14T06:16:26.227Z] 0.0.0 [Pipeline] } [2023-03-14T06:16:26.240Z] $ docker exec --env ******** --env ******** 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 ssh-agent -k [2023-03-14T06:16:26.343Z] unset SSH_AUTH_SOCK; [2023-03-14T06:16:26.344Z] unset SSH_AGENT_PID; [2023-03-14T06:16:26.344Z] echo Agent pid 77 killed; [2023-03-14T06:16:26.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T06:16:26.656Z] + git semver [Pipeline] } [2023-03-14T06:16:26.931Z] $ docker stop --time=1 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 [2023-03-14T06:16:28.244Z] $ docker rm -f --volumes 39628621e39409c474c499c6bea4fcb388ae50e1a4acf8b640d0a5bdec834b85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T06:16:28.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T06:16:28.775Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T06:16:28.777Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:16:28.860Z] provisioning config files... [2023-03-14T06:16:28.870Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10834696114886693920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:16:29.168Z] ---> docker-login.sh [2023-03-14T06:16:29.168Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:16:29.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:29.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:29.168Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:29.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:29.168Z] [2023-03-14T06:16:29.168Z] Login Succeeded [2023-03-14T06:16:29.168Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:16:29.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:29.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:29.168Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:29.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:29.168Z] [2023-03-14T06:16:29.168Z] Login Succeeded [2023-03-14T06:16:29.168Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:16:29.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:29.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:29.431Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:29.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:29.431Z] [2023-03-14T06:16:29.431Z] Login Succeeded [2023-03-14T06:16:29.431Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:16:29.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:29.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:29.431Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:29.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:29.431Z] [2023-03-14T06:16:29.431Z] Login Succeeded [2023-03-14T06:16:29.431Z] docker.io [2023-03-14T06:16:29.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:16:29.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:16:29.691Z] Configure a credential helper to remove this warning. See [2023-03-14T06:16:29.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:16:29.691Z] [2023-03-14T06:16:29.691Z] Login Succeeded [2023-03-14T06:16:29.691Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:16:29.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T06:16:29.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:16:29.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:16:29.797Z] ========================================================= [2023-03-14T06:16:29.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T06:16:29.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:16:30.115Z] + 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-03-14T06:16:30.115Z] Sending build context to Docker daemon 1.815MB [2023-03-14T06:16:30.115Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:16:30.115Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-14T06:16:30.115Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T06:16:30.115Z] 63b65145d645: Pulling fs layer [2023-03-14T06:16:30.115Z] a2d21d5440eb: Pulling fs layer [2023-03-14T06:16:30.115Z] 935e6c44a52c: Pulling fs layer [2023-03-14T06:16:30.115Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T06:16:30.115Z] 30dea6a524f1: Pulling fs layer [2023-03-14T06:16:30.115Z] a2aff8979fd8: Pulling fs layer [2023-03-14T06:16:30.115Z] 6808be2612f2: Pulling fs layer [2023-03-14T06:16:30.115Z] f25807f1079a: Pulling fs layer [2023-03-14T06:16:30.115Z] 94cc34f8dd06: Waiting [2023-03-14T06:16:30.115Z] 6808be2612f2: Waiting [2023-03-14T06:16:30.115Z] a2aff8979fd8: Waiting [2023-03-14T06:16:30.115Z] f25807f1079a: Waiting [2023-03-14T06:16:30.115Z] a2d21d5440eb: Verifying Checksum [2023-03-14T06:16:30.115Z] a2d21d5440eb: Download complete [2023-03-14T06:16:30.115Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T06:16:30.115Z] 94cc34f8dd06: Download complete [2023-03-14T06:16:30.115Z] 30dea6a524f1: Verifying Checksum [2023-03-14T06:16:30.115Z] 30dea6a524f1: Download complete [2023-03-14T06:16:30.376Z] 63b65145d645: Verifying Checksum [2023-03-14T06:16:30.376Z] 63b65145d645: Download complete [2023-03-14T06:16:30.376Z] a2aff8979fd8: Verifying Checksum [2023-03-14T06:16:30.376Z] a2aff8979fd8: Download complete [2023-03-14T06:16:30.376Z] 63b65145d645: Pull complete [2023-03-14T06:16:30.639Z] a2d21d5440eb: Pull complete [2023-03-14T06:16:30.639Z] f25807f1079a: Verifying Checksum [2023-03-14T06:16:30.639Z] f25807f1079a: Download complete [2023-03-14T06:16:30.899Z] 935e6c44a52c: Download complete [2023-03-14T06:16:31.157Z] 6808be2612f2: Verifying Checksum [2023-03-14T06:16:31.157Z] 6808be2612f2: Download complete [2023-03-14T06:16:34.440Z] 935e6c44a52c: Pull complete [2023-03-14T06:16:34.699Z] 94cc34f8dd06: Pull complete [2023-03-14T06:16:34.699Z] 30dea6a524f1: Pull complete [2023-03-14T06:16:34.699Z] a2aff8979fd8: Pull complete [2023-03-14T06:16:37.232Z] 6808be2612f2: Pull complete [2023-03-14T06:16:37.805Z] f25807f1079a: Pull complete [2023-03-14T06:16:37.805Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T06:16:37.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T06:16:37.805Z] ---> 3b553350e43f [2023-03-14T06:16:37.805Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-14T06:16:39.709Z] ---> Running in 2be2a94f97b4 [2023-03-14T06:16:39.709Z] Removing intermediate container 2be2a94f97b4 [2023-03-14T06:16:39.709Z] ---> 1d41c66fc87f [2023-03-14T06:16:39.709Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T06:16:39.709Z] ---> Running in 055c292644b2 [2023-03-14T06:16:39.709Z] Removing intermediate container 055c292644b2 [2023-03-14T06:16:39.709Z] ---> f258bf634d4a [2023-03-14T06:16:39.709Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T06:16:39.709Z] ---> Running in 40d09cca14bc [2023-03-14T06:16:39.967Z] Removing intermediate container 40d09cca14bc [2023-03-14T06:16:39.967Z] ---> 27feb5bd5fc1 [2023-03-14T06:16:39.967Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T06:16:39.967Z] ---> Running in fbf32f98a466 [2023-03-14T06:16:39.967Z] Removing intermediate container fbf32f98a466 [2023-03-14T06:16:39.967Z] ---> ffd4c503a401 [2023-03-14T06:16:39.967Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T06:16:39.967Z] ---> Running in 88c0d72d3e0d [2023-03-14T06:16:40.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T06:16:40.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T06:16:40.742Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-14T06:16:40.742Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-14T06:16:40.742Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T06:16:40.742Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T06:16:40.742Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-14T06:16:40.742Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-14T06:16:40.742Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-14T06:16:40.742Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-14T06:16:40.742Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-14T06:16:40.742Z] (10/14) Installing kmod-libs (30-r1) [2023-03-14T06:16:40.742Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-14T06:16:41.001Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-14T06:16:41.001Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-14T06:16:41.001Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-14T06:16:41.001Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T06:16:41.001Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T06:16:41.001Z] OK: 272 MiB in 67 packages [2023-03-14T06:16:41.569Z] Removing intermediate container 88c0d72d3e0d [2023-03-14T06:16:41.569Z] ---> ecc923867613 [2023-03-14T06:16:41.569Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-14T06:16:41.569Z] ---> Running in 7dd67f2281ef [2023-03-14T06:16:41.569Z] Removing intermediate container 7dd67f2281ef [2023-03-14T06:16:41.569Z] ---> c88b288a18ea [2023-03-14T06:16:41.569Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-14T06:16:41.569Z] ---> ec15cdcf2bc0 [2023-03-14T06:16:41.569Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:16:41.569Z] ---> Running in 6c849942d81b [2023-03-14T06:16:43.836Z] Still waiting to schedule task [2023-03-14T06:16:43.837Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-71’ [2023-03-14T06:17:03.512Z] Removing intermediate container 6c849942d81b [2023-03-14T06:17:03.512Z] ---> 3b36a5739cb0 [2023-03-14T06:17:03.512Z] Step 11/13 : COPY . . [2023-03-14T06:17:03.512Z] ---> f74f463d75ff [2023-03-14T06:17:03.512Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T06:17:03.512Z] ---> Running in eccfcc10c576 [2023-03-14T06:17:03.512Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T06:17:03.512Z] Dload Upload Total Spent Left Speed [2023-03-14T06:17:03.512Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0    0 21422    0 --:--:-- --:--:-- --:--:-- 21673 [2023-03-14T06:17:03.512Z] Removing intermediate container eccfcc10c576 [2023-03-14T06:17:03.512Z] ---> c0413c1a90fa [2023-03-14T06:17:03.512Z] Step 13/13 : RUN ${MAKE} [2023-03-14T06:17:03.512Z] ---> Running in 38f8adf18f61 [2023-03-14T06:17:03.512Z] noop [2023-03-14T06:17:03.512Z] Removing intermediate container 38f8adf18f61 [2023-03-14T06:17:03.512Z] ---> 96bc9b0a984f [2023-03-14T06:17:03.512Z] Successfully built 96bc9b0a984f [2023-03-14T06:17:03.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:17:03.818Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T06:17:03.818Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:17:03.882Z] prd-ubuntu20.04-docker-8c-8g-74 does not seem to be running inside a container [2023-03-14T06:17:03.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T06:17:04.306Z] $ docker top 7056fc99d8d83c7f9b625c6362b07fe2e5f97803dd0353b1bf9d1656c26b3216 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:17:04.642Z] + go version [2023-03-14T06:17:04.642Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T06:17:04.654Z] $ docker stop --time=1 7056fc99d8d83c7f9b625c6362b07fe2e5f97803dd0353b1bf9d1656c26b3216 [2023-03-14T06:17:05.933Z] $ docker rm -f --volumes 7056fc99d8d83c7f9b625c6362b07fe2e5f97803dd0353b1bf9d1656c26b3216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:17:06.337Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T06:17:06.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:17:06.403Z] prd-ubuntu20.04-docker-8c-8g-74 does not seem to be running inside a container [2023-03-14T06:17:06.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T06:17:06.794Z] $ docker top 8704a9132d36cda85da4baf8b8a6c484637b90cc9fa8a5d081a0af13e3e3f48e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:17:07.131Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh [2023-03-14T06:17:07.430Z] + make test [2023-03-14T06:17:07.430Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T06:17:12.695Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-14T06:17:20.804Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-14T06:17:20.804Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-14T06:17:20.804Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-14T06:17:21.061Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-14T06:17:21.061Z] FAIL [2023-03-14T06:17:21.061Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-14T06:17:21.074Z] $ docker stop --time=1 8704a9132d36cda85da4baf8b8a6c484637b90cc9fa8a5d081a0af13e3e3f48e [2023-03-14T06:17:23.166Z] $ docker rm -f --volumes 8704a9132d36cda85da4baf8b8a6c484637b90cc9fa8a5d081a0af13e3e3f48e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:17:23.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:17:23.682Z] [2023-03-14T06:17:23.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:17:23.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:17:23.974Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T06:17:23.974Z] 5eb5b503b376: Pulling fs layer [2023-03-14T06:17:23.974Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T06:17:23.974Z] ec43610c2a17: Pulling fs layer [2023-03-14T06:17:23.974Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T06:17:23.974Z] 33b1e0a273af: Pulling fs layer [2023-03-14T06:17:23.974Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T06:17:23.974Z] 2f39f015ded8: Pulling fs layer [2023-03-14T06:17:23.974Z] 3a2ae6a8a46f: Waiting [2023-03-14T06:17:23.974Z] 33b1e0a273af: Waiting [2023-03-14T06:17:23.974Z] 5d3b04190fa2: Waiting [2023-03-14T06:17:23.974Z] 2f39f015ded8: Waiting [2023-03-14T06:17:23.974Z] 5c69ac0246d0: Download complete [2023-03-14T06:17:23.974Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T06:17:23.974Z] 3a2ae6a8a46f: Download complete [2023-03-14T06:17:24.233Z] 33b1e0a273af: Verifying Checksum [2023-03-14T06:17:24.233Z] 33b1e0a273af: Download complete [2023-03-14T06:17:24.233Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T06:17:24.233Z] 5d3b04190fa2: Download complete [2023-03-14T06:17:24.233Z] ec43610c2a17: Verifying Checksum [2023-03-14T06:17:24.233Z] ec43610c2a17: Download complete [2023-03-14T06:17:24.233Z] 5eb5b503b376: Verifying Checksum [2023-03-14T06:17:24.233Z] 5eb5b503b376: Download complete [2023-03-14T06:17:24.799Z] 2f39f015ded8: Download complete [2023-03-14T06:17:25.364Z] 5eb5b503b376: Pull complete [2023-03-14T06:17:25.623Z] 5c69ac0246d0: Pull complete [2023-03-14T06:17:25.882Z] ec43610c2a17: Pull complete [2023-03-14T06:17:25.882Z] 3a2ae6a8a46f: Pull complete [2023-03-14T06:17:26.140Z] 33b1e0a273af: Pull complete [2023-03-14T06:17:26.140Z] 5d3b04190fa2: Pull complete [2023-03-14T06:17:30.319Z] 2f39f015ded8: Pull complete [2023-03-14T06:17:30.319Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T06:17:30.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:17:30.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:17:30.394Z] prd-ubuntu20.04-docker-8c-8g-74 does not seem to be running inside a container [2023-03-14T06:17:30.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T06:17:32.490Z] $ docker top 6852690b74f682b4562cb9e8f22d32dc33bce5bd13c819c328ef6f67b5de7f33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:17:32.850Z] ---> job-cost.sh [2023-03-14T06:17:32.850Z] lf-activate-venv: SKIPPING [2023-03-14T06:17:32.850Z] INFO: No Stack... [2023-03-14T06:17:33.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T06:17:33.374Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T06:17:33.662Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv [2023-03-14T06:17:33.663Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T06:17:33.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [2023-03-14T06:17:33.688Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] did not exist. Created. [2023-03-14T06:17:33.688Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T06:17:33.987Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T06:17:34.022Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T06:17:34.029Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T06:17:34.048Z] $ docker stop --time=1 6852690b74f682b4562cb9e8f22d32dc33bce5bd13c819c328ef6f67b5de7f33 [2023-03-14T06:17:35.215Z] $ docker rm -f --volumes 6852690b74f682b4562cb9e8f22d32dc33bce5bd13c819c328ef6f67b5de7f33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T06:17:35.321Z] Failed in branch amd64 [2023-03-14T06:21:27.290Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-75 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws [2023-03-14T06:21:27.301Z] Running in /w/workspace/device-usb-camera/46 [Pipeline] { [Pipeline] checkout [2023-03-14T06:21:27.338Z] Selected Git installation does not exist. Using Default [2023-03-14T06:21:27.338Z] The recommended git tool is: NONE [2023-03-14T06:21:32.907Z] using credential edgex-jenkins-ssh [2023-03-14T06:21:32.925Z] Cloning the remote Git repository [2023-03-14T06:21:32.970Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T06:21:33.066Z] > git init /w/workspace/device-usb-camera/46 # timeout=10 [2023-03-14T06:21:33.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T06:21:33.214Z] > git --version # timeout=10 [2023-03-14T06:21:33.239Z] > git --version # 'git version 2.25.1' [2023-03-14T06:21:33.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:21:33.383Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T06:21:34.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-14T06:21:34.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T06:21:35.641Z] Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c [2023-03-14T06:21:35.988Z] Merge succeeded, producing 3d552bab8ab597181d598d058ef62ab1dcb57a1c [2023-03-14T06:21:35.989Z] Checking out Revision 3d552bab8ab597181d598d058ef62ab1dcb57a1c (PR-99) [2023-03-14T06:21:35.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-14T06:21:35.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T06:21:35.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:21:35.161Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T06:21:35.659Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T06:21:35.738Z] > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 [2023-03-14T06:21:35.839Z] > git remote # timeout=10 [2023-03-14T06:21:35.861Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T06:21:35.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:21:35.896Z] > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 [2023-03-14T06:21:35.969Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T06:21:35.995Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T06:21:36.011Z] > git checkout -f 3d552bab8ab597181d598d058ef62ab1dcb57a1c # timeout=10 [2023-03-14T06:21:39.568Z] Commit message: "Merge commit 'ed547cb9b404855c4500ba28f125032074ed2dc3' into HEAD" [2023-03-14T06:21:39.591Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T06:21:40.434Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T06:21:40.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T06:21:40.434Z] Dload Upload Total Spent Left Speed [2023-03-14T06:21:40.434Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [2023-03-14T06:21:39.577Z] > git rev-list --no-walk 90ae11d7765f8654341e58d994582db61243e144 # timeout=10 [Pipeline] sh [2023-03-14T06:21:41.222Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T06:21:41.560Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T06:21:41.560Z] + sudo tee /etc/docker/daemon.new [2023-03-14T06:21:41.560Z] { [2023-03-14T06:21:41.560Z] "registry-mirrors": [ [2023-03-14T06:21:41.560Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T06:21:41.560Z] ], [2023-03-14T06:21:41.560Z] "bip": "10.250.0.254/24", [2023-03-14T06:21:41.560Z] "hosts": [ [2023-03-14T06:21:41.560Z] "tcp://0.0.0.0:5555", [2023-03-14T06:21:41.560Z] "unix:///var/run/docker.sock" [2023-03-14T06:21:41.560Z] ], [2023-03-14T06:21:41.560Z] "mtu": 1458, [2023-03-14T06:21:41.560Z] "selinux-enabled": true, [2023-03-14T06:21:41.560Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T06:21:41.560Z] } [Pipeline] sh [2023-03-14T06:21:41.897Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T06:21:42.235Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:22:00.392Z] provisioning config files... [2023-03-14T06:22:00.424Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/46@tmp/config2478648405726917689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:22:00.789Z] ---> docker-login.sh [2023-03-14T06:22:00.789Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:22:01.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:22:01.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:22:01.383Z] Configure a credential helper to remove this warning. See [2023-03-14T06:22:01.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:22:01.383Z] [2023-03-14T06:22:01.383Z] Login Succeeded [2023-03-14T06:22:01.658Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:22:01.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:22:01.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:22:01.928Z] Configure a credential helper to remove this warning. See [2023-03-14T06:22:01.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:22:01.928Z] [2023-03-14T06:22:01.928Z] Login Succeeded [2023-03-14T06:22:01.928Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:22:02.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:22:02.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:22:02.199Z] Configure a credential helper to remove this warning. See [2023-03-14T06:22:02.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:22:02.199Z] [2023-03-14T06:22:02.199Z] Login Succeeded [2023-03-14T06:22:02.199Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:22:02.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:22:02.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:22:02.471Z] Configure a credential helper to remove this warning. See [2023-03-14T06:22:02.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:22:02.471Z] [2023-03-14T06:22:02.471Z] Login Succeeded [2023-03-14T06:22:02.743Z] docker.io [2023-03-14T06:22:03.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:22:03.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:22:03.293Z] Configure a credential helper to remove this warning. See [2023-03-14T06:22:03.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:22:03.293Z] [2023-03-14T06:22:03.293Z] Login Succeeded [2023-03-14T06:22:03.293Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:22:03.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T06:22:03.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:22:03.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:22:03.617Z] ========================================================= [2023-03-14T06:22:03.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T06:22:03.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:22:03.965Z] + 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-03-14T06:22:04.231Z] Sending build context to Docker daemon 1.165MB [2023-03-14T06:22:04.231Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:22:04.231Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-14T06:22:05.664Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T06:22:05.664Z] af6eaf76a39c: Pulling fs layer [2023-03-14T06:22:05.664Z] 55522c791124: Pulling fs layer [2023-03-14T06:22:05.664Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T06:22:05.664Z] 169dfbe0d373: Pulling fs layer [2023-03-14T06:22:05.664Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T06:22:05.664Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T06:22:05.664Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T06:22:05.664Z] 169dfbe0d373: Waiting [2023-03-14T06:22:05.664Z] e1ff8fa3b103: Waiting [2023-03-14T06:22:05.664Z] 5abe8eddf0d5: Waiting [2023-03-14T06:22:05.664Z] 52ebb69f0ebf: Waiting [2023-03-14T06:22:05.935Z] 55522c791124: Download complete [2023-03-14T06:22:05.935Z] 169dfbe0d373: Verifying Checksum [2023-03-14T06:22:05.935Z] 169dfbe0d373: Download complete [2023-03-14T06:22:05.935Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T06:22:05.935Z] e1ff8fa3b103: Download complete [2023-03-14T06:22:05.935Z] af6eaf76a39c: Verifying Checksum [2023-03-14T06:22:05.935Z] af6eaf76a39c: Download complete [2023-03-14T06:22:06.917Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T06:22:06.917Z] 5abe8eddf0d5: Download complete [2023-03-14T06:22:06.917Z] af6eaf76a39c: Pull complete [2023-03-14T06:22:07.507Z] 55522c791124: Pull complete [2023-03-14T06:22:08.485Z] ce5c4a1c91eb: Download complete [2023-03-14T06:22:08.485Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T06:22:08.485Z] 52ebb69f0ebf: Download complete [2023-03-14T06:22:20.857Z] ce5c4a1c91eb: Pull complete [2023-03-14T06:22:20.857Z] 169dfbe0d373: Pull complete [2023-03-14T06:22:20.857Z] e1ff8fa3b103: Pull complete [2023-03-14T06:22:27.532Z] 52ebb69f0ebf: Pull complete [2023-03-14T06:22:29.497Z] 5abe8eddf0d5: Pull complete [2023-03-14T06:22:29.497Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T06:22:29.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T06:22:29.497Z] ---> 6cb57ee374ae [2023-03-14T06:22:29.497Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-14T06:22:31.466Z] ---> Running in f7d97c7713bb [2023-03-14T06:22:31.736Z] Removing intermediate container f7d97c7713bb [2023-03-14T06:22:31.736Z] ---> 400c8628021e [2023-03-14T06:22:31.736Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T06:22:31.736Z] ---> Running in e28e425604b5 [2023-03-14T06:22:32.324Z] Removing intermediate container e28e425604b5 [2023-03-14T06:22:32.324Z] ---> 0efb608e5256 [2023-03-14T06:22:32.324Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T06:22:32.324Z] ---> Running in 57b5f837b8a8 [2023-03-14T06:22:32.593Z] Removing intermediate container 57b5f837b8a8 [2023-03-14T06:22:32.593Z] ---> d7a8b9642dc3 [2023-03-14T06:22:32.593Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T06:22:32.593Z] ---> Running in cab999ee2818 [2023-03-14T06:22:32.861Z] Removing intermediate container cab999ee2818 [2023-03-14T06:22:32.861Z] ---> fca4a9a34246 [2023-03-14T06:22:32.861Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T06:22:33.129Z] ---> Running in 9dee3b68ef45 [2023-03-14T06:22:34.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T06:22:34.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T06:22:36.114Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-14T06:22:36.114Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-14T06:22:36.114Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T06:22:36.114Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T06:22:36.114Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-14T06:22:36.114Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-14T06:22:36.114Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-14T06:22:36.114Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-14T06:22:36.114Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-14T06:22:36.114Z] (10/14) Installing kmod-libs (30-r1) [2023-03-14T06:22:36.114Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-14T06:22:36.384Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-14T06:22:36.384Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-14T06:22:36.384Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-14T06:22:36.384Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T06:22:36.384Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T06:22:36.384Z] OK: 271 MiB in 67 packages [2023-03-14T06:22:37.801Z] Removing intermediate container 9dee3b68ef45 [2023-03-14T06:22:37.801Z] ---> 98a7c29bc8dd [2023-03-14T06:22:37.801Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-14T06:22:37.801Z] ---> Running in 7206ca317e86 [2023-03-14T06:22:38.071Z] Removing intermediate container 7206ca317e86 [2023-03-14T06:22:38.071Z] ---> ca10945e5389 [2023-03-14T06:22:38.071Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-14T06:22:38.654Z] ---> ee9cbea38df9 [2023-03-14T06:22:38.654Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:22:38.654Z] ---> Running in f43cafd4f821 [2023-03-14T06:23:46.566Z] Removing intermediate container f43cafd4f821 [2023-03-14T06:23:46.566Z] ---> e9210f9ba361 [2023-03-14T06:23:46.566Z] Step 11/13 : COPY . . [2023-03-14T06:23:46.566Z] ---> c222d3b198dd [2023-03-14T06:23:46.566Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T06:23:46.566Z] ---> Running in ace951571a11 [2023-03-14T06:23:46.566Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T06:23:46.566Z]  Dload Upload Total Spent Left Speed [2023-03-14T06:23:46.566Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2879 0 --:--:-- --:--:-- --:--:-- 2878 [2023-03-14T06:23:46.566Z] Removing intermediate container ace951571a11 [2023-03-14T06:23:46.566Z] ---> 02e92f80b2d8 [2023-03-14T06:23:46.566Z] Step 13/13 : RUN ${MAKE} [2023-03-14T06:23:46.566Z] ---> Running in 3ea06e12e29a [2023-03-14T06:23:46.566Z] noop [2023-03-14T06:23:46.566Z] Removing intermediate container 3ea06e12e29a [2023-03-14T06:23:46.566Z] ---> aac6a6e27a92 [2023-03-14T06:23:46.566Z] Successfully built aac6a6e27a92 [2023-03-14T06:23:46.566Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:23:46.921Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T06:23:46.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:23:47.128Z] prd-ubuntu20.04-docker-arm64-4c-16g-75 does not seem to be running inside a container [2023-03-14T06:23:47.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T06:23:48.457Z] $ docker top c1dcf4c4214beb121a33c5bab52e300b9e2002cbe384873c1c194eb3891acf4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:23:49.291Z] + go version [2023-03-14T06:23:49.291Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T06:23:49.314Z] $ docker stop --time=1 c1dcf4c4214beb121a33c5bab52e300b9e2002cbe384873c1c194eb3891acf4f [2023-03-14T06:23:50.982Z] $ docker rm -f --volumes c1dcf4c4214beb121a33c5bab52e300b9e2002cbe384873c1c194eb3891acf4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:23:51.503Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T06:23:51.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:23:51.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-75 does not seem to be running inside a container [2023-03-14T06:23:51.764Z] $ 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/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T06:23:52.968Z] $ docker top 3032333d12cd05462aa201a0f6f73c0ceb2335871e21531fc268fd688106ecfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:23:53.466Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/46 [Pipeline] fileExists [Pipeline] sh [2023-03-14T06:23:53.802Z] + make test [2023-03-14T06:23:53.802Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T06:24:32.680Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-14T06:26:39.349Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-14T06:26:39.350Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-14T06:26:39.350Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-14T06:26:43.013Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-14T06:26:43.013Z] FAIL [2023-03-14T06:26:43.282Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-14T06:26:43.312Z] $ docker stop --time=1 3032333d12cd05462aa201a0f6f73c0ceb2335871e21531fc268fd688106ecfe [2023-03-14T06:26:45.199Z] $ docker rm -f --volumes 3032333d12cd05462aa201a0f6f73c0ceb2335871e21531fc268fd688106ecfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:26:46.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:26:46.957Z] [2023-03-14T06:26:46.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:26:47.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:26:47.570Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T06:26:47.570Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T06:26:47.570Z] 04944245beec: Pulling fs layer [2023-03-14T06:26:47.570Z] 699f458cf7ca: Pulling fs layer [2023-03-14T06:26:47.570Z] 765212b225bb: Pulling fs layer [2023-03-14T06:26:47.570Z] f23df028b6ca: Pulling fs layer [2023-03-14T06:26:47.570Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T06:26:47.570Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T06:26:47.570Z] f23df028b6ca: Waiting [2023-03-14T06:26:47.570Z] d65c8cfc05b1: Waiting [2023-03-14T06:26:47.570Z] 765212b225bb: Waiting [2023-03-14T06:26:47.570Z] 2437ff75d9bd: Waiting [2023-03-14T06:26:47.570Z] 04944245beec: Verifying Checksum [2023-03-14T06:26:47.570Z] 04944245beec: Download complete [2023-03-14T06:26:47.842Z] 765212b225bb: Verifying Checksum [2023-03-14T06:26:47.842Z] 765212b225bb: Download complete [2023-03-14T06:26:47.842Z] f23df028b6ca: Verifying Checksum [2023-03-14T06:26:47.842Z] f23df028b6ca: Download complete [2023-03-14T06:26:47.842Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T06:26:47.842Z] d65c8cfc05b1: Download complete [2023-03-14T06:26:48.431Z] 699f458cf7ca: Verifying Checksum [2023-03-14T06:26:48.431Z] 699f458cf7ca: Download complete [2023-03-14T06:26:48.697Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T06:26:48.697Z] 8998bd30e6a1: Download complete [2023-03-14T06:26:51.321Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T06:26:51.321Z] 2437ff75d9bd: Download complete [2023-03-14T06:26:54.674Z] 8998bd30e6a1: Pull complete [2023-03-14T06:26:54.943Z] 04944245beec: Pull complete [2023-03-14T06:26:56.896Z] 699f458cf7ca: Pull complete [2023-03-14T06:26:56.896Z] 765212b225bb: Pull complete [2023-03-14T06:26:57.856Z] f23df028b6ca: Pull complete [2023-03-14T06:26:58.123Z] d65c8cfc05b1: Pull complete [2023-03-14T06:27:13.132Z] 2437ff75d9bd: Pull complete [2023-03-14T06:27:13.132Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T06:27:13.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:27:13.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:27:13.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-75 does not seem to be running inside a container [2023-03-14T06:27:13.394Z] $ 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/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T06:27:17.030Z] $ docker top 7dd3d0f7e7f536b46149427a46bce9f45c9059563e495f5f92468085cdaa0c05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:17.864Z] ---> job-cost.sh [2023-03-14T06:27:17.864Z] lf-activate-venv: SKIPPING [2023-03-14T06:27:17.864Z] INFO: No Stack... [2023-03-14T06:27:18.132Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T06:27:19.087Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T06:27:19.409Z] + cut -d, -f6 [2023-03-14T06:27:19.409Z] + cat /w/workspace/device-usb-camera/46/archives/cost.csv [Pipeline] lock [2023-03-14T06:27:19.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [2023-03-14T06:27:19.488Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] did not exist. Created. [2023-03-14T06:27:19.488Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T06:27:20.139Z] /w/workspace/device-usb-camera/46@tmp/durable-99629612/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T06:27:20.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T06:27:20.492Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T06:27:20.908Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T06:27:20.915Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-46-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T06:27:20.938Z] $ docker stop --time=1 7dd3d0f7e7f536b46149427a46bce9f45c9059563e495f5f92468085cdaa0c05 [2023-03-14T06:27:22.434Z] $ docker rm -f --volumes 7dd3d0f7e7f536b46149427a46bce9f45c9059563e495f5f92468085cdaa0c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T06:27:22.683Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-14T06:27:23.302Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] [2023-03-14T06:27:23.302Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-14T06:27:23.302Z] total 16 [2023-03-14T06:27:23.302Z] drwxr-xr-x 3 root root 4096 Mar 14 06:17 . [2023-03-14T06:27:23.302Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 06:17 .. [2023-03-14T06:27:23.302Z] drwxr-xr-x 2 root root 4096 Mar 14 06:17 cost [2023-03-14T06:27:23.302Z] -rw-r--r-- 1 root root 89 Mar 14 06:17 cost.csv [2023-03-14T06:27:23.302Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-14T06:27:23.302Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-14T06:27:23.302Z] total 16 [2023-03-14T06:27:23.302Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 06:17 . [2023-03-14T06:27:23.302Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 06:17 .. [2023-03-14T06:27:23.302Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 06:17 cost [2023-03-14T06:27:23.302Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 14 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:23.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:24.448Z] ---> package-listing.sh [2023-03-14T06:27:24.448Z] ++ facter osfamily [2023-03-14T06:27:24.448Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T06:27:24.709Z] + OS_FAMILY=debian [2023-03-14T06:27:24.709Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 [2023-03-14T06:27:24.709Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T06:27:24.709Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T06:27:24.709Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T06:27:24.709Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T06:27:24.709Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-14T06:27:24.709Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T06:27:24.709Z] + case "${OS_FAMILY}" in [2023-03-14T06:27:24.709Z] + dpkg -l [2023-03-14T06:27:24.709Z] + grep '^ii' [2023-03-14T06:27:24.709Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T06:27:24.709Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T06:27:24.709Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T06:27:24.709Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-14T06:27:24.709Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [2023-03-14T06:27:24.709Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo [2023-03-14T06:27:24.719Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T06:27:25.002Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:27:25.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:27:25.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:27:25.364Z] prd-ubuntu20.04-docker-8c-8g-74 does not seem to be running inside a container [2023-03-14T06:27:25.399Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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-03-14T06:27:25.659Z] $ docker top 6ea51eee28d2d3fe2d81be68bcf176efbbe81806128ae97879252e0b7b7719ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:27:26.001Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T06:27:26.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T06:27:26.570Z] + ls /var/log/sa-host [2023-03-14T06:27:26.570Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:27:26.712Z] provisioning config files... [2023-03-14T06:27:26.723Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config6080685204334543885tmp [Pipeline] { [Pipeline] echo [2023-03-14T06:27:26.735Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:27.014Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T06:27:27.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:27.353Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T06:27:27.362Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:27.648Z] ---> sudo-logs.sh [2023-03-14T06:27:27.648Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T06:27:27.670Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:27.952Z] ---> job-cost.sh [2023-03-14T06:27:27.952Z] lf-activate-venv: SKIPPING [2023-03-14T06:27:27.952Z] DEBUG: total: 0.2199999988079071 [2023-03-14T06:27:27.952Z] INFO: Retrieving Stack Cost... [2023-03-14T06:27:28.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T06:27:28.780Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T06:27:28.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:27:29.073Z] ---> logs-deploy.sh [2023-03-14T06:27:29.073Z] lf-activate-venv: SKIPPING [2023-03-14T06:27:29.073Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/46 [2023-03-14T06:27:29.073Z] INFO: archiving workspace using pattern(s): [2023-03-14T06:27:30.009Z] Archives upload complete. [2023-03-14T06:27:30.009Z] INFO: archiving logs to Nexus