Pull request #247 updated 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 8bb3237301cd1e7ba1226b3bd0aaf265b839229f rather than 22c82a87b379ea1264529f3c27af1b3e97c2ff0e Obtained Jenkinsfile from 8bb3237301cd1e7ba1226b3bd0aaf265b839229f 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-ssh10092873641149843671.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-ssh17131109240330107728.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-247/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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14708538739714114302.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-ssh1790997052198249020.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-247/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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8551542733548305290.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15749 in /w/workspace/foundry_device-usb-camera_PR-247 [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-247 # 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/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb3237301cd1e7ba1226b3bd0aaf265b839229f into PR head commit 22c82a87b379ea1264529f3c27af1b3e97c2ff0e Merge succeeded, producing b193664d48b87fc06935ebddd81fb92ea2f741d9 Checking out Revision b193664d48b87fc06935ebddd81fb92ea2f741d9 (PR-247) > git config core.sparsecheckout # timeout=10 > git checkout -f 22c82a87b379ea1264529f3c27af1b3e97c2ff0e # 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 8bb3237301cd1e7ba1226b3bd0aaf265b839229f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b193664d48b87fc06935ebddd81fb92ea2f741d9 # timeout=10 Commit message: "Merge commit '8bb3237301cd1e7ba1226b3bd0aaf265b839229f' into HEAD" > git rev-list --no-walk 7b8d677cb4a4851e2566e4e16181eae6a576a622 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T17:16:05.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T17:16:05.666Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T17:16:05.686Z] ========================================================= [2023-05-16T17:16:05.686Z] EdgeX Global Pipelines Version Info [2023-05-16T17:16:05.686Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:16:06.423Z] ------------------- [2023-05-16T17:16:06.423Z] stable info: [2023-05-16T17:16:06.423Z] ------------------- [2023-05-16T17:16:06.423Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T17:16:06.423Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T17:16:06.423Z] Message: update stable to v1.0.249 [2023-05-16T17:16:06.994Z] ------------------- [2023-05-16T17:16:06.994Z] experimental info: [2023-05-16T17:16:06.994Z] ------------------- [2023-05-16T17:16:06.994Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T17:16:06.994Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T17:16:06.994Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T17:16:07.284Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-16T17:16:07.301Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-16T17:16:07.319Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T17:16:07.337Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T17:16:07.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T17:16:07.371Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T17:16:07.389Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T17:16:07.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T17:16:07.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T17:16:07.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T17:16:07.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T17:16:07.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-16T17:16:07.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T17:16:07.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T17:16:07.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T17:16:07.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T17:16:07.711Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T17:16:07.721Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T17:16:07.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T17:16:07.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T17:16:07.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T17:16:07.767Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T17:16:07.779Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T17:16:07.791Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T17:16:07.804Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T17:16:07.822Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T17:16:07.839Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T17:16:07.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2023-05-16T17:16:07.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2023-05-16T17:16:07.892Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2023-05-16T17:16:07.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b193664d48b87fc06935ebddd81fb92ea2f741d9 [Pipeline] echo [2023-05-16T17:16:07.925Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b193664 [Pipeline] echo [2023-05-16T17:16:07.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:16:08.001Z] provisioning config files... [2023-05-16T17:16:08.018Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config9654008840857099814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:16:08.322Z] ---> docker-login.sh [2023-05-16T17:16:08.322Z] nexus3.edgexfoundry.org:10001 [2023-05-16T17:16:08.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:08.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:08.853Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:08.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:08.853Z] [2023-05-16T17:16:08.853Z] Login Succeeded [2023-05-16T17:16:08.853Z] nexus3.edgexfoundry.org:10002 [2023-05-16T17:16:08.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:08.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:08.853Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:08.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:08.853Z] [2023-05-16T17:16:08.853Z] Login Succeeded [2023-05-16T17:16:08.853Z] nexus3.edgexfoundry.org:10003 [2023-05-16T17:16:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:09.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:09.113Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:09.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:09.113Z] [2023-05-16T17:16:09.113Z] Login Succeeded [2023-05-16T17:16:09.113Z] nexus3.edgexfoundry.org:10004 [2023-05-16T17:16:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:09.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:09.113Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:09.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:09.113Z] [2023-05-16T17:16:09.113Z] Login Succeeded [2023-05-16T17:16:09.113Z] docker.io [2023-05-16T17:16:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:09.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:09.684Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:09.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:09.684Z] [2023-05-16T17:16:09.684Z] Login Succeeded [2023-05-16T17:16:09.684Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T17:16:09.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T17:16:10.086Z] + git rev-list -1 --merges b193664d48b87fc06935ebddd81fb92ea2f741d9~1..b193664d48b87fc06935ebddd81fb92ea2f741d9 [Pipeline] echo [2023-05-16T17:16:10.133Z] -----------> git rev-list -1 --merges b193664d48b87fc06935ebddd81fb92ea2f741d9~1..b193664d48b87fc06935ebddd81fb92ea2f741d9 b193664d48b87fc06935ebddd81fb92ea2f741d9 [2023-05-16T17:16:10.133Z] b193664d48b87fc06935ebddd81fb92ea2f741d9 [false] [Pipeline] sh [2023-05-16T17:16:10.425Z] + git log --format=format:%s -1 b193664d48b87fc06935ebddd81fb92ea2f741d9 [Pipeline] echo [2023-05-16T17:16:10.441Z] ========================================================= [2023-05-16T17:16:10.441Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T17:16:10.441Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T17:16:10.785Z] + git log --format=format:%s -1 b193664d48b87fc06935ebddd81fb92ea2f741d9 [Pipeline] echo [2023-05-16T17:16:10.796Z] [semverPrep] GIT_COMMIT: b193664d48b87fc06935ebddd81fb92ea2f741d9, Commit Message: Merge commit '8bb3237301cd1e7ba1226b3bd0aaf265b839229f' into HEAD [Pipeline] echo [2023-05-16T17:16:10.808Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T17:16:11.282Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T17:16:11.282Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T17:16:11.282Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T17:16:11.282Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T17:16:11.282Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T17:16:11.282Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T17:16:11.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:16:11.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:16:11.786Z] [2023-05-16T17:16:11.786Z] 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-16T17:16:12.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:16:12.096Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T17:16:12.096Z] b85a868b505f: Pulling fs layer [2023-05-16T17:16:12.096Z] e2be974225ed: Pulling fs layer [2023-05-16T17:16:12.096Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T17:16:12.096Z] 988bab9f4d93: Pulling fs layer [2023-05-16T17:16:12.096Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T17:16:12.096Z] eaf3925da568: Pulling fs layer [2023-05-16T17:16:12.096Z] bab4dde63d76: Pulling fs layer [2023-05-16T17:16:12.096Z] bde34c3a00c8: Pulling fs layer [2023-05-16T17:16:12.096Z] b352a97aabf1: Pulling fs layer [2023-05-16T17:16:12.096Z] 4872d77fe225: Pulling fs layer [2023-05-16T17:16:12.096Z] 5851b861e8e6: Pulling fs layer [2023-05-16T17:16:12.096Z] bab4dde63d76: Waiting [2023-05-16T17:16:12.096Z] 4872d77fe225: Waiting [2023-05-16T17:16:12.096Z] bde34c3a00c8: Waiting [2023-05-16T17:16:12.096Z] b352a97aabf1: Waiting [2023-05-16T17:16:12.096Z] 5851b861e8e6: Waiting [2023-05-16T17:16:12.096Z] 988bab9f4d93: Waiting [2023-05-16T17:16:12.096Z] eaf3925da568: Waiting [2023-05-16T17:16:12.096Z] e2be974225ed: Download complete [2023-05-16T17:16:12.096Z] 988bab9f4d93: Verifying Checksum [2023-05-16T17:16:12.096Z] 988bab9f4d93: Download complete [2023-05-16T17:16:12.096Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T17:16:12.096Z] 1469e6f7b9e6: Download complete [2023-05-16T17:16:12.355Z] eaf3925da568: Verifying Checksum [2023-05-16T17:16:12.355Z] eaf3925da568: Download complete [2023-05-16T17:16:12.355Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T17:16:12.355Z] 339a4e72a1f5: Download complete [2023-05-16T17:16:12.355Z] bde34c3a00c8: Download complete [2023-05-16T17:16:12.355Z] b352a97aabf1: Verifying Checksum [2023-05-16T17:16:12.355Z] b352a97aabf1: Download complete [2023-05-16T17:16:12.355Z] 4872d77fe225: Verifying Checksum [2023-05-16T17:16:12.355Z] 4872d77fe225: Download complete [2023-05-16T17:16:12.355Z] 5851b861e8e6: Verifying Checksum [2023-05-16T17:16:12.355Z] 5851b861e8e6: Download complete [2023-05-16T17:16:12.355Z] b85a868b505f: Verifying Checksum [2023-05-16T17:16:12.355Z] b85a868b505f: Download complete [2023-05-16T17:16:12.613Z] bab4dde63d76: Verifying Checksum [2023-05-16T17:16:12.613Z] bab4dde63d76: Download complete [2023-05-16T17:16:13.549Z] b85a868b505f: Pull complete [2023-05-16T17:16:13.549Z] e2be974225ed: Pull complete [2023-05-16T17:16:14.115Z] 339a4e72a1f5: Pull complete [2023-05-16T17:16:14.115Z] 988bab9f4d93: Pull complete [2023-05-16T17:16:14.375Z] 1469e6f7b9e6: Pull complete [2023-05-16T17:16:14.375Z] eaf3925da568: Pull complete [2023-05-16T17:16:16.278Z] bab4dde63d76: Pull complete [2023-05-16T17:16:16.278Z] bde34c3a00c8: Pull complete [2023-05-16T17:16:16.278Z] b352a97aabf1: Pull complete [2023-05-16T17:16:16.278Z] 4872d77fe225: Pull complete [2023-05-16T17:16:16.278Z] 5851b861e8e6: Pull complete [2023-05-16T17:16:16.278Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T17:16:16.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:16:16.278Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:16:16.385Z] prd-ubuntu20.04-docker-8c-8g-15749 does not seem to be running inside a container [2023-05-16T17:16:16.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-16T17:16:19.028Z] $ docker top b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 -eo pid,comm [2023-05-16T17:16:19.086Z] 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-16T17:16:19.086Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T17:16:19.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T17:16:19.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T17:16:19.232Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T17:16:19.242Z] $ docker exec b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 ssh-agent [2023-05-16T17:16:19.331Z] SSH_AUTH_SOCK=/tmp/ssh-rsc3RmF0sJ5S/agent.34 [2023-05-16T17:16:19.331Z] SSH_AGENT_PID=40 [2023-05-16T17:16:19.337Z] Running ssh-add (command line suppressed) [2023-05-16T17:16:19.432Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_1576100130181436651.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_1576100130181436651.key) [2023-05-16T17:16:19.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T17:16:19.732Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T17:16:19.768Z] $ docker exec --env ******** --env ******** b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 ssh-agent -k [2023-05-16T17:16:19.858Z] unset SSH_AUTH_SOCK; [2023-05-16T17:16:19.858Z] unset SSH_AGENT_PID; [2023-05-16T17:16:19.858Z] echo Agent pid 40 killed; [2023-05-16T17:16:19.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T17:16:19.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T17:16:19.884Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T17:16:19.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T17:16:20.008Z] $ docker exec b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 ssh-agent [2023-05-16T17:16:20.121Z] SSH_AUTH_SOCK=/tmp/ssh-MKZykzwybFfq/agent.72 [2023-05-16T17:16:20.121Z] SSH_AGENT_PID=78 [2023-05-16T17:16:20.128Z] Running ssh-add (command line suppressed) [2023-05-16T17:16:20.226Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_7355347817493405105.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_7355347817493405105.key) [2023-05-16T17:16:20.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T17:16:20.526Z] + git semver init [2023-05-16T17:16:20.787Z] 2023-05-16 17:16:20,682 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T17:16:20.787Z] 2023-05-16 17:16:20,682 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-247/.semver [2023-05-16T17:16:20.787Z] 2023-05-16 17:16:20,682 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-247/.semver [2023-05-16T17:16:20.787Z] 2023-05-16 17:16:20,683 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-247/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-247, universal_newlines=False, shell=None, istream=None) [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,309 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-247/.git/info/exclude [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 with force:False [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,310 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,314 [execute] INFO git cat-file --batch-check [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,320 [execute] INFO git cat-file --batch [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T17:16:21.356Z] 2023-05-16 17:16:21,324 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 [2023-05-16T17:16:21.356Z] 0.0.0 [Pipeline] } [2023-05-16T17:16:21.374Z] $ docker exec --env ******** --env ******** b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 ssh-agent -k [2023-05-16T17:16:21.472Z] unset SSH_AUTH_SOCK; [2023-05-16T17:16:21.472Z] unset SSH_AGENT_PID; [2023-05-16T17:16:21.472Z] echo Agent pid 78 killed; [2023-05-16T17:16:21.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T17:16:21.808Z] + git semver [Pipeline] } [2023-05-16T17:16:22.088Z] $ docker stop --time=1 b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 [2023-05-16T17:16:23.381Z] $ docker rm -f --volumes b0c5079943a86028b44e8ea9a11e56c754123158719be21b388fc1298a8320d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T17:16:23.707Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T17:16:23.917Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T17:16:23.920Z] [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-16T17:16:24.088Z] provisioning config files... [2023-05-16T17:16:24.097Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config18260662194822827526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:16:24.394Z] ---> docker-login.sh [2023-05-16T17:16:24.394Z] nexus3.edgexfoundry.org:10001 [2023-05-16T17:16:24.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:24.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:24.394Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:24.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:24.394Z] [2023-05-16T17:16:24.394Z] Login Succeeded [2023-05-16T17:16:24.394Z] nexus3.edgexfoundry.org:10002 [2023-05-16T17:16:24.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:24.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:24.394Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:24.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:24.394Z] [2023-05-16T17:16:24.394Z] Login Succeeded [2023-05-16T17:16:24.394Z] nexus3.edgexfoundry.org:10003 [2023-05-16T17:16:24.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:24.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:24.653Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:24.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:24.653Z] [2023-05-16T17:16:24.653Z] Login Succeeded [2023-05-16T17:16:24.653Z] nexus3.edgexfoundry.org:10004 [2023-05-16T17:16:24.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:24.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:24.654Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:24.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:24.654Z] [2023-05-16T17:16:24.654Z] Login Succeeded [2023-05-16T17:16:24.654Z] docker.io [2023-05-16T17:16:24.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:16:24.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:16:24.914Z] Configure a credential helper to remove this warning. See [2023-05-16T17:16:24.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:16:24.914Z] [2023-05-16T17:16:24.914Z] Login Succeeded [2023-05-16T17:16:24.914Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T17:16:24.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T17:16:24.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:16:24.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:16:25.012Z] ========================================================= [2023-05-16T17:16:25.012Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T17:16:25.012Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:16:25.333Z] + 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-16T17:16:25.334Z] Sending build context to Docker daemon 1.89MB [2023-05-16T17:16:25.334Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:16:25.334Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T17:16:25.334Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T17:16:25.334Z] f56be85fc22e: Pulling fs layer [2023-05-16T17:16:25.334Z] 85791d961cd3: Pulling fs layer [2023-05-16T17:16:25.334Z] d694b5ae8c79: Pulling fs layer [2023-05-16T17:16:25.334Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T17:16:25.334Z] 4d19c01a9841: Pulling fs layer [2023-05-16T17:16:25.334Z] 9325e15d5711: Pulling fs layer [2023-05-16T17:16:25.334Z] 556b6ee489ea: Pulling fs layer [2023-05-16T17:16:25.334Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T17:16:25.334Z] 9f32a84ed3da: Waiting [2023-05-16T17:16:25.334Z] 4d19c01a9841: Waiting [2023-05-16T17:16:25.334Z] 9325e15d5711: Waiting [2023-05-16T17:16:25.334Z] 556b6ee489ea: Waiting [2023-05-16T17:16:25.334Z] c5a4b2cf53e6: Waiting [2023-05-16T17:16:25.334Z] 85791d961cd3: Download complete [2023-05-16T17:16:25.334Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T17:16:25.334Z] 9f32a84ed3da: Download complete [2023-05-16T17:16:25.334Z] 4d19c01a9841: Verifying Checksum [2023-05-16T17:16:25.334Z] 4d19c01a9841: Download complete [2023-05-16T17:16:25.600Z] f56be85fc22e: Download complete [2023-05-16T17:16:25.600Z] 9325e15d5711: Verifying Checksum [2023-05-16T17:16:25.600Z] 9325e15d5711: Download complete [2023-05-16T17:16:25.600Z] f56be85fc22e: Pull complete [2023-05-16T17:16:25.600Z] 85791d961cd3: Pull complete [2023-05-16T17:16:26.171Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T17:16:26.171Z] d694b5ae8c79: Verifying Checksum [2023-05-16T17:16:26.171Z] d694b5ae8c79: Download complete [2023-05-16T17:16:26.428Z] 556b6ee489ea: Verifying Checksum [2023-05-16T17:16:26.428Z] 556b6ee489ea: Download complete [2023-05-16T17:16:29.711Z] d694b5ae8c79: Pull complete [2023-05-16T17:16:29.711Z] 9f32a84ed3da: Pull complete [2023-05-16T17:16:29.711Z] 4d19c01a9841: Pull complete [2023-05-16T17:16:29.711Z] 9325e15d5711: Pull complete [2023-05-16T17:16:31.611Z] 556b6ee489ea: Pull complete [2023-05-16T17:16:32.552Z] c5a4b2cf53e6: Pull complete [2023-05-16T17:16:32.552Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T17:16:32.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T17:16:32.552Z] ---> c4be618373d6 [2023-05-16T17:16:32.552Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:16:36.742Z] ---> Running in a914a2b035cb [2023-05-16T17:16:36.742Z] Removing intermediate container a914a2b035cb [2023-05-16T17:16:36.742Z] ---> 05cd77c48889 [2023-05-16T17:16:36.742Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:16:36.742Z] ---> Running in 27b709160097 [2023-05-16T17:16:36.742Z] Removing intermediate container 27b709160097 [2023-05-16T17:16:36.742Z] ---> 9bbd24aca49b [2023-05-16T17:16:36.742Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:16:36.742Z] ---> Running in 6ae696ec4225 [2023-05-16T17:16:36.742Z] Removing intermediate container 6ae696ec4225 [2023-05-16T17:16:36.742Z] ---> 254409e6b0bf [2023-05-16T17:16:36.742Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:16:36.742Z] ---> Running in 89acc54d1017 [2023-05-16T17:16:36.742Z] Removing intermediate container 89acc54d1017 [2023-05-16T17:16:36.742Z] ---> 6ea934849b08 [2023-05-16T17:16:36.742Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:16:36.742Z] ---> Running in c9160cdc26d8 [2023-05-16T17:16:37.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:16:37.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:16:37.261Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T17:16:37.261Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:16:37.261Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:16:37.261Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:16:37.261Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T17:16:37.261Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T17:16:37.261Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T17:16:37.261Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T17:16:37.261Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:16:37.261Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T17:16:37.261Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T17:16:37.261Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T17:16:37.261Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T17:16:37.521Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T17:16:37.521Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:16:37.521Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:16:37.521Z] OK: 272 MiB in 67 packages [2023-05-16T17:16:37.780Z] Removing intermediate container c9160cdc26d8 [2023-05-16T17:16:37.780Z] ---> 8a1a7437b126 [2023-05-16T17:16:37.780Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T17:16:38.038Z] ---> Running in 7db5827ff07d [2023-05-16T17:16:38.038Z] Removing intermediate container 7db5827ff07d [2023-05-16T17:16:38.038Z] ---> 428eae6d8490 [2023-05-16T17:16:38.038Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T17:16:38.038Z] ---> fd38b38ee831 [2023-05-16T17:16:38.038Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:16:38.038Z] ---> Running in 5c3f0f4b8562 [2023-05-16T17:16:39.046Z] Still waiting to schedule task [2023-05-16T17:16:39.046Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-16T17:17:16.833Z] Removing intermediate container 5c3f0f4b8562 [2023-05-16T17:17:16.833Z] ---> bafcbf3293f5 [2023-05-16T17:17:16.833Z] Step 11/13 : COPY . . [2023-05-16T17:17:16.833Z] ---> 676106efe048 [2023-05-16T17:17:16.833Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:17:16.833Z] ---> Running in b349a47a3a5d [2023-05-16T17:17:16.833Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:17:16.833Z] Dload Upload Total Spent Left Speed [2023-05-16T17:17:16.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7336 0 --:--:-- --:--:-- --:--:-- 7375 [2023-05-16T17:17:16.833Z] Removing intermediate container b349a47a3a5d [2023-05-16T17:17:16.833Z] ---> 6f46c56f92aa [2023-05-16T17:17:16.833Z] Step 13/13 : RUN ${MAKE} [2023-05-16T17:17:16.833Z] ---> Running in 309ae8408755 [2023-05-16T17:17:16.833Z] noop [2023-05-16T17:17:16.833Z] Removing intermediate container 309ae8408755 [2023-05-16T17:17:16.833Z] ---> 3e599df591cc [2023-05-16T17:17:16.833Z] Successfully built 3e599df591cc [2023-05-16T17:17:16.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:17:17.148Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T17:17:17.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:17:17.222Z] prd-ubuntu20.04-docker-8c-8g-15749 does not seem to be running inside a container [2023-05-16T17:17:17.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-16T17:17:17.603Z] $ docker top a36d541627b6e9a22c32dafd94ab013aa84cb96861d822d5a2b305b1d08c416c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:17:17.937Z] + go version [2023-05-16T17:17:17.938Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T17:17:17.956Z] $ docker stop --time=1 a36d541627b6e9a22c32dafd94ab013aa84cb96861d822d5a2b305b1d08c416c [2023-05-16T17:17:19.243Z] $ docker rm -f --volumes a36d541627b6e9a22c32dafd94ab013aa84cb96861d822d5a2b305b1d08c416c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:17:19.659Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T17:17:19.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:17:19.732Z] prd-ubuntu20.04-docker-8c-8g-15749 does not seem to be running inside a container [2023-05-16T17:17:19.764Z] $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-16T17:17:20.072Z] $ docker top f73bbf374c5605ab101c31c1103bf9f8d81125db3de6c4d2d80efbd55a885fc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:17:20.422Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-247 [Pipeline] fileExists [Pipeline] sh [2023-05-16T17:17:20.735Z] + make test [2023-05-16T17:17:20.735Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T17:17:26.014Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T17:17:35.990Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T17:17:35.990Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.8% of statements [2023-05-16T17:17:42.556Z] go vet ./... [2023-05-16T17:17:45.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T17:17:45.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T17:17:45.088Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T17:17:45.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T17:17:45.118Z] $ docker stop --time=1 f73bbf374c5605ab101c31c1103bf9f8d81125db3de6c4d2d80efbd55a885fc7 [2023-05-16T17:17:48.076Z] $ docker rm -f --volumes f73bbf374c5605ab101c31c1103bf9f8d81125db3de6c4d2d80efbd55a885fc7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T17:17:48.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T17:17:48.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T17:17:49.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T17:17:49.648Z] + ls -al . [2023-05-16T17:17:49.648Z] total 188 [2023-05-16T17:17:49.648Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 17:17 . [2023-05-16T17:17:49.648Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:16 .. [2023-05-16T17:17:49.648Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:16 .git [2023-05-16T17:17:49.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:16 .github [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 17:16 .gitignore [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 17:16 .golangci.yml [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:16 .hadolint.yml [2023-05-16T17:17:49.648Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:16 .semver [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 17:16 Attribution.txt [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 17:16 CHANGELOG.md [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 17:16 Dockerfile [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:16 GOVERNANCE.md [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:16 Jenkinsfile [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:16 LICENSE [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 17:16 Makefile [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:16 OWNERS.md [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 17:16 README.md [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 17:16 VERSION [2023-05-16T17:17:49.648Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:16 bin [2023-05-16T17:17:49.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:16 cmd [2023-05-16T17:17:49.648Z] -rw-r--r-- 1 jenkins jenkins 31522 May 16 17:17 coverage.out [2023-05-16T17:17:49.648Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 17:16 docker-entrypoint.sh [2023-05-16T17:17:49.648Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:16 docs [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 17:16 go.mod [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 17:16 go.sum [2023-05-16T17:17:49.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:16 internal [2023-05-16T17:17:49.648Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:16 snap [2023-05-16T17:17:49.648Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:17:49.957Z] + 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=b193664d48b87fc06935ebddd81fb92ea2f741d9 --label arch=amd64 --label version=0.0.0 . [2023-05-16T17:17:49.957Z] Sending build context to Docker daemon 1.923MB [2023-05-16T17:17:49.957Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:17:49.957Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T17:17:49.957Z] ---> 3e599df591cc [2023-05-16T17:17:49.957Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:17:49.957Z] ---> Running in 59b064d1e83d [2023-05-16T17:17:50.217Z] Removing intermediate container 59b064d1e83d [2023-05-16T17:17:50.217Z] ---> 515773c37bde [2023-05-16T17:17:50.217Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:17:50.217Z] ---> Running in 0997be8f1fc2 [2023-05-16T17:17:50.217Z] Removing intermediate container 0997be8f1fc2 [2023-05-16T17:17:50.217Z] ---> 9a201252b496 [2023-05-16T17:17:50.217Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:17:50.217Z] ---> Running in 5325967340f3 [2023-05-16T17:17:50.217Z] Removing intermediate container 5325967340f3 [2023-05-16T17:17:50.217Z] ---> 099075689ad1 [2023-05-16T17:17:50.217Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:17:50.217Z] ---> Running in 7d32c7c57574 [2023-05-16T17:17:50.476Z] Removing intermediate container 7d32c7c57574 [2023-05-16T17:17:50.476Z] ---> 5b93f235b538 [2023-05-16T17:17:50.476Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:17:50.476Z] ---> Running in 92bc49540973 [2023-05-16T17:17:50.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:17:50.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:17:51.062Z] OK: 272 MiB in 67 packages [2023-05-16T17:17:51.320Z] Removing intermediate container 92bc49540973 [2023-05-16T17:17:51.320Z] ---> 5ca05ae7f1a3 [2023-05-16T17:17:51.320Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T17:17:51.320Z] ---> Running in 3e47c65a5a08 [2023-05-16T17:17:51.320Z] Removing intermediate container 3e47c65a5a08 [2023-05-16T17:17:51.320Z] ---> db2074fa57ce [2023-05-16T17:17:51.320Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T17:17:51.320Z] ---> dcea441e34dc [2023-05-16T17:17:51.320Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:17:51.579Z] ---> Running in 636db3051ce6 [2023-05-16T17:17:52.148Z] Removing intermediate container 636db3051ce6 [2023-05-16T17:17:52.148Z] ---> d3377e2bdc47 [2023-05-16T17:17:52.148Z] Step 11/36 : COPY . . [2023-05-16T17:17:52.408Z] ---> 1c9a071ac587 [2023-05-16T17:17:52.408Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:17:52.408Z] ---> Running in ba521e7d328d [2023-05-16T17:17:52.668Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:17:52.668Z] Dload Upload Total Spent Left Speed [2023-05-16T17:17:52.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 17655 0 --:--:-- --:--:-- --:--:-- 17700 [2023-05-16T17:17:53.236Z] Removing intermediate container ba521e7d328d [2023-05-16T17:17:53.236Z] ---> df46065a3b29 [2023-05-16T17:17:53.236Z] Step 13/36 : RUN ${MAKE} [2023-05-16T17:17:53.236Z] ---> Running in dba1c940ccdb [2023-05-16T17:17:53.236Z] 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-16T17:18:08.465Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15750 in /w/workspace/foundry_device-usb-camera_PR-247 [Pipeline] { [Pipeline] ws [2023-05-16T17:18:08.477Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-05-16T17:18:08.520Z] Selected Git installation does not exist. Using Default [2023-05-16T17:18:08.521Z] The recommended git tool is: NONE [2023-05-16T17:18:15.037Z] using credential edgex-jenkins-ssh [2023-05-16T17:18:15.059Z] Cloning the remote Git repository [2023-05-16T17:18:15.163Z] Removing intermediate container dba1c940ccdb [2023-05-16T17:18:15.163Z] ---> e9717c8c5f2f [2023-05-16T17:18:15.163Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T17:18:15.163Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T17:18:15.163Z] 4acc49c71d14: Pulling fs layer [2023-05-16T17:18:15.163Z] 4acc49c71d14: Verifying Checksum [2023-05-16T17:18:15.163Z] 4acc49c71d14: Download complete [2023-05-16T17:18:15.163Z] 4acc49c71d14: Pull complete [2023-05-16T17:18:15.163Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T17:18:15.163Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T17:18:15.163Z] ---> 01a2bd3e5fff [2023-05-16T17:18:15.163Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T17:18:15.163Z] 3.17: Pulling from library/alpine [2023-05-16T17:18:15.163Z] f56be85fc22e: Already exists [2023-05-16T17:18:15.163Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T17:18:15.163Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T17:18:15.163Z] ---> 9ed4aefc74f6 [2023-05-16T17:18:15.163Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T17:18:15.163Z] ---> Running in 26d816b03cf4 [2023-05-16T17:18:15.449Z] Removing intermediate container 26d816b03cf4 [2023-05-16T17:18:15.449Z] ---> 7a2c2fe577c9 [2023-05-16T17:18:15.449Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T17:18:15.449Z] ---> Running in 30651cfc36f3 [2023-05-16T17:18:15.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:18:15.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:18:15.967Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-16T17:18:15.967Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-16T17:18:15.967Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-16T17:18:15.967Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-16T17:18:15.967Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-16T17:18:15.967Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-16T17:18:15.967Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-16T17:18:15.967Z] (8/86) Installing libxcb (1.15-r0) [2023-05-16T17:18:15.967Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-16T17:18:15.967Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-16T17:18:15.121Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:18:15.243Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-05-16T17:18:15.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:18:15.393Z] > git --version # timeout=10 [2023-05-16T17:18:15.418Z] > git --version # 'git version 2.25.1' [2023-05-16T17:18:15.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T17:18:15.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T17:18:16.225Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-16T17:18:16.225Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-16T17:18:16.225Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-16T17:18:16.225Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-16T17:18:16.225Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-16T17:18:16.225Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-16T17:18:16.225Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-16T17:18:16.225Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-16T17:18:16.225Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-16T17:18:16.225Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-16T17:18:16.225Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-16T17:18:16.225Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-16T17:18:16.225Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-16T17:18:16.225Z] (24/86) Installing glib (2.74.6-r0) [2023-05-16T17:18:16.225Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-16T17:18:16.225Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-16T17:18:16.225Z] (27/86) Installing libass (0.16.0-r1) [2023-05-16T17:18:16.225Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-16T17:18:16.225Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-16T17:18:16.225Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-16T17:18:16.225Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-16T17:18:16.225Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-16T17:18:16.225Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-16T17:18:16.225Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-16T17:18:16.225Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-16T17:18:16.225Z] (36/86) Installing libunistring (1.1-r0) [2023-05-16T17:18:16.485Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-16T17:18:16.485Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T17:18:16.485Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T17:18:16.485Z] (40/86) Installing lame (3.100-r2) [2023-05-16T17:18:16.485Z] (41/86) Installing opus (1.3.1-r1) [2023-05-16T17:18:16.485Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-16T17:18:16.485Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-16T17:18:16.485Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-16T17:18:16.485Z] (45/86) Installing orc (0.4.33-r0) [2023-05-16T17:18:16.485Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T17:18:16.485Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-16T17:18:16.485Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T17:18:16.485Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-16T17:18:16.485Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-16T17:18:16.485Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-16T17:18:16.485Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T17:18:16.485Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-16T17:18:16.485Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-16T17:18:16.485Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-16T17:18:16.485Z] (56/86) Installing libpulse (16.1-r6) [2023-05-16T17:18:16.485Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-16T17:18:16.485Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-16T17:18:16.485Z] (59/86) Installing librist (0.2.7-r0) [2023-05-16T17:18:16.485Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-16T17:18:16.485Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-16T17:18:16.485Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-16T17:18:16.485Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:18:16.485Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:18:16.485Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-16T17:18:16.485Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-16T17:18:16.485Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T17:18:16.485Z] (68/86) Installing libva (2.16.0-r0) [2023-05-16T17:18:16.744Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-16T17:18:16.744Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-16T17:18:16.744Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-16T17:18:16.744Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-16T17:18:16.744Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T17:18:16.744Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-16T17:18:16.744Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-16T17:18:16.744Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-16T17:18:16.744Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-16T17:18:16.744Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-16T17:18:16.744Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T17:18:17.004Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-16T17:18:17.004Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-16T17:18:17.004Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:18:17.004Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-16T17:18:17.004Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:18:17.004Z] (85/86) Installing kmod-libs (30-r1) [2023-05-16T17:18:17.004Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-16T17:18:17.004Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:18:17.004Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:18:17.004Z] OK: 112 MiB in 101 packages [2023-05-16T17:18:16.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T17:18:16.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T17:18:17.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T17:18:17.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:18:17.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T17:18:17.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T17:18:17.968Z] Merging remotes/origin/main commit 8bb3237301cd1e7ba1226b3bd0aaf265b839229f into PR head commit 22c82a87b379ea1264529f3c27af1b3e97c2ff0e [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T17:18:18.182Z] Failed in branch arm64 [2023-05-16T17:18:17.990Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T17:18:18.081Z] > git checkout -f 22c82a87b379ea1264529f3c27af1b3e97c2ff0e # timeout=10 [2023-05-16T17:18:19.537Z] Removing intermediate container 30651cfc36f3 [2023-05-16T17:18:19.537Z] ---> 6b3b24941ebb [2023-05-16T17:18:19.537Z] Step 18/36 : WORKDIR / [2023-05-16T17:18:19.537Z] ---> Running in bb6c4924d7b3 [2023-05-16T17:18:19.537Z] Removing intermediate container bb6c4924d7b3 [2023-05-16T17:18:19.537Z] ---> 710fff03e7bd [2023-05-16T17:18:19.537Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T17:18:20.104Z] ---> 7bf350711f06 [2023-05-16T17:18:20.104Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T17:18:20.364Z] ---> c24aac8daff9 [2023-05-16T17:18:20.364Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T17:18:20.364Z] ---> 4d4fd06ad5ed [2023-05-16T17:18:20.364Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T17:18:20.622Z] ---> d3247270ad54 [2023-05-16T17:18:20.622Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T17:18:20.622Z] ---> 2c0295bd1d5e [2023-05-16T17:18:20.622Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T17:18:20.622Z] ---> e695b49ce694 [2023-05-16T17:18:20.622Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T17:18:21.557Z] ---> 0103492afcc8 [2023-05-16T17:18:21.557Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:18:21.557Z] ---> Running in 569bc55be45f [2023-05-16T17:18:21.814Z] Removing intermediate container 569bc55be45f [2023-05-16T17:18:21.814Z] ---> e5189e071dc1 [2023-05-16T17:18:21.814Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:18:21.814Z] ---> Running in 97ab56cd6f1a [2023-05-16T17:18:22.378Z] Removing intermediate container 97ab56cd6f1a [2023-05-16T17:18:22.378Z] ---> e11a2c246e13 [2023-05-16T17:18:22.378Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T17:18:22.378Z] ---> Running in 979187b46912 [2023-05-16T17:18:22.944Z] Removing intermediate container 979187b46912 [2023-05-16T17:18:22.944Z] ---> 0a4285f57634 [2023-05-16T17:18:22.944Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T17:18:22.944Z] ---> Running in 5c4d704b1ba5 [2023-05-16T17:18:23.514Z] Removing intermediate container 5c4d704b1ba5 [2023-05-16T17:18:23.514Z] ---> 2e67da9618ac [2023-05-16T17:18:23.514Z] Step 30/36 : EXPOSE 59983 [2023-05-16T17:18:23.514Z] ---> Running in 44625a4c8cc5 [2023-05-16T17:18:23.514Z] Removing intermediate container 44625a4c8cc5 [2023-05-16T17:18:23.514Z] ---> 9c82706cc29e [2023-05-16T17:18:23.514Z] Step 31/36 : EXPOSE 8554 [2023-05-16T17:18:23.514Z] ---> Running in 03e6c1a083fe [2023-05-16T17:18:23.776Z] Removing intermediate container 03e6c1a083fe [2023-05-16T17:18:23.776Z] ---> 342db845d3c3 [2023-05-16T17:18:23.776Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T17:18:23.776Z] ---> Running in f5c6684279ce [2023-05-16T17:18:23.776Z] Removing intermediate container f5c6684279ce [2023-05-16T17:18:23.776Z] ---> 09fe76f18a3f [2023-05-16T17:18:23.776Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T17:18:23.776Z] ---> Running in 50e9270a1691 [2023-05-16T17:18:23.776Z] Removing intermediate container 50e9270a1691 [2023-05-16T17:18:23.776Z] ---> c4249fe91d89 [2023-05-16T17:18:23.776Z] Step 34/36 : LABEL arch=amd64 [2023-05-16T17:18:23.776Z] ---> Running in 3fc53b92817d [2023-05-16T17:18:24.035Z] Removing intermediate container 3fc53b92817d [2023-05-16T17:18:24.035Z] ---> a0353f810295 [2023-05-16T17:18:24.035Z] Step 35/36 : LABEL git_sha=b193664d48b87fc06935ebddd81fb92ea2f741d9 [2023-05-16T17:18:24.035Z] ---> Running in b3256374a8e6 [2023-05-16T17:18:24.035Z] Removing intermediate container b3256374a8e6 [2023-05-16T17:18:24.035Z] ---> 3c36bb2ca1fb [2023-05-16T17:18:24.035Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T17:18:24.035Z] ---> Running in d092bb0962a9 [2023-05-16T17:18:24.035Z] Removing intermediate container d092bb0962a9 [2023-05-16T17:18:24.035Z] ---> aaad2a221b95 [2023-05-16T17:18:24.035Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T17:18:24.035Z] Successfully built aaad2a221b95 [2023-05-16T17:18:24.035Z] 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-16T17:18:24.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:18:24.728Z] [2023-05-16T17:18:24.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:18:25.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:18:25.025Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T17:18:25.025Z] 5eb5b503b376: Pulling fs layer [2023-05-16T17:18:25.025Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T17:18:25.025Z] ec43610c2a17: Pulling fs layer [2023-05-16T17:18:25.025Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T17:18:25.025Z] 33b1e0a273af: Pulling fs layer [2023-05-16T17:18:25.025Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T17:18:25.025Z] 2f39f015ded8: Pulling fs layer [2023-05-16T17:18:25.025Z] 33b1e0a273af: Waiting [2023-05-16T17:18:25.025Z] 5d3b04190fa2: Waiting [2023-05-16T17:18:25.025Z] 2f39f015ded8: Waiting [2023-05-16T17:18:25.025Z] 5c69ac0246d0: Download complete [2023-05-16T17:18:25.025Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T17:18:25.025Z] 3a2ae6a8a46f: Download complete [2023-05-16T17:18:25.025Z] 33b1e0a273af: Verifying Checksum [2023-05-16T17:18:25.025Z] 33b1e0a273af: Download complete [2023-05-16T17:18:25.025Z] 5d3b04190fa2: Download complete [2023-05-16T17:18:25.025Z] ec43610c2a17: Download complete [2023-05-16T17:18:25.283Z] 5eb5b503b376: Download complete [2023-05-16T17:18:25.848Z] 2f39f015ded8: Verifying Checksum [2023-05-16T17:18:25.848Z] 2f39f015ded8: Download complete [2023-05-16T17:18:26.415Z] 5eb5b503b376: Pull complete [2023-05-16T17:18:26.415Z] 5c69ac0246d0: Pull complete [2023-05-16T17:18:26.982Z] ec43610c2a17: Pull complete [2023-05-16T17:18:26.982Z] 3a2ae6a8a46f: Pull complete [2023-05-16T17:18:27.240Z] 33b1e0a273af: Pull complete [2023-05-16T17:18:27.240Z] 5d3b04190fa2: Pull complete [2023-05-16T17:18:31.425Z] 2f39f015ded8: Pull complete [2023-05-16T17:18:31.425Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T17:18:31.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:18:31.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:18:31.503Z] prd-ubuntu20.04-docker-8c-8g-15749 does not seem to be running inside a container [2023-05-16T17:18:31.541Z] $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-16T17:18:34.556Z] $ docker top 13956f2b4ddd7df19c9a0a6cd013a208cd6e22b60a327e8efaa0b54205c2ad0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:34.962Z] ---> job-cost.sh [2023-05-16T17:18:34.962Z] lf-activate-venv: SKIPPING [2023-05-16T17:18:34.962Z] INFO: No Stack... [2023-05-16T17:18:35.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T17:18:35.789Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T17:18:36.073Z] + cat /w/workspace/foundry_device-usb-camera_PR-247/archives/cost.csv [2023-05-16T17:18:36.074Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T17:18:36.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-247-2-stack-cost] [2023-05-16T17:18:36.097Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-247-2-stack-cost] did not exist. Created. [2023-05-16T17:18:36.097Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-247-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T17:18:36.402Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T17:18:36.436Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T17:18:36.444Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-247-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T17:18:36.470Z] $ docker stop --time=1 13956f2b4ddd7df19c9a0a6cd013a208cd6e22b60a327e8efaa0b54205c2ad0c [2023-05-16T17:18:37.613Z] $ docker rm -f --volumes 13956f2b4ddd7df19c9a0a6cd013a208cd6e22b60a327e8efaa0b54205c2ad0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-16T17:18:38.440Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-247/archives ] [2023-05-16T17:18:38.441Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:18:38.441Z] total 16 [2023-05-16T17:18:38.441Z] drwxr-xr-x 3 root root 4096 May 16 17:18 . [2023-05-16T17:18:38.441Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 17:18 .. [2023-05-16T17:18:38.441Z] drwxr-xr-x 2 root root 4096 May 16 17:18 cost [2023-05-16T17:18:38.441Z] -rw-r--r-- 1 root root 89 May 16 17:18 cost.csv [2023-05-16T17:18:38.441Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:18:38.441Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:18:38.441Z] total 16 [2023-05-16T17:18:38.441Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:18 . [2023-05-16T17:18:38.441Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 17:18 .. [2023-05-16T17:18:38.441Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 17:18 cost [2023-05-16T17:18:38.441Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 17:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:38.728Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:39.584Z] ---> package-listing.sh [2023-05-16T17:18:39.584Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T17:18:39.584Z] ++ facter osfamily [2023-05-16T17:18:39.843Z] + OS_FAMILY=debian [2023-05-16T17:18:39.843Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-247 [2023-05-16T17:18:39.843Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T17:18:39.843Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T17:18:39.843Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T17:18:39.843Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T17:18:39.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' [2023-05-16T17:18:39.843Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T17:18:39.843Z] + case "${OS_FAMILY}" in [2023-05-16T17:18:39.843Z] + dpkg -l [2023-05-16T17:18:39.843Z] + grep '^ii' [2023-05-16T17:18:39.843Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T17:18:39.843Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T17:18:39.843Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T17:18:39.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' [2023-05-16T17:18:39.843Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-247/archives/ [2023-05-16T17:18:39.843Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-247/archives/ [Pipeline] echo [2023-05-16T17:18:39.851Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T17:18:40.130Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:18:40.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:18:40.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:18:40.764Z] prd-ubuntu20.04-docker-8c-8g-15749 does not seem to be running inside a container [2023-05-16T17:18:40.803Z] $ 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-247/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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-16T17:18:40.974Z] $ docker top 880dbb3b2a643a390c6a7f2203b41ead01d8b62c1889c2bddde8a8379f7908a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:18:41.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T17:18:41.599Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T17:18:41.891Z] + ls /var/log/sa-host [2023-05-16T17:18:41.891Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:18:42.125Z] provisioning config files... [2023-05-16T17:18:42.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config16070715315564410207tmp [Pipeline] { [Pipeline] echo [2023-05-16T17:18:42.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:42.427Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T17:18:42.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:42.769Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T17:18:42.777Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:43.062Z] ---> sudo-logs.sh [2023-05-16T17:18:43.062Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T17:18:43.093Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:43.379Z] ---> job-cost.sh [2023-05-16T17:18:43.379Z] lf-activate-venv: SKIPPING [2023-05-16T17:18:43.379Z] DEBUG: total: 0.2199999988079071 [2023-05-16T17:18:43.379Z] INFO: Retrieving Stack Cost... [2023-05-16T17:18:43.379Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T17:18:43.638Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T17:18:43.647Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:18:43.928Z] ---> logs-deploy.sh [2023-05-16T17:18:43.928Z] lf-activate-venv: SKIPPING [2023-05-16T17:18:43.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-247/2 [2023-05-16T17:18:43.928Z] INFO: archiving workspace using pattern(s): [2023-05-16T17:18:44.863Z] Archives upload complete. [2023-05-16T17:18:44.863Z] INFO: archiving logs to Nexus