Pull request #239 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c85496efda55dc2dae0844c7386cd3ce3716382f+beed2f8d28cc393e5ecf72eec326ecfe84dcca0e (44e8f0af42fae62b40403c175f2aed76c5848922) 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-ssh12244362340242559566.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-ssh6726060187581568511.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-239/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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13755421224400035321.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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5670505986435089566.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-ssh1642290357252241766.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-239/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-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2425380950168394724.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-14517’ Running on prd-ubuntu20.04-docker-8c-8g-14520 in /w/workspace/foundry_device-usb-camera_PR-239 [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-239 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit beed2f8d28cc393e5ecf72eec326ecfe84dcca0e into PR head commit c85496efda55dc2dae0844c7386cd3ce3716382f Merge succeeded, producing c85496efda55dc2dae0844c7386cd3ce3716382f Checking out Revision c85496efda55dc2dae0844c7386cd3ce3716382f (PR-239) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c85496efda55dc2dae0844c7386cd3ce3716382f # 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 beed2f8d28cc393e5ecf72eec326ecfe84dcca0e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c85496efda55dc2dae0844c7386cd3ce3716382f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T18:04:05.893Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T18:04:06.095Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T18:04:06.201Z] ========================================================= [2023-05-08T18:04:06.201Z] EdgeX Global Pipelines Version Info [2023-05-08T18:04:06.201Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:04:06.937Z] ------------------- [2023-05-08T18:04:06.937Z] stable info: [2023-05-08T18:04:06.937Z] ------------------- [2023-05-08T18:04:06.937Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T18:04:06.937Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T18:04:06.937Z] Message: update stable to v1.0.249 [2023-05-08T18:04:07.505Z] ------------------- [2023-05-08T18:04:07.505Z] experimental info: [2023-05-08T18:04:07.505Z] ------------------- [2023-05-08T18:04:07.505Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T18:04:07.505Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T18:04:07.505Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T18:04:07.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-08T18:04:07.959Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-08T18:04:08.003Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T18:04:08.045Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T18:04:08.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T18:04:08.133Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T18:04:08.175Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T18:04:08.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T18:04:08.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T18:04:08.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T18:04:08.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T18:04:08.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-08T18:04:08.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T18:04:08.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T18:04:08.517Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T18:04:08.558Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T18:04:08.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T18:04:08.639Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T18:04:08.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T18:04:08.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T18:04:08.775Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T18:04:08.825Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T18:04:08.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T18:04:08.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T18:04:08.955Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T18:04:08.996Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T18:04:09.038Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T18:04:09.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo [2023-05-08T18:04:09.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo [2023-05-08T18:04:09.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo [2023-05-08T18:04:09.215Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c85496efda55dc2dae0844c7386cd3ce3716382f [Pipeline] echo [2023-05-08T18:04:09.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c85496e [Pipeline] echo [2023-05-08T18:04:09.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:04:09.433Z] provisioning config files... [2023-05-08T18:04:09.447Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-239@tmp/config7426290312932433812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:04:09.805Z] ---> docker-login.sh [2023-05-08T18:04:09.806Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:04:10.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:10.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:10.067Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:10.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:10.067Z] [2023-05-08T18:04:10.067Z] Login Succeeded [2023-05-08T18:04:10.067Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:04:10.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:10.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:10.330Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:10.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:10.330Z] [2023-05-08T18:04:10.330Z] Login Succeeded [2023-05-08T18:04:10.330Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:04:10.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:10.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:10.330Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:10.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:10.330Z] [2023-05-08T18:04:10.330Z] Login Succeeded [2023-05-08T18:04:10.330Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:04:10.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:10.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:10.590Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:10.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:10.590Z] [2023-05-08T18:04:10.590Z] Login Succeeded [2023-05-08T18:04:10.590Z] docker.io [2023-05-08T18:04:10.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:10.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:10.849Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:10.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:10.849Z] [2023-05-08T18:04:10.849Z] Login Succeeded [2023-05-08T18:04:10.849Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:04:10.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T18:04:11.511Z] + git rev-list -1 --merges c85496efda55dc2dae0844c7386cd3ce3716382f~1..c85496efda55dc2dae0844c7386cd3ce3716382f [Pipeline] echo [2023-05-08T18:04:11.567Z] -----------> git rev-list -1 --merges c85496efda55dc2dae0844c7386cd3ce3716382f~1..c85496efda55dc2dae0844c7386cd3ce3716382f c85496efda55dc2dae0844c7386cd3ce3716382f [false] [Pipeline] sh [2023-05-08T18:04:11.882Z] + git log --format=format:%s -1 c85496efda55dc2dae0844c7386cd3ce3716382f [Pipeline] echo [2023-05-08T18:04:11.914Z] ========================================================= [2023-05-08T18:04:11.914Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T18:04:11.914Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:04:12.403Z] + git log --format=format:%s -1 c85496efda55dc2dae0844c7386cd3ce3716382f [Pipeline] echo [2023-05-08T18:04:12.439Z] [semverPrep] GIT_COMMIT: c85496efda55dc2dae0844c7386cd3ce3716382f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-08T18:04:12.469Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T18:04:12.891Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T18:04:12.891Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T18:04:12.891Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T18:04:12.891Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T18:04:12.891Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T18:04:12.891Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T18:04:12.891Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:04:13.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:04:13.436Z] [2023-05-08T18:04:13.436Z] 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-08T18:04:13.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:04:13.830Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T18:04:13.830Z] b85a868b505f: Pulling fs layer [2023-05-08T18:04:13.830Z] e2be974225ed: Pulling fs layer [2023-05-08T18:04:13.830Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T18:04:13.830Z] 988bab9f4d93: Pulling fs layer [2023-05-08T18:04:13.830Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T18:04:13.830Z] eaf3925da568: Pulling fs layer [2023-05-08T18:04:13.830Z] bab4dde63d76: Pulling fs layer [2023-05-08T18:04:13.830Z] bde34c3a00c8: Pulling fs layer [2023-05-08T18:04:13.830Z] b352a97aabf1: Pulling fs layer [2023-05-08T18:04:13.830Z] 4872d77fe225: Pulling fs layer [2023-05-08T18:04:13.830Z] 5851b861e8e6: Pulling fs layer [2023-05-08T18:04:13.830Z] 988bab9f4d93: Waiting [2023-05-08T18:04:13.830Z] 1469e6f7b9e6: Waiting [2023-05-08T18:04:13.830Z] eaf3925da568: Waiting [2023-05-08T18:04:13.830Z] bab4dde63d76: Waiting [2023-05-08T18:04:13.830Z] bde34c3a00c8: Waiting [2023-05-08T18:04:13.830Z] b352a97aabf1: Waiting [2023-05-08T18:04:13.830Z] 4872d77fe225: Waiting [2023-05-08T18:04:13.830Z] 5851b861e8e6: Waiting [2023-05-08T18:04:13.830Z] e2be974225ed: Download complete [2023-05-08T18:04:13.830Z] 988bab9f4d93: Verifying Checksum [2023-05-08T18:04:13.830Z] 988bab9f4d93: Download complete [2023-05-08T18:04:13.830Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T18:04:13.830Z] 1469e6f7b9e6: Download complete [2023-05-08T18:04:14.089Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T18:04:14.089Z] 339a4e72a1f5: Download complete [2023-05-08T18:04:14.089Z] eaf3925da568: Download complete [2023-05-08T18:04:14.089Z] bde34c3a00c8: Verifying Checksum [2023-05-08T18:04:14.089Z] bde34c3a00c8: Download complete [2023-05-08T18:04:14.089Z] b352a97aabf1: Verifying Checksum [2023-05-08T18:04:14.089Z] b352a97aabf1: Download complete [2023-05-08T18:04:14.089Z] 4872d77fe225: Verifying Checksum [2023-05-08T18:04:14.089Z] 4872d77fe225: Download complete [2023-05-08T18:04:14.089Z] 5851b861e8e6: Download complete [2023-05-08T18:04:14.089Z] b85a868b505f: Verifying Checksum [2023-05-08T18:04:14.089Z] b85a868b505f: Download complete [2023-05-08T18:04:14.348Z] bab4dde63d76: Verifying Checksum [2023-05-08T18:04:14.348Z] bab4dde63d76: Download complete [2023-05-08T18:04:15.298Z] b85a868b505f: Pull complete [2023-05-08T18:04:15.298Z] e2be974225ed: Pull complete [2023-05-08T18:04:15.865Z] 339a4e72a1f5: Pull complete [2023-05-08T18:04:15.865Z] 988bab9f4d93: Pull complete [2023-05-08T18:04:16.125Z] 1469e6f7b9e6: Pull complete [2023-05-08T18:04:16.125Z] eaf3925da568: Pull complete [2023-05-08T18:04:18.025Z] bab4dde63d76: Pull complete [2023-05-08T18:04:18.025Z] bde34c3a00c8: Pull complete [2023-05-08T18:04:18.025Z] b352a97aabf1: Pull complete [2023-05-08T18:04:18.025Z] 4872d77fe225: Pull complete [2023-05-08T18:04:18.025Z] 5851b861e8e6: Pull complete [2023-05-08T18:04:18.025Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T18:04:18.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:04:18.025Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:04:18.241Z] prd-ubuntu20.04-docker-8c-8g-14520 does not seem to be running inside a container [2023-05-08T18:04:18.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-239 -v /w/workspace/foundry_device-usb-camera_PR-239:/w/workspace/foundry_device-usb-camera_PR-239:rw,z -v /w/workspace/foundry_device-usb-camera_PR-239@tmp:/w/workspace/foundry_device-usb-camera_PR-239@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-08T18:04:21.062Z] $ docker top 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd -eo pid,comm [2023-05-08T18:04:21.109Z] 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-08T18:04:21.109Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T18:04:21.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T18:04:21.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T18:04:21.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T18:04:21.357Z] $ docker exec 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd ssh-agent [2023-05-08T18:04:21.451Z] SSH_AUTH_SOCK=/tmp/ssh-gXDpCFKGhXRX/agent.33 [2023-05-08T18:04:21.451Z] SSH_AGENT_PID=39 [2023-05-08T18:04:21.457Z] Running ssh-add (command line suppressed) [2023-05-08T18:04:21.554Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-239@tmp/private_key_3520353327092347733.key (/w/workspace/foundry_device-usb-camera_PR-239@tmp/private_key_3520353327092347733.key) [2023-05-08T18:04:21.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T18:04:21.895Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T18:04:21.927Z] $ docker exec --env ******** --env ******** 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd ssh-agent -k [2023-05-08T18:04:22.031Z] unset SSH_AUTH_SOCK; [2023-05-08T18:04:22.031Z] unset SSH_AGENT_PID; [2023-05-08T18:04:22.031Z] echo Agent pid 39 killed; [2023-05-08T18:04:22.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T18:04:22.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T18:04:22.119Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T18:04:22.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T18:04:22.231Z] $ docker exec 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd ssh-agent [2023-05-08T18:04:22.338Z] SSH_AUTH_SOCK=/tmp/ssh-eOoHYzCaBnuq/agent.71 [2023-05-08T18:04:22.338Z] SSH_AGENT_PID=77 [2023-05-08T18:04:22.344Z] Running ssh-add (command line suppressed) [2023-05-08T18:04:22.448Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-239@tmp/private_key_14898029545844336696.key (/w/workspace/foundry_device-usb-camera_PR-239@tmp/private_key_14898029545844336696.key) [2023-05-08T18:04:22.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T18:04:22.807Z] + git semver init [2023-05-08T18:04:23.069Z] 2023-05-08 18:04:22,974 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T18:04:23.070Z] 2023-05-08 18:04:22,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-239/.semver [2023-05-08T18:04:23.070Z] 2023-05-08 18:04:22,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-239/.semver [2023-05-08T18:04:23.070Z] 2023-05-08 18:04:22,975 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-239/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-239, universal_newlines=False, shell=None, istream=None) [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,651 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-239/.git/info/exclude [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-239/.semver/PR-239 with force:False [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,652 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-239/.semver/PR-239 [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,657 [execute] INFO git cat-file --batch-check [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,662 [execute] INFO git cat-file --batch [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T18:04:24.009Z] 2023-05-08 18:04:23,668 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-239/.semver/PR-239 [2023-05-08T18:04:24.009Z] 0.0.0 [Pipeline] } [2023-05-08T18:04:24.041Z] $ docker exec --env ******** --env ******** 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd ssh-agent -k [2023-05-08T18:04:24.150Z] unset SSH_AUTH_SOCK; [2023-05-08T18:04:24.150Z] unset SSH_AGENT_PID; [2023-05-08T18:04:24.151Z] echo Agent pid 77 killed; [2023-05-08T18:04:24.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T18:04:24.568Z] + git semver [Pipeline] } [2023-05-08T18:04:25.179Z] $ docker stop --time=1 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd [2023-05-08T18:04:26.514Z] $ docker rm -f --volumes 41e3600a86f6eade4ce92118583e90d279310461720bbdb854300b7be812c4cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:04:26.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T18:04:27.185Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T18:04:27.201Z] [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-08T18:04:27.802Z] provisioning config files... [2023-05-08T18:04:27.812Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-239@tmp/config1317493374994539028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:04:28.186Z] ---> docker-login.sh [2023-05-08T18:04:28.186Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:04:28.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:28.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:28.186Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:28.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:28.186Z] [2023-05-08T18:04:28.186Z] Login Succeeded [2023-05-08T18:04:28.186Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:04:28.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:28.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:28.186Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:28.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:28.186Z] [2023-05-08T18:04:28.186Z] Login Succeeded [2023-05-08T18:04:28.186Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:04:28.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:28.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:28.444Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:28.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:28.444Z] [2023-05-08T18:04:28.444Z] Login Succeeded [2023-05-08T18:04:28.444Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:04:28.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:28.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:28.444Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:28.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:28.444Z] [2023-05-08T18:04:28.444Z] Login Succeeded [2023-05-08T18:04:28.444Z] docker.io [2023-05-08T18:04:28.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:04:28.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:04:28.703Z] Configure a credential helper to remove this warning. See [2023-05-08T18:04:28.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:04:28.703Z] [2023-05-08T18:04:28.703Z] Login Succeeded [2023-05-08T18:04:28.703Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:04:28.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T18:04:28.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:04:28.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:04:28.999Z] ========================================================= [2023-05-08T18:04:28.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T18:04:28.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:04:29.460Z] + 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-08T18:04:29.460Z] Sending build context to Docker daemon 1.989MB [2023-05-08T18:04:29.460Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:04:29.460Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T18:04:29.460Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T18:04:29.460Z] f56be85fc22e: Pulling fs layer [2023-05-08T18:04:29.460Z] 85791d961cd3: Pulling fs layer [2023-05-08T18:04:29.460Z] d694b5ae8c79: Pulling fs layer [2023-05-08T18:04:29.460Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T18:04:29.460Z] 4d19c01a9841: Pulling fs layer [2023-05-08T18:04:29.460Z] 9325e15d5711: Pulling fs layer [2023-05-08T18:04:29.460Z] 556b6ee489ea: Pulling fs layer [2023-05-08T18:04:29.460Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T18:04:29.460Z] 4d19c01a9841: Waiting [2023-05-08T18:04:29.460Z] 9325e15d5711: Waiting [2023-05-08T18:04:29.460Z] 556b6ee489ea: Waiting [2023-05-08T18:04:29.460Z] c5a4b2cf53e6: Waiting [2023-05-08T18:04:29.460Z] 9f32a84ed3da: Waiting [2023-05-08T18:04:29.460Z] 85791d961cd3: Verifying Checksum [2023-05-08T18:04:29.460Z] 85791d961cd3: Download complete [2023-05-08T18:04:29.460Z] 9f32a84ed3da: Download complete [2023-05-08T18:04:29.460Z] 4d19c01a9841: Verifying Checksum [2023-05-08T18:04:29.460Z] 4d19c01a9841: Download complete [2023-05-08T18:04:29.460Z] f56be85fc22e: Verifying Checksum [2023-05-08T18:04:29.460Z] f56be85fc22e: Download complete [2023-05-08T18:04:29.719Z] 9325e15d5711: Verifying Checksum [2023-05-08T18:04:29.719Z] 9325e15d5711: Download complete [2023-05-08T18:04:29.719Z] f56be85fc22e: Pull complete [2023-05-08T18:04:29.977Z] 85791d961cd3: Pull complete [2023-05-08T18:04:29.977Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T18:04:29.977Z] c5a4b2cf53e6: Download complete [2023-05-08T18:04:30.237Z] d694b5ae8c79: Verifying Checksum [2023-05-08T18:04:30.237Z] d694b5ae8c79: Download complete [2023-05-08T18:04:30.497Z] 556b6ee489ea: Verifying Checksum [2023-05-08T18:04:30.497Z] 556b6ee489ea: Download complete [2023-05-08T18:04:33.780Z] d694b5ae8c79: Pull complete [2023-05-08T18:04:33.780Z] 9f32a84ed3da: Pull complete [2023-05-08T18:04:33.780Z] 4d19c01a9841: Pull complete [2023-05-08T18:04:33.780Z] 9325e15d5711: Pull complete [2023-05-08T18:04:36.310Z] 556b6ee489ea: Pull complete [2023-05-08T18:04:37.253Z] c5a4b2cf53e6: Pull complete [2023-05-08T18:04:37.253Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T18:04:37.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T18:04:37.253Z] ---> c4be618373d6 [2023-05-08T18:04:37.253Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T18:04:41.469Z] ---> Running in 152767abae84 [2023-05-08T18:04:41.469Z] Removing intermediate container 152767abae84 [2023-05-08T18:04:41.469Z] ---> 4c0ee8c282ad [2023-05-08T18:04:41.469Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T18:04:41.469Z] ---> Running in 263fa5f34536 [2023-05-08T18:04:41.469Z] Removing intermediate container 263fa5f34536 [2023-05-08T18:04:41.469Z] ---> 6937d73137eb [2023-05-08T18:04:41.469Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T18:04:41.469Z] ---> Running in 6382f3cb9f83 [2023-05-08T18:04:41.469Z] Removing intermediate container 6382f3cb9f83 [2023-05-08T18:04:41.469Z] ---> c91dd2bbd436 [2023-05-08T18:04:41.469Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T18:04:41.469Z] ---> Running in 6c05d43ed9c0 [2023-05-08T18:04:41.469Z] Removing intermediate container 6c05d43ed9c0 [2023-05-08T18:04:41.469Z] ---> 3987dac93b42 [2023-05-08T18:04:41.469Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T18:04:41.469Z] ---> Running in 97133cd384e6 [2023-05-08T18:04:41.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:04:41.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:04:41.992Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T18:04:41.992Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T18:04:41.992Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T18:04:41.992Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T18:04:41.992Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T18:04:42.251Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T18:04:42.251Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T18:04:42.251Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T18:04:42.251Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T18:04:42.251Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T18:04:42.251Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T18:04:42.251Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T18:04:42.251Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T18:04:42.251Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T18:04:42.251Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T18:04:42.251Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T18:04:42.251Z] OK: 272 MiB in 67 packages [2023-05-08T18:04:42.618Z] Still waiting to schedule task [2023-05-08T18:04:42.618Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14518’ [2023-05-08T18:04:42.819Z] Removing intermediate container 97133cd384e6 [2023-05-08T18:04:42.819Z] ---> e39eecca5183 [2023-05-08T18:04:42.819Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T18:04:42.819Z] ---> Running in de97c6d8a4d2 [2023-05-08T18:04:42.819Z] Removing intermediate container de97c6d8a4d2 [2023-05-08T18:04:42.819Z] ---> c120b502d78e [2023-05-08T18:04:42.819Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T18:04:43.077Z] ---> 82406ea833d4 [2023-05-08T18:04:43.077Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:04:43.077Z] ---> Running in 7cf249f93689 [2023-05-08T18:05:15.311Z] Removing intermediate container 7cf249f93689 [2023-05-08T18:05:15.311Z] ---> 7d49ec47aeb4 [2023-05-08T18:05:15.311Z] Step 11/13 : COPY . . [2023-05-08T18:05:15.311Z] ---> f1be60de285b [2023-05-08T18:05:15.311Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T18:05:15.311Z] ---> Running in 5de36d71b478 [2023-05-08T18:05:15.311Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:05:15.311Z]  Dload Upload Total Spent Left Speed [2023-05-08T18:05:15.311Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5496 0 --:--:-- --:--:-- --:--:-- 5502 [2023-05-08T18:05:15.311Z] Removing intermediate container 5de36d71b478 [2023-05-08T18:05:15.311Z] ---> 6db7172f56c3 [2023-05-08T18:05:15.311Z] Step 13/13 : RUN ${MAKE} [2023-05-08T18:05:15.311Z] ---> Running in 358bc51cb78c [2023-05-08T18:05:15.311Z] noop [2023-05-08T18:05:15.311Z] Removing intermediate container 358bc51cb78c [2023-05-08T18:05:15.311Z] ---> 4c70d068bb00 [2023-05-08T18:05:15.311Z] Successfully built 4c70d068bb00 [2023-05-08T18:05:15.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:05:15.755Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T18:05:15.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:05:15.897Z] prd-ubuntu20.04-docker-8c-8g-14520 does not seem to be running inside a container [2023-05-08T18:05:15.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-239 -v /w/workspace/foundry_device-usb-camera_PR-239:/w/workspace/foundry_device-usb-camera_PR-239:rw,z -v /w/workspace/foundry_device-usb-camera_PR-239@tmp:/w/workspace/foundry_device-usb-camera_PR-239@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-08T18:05:16.247Z] $ docker top 00cca7f9dc288585094de849f44b29e6c1e1b76dba843aad62c5fd52b20cfd2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:05:16.636Z] + go version [2023-05-08T18:05:16.636Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T18:05:16.669Z] $ docker stop --time=1 00cca7f9dc288585094de849f44b29e6c1e1b76dba843aad62c5fd52b20cfd2a [2023-05-08T18:05:17.918Z] $ docker rm -f --volumes 00cca7f9dc288585094de849f44b29e6c1e1b76dba843aad62c5fd52b20cfd2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:05:18.650Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T18:05:18.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:05:18.804Z] prd-ubuntu20.04-docker-8c-8g-14520 does not seem to be running inside a container [2023-05-08T18:05:18.839Z] $ 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-239 -v /w/workspace/foundry_device-usb-camera_PR-239:/w/workspace/foundry_device-usb-camera_PR-239:rw,z -v /w/workspace/foundry_device-usb-camera_PR-239@tmp:/w/workspace/foundry_device-usb-camera_PR-239@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-08T18:05:19.156Z] $ docker top 0956fef549883d9559d8a951cce27334d13986ab3fcc32cbf31acf5879cb948d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:05:19.541Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-239 [Pipeline] fileExists [Pipeline] sh [2023-05-08T18:05:19.900Z] + make test [2023-05-08T18:05:19.900Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T18:05:25.160Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-08T18:05:35.128Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-08T18:05:35.128Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 2.0% of statements [2023-05-08T18:05:39.309Z] go vet ./... [2023-05-08T18:05:42.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T18:05:42.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T18:05:42.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T18:05:42.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T18:05:42.697Z] $ docker stop --time=1 0956fef549883d9559d8a951cce27334d13986ab3fcc32cbf31acf5879cb948d [2023-05-08T18:05:45.430Z] $ docker rm -f --volumes 0956fef549883d9559d8a951cce27334d13986ab3fcc32cbf31acf5879cb948d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:05:46.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T18:05:46.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T18:05:46.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T18:05:47.011Z] + ls -al . [2023-05-08T18:05:47.011Z] total 192 [2023-05-08T18:05:47.011Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 18:05 . [2023-05-08T18:05:47.011Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:04 .. [2023-05-08T18:05:47.011Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 18:04 .git [2023-05-08T18:05:47.011Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:04 .github [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 414 May 8 18:04 .gitignore [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 18:04 .golangci.yml [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 77 May 8 18:04 .hadolint.yml [2023-05-08T18:05:47.011Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 18:04 .semver [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 8 18:04 Attribution.txt [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 8 18:04 CHANGELOG.md [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 8 18:04 Dockerfile [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 678 May 8 18:04 GOVERNANCE.md [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 659 May 8 18:04 Jenkinsfile [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 18:04 LICENSE [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 8 18:04 Makefile [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 18:04 OWNERS.md [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 8 18:04 README.md [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 18:04 VERSION [2023-05-08T18:05:47.011Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:04 bin [2023-05-08T18:05:47.011Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:04 cmd [2023-05-08T18:05:47.011Z] -rw-r--r-- 1 jenkins jenkins 28693 May 8 18:05 coverage.out [2023-05-08T18:05:47.011Z] -rwxrwxr-x 1 jenkins jenkins 140 May 8 18:04 docker-entrypoint.sh [2023-05-08T18:05:47.011Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:04 docs [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 8 18:04 go.mod [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 8 18:04 go.sum [2023-05-08T18:05:47.011Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:04 internal [2023-05-08T18:05:47.011Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:04 snap [2023-05-08T18:05:47.011Z] -rw-rw-r-- 1 jenkins jenkins 231 May 8 18:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:05:47.403Z] + 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=c85496efda55dc2dae0844c7386cd3ce3716382f --label arch=amd64 --label version=0.0.0 . [2023-05-08T18:05:47.403Z] Sending build context to Docker daemon 2.019MB [2023-05-08T18:05:47.403Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:05:47.403Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-08T18:05:47.403Z] ---> 4c70d068bb00 [2023-05-08T18:05:47.403Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-08T18:05:47.403Z] ---> Running in cacc5435fe7f [2023-05-08T18:05:47.662Z] Removing intermediate container cacc5435fe7f [2023-05-08T18:05:47.662Z] ---> 6b9bea18b106 [2023-05-08T18:05:47.662Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T18:05:47.662Z] ---> Running in 8a6e3298b0fb [2023-05-08T18:05:47.662Z] Removing intermediate container 8a6e3298b0fb [2023-05-08T18:05:47.662Z] ---> 52748675701e [2023-05-08T18:05:47.662Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T18:05:47.662Z] ---> Running in bcfdc9f8dcda [2023-05-08T18:05:47.662Z] Removing intermediate container bcfdc9f8dcda [2023-05-08T18:05:47.662Z] ---> de1dedc873dd [2023-05-08T18:05:47.662Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T18:05:47.662Z] ---> Running in 9f6ae12683bd [2023-05-08T18:05:47.920Z] Removing intermediate container 9f6ae12683bd [2023-05-08T18:05:47.920Z] ---> 408eee802929 [2023-05-08T18:05:47.920Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T18:05:47.920Z] ---> Running in 0e2cd7affcfe [2023-05-08T18:05:48.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:05:48.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:05:48.439Z] OK: 272 MiB in 67 packages [2023-05-08T18:05:48.698Z] Removing intermediate container 0e2cd7affcfe [2023-05-08T18:05:48.698Z] ---> 0f24bbc60175 [2023-05-08T18:05:48.698Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-08T18:05:48.698Z] ---> Running in 5fb54f980650 [2023-05-08T18:05:48.958Z] Removing intermediate container 5fb54f980650 [2023-05-08T18:05:48.958Z] ---> 2137c3ff684d [2023-05-08T18:05:48.958Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-08T18:05:48.958Z] ---> 9d168878abbb [2023-05-08T18:05:48.958Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:05:48.958Z] ---> Running in a85bf71515bf [2023-05-08T18:05:49.892Z] Removing intermediate container a85bf71515bf [2023-05-08T18:05:49.892Z] ---> 92291f8d8acb [2023-05-08T18:05:49.892Z] Step 11/35 : COPY . . [2023-05-08T18:05:49.892Z] ---> 9ffae015251e [2023-05-08T18:05:49.892Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T18:05:49.892Z] ---> Running in 3e67f06d0173 [2023-05-08T18:05:50.154Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:05:50.154Z] Dload Upload Total Spent Left Speed [2023-05-08T18:05:50.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19275 0 --:--:-- --:--:-- --:--:-- 19666 [2023-05-08T18:05:50.672Z] Removing intermediate container 3e67f06d0173 [2023-05-08T18:05:50.672Z] ---> 0cab58f42acd [2023-05-08T18:05:50.672Z] Step 13/35 : RUN ${MAKE} [2023-05-08T18:05:50.672Z] ---> Running in 401916a36e7d [2023-05-08T18:05:50.930Z] 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-08T18:06:12.850Z] Removing intermediate container 401916a36e7d [2023-05-08T18:06:12.850Z] ---> 4605969aac87 [2023-05-08T18:06:12.850Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-08T18:06:12.850Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-08T18:06:12.850Z] 4acc49c71d14: Pulling fs layer [2023-05-08T18:06:12.850Z] 4acc49c71d14: Download complete [2023-05-08T18:06:12.850Z] 4acc49c71d14: Pull complete [2023-05-08T18:06:12.850Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-08T18:06:12.850Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-08T18:06:12.850Z] ---> 01a2bd3e5fff [2023-05-08T18:06:12.850Z] Step 15/35 : FROM alpine:3.17 [2023-05-08T18:06:12.850Z] 3.17: Pulling from library/alpine [2023-05-08T18:06:12.850Z] f56be85fc22e: Already exists [2023-05-08T18:06:12.850Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T18:06:12.850Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T18:06:12.850Z] ---> 9ed4aefc74f6 [2023-05-08T18:06:12.850Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T18:06:12.850Z] ---> Running in 5cd837b5dd0d [2023-05-08T18:06:12.850Z] Removing intermediate container 5cd837b5dd0d [2023-05-08T18:06:12.850Z] ---> f79874ff5605 [2023-05-08T18:06:12.850Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-08T18:06:13.108Z] ---> Running in 8cb4f1c62c72 [2023-05-08T18:06:13.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:06:13.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:06:13.698Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-08T18:06:13.698Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-08T18:06:13.698Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-08T18:06:14.830Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-08T18:06:14.830Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-08T18:06:14.830Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-08T18:06:14.830Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-08T18:06:14.830Z] (8/86) Installing libxcb (1.15-r0) [2023-05-08T18:06:14.830Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-08T18:06:15.087Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-08T18:06:15.087Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-08T18:06:15.087Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-08T18:06:15.087Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-08T18:06:15.087Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-08T18:06:15.087Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-08T18:06:15.087Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-08T18:06:15.087Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-08T18:06:15.087Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-08T18:06:15.087Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-08T18:06:15.087Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-08T18:06:15.087Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-08T18:06:15.087Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-08T18:06:15.087Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-08T18:06:15.087Z] (24/86) Installing glib (2.74.6-r0) [2023-05-08T18:06:15.346Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-08T18:06:15.346Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-08T18:06:15.346Z] (27/86) Installing libass (0.16.0-r1) [2023-05-08T18:06:15.346Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-08T18:06:15.346Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-08T18:06:15.346Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-08T18:06:15.346Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-08T18:06:15.346Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-08T18:06:15.346Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-08T18:06:15.346Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-08T18:06:15.346Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-08T18:06:15.346Z] (36/86) Installing libunistring (1.1-r0) [2023-05-08T18:06:15.346Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-08T18:06:15.346Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-08T18:06:15.346Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-08T18:06:15.346Z] (40/86) Installing lame (3.100-r2) [2023-05-08T18:06:15.346Z] (41/86) Installing opus (1.3.1-r1) [2023-05-08T18:06:15.346Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-08T18:06:15.346Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-08T18:06:15.346Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-08T18:06:15.346Z] (45/86) Installing orc (0.4.33-r0) [2023-05-08T18:06:15.346Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-08T18:06:15.346Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-08T18:06:15.346Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-08T18:06:15.346Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-08T18:06:15.346Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-08T18:06:15.346Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-08T18:06:15.606Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-08T18:06:15.607Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-08T18:06:15.607Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-08T18:06:15.607Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-08T18:06:15.607Z] (56/86) Installing libpulse (16.1-r6) [2023-05-08T18:06:15.607Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-08T18:06:15.607Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-08T18:06:15.607Z] (59/86) Installing librist (0.2.7-r0) [2023-05-08T18:06:15.607Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-08T18:06:15.607Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-08T18:06:15.607Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-08T18:06:15.607Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T18:06:15.607Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T18:06:15.607Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-08T18:06:15.607Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-08T18:06:15.607Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-08T18:06:15.607Z] (68/86) Installing libva (2.16.0-r0) [2023-05-08T18:06:15.607Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-08T18:06:15.607Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-08T18:06:15.607Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-08T18:06:15.607Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-08T18:06:15.607Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-08T18:06:15.607Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-08T18:06:15.607Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-08T18:06:15.864Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-08T18:06:15.864Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-08T18:06:15.864Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-08T18:06:15.864Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-08T18:06:15.864Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-08T18:06:15.864Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-08T18:06:15.864Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-08T18:06:15.864Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-08T18:06:15.864Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-08T18:06:15.864Z] (85/86) Installing kmod-libs (30-r1) [2023-05-08T18:06:15.864Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-08T18:06:15.864Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T18:06:15.864Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T18:06:15.864Z] OK: 112 MiB in 101 packages [2023-05-08T18:06:18.392Z] Removing intermediate container 8cb4f1c62c72 [2023-05-08T18:06:18.392Z] ---> f11436e01309 [2023-05-08T18:06:18.392Z] Step 18/35 : WORKDIR / [2023-05-08T18:06:18.392Z] ---> Running in 20a0c302cd3f [2023-05-08T18:06:18.392Z] Removing intermediate container 20a0c302cd3f [2023-05-08T18:06:18.392Z] ---> 4c9a88801b48 [2023-05-08T18:06:18.392Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-08T18:06:18.983Z] ---> 198835b0d2ae [2023-05-08T18:06:18.983Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-08T18:06:18.983Z] ---> ba144429a9ff [2023-05-08T18:06:18.983Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-08T18:06:18.983Z] ---> 8166dd89a9ea [2023-05-08T18:06:18.983Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-08T18:06:19.242Z] ---> f9fee7abc06d [2023-05-08T18:06:19.242Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-08T18:06:19.242Z] ---> 83ee29061037 [2023-05-08T18:06:19.242Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-08T18:06:19.499Z] ---> bf9e01a6109e [2023-05-08T18:06:19.499Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-08T18:06:20.072Z] ---> 1f5aab2783ca [2023-05-08T18:06:20.072Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-08T18:06:20.072Z] ---> Running in 822ac0669dd2 [2023-05-08T18:06:21.017Z] Removing intermediate container 822ac0669dd2 [2023-05-08T18:06:21.017Z] ---> 00929ae50ae5 [2023-05-08T18:06:21.017Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-08T18:06:21.017Z] ---> Running in 3acf48934e21 [2023-05-08T18:06:21.276Z] Removing intermediate container 3acf48934e21 [2023-05-08T18:06:21.276Z] ---> f9f3150f0f1e [2023-05-08T18:06:21.276Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-08T18:06:21.276Z] ---> Running in 2f74b89734f7 [2023-05-08T18:06:21.843Z] Removing intermediate container 2f74b89734f7 [2023-05-08T18:06:21.843Z] ---> 2508aed42c1c [2023-05-08T18:06:21.843Z] Step 29/35 : EXPOSE 59983 [2023-05-08T18:06:21.843Z] ---> Running in bc0f234b653e [2023-05-08T18:06:22.100Z] Removing intermediate container bc0f234b653e [2023-05-08T18:06:22.100Z] ---> 027fd925aeb4 [2023-05-08T18:06:22.100Z] Step 30/35 : EXPOSE 8554 [2023-05-08T18:06:22.100Z] ---> Running in aae4e05c2fdd [2023-05-08T18:06:22.100Z] Removing intermediate container aae4e05c2fdd [2023-05-08T18:06:22.100Z] ---> 63cb0681db7a [2023-05-08T18:06:22.100Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-08T18:06:22.100Z] ---> Running in 060f2a3a9a4b [2023-05-08T18:06:22.100Z] Removing intermediate container 060f2a3a9a4b [2023-05-08T18:06:22.100Z] ---> fbe2a68b29f2 [2023-05-08T18:06:22.100Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-08T18:06:22.359Z] ---> Running in dea0a5e139bd [2023-05-08T18:06:22.359Z] Removing intermediate container dea0a5e139bd [2023-05-08T18:06:22.359Z] ---> 46a4f427d5a7 [2023-05-08T18:06:22.359Z] Step 33/35 : LABEL arch=amd64 [2023-05-08T18:06:22.359Z] ---> Running in f6887fd06e90 [2023-05-08T18:06:22.359Z] Removing intermediate container f6887fd06e90 [2023-05-08T18:06:22.359Z] ---> f5a2803527a8 [2023-05-08T18:06:22.359Z] Step 34/35 : LABEL git_sha=c85496efda55dc2dae0844c7386cd3ce3716382f [2023-05-08T18:06:22.359Z] ---> Running in 3246fd06fb1e [2023-05-08T18:06:22.359Z] Removing intermediate container 3246fd06fb1e [2023-05-08T18:06:22.359Z] ---> 098f6e3edbff [2023-05-08T18:06:22.359Z] Step 35/35 : LABEL version=0.0.0 [2023-05-08T18:06:22.619Z] ---> Running in f3e31baaf16d [2023-05-08T18:06:22.619Z] Removing intermediate container f3e31baaf16d [2023-05-08T18:06:22.619Z] ---> ba244489278c [2023-05-08T18:06:22.619Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T18:06:22.619Z] Successfully built ba244489278c [2023-05-08T18:06:22.619Z] 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-08T18:06:23.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:06:23.594Z] [2023-05-08T18:06:23.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:06:23.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:06:23.968Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T18:06:23.968Z] 5eb5b503b376: Pulling fs layer [2023-05-08T18:06:23.968Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T18:06:23.968Z] ec43610c2a17: Pulling fs layer [2023-05-08T18:06:23.968Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T18:06:23.968Z] 33b1e0a273af: Pulling fs layer [2023-05-08T18:06:23.968Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T18:06:23.968Z] 2f39f015ded8: Pulling fs layer [2023-05-08T18:06:23.968Z] 3a2ae6a8a46f: Waiting [2023-05-08T18:06:23.968Z] 33b1e0a273af: Waiting [2023-05-08T18:06:23.968Z] 2f39f015ded8: Waiting [2023-05-08T18:06:23.968Z] 5d3b04190fa2: Waiting [2023-05-08T18:06:23.968Z] 5c69ac0246d0: Verifying Checksum [2023-05-08T18:06:23.968Z] 5c69ac0246d0: Download complete [2023-05-08T18:06:23.968Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T18:06:23.968Z] 3a2ae6a8a46f: Download complete [2023-05-08T18:06:23.968Z] ec43610c2a17: Verifying Checksum [2023-05-08T18:06:23.968Z] ec43610c2a17: Download complete [2023-05-08T18:06:23.968Z] 33b1e0a273af: Verifying Checksum [2023-05-08T18:06:23.968Z] 33b1e0a273af: Download complete [2023-05-08T18:06:23.968Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T18:06:23.968Z] 5d3b04190fa2: Download complete [2023-05-08T18:06:24.226Z] 5eb5b503b376: Verifying Checksum [2023-05-08T18:06:24.226Z] 5eb5b503b376: Download complete [2023-05-08T18:06:24.795Z] 2f39f015ded8: Verifying Checksum [2023-05-08T18:06:24.795Z] 2f39f015ded8: Download complete [2023-05-08T18:06:25.361Z] 5eb5b503b376: Pull complete [2023-05-08T18:06:25.361Z] 5c69ac0246d0: Pull complete [2023-05-08T18:06:25.926Z] ec43610c2a17: Pull complete [2023-05-08T18:06:25.926Z] 3a2ae6a8a46f: Pull complete [2023-05-08T18:06:26.184Z] 33b1e0a273af: Pull complete [2023-05-08T18:06:26.184Z] 5d3b04190fa2: Pull complete [2023-05-08T18:06:30.364Z] 2f39f015ded8: Pull complete [2023-05-08T18:06:30.364Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T18:06:30.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:06:30.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:06:30.593Z] prd-ubuntu20.04-docker-8c-8g-14520 does not seem to be running inside a container [2023-05-08T18:06:30.629Z] $ 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-239 -v /w/workspace/foundry_device-usb-camera_PR-239:/w/workspace/foundry_device-usb-camera_PR-239:rw,z -v /w/workspace/foundry_device-usb-camera_PR-239@tmp:/w/workspace/foundry_device-usb-camera_PR-239@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-08T18:06:33.892Z] $ docker top f65b7e19f97957867528d11d2ee6373041a8df1fae04129a4c061824036f9839 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:06:34.362Z] ---> job-cost.sh [2023-05-08T18:06:34.362Z] lf-activate-venv: SKIPPING [2023-05-08T18:06:34.362Z] INFO: No Stack... [2023-05-08T18:06:34.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T18:06:34.880Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T18:06:35.190Z] + cat /w/workspace/foundry_device-usb-camera_PR-239/archives/cost.csv [2023-05-08T18:06:35.190Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T18:06:35.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [2023-05-08T18:06:35.242Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] did not exist. Created. [2023-05-08T18:06:35.242Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T18:06:35.630Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T18:06:35.681Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T18:06:35.707Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T18:06:35.787Z] $ docker stop --time=1 f65b7e19f97957867528d11d2ee6373041a8df1fae04129a4c061824036f9839 [2023-05-08T18:06:36.926Z] $ docker rm -f --volumes f65b7e19f97957867528d11d2ee6373041a8df1fae04129a4c061824036f9839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T18:08:17.737Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14521 in /w/workspace/foundry_device-usb-camera_PR-239 [Pipeline] { [Pipeline] ws [2023-05-08T18:08:17.905Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-08T18:08:17.986Z] Selected Git installation does not exist. Using Default [2023-05-08T18:08:17.986Z] The recommended git tool is: NONE [2023-05-08T18:08:23.529Z] using credential edgex-jenkins-ssh [2023-05-08T18:08:23.549Z] Cloning the remote Git repository [2023-05-08T18:08:23.602Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T18:08:23.696Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-08T18:08:23.849Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T18:08:23.850Z] > git --version # timeout=10 [2023-05-08T18:08:23.869Z] > git --version # 'git version 2.25.1' [2023-05-08T18:08:23.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:08:24.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T18:08:24.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T18:08:24.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T18:08:26.291Z] Merging remotes/origin/main commit beed2f8d28cc393e5ecf72eec326ecfe84dcca0e into PR head commit c85496efda55dc2dae0844c7386cd3ce3716382f [2023-05-08T18:08:26.591Z] Merge succeeded, producing c85496efda55dc2dae0844c7386cd3ce3716382f [2023-05-08T18:08:26.592Z] Checking out Revision c85496efda55dc2dae0844c7386cd3ce3716382f (PR-239) [2023-05-08T18:08:25.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T18:08:25.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T18:08:25.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:08:25.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T18:08:26.314Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T18:08:26.386Z] > git checkout -f c85496efda55dc2dae0844c7386cd3ce3716382f # timeout=10 [2023-05-08T18:08:26.486Z] > git remote # timeout=10 [2023-05-08T18:08:26.507Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T18:08:26.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:08:26.551Z] > git merge beed2f8d28cc393e5ecf72eec326ecfe84dcca0e # timeout=10 [2023-05-08T18:08:26.578Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T18:08:26.603Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T18:08:26.620Z] > git checkout -f c85496efda55dc2dae0844c7386cd3ce3716382f # timeout=10 [2023-05-08T18:08:27.096Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-08T18:08:27.149Z] > git --version # timeout=10 [2023-05-08T18:08:27.164Z] > git --version # 'git version 2.25.1' [2023-05-08T18:08:27.177Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:08:28.358Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T18:08:28.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:08:28.358Z] Dload Upload Total Spent Left Speed [2023-05-08T18:08:28.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-05-08T18:08:28.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T18:08:29.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T18:08:29.299Z] + sudo tee /etc/docker/daemon.new [2023-05-08T18:08:29.299Z] { [2023-05-08T18:08:29.299Z] "registry-mirrors": [ [2023-05-08T18:08:29.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T18:08:29.299Z] ], [2023-05-08T18:08:29.299Z] "bip": "10.250.0.254/24", [2023-05-08T18:08:29.299Z] "hosts": [ [2023-05-08T18:08:29.299Z] "tcp://0.0.0.0:5555", [2023-05-08T18:08:29.299Z] "unix:///var/run/docker.sock" [2023-05-08T18:08:29.299Z] ], [2023-05-08T18:08:29.299Z] "mtu": 1458, [2023-05-08T18:08:29.299Z] "selinux-enabled": true, [2023-05-08T18:08:29.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T18:08:29.299Z] } [Pipeline] sh [2023-05-08T18:08:29.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T18:08:30.061Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:08:48.362Z] provisioning config files... [2023-05-08T18:08:48.391Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3853467378494765843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:08:48.791Z] ---> docker-login.sh [2023-05-08T18:08:48.791Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:08:49.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:08:49.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:08:49.329Z] Configure a credential helper to remove this warning. See [2023-05-08T18:08:49.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:08:49.329Z] [2023-05-08T18:08:49.329Z] Login Succeeded [2023-05-08T18:08:49.329Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:08:49.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:08:49.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:08:49.867Z] Configure a credential helper to remove this warning. See [2023-05-08T18:08:49.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:08:49.867Z] [2023-05-08T18:08:49.867Z] Login Succeeded [2023-05-08T18:08:49.867Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:08:49.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:08:50.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:08:50.136Z] Configure a credential helper to remove this warning. See [2023-05-08T18:08:50.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:08:50.136Z] [2023-05-08T18:08:50.136Z] Login Succeeded [2023-05-08T18:08:50.136Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:08:50.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:08:50.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:08:50.407Z] Configure a credential helper to remove this warning. See [2023-05-08T18:08:50.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:08:50.407Z] [2023-05-08T18:08:50.407Z] Login Succeeded [2023-05-08T18:08:50.407Z] docker.io [2023-05-08T18:08:50.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:08:50.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:08:50.943Z] Configure a credential helper to remove this warning. See [2023-05-08T18:08:50.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:08:50.943Z] [2023-05-08T18:08:50.943Z] Login Succeeded [2023-05-08T18:08:50.943Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:08:50.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T18:08:51.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:08:51.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:08:51.425Z] ========================================================= [2023-05-08T18:08:51.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T18:08:51.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:08:51.911Z] + 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-08T18:08:52.186Z] Sending build context to Docker daemon 1.264MB [2023-05-08T18:08:52.186Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:08:52.186Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T18:08:52.455Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T18:08:52.455Z] c41833b44d91: Pulling fs layer [2023-05-08T18:08:52.455Z] ed15518f5707: Pulling fs layer [2023-05-08T18:08:52.455Z] feae8fd75edb: Pulling fs layer [2023-05-08T18:08:52.455Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T18:08:52.455Z] 3cdef696dda3: Pulling fs layer [2023-05-08T18:08:52.455Z] 2ced38df9373: Pulling fs layer [2023-05-08T18:08:52.455Z] 58f1dce35555: Pulling fs layer [2023-05-08T18:08:52.455Z] 242c74f7c9fa: Waiting [2023-05-08T18:08:52.455Z] 3cdef696dda3: Waiting [2023-05-08T18:08:52.455Z] 2ced38df9373: Waiting [2023-05-08T18:08:52.455Z] 58f1dce35555: Waiting [2023-05-08T18:08:52.455Z] ed15518f5707: Verifying Checksum [2023-05-08T18:08:52.455Z] ed15518f5707: Download complete [2023-05-08T18:08:52.455Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T18:08:52.455Z] 242c74f7c9fa: Download complete [2023-05-08T18:08:52.455Z] 3cdef696dda3: Verifying Checksum [2023-05-08T18:08:52.455Z] 3cdef696dda3: Download complete [2023-05-08T18:08:52.455Z] c41833b44d91: Verifying Checksum [2023-05-08T18:08:52.455Z] c41833b44d91: Download complete [2023-05-08T18:08:53.430Z] c41833b44d91: Pull complete [2023-05-08T18:08:54.023Z] 58f1dce35555: Verifying Checksum [2023-05-08T18:08:54.023Z] 58f1dce35555: Download complete [2023-05-08T18:08:54.301Z] ed15518f5707: Pull complete [2023-05-08T18:08:55.282Z] feae8fd75edb: Verifying Checksum [2023-05-08T18:08:55.282Z] feae8fd75edb: Download complete [2023-05-08T18:08:55.282Z] 2ced38df9373: Verifying Checksum [2023-05-08T18:08:55.282Z] 2ced38df9373: Download complete [2023-05-08T18:09:07.629Z] feae8fd75edb: Pull complete [2023-05-08T18:09:07.629Z] 242c74f7c9fa: Pull complete [2023-05-08T18:09:07.629Z] 3cdef696dda3: Pull complete [2023-05-08T18:09:13.136Z] 2ced38df9373: Pull complete [2023-05-08T18:09:18.503Z] 58f1dce35555: Pull complete [2023-05-08T18:09:18.503Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T18:09:18.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T18:09:18.503Z] ---> fadd8f120f05 [2023-05-08T18:09:18.503Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T18:09:19.959Z] ---> Running in 01f4666f074b [2023-05-08T18:09:19.959Z] Removing intermediate container 01f4666f074b [2023-05-08T18:09:19.959Z] ---> 318bdf4234d1 [2023-05-08T18:09:19.959Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T18:09:20.229Z] ---> Running in e39e69cdf3a3 [2023-05-08T18:09:20.499Z] Removing intermediate container e39e69cdf3a3 [2023-05-08T18:09:20.499Z] ---> 7159b30b1987 [2023-05-08T18:09:20.499Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T18:09:20.499Z] ---> Running in 57d9bbc22f7f [2023-05-08T18:09:20.766Z] Removing intermediate container 57d9bbc22f7f [2023-05-08T18:09:20.766Z] ---> fcb3542d6349 [2023-05-08T18:09:20.766Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T18:09:20.766Z] ---> Running in a3352ed6505f [2023-05-08T18:09:21.032Z] Removing intermediate container a3352ed6505f [2023-05-08T18:09:21.032Z] ---> d257d9eef942 [2023-05-08T18:09:21.032Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T18:09:21.305Z] ---> Running in a69c32af0e2c [2023-05-08T18:09:22.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:09:22.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:09:23.803Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T18:09:23.803Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T18:09:23.803Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T18:09:23.803Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T18:09:23.803Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T18:09:23.803Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T18:09:23.803Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T18:09:23.803Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T18:09:23.803Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T18:09:23.803Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T18:09:24.069Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T18:09:24.069Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T18:09:24.069Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T18:09:24.069Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T18:09:24.069Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T18:09:24.069Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T18:09:24.069Z] OK: 271 MiB in 67 packages [2023-05-08T18:09:25.473Z] Removing intermediate container a69c32af0e2c [2023-05-08T18:09:25.473Z] ---> 5145211d8aa9 [2023-05-08T18:09:25.473Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T18:09:25.473Z] ---> Running in 1293e3279270 [2023-05-08T18:09:25.473Z] Removing intermediate container 1293e3279270 [2023-05-08T18:09:25.473Z] ---> d7eec741c138 [2023-05-08T18:09:25.473Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T18:09:26.053Z] ---> c671fb3f2e0e [2023-05-08T18:09:26.053Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:09:26.053Z] ---> Running in 8e0574310e04 [2023-05-08T18:10:33.907Z] Removing intermediate container 8e0574310e04 [2023-05-08T18:10:33.907Z] ---> 2ac71cb30f24 [2023-05-08T18:10:33.907Z] Step 11/13 : COPY . . [2023-05-08T18:10:33.907Z] ---> d7aa2bd5a383 [2023-05-08T18:10:33.907Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T18:10:33.907Z] ---> Running in b4a4bda4c375 [2023-05-08T18:10:33.907Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:10:33.907Z] Dload Upload Total Spent Left Speed [2023-05-08T18:10:33.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3146 0 --:--:-- --:--:-- --:--:-- 3151 [2023-05-08T18:10:33.907Z] Removing intermediate container b4a4bda4c375 [2023-05-08T18:10:33.907Z] ---> 88a6f2e89b03 [2023-05-08T18:10:33.907Z] Step 13/13 : RUN ${MAKE} [2023-05-08T18:10:33.907Z] ---> Running in 5aaedf75d4dc [2023-05-08T18:10:33.907Z] noop [2023-05-08T18:10:33.907Z] Removing intermediate container 5aaedf75d4dc [2023-05-08T18:10:33.907Z] ---> db473aa2f3e6 [2023-05-08T18:10:33.907Z] Successfully built db473aa2f3e6 [2023-05-08T18:10:33.907Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:10:34.370Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T18:10:34.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:10:34.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-14521 does not seem to be running inside a container [2023-05-08T18:10:34.714Z] $ 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-08T18:10:35.928Z] $ docker top 76933063532c6e7bd95bfcbeec29fea0b182800bec1d6dd70f4144bde00fb5d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:10:36.801Z] + go version [2023-05-08T18:10:36.801Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T18:10:36.846Z] $ docker stop --time=1 76933063532c6e7bd95bfcbeec29fea0b182800bec1d6dd70f4144bde00fb5d2 [2023-05-08T18:10:38.467Z] $ docker rm -f --volumes 76933063532c6e7bd95bfcbeec29fea0b182800bec1d6dd70f4144bde00fb5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:10:39.343Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T18:10:39.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:10:39.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-14521 does not seem to be running inside a container [2023-05-08T18:10:39.667Z] $ 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-08T18:10:40.795Z] $ docker top 4bb180d74dcc9cc4ea96a4e7d46cc9e662635bcb4b66d7a5e5df51b343696183 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:10:41.343Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T18:10:41.726Z] + make test [2023-05-08T18:10:41.996Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T18:11:14.214Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-08T18:13:05.914Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-08T18:13:05.914Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 2.0% of statements [2023-05-08T18:13:06.182Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T18:13:06.182Z] go vet ./... [2023-05-08T18:13:32.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T18:13:32.906Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T18:13:32.906Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T18:13:32.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T18:13:32.993Z] $ docker stop --time=1 4bb180d74dcc9cc4ea96a4e7d46cc9e662635bcb4b66d7a5e5df51b343696183 [2023-05-08T18:13:34.793Z] $ docker rm -f --volumes 4bb180d74dcc9cc4ea96a4e7d46cc9e662635bcb4b66d7a5e5df51b343696183 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:13:35.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T18:13:35.977Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T18:13:36.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:13:37.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T18:13:37.397Z] + ls -al . [2023-05-08T18:13:37.397Z] total 188 [2023-05-08T18:13:37.397Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 18:10 . [2023-05-08T18:13:37.397Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:08 .. [2023-05-08T18:13:37.397Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 18:08 .git [2023-05-08T18:13:37.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:08 .github [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 414 May 8 18:08 .gitignore [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 18:08 .golangci.yml [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 77 May 8 18:08 .hadolint.yml [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 8 18:08 Attribution.txt [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 8 18:08 CHANGELOG.md [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 8 18:08 Dockerfile [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 678 May 8 18:08 GOVERNANCE.md [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 659 May 8 18:08 Jenkinsfile [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 18:08 LICENSE [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 8 18:08 Makefile [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 18:08 OWNERS.md [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 8 18:08 README.md [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 18:04 VERSION [2023-05-08T18:13:37.397Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:08 bin [2023-05-08T18:13:37.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:08 cmd [2023-05-08T18:13:37.397Z] -rw-r--r-- 1 jenkins jenkins 28693 May 8 18:13 coverage.out [2023-05-08T18:13:37.397Z] -rwxrwxr-x 1 jenkins jenkins 140 May 8 18:08 docker-entrypoint.sh [2023-05-08T18:13:37.397Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:08 docs [2023-05-08T18:13:37.397Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 8 18:08 go.mod [2023-05-08T18:13:37.398Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 8 18:08 go.sum [2023-05-08T18:13:37.398Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:08 internal [2023-05-08T18:13:37.398Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:08 snap [2023-05-08T18:13:37.398Z] -rw-rw-r-- 1 jenkins jenkins 231 May 8 18:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:13:37.823Z] + 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=c85496efda55dc2dae0844c7386cd3ce3716382f --label arch=arm64 --label version=0.0.0 . [2023-05-08T18:13:38.095Z] Sending build context to Docker daemon 1.294MB [2023-05-08T18:13:38.095Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:13:38.095Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-08T18:13:38.095Z] ---> db473aa2f3e6 [2023-05-08T18:13:38.095Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-08T18:13:38.364Z] ---> Running in dad231014cdf [2023-05-08T18:13:38.631Z] Removing intermediate container dad231014cdf [2023-05-08T18:13:38.631Z] ---> ef72be51ace2 [2023-05-08T18:13:38.631Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T18:13:38.631Z] ---> Running in ed1fb4c50767 [2023-05-08T18:13:38.899Z] Removing intermediate container ed1fb4c50767 [2023-05-08T18:13:38.899Z] ---> 6f579662518f [2023-05-08T18:13:38.899Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T18:13:38.899Z] ---> Running in 9330f77505ab [2023-05-08T18:13:39.167Z] Removing intermediate container 9330f77505ab [2023-05-08T18:13:39.167Z] ---> 162637c75d94 [2023-05-08T18:13:39.167Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T18:13:39.167Z] ---> Running in dbb00498cbc6 [2023-05-08T18:13:39.754Z] Removing intermediate container dbb00498cbc6 [2023-05-08T18:13:39.754Z] ---> 321844ddfb45 [2023-05-08T18:13:39.754Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T18:13:39.754Z] ---> Running in 385957ea7956 [2023-05-08T18:13:40.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:13:41.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:13:42.256Z] OK: 271 MiB in 67 packages [2023-05-08T18:13:42.840Z] Removing intermediate container 385957ea7956 [2023-05-08T18:13:42.840Z] ---> 31b43f201dcb [2023-05-08T18:13:42.840Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-08T18:13:43.107Z] ---> Running in 254721c6da4b [2023-05-08T18:13:43.374Z] Removing intermediate container 254721c6da4b [2023-05-08T18:13:43.374Z] ---> 5671ceadde2d [2023-05-08T18:13:43.374Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-08T18:13:43.651Z] ---> f5afb25a53cb [2023-05-08T18:13:43.651Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:13:43.917Z] ---> Running in 68d03e48a51a [2023-05-08T18:13:46.513Z] Removing intermediate container 68d03e48a51a [2023-05-08T18:13:46.513Z] ---> 5d7292b143a7 [2023-05-08T18:13:46.513Z] Step 11/35 : COPY . . [2023-05-08T18:13:47.100Z] ---> a73f09016be4 [2023-05-08T18:13:47.100Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T18:13:47.100Z] ---> Running in 5183c8ba955e [2023-05-08T18:13:48.058Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:13:48.058Z] Dload Upload Total Spent Left Speed [2023-05-08T18:13:48.058Z] 0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4369 0 --:--:-- --:--:-- --:--:-- 4370 [2023-05-08T18:13:48.640Z] Removing intermediate container 5183c8ba955e [2023-05-08T18:13:48.640Z] ---> 83a4d23ddfd4 [2023-05-08T18:13:48.640Z] Step 13/35 : RUN ${MAKE} [2023-05-08T18:13:48.906Z] ---> Running in 8051976745be [2023-05-08T18:13:49.861Z] 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-08T18:16:11.570Z] Removing intermediate container 8051976745be [2023-05-08T18:16:11.570Z] ---> a9d8ab92e677 [2023-05-08T18:16:11.570Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-08T18:16:11.570Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-08T18:16:11.837Z] 8766b47fe142: Pulling fs layer [2023-05-08T18:16:12.421Z] 8766b47fe142: Verifying Checksum [2023-05-08T18:16:12.421Z] 8766b47fe142: Download complete [2023-05-08T18:16:13.010Z] 8766b47fe142: Pull complete [2023-05-08T18:16:13.010Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-08T18:16:13.010Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-08T18:16:13.010Z] ---> 69d40e2cb93c [2023-05-08T18:16:13.010Z] Step 15/35 : FROM alpine:3.17 [2023-05-08T18:16:13.280Z] 3.17: Pulling from library/alpine [2023-05-08T18:16:13.551Z] c41833b44d91: Already exists [2023-05-08T18:16:13.551Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T18:16:13.551Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T18:16:13.551Z] ---> 51e60588ff2c [2023-05-08T18:16:13.551Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T18:16:13.819Z] ---> Running in 4943394b609c [2023-05-08T18:16:14.088Z] Removing intermediate container 4943394b609c [2023-05-08T18:16:14.088Z] ---> f92e70b31c13 [2023-05-08T18:16:14.088Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-08T18:16:14.088Z] ---> Running in d6f9b6a6ae4f [2023-05-08T18:16:15.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:16:15.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:16:16.595Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-08T18:16:16.595Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-08T18:16:16.595Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-08T18:16:16.595Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-08T18:16:16.595Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-08T18:16:16.595Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-08T18:16:16.595Z] (7/83) Installing libxcb (1.15-r0) [2023-05-08T18:16:16.862Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-08T18:16:16.862Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-08T18:16:17.130Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-08T18:16:17.130Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-08T18:16:17.130Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-08T18:16:17.130Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-08T18:16:17.130Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-08T18:16:17.130Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-08T18:16:17.130Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-08T18:16:17.130Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-08T18:16:17.130Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-08T18:16:17.130Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-08T18:16:17.130Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-08T18:16:17.130Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-08T18:16:17.398Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-08T18:16:17.398Z] (23/83) Installing glib (2.74.6-r0) [2023-05-08T18:16:17.398Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-08T18:16:17.398Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-08T18:16:17.398Z] (26/83) Installing libass (0.16.0-r1) [2023-05-08T18:16:17.398Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-08T18:16:17.398Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-08T18:16:17.398Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-08T18:16:17.398Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-08T18:16:17.665Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-08T18:16:17.665Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-08T18:16:17.665Z] (33/83) Installing libunistring (1.1-r0) [2023-05-08T18:16:17.665Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-08T18:16:17.665Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-08T18:16:17.665Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-08T18:16:17.665Z] (37/83) Installing lame (3.100-r2) [2023-05-08T18:16:17.665Z] (38/83) Installing opus (1.3.1-r1) [2023-05-08T18:16:17.665Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-08T18:16:17.665Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-08T18:16:17.665Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-08T18:16:17.665Z] (42/83) Installing orc (0.4.33-r0) [2023-05-08T18:16:17.934Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-08T18:16:17.934Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-08T18:16:17.934Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-08T18:16:17.934Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-08T18:16:17.934Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-08T18:16:17.934Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-08T18:16:17.934Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-08T18:16:17.934Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-08T18:16:17.934Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-08T18:16:17.934Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-08T18:16:17.934Z] (53/83) Installing libpulse (16.1-r6) [2023-05-08T18:16:17.934Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-08T18:16:17.934Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-08T18:16:17.934Z] (56/83) Installing librist (0.2.7-r0) [2023-05-08T18:16:17.934Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-08T18:16:18.201Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-08T18:16:18.201Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-08T18:16:18.201Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T18:16:18.201Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T18:16:18.201Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-08T18:16:18.201Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-08T18:16:18.201Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-08T18:16:18.201Z] (65/83) Installing libva (2.16.0-r0) [2023-05-08T18:16:18.201Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-08T18:16:18.201Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-08T18:16:18.201Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-08T18:16:18.201Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-08T18:16:18.201Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-08T18:16:18.201Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-08T18:16:18.201Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-08T18:16:18.470Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-08T18:16:18.470Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-08T18:16:18.470Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-08T18:16:18.470Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-08T18:16:19.057Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-08T18:16:19.057Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-08T18:16:19.057Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-08T18:16:19.057Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-08T18:16:19.057Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-08T18:16:19.057Z] (82/83) Installing kmod-libs (30-r1) [2023-05-08T18:16:19.057Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-08T18:16:19.057Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T18:16:19.057Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T18:16:19.057Z] OK: 86 MiB in 98 packages [2023-05-08T18:16:23.316Z] Removing intermediate container d6f9b6a6ae4f [2023-05-08T18:16:23.316Z] ---> a8da31e4e574 [2023-05-08T18:16:23.316Z] Step 18/35 : WORKDIR / [2023-05-08T18:16:23.316Z] ---> Running in 70055a3139b1 [2023-05-08T18:16:23.584Z] Removing intermediate container 70055a3139b1 [2023-05-08T18:16:23.584Z] ---> a831f888b28a [2023-05-08T18:16:23.584Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-08T18:16:24.990Z] ---> 86e87c8f4dce [2023-05-08T18:16:24.990Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-08T18:16:25.576Z] ---> 67238738e9e6 [2023-05-08T18:16:25.576Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-08T18:16:25.843Z] ---> 2bf6a821b2e5 [2023-05-08T18:16:25.843Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-08T18:16:26.429Z] ---> 2997553bdef2 [2023-05-08T18:16:26.429Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-08T18:16:27.014Z] ---> ebbc381bd20b [2023-05-08T18:16:27.014Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-08T18:16:27.684Z] ---> 7286b60a8566 [2023-05-08T18:16:27.684Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-08T18:16:29.171Z] ---> c2ccf628cb0a [2023-05-08T18:16:29.171Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-08T18:16:29.171Z] ---> Running in 9f119e33d23a [2023-05-08T18:16:30.635Z] Removing intermediate container 9f119e33d23a [2023-05-08T18:16:30.635Z] ---> b33b966f9b07 [2023-05-08T18:16:30.635Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-08T18:16:30.635Z] ---> Running in 41bde3f3d1e9 [2023-05-08T18:16:32.605Z] Removing intermediate container 41bde3f3d1e9 [2023-05-08T18:16:32.605Z] ---> 27c266a0df75 [2023-05-08T18:16:32.605Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-08T18:16:32.605Z] ---> Running in 946f749f96be [2023-05-08T18:16:34.019Z] Removing intermediate container 946f749f96be [2023-05-08T18:16:34.019Z] ---> 6b43c594480e [2023-05-08T18:16:34.019Z] Step 29/35 : EXPOSE 59983 [2023-05-08T18:16:34.019Z] ---> Running in 26896bb1dd0f [2023-05-08T18:16:34.289Z] Removing intermediate container 26896bb1dd0f [2023-05-08T18:16:34.289Z] ---> ba071149dfd1 [2023-05-08T18:16:34.289Z] Step 30/35 : EXPOSE 8554 [2023-05-08T18:16:34.558Z] ---> Running in 9361572d0bdf [2023-05-08T18:16:34.826Z] Removing intermediate container 9361572d0bdf [2023-05-08T18:16:34.826Z] ---> a8d77b17829c [2023-05-08T18:16:34.826Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-08T18:16:34.826Z] ---> Running in 29f4c2edcf1b [2023-05-08T18:16:35.093Z] Removing intermediate container 29f4c2edcf1b [2023-05-08T18:16:35.093Z] ---> 10bd300c1766 [2023-05-08T18:16:35.093Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-08T18:16:35.093Z] ---> Running in e3ac2907af09 [2023-05-08T18:16:35.364Z] Removing intermediate container e3ac2907af09 [2023-05-08T18:16:35.364Z] ---> c0746498fd61 [2023-05-08T18:16:35.364Z] Step 33/35 : LABEL arch=arm64 [2023-05-08T18:16:35.631Z] ---> Running in 39dbeae94fc6 [2023-05-08T18:16:35.899Z] Removing intermediate container 39dbeae94fc6 [2023-05-08T18:16:35.899Z] ---> 9902f5bc35da [2023-05-08T18:16:35.899Z] Step 34/35 : LABEL git_sha=c85496efda55dc2dae0844c7386cd3ce3716382f [2023-05-08T18:16:35.899Z] ---> Running in 57b506e6f6b9 [2023-05-08T18:16:36.169Z] Removing intermediate container 57b506e6f6b9 [2023-05-08T18:16:36.169Z] ---> ed144dd37d41 [2023-05-08T18:16:36.169Z] Step 35/35 : LABEL version=0.0.0 [2023-05-08T18:16:36.169Z] ---> Running in 4010d041ac66 [2023-05-08T18:16:36.437Z] Removing intermediate container 4010d041ac66 [2023-05-08T18:16:36.437Z] ---> a3b390d752d1 [2023-05-08T18:16:36.437Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T18:16:36.702Z] Successfully built a3b390d752d1 [2023-05-08T18:16:36.702Z] 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-08T18:16:37.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:16:37.559Z] [2023-05-08T18:16:37.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:16:37.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:16:37.971Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T18:16:37.971Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T18:16:37.971Z] 04944245beec: Pulling fs layer [2023-05-08T18:16:37.971Z] 699f458cf7ca: Pulling fs layer [2023-05-08T18:16:37.971Z] 765212b225bb: Pulling fs layer [2023-05-08T18:16:37.971Z] f23df028b6ca: Pulling fs layer [2023-05-08T18:16:37.971Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T18:16:37.971Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T18:16:37.971Z] f23df028b6ca: Waiting [2023-05-08T18:16:37.971Z] 765212b225bb: Waiting [2023-05-08T18:16:37.971Z] d65c8cfc05b1: Waiting [2023-05-08T18:16:37.971Z] 2437ff75d9bd: Waiting [2023-05-08T18:16:38.248Z] 04944245beec: Verifying Checksum [2023-05-08T18:16:38.248Z] 04944245beec: Download complete [2023-05-08T18:16:38.248Z] 765212b225bb: Verifying Checksum [2023-05-08T18:16:38.248Z] 765212b225bb: Download complete [2023-05-08T18:16:38.248Z] f23df028b6ca: Verifying Checksum [2023-05-08T18:16:38.248Z] f23df028b6ca: Download complete [2023-05-08T18:16:38.248Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T18:16:38.248Z] d65c8cfc05b1: Download complete [2023-05-08T18:16:38.248Z] 699f458cf7ca: Verifying Checksum [2023-05-08T18:16:38.248Z] 699f458cf7ca: Download complete [2023-05-08T18:16:38.833Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T18:16:38.833Z] 8998bd30e6a1: Download complete [2023-05-08T18:16:40.782Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T18:16:40.782Z] 2437ff75d9bd: Download complete [2023-05-08T18:16:42.727Z] 8998bd30e6a1: Pull complete [2023-05-08T18:16:43.310Z] 04944245beec: Pull complete [2023-05-08T18:16:44.740Z] 699f458cf7ca: Pull complete [2023-05-08T18:16:44.740Z] 765212b225bb: Pull complete [2023-05-08T18:16:45.700Z] f23df028b6ca: Pull complete [2023-05-08T18:16:45.700Z] d65c8cfc05b1: Pull complete [2023-05-08T18:17:00.706Z] 2437ff75d9bd: Pull complete [2023-05-08T18:17:00.706Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T18:17:00.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:17:00.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:17:01.046Z] prd-ubuntu20.04-docker-arm64-4c-16g-14521 does not seem to be running inside a container [2023-05-08T18:17:01.123Z] $ 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-08T18:17:03.806Z] $ docker top 3f2ca5a7baece099f4683e353ea1f18af1722d863d1ebf6f05d3efc1a79c1c63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:04.674Z] ---> job-cost.sh [2023-05-08T18:17:04.674Z] lf-activate-venv: SKIPPING [2023-05-08T18:17:04.674Z] INFO: No Stack... [2023-05-08T18:17:04.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T18:17:05.895Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T18:17:06.245Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-08T18:17:06.245Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T18:17:06.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [2023-05-08T18:17:06.602Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] did not exist. Created. [2023-05-08T18:17:06.602Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T18:17:07.322Z] /w/workspace/device-usb-camera/1@tmp/durable-4e23e1c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T18:17:07.991Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T18:17:08.027Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T18:17:08.074Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T18:17:08.090Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T18:17:08.186Z] $ docker stop --time=1 3f2ca5a7baece099f4683e353ea1f18af1722d863d1ebf6f05d3efc1a79c1c63 [2023-05-08T18:17:09.739Z] $ docker rm -f --volumes 3f2ca5a7baece099f4683e353ea1f18af1722d863d1ebf6f05d3efc1a79c1c63 [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-08T18:17:10.803Z] provisioning config files... [2023-05-08T18:17:10.809Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-239@tmp/config5276006002944889722tmp [Pipeline] { [Pipeline] sh [2023-05-08T18:17:11.155Z] + set +x [2023-05-08T18:17:11.155Z] + bash -s -- [2023-05-08T18:17:11.155Z] + curl -s https://codecov.io/bash [2023-05-08T18:17:11.155Z] [2023-05-08T18:17:11.155Z] _____ _ [2023-05-08T18:17:11.155Z] / ____| | | [2023-05-08T18:17:11.155Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T18:17:11.155Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T18:17:11.155Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T18:17:11.155Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T18:17:11.155Z] Bash-1.0.6 [2023-05-08T18:17:11.155Z] [2023-05-08T18:17:11.155Z] [2023-05-08T18:17:11.155Z] ==> git version 2.25.1 found [2023-05-08T18:17:11.155Z] ==> 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-08T18:17:11.155Z] Release-Date: 2020-01-08 [2023-05-08T18:17:11.155Z] 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-08T18:17:11.155Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T18:17:11.155Z] ==> Jenkins CI detected. [2023-05-08T18:17:11.155Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-239 [2023-05-08T18:17:11.155Z] project root: . [2023-05-08T18:17:11.155Z] --> token set from env [2023-05-08T18:17:11.155Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T18:17:11.155Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T18:17:11.155Z] ==> Python coveragepy not found [2023-05-08T18:17:11.155Z] ==> Searching for coverage reports in: [2023-05-08T18:17:11.155Z] + . [2023-05-08T18:17:11.155Z] -> Found 1 reports [2023-05-08T18:17:11.155Z] ==> Detecting git/mercurial file structure [2023-05-08T18:17:11.155Z] ==> Reading reports [2023-05-08T18:17:11.155Z] + ./coverage.out bytes=28693 [2023-05-08T18:17:11.155Z] ==> Appending adjustments [2023-05-08T18:17:11.155Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T18:17:11.442Z] + Found adjustments [2023-05-08T18:17:11.442Z] ==> Gzipping contents [2023-05-08T18:17:11.442Z] 4.0K /tmp/codecov.2hyR1t.gz [2023-05-08T18:17:11.442Z] ==> Uploading reports [2023-05-08T18:17:11.442Z] url: https://codecov.io [2023-05-08T18:17:11.442Z] query: branch=PR-239&commit=c85496efda55dc2dae0844c7386cd3ce3716382f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=239&job=&cmd_args= [2023-05-08T18:17:11.442Z] -> Pinging Codecov [2023-05-08T18:17:11.442Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-239&commit=c85496efda55dc2dae0844c7386cd3ce3716382f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=239&job=&cmd_args= [2023-05-08T18:17:11.442Z] -> Uploading to [2023-05-08T18:17:11.442Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/73D8F5FF140700D3E01443B452E23636/c85496efda55dc2dae0844c7386cd3ce3716382f/aa8c3d5d-eeef-4ee0-8a6e-fa90238e94ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T181711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7e4e4af16c44a701bb134fdf39359e0938d31a01ade991b08034457b8c59c2a [2023-05-08T18:17:11.442Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:17:11.442Z] Dload Upload Total Spent Left Speed [2023-05-08T18:17:11.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 11942 --:--:-- --:--:-- --:--:-- 11942 [2023-05-08T18:17:11.960Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c85496efda55dc2dae0844c7386cd3ce3716382f [Pipeline] } [2023-05-08T18:17:11.986Z] 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-08T18:17:13.798Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-239/archives ] [2023-05-08T18:17:13.798Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-239/archives [2023-05-08T18:17:13.798Z] total 16 [2023-05-08T18:17:13.798Z] drwxr-xr-x 3 root root 4096 May 8 18:06 . [2023-05-08T18:17:13.798Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 18:06 .. [2023-05-08T18:17:13.798Z] drwxr-xr-x 2 root root 4096 May 8 18:06 cost [2023-05-08T18:17:13.798Z] -rw-r--r-- 1 root root 89 May 8 18:06 cost.csv [2023-05-08T18:17:13.798Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-239/archives [2023-05-08T18:17:13.798Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-239/archives [2023-05-08T18:17:13.798Z] total 16 [2023-05-08T18:17:13.798Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 18:06 . [2023-05-08T18:17:13.798Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 18:06 .. [2023-05-08T18:17:13.798Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 18:06 cost [2023-05-08T18:17:13.798Z] -rw-r--r-- 1 jenkins jenkins 89 May 8 18:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:14.124Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:15.004Z] ---> package-listing.sh [2023-05-08T18:17:15.004Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T18:17:15.004Z] ++ facter osfamily [2023-05-08T18:17:15.261Z] + OS_FAMILY=debian [2023-05-08T18:17:15.261Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-239 [2023-05-08T18:17:15.261Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T18:17:15.261Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T18:17:15.261Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T18:17:15.261Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T18:17:15.261Z] + '[' /w/workspace/foundry_device-usb-camera_PR-239 ']' [2023-05-08T18:17:15.261Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T18:17:15.261Z] + case "${OS_FAMILY}" in [2023-05-08T18:17:15.261Z] + dpkg -l [2023-05-08T18:17:15.261Z] + grep '^ii' [2023-05-08T18:17:15.261Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T18:17:15.261Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T18:17:15.261Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T18:17:15.261Z] + '[' /w/workspace/foundry_device-usb-camera_PR-239 ']' [2023-05-08T18:17:15.261Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-239/archives/ [2023-05-08T18:17:15.261Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-239/archives/ [Pipeline] echo [2023-05-08T18:17:15.296Z] 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-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T18:17:15.582Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:17:16.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:17:16.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:17:16.366Z] prd-ubuntu20.04-docker-8c-8g-14520 does not seem to be running inside a container [2023-05-08T18:17:16.395Z] $ 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-239/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-239 -v /w/workspace/foundry_device-usb-camera_PR-239:/w/workspace/foundry_device-usb-camera_PR-239:rw,z -v /w/workspace/foundry_device-usb-camera_PR-239@tmp:/w/workspace/foundry_device-usb-camera_PR-239@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-08T18:17:16.878Z] $ docker top 5b29b58f650a1e62ef092a5c95e4075f1b2bd14df5ce22fe0a01877b5812cba5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:17:17.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T18:17:17.573Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T18:17:17.884Z] + ls /var/log/sa-host [2023-05-08T18:17:17.884Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:17:18.206Z] provisioning config files... [2023-05-08T18:17:18.216Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-239@tmp/config421387447215991566tmp [Pipeline] { [Pipeline] echo [2023-05-08T18:17:18.268Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:18.580Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T18:17:18.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:19.012Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T18:17:19.043Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:19.354Z] ---> sudo-logs.sh [2023-05-08T18:17:19.354Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T18:17:19.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:19.759Z] ---> job-cost.sh [2023-05-08T18:17:19.759Z] lf-activate-venv: SKIPPING [2023-05-08T18:17:19.759Z] DEBUG: total: 0.2199999988079071 [2023-05-08T18:17:19.759Z] INFO: Retrieving Stack Cost... [2023-05-08T18:17:20.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T18:17:20.587Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T18:17:20.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:17:20.939Z] ---> logs-deploy.sh [2023-05-08T18:17:20.939Z] lf-activate-venv: SKIPPING [2023-05-08T18:17:20.939Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-239/1 [2023-05-08T18:17:20.939Z] INFO: archiving workspace using pattern(s): [2023-05-08T18:17:21.876Z] Archives upload complete. [2023-05-08T18:17:21.876Z] INFO: archiving logs to Nexus