Pull request #244 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6476b83f21de07fb542a89e1103ace71ecb877e3+403384bec3dd417d230cef4b79faf37d5294ce6a (35a973a3d9b56d67b699e95400f9df247cd4e337) 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-ssh17110291286631419246.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh372193695267204831.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7168949132031303673.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2668013673861139994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16927721579728245599.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3246870884417940978.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14922’ Running on prd-ubuntu20.04-docker-8c-8g-14926 in /w/workspace/foundry_device-usb-camera_PR-244 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-244 # 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 Merging remotes/origin/main commit 403384bec3dd417d230cef4b79faf37d5294ce6a into PR head commit 6476b83f21de07fb542a89e1103ace71ecb877e3 Merge succeeded, producing 6476b83f21de07fb542a89e1103ace71ecb877e3 Checking out Revision 6476b83f21de07fb542a89e1103ace71ecb877e3 (PR-244) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } > 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/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6476b83f21de07fb542a89e1103ace71ecb877e3 # 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 403384bec3dd417d230cef4b79faf37d5294ce6a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6476b83f21de07fb542a89e1103ace71ecb877e3 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T18:25:58.748Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T18:25:58.930Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T18:25:59.038Z] ========================================================= [2023-05-10T18:25:59.038Z] EdgeX Global Pipelines Version Info [2023-05-10T18:25:59.038Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:25:59.792Z] ------------------- [2023-05-10T18:25:59.793Z] stable info: [2023-05-10T18:25:59.793Z] ------------------- [2023-05-10T18:25:59.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T18:25:59.793Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T18:25:59.793Z] Message: update stable to v1.0.249 [2023-05-10T18:26:00.362Z] ------------------- [2023-05-10T18:26:00.362Z] experimental info: [2023-05-10T18:26:00.362Z] ------------------- [2023-05-10T18:26:00.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T18:26:00.362Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T18:26:00.362Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T18:26:00.675Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-10T18:26:00.723Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-10T18:26:00.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T18:26:00.804Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T18:26:00.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T18:26:00.886Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T18:26:00.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T18:26:00.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T18:26:01.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T18:26:01.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T18:26:01.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T18:26:01.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-10T18:26:01.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T18:26:01.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T18:26:01.265Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T18:26:01.303Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T18:26:01.346Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T18:26:01.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T18:26:01.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T18:26:01.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T18:26:01.510Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T18:26:01.560Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T18:26:01.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T18:26:01.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T18:26:01.674Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T18:26:01.717Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T18:26:01.761Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T18:26:01.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-244 [Pipeline] echo [2023-05-10T18:26:01.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-244 [Pipeline] echo [2023-05-10T18:26:01.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-244 [Pipeline] echo [2023-05-10T18:26:01.939Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6476b83f21de07fb542a89e1103ace71ecb877e3 [Pipeline] echo [2023-05-10T18:26:01.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6476b83 [Pipeline] echo [2023-05-10T18:26:02.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T18:26:02.161Z] provisioning config files... [2023-05-10T18:26:02.202Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-244@tmp/config4466586059752387532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:26:02.550Z] ---> docker-login.sh [2023-05-10T18:26:02.550Z] nexus3.edgexfoundry.org:10001 [2023-05-10T18:26:03.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:03.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:03.956Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:03.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:03.956Z] [2023-05-10T18:26:03.956Z] Login Succeeded [2023-05-10T18:26:03.956Z] nexus3.edgexfoundry.org:10002 [2023-05-10T18:26:03.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:03.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:03.956Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:03.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:03.956Z] [2023-05-10T18:26:03.956Z] Login Succeeded [2023-05-10T18:26:03.956Z] nexus3.edgexfoundry.org:10003 [2023-05-10T18:26:04.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:04.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:04.217Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:04.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:04.217Z] [2023-05-10T18:26:04.217Z] Login Succeeded [2023-05-10T18:26:04.217Z] nexus3.edgexfoundry.org:10004 [2023-05-10T18:26:04.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:04.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:04.217Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:04.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:04.217Z] [2023-05-10T18:26:04.217Z] Login Succeeded [2023-05-10T18:26:04.217Z] docker.io [2023-05-10T18:26:04.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:04.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:04.740Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:04.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:04.740Z] [2023-05-10T18:26:04.740Z] Login Succeeded [2023-05-10T18:26:04.740Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T18:26:04.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T18:26:05.460Z] + git rev-list -1 --merges 6476b83f21de07fb542a89e1103ace71ecb877e3~1..6476b83f21de07fb542a89e1103ace71ecb877e3 [Pipeline] echo [2023-05-10T18:26:05.519Z] -----------> git rev-list -1 --merges 6476b83f21de07fb542a89e1103ace71ecb877e3~1..6476b83f21de07fb542a89e1103ace71ecb877e3 6476b83f21de07fb542a89e1103ace71ecb877e3 [false] [Pipeline] sh [2023-05-10T18:26:05.825Z] + git log --format=format:%s -1 6476b83f21de07fb542a89e1103ace71ecb877e3 [Pipeline] echo [2023-05-10T18:26:05.857Z] ========================================================= [2023-05-10T18:26:05.857Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T18:26:05.857Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T18:26:06.290Z] + git log --format=format:%s -1 6476b83f21de07fb542a89e1103ace71ecb877e3 [Pipeline] echo [2023-05-10T18:26:06.325Z] [semverPrep] GIT_COMMIT: 6476b83f21de07fb542a89e1103ace71ecb877e3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-10T18:26:06.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T18:26:06.733Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T18:26:06.733Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T18:26:06.733Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T18:26:06.733Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T18:26:06.733Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T18:26:06.733Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T18:26:06.733Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:26:07.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T18:26:07.169Z] [2023-05-10T18:26:07.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:26:07.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T18:26:07.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T18:26:07.564Z] b85a868b505f: Pulling fs layer [2023-05-10T18:26:07.564Z] e2be974225ed: Pulling fs layer [2023-05-10T18:26:07.564Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T18:26:07.564Z] 988bab9f4d93: Pulling fs layer [2023-05-10T18:26:07.564Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T18:26:07.564Z] eaf3925da568: Pulling fs layer [2023-05-10T18:26:07.564Z] bab4dde63d76: Pulling fs layer [2023-05-10T18:26:07.564Z] bde34c3a00c8: Pulling fs layer [2023-05-10T18:26:07.564Z] b352a97aabf1: Pulling fs layer [2023-05-10T18:26:07.564Z] 988bab9f4d93: Waiting [2023-05-10T18:26:07.564Z] 1469e6f7b9e6: Waiting [2023-05-10T18:26:07.564Z] eaf3925da568: Waiting [2023-05-10T18:26:07.564Z] bde34c3a00c8: Waiting [2023-05-10T18:26:07.564Z] bab4dde63d76: Waiting [2023-05-10T18:26:07.564Z] 4872d77fe225: Pulling fs layer [2023-05-10T18:26:07.564Z] 5851b861e8e6: Pulling fs layer [2023-05-10T18:26:07.564Z] b352a97aabf1: Waiting [2023-05-10T18:26:07.564Z] 4872d77fe225: Waiting [2023-05-10T18:26:07.564Z] e2be974225ed: Download complete [2023-05-10T18:26:07.564Z] 988bab9f4d93: Verifying Checksum [2023-05-10T18:26:07.564Z] 988bab9f4d93: Download complete [2023-05-10T18:26:07.828Z] 1469e6f7b9e6: Download complete [2023-05-10T18:26:07.828Z] eaf3925da568: Download complete [2023-05-10T18:26:07.828Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T18:26:07.828Z] 339a4e72a1f5: Download complete [2023-05-10T18:26:07.828Z] bde34c3a00c8: Download complete [2023-05-10T18:26:07.828Z] b352a97aabf1: Download complete [2023-05-10T18:26:07.828Z] 4872d77fe225: Verifying Checksum [2023-05-10T18:26:07.828Z] 4872d77fe225: Download complete [2023-05-10T18:26:07.828Z] 5851b861e8e6: Download complete [2023-05-10T18:26:07.828Z] b85a868b505f: Verifying Checksum [2023-05-10T18:26:07.828Z] b85a868b505f: Download complete [2023-05-10T18:26:08.086Z] bab4dde63d76: Verifying Checksum [2023-05-10T18:26:08.087Z] bab4dde63d76: Download complete [2023-05-10T18:26:09.465Z] b85a868b505f: Pull complete [2023-05-10T18:26:09.465Z] e2be974225ed: Pull complete [2023-05-10T18:26:10.416Z] 339a4e72a1f5: Pull complete [2023-05-10T18:26:10.416Z] 988bab9f4d93: Pull complete [2023-05-10T18:26:10.988Z] 1469e6f7b9e6: Pull complete [2023-05-10T18:26:10.988Z] eaf3925da568: Pull complete [2023-05-10T18:26:12.893Z] bab4dde63d76: Pull complete [2023-05-10T18:26:12.893Z] bde34c3a00c8: Pull complete [2023-05-10T18:26:13.153Z] b352a97aabf1: Pull complete [2023-05-10T18:26:13.414Z] 4872d77fe225: Pull complete [2023-05-10T18:26:13.675Z] 5851b861e8e6: Pull complete [2023-05-10T18:26:13.936Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T18:26:13.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T18:26:13.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:26:14.150Z] prd-ubuntu20.04-docker-8c-8g-14926 does not seem to be running inside a container [2023-05-10T18:26:14.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-244 -v /w/workspace/foundry_device-usb-camera_PR-244:/w/workspace/foundry_device-usb-camera_PR-244:rw,z -v /w/workspace/foundry_device-usb-camera_PR-244@tmp:/w/workspace/foundry_device-usb-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T18:26:20.768Z] $ docker top d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 -eo pid,comm [2023-05-10T18:26:20.835Z] 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-05-10T18:26:20.835Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T18:26:20.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T18:26:20.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T18:26:21.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T18:26:21.081Z] $ docker exec d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 ssh-agent [2023-05-10T18:26:21.176Z] SSH_AUTH_SOCK=/tmp/ssh-4QD3O42TFRqu/agent.14 [2023-05-10T18:26:21.177Z] SSH_AGENT_PID=20 [2023-05-10T18:26:21.184Z] Running ssh-add (command line suppressed) [2023-05-10T18:26:21.282Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-244@tmp/private_key_2599288653941183747.key (/w/workspace/foundry_device-usb-camera_PR-244@tmp/private_key_2599288653941183747.key) [2023-05-10T18:26:21.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T18:26:21.635Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T18:26:21.666Z] $ docker exec --env ******** --env ******** d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 ssh-agent -k [2023-05-10T18:26:21.756Z] unset SSH_AUTH_SOCK; [2023-05-10T18:26:21.756Z] unset SSH_AGENT_PID; [2023-05-10T18:26:21.756Z] echo Agent pid 20 killed; [2023-05-10T18:26:21.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T18:26:21.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T18:26:21.850Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T18:26:21.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T18:26:21.960Z] $ docker exec d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 ssh-agent [2023-05-10T18:26:22.053Z] SSH_AUTH_SOCK=/tmp/ssh-wKlwSe8wAORx/agent.70 [2023-05-10T18:26:22.053Z] SSH_AGENT_PID=76 [2023-05-10T18:26:22.058Z] Running ssh-add (command line suppressed) [2023-05-10T18:26:22.153Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-244@tmp/private_key_13850512312603526791.key (/w/workspace/foundry_device-usb-camera_PR-244@tmp/private_key_13850512312603526791.key) [2023-05-10T18:26:22.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T18:26:22.500Z] + git semver init [2023-05-10T18:26:22.760Z] 2023-05-10 18:26:22,742 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T18:26:22.760Z] 2023-05-10 18:26:22,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-244/.semver [2023-05-10T18:26:22.760Z] 2023-05-10 18:26:22,744 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-244/.semver [2023-05-10T18:26:22.760Z] 2023-05-10 18:26:22,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-244/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-244, universal_newlines=False, shell=None, istream=None) [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,459 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-244/.git/info/exclude [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-244/.semver/PR-244 with force:False [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,459 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-244/.semver/PR-244 [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,462 [execute] INFO git cat-file --batch-check [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-244/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,467 [execute] INFO git cat-file --batch [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-244/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T18:26:23.707Z] 2023-05-10 18:26:23,473 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-244/.semver/PR-244 [2023-05-10T18:26:23.707Z] 0.0.0 [Pipeline] } [2023-05-10T18:26:23.741Z] $ docker exec --env ******** --env ******** d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 ssh-agent -k [2023-05-10T18:26:23.836Z] unset SSH_AUTH_SOCK; [2023-05-10T18:26:23.836Z] unset SSH_AGENT_PID; [2023-05-10T18:26:23.836Z] echo Agent pid 76 killed; [2023-05-10T18:26:23.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T18:26:24.278Z] + git semver [Pipeline] } [2023-05-10T18:26:24.566Z] $ docker stop --time=1 d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 [2023-05-10T18:26:26.183Z] $ docker rm -f --volumes d637bf947a8acca92093692c0493ebbc61a9a827dce4288e3c1bacf200e6f785 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T18:26:26.607Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T18:26:26.927Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T18:26:26.946Z] [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-05-10T18:26:27.552Z] provisioning config files... [2023-05-10T18:26:27.563Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-244@tmp/config5143884837741654271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:26:27.914Z] ---> docker-login.sh [2023-05-10T18:26:27.914Z] nexus3.edgexfoundry.org:10001 [2023-05-10T18:26:27.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:27.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:27.914Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:27.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:27.914Z] [2023-05-10T18:26:27.914Z] Login Succeeded [2023-05-10T18:26:27.914Z] nexus3.edgexfoundry.org:10002 [2023-05-10T18:26:27.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:27.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:27.914Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:27.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:27.914Z] [2023-05-10T18:26:27.914Z] Login Succeeded [2023-05-10T18:26:27.915Z] nexus3.edgexfoundry.org:10003 [2023-05-10T18:26:28.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:28.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:28.175Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:28.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:28.175Z] [2023-05-10T18:26:28.175Z] Login Succeeded [2023-05-10T18:26:28.175Z] nexus3.edgexfoundry.org:10004 [2023-05-10T18:26:28.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:28.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:28.175Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:28.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:28.175Z] [2023-05-10T18:26:28.175Z] Login Succeeded [2023-05-10T18:26:28.175Z] docker.io [2023-05-10T18:26:28.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:26:28.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:26:28.437Z] Configure a credential helper to remove this warning. See [2023-05-10T18:26:28.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:26:28.437Z] [2023-05-10T18:26:28.437Z] Login Succeeded [2023-05-10T18:26:28.437Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T18:26:28.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T18:26:28.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T18:26:28.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T18:26:28.714Z] ========================================================= [2023-05-10T18:26:28.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T18:26:28.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:26:29.182Z] + 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-05-10T18:26:29.182Z] Sending build context to Docker daemon 2.015MB [2023-05-10T18:26:29.182Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T18:26:29.182Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-10T18:26:29.458Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T18:26:29.458Z] f56be85fc22e: Pulling fs layer [2023-05-10T18:26:29.458Z] 85791d961cd3: Pulling fs layer [2023-05-10T18:26:29.458Z] d694b5ae8c79: Pulling fs layer [2023-05-10T18:26:29.458Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T18:26:29.458Z] 4d19c01a9841: Pulling fs layer [2023-05-10T18:26:29.458Z] 9325e15d5711: Pulling fs layer [2023-05-10T18:26:29.458Z] 556b6ee489ea: Pulling fs layer [2023-05-10T18:26:29.458Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T18:26:29.458Z] 4d19c01a9841: Waiting [2023-05-10T18:26:29.458Z] 9325e15d5711: Waiting [2023-05-10T18:26:29.458Z] 556b6ee489ea: Waiting [2023-05-10T18:26:29.458Z] c5a4b2cf53e6: Waiting [2023-05-10T18:26:29.458Z] 85791d961cd3: Verifying Checksum [2023-05-10T18:26:29.458Z] 85791d961cd3: Download complete [2023-05-10T18:26:29.458Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T18:26:29.458Z] 9f32a84ed3da: Download complete [2023-05-10T18:26:29.458Z] 4d19c01a9841: Verifying Checksum [2023-05-10T18:26:29.458Z] 4d19c01a9841: Download complete [2023-05-10T18:26:29.458Z] f56be85fc22e: Download complete [2023-05-10T18:26:29.458Z] 9325e15d5711: Verifying Checksum [2023-05-10T18:26:29.458Z] 9325e15d5711: Download complete [2023-05-10T18:26:29.734Z] f56be85fc22e: Pull complete [2023-05-10T18:26:30.302Z] 85791d961cd3: Pull complete [2023-05-10T18:26:30.302Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T18:26:30.302Z] d694b5ae8c79: Verifying Checksum [2023-05-10T18:26:30.302Z] d694b5ae8c79: Download complete [2023-05-10T18:26:30.562Z] 556b6ee489ea: Verifying Checksum [2023-05-10T18:26:30.562Z] 556b6ee489ea: Download complete [2023-05-10T18:26:34.762Z] d694b5ae8c79: Pull complete [2023-05-10T18:26:34.762Z] 9f32a84ed3da: Pull complete [2023-05-10T18:26:34.762Z] 4d19c01a9841: Pull complete [2023-05-10T18:26:34.762Z] 9325e15d5711: Pull complete [2023-05-10T18:26:38.047Z] 556b6ee489ea: Pull complete [2023-05-10T18:26:38.982Z] c5a4b2cf53e6: Pull complete [2023-05-10T18:26:38.982Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T18:26:39.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T18:26:39.240Z] ---> c4be618373d6 [2023-05-10T18:26:39.240Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-10T18:26:42.371Z] Still waiting to schedule task [2023-05-10T18:26:42.371Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14924’ [2023-05-10T18:26:49.418Z] ---> Running in ad170571598b [2023-05-10T18:26:49.418Z] Removing intermediate container ad170571598b [2023-05-10T18:26:49.418Z] ---> 63c078a0332d [2023-05-10T18:26:49.418Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T18:26:49.678Z] ---> Running in 1d4f7b94f494 [2023-05-10T18:26:49.678Z] Removing intermediate container 1d4f7b94f494 [2023-05-10T18:26:49.678Z] ---> 3037abbd6a05 [2023-05-10T18:26:49.678Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-10T18:26:49.938Z] ---> Running in 1773b84b6c33 [2023-05-10T18:26:50.199Z] Removing intermediate container 1773b84b6c33 [2023-05-10T18:26:50.199Z] ---> dd31cbab3338 [2023-05-10T18:26:50.199Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-10T18:26:50.776Z] ---> Running in fd8c83b5c5a0 [2023-05-10T18:26:50.776Z] Removing intermediate container fd8c83b5c5a0 [2023-05-10T18:26:50.776Z] ---> 720f334d60d4 [2023-05-10T18:26:50.776Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T18:26:51.033Z] ---> Running in f1602315bebc [2023-05-10T18:26:51.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T18:26:51.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T18:26:51.859Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-10T18:26:51.859Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-10T18:26:51.859Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-10T18:26:51.859Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-10T18:26:51.859Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-10T18:26:51.859Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-10T18:26:51.859Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-10T18:26:51.859Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-10T18:26:51.859Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-10T18:26:51.859Z] (10/14) Installing kmod-libs (30-r1) [2023-05-10T18:26:51.859Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-10T18:26:51.859Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-10T18:26:51.859Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-10T18:26:51.859Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-10T18:26:51.859Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T18:26:51.859Z] Executing eudev-3.2.11-r4.trigger [2023-05-10T18:26:51.859Z] OK: 272 MiB in 67 packages [2023-05-10T18:26:52.795Z] Removing intermediate container f1602315bebc [2023-05-10T18:26:52.795Z] ---> c65ce520f6cc [2023-05-10T18:26:52.795Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-10T18:26:52.795Z] ---> Running in aee31c3139c7 [2023-05-10T18:26:53.054Z] Removing intermediate container aee31c3139c7 [2023-05-10T18:26:53.054Z] ---> 9ec9f87bd75e [2023-05-10T18:26:53.054Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-10T18:26:53.054Z] ---> b671eea775ba [2023-05-10T18:26:53.054Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T18:26:53.313Z] ---> Running in 6b7f279c78f6 [2023-05-10T18:27:40.213Z] Removing intermediate container 6b7f279c78f6 [2023-05-10T18:27:40.213Z] ---> 31d672227b86 [2023-05-10T18:27:40.213Z] Step 11/13 : COPY . . [2023-05-10T18:27:40.213Z] ---> ad49c58f4930 [2023-05-10T18:27:40.213Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-10T18:27:40.213Z] ---> Running in af374f18a4db [2023-05-10T18:27:40.213Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T18:27:40.213Z] Dload Upload Total Spent Left Speed [2023-05-10T18:27:40.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 7834 0 --:--:-- --:--:-- --:--:-- 7866 [2023-05-10T18:27:40.213Z] Removing intermediate container af374f18a4db [2023-05-10T18:27:40.213Z] ---> bb928de517f3 [2023-05-10T18:27:40.213Z] Step 13/13 : RUN ${MAKE} [2023-05-10T18:27:40.213Z] ---> Running in 47fd54bd7ca0 [2023-05-10T18:27:40.213Z] noop [2023-05-10T18:27:40.213Z] Removing intermediate container 47fd54bd7ca0 [2023-05-10T18:27:40.213Z] ---> fbbd046528ed [2023-05-10T18:27:40.213Z] Successfully built fbbd046528ed [2023-05-10T18:27:40.213Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:27:40.686Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T18:27:40.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:27:40.845Z] prd-ubuntu20.04-docker-8c-8g-14926 does not seem to be running inside a container [2023-05-10T18:27:40.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-244 -v /w/workspace/foundry_device-usb-camera_PR-244:/w/workspace/foundry_device-usb-camera_PR-244:rw,z -v /w/workspace/foundry_device-usb-camera_PR-244@tmp:/w/workspace/foundry_device-usb-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T18:27:41.331Z] $ docker top 36f1b29d04e9f9e1a528ddf7b8efbf11f7e59a8ca500c787e119d8f9303c67c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T18:27:41.720Z] + go version [2023-05-10T18:27:41.720Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T18:27:41.757Z] $ docker stop --time=1 36f1b29d04e9f9e1a528ddf7b8efbf11f7e59a8ca500c787e119d8f9303c67c2 [2023-05-10T18:27:43.116Z] $ docker rm -f --volumes 36f1b29d04e9f9e1a528ddf7b8efbf11f7e59a8ca500c787e119d8f9303c67c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:27:43.851Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T18:27:43.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:27:44.021Z] prd-ubuntu20.04-docker-8c-8g-14926 does not seem to be running inside a container [2023-05-10T18:27:44.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-244 -v /w/workspace/foundry_device-usb-camera_PR-244:/w/workspace/foundry_device-usb-camera_PR-244:rw,z -v /w/workspace/foundry_device-usb-camera_PR-244@tmp:/w/workspace/foundry_device-usb-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T18:27:44.663Z] $ docker top 9516a6844e22f63e30327269b95f931f00bfaea85abcb5cb328b050232b9f41a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T18:27:45.055Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-244 [Pipeline] fileExists [Pipeline] sh [2023-05-10T18:27:45.415Z] + make test [2023-05-10T18:27:45.416Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T18:27:50.684Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-10T18:28:02.945Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-10T18:28:02.945Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 2.0% of statements [2023-05-10T18:28:08.214Z] go vet ./... [2023-05-10T18:28:11.546Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T18:28:11.546Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T18:28:11.823Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T18:28:11.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T18:28:11.894Z] $ docker stop --time=1 9516a6844e22f63e30327269b95f931f00bfaea85abcb5cb328b050232b9f41a [2023-05-10T18:28:17.046Z] $ docker rm -f --volumes 9516a6844e22f63e30327269b95f931f00bfaea85abcb5cb328b050232b9f41a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T18:28:17.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T18:28:17.701Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T18:28:18.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T18:28:18.605Z] + ls -al . [2023-05-10T18:28:18.605Z] total 192 [2023-05-10T18:28:18.605Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 18:27 . [2023-05-10T18:28:18.605Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:25 .. [2023-05-10T18:28:18.605Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:26 .git [2023-05-10T18:28:18.605Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:25 .github [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 414 May 10 18:25 .gitignore [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 18:25 .golangci.yml [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 77 May 10 18:25 .hadolint.yml [2023-05-10T18:28:18.605Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:26 .semver [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 10 18:25 Attribution.txt [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 10 18:25 CHANGELOG.md [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 10 18:25 Dockerfile [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 18:25 GOVERNANCE.md [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 659 May 10 18:25 Jenkinsfile [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 10 18:25 LICENSE [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 10 18:25 Makefile [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 18:25 OWNERS.md [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 10 18:25 README.md [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:26 VERSION [2023-05-10T18:28:18.605Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:25 bin [2023-05-10T18:28:18.605Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:25 cmd [2023-05-10T18:28:18.605Z] -rw-r--r-- 1 jenkins jenkins 28693 May 10 18:28 coverage.out [2023-05-10T18:28:18.605Z] -rwxrwxr-x 1 jenkins jenkins 140 May 10 18:25 docker-entrypoint.sh [2023-05-10T18:28:18.605Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:25 docs [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 10 18:25 go.mod [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 10 18:25 go.sum [2023-05-10T18:28:18.605Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:25 internal [2023-05-10T18:28:18.605Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:25 snap [2023-05-10T18:28:18.605Z] -rw-rw-r-- 1 jenkins jenkins 231 May 10 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:28:19.012Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6476b83f21de07fb542a89e1103ace71ecb877e3 --label arch=amd64 --label version=0.0.0 . [2023-05-10T18:28:19.012Z] Sending build context to Docker daemon 2.044MB [2023-05-10T18:28:19.012Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T18:28:19.012Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-10T18:28:19.012Z] ---> fbbd046528ed [2023-05-10T18:28:19.012Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-10T18:28:19.276Z] ---> Running in 650d0b725b1d [2023-05-10T18:28:19.536Z] Removing intermediate container 650d0b725b1d [2023-05-10T18:28:19.536Z] ---> 4597cd1fd040 [2023-05-10T18:28:19.536Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T18:28:19.536Z] ---> Running in 283a13ae6217 [2023-05-10T18:28:19.795Z] Removing intermediate container 283a13ae6217 [2023-05-10T18:28:19.795Z] ---> f239a55ba1c1 [2023-05-10T18:28:19.795Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-10T18:28:19.795Z] ---> Running in 865317be2d7a [2023-05-10T18:28:20.056Z] Removing intermediate container 865317be2d7a [2023-05-10T18:28:20.056Z] ---> 011cca4e5876 [2023-05-10T18:28:20.056Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-10T18:28:20.316Z] ---> Running in cd45ba107ee3 [2023-05-10T18:28:20.316Z] Removing intermediate container cd45ba107ee3 [2023-05-10T18:28:20.316Z] ---> 88ca373b4d07 [2023-05-10T18:28:20.316Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T18:28:20.574Z] ---> Running in 7bb64241d9e0 [2023-05-10T18:28:20.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T18:28:21.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T18:28:21.349Z] OK: 272 MiB in 67 packages [2023-05-10T18:28:22.288Z] Removing intermediate container 7bb64241d9e0 [2023-05-10T18:28:22.288Z] ---> 68e100f1dc71 [2023-05-10T18:28:22.288Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-10T18:28:22.288Z] ---> Running in e82b28fd9ddd [2023-05-10T18:28:22.857Z] Removing intermediate container e82b28fd9ddd [2023-05-10T18:28:22.857Z] ---> 2befc1299912 [2023-05-10T18:28:22.857Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-10T18:28:23.116Z] ---> 99abba1310d2 [2023-05-10T18:28:23.116Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T18:28:23.375Z] ---> Running in 9284213f8c66 [2023-05-10T18:28:24.755Z] Removing intermediate container 9284213f8c66 [2023-05-10T18:28:24.755Z] ---> 965980e5f640 [2023-05-10T18:28:24.755Z] Step 11/35 : COPY . . [2023-05-10T18:28:24.755Z] ---> 6db3e7a61c33 [2023-05-10T18:28:24.755Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-10T18:28:25.015Z] ---> Running in ec7498974d04 [2023-05-10T18:28:25.274Z]  % Total % Received % Xferd Average Speed Time  Time Time  Current [2023-05-10T18:28:25.274Z]   Dload  Upload Total Spent Left Speed [2023-05-10T18:28:25.274Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19214 0 --:--:-- --:--:-- --:--:-- 19309 [2023-05-10T18:28:25.841Z] Removing intermediate container ec7498974d04 [2023-05-10T18:28:25.841Z] ---> 41b1ba5ac8d2 [2023-05-10T18:28:25.841Z] Step 13/35 : RUN ${MAKE} [2023-05-10T18:28:25.841Z] ---> Running in d54136657aee [2023-05-10T18:28:26.408Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-10T18:28:52.980Z] Removing intermediate container d54136657aee [2023-05-10T18:28:52.980Z] ---> 2e902dac5194 [2023-05-10T18:28:52.980Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-10T18:28:52.980Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-10T18:28:52.980Z] 4acc49c71d14: Pulling fs layer [2023-05-10T18:28:52.980Z] 4acc49c71d14: Verifying Checksum [2023-05-10T18:28:52.980Z] 4acc49c71d14: Download complete [2023-05-10T18:28:52.980Z] 4acc49c71d14: Pull complete [2023-05-10T18:28:52.980Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-10T18:28:52.980Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-10T18:28:52.980Z] ---> 01a2bd3e5fff [2023-05-10T18:28:52.980Z] Step 15/35 : FROM alpine:3.17 [2023-05-10T18:28:52.980Z] 3.17: Pulling from library/alpine [2023-05-10T18:28:53.239Z] f56be85fc22e: Already exists [2023-05-10T18:28:53.239Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T18:28:53.239Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T18:28:53.239Z] ---> 9ed4aefc74f6 [2023-05-10T18:28:53.239Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-10T18:28:53.818Z] ---> Running in b8f2f0dd4ce2 [2023-05-10T18:28:53.818Z] Removing intermediate container b8f2f0dd4ce2 [2023-05-10T18:28:53.818Z] ---> faae757cbca9 [2023-05-10T18:28:53.818Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-10T18:28:54.077Z] ---> Running in 94e61cf768fb [2023-05-10T18:28:54.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T18:28:54.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T18:28:54.856Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-10T18:28:54.857Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-10T18:28:54.857Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-10T18:28:54.857Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-10T18:28:54.857Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-10T18:28:54.857Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-10T18:28:54.857Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-10T18:28:54.857Z] (8/86) Installing libxcb (1.15-r0) [2023-05-10T18:28:54.857Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-10T18:28:55.116Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-10T18:28:55.116Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-10T18:28:55.116Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-10T18:28:55.116Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-10T18:28:55.116Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-10T18:28:55.116Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-10T18:28:55.116Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-10T18:28:55.116Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-10T18:28:55.116Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-10T18:28:55.116Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-10T18:28:55.116Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-10T18:28:55.116Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-10T18:28:55.116Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-10T18:28:55.116Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-10T18:28:55.116Z] (24/86) Installing glib (2.74.6-r0) [2023-05-10T18:28:55.116Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-10T18:28:55.116Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-10T18:28:55.375Z] (27/86) Installing libass (0.16.0-r1) [2023-05-10T18:28:55.375Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-10T18:28:55.375Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-10T18:28:55.375Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-10T18:28:55.375Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-10T18:28:55.375Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-10T18:28:55.375Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-10T18:28:55.375Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-10T18:28:55.375Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-10T18:28:55.375Z] (36/86) Installing libunistring (1.1-r0) [2023-05-10T18:28:55.375Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-10T18:28:55.375Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-10T18:28:55.375Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-10T18:28:55.375Z] (40/86) Installing lame (3.100-r2) [2023-05-10T18:28:55.375Z] (41/86) Installing opus (1.3.1-r1) [2023-05-10T18:28:55.375Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-10T18:28:55.375Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-10T18:28:55.375Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-10T18:28:55.375Z] (45/86) Installing orc (0.4.33-r0) [2023-05-10T18:28:55.375Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-10T18:28:55.375Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-10T18:28:55.375Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-10T18:28:55.375Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-10T18:28:55.375Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-10T18:28:55.375Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-10T18:28:55.375Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-10T18:28:55.375Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-10T18:28:55.375Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-10T18:28:55.375Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-10T18:28:55.375Z] (56/86) Installing libpulse (16.1-r6) [2023-05-10T18:28:55.634Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-10T18:28:55.634Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-10T18:28:55.634Z] (59/86) Installing librist (0.2.7-r0) [2023-05-10T18:28:55.635Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-10T18:28:55.635Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-10T18:28:55.635Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-10T18:28:55.635Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-10T18:28:55.635Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-10T18:28:55.635Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-10T18:28:55.635Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-10T18:28:55.635Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-10T18:28:55.635Z] (68/86) Installing libva (2.16.0-r0) [2023-05-10T18:28:55.635Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-10T18:28:55.635Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-10T18:28:55.635Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-10T18:28:55.635Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-10T18:28:55.635Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-10T18:28:55.635Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-10T18:28:55.635Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-10T18:28:55.893Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-10T18:28:55.893Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-10T18:28:55.893Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-10T18:28:55.893Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-10T18:28:55.893Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-10T18:28:55.893Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-10T18:28:55.893Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-10T18:28:55.893Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-10T18:28:55.893Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-10T18:28:55.893Z] (85/86) Installing kmod-libs (30-r1) [2023-05-10T18:28:55.893Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-10T18:28:55.893Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T18:28:55.893Z] Executing eudev-3.2.11-r4.trigger [2023-05-10T18:28:55.893Z] OK: 112 MiB in 101 packages [2023-05-10T18:28:59.219Z] Removing intermediate container 94e61cf768fb [2023-05-10T18:28:59.219Z] ---> c56ccd9861c8 [2023-05-10T18:28:59.219Z] Step 18/35 : WORKDIR / [2023-05-10T18:28:59.219Z] ---> Running in ec7706aea9d7 [2023-05-10T18:28:59.477Z] Removing intermediate container ec7706aea9d7 [2023-05-10T18:28:59.477Z] ---> 4bb2e378c0aa [2023-05-10T18:28:59.477Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-10T18:29:00.412Z] ---> 6bb905a1f60d [2023-05-10T18:29:00.412Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-10T18:29:00.412Z] ---> 00ca0dc27f17 [2023-05-10T18:29:00.412Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-10T18:29:00.412Z] ---> 1cfa354551fa [2023-05-10T18:29:00.412Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-10T18:29:00.673Z] ---> d48a96d71527 [2023-05-10T18:29:00.673Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-10T18:29:00.673Z] ---> 0c1a8c0331ea [2023-05-10T18:29:00.673Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-10T18:29:00.931Z] ---> f9bc0bf2165d [2023-05-10T18:29:00.931Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-10T18:29:01.868Z] ---> 845dcf61a5dd [2023-05-10T18:29:01.868Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-10T18:29:01.868Z] ---> Running in 20661a0db4b1 [2023-05-10T18:29:02.801Z] Removing intermediate container 20661a0db4b1 [2023-05-10T18:29:02.801Z] ---> 6ca6422ec917 [2023-05-10T18:29:02.801Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-10T18:29:02.801Z] ---> Running in 857a4a07af59 [2023-05-10T18:29:03.741Z] Removing intermediate container 857a4a07af59 [2023-05-10T18:29:03.741Z] ---> e6b818f0e69d [2023-05-10T18:29:03.741Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-10T18:29:03.741Z] ---> Running in ee1549fcd36c [2023-05-10T18:29:04.309Z] Removing intermediate container ee1549fcd36c [2023-05-10T18:29:04.309Z] ---> e30e6e223784 [2023-05-10T18:29:04.309Z] Step 29/35 : EXPOSE 59983 [2023-05-10T18:29:04.309Z] ---> Running in 3de825316526 [2023-05-10T18:29:04.309Z] Removing intermediate container 3de825316526 [2023-05-10T18:29:04.309Z] ---> 8de3039132ce [2023-05-10T18:29:04.309Z] Step 30/35 : EXPOSE 8554 [2023-05-10T18:29:04.567Z] ---> Running in ca3e695d1ed2 [2023-05-10T18:29:04.567Z] Removing intermediate container ca3e695d1ed2 [2023-05-10T18:29:04.567Z] ---> 62d1f7cd6f26 [2023-05-10T18:29:04.567Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-10T18:29:04.824Z] ---> Running in e88e4a70ba86 [2023-05-10T18:29:05.083Z] Removing intermediate container e88e4a70ba86 [2023-05-10T18:29:05.083Z] ---> ce238c4c1a4f [2023-05-10T18:29:05.083Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-10T18:29:05.083Z] ---> Running in 3c4c87e14048 [2023-05-10T18:29:05.342Z] Removing intermediate container 3c4c87e14048 [2023-05-10T18:29:05.342Z] ---> 085673621373 [2023-05-10T18:29:05.342Z] Step 33/35 : LABEL arch=amd64 [2023-05-10T18:29:05.342Z] ---> Running in d3c85b8cac88 [2023-05-10T18:29:05.603Z] Removing intermediate container d3c85b8cac88 [2023-05-10T18:29:05.603Z] ---> a36a2daa6f54 [2023-05-10T18:29:05.603Z] Step 34/35 : LABEL git_sha=6476b83f21de07fb542a89e1103ace71ecb877e3 [2023-05-10T18:29:05.603Z] ---> Running in 348af70b7afa [2023-05-10T18:29:05.863Z] Removing intermediate container 348af70b7afa [2023-05-10T18:29:05.863Z] ---> d391a89dae75 [2023-05-10T18:29:05.863Z] Step 35/35 : LABEL version=0.0.0 [2023-05-10T18:29:05.863Z] ---> Running in 791c1feb6c43 [2023-05-10T18:29:05.863Z] Removing intermediate container 791c1feb6c43 [2023-05-10T18:29:05.863Z] ---> 33fc160f3726 [2023-05-10T18:29:05.863Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T18:29:05.863Z] Successfully built 33fc160f3726 [2023-05-10T18:29:05.863Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:29:06.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T18:29:06.712Z] [2023-05-10T18:29:06.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:29:07.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T18:29:07.096Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T18:29:07.096Z] 5eb5b503b376: Pulling fs layer [2023-05-10T18:29:07.096Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T18:29:07.096Z] ec43610c2a17: Pulling fs layer [2023-05-10T18:29:07.096Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T18:29:07.096Z] 33b1e0a273af: Pulling fs layer [2023-05-10T18:29:07.096Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T18:29:07.096Z] 2f39f015ded8: Pulling fs layer [2023-05-10T18:29:07.096Z] 33b1e0a273af: Waiting [2023-05-10T18:29:07.096Z] 5d3b04190fa2: Waiting [2023-05-10T18:29:07.096Z] 3a2ae6a8a46f: Waiting [2023-05-10T18:29:07.096Z] 2f39f015ded8: Waiting [2023-05-10T18:29:07.096Z] 5c69ac0246d0: Download complete [2023-05-10T18:29:07.096Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T18:29:07.096Z] 3a2ae6a8a46f: Download complete [2023-05-10T18:29:07.366Z] 33b1e0a273af: Verifying Checksum [2023-05-10T18:29:07.366Z] 33b1e0a273af: Download complete [2023-05-10T18:29:07.366Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T18:29:07.366Z] 5d3b04190fa2: Download complete [2023-05-10T18:29:07.366Z] ec43610c2a17: Verifying Checksum [2023-05-10T18:29:07.366Z] ec43610c2a17: Download complete [2023-05-10T18:29:07.630Z] 5eb5b503b376: Verifying Checksum [2023-05-10T18:29:07.630Z] 5eb5b503b376: Download complete [2023-05-10T18:29:08.199Z] 2f39f015ded8: Download complete [2023-05-10T18:29:08.767Z] 5eb5b503b376: Pull complete [2023-05-10T18:29:09.027Z] 5c69ac0246d0: Pull complete [2023-05-10T18:29:09.596Z] ec43610c2a17: Pull complete [2023-05-10T18:29:09.596Z] 3a2ae6a8a46f: Pull complete [2023-05-10T18:29:09.855Z] 33b1e0a273af: Pull complete [2023-05-10T18:29:10.113Z] 5d3b04190fa2: Pull complete [2023-05-10T18:29:14.300Z] 2f39f015ded8: Pull complete [2023-05-10T18:29:14.300Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T18:29:14.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T18:29:14.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:29:14.531Z] prd-ubuntu20.04-docker-8c-8g-14926 does not seem to be running inside a container [2023-05-10T18:29:14.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-244 -v /w/workspace/foundry_device-usb-camera_PR-244:/w/workspace/foundry_device-usb-camera_PR-244:rw,z -v /w/workspace/foundry_device-usb-camera_PR-244@tmp:/w/workspace/foundry_device-usb-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T18:29:19.026Z] $ docker top d91f09e63d7a44f877ed2a977456bf2f75efadf4f5f6791cf8f1b293da86a20f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:29:19.450Z] ---> job-cost.sh [2023-05-10T18:29:19.450Z] lf-activate-venv: SKIPPING [2023-05-10T18:29:19.450Z] INFO: No Stack... [2023-05-10T18:29:19.710Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T18:29:20.278Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T18:29:20.592Z] + cat /w/workspace/foundry_device-usb-camera_PR-244/archives/cost.csv [2023-05-10T18:29:20.592Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T18:29:20.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [2023-05-10T18:29:20.640Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] did not exist. Created. [2023-05-10T18:29:20.640Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T18:29:21.048Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T18:29:21.098Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T18:29:21.127Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T18:29:21.217Z] $ docker stop --time=1 d91f09e63d7a44f877ed2a977456bf2f75efadf4f5f6791cf8f1b293da86a20f [2023-05-10T18:29:22.384Z] $ docker rm -f --volumes d91f09e63d7a44f877ed2a977456bf2f75efadf4f5f6791cf8f1b293da86a20f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T18:29:34.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14928 in /w/workspace/foundry_device-usb-camera_PR-244 [Pipeline] { [Pipeline] ws [2023-05-10T18:29:34.164Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-10T18:29:34.240Z] Selected Git installation does not exist. Using Default [2023-05-10T18:29:34.240Z] The recommended git tool is: NONE [2023-05-10T18:29:40.821Z] using credential edgex-jenkins-ssh [2023-05-10T18:29:40.843Z] Cloning the remote Git repository [2023-05-10T18:29:40.903Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-10T18:29:41.021Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-10T18:29:41.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-10T18:29:41.196Z] > git --version # timeout=10 [2023-05-10T18:29:41.222Z] > git --version # 'git version 2.25.1' [2023-05-10T18:29:41.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T18:29:41.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T18:29:42.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-10T18:29:42.229Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T18:29:43.793Z] Merging remotes/origin/main commit 403384bec3dd417d230cef4b79faf37d5294ce6a into PR head commit 6476b83f21de07fb542a89e1103ace71ecb877e3 [2023-05-10T18:29:44.117Z] Merge succeeded, producing 6476b83f21de07fb542a89e1103ace71ecb877e3 [2023-05-10T18:29:44.118Z] Checking out Revision 6476b83f21de07fb542a89e1103ace71ecb877e3 (PR-244) [2023-05-10T18:29:43.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-10T18:29:43.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-10T18:29:43.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T18:29:43.280Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-10T18:29:43.810Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T18:29:43.910Z] > git checkout -f 6476b83f21de07fb542a89e1103ace71ecb877e3 # timeout=10 [2023-05-10T18:29:44.007Z] > git remote # timeout=10 [2023-05-10T18:29:44.029Z] > git config --get remote.origin.url # timeout=10 [2023-05-10T18:29:44.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T18:29:44.065Z] > git merge 403384bec3dd417d230cef4b79faf37d5294ce6a # timeout=10 [2023-05-10T18:29:44.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-10T18:29:44.122Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T18:29:44.143Z] > git checkout -f 6476b83f21de07fb542a89e1103ace71ecb877e3 # timeout=10 [2023-05-10T18:29:44.670Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-10T18:29:44.722Z] > git --version # timeout=10 [2023-05-10T18:29:44.733Z] > git --version # 'git version 2.25.1' [2023-05-10T18:29:44.745Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T18:29:45.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T18:29:45.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T18:29:45.905Z] Dload Upload Total Spent Left Speed [2023-05-10T18:29:45.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-10T18:29:46.568Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T18:29:46.921Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T18:29:46.921Z] + sudo tee /etc/docker/daemon.new [2023-05-10T18:29:46.921Z] { [2023-05-10T18:29:46.921Z] "registry-mirrors": [ [2023-05-10T18:29:46.921Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T18:29:46.921Z] ], [2023-05-10T18:29:46.921Z] "bip": "10.250.0.254/24", [2023-05-10T18:29:46.921Z] "hosts": [ [2023-05-10T18:29:46.921Z] "tcp://0.0.0.0:5555", [2023-05-10T18:29:46.921Z] "unix:///var/run/docker.sock" [2023-05-10T18:29:46.921Z] ], [2023-05-10T18:29:46.921Z] "mtu": 1458, [2023-05-10T18:29:46.921Z] "selinux-enabled": true, [2023-05-10T18:29:46.921Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T18:29:46.921Z] } [Pipeline] sh [2023-05-10T18:29:47.274Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T18:29:47.626Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T18:30:05.966Z] provisioning config files... [2023-05-10T18:30:05.992Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1108107474760342551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:30:06.385Z] ---> docker-login.sh [2023-05-10T18:30:06.385Z] nexus3.edgexfoundry.org:10001 [2023-05-10T18:30:06.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:30:06.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:30:06.979Z] Configure a credential helper to remove this warning. See [2023-05-10T18:30:06.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:30:06.979Z] [2023-05-10T18:30:06.979Z] Login Succeeded [2023-05-10T18:30:06.979Z] nexus3.edgexfoundry.org:10002 [2023-05-10T18:30:07.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:30:07.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:30:07.249Z] Configure a credential helper to remove this warning. See [2023-05-10T18:30:07.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:30:07.249Z] [2023-05-10T18:30:07.249Z] Login Succeeded [2023-05-10T18:30:07.249Z] nexus3.edgexfoundry.org:10003 [2023-05-10T18:30:07.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:30:07.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:30:07.792Z] Configure a credential helper to remove this warning. See [2023-05-10T18:30:07.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:30:07.792Z] [2023-05-10T18:30:07.792Z] Login Succeeded [2023-05-10T18:30:07.792Z] nexus3.edgexfoundry.org:10004 [2023-05-10T18:30:08.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:30:08.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:30:08.064Z] Configure a credential helper to remove this warning. See [2023-05-10T18:30:08.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:30:08.064Z] [2023-05-10T18:30:08.064Z] Login Succeeded [2023-05-10T18:30:08.064Z] docker.io [2023-05-10T18:30:08.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T18:30:08.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T18:30:08.605Z] Configure a credential helper to remove this warning. See [2023-05-10T18:30:08.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T18:30:08.605Z] [2023-05-10T18:30:08.605Z] Login Succeeded [2023-05-10T18:30:08.605Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T18:30:08.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T18:30:09.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T18:30:09.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T18:30:09.130Z] ========================================================= [2023-05-10T18:30:09.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T18:30:09.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:30:09.632Z] + 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-05-10T18:30:09.905Z] Sending build context to Docker daemon 1.276MB [2023-05-10T18:30:09.905Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T18:30:09.905Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-10T18:30:10.176Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T18:30:10.176Z] c41833b44d91: Pulling fs layer [2023-05-10T18:30:10.176Z] ed15518f5707: Pulling fs layer [2023-05-10T18:30:10.176Z] feae8fd75edb: Pulling fs layer [2023-05-10T18:30:10.176Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T18:30:10.176Z] 3cdef696dda3: Pulling fs layer [2023-05-10T18:30:10.176Z] 2ced38df9373: Pulling fs layer [2023-05-10T18:30:10.176Z] 58f1dce35555: Pulling fs layer [2023-05-10T18:30:10.176Z] 3cdef696dda3: Waiting [2023-05-10T18:30:10.176Z] 2ced38df9373: Waiting [2023-05-10T18:30:10.176Z] 58f1dce35555: Waiting [2023-05-10T18:30:10.176Z] 242c74f7c9fa: Waiting [2023-05-10T18:30:10.176Z] ed15518f5707: Verifying Checksum [2023-05-10T18:30:10.176Z] ed15518f5707: Download complete [2023-05-10T18:30:10.176Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T18:30:10.176Z] 242c74f7c9fa: Download complete [2023-05-10T18:30:10.176Z] 3cdef696dda3: Verifying Checksum [2023-05-10T18:30:10.176Z] 3cdef696dda3: Download complete [2023-05-10T18:30:10.176Z] c41833b44d91: Verifying Checksum [2023-05-10T18:30:10.176Z] c41833b44d91: Download complete [2023-05-10T18:30:11.164Z] c41833b44d91: Pull complete [2023-05-10T18:30:11.753Z] 58f1dce35555: Verifying Checksum [2023-05-10T18:30:11.753Z] 58f1dce35555: Download complete [2023-05-10T18:30:12.027Z] ed15518f5707: Pull complete [2023-05-10T18:30:13.004Z] feae8fd75edb: Verifying Checksum [2023-05-10T18:30:13.004Z] feae8fd75edb: Download complete [2023-05-10T18:30:13.004Z] 2ced38df9373: Verifying Checksum [2023-05-10T18:30:13.004Z] 2ced38df9373: Download complete [2023-05-10T18:30:25.447Z] feae8fd75edb: Pull complete [2023-05-10T18:30:25.447Z] 242c74f7c9fa: Pull complete [2023-05-10T18:30:25.447Z] 3cdef696dda3: Pull complete [2023-05-10T18:30:32.132Z] 2ced38df9373: Pull complete [2023-05-10T18:30:33.544Z] 58f1dce35555: Pull complete [2023-05-10T18:30:33.814Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T18:30:33.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T18:30:33.814Z] ---> fadd8f120f05 [2023-05-10T18:30:33.814Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-10T18:30:35.779Z] ---> Running in c9a1c562fb4d [2023-05-10T18:30:36.047Z] Removing intermediate container c9a1c562fb4d [2023-05-10T18:30:36.047Z] ---> 157257a16a7c [2023-05-10T18:30:36.047Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T18:30:37.817Z] ---> Running in a4c982276ff2 [2023-05-10T18:30:37.817Z] Removing intermediate container a4c982276ff2 [2023-05-10T18:30:37.817Z] ---> 8e0c5c4ae7c4 [2023-05-10T18:30:37.818Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-10T18:30:37.818Z] ---> Running in 3a7e8091c9c0 [2023-05-10T18:30:37.818Z] Removing intermediate container 3a7e8091c9c0 [2023-05-10T18:30:37.818Z] ---> 85d25049085b [2023-05-10T18:30:37.818Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-10T18:30:37.818Z] ---> Running in dc2876299c81 [2023-05-10T18:30:37.818Z] Removing intermediate container dc2876299c81 [2023-05-10T18:30:37.818Z] ---> 22ab42b3d366 [2023-05-10T18:30:37.818Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T18:30:37.818Z] ---> Running in 8d17e8021af2 [2023-05-10T18:30:38.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T18:30:39.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T18:30:40.331Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-10T18:30:40.331Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-10T18:30:40.331Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-10T18:30:40.331Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-10T18:30:40.331Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-10T18:30:40.331Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-10T18:30:40.331Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-10T18:30:40.603Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-10T18:30:40.603Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-10T18:30:40.603Z] (10/14) Installing kmod-libs (30-r1) [2023-05-10T18:30:40.603Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-10T18:30:40.603Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-10T18:30:40.603Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-10T18:30:40.603Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-10T18:30:40.603Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T18:30:40.603Z] Executing eudev-3.2.11-r4.trigger [2023-05-10T18:30:40.603Z] OK: 271 MiB in 67 packages [2023-05-10T18:30:42.039Z] Removing intermediate container 8d17e8021af2 [2023-05-10T18:30:42.039Z] ---> 19f01eeb28ba [2023-05-10T18:30:42.039Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-10T18:30:42.039Z] ---> Running in e4d3b833375e [2023-05-10T18:30:42.308Z] Removing intermediate container e4d3b833375e [2023-05-10T18:30:42.308Z] ---> 73b8dc9a8a4a [2023-05-10T18:30:42.308Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-10T18:30:44.259Z] ---> f86f508a4763 [2023-05-10T18:30:44.259Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T18:30:44.259Z] ---> Running in 63751bcc6f86 [2023-05-10T18:31:52.246Z] Removing intermediate container 63751bcc6f86 [2023-05-10T18:31:52.246Z] ---> 2948cd219b1f [2023-05-10T18:31:52.246Z] Step 11/13 : COPY . . [2023-05-10T18:31:52.246Z] ---> 8069ddc548e9 [2023-05-10T18:31:52.246Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-10T18:31:52.246Z] ---> Running in d99d13ea595d [2023-05-10T18:31:52.246Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-05-10T18:31:52.246Z] Dload Upload Total Spent Left Speed [2023-05-10T18:31:52.246Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3778 0 --:--:-- --:--:-- --:--:-- 3792 [2023-05-10T18:31:52.246Z] Removing intermediate container d99d13ea595d [2023-05-10T18:31:52.246Z] ---> 2f133bbe28e4 [2023-05-10T18:31:52.246Z] Step 13/13 : RUN ${MAKE} [2023-05-10T18:31:52.246Z] ---> Running in 23eac916e566 [2023-05-10T18:31:52.246Z] noop [2023-05-10T18:31:52.246Z] Removing intermediate container 23eac916e566 [2023-05-10T18:31:52.246Z] ---> ac970269944e [2023-05-10T18:31:52.246Z] Successfully built ac970269944e [2023-05-10T18:31:52.246Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:31:52.747Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T18:31:52.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:31:53.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-14928 does not seem to be running inside a container [2023-05-10T18:31:53.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T18:31:54.352Z] $ docker top eb39eaba89437b8d8fb8a35beda24d065f15ecc43ee2ccb66fa6c1c6626a88a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T18:31:55.277Z] + go version [2023-05-10T18:31:55.277Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T18:31:55.316Z] $ docker stop --time=1 eb39eaba89437b8d8fb8a35beda24d065f15ecc43ee2ccb66fa6c1c6626a88a8 [2023-05-10T18:31:56.988Z] $ docker rm -f --volumes eb39eaba89437b8d8fb8a35beda24d065f15ecc43ee2ccb66fa6c1c6626a88a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:31:57.875Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T18:31:57.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:31:58.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-14928 does not seem to be running inside a container [2023-05-10T18:31:58.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T18:31:59.403Z] $ docker top 2cf4a53d9c4ec81766216150f41c01c5ea2f7430a4673e59984c8beb79a1a81b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T18:32:00.263Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-10T18:32:00.975Z] + make test [2023-05-10T18:32:00.975Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T18:32:39.874Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-10T18:35:01.620Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-10T18:35:06.983Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 2.0% of statements [2023-05-10T18:35:07.574Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T18:35:07.574Z] go vet ./... [2023-05-10T18:35:39.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T18:35:39.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T18:35:39.847Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T18:35:39.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T18:35:39.911Z] $ docker stop --time=1 2cf4a53d9c4ec81766216150f41c01c5ea2f7430a4673e59984c8beb79a1a81b [2023-05-10T18:35:41.833Z] $ docker rm -f --volumes 2cf4a53d9c4ec81766216150f41c01c5ea2f7430a4673e59984c8beb79a1a81b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T18:35:43.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T18:35:43.144Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T18:35:43.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T18:35:44.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T18:35:44.646Z] + ls -al . [2023-05-10T18:35:44.646Z] total 188 [2023-05-10T18:35:44.646Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:32 . [2023-05-10T18:35:44.646Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:29 .. [2023-05-10T18:35:44.646Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:29 .git [2023-05-10T18:35:44.646Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:29 .github [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 414 May 10 18:29 .gitignore [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 18:29 .golangci.yml [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 77 May 10 18:29 .hadolint.yml [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 10 18:29 Attribution.txt [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 10 18:29 CHANGELOG.md [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 10 18:29 Dockerfile [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 18:29 GOVERNANCE.md [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 659 May 10 18:29 Jenkinsfile [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 10 18:29 LICENSE [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 10 18:29 Makefile [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 18:29 OWNERS.md [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 10 18:29 README.md [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:26 VERSION [2023-05-10T18:35:44.646Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:29 bin [2023-05-10T18:35:44.646Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:29 cmd [2023-05-10T18:35:44.646Z] -rw-r--r-- 1 jenkins jenkins 28693 May 10 18:35 coverage.out [2023-05-10T18:35:44.646Z] -rwxrwxr-x 1 jenkins jenkins 140 May 10 18:29 docker-entrypoint.sh [2023-05-10T18:35:44.646Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:29 docs [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 10 18:29 go.mod [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 10 18:29 go.sum [2023-05-10T18:35:44.646Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:29 internal [2023-05-10T18:35:44.646Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:29 snap [2023-05-10T18:35:44.646Z] -rw-rw-r-- 1 jenkins jenkins 231 May 10 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:35:45.256Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6476b83f21de07fb542a89e1103ace71ecb877e3 --label arch=arm64 --label version=0.0.0 . [2023-05-10T18:35:45.538Z] Sending build context to Docker daemon 1.306MB [2023-05-10T18:35:45.538Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T18:35:45.538Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-10T18:35:45.538Z] ---> ac970269944e [2023-05-10T18:35:45.538Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-10T18:35:45.829Z] ---> Running in e6049bdfeb00 [2023-05-10T18:35:46.104Z] Removing intermediate container e6049bdfeb00 [2023-05-10T18:35:46.104Z] ---> 2189a498eaf1 [2023-05-10T18:35:46.104Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T18:35:46.104Z] ---> Running in fcea4009c428 [2023-05-10T18:35:46.402Z] Removing intermediate container fcea4009c428 [2023-05-10T18:35:46.402Z] ---> b9c8abf78c6b [2023-05-10T18:35:46.402Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-10T18:35:46.402Z] ---> Running in 66300adc8c15 [2023-05-10T18:35:46.695Z] Removing intermediate container 66300adc8c15 [2023-05-10T18:35:46.695Z] ---> 478f9521c098 [2023-05-10T18:35:46.695Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-10T18:35:46.972Z] ---> Running in b19ab4a2075f [2023-05-10T18:35:47.250Z] Removing intermediate container b19ab4a2075f [2023-05-10T18:35:47.250Z] ---> 612bdbe84228 [2023-05-10T18:35:47.250Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T18:35:47.250Z] ---> Running in 64211c1f8125 [2023-05-10T18:35:48.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T18:35:48.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T18:35:49.774Z] OK: 271 MiB in 67 packages [2023-05-10T18:35:52.376Z] Removing intermediate container 64211c1f8125 [2023-05-10T18:35:52.377Z] ---> a81a866974eb [2023-05-10T18:35:52.377Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-10T18:35:52.377Z] ---> Running in 6ae1fda3a764 [2023-05-10T18:35:52.963Z] Removing intermediate container 6ae1fda3a764 [2023-05-10T18:35:52.963Z] ---> b5a9de5b435e [2023-05-10T18:35:52.963Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-10T18:35:53.234Z] ---> d0d7786306fb [2023-05-10T18:35:53.234Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T18:35:53.502Z] ---> Running in 0a059c494016 [2023-05-10T18:35:56.092Z] Removing intermediate container 0a059c494016 [2023-05-10T18:35:56.092Z] ---> 2b59b568577f [2023-05-10T18:35:56.092Z] Step 11/35 : COPY . . [2023-05-10T18:35:56.675Z] ---> 0df51550e724 [2023-05-10T18:35:56.675Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-10T18:35:56.675Z] ---> Running in 8eb634839cf7 [2023-05-10T18:35:57.636Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T18:35:57.636Z] Dload Upload Total Spent Left Speed [2023-05-10T18:35:57.905Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2593 0 --:--:-- --:--:-- --:--:-- 2596 100 1062 100 1062  0 0 2589 0 --:--:-- --:--:-- --:--:-- 2590 [2023-05-10T18:35:58.878Z] Removing intermediate container 8eb634839cf7 [2023-05-10T18:35:58.878Z] ---> 51aeacbf218f [2023-05-10T18:35:58.878Z] Step 13/35 : RUN ${MAKE} [2023-05-10T18:35:58.878Z] ---> Running in ccd75bf07f47 [2023-05-10T18:35:59.839Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-10T18:38:51.593Z] Removing intermediate container ccd75bf07f47 [2023-05-10T18:38:51.593Z] ---> a133d22be8c8 [2023-05-10T18:38:51.593Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-10T18:38:51.593Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-10T18:38:51.593Z] 8766b47fe142: Pulling fs layer [2023-05-10T18:38:51.593Z] 8766b47fe142: Verifying Checksum [2023-05-10T18:38:51.593Z] 8766b47fe142: Download complete [2023-05-10T18:38:51.593Z] 8766b47fe142: Pull complete [2023-05-10T18:38:51.593Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-10T18:38:51.593Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-10T18:38:51.593Z] ---> 69d40e2cb93c [2023-05-10T18:38:51.593Z] Step 15/35 : FROM alpine:3.17 [2023-05-10T18:38:51.593Z] 3.17: Pulling from library/alpine [2023-05-10T18:38:51.593Z] c41833b44d91: Already exists [2023-05-10T18:38:51.593Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T18:38:51.593Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T18:38:51.593Z] ---> 51e60588ff2c [2023-05-10T18:38:51.593Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-10T18:38:51.593Z] ---> Running in 0da6b682bcb8 [2023-05-10T18:38:51.593Z] Removing intermediate container 0da6b682bcb8 [2023-05-10T18:38:51.593Z] ---> a77cf87df279 [2023-05-10T18:38:51.593Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-10T18:38:51.593Z] ---> Running in 8a219d64838a [2023-05-10T18:38:51.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T18:38:51.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T18:38:51.593Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-10T18:38:51.593Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-10T18:38:51.593Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-10T18:38:51.593Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-10T18:38:51.593Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-10T18:38:51.593Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-10T18:38:51.593Z] (7/83) Installing libxcb (1.15-r0) [2023-05-10T18:38:51.593Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-10T18:38:51.593Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-10T18:38:51.593Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-10T18:38:51.593Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-10T18:38:51.593Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-10T18:38:51.593Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-10T18:38:51.593Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-10T18:38:51.593Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-10T18:38:51.593Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-10T18:38:51.593Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-10T18:38:51.593Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-10T18:38:51.593Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-10T18:38:51.593Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-10T18:38:51.593Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-10T18:38:51.593Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-10T18:38:51.593Z] (23/83) Installing glib (2.74.6-r0) [2023-05-10T18:38:51.593Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-10T18:38:51.593Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-10T18:38:51.593Z] (26/83) Installing libass (0.16.0-r1) [2023-05-10T18:38:51.593Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-10T18:38:51.593Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-10T18:38:51.593Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-10T18:38:51.593Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-10T18:38:51.593Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-10T18:38:51.593Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-10T18:38:51.593Z] (33/83) Installing libunistring (1.1-r0) [2023-05-10T18:38:51.593Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-10T18:38:51.593Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-10T18:38:51.593Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-10T18:38:51.593Z] (37/83) Installing lame (3.100-r2) [2023-05-10T18:38:51.593Z] (38/83) Installing opus (1.3.1-r1) [2023-05-10T18:38:51.593Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-10T18:38:51.593Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-10T18:38:51.593Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-10T18:38:51.593Z] (42/83) Installing orc (0.4.33-r0) [2023-05-10T18:38:51.593Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-10T18:38:51.593Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-10T18:38:51.593Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-10T18:38:51.593Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-10T18:38:51.593Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-10T18:38:51.593Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-10T18:38:51.593Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-10T18:38:51.593Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-10T18:38:51.593Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-10T18:38:51.593Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-10T18:38:51.593Z] (53/83) Installing libpulse (16.1-r6) [2023-05-10T18:38:51.593Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-10T18:38:51.593Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-10T18:38:51.593Z] (56/83) Installing librist (0.2.7-r0) [2023-05-10T18:38:51.593Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-10T18:38:51.593Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-10T18:38:51.593Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-10T18:38:51.593Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-10T18:38:51.593Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-10T18:38:51.593Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-10T18:38:51.593Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-10T18:38:51.593Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-10T18:38:51.594Z] (65/83) Installing libva (2.16.0-r0) [2023-05-10T18:38:51.594Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-10T18:38:51.594Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-10T18:38:51.594Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-10T18:38:51.594Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-10T18:38:51.594Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-10T18:38:51.594Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-10T18:38:51.594Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-10T18:38:51.594Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-10T18:38:51.594Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-10T18:38:51.594Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-10T18:38:51.594Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-10T18:38:51.868Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-10T18:38:51.868Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-10T18:38:51.868Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-10T18:38:51.868Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-10T18:38:51.868Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-10T18:38:51.868Z] (82/83) Installing kmod-libs (30-r1) [2023-05-10T18:38:51.868Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-10T18:38:51.868Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T18:38:51.868Z] Executing eudev-3.2.11-r4.trigger [2023-05-10T18:38:51.868Z] OK: 86 MiB in 98 packages [2023-05-10T18:38:55.256Z] Removing intermediate container 8a219d64838a [2023-05-10T18:38:55.256Z] ---> 9255f45a7643 [2023-05-10T18:38:55.256Z] Step 18/35 : WORKDIR / [2023-05-10T18:38:55.526Z] ---> Running in 67896e719a35 [2023-05-10T18:38:55.800Z] Removing intermediate container 67896e719a35 [2023-05-10T18:38:55.800Z] ---> 28ea02cb53d2 [2023-05-10T18:38:55.800Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-10T18:38:57.219Z] ---> 4da1e970995c [2023-05-10T18:38:57.219Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-10T18:38:57.808Z] ---> 979545891372 [2023-05-10T18:38:57.808Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-10T18:38:58.398Z] ---> a9577a1c4073 [2023-05-10T18:38:58.398Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-10T18:38:58.674Z] ---> a0a6ba5fbe5c [2023-05-10T18:38:58.674Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-10T18:38:59.267Z] ---> 1f02692affba [2023-05-10T18:38:59.267Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-10T18:38:59.857Z] ---> a7aef43fb50f [2023-05-10T18:38:59.857Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-10T18:39:01.289Z] ---> 08fef085589c [2023-05-10T18:39:01.289Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-10T18:39:01.289Z] ---> Running in 52742f3daed1 [2023-05-10T18:39:03.259Z] Removing intermediate container 52742f3daed1 [2023-05-10T18:39:03.259Z] ---> 543c3e776819 [2023-05-10T18:39:03.259Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-10T18:39:03.259Z] ---> Running in 3aceadcbaf87 [2023-05-10T18:39:05.220Z] Removing intermediate container 3aceadcbaf87 [2023-05-10T18:39:05.220Z] ---> abbb1ed08c2a [2023-05-10T18:39:05.220Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-10T18:39:05.220Z] ---> Running in b1f96a350555 [2023-05-10T18:39:07.184Z] Removing intermediate container b1f96a350555 [2023-05-10T18:39:07.184Z] ---> ef663ce70249 [2023-05-10T18:39:07.184Z] Step 29/35 : EXPOSE 59983 [2023-05-10T18:39:07.184Z] ---> Running in 2e7eafb67f51 [2023-05-10T18:39:07.184Z] Removing intermediate container 2e7eafb67f51 [2023-05-10T18:39:07.184Z] ---> 650d2b5ea888 [2023-05-10T18:39:07.184Z] Step 30/35 : EXPOSE 8554 [2023-05-10T18:39:07.457Z] ---> Running in 3553833879a7 [2023-05-10T18:39:07.724Z] Removing intermediate container 3553833879a7 [2023-05-10T18:39:07.724Z] ---> 78cc79aaf790 [2023-05-10T18:39:07.724Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-10T18:39:07.724Z] ---> Running in ba426a3b5551 [2023-05-10T18:39:07.991Z] Removing intermediate container ba426a3b5551 [2023-05-10T18:39:07.991Z] ---> 4f8afb51fd9d [2023-05-10T18:39:07.991Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-10T18:39:08.265Z] ---> Running in fe0c3e54603e [2023-05-10T18:39:08.535Z] Removing intermediate container fe0c3e54603e [2023-05-10T18:39:08.535Z] ---> 70ad584dc9a3 [2023-05-10T18:39:08.535Z] Step 33/35 : LABEL arch=arm64 [2023-05-10T18:39:08.535Z] ---> Running in 496c7f7800cb [2023-05-10T18:39:08.907Z] Removing intermediate container 496c7f7800cb [2023-05-10T18:39:08.907Z] ---> 94503be4d98b [2023-05-10T18:39:08.907Z] Step 34/35 : LABEL git_sha=6476b83f21de07fb542a89e1103ace71ecb877e3 [2023-05-10T18:39:08.907Z] ---> Running in ad8f8935a4b2 [2023-05-10T18:39:09.177Z] Removing intermediate container ad8f8935a4b2 [2023-05-10T18:39:09.177Z] ---> a6a860e9c502 [2023-05-10T18:39:09.177Z] Step 35/35 : LABEL version=0.0.0 [2023-05-10T18:39:09.447Z] ---> Running in 73968b65ef08 [2023-05-10T18:39:09.716Z] Removing intermediate container 73968b65ef08 [2023-05-10T18:39:09.716Z] ---> 4f16fe7867f8 [2023-05-10T18:39:09.716Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T18:39:09.716Z] Successfully built 4f16fe7867f8 [2023-05-10T18:39:09.716Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:39:10.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T18:39:10.523Z] [2023-05-10T18:39:10.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:39:10.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T18:39:10.928Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T18:39:10.928Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T18:39:10.928Z] 04944245beec: Pulling fs layer [2023-05-10T18:39:10.928Z] 699f458cf7ca: Pulling fs layer [2023-05-10T18:39:10.928Z] 765212b225bb: Pulling fs layer [2023-05-10T18:39:10.928Z] f23df028b6ca: Pulling fs layer [2023-05-10T18:39:10.928Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T18:39:10.928Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T18:39:10.928Z] 765212b225bb: Waiting [2023-05-10T18:39:10.928Z] f23df028b6ca: Waiting [2023-05-10T18:39:10.928Z] d65c8cfc05b1: Waiting [2023-05-10T18:39:10.928Z] 2437ff75d9bd: Waiting [2023-05-10T18:39:11.199Z] 04944245beec: Verifying Checksum [2023-05-10T18:39:11.199Z] 04944245beec: Download complete [2023-05-10T18:39:11.199Z] 765212b225bb: Verifying Checksum [2023-05-10T18:39:11.199Z] 765212b225bb: Download complete [2023-05-10T18:39:11.199Z] f23df028b6ca: Verifying Checksum [2023-05-10T18:39:11.199Z] f23df028b6ca: Download complete [2023-05-10T18:39:11.199Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T18:39:11.199Z] d65c8cfc05b1: Download complete [2023-05-10T18:39:11.468Z] 699f458cf7ca: Verifying Checksum [2023-05-10T18:39:11.735Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T18:39:11.735Z] 8998bd30e6a1: Download complete [2023-05-10T18:39:14.339Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T18:39:14.339Z] 2437ff75d9bd: Download complete [2023-05-10T18:39:15.752Z] 8998bd30e6a1: Pull complete [2023-05-10T18:39:17.709Z] 04944245beec: Pull complete [2023-05-10T18:39:18.671Z] 699f458cf7ca: Pull complete [2023-05-10T18:39:18.940Z] 765212b225bb: Pull complete [2023-05-10T18:39:19.902Z] f23df028b6ca: Pull complete [2023-05-10T18:39:19.902Z] d65c8cfc05b1: Pull complete [2023-05-10T18:39:34.911Z] 2437ff75d9bd: Pull complete [2023-05-10T18:39:34.911Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T18:39:34.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T18:39:34.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:39:35.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-14928 does not seem to be running inside a container [2023-05-10T18:39:35.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-10T18:39:38.265Z] $ docker top 5a83c5fe347e661f8a09265a337329a6512bb448bd2c1fd53a815f5dff91f1f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:39.193Z] ---> job-cost.sh [2023-05-10T18:39:39.193Z] lf-activate-venv: SKIPPING [2023-05-10T18:39:39.193Z] INFO: No Stack... [2023-05-10T18:39:39.779Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T18:39:40.367Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T18:39:41.165Z] + cut -d, -f6 [2023-05-10T18:39:41.165Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-05-10T18:39:41.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [2023-05-10T18:39:41.237Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] did not exist. Created. [2023-05-10T18:39:41.237Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T18:39:41.984Z] /w/workspace/device-usb-camera/1@tmp/durable-c6af79f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T18:39:42.680Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T18:39:42.717Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T18:39:42.776Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T18:39:42.798Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T18:39:42.878Z] $ docker stop --time=1 5a83c5fe347e661f8a09265a337329a6512bb448bd2c1fd53a815f5dff91f1f8 [2023-05-10T18:39:44.434Z] $ docker rm -f --volumes 5a83c5fe347e661f8a09265a337329a6512bb448bd2c1fd53a815f5dff91f1f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-10T18:39:45.400Z] provisioning config files... [2023-05-10T18:39:45.407Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-244@tmp/config14385639405524600374tmp [Pipeline] { [Pipeline] sh [2023-05-10T18:39:45.746Z] + set +x [2023-05-10T18:39:45.746Z] + curl -s https://codecov.io/bash [2023-05-10T18:39:45.746Z] + bash -s -- [2023-05-10T18:39:45.746Z] [2023-05-10T18:39:45.746Z] _____ _ [2023-05-10T18:39:45.746Z] / ____| | | [2023-05-10T18:39:45.746Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T18:39:45.746Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T18:39:45.746Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T18:39:45.746Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T18:39:45.746Z] Bash-1.0.6 [2023-05-10T18:39:45.746Z] [2023-05-10T18:39:45.746Z] [2023-05-10T18:39:45.746Z] ==> git version 2.25.1 found [2023-05-10T18:39:45.746Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-10T18:39:45.746Z] Release-Date: 2020-01-08 [2023-05-10T18:39:45.746Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-10T18:39:45.746Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T18:39:45.746Z] ==> Jenkins CI detected. [2023-05-10T18:39:45.746Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-244 [2023-05-10T18:39:45.746Z] project root: . [2023-05-10T18:39:45.746Z] --> token set from env [2023-05-10T18:39:45.746Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T18:39:45.746Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T18:39:45.746Z] ==> Python coveragepy not found [2023-05-10T18:39:45.746Z] ==> Searching for coverage reports in: [2023-05-10T18:39:45.746Z] + . [2023-05-10T18:39:45.746Z] -> Found 1 reports [2023-05-10T18:39:45.746Z] ==> Detecting git/mercurial file structure [2023-05-10T18:39:45.746Z] ==> Reading reports [2023-05-10T18:39:45.746Z] + ./coverage.out bytes=28693 [2023-05-10T18:39:45.746Z] ==> Appending adjustments [2023-05-10T18:39:45.746Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T18:39:46.007Z] + Found adjustments [2023-05-10T18:39:46.007Z] ==> Gzipping contents [2023-05-10T18:39:46.007Z] 4.0K /tmp/codecov.PDaSnm.gz [2023-05-10T18:39:46.007Z] ==> Uploading reports [2023-05-10T18:39:46.007Z] url: https://codecov.io [2023-05-10T18:39:46.007Z] query: branch=PR-244&commit=6476b83f21de07fb542a89e1103ace71ecb877e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=244&job=&cmd_args= [2023-05-10T18:39:46.007Z] -> Pinging Codecov [2023-05-10T18:39:46.007Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-244&commit=6476b83f21de07fb542a89e1103ace71ecb877e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=244&job=&cmd_args= [2023-05-10T18:39:46.268Z] -> Uploading to [2023-05-10T18:39:46.268Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/73D8F5FF140700D3E01443B452E23636/6476b83f21de07fb542a89e1103ace71ecb877e3/883b3713-a88a-41bc-a6d4-25c0e5962688.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T183946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3493ec63b7af1f0255b30beebe4034f5135af9a127cae2c50030243dc75e6a84 [2023-05-10T18:39:46.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T18:39:46.268Z] Dload Upload Total Spent Left Speed [2023-05-10T18:39:46.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 14032 --:--:-- --:--:-- --:--:-- 14082 [2023-05-10T18:39:46.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/6476b83f21de07fb542a89e1103ace71ecb877e3 [Pipeline] } [2023-05-10T18:39:46.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-05-10T18:39:48.319Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-244/archives ] [2023-05-10T18:39:48.319Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-244/archives [2023-05-10T18:39:48.319Z] total 16 [2023-05-10T18:39:48.319Z] drwxr-xr-x 3 root root 4096 May 10 18:29 . [2023-05-10T18:39:48.319Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 18:29 .. [2023-05-10T18:39:48.319Z] drwxr-xr-x 2 root root 4096 May 10 18:29 cost [2023-05-10T18:39:48.319Z] -rw-r--r-- 1 root root 89 May 10 18:29 cost.csv [2023-05-10T18:39:48.319Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-244/archives [2023-05-10T18:39:48.319Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-244/archives [2023-05-10T18:39:48.319Z] total 16 [2023-05-10T18:39:48.319Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:29 . [2023-05-10T18:39:48.319Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 18:29 .. [2023-05-10T18:39:48.319Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 18:29 cost [2023-05-10T18:39:48.319Z] -rw-r--r-- 1 jenkins jenkins 89 May 10 18:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:48.650Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:49.543Z] ---> package-listing.sh [2023-05-10T18:39:49.543Z] ++ facter osfamily [2023-05-10T18:39:49.543Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T18:39:49.808Z] + OS_FAMILY=debian [2023-05-10T18:39:49.808Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-244 [2023-05-10T18:39:49.808Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T18:39:49.808Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T18:39:49.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T18:39:49.808Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T18:39:49.808Z] + '[' /w/workspace/foundry_device-usb-camera_PR-244 ']' [2023-05-10T18:39:49.808Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T18:39:49.808Z] + case "${OS_FAMILY}" in [2023-05-10T18:39:49.808Z] + dpkg -l [2023-05-10T18:39:49.808Z] + grep '^ii' [2023-05-10T18:39:49.808Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T18:39:49.808Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T18:39:49.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T18:39:49.808Z] + '[' /w/workspace/foundry_device-usb-camera_PR-244 ']' [2023-05-10T18:39:49.808Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-244/archives/ [2023-05-10T18:39:49.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-244/archives/ [Pipeline] echo [2023-05-10T18:39:49.843Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T18:39:50.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T18:39:50.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T18:39:50.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T18:39:50.915Z] prd-ubuntu20.04-docker-8c-8g-14926 does not seem to be running inside a container [2023-05-10T18:39:50.953Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-244 -v /w/workspace/foundry_device-usb-camera_PR-244:/w/workspace/foundry_device-usb-camera_PR-244:rw,z -v /w/workspace/foundry_device-usb-camera_PR-244@tmp:/w/workspace/foundry_device-usb-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T18:39:51.152Z] $ docker top 25cc796576a966d9cf05622aaa11b1110fd659827e8095a0a50ed7bc4a7848f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T18:39:51.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T18:39:51.848Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T18:39:52.260Z] + ls /var/log/sa-host [2023-05-10T18:39:52.260Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T18:39:52.400Z] provisioning config files... [2023-05-10T18:39:52.409Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-244@tmp/config8450217115968683741tmp [Pipeline] { [Pipeline] echo [2023-05-10T18:39:52.464Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:52.774Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T18:39:52.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:53.197Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T18:39:53.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:53.540Z] ---> sudo-logs.sh [2023-05-10T18:39:53.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T18:39:53.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:53.930Z] ---> job-cost.sh [2023-05-10T18:39:53.930Z] lf-activate-venv: SKIPPING [2023-05-10T18:39:53.930Z] DEBUG: total: 0.2199999988079071 [2023-05-10T18:39:53.930Z] INFO: Retrieving Stack Cost... [2023-05-10T18:39:54.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T18:39:54.761Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T18:39:54.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T18:39:55.110Z] ---> logs-deploy.sh [2023-05-10T18:39:55.110Z] lf-activate-venv: SKIPPING [2023-05-10T18:39:55.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-244/1 [2023-05-10T18:39:55.110Z] INFO: archiving workspace using pattern(s): [2023-05-10T18:39:56.050Z] Archives upload complete. [2023-05-10T18:39:56.617Z] INFO: archiving logs to Nexus