Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 8e89c95f200ba999b8b18666717dd08bb0ba11a2 rather than a7aa7f027762502ccab20492bb8d27a332565d02 Obtained Jenkinsfile from 8e89c95f200ba999b8b18666717dd08bb0ba11a2 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-ssh2214500284782717010.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-ssh2368225688129818524.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2183847846606410262.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 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-ssh13191245897463514731.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4142061828788601264.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16473 in /w/workspace/foundry_device-usb-camera_PR-254 [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-254 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 Merge succeeded, producing dcc0cd70b723e4446b36485f1aea1a6961903f9b Checking out Revision dcc0cd70b723e4446b36485f1aea1a6961903f9b (PR-254) > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # 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 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcc0cd70b723e4446b36485f1aea1a6961903f9b # timeout=10 Commit message: "Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD" > git rev-list --no-walk a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-23T06:17:02.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-23T06:17:02.397Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-23T06:17:02.411Z] ========================================================= [2023-05-23T06:17:02.411Z] EdgeX Global Pipelines Version Info [2023-05-23T06:17:02.411Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:17:03.131Z] ------------------- [2023-05-23T06:17:03.131Z] stable info: [2023-05-23T06:17:03.131Z] ------------------- [2023-05-23T06:17:03.131Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-23T06:17:03.131Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T06:17:03.131Z] Message: update stable to v1.0.249 [2023-05-23T06:17:03.698Z] ------------------- [2023-05-23T06:17:03.698Z] experimental info: [2023-05-23T06:17:03.698Z] ------------------- [2023-05-23T06:17:03.698Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-23T06:17:03.699Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T06:17:03.699Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-23T06:17:03.872Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-23T06:17:03.890Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-23T06:17:03.904Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-23T06:17:03.919Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-23T06:17:03.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-23T06:17:03.950Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-23T06:17:03.969Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-23T06:17:03.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-23T06:17:04.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-23T06:17:04.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-23T06:17:04.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-23T06:17:04.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-23T06:17:04.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-23T06:17:04.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-23T06:17:04.096Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-23T06:17:04.113Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-23T06:17:04.129Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T06:17:04.147Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T06:17:04.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-23T06:17:04.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-23T06:17:04.190Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-23T06:17:04.208Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-23T06:17:04.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-23T06:17:04.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-23T06:17:04.253Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-23T06:17:04.268Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-23T06:17:04.291Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-23T06:17:04.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo [2023-05-23T06:17:04.327Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo [2023-05-23T06:17:04.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo [2023-05-23T06:17:04.353Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo [2023-05-23T06:17:04.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcc0cd7 [Pipeline] echo [2023-05-23T06:17:04.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T06:17:04.434Z] provisioning config files... [2023-05-23T06:17:04.447Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config18316865347217835769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:17:04.754Z] ---> docker-login.sh [2023-05-23T06:17:04.754Z] nexus3.edgexfoundry.org:10001 [2023-05-23T06:17:05.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:05.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:05.014Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:05.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:05.014Z] [2023-05-23T06:17:05.014Z] Login Succeeded [2023-05-23T06:17:05.014Z] nexus3.edgexfoundry.org:10002 [2023-05-23T06:17:05.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:05.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:05.014Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:05.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:05.014Z] [2023-05-23T06:17:05.014Z] Login Succeeded [2023-05-23T06:17:05.014Z] nexus3.edgexfoundry.org:10003 [2023-05-23T06:17:05.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:05.282Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:05.282Z] [2023-05-23T06:17:05.282Z] Login Succeeded [2023-05-23T06:17:05.282Z] nexus3.edgexfoundry.org:10004 [2023-05-23T06:17:05.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:05.282Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:05.282Z] [2023-05-23T06:17:05.282Z] Login Succeeded [2023-05-23T06:17:05.282Z] docker.io [2023-05-23T06:17:05.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:05.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:05.543Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:05.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:05.543Z] [2023-05-23T06:17:05.543Z] Login Succeeded [2023-05-23T06:17:05.543Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T06:17:05.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-23T06:17:05.912Z] + git rev-list -1 --merges dcc0cd70b723e4446b36485f1aea1a6961903f9b~1..dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo [2023-05-23T06:17:05.961Z] -----------> git rev-list -1 --merges dcc0cd70b723e4446b36485f1aea1a6961903f9b~1..dcc0cd70b723e4446b36485f1aea1a6961903f9b dcc0cd70b723e4446b36485f1aea1a6961903f9b [2023-05-23T06:17:05.961Z] dcc0cd70b723e4446b36485f1aea1a6961903f9b [false] [Pipeline] sh [2023-05-23T06:17:06.251Z] + git log --format=format:%s -1 dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo [2023-05-23T06:17:06.268Z] ========================================================= [2023-05-23T06:17:06.268Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-23T06:17:06.268Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T06:17:06.618Z] + git log --format=format:%s -1 dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo [2023-05-23T06:17:06.630Z] [semverPrep] GIT_COMMIT: dcc0cd70b723e4446b36485f1aea1a6961903f9b, Commit Message: Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD [Pipeline] echo [2023-05-23T06:17:06.641Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-23T06:17:06.993Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-23T06:17:06.994Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-23T06:17:06.994Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-23T06:17:06.994Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-23T06:17:06.994Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-23T06:17:06.994Z] -a /etc/ssh/ssh_known_hosts [2023-05-23T06:17:06.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:17:07.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T06:17:07.470Z] [2023-05-23T06:17:07.470Z] 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-23T06:17:07.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T06:17:07.773Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-23T06:17:07.773Z] b85a868b505f: Pulling fs layer [2023-05-23T06:17:07.773Z] e2be974225ed: Pulling fs layer [2023-05-23T06:17:07.773Z] 339a4e72a1f5: Pulling fs layer [2023-05-23T06:17:07.773Z] 988bab9f4d93: Pulling fs layer [2023-05-23T06:17:07.773Z] 1469e6f7b9e6: Pulling fs layer [2023-05-23T06:17:07.773Z] eaf3925da568: Pulling fs layer [2023-05-23T06:17:07.773Z] bab4dde63d76: Pulling fs layer [2023-05-23T06:17:07.773Z] bde34c3a00c8: Pulling fs layer [2023-05-23T06:17:07.773Z] b352a97aabf1: Pulling fs layer [2023-05-23T06:17:07.773Z] 4872d77fe225: Pulling fs layer [2023-05-23T06:17:07.773Z] 5851b861e8e6: Pulling fs layer [2023-05-23T06:17:07.773Z] 988bab9f4d93: Waiting [2023-05-23T06:17:07.773Z] 1469e6f7b9e6: Waiting [2023-05-23T06:17:07.773Z] eaf3925da568: Waiting [2023-05-23T06:17:07.773Z] bab4dde63d76: Waiting [2023-05-23T06:17:07.773Z] 5851b861e8e6: Waiting [2023-05-23T06:17:07.773Z] b352a97aabf1: Waiting [2023-05-23T06:17:07.773Z] e2be974225ed: Download complete [2023-05-23T06:17:07.773Z] 988bab9f4d93: Verifying Checksum [2023-05-23T06:17:07.773Z] 988bab9f4d93: Download complete [2023-05-23T06:17:08.034Z] 1469e6f7b9e6: Verifying Checksum [2023-05-23T06:17:08.034Z] 1469e6f7b9e6: Download complete [2023-05-23T06:17:08.034Z] eaf3925da568: Verifying Checksum [2023-05-23T06:17:08.034Z] eaf3925da568: Download complete [2023-05-23T06:17:08.034Z] 339a4e72a1f5: Verifying Checksum [2023-05-23T06:17:08.034Z] 339a4e72a1f5: Download complete [2023-05-23T06:17:08.034Z] bde34c3a00c8: Download complete [2023-05-23T06:17:08.034Z] b352a97aabf1: Verifying Checksum [2023-05-23T06:17:08.034Z] b352a97aabf1: Download complete [2023-05-23T06:17:08.034Z] 4872d77fe225: Verifying Checksum [2023-05-23T06:17:08.034Z] 4872d77fe225: Download complete [2023-05-23T06:17:08.034Z] 5851b861e8e6: Verifying Checksum [2023-05-23T06:17:08.034Z] 5851b861e8e6: Download complete [2023-05-23T06:17:08.034Z] b85a868b505f: Verifying Checksum [2023-05-23T06:17:08.034Z] b85a868b505f: Download complete [2023-05-23T06:17:08.294Z] bab4dde63d76: Verifying Checksum [2023-05-23T06:17:08.294Z] bab4dde63d76: Download complete [2023-05-23T06:17:09.233Z] b85a868b505f: Pull complete [2023-05-23T06:17:09.491Z] e2be974225ed: Pull complete [2023-05-23T06:17:10.060Z] 339a4e72a1f5: Pull complete [2023-05-23T06:17:10.060Z] 988bab9f4d93: Pull complete [2023-05-23T06:17:10.318Z] 1469e6f7b9e6: Pull complete [2023-05-23T06:17:10.318Z] eaf3925da568: Pull complete [2023-05-23T06:17:12.224Z] bab4dde63d76: Pull complete [2023-05-23T06:17:12.224Z] bde34c3a00c8: Pull complete [2023-05-23T06:17:12.224Z] b352a97aabf1: Pull complete [2023-05-23T06:17:12.224Z] 4872d77fe225: Pull complete [2023-05-23T06:17:12.483Z] 5851b861e8e6: Pull complete [2023-05-23T06:17:12.483Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-23T06:17:12.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T06:17:12.483Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:17:12.592Z] prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container [2023-05-23T06:17:12.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-23T06:17:13.871Z] $ docker top 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 -eo pid,comm [2023-05-23T06:17:13.924Z] 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-23T06:17:13.924Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-23T06:17:13.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T06:17:13.970Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T06:17:14.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T06:17:14.085Z] $ docker exec 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent [2023-05-23T06:17:14.199Z] SSH_AUTH_SOCK=/tmp/ssh-m89aF1KzYxl4/agent.33 [2023-05-23T06:17:14.199Z] SSH_AGENT_PID=39 [2023-05-23T06:17:14.208Z] Running ssh-add (command line suppressed) [2023-05-23T06:17:14.331Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12825862764747074633.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12825862764747074633.key) [2023-05-23T06:17:14.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T06:17:14.634Z] + git tag --points-at HEAD [Pipeline] } [2023-05-23T06:17:14.657Z] $ docker exec --env ******** --env ******** 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent -k [2023-05-23T06:17:14.769Z] unset SSH_AUTH_SOCK; [2023-05-23T06:17:14.769Z] unset SSH_AGENT_PID; [2023-05-23T06:17:14.769Z] echo Agent pid 39 killed; [2023-05-23T06:17:14.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-23T06:17:14.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T06:17:14.807Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T06:17:14.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T06:17:14.941Z] $ docker exec 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent [2023-05-23T06:17:15.047Z] SSH_AUTH_SOCK=/tmp/ssh-6uV6N3D3ot2v/agent.70 [2023-05-23T06:17:15.047Z] SSH_AGENT_PID=76 [2023-05-23T06:17:15.051Z] Running ssh-add (command line suppressed) [2023-05-23T06:17:15.159Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_13582982555793998109.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_13582982555793998109.key) [2023-05-23T06:17:15.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T06:17:15.454Z] + git semver init [2023-05-23T06:17:15.714Z] 2023-05-23 06:17:15,641 [run_init] DEBUG init version:0.0.0 force:False [2023-05-23T06:17:15.714Z] 2023-05-23 06:17:15,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-23T06:17:15.714Z] 2023-05-23 06:17:15,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-23T06:17:15.714Z] 2023-05-23 06:17:15,643 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-254/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-254, universal_newlines=False, shell=None, istream=None) [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,301 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-254/.git/info/exclude [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 with force:False [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,302 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,306 [execute] INFO git cat-file --batch-check [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,314 [execute] INFO git cat-file --batch [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-23T06:17:16.654Z] 2023-05-23 06:17:16,320 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-23T06:17:16.654Z] 0.0.0 [Pipeline] } [2023-05-23T06:17:16.667Z] $ docker exec --env ******** --env ******** 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent -k [2023-05-23T06:17:16.765Z] unset SSH_AUTH_SOCK; [2023-05-23T06:17:16.766Z] unset SSH_AGENT_PID; [2023-05-23T06:17:16.766Z] echo Agent pid 76 killed; [2023-05-23T06:17:16.774Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-23T06:17:17.073Z] + git semver [Pipeline] } [2023-05-23T06:17:17.354Z] $ docker stop --time=1 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 [2023-05-23T06:17:18.692Z] $ docker rm -f --volumes 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T06:17:19.028Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-23T06:17:19.234Z] Stashed 1 file(s) [Pipeline] echo [2023-05-23T06:17:19.237Z] [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-23T06:17:19.365Z] provisioning config files... [2023-05-23T06:17:19.376Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config3999818163371926832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:17:19.682Z] ---> docker-login.sh [2023-05-23T06:17:19.682Z] nexus3.edgexfoundry.org:10001 [2023-05-23T06:17:19.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:19.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:19.683Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:19.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:19.683Z] [2023-05-23T06:17:19.683Z] Login Succeeded [2023-05-23T06:17:19.683Z] nexus3.edgexfoundry.org:10002 [2023-05-23T06:17:19.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:19.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:19.683Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:19.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:19.683Z] [2023-05-23T06:17:19.683Z] Login Succeeded [2023-05-23T06:17:19.683Z] nexus3.edgexfoundry.org:10003 [2023-05-23T06:17:19.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:19.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:19.942Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:19.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:19.942Z] [2023-05-23T06:17:19.942Z] Login Succeeded [2023-05-23T06:17:19.942Z] nexus3.edgexfoundry.org:10004 [2023-05-23T06:17:19.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:19.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:19.942Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:19.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:19.942Z] [2023-05-23T06:17:19.942Z] Login Succeeded [2023-05-23T06:17:19.942Z] docker.io [2023-05-23T06:17:20.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:17:20.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:17:20.201Z] Configure a credential helper to remove this warning. See [2023-05-23T06:17:20.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:17:20.201Z] [2023-05-23T06:17:20.201Z] Login Succeeded [2023-05-23T06:17:20.201Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T06:17:20.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T06:17:20.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T06:17:20.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T06:17:20.302Z] ========================================================= [2023-05-23T06:17:20.302Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-23T06:17:20.302Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:17:20.629Z] + 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-23T06:17:20.630Z] Sending build context to Docker daemon 1.96MB [2023-05-23T06:17:20.630Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T06:17:20.630Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-23T06:17:20.630Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-23T06:17:20.630Z] f56be85fc22e: Pulling fs layer [2023-05-23T06:17:20.630Z] 85791d961cd3: Pulling fs layer [2023-05-23T06:17:20.630Z] d694b5ae8c79: Pulling fs layer [2023-05-23T06:17:20.630Z] 9f32a84ed3da: Pulling fs layer [2023-05-23T06:17:20.630Z] 4d19c01a9841: Pulling fs layer [2023-05-23T06:17:20.630Z] 9325e15d5711: Pulling fs layer [2023-05-23T06:17:20.630Z] 556b6ee489ea: Pulling fs layer [2023-05-23T06:17:20.630Z] c5a4b2cf53e6: Pulling fs layer [2023-05-23T06:17:20.630Z] 9325e15d5711: Waiting [2023-05-23T06:17:20.630Z] 9f32a84ed3da: Waiting [2023-05-23T06:17:20.630Z] 556b6ee489ea: Waiting [2023-05-23T06:17:20.630Z] c5a4b2cf53e6: Waiting [2023-05-23T06:17:20.630Z] 4d19c01a9841: Waiting [2023-05-23T06:17:20.630Z] 85791d961cd3: Verifying Checksum [2023-05-23T06:17:20.630Z] 85791d961cd3: Download complete [2023-05-23T06:17:20.630Z] 9f32a84ed3da: Verifying Checksum [2023-05-23T06:17:20.630Z] 9f32a84ed3da: Download complete [2023-05-23T06:17:20.630Z] 4d19c01a9841: Verifying Checksum [2023-05-23T06:17:20.630Z] 4d19c01a9841: Download complete [2023-05-23T06:17:20.630Z] f56be85fc22e: Verifying Checksum [2023-05-23T06:17:20.630Z] f56be85fc22e: Download complete [2023-05-23T06:17:20.894Z] 9325e15d5711: Verifying Checksum [2023-05-23T06:17:20.894Z] 9325e15d5711: Download complete [2023-05-23T06:17:20.894Z] f56be85fc22e: Pull complete [2023-05-23T06:17:21.156Z] 85791d961cd3: Pull complete [2023-05-23T06:17:21.415Z] c5a4b2cf53e6: Verifying Checksum [2023-05-23T06:17:21.415Z] c5a4b2cf53e6: Download complete [2023-05-23T06:17:21.415Z] d694b5ae8c79: Verifying Checksum [2023-05-23T06:17:21.415Z] d694b5ae8c79: Download complete [2023-05-23T06:17:21.674Z] 556b6ee489ea: Verifying Checksum [2023-05-23T06:17:21.674Z] 556b6ee489ea: Download complete [2023-05-23T06:17:24.962Z] d694b5ae8c79: Pull complete [2023-05-23T06:17:24.962Z] 9f32a84ed3da: Pull complete [2023-05-23T06:17:24.963Z] 4d19c01a9841: Pull complete [2023-05-23T06:17:24.963Z] 9325e15d5711: Pull complete [2023-05-23T06:17:27.497Z] 556b6ee489ea: Pull complete [2023-05-23T06:17:28.438Z] c5a4b2cf53e6: Pull complete [2023-05-23T06:17:28.439Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-23T06:17:28.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-23T06:17:28.439Z] ---> c4be618373d6 [2023-05-23T06:17:28.439Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-23T06:17:30.357Z] ---> Running in ff443e055b15 [2023-05-23T06:17:30.357Z] Removing intermediate container ff443e055b15 [2023-05-23T06:17:30.357Z] ---> 819d2cc85513 [2023-05-23T06:17:30.357Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-23T06:17:30.357Z] ---> Running in 0e9b7d20eacf [2023-05-23T06:17:30.357Z] Removing intermediate container 0e9b7d20eacf [2023-05-23T06:17:30.357Z] ---> 49b7cce6e90b [2023-05-23T06:17:30.357Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-23T06:17:30.357Z] ---> Running in 5b6058390ace [2023-05-23T06:17:30.357Z] Removing intermediate container 5b6058390ace [2023-05-23T06:17:30.357Z] ---> e77381bc648a [2023-05-23T06:17:30.357Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-23T06:17:30.357Z] ---> Running in a6caff205e5d [2023-05-23T06:17:30.357Z] Removing intermediate container a6caff205e5d [2023-05-23T06:17:30.357Z] ---> 0a8e2b30a106 [2023-05-23T06:17:30.357Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-23T06:17:30.357Z] ---> Running in 09d04e3f645c [2023-05-23T06:17:30.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T06:17:30.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T06:17:31.188Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-23T06:17:31.188Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-23T06:17:31.188Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-23T06:17:31.188Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-23T06:17:31.188Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-23T06:17:31.188Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-23T06:17:31.188Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-23T06:17:31.188Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-23T06:17:31.188Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-23T06:17:31.188Z] (10/14) Installing kmod-libs (30-r1) [2023-05-23T06:17:31.188Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-23T06:17:31.188Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-23T06:17:31.188Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-23T06:17:31.188Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-23T06:17:31.188Z] Executing busybox-1.35.0-r29.trigger [2023-05-23T06:17:31.188Z] Executing eudev-3.2.11-r4.trigger [2023-05-23T06:17:31.188Z] OK: 272 MiB in 67 packages [2023-05-23T06:17:31.757Z] Removing intermediate container 09d04e3f645c [2023-05-23T06:17:31.757Z] ---> f290dc942f9d [2023-05-23T06:17:31.757Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-23T06:17:31.757Z] ---> Running in cd43d1b318ae [2023-05-23T06:17:31.757Z] Removing intermediate container cd43d1b318ae [2023-05-23T06:17:31.757Z] ---> b0525f035e3c [2023-05-23T06:17:31.757Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-23T06:17:32.016Z] ---> 2bb9775676c7 [2023-05-23T06:17:32.016Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T06:17:32.016Z] ---> Running in 4ace4ee0da8d [2023-05-23T06:17:34.328Z] Still waiting to schedule task [2023-05-23T06:17:34.329Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16472’ [2023-05-23T06:17:50.107Z] Removing intermediate container 4ace4ee0da8d [2023-05-23T06:17:50.107Z] ---> 58706a4d60e2 [2023-05-23T06:17:50.107Z] Step 11/13 : COPY . . [2023-05-23T06:17:50.107Z] ---> 6bf613792e77 [2023-05-23T06:17:50.107Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-23T06:17:50.107Z] ---> Running in 94c85785a075 [2023-05-23T06:17:50.107Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:17:50.107Z] Dload Upload Total Spent Left Speed [2023-05-23T06:17:50.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8133 0 --:--:-- --:--:-- --:--:-- 8169 [2023-05-23T06:17:50.107Z] Removing intermediate container 94c85785a075 [2023-05-23T06:17:50.107Z] ---> fc8357bbf79a [2023-05-23T06:17:50.107Z] Step 13/13 : RUN ${MAKE} [2023-05-23T06:17:50.107Z] ---> Running in eba0f7387dee [2023-05-23T06:17:50.368Z] noop [2023-05-23T06:17:50.629Z] Removing intermediate container eba0f7387dee [2023-05-23T06:17:50.629Z] ---> a338aae3e593 [2023-05-23T06:17:50.629Z] Successfully built a338aae3e593 [2023-05-23T06:17:50.630Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:17:50.948Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T06:17:50.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:17:51.019Z] prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container [2023-05-23T06:17:51.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-23T06:17:51.402Z] $ docker top 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T06:17:51.745Z] + go version [2023-05-23T06:17:51.745Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-23T06:17:51.759Z] $ docker stop --time=1 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c [2023-05-23T06:17:53.049Z] $ docker rm -f --volumes 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:17:53.438Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T06:17:53.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:17:53.509Z] prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container [2023-05-23T06:17:53.539Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-23T06:17:53.888Z] $ docker top 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T06:17:54.247Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] fileExists [Pipeline] sh [2023-05-23T06:17:54.548Z] + make test [2023-05-23T06:17:54.548Z] go test ./... -coverprofile=coverage.out ./... [2023-05-23T06:17:59.826Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-23T06:18:12.028Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-23T06:18:12.028Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 1.6% of statements [2023-05-23T06:18:18.593Z] go vet ./... [2023-05-23T06:18:21.888Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-23T06:18:21.888Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-23T06:18:21.888Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-23T06:18:21.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-23T06:18:21.920Z] $ docker stop --time=1 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 [2023-05-23T06:18:23.706Z] $ docker rm -f --volumes 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T06:18:24.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-23T06:18:24.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-23T06:18:24.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-23T06:18:25.028Z] + ls -al . [2023-05-23T06:18:25.028Z] total 192 [2023-05-23T06:18:25.028Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 06:17 . [2023-05-23T06:18:25.028Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:16 .. [2023-05-23T06:18:25.028Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:17 .git [2023-05-23T06:18:25.028Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 .github [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 414 May 23 06:16 .gitignore [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 45 May 23 06:16 .golangci.yml [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 77 May 23 06:16 .hadolint.yml [2023-05-23T06:18:25.028Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 06:17 .semver [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 23 06:16 Attribution.txt [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 23 06:16 CHANGELOG.md [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 23 06:16 Dockerfile [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 678 May 23 06:16 GOVERNANCE.md [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 659 May 23 06:16 Jenkinsfile [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 23 06:16 LICENSE [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 23 06:16 Makefile [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 622 May 23 06:16 OWNERS.md [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 23 06:16 README.md [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 5 May 23 06:17 VERSION [2023-05-23T06:18:25.028Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:16 bin [2023-05-23T06:18:25.028Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 cmd [2023-05-23T06:18:25.028Z] -rw-r--r-- 1 jenkins jenkins 35308 May 23 06:18 coverage.out [2023-05-23T06:18:25.028Z] -rwxrwxr-x 1 jenkins jenkins 140 May 23 06:16 docker-entrypoint.sh [2023-05-23T06:18:25.028Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:16 docs [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 23 06:16 go.mod [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 23 06:16 go.sum [2023-05-23T06:18:25.028Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 internal [2023-05-23T06:18:25.028Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:16 snap [2023-05-23T06:18:25.028Z] -rw-rw-r-- 1 jenkins jenkins 231 May 23 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:18:25.333Z] + 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=dcc0cd70b723e4446b36485f1aea1a6961903f9b --label arch=amd64 --label version=0.0.0 . [2023-05-23T06:18:25.333Z] Sending build context to Docker daemon 1.996MB [2023-05-23T06:18:25.333Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T06:18:25.333Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-23T06:18:25.333Z] ---> a338aae3e593 [2023-05-23T06:18:25.333Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-23T06:18:25.333Z] ---> Running in e02c7e6e215c [2023-05-23T06:18:25.333Z] Removing intermediate container e02c7e6e215c [2023-05-23T06:18:25.333Z] ---> 4b52b6fd1b61 [2023-05-23T06:18:25.333Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-23T06:18:25.333Z] ---> Running in a9a525f959ba [2023-05-23T06:18:25.592Z] Removing intermediate container a9a525f959ba [2023-05-23T06:18:25.592Z] ---> f9062cebb2a0 [2023-05-23T06:18:25.592Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-23T06:18:25.592Z] ---> Running in 444d2b6aaf27 [2023-05-23T06:18:25.592Z] Removing intermediate container 444d2b6aaf27 [2023-05-23T06:18:25.592Z] ---> fafc1fd0a07d [2023-05-23T06:18:25.592Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-23T06:18:25.592Z] ---> Running in a8fb61805f7b [2023-05-23T06:18:25.853Z] Removing intermediate container a8fb61805f7b [2023-05-23T06:18:25.853Z] ---> 1b653e5e6daf [2023-05-23T06:18:25.853Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-23T06:18:25.853Z] ---> Running in c4ff6c21ea74 [2023-05-23T06:18:26.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T06:18:26.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T06:18:26.374Z] OK: 272 MiB in 67 packages [2023-05-23T06:18:26.633Z] Removing intermediate container c4ff6c21ea74 [2023-05-23T06:18:26.633Z] ---> 041a5c02468d [2023-05-23T06:18:26.633Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-23T06:18:26.633Z] ---> Running in c38cd8e06af4 [2023-05-23T06:18:26.891Z] Removing intermediate container c38cd8e06af4 [2023-05-23T06:18:26.891Z] ---> 040f695a0a48 [2023-05-23T06:18:26.891Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-23T06:18:26.891Z] ---> 9c9e7f7745a3 [2023-05-23T06:18:26.891Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T06:18:26.891Z] ---> Running in df44b57446fd [2023-05-23T06:18:27.828Z] Removing intermediate container df44b57446fd [2023-05-23T06:18:27.828Z] ---> c111a686f251 [2023-05-23T06:18:27.828Z] Step 11/36 : COPY . . [2023-05-23T06:18:28.088Z] ---> 49813a6e2f62 [2023-05-23T06:18:28.088Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-23T06:18:28.088Z] ---> Running in 7bf2e2debb82 [2023-05-23T06:18:28.348Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:18:28.348Z]  Dload Upload Total Spent Left  Speed [2023-05-23T06:18:28.348Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19201 0 --:--:-- --:--:-- --:--:-- 19309 [2023-05-23T06:18:28.607Z] Removing intermediate container 7bf2e2debb82 [2023-05-23T06:18:28.607Z] ---> 5ddff925c3b4 [2023-05-23T06:18:28.607Z] Step 13/36 : RUN ${MAKE} [2023-05-23T06:18:28.607Z] ---> Running in c8cabc53a9b1 [2023-05-23T06:18:28.868Z] 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-23T06:18:50.816Z] Removing intermediate container c8cabc53a9b1 [2023-05-23T06:18:50.816Z] ---> 987dde9a88b3 [2023-05-23T06:18:50.816Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-23T06:18:50.816Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-23T06:18:50.816Z] 4acc49c71d14: Pulling fs layer [2023-05-23T06:18:50.816Z] 4acc49c71d14: Verifying Checksum [2023-05-23T06:18:50.816Z] 4acc49c71d14: Download complete [2023-05-23T06:18:50.816Z] 4acc49c71d14: Pull complete [2023-05-23T06:18:50.816Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-23T06:18:50.816Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-23T06:18:50.816Z] ---> 01a2bd3e5fff [2023-05-23T06:18:50.816Z] Step 15/36 : FROM alpine:3.17 [2023-05-23T06:18:50.816Z] 3.17: Pulling from library/alpine [2023-05-23T06:18:50.816Z] f56be85fc22e: Already exists [2023-05-23T06:18:50.816Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-23T06:18:50.816Z] Status: Downloaded newer image for alpine:3.17 [2023-05-23T06:18:50.816Z] ---> 9ed4aefc74f6 [2023-05-23T06:18:50.816Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-23T06:18:50.816Z] ---> Running in 6ede2417598c [2023-05-23T06:18:50.816Z] Removing intermediate container 6ede2417598c [2023-05-23T06:18:50.816Z] ---> 8b206e303827 [2023-05-23T06:18:50.816Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-23T06:18:50.816Z] ---> Running in 1e1528496de7 [2023-05-23T06:18:50.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T06:18:50.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T06:18:50.816Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-23T06:18:50.816Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-23T06:18:51.077Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-23T06:18:51.077Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-23T06:18:51.077Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-23T06:18:51.077Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-23T06:18:51.077Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-23T06:18:51.077Z] (8/86) Installing libxcb (1.15-r0) [2023-05-23T06:18:51.077Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-23T06:18:51.077Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-23T06:18:51.077Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-23T06:18:51.077Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-23T06:18:51.077Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-23T06:18:51.077Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-23T06:18:51.077Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-23T06:18:51.077Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-23T06:18:51.077Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-23T06:18:51.077Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-23T06:18:51.077Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-23T06:18:51.077Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-23T06:18:51.077Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-23T06:18:51.340Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-23T06:18:51.340Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-23T06:18:51.340Z] (24/86) Installing glib (2.74.6-r0) [2023-05-23T06:18:51.340Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-23T06:18:51.340Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-23T06:18:51.340Z] (27/86) Installing libass (0.16.0-r1) [2023-05-23T06:18:51.340Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-23T06:18:51.340Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-23T06:18:51.340Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-23T06:18:51.340Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-23T06:18:51.340Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-23T06:18:51.340Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-23T06:18:51.340Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-23T06:18:51.340Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-23T06:18:51.340Z] (36/86) Installing libunistring (1.1-r0) [2023-05-23T06:18:51.340Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-23T06:18:51.340Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-23T06:18:51.340Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-23T06:18:51.340Z] (40/86) Installing lame (3.100-r2) [2023-05-23T06:18:51.340Z] (41/86) Installing opus (1.3.1-r1) [2023-05-23T06:18:51.340Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-23T06:18:51.340Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-23T06:18:51.340Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-23T06:18:51.340Z] (45/86) Installing orc (0.4.33-r0) [2023-05-23T06:18:51.340Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-23T06:18:51.340Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-23T06:18:51.340Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-23T06:18:51.601Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-23T06:18:51.601Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-23T06:18:51.601Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-23T06:18:51.601Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-23T06:18:51.601Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-23T06:18:51.602Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-23T06:18:51.602Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-23T06:18:51.602Z] (56/86) Installing libpulse (16.1-r6) [2023-05-23T06:18:51.602Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-23T06:18:51.602Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-23T06:18:51.602Z] (59/86) Installing librist (0.2.7-r0) [2023-05-23T06:18:51.602Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-23T06:18:51.602Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-23T06:18:51.602Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-23T06:18:51.602Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-23T06:18:51.602Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-23T06:18:51.602Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-23T06:18:51.602Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-23T06:18:51.602Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-23T06:18:51.602Z] (68/86) Installing libva (2.16.0-r0) [2023-05-23T06:18:51.602Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-23T06:18:51.602Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-23T06:18:51.602Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-23T06:18:51.602Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-23T06:18:51.602Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-23T06:18:51.602Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-23T06:18:51.602Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-23T06:18:51.861Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-23T06:18:51.861Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-23T06:18:51.861Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-23T06:18:51.861Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-23T06:18:51.861Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-23T06:18:51.861Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-23T06:18:51.861Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-23T06:18:51.861Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-23T06:18:51.861Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-23T06:18:51.861Z] (85/86) Installing kmod-libs (30-r1) [2023-05-23T06:18:51.861Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-23T06:18:51.861Z] Executing busybox-1.35.0-r29.trigger [2023-05-23T06:18:51.861Z] Executing eudev-3.2.11-r4.trigger [2023-05-23T06:18:51.861Z] OK: 112 MiB in 101 packages [2023-05-23T06:18:53.766Z] Removing intermediate container 1e1528496de7 [2023-05-23T06:18:53.766Z] ---> 223444e86a94 [2023-05-23T06:18:53.766Z] Step 18/36 : WORKDIR / [2023-05-23T06:18:53.766Z] ---> Running in 1c1a7688c086 [2023-05-23T06:18:53.766Z] Removing intermediate container 1c1a7688c086 [2023-05-23T06:18:53.766Z] ---> 362f3fbf5877 [2023-05-23T06:18:53.766Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-23T06:18:54.025Z] ---> fad193dd8415 [2023-05-23T06:18:54.025Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-23T06:18:54.285Z] ---> 0069026e2284 [2023-05-23T06:18:54.285Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-23T06:18:54.285Z] ---> 3766e6a77b27 [2023-05-23T06:18:54.285Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-23T06:18:54.544Z] ---> aecd4921c310 [2023-05-23T06:18:54.544Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-23T06:18:54.544Z] ---> 0dd9280a7cfd [2023-05-23T06:18:54.544Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-23T06:18:54.544Z] ---> b2a5118c141c [2023-05-23T06:18:54.544Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-23T06:18:55.114Z] ---> 8d095989274f [2023-05-23T06:18:55.114Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-23T06:18:55.114Z] ---> Running in 755a127c3729 [2023-05-23T06:18:55.686Z] Removing intermediate container 755a127c3729 [2023-05-23T06:18:55.686Z] ---> 58c5475cf86d [2023-05-23T06:18:55.686Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-23T06:18:55.686Z] ---> Running in 8307d8b4703b [2023-05-23T06:18:56.256Z] Removing intermediate container 8307d8b4703b [2023-05-23T06:18:56.256Z] ---> 08f42bff7cba [2023-05-23T06:18:56.256Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-23T06:18:56.256Z] ---> Running in aeb54c257da7 [2023-05-23T06:18:56.830Z] Removing intermediate container aeb54c257da7 [2023-05-23T06:18:56.830Z] ---> c8400abf72e1 [2023-05-23T06:18:56.830Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-23T06:18:56.830Z] ---> Running in 058e570e0025 [2023-05-23T06:18:57.397Z] Removing intermediate container 058e570e0025 [2023-05-23T06:18:57.397Z] ---> 8bf3092a431e [2023-05-23T06:18:57.397Z] Step 30/36 : EXPOSE 59983 [2023-05-23T06:18:57.397Z] ---> Running in a6725da0465b [2023-05-23T06:18:57.397Z] Removing intermediate container a6725da0465b [2023-05-23T06:18:57.397Z] ---> bd0931bf88e8 [2023-05-23T06:18:57.397Z] Step 31/36 : EXPOSE 8554 [2023-05-23T06:18:57.397Z] ---> Running in 3ff318a7aaad [2023-05-23T06:18:57.654Z] Removing intermediate container 3ff318a7aaad [2023-05-23T06:18:57.654Z] ---> bd4afb7a04d9 [2023-05-23T06:18:57.654Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-23T06:18:57.654Z] ---> Running in 384e151097c3 [2023-05-23T06:18:57.654Z] Removing intermediate container 384e151097c3 [2023-05-23T06:18:57.654Z] ---> ff4277dbbed5 [2023-05-23T06:18:57.654Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-23T06:18:57.654Z] ---> Running in 0eed5af8f419 [2023-05-23T06:18:57.654Z] Removing intermediate container 0eed5af8f419 [2023-05-23T06:18:57.654Z] ---> 6f8cce790e69 [2023-05-23T06:18:57.654Z] Step 34/36 : LABEL arch=amd64 [2023-05-23T06:18:57.654Z] ---> Running in 9195d3345986 [2023-05-23T06:18:57.914Z] Removing intermediate container 9195d3345986 [2023-05-23T06:18:57.914Z] ---> b4558bae7d07 [2023-05-23T06:18:57.914Z] Step 35/36 : LABEL git_sha=dcc0cd70b723e4446b36485f1aea1a6961903f9b [2023-05-23T06:18:57.914Z] ---> Running in dd8af6bf6afc [2023-05-23T06:18:57.914Z] Removing intermediate container dd8af6bf6afc [2023-05-23T06:18:57.914Z] ---> 9a878749bf59 [2023-05-23T06:18:57.914Z] Step 36/36 : LABEL version=0.0.0 [2023-05-23T06:18:57.914Z] ---> Running in 962450d8fb88 [2023-05-23T06:18:57.914Z] Removing intermediate container 962450d8fb88 [2023-05-23T06:18:57.914Z] ---> 46e84a901539 [2023-05-23T06:18:57.914Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-23T06:18:58.172Z] Successfully built 46e84a901539 [2023-05-23T06:18:58.172Z] 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-23T06:18:58.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T06:18:58.589Z] [2023-05-23T06:18:58.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:18:58.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T06:18:58.889Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-23T06:18:58.889Z] 5eb5b503b376: Pulling fs layer [2023-05-23T06:18:58.889Z] 5c69ac0246d0: Pulling fs layer [2023-05-23T06:18:58.889Z] ec43610c2a17: Pulling fs layer [2023-05-23T06:18:58.889Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-23T06:18:58.889Z] 33b1e0a273af: Pulling fs layer [2023-05-23T06:18:58.889Z] 5d3b04190fa2: Pulling fs layer [2023-05-23T06:18:58.889Z] 2f39f015ded8: Pulling fs layer [2023-05-23T06:18:58.889Z] 5d3b04190fa2: Waiting [2023-05-23T06:18:58.889Z] 33b1e0a273af: Waiting [2023-05-23T06:18:58.889Z] 3a2ae6a8a46f: Waiting [2023-05-23T06:18:58.889Z] 2f39f015ded8: Waiting [2023-05-23T06:18:58.889Z] 5c69ac0246d0: Download complete [2023-05-23T06:18:58.889Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-23T06:18:58.889Z] 3a2ae6a8a46f: Download complete [2023-05-23T06:18:58.889Z] 33b1e0a273af: Verifying Checksum [2023-05-23T06:18:58.889Z] 33b1e0a273af: Download complete [2023-05-23T06:18:58.889Z] 5d3b04190fa2: Verifying Checksum [2023-05-23T06:18:58.889Z] 5d3b04190fa2: Download complete [2023-05-23T06:18:58.889Z] ec43610c2a17: Verifying Checksum [2023-05-23T06:18:58.889Z] ec43610c2a17: Download complete [2023-05-23T06:18:59.148Z] 5eb5b503b376: Verifying Checksum [2023-05-23T06:18:59.148Z] 5eb5b503b376: Download complete [2023-05-23T06:18:59.714Z] 2f39f015ded8: Download complete [2023-05-23T06:19:00.281Z] 5eb5b503b376: Pull complete [2023-05-23T06:19:00.281Z] 5c69ac0246d0: Pull complete [2023-05-23T06:19:00.850Z] ec43610c2a17: Pull complete [2023-05-23T06:19:00.850Z] 3a2ae6a8a46f: Pull complete [2023-05-23T06:19:01.110Z] 33b1e0a273af: Pull complete [2023-05-23T06:19:01.110Z] 5d3b04190fa2: Pull complete [2023-05-23T06:19:05.307Z] 2f39f015ded8: Pull complete [2023-05-23T06:19:05.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-23T06:19:05.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T06:19:05.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:19:05.389Z] prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container [2023-05-23T06:19:05.419Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-23T06:19:06.590Z] $ docker top 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:19:06.997Z] ---> job-cost.sh [2023-05-23T06:19:06.997Z] lf-activate-venv: SKIPPING [2023-05-23T06:19:06.997Z] INFO: No Stack... [2023-05-23T06:19:07.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-23T06:19:07.514Z] INFO: Archiving Costs [Pipeline] sh [2023-05-23T06:19:07.797Z] + cat /w/workspace/foundry_device-usb-camera_PR-254/archives/cost.csv [2023-05-23T06:19:07.797Z] + cut -d, -f6 [Pipeline] lock [2023-05-23T06:19:07.810Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [2023-05-23T06:19:07.817Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] did not exist. Created. [2023-05-23T06:19:07.817Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-23T06:19:08.119Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-23T06:19:08.148Z] Stashed 1 file(s) [Pipeline] } [2023-05-23T06:19:08.158Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-23T06:19:08.184Z] $ docker stop --time=1 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 [2023-05-23T06:19:09.349Z] $ docker rm -f --volumes 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-23T06:20:51.218Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16474 in /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] { [Pipeline] ws [2023-05-23T06:20:51.231Z] Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout [2023-05-23T06:20:51.272Z] Selected Git installation does not exist. Using Default [2023-05-23T06:20:51.273Z] The recommended git tool is: NONE [2023-05-23T06:20:57.115Z] using credential edgex-jenkins-ssh [2023-05-23T06:20:57.134Z] Cloning the remote Git repository [2023-05-23T06:20:57.191Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-23T06:20:57.302Z] > git init /w/workspace/device-usb-camera/4 # timeout=10 [2023-05-23T06:20:57.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-23T06:20:57.468Z] > git --version # timeout=10 [2023-05-23T06:20:57.493Z] > git --version # 'git version 2.25.1' [2023-05-23T06:20:57.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T06:20:57.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T06:20:58.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-23T06:20:58.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T06:20:59.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-23T06:20:59.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-23T06:20:59.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T06:20:59.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-23T06:21:00.218Z] Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 [2023-05-23T06:21:00.565Z] Merge succeeded, producing 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 [2023-05-23T06:21:00.567Z] Checking out Revision 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 (PR-254) [2023-05-23T06:21:00.243Z] > git config core.sparsecheckout # timeout=10 [2023-05-23T06:21:00.332Z] > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [2023-05-23T06:21:00.426Z] > git remote # timeout=10 [2023-05-23T06:21:00.450Z] > git config --get remote.origin.url # timeout=10 [2023-05-23T06:21:00.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T06:21:00.486Z] > git merge 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 [2023-05-23T06:21:00.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-23T06:21:00.577Z] > git config core.sparsecheckout # timeout=10 [2023-05-23T06:21:00.603Z] > git checkout -f 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 # timeout=10 [2023-05-23T06:21:04.159Z] Commit message: "Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD" [2023-05-23T06:21:04.172Z] > git rev-list --no-walk a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T06:21:05.286Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-23T06:21:05.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:21:05.287Z] Dload Upload Total Spent Left Speed [2023-05-23T06:21:05.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-05-23T06:21:06.017Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-23T06:21:06.352Z] + sudo tee /etc/docker/daemon.new [2023-05-23T06:21:06.352Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-23T06:21:06.352Z] { [2023-05-23T06:21:06.352Z] "registry-mirrors": [ [2023-05-23T06:21:06.352Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-23T06:21:06.352Z] ], [2023-05-23T06:21:06.352Z] "bip": "10.250.0.254/24", [2023-05-23T06:21:06.352Z] "hosts": [ [2023-05-23T06:21:06.352Z] "tcp://0.0.0.0:5555", [2023-05-23T06:21:06.352Z] "unix:///var/run/docker.sock" [2023-05-23T06:21:06.352Z] ], [2023-05-23T06:21:06.352Z] "mtu": 1458, [2023-05-23T06:21:06.352Z] "selinux-enabled": true, [2023-05-23T06:21:06.352Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-23T06:21:06.352Z] } [Pipeline] sh [2023-05-23T06:21:06.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-23T06:21:07.023Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T06:21:25.291Z] provisioning config files... [2023-05-23T06:21:25.315Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config12600796841981658953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:21:25.660Z] ---> docker-login.sh [2023-05-23T06:21:25.660Z] nexus3.edgexfoundry.org:10001 [2023-05-23T06:21:26.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:21:26.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:21:26.252Z] Configure a credential helper to remove this warning. See [2023-05-23T06:21:26.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:21:26.252Z] [2023-05-23T06:21:26.252Z] Login Succeeded [2023-05-23T06:21:26.252Z] nexus3.edgexfoundry.org:10002 [2023-05-23T06:21:26.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:21:26.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:21:26.523Z] Configure a credential helper to remove this warning. See [2023-05-23T06:21:26.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:21:26.523Z] [2023-05-23T06:21:26.523Z] Login Succeeded [2023-05-23T06:21:26.523Z] nexus3.edgexfoundry.org:10003 [2023-05-23T06:21:26.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:21:27.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:21:27.064Z] Configure a credential helper to remove this warning. See [2023-05-23T06:21:27.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:21:27.064Z] [2023-05-23T06:21:27.064Z] Login Succeeded [2023-05-23T06:21:27.064Z] nexus3.edgexfoundry.org:10004 [2023-05-23T06:21:27.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:21:27.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:21:27.336Z] Configure a credential helper to remove this warning. See [2023-05-23T06:21:27.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:21:27.336Z] [2023-05-23T06:21:27.336Z] Login Succeeded [2023-05-23T06:21:27.336Z] docker.io [2023-05-23T06:21:27.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T06:21:27.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T06:21:27.878Z] Configure a credential helper to remove this warning. See [2023-05-23T06:21:27.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T06:21:27.878Z] [2023-05-23T06:21:27.878Z] Login Succeeded [2023-05-23T06:21:27.878Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T06:21:27.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T06:21:28.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T06:21:28.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T06:21:28.169Z] ========================================================= [2023-05-23T06:21:28.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-23T06:21:28.169Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:21:28.513Z] + 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-23T06:21:28.782Z] Sending build context to Docker daemon 1.183MB [2023-05-23T06:21:28.782Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T06:21:28.782Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-23T06:21:32.138Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-23T06:21:32.138Z] c41833b44d91: Pulling fs layer [2023-05-23T06:21:32.138Z] ed15518f5707: Pulling fs layer [2023-05-23T06:21:32.138Z] feae8fd75edb: Pulling fs layer [2023-05-23T06:21:32.138Z] 242c74f7c9fa: Pulling fs layer [2023-05-23T06:21:32.138Z] 3cdef696dda3: Pulling fs layer [2023-05-23T06:21:32.138Z] 2ced38df9373: Pulling fs layer [2023-05-23T06:21:32.138Z] 58f1dce35555: Pulling fs layer [2023-05-23T06:21:32.138Z] 242c74f7c9fa: Waiting [2023-05-23T06:21:32.138Z] 3cdef696dda3: Waiting [2023-05-23T06:21:32.138Z] 2ced38df9373: Waiting [2023-05-23T06:21:32.138Z] 58f1dce35555: Waiting [2023-05-23T06:21:32.138Z] ed15518f5707: Download complete [2023-05-23T06:21:32.138Z] 242c74f7c9fa: Verifying Checksum [2023-05-23T06:21:32.138Z] 242c74f7c9fa: Download complete [2023-05-23T06:21:32.138Z] 3cdef696dda3: Verifying Checksum [2023-05-23T06:21:32.138Z] 3cdef696dda3: Download complete [2023-05-23T06:21:32.138Z] c41833b44d91: Download complete [2023-05-23T06:21:32.732Z] c41833b44d91: Pull complete [2023-05-23T06:21:33.323Z] 58f1dce35555: Verifying Checksum [2023-05-23T06:21:33.323Z] 58f1dce35555: Download complete [2023-05-23T06:21:33.323Z] ed15518f5707: Pull complete [2023-05-23T06:21:34.307Z] feae8fd75edb: Verifying Checksum [2023-05-23T06:21:34.307Z] feae8fd75edb: Download complete [2023-05-23T06:21:34.577Z] 2ced38df9373: Verifying Checksum [2023-05-23T06:21:34.577Z] 2ced38df9373: Download complete [2023-05-23T06:21:46.907Z] feae8fd75edb: Pull complete [2023-05-23T06:21:46.907Z] 242c74f7c9fa: Pull complete [2023-05-23T06:21:46.907Z] 3cdef696dda3: Pull complete [2023-05-23T06:21:53.579Z] 2ced38df9373: Pull complete [2023-05-23T06:21:58.945Z] 58f1dce35555: Pull complete [2023-05-23T06:21:58.945Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-23T06:21:58.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-23T06:21:58.945Z] ---> fadd8f120f05 [2023-05-23T06:21:58.945Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-23T06:22:00.899Z] ---> Running in dd8ce41132ea [2023-05-23T06:22:00.899Z] Removing intermediate container dd8ce41132ea [2023-05-23T06:22:00.899Z] ---> 8cdc629a6086 [2023-05-23T06:22:00.899Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-23T06:22:00.899Z] ---> Running in 4496f6ea64d1 [2023-05-23T06:22:01.166Z] Removing intermediate container 4496f6ea64d1 [2023-05-23T06:22:01.166Z] ---> df348ccac5d5 [2023-05-23T06:22:01.166Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-23T06:22:01.436Z] ---> Running in bfa14cd9027a [2023-05-23T06:22:01.711Z] Removing intermediate container bfa14cd9027a [2023-05-23T06:22:01.711Z] ---> 7322f57361f7 [2023-05-23T06:22:01.711Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-23T06:22:01.711Z] ---> Running in e04c96c93eae [2023-05-23T06:22:01.982Z] Removing intermediate container e04c96c93eae [2023-05-23T06:22:01.982Z] ---> a75a99e03c43 [2023-05-23T06:22:01.982Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-23T06:22:02.254Z] ---> Running in 612a1c88e219 [2023-05-23T06:22:03.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T06:22:03.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T06:22:05.239Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-23T06:22:05.239Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-23T06:22:05.239Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-23T06:22:05.239Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-23T06:22:05.239Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-23T06:22:05.239Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-23T06:22:05.239Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-23T06:22:05.239Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-23T06:22:05.239Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-23T06:22:05.239Z] (10/14) Installing kmod-libs (30-r1) [2023-05-23T06:22:05.239Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-23T06:22:05.239Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-23T06:22:05.239Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-23T06:22:05.239Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-23T06:22:05.239Z] Executing busybox-1.35.0-r29.trigger [2023-05-23T06:22:05.239Z] Executing eudev-3.2.11-r4.trigger [2023-05-23T06:22:05.239Z] OK: 271 MiB in 67 packages [2023-05-23T06:22:06.679Z] Removing intermediate container 612a1c88e219 [2023-05-23T06:22:06.679Z] ---> e8c40bd2cb10 [2023-05-23T06:22:06.679Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-23T06:22:06.679Z] ---> Running in 2fa99b91f198 [2023-05-23T06:22:06.950Z] Removing intermediate container 2fa99b91f198 [2023-05-23T06:22:06.950Z] ---> 14c9df84a15a [2023-05-23T06:22:06.950Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-23T06:22:07.540Z] ---> 2399d561fe2d [2023-05-23T06:22:07.540Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T06:22:07.541Z] ---> Running in 72cd49487bab [2023-05-23T06:23:15.444Z] Removing intermediate container 72cd49487bab [2023-05-23T06:23:15.444Z] ---> 2177b5489fcd [2023-05-23T06:23:15.444Z] Step 11/13 : COPY . . [2023-05-23T06:23:15.444Z] ---> 6b7e18c443f2 [2023-05-23T06:23:15.444Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-23T06:23:15.444Z] ---> Running in 0bb0663c1cc2 [2023-05-23T06:23:15.444Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:23:15.444Z]  Dload Upload Total Spent Left Speed [2023-05-23T06:23:15.444Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2871 0 --:--:-- --:--:-- --:--:-- 2878 [2023-05-23T06:23:15.444Z] Removing intermediate container 0bb0663c1cc2 [2023-05-23T06:23:15.444Z] ---> fb228d405b64 [2023-05-23T06:23:15.444Z] Step 13/13 : RUN ${MAKE} [2023-05-23T06:23:15.444Z] ---> Running in 0d90847a99cb [2023-05-23T06:23:15.444Z] noop [2023-05-23T06:23:15.444Z] Removing intermediate container 0d90847a99cb [2023-05-23T06:23:15.444Z] ---> 3ba78b274031 [2023-05-23T06:23:15.444Z] Successfully built 3ba78b274031 [2023-05-23T06:23:15.444Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:23:15.793Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T06:23:15.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:23:16.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container [2023-05-23T06:23:16.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-23T06:23:19.287Z] $ docker top 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T06:23:20.145Z] + go version [2023-05-23T06:23:20.145Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-23T06:23:20.171Z] $ docker stop --time=1 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de [2023-05-23T06:23:21.846Z] $ docker rm -f --volumes 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:23:22.401Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T06:23:22.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:23:22.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container [2023-05-23T06:23:22.685Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-23T06:23:23.904Z] $ docker top 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T06:23:24.741Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-05-23T06:23:25.076Z] + make test [2023-05-23T06:23:25.077Z] go test ./... -coverprofile=coverage.out ./... [2023-05-23T06:23:57.336Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-23T06:26:19.090Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-23T06:26:21.038Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 1.6% of statements [2023-05-23T06:26:21.305Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-23T06:26:21.305Z] go vet ./... [2023-05-23T06:26:48.004Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-23T06:26:48.004Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-23T06:26:48.004Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-23T06:26:48.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-23T06:26:48.049Z] $ docker stop --time=1 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 [2023-05-23T06:26:49.840Z] $ docker rm -f --volumes 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T06:26:50.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-23T06:26:50.957Z] Warning: overwriting stash ‘coverage-report’ [2023-05-23T06:26:51.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T06:26:51.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-23T06:26:52.224Z] + ls -al . [2023-05-23T06:26:52.224Z] total 188 [2023-05-23T06:26:52.224Z] drwxrwxr-x 9 jenkins jenkins 4096 May 23 06:23 . [2023-05-23T06:26:52.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:20 .. [2023-05-23T06:26:52.224Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:21 .git [2023-05-23T06:26:52.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 .github [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 414 May 23 06:21 .gitignore [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 45 May 23 06:21 .golangci.yml [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 77 May 23 06:21 .hadolint.yml [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 23 06:21 Attribution.txt [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 23 06:21 CHANGELOG.md [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 23 06:21 Dockerfile [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 678 May 23 06:21 GOVERNANCE.md [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 659 May 23 06:21 Jenkinsfile [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 23 06:21 LICENSE [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 23 06:21 Makefile [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 622 May 23 06:21 OWNERS.md [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 23 06:21 README.md [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 5 May 23 06:17 VERSION [2023-05-23T06:26:52.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:21 bin [2023-05-23T06:26:52.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 cmd [2023-05-23T06:26:52.224Z] -rw-r--r-- 1 jenkins jenkins 35308 May 23 06:26 coverage.out [2023-05-23T06:26:52.224Z] -rwxrwxr-x 1 jenkins jenkins 140 May 23 06:21 docker-entrypoint.sh [2023-05-23T06:26:52.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:21 docs [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 23 06:21 go.mod [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 23 06:21 go.sum [2023-05-23T06:26:52.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 internal [2023-05-23T06:26:52.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:21 snap [2023-05-23T06:26:52.224Z] -rw-rw-r-- 1 jenkins jenkins 231 May 23 06:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:26:52.580Z] + 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=2b8f5f9913fd91a75b8dd89418f3c58d992c2639 --label arch=arm64 --label version=0.0.0 . [2023-05-23T06:26:52.855Z] Sending build context to Docker daemon 1.219MB [2023-05-23T06:26:52.855Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T06:26:52.855Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-23T06:26:52.855Z] ---> 3ba78b274031 [2023-05-23T06:26:52.855Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-23T06:26:53.133Z] ---> Running in b599221e2808 [2023-05-23T06:26:53.433Z] Removing intermediate container b599221e2808 [2023-05-23T06:26:53.433Z] ---> a3ffa600d563 [2023-05-23T06:26:53.433Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-23T06:26:53.433Z] ---> Running in eb7c7f048ee9 [2023-05-23T06:26:53.712Z] Removing intermediate container eb7c7f048ee9 [2023-05-23T06:26:53.712Z] ---> 13ed4ec71225 [2023-05-23T06:26:53.712Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-23T06:26:53.988Z] ---> Running in 2eec4730d82f [2023-05-23T06:26:54.266Z] Removing intermediate container 2eec4730d82f [2023-05-23T06:26:54.266Z] ---> 05575c49c33d [2023-05-23T06:26:54.266Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-23T06:26:54.266Z] ---> Running in 8486d4e21f73 [2023-05-23T06:26:54.539Z] Removing intermediate container 8486d4e21f73 [2023-05-23T06:26:54.539Z] ---> 7393d986f5f9 [2023-05-23T06:26:54.539Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-23T06:26:54.539Z] ---> Running in da7087c3b9c0 [2023-05-23T06:26:55.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T06:26:56.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T06:26:57.194Z] OK: 271 MiB in 67 packages [2023-05-23T06:26:58.165Z] Removing intermediate container da7087c3b9c0 [2023-05-23T06:26:58.165Z] ---> 9250dfe17d5b [2023-05-23T06:26:58.165Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-23T06:26:58.165Z] ---> Running in d5f2a49c0a73 [2023-05-23T06:26:58.754Z] Removing intermediate container d5f2a49c0a73 [2023-05-23T06:26:58.754Z] ---> 45119b9fb633 [2023-05-23T06:26:58.754Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-23T06:26:59.027Z] ---> 8538a9a6ce6f [2023-05-23T06:26:59.027Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T06:26:59.297Z] ---> Running in aa31b59ef5e6 [2023-05-23T06:27:01.910Z] Removing intermediate container aa31b59ef5e6 [2023-05-23T06:27:01.910Z] ---> 75bf48793c2f [2023-05-23T06:27:01.910Z] Step 11/36 : COPY . . [2023-05-23T06:27:02.874Z] ---> e2a0bf71fd09 [2023-05-23T06:27:02.874Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-23T06:27:02.874Z] ---> Running in ae59fd2b5e27 [2023-05-23T06:27:03.839Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:27:03.839Z] Dload Upload Total Spent Left Speed [2023-05-23T06:27:04.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4195 0 --:--:-- --:--:-- --:--:-- 4197 [2023-05-23T06:27:05.101Z] Removing intermediate container ae59fd2b5e27 [2023-05-23T06:27:05.101Z] ---> aec5415b620b [2023-05-23T06:27:05.101Z] Step 13/36 : RUN ${MAKE} [2023-05-23T06:27:05.101Z] ---> Running in 1986273308e1 [2023-05-23T06:27:06.068Z] 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-23T06:29:42.824Z] Removing intermediate container 1986273308e1 [2023-05-23T06:29:42.824Z] ---> 84ef8b6c0d47 [2023-05-23T06:29:42.824Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-23T06:29:44.763Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-23T06:29:44.763Z] 8766b47fe142: Pulling fs layer [2023-05-23T06:29:45.345Z] 8766b47fe142: Verifying Checksum [2023-05-23T06:29:45.345Z] 8766b47fe142: Download complete [2023-05-23T06:29:45.943Z] 8766b47fe142: Pull complete [2023-05-23T06:29:45.943Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-23T06:29:45.943Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-23T06:29:45.943Z] ---> 69d40e2cb93c [2023-05-23T06:29:45.943Z] Step 15/36 : FROM alpine:3.17 [2023-05-23T06:29:46.211Z] 3.17: Pulling from library/alpine [2023-05-23T06:29:46.486Z] c41833b44d91: Already exists [2023-05-23T06:29:46.486Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-23T06:29:46.487Z] Status: Downloaded newer image for alpine:3.17 [2023-05-23T06:29:46.487Z] ---> 51e60588ff2c [2023-05-23T06:29:46.487Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-23T06:29:46.487Z] ---> Running in c89c3672d404 [2023-05-23T06:29:46.756Z] Removing intermediate container c89c3672d404 [2023-05-23T06:29:46.756Z] ---> d468283ac0fa [2023-05-23T06:29:46.756Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-23T06:29:47.023Z] ---> Running in 5c8ca5430ff7 [2023-05-23T06:29:47.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T06:29:48.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T06:29:49.530Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-23T06:29:49.530Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-23T06:29:49.530Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-23T06:29:49.530Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-23T06:29:49.530Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-23T06:29:49.530Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-23T06:29:49.530Z] (7/83) Installing libxcb (1.15-r0) [2023-05-23T06:29:49.530Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-23T06:29:49.799Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-23T06:29:49.799Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-23T06:29:50.068Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-23T06:29:50.068Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-23T06:29:50.068Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-23T06:29:50.068Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-23T06:29:50.068Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-23T06:29:50.068Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-23T06:29:50.068Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-23T06:29:50.068Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-23T06:29:50.068Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-23T06:29:50.068Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-23T06:29:50.068Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-23T06:29:50.068Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-23T06:29:50.068Z] (23/83) Installing glib (2.74.6-r0) [2023-05-23T06:29:50.335Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-23T06:29:50.335Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-23T06:29:50.335Z] (26/83) Installing libass (0.16.0-r1) [2023-05-23T06:29:50.335Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-23T06:29:50.335Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-23T06:29:50.335Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-23T06:29:50.335Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-23T06:29:50.335Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-23T06:29:50.601Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-23T06:29:50.601Z] (33/83) Installing libunistring (1.1-r0) [2023-05-23T06:29:50.602Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-23T06:29:50.602Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-23T06:29:50.602Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-23T06:29:50.602Z] (37/83) Installing lame (3.100-r2) [2023-05-23T06:29:50.602Z] (38/83) Installing opus (1.3.1-r1) [2023-05-23T06:29:50.602Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-23T06:29:50.602Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-23T06:29:50.602Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-23T06:29:50.602Z] (42/83) Installing orc (0.4.33-r0) [2023-05-23T06:29:50.602Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-23T06:29:50.602Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-23T06:29:50.602Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-23T06:29:50.869Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-23T06:29:50.869Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-23T06:29:50.869Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-23T06:29:50.869Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-23T06:29:50.869Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-23T06:29:50.869Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-23T06:29:50.869Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-23T06:29:50.869Z] (53/83) Installing libpulse (16.1-r6) [2023-05-23T06:29:50.869Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-23T06:29:50.869Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-23T06:29:50.869Z] (56/83) Installing librist (0.2.7-r0) [2023-05-23T06:29:50.869Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-23T06:29:50.869Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-23T06:29:50.869Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-23T06:29:51.135Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-23T06:29:51.135Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-23T06:29:51.135Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-23T06:29:51.135Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-23T06:29:51.136Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-23T06:29:51.136Z] (65/83) Installing libva (2.16.0-r0) [2023-05-23T06:29:51.136Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-23T06:29:51.136Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-23T06:29:51.136Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-23T06:29:51.136Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-23T06:29:51.136Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-23T06:29:51.136Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-23T06:29:51.136Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-23T06:29:51.402Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-23T06:29:51.402Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-23T06:29:51.402Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-23T06:29:51.402Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-23T06:29:51.668Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-23T06:29:51.938Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-23T06:29:51.938Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-23T06:29:51.938Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-23T06:29:51.938Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-23T06:29:51.938Z] (82/83) Installing kmod-libs (30-r1) [2023-05-23T06:29:51.938Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-23T06:29:51.938Z] Executing busybox-1.35.0-r29.trigger [2023-05-23T06:29:51.938Z] Executing eudev-3.2.11-r4.trigger [2023-05-23T06:29:51.938Z] OK: 86 MiB in 98 packages [2023-05-23T06:29:55.281Z] Removing intermediate container 5c8ca5430ff7 [2023-05-23T06:29:55.281Z] ---> 68b4e7132326 [2023-05-23T06:29:55.281Z] Step 18/36 : WORKDIR / [2023-05-23T06:29:55.281Z] ---> Running in 15572fd40f6c [2023-05-23T06:29:55.281Z] Removing intermediate container 15572fd40f6c [2023-05-23T06:29:55.281Z] ---> 99a13f96049a [2023-05-23T06:29:55.281Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-23T06:29:57.224Z] ---> af44984cabf2 [2023-05-23T06:29:57.224Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-23T06:29:57.805Z] ---> 4c9995f18321 [2023-05-23T06:29:57.805Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-23T06:29:58.388Z] ---> a83ddc82c04e [2023-05-23T06:29:58.388Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-23T06:29:58.654Z] ---> 42995a62756d [2023-05-23T06:29:58.654Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-23T06:29:59.234Z] ---> b4a6381d3f3d [2023-05-23T06:29:59.234Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-23T06:29:59.501Z] ---> e441c6686be9 [2023-05-23T06:29:59.501Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-23T06:30:00.903Z] ---> 61fc55f5320c [2023-05-23T06:30:00.903Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-23T06:30:00.903Z] ---> Running in d69b2a2e659d [2023-05-23T06:30:02.315Z] Removing intermediate container d69b2a2e659d [2023-05-23T06:30:02.315Z] ---> b78346ea4e4b [2023-05-23T06:30:02.315Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-23T06:30:02.315Z] ---> Running in f4458c8e7c55 [2023-05-23T06:30:04.261Z] Removing intermediate container f4458c8e7c55 [2023-05-23T06:30:04.261Z] ---> f11de9d11c04 [2023-05-23T06:30:04.261Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-23T06:30:04.262Z] ---> Running in 940262e3e0f1 [2023-05-23T06:30:05.228Z] Removing intermediate container 940262e3e0f1 [2023-05-23T06:30:05.228Z] ---> b899a918f885 [2023-05-23T06:30:05.228Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-23T06:30:05.494Z] ---> Running in 8c806de5a8c3 [2023-05-23T06:30:06.898Z] Removing intermediate container 8c806de5a8c3 [2023-05-23T06:30:06.898Z] ---> c956c621b981 [2023-05-23T06:30:06.898Z] Step 30/36 : EXPOSE 59983 [2023-05-23T06:30:06.898Z] ---> Running in bbc42f7a11ad [2023-05-23T06:30:07.165Z] Removing intermediate container bbc42f7a11ad [2023-05-23T06:30:07.165Z] ---> c9c7018525b8 [2023-05-23T06:30:07.165Z] Step 31/36 : EXPOSE 8554 [2023-05-23T06:30:07.165Z] ---> Running in 471402e9ba26 [2023-05-23T06:30:07.432Z] Removing intermediate container 471402e9ba26 [2023-05-23T06:30:07.432Z] ---> ca46c779920e [2023-05-23T06:30:07.432Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-23T06:30:07.432Z] ---> Running in 38cf61a23a97 [2023-05-23T06:30:07.701Z] Removing intermediate container 38cf61a23a97 [2023-05-23T06:30:07.701Z] ---> 1509d47785fa [2023-05-23T06:30:07.701Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-23T06:30:07.701Z] ---> Running in 96437160117d [2023-05-23T06:30:07.968Z] Removing intermediate container 96437160117d [2023-05-23T06:30:07.968Z] ---> 96102a025bcd [2023-05-23T06:30:07.968Z] Step 34/36 : LABEL arch=arm64 [2023-05-23T06:30:08.243Z] ---> Running in e42414cdeed3 [2023-05-23T06:30:08.509Z] Removing intermediate container e42414cdeed3 [2023-05-23T06:30:08.509Z] ---> 6dc9290b3e58 [2023-05-23T06:30:08.509Z] Step 35/36 : LABEL git_sha=2b8f5f9913fd91a75b8dd89418f3c58d992c2639 [2023-05-23T06:30:08.509Z] ---> Running in 588763ef6cd8 [2023-05-23T06:30:08.775Z] Removing intermediate container 588763ef6cd8 [2023-05-23T06:30:08.775Z] ---> 47de3f263010 [2023-05-23T06:30:08.775Z] Step 36/36 : LABEL version=0.0.0 [2023-05-23T06:30:08.775Z] ---> Running in ad484d2f4d01 [2023-05-23T06:30:09.042Z] Removing intermediate container ad484d2f4d01 [2023-05-23T06:30:09.042Z] ---> 4b813dcf41f8 [2023-05-23T06:30:09.042Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-23T06:30:09.042Z] Successfully built 4b813dcf41f8 [2023-05-23T06:30:09.042Z] 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-23T06:30:09.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T06:30:09.484Z] [2023-05-23T06:30:09.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:30:09.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T06:30:09.809Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-23T06:30:09.809Z] 8998bd30e6a1: Pulling fs layer [2023-05-23T06:30:09.809Z] 04944245beec: Pulling fs layer [2023-05-23T06:30:09.809Z] 699f458cf7ca: Pulling fs layer [2023-05-23T06:30:09.809Z] 765212b225bb: Pulling fs layer [2023-05-23T06:30:09.809Z] f23df028b6ca: Pulling fs layer [2023-05-23T06:30:09.809Z] d65c8cfc05b1: Pulling fs layer [2023-05-23T06:30:09.809Z] 2437ff75d9bd: Pulling fs layer [2023-05-23T06:30:09.809Z] f23df028b6ca: Waiting [2023-05-23T06:30:09.809Z] d65c8cfc05b1: Waiting [2023-05-23T06:30:09.809Z] 2437ff75d9bd: Waiting [2023-05-23T06:30:09.809Z] 765212b225bb: Waiting [2023-05-23T06:30:10.074Z] 04944245beec: Verifying Checksum [2023-05-23T06:30:10.074Z] 04944245beec: Download complete [2023-05-23T06:30:10.342Z] 765212b225bb: Verifying Checksum [2023-05-23T06:30:10.342Z] 765212b225bb: Download complete [2023-05-23T06:30:10.610Z] f23df028b6ca: Verifying Checksum [2023-05-23T06:30:10.610Z] f23df028b6ca: Download complete [2023-05-23T06:30:10.610Z] d65c8cfc05b1: Verifying Checksum [2023-05-23T06:30:10.610Z] d65c8cfc05b1: Download complete [2023-05-23T06:30:10.610Z] 699f458cf7ca: Verifying Checksum [2023-05-23T06:30:10.610Z] 699f458cf7ca: Download complete [2023-05-23T06:30:11.195Z] 8998bd30e6a1: Download complete [2023-05-23T06:30:13.138Z] 2437ff75d9bd: Verifying Checksum [2023-05-23T06:30:13.138Z] 2437ff75d9bd: Download complete [2023-05-23T06:30:15.100Z] 8998bd30e6a1: Pull complete [2023-05-23T06:30:15.405Z] 04944245beec: Pull complete [2023-05-23T06:30:16.894Z] 699f458cf7ca: Pull complete [2023-05-23T06:30:16.894Z] 765212b225bb: Pull complete [2023-05-23T06:30:17.478Z] f23df028b6ca: Pull complete [2023-05-23T06:30:17.745Z] d65c8cfc05b1: Pull complete [2023-05-23T06:30:32.740Z] 2437ff75d9bd: Pull complete [2023-05-23T06:30:32.740Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-23T06:30:32.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T06:30:32.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:30:32.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container [2023-05-23T06:30:32.994Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-23T06:30:35.620Z] $ docker top 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:36.457Z] ---> job-cost.sh [2023-05-23T06:30:36.457Z] lf-activate-venv: SKIPPING [2023-05-23T06:30:36.457Z] INFO: No Stack... [2023-05-23T06:30:36.725Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-23T06:30:37.684Z] INFO: Archiving Costs [Pipeline] sh [2023-05-23T06:30:38.005Z] + cut -d, -f6 [2023-05-23T06:30:38.005Z] + cat /w/workspace/device-usb-camera/4/archives/cost.csv [Pipeline] lock [2023-05-23T06:30:38.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [2023-05-23T06:30:38.345Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] did not exist. Created. [2023-05-23T06:30:38.345Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-23T06:30:39.004Z] /w/workspace/device-usb-camera/4@tmp/durable-c5ce635b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-23T06:30:39.655Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-23T06:30:39.680Z] Warning: overwriting stash ‘stack-cost’ [2023-05-23T06:30:39.723Z] Stashed 1 file(s) [Pipeline] } [2023-05-23T06:30:39.733Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-23T06:30:39.755Z] $ docker stop --time=1 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d [2023-05-23T06:30:41.275Z] $ docker rm -f --volumes 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d [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-23T06:30:41.715Z] provisioning config files... [2023-05-23T06:30:41.723Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config6588485847691619612tmp [Pipeline] { [Pipeline] sh [2023-05-23T06:30:42.021Z] + set +x [2023-05-23T06:30:42.021Z] + curl -s https://codecov.io/bash [2023-05-23T06:30:42.021Z] + bash -s -- [2023-05-23T06:30:42.021Z] [2023-05-23T06:30:42.021Z] _____ _ [2023-05-23T06:30:42.021Z] / ____| | | [2023-05-23T06:30:42.021Z] | | ___ __| | ___ ___ _____ __ [2023-05-23T06:30:42.021Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-23T06:30:42.021Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-23T06:30:42.021Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-23T06:30:42.021Z] Bash-1.0.6 [2023-05-23T06:30:42.021Z] [2023-05-23T06:30:42.021Z] [2023-05-23T06:30:42.021Z] ==> git version 2.25.1 found [2023-05-23T06:30:42.021Z] ==> 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-23T06:30:42.021Z] Release-Date: 2020-01-08 [2023-05-23T06:30:42.021Z] 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-23T06:30:42.021Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-23T06:30:42.021Z] ==> Jenkins CI detected. [2023-05-23T06:30:42.021Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-254 [2023-05-23T06:30:42.021Z] project root: . [2023-05-23T06:30:42.021Z] --> token set from env [2023-05-23T06:30:42.021Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-23T06:30:42.021Z] ==> Running gcov in . (disable via -X gcov) [2023-05-23T06:30:42.021Z] ==> Python coveragepy not found [2023-05-23T06:30:42.021Z] ==> Searching for coverage reports in: [2023-05-23T06:30:42.021Z] + . [2023-05-23T06:30:42.282Z] -> Found 1 reports [2023-05-23T06:30:42.282Z] ==> Detecting git/mercurial file structure [2023-05-23T06:30:42.282Z] ==> Reading reports [2023-05-23T06:30:42.282Z] + ./coverage.out bytes=35308 [2023-05-23T06:30:42.282Z] ==> Appending adjustments [2023-05-23T06:30:42.282Z] https://docs.codecov.io/docs/fixing-reports [2023-05-23T06:30:42.282Z] + Found adjustments [2023-05-23T06:30:42.282Z] ==> Gzipping contents [2023-05-23T06:30:42.282Z] 8.0K /tmp/codecov.0JH6FR.gz [2023-05-23T06:30:42.282Z] ==> Uploading reports [2023-05-23T06:30:42.282Z] url: https://codecov.io [2023-05-23T06:30:42.282Z] query: branch=PR-254&commit=dcc0cd70b723e4446b36485f1aea1a6961903f9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-05-23T06:30:42.282Z] -> Pinging Codecov [2023-05-23T06:30:42.282Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-254&commit=dcc0cd70b723e4446b36485f1aea1a6961903f9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-05-23T06:30:42.542Z] -> Uploading to [2023-05-23T06:30:42.542Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-23/73D8F5FF140700D3E01443B452E23636/dcc0cd70b723e4446b36485f1aea1a6961903f9b/2e1b1f7a-10d4-4270-929a-fd5f623fd35a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T063042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a91a5badb69f6b3e74c99ea2f55aa74f46f92c0d36269e19ce2bbbff42273761 [2023-05-23T06:30:42.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T06:30:42.542Z] Dload Upload Total Spent Left Speed [2023-05-23T06:30:43.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4798 0 0 100 4798 0 3760 0:00:01 0:00:01 --:--:-- 3757 100 4798 0 0 100 4798 0 3719 0:00:01 0:00:01 --:--:-- 3716 [2023-05-23T06:30:43.924Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] } [2023-05-23T06:30:43.931Z] 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-23T06:30:44.715Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-254/archives ] [2023-05-23T06:30:44.715Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-23T06:30:44.715Z] total 16 [2023-05-23T06:30:44.715Z] drwxr-xr-x 3 root root 4096 May 23 06:19 . [2023-05-23T06:30:44.715Z] drwxrwxr-x 11 jenkins jenkins 4096 May 23 06:19 .. [2023-05-23T06:30:44.715Z] drwxr-xr-x 2 root root 4096 May 23 06:19 cost [2023-05-23T06:30:44.715Z] -rw-r--r-- 1 root root 89 May 23 06:19 cost.csv [2023-05-23T06:30:44.715Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-23T06:30:44.715Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-23T06:30:44.715Z] total 16 [2023-05-23T06:30:44.715Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 06:19 . [2023-05-23T06:30:44.715Z] drwxrwxr-x 11 jenkins jenkins 4096 May 23 06:19 .. [2023-05-23T06:30:44.715Z] drwxr-xr-x 2 jenkins jenkins 4096 May 23 06:19 cost [2023-05-23T06:30:44.715Z] -rw-r--r-- 1 jenkins jenkins 89 May 23 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:45.006Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:45.870Z] ---> package-listing.sh [2023-05-23T06:30:45.870Z] ++ facter osfamily [2023-05-23T06:30:45.870Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-23T06:30:46.130Z] + OS_FAMILY=debian [2023-05-23T06:30:46.130Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-254 [2023-05-23T06:30:46.130Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-23T06:30:46.130Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-23T06:30:46.130Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-23T06:30:46.130Z] + PACKAGES=/tmp/packages_start.txt [2023-05-23T06:30:46.130Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-23T06:30:46.130Z] + PACKAGES=/tmp/packages_end.txt [2023-05-23T06:30:46.130Z] + case "${OS_FAMILY}" in [2023-05-23T06:30:46.130Z] + dpkg -l [2023-05-23T06:30:46.130Z] + grep '^ii' [2023-05-23T06:30:46.130Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-23T06:30:46.130Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-23T06:30:46.130Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-23T06:30:46.130Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-23T06:30:46.130Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-254/archives/ [2023-05-23T06:30:46.130Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-254/archives/ [Pipeline] echo [2023-05-23T06:30:46.143Z] 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-23T06:30:46.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T06:30:46.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T06:30:46.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T06:30:47.061Z] prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container [2023-05-23T06:30:47.089Z] $ 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-254/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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-23T06:30:47.294Z] $ docker top 13efcb6f43b27503830e7b57cce2c675e19f8423bde88734c129012209113dfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T06:30:47.647Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-23T06:30:47.933Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-23T06:30:48.222Z] + ls /var/log/sa-host [2023-05-23T06:30:48.222Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T06:30:48.314Z] provisioning config files... [2023-05-23T06:30:48.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config453785342861069208tmp [Pipeline] { [Pipeline] echo [2023-05-23T06:30:48.340Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:48.623Z] ---> create-netrc.sh [Pipeline] } [2023-05-23T06:30:48.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:48.957Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-23T06:30:48.967Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:49.254Z] ---> sudo-logs.sh [2023-05-23T06:30:49.254Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-23T06:30:49.286Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:49.571Z] ---> job-cost.sh [2023-05-23T06:30:49.572Z] lf-activate-venv: SKIPPING [2023-05-23T06:30:49.572Z] DEBUG: total: 0.2199999988079071 [2023-05-23T06:30:49.572Z] INFO: Retrieving Stack Cost... [2023-05-23T06:30:50.143Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-23T06:30:50.403Z] INFO: Archiving Costs [Pipeline] echo [2023-05-23T06:30:50.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T06:30:50.699Z] ---> logs-deploy.sh [2023-05-23T06:30:50.699Z] lf-activate-venv: SKIPPING [2023-05-23T06:30:50.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-254/4 [2023-05-23T06:30:50.699Z] INFO: archiving workspace using pattern(s): [2023-05-23T06:30:51.639Z] Archives upload complete. [2023-05-23T06:30:51.639Z] INFO: archiving logs to Nexus