Pull request #268 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 marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 040a5a62acea184fdd41387d4dec6344494c5d71 rather than e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 Obtained Jenkinsfile from 040a5a62acea184fdd41387d4dec6344494c5d71 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-ssh17056532133528833586.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh625404283225969070.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-268/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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8348235599246994017.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh14138750963379195702.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-268/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-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6867729275123621302.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-3354 in /w/workspace/foundry_device-usb-camera_PR-268 [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-268 # 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/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 Merge succeeded, producing e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 Checking out Revision e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 # 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 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 # timeout=10 Commit message: "fix: resolve spelling error" First time build. Skipping changelog. > git rev-list --no-walk 1b9affd4dd6a1c58db19e6a9d046114d217f2e8b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-11T17:44:03.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-11T17:44:04.033Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-11T17:44:04.061Z] ========================================================= [2023-08-11T17:44:04.061Z] EdgeX Global Pipelines Version Info [2023-08-11T17:44:04.061Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:44:04.778Z] ------------------- [2023-08-11T17:44:04.778Z] stable info: [2023-08-11T17:44:04.778Z] ------------------- [2023-08-11T17:44:04.778Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-11T17:44:04.778Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-11T17:44:04.778Z] Message: update stable to v1.0.253 [2023-08-11T17:44:05.347Z] ------------------- [2023-08-11T17:44:05.347Z] experimental info: [2023-08-11T17:44:05.347Z] ------------------- [2023-08-11T17:44:05.347Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-11T17:44:05.347Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-11T17:44:05.347Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-11T17:44:05.501Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-11T17:44:05.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-11T17:44:05.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-11T17:44:05.527Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-11T17:44:05.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-11T17:44:05.543Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-11T17:44:05.552Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-11T17:44:05.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-11T17:44:05.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-11T17:44:05.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-11T17:44:05.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-11T17:44:05.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-11T17:44:05.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-11T17:44:05.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-11T17:44:05.652Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-11T17:44:05.664Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-11T17:44:05.675Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-11T17:44:05.691Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-11T17:44:05.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-11T17:44:05.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-11T17:44:05.738Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-11T17:44:05.749Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-11T17:44:05.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-11T17:44:05.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-11T17:44:05.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-11T17:44:05.804Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-11T17:44:05.817Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-11T17:44:05.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-08-11T17:44:05.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-08-11T17:44:05.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-08-11T17:44:05.871Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [Pipeline] echo [2023-08-11T17:44:05.885Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5325cd [Pipeline] echo [2023-08-11T17:44:05.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T17:44:05.954Z] provisioning config files... [2023-08-11T17:44:05.967Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config12088192666322061898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:44:06.272Z] ---> docker-login.sh [2023-08-11T17:44:06.272Z] nexus3.edgexfoundry.org:10001 [2023-08-11T17:44:06.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:06.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:06.531Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:06.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:06.531Z] [2023-08-11T17:44:06.531Z] Login Succeeded [2023-08-11T17:44:06.531Z] nexus3.edgexfoundry.org:10002 [2023-08-11T17:44:06.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:06.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:06.791Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:06.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:06.791Z] [2023-08-11T17:44:06.791Z] Login Succeeded [2023-08-11T17:44:06.791Z] nexus3.edgexfoundry.org:10003 [2023-08-11T17:44:06.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:06.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:06.791Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:06.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:06.791Z] [2023-08-11T17:44:06.791Z] Login Succeeded [2023-08-11T17:44:06.791Z] nexus3.edgexfoundry.org:10004 [2023-08-11T17:44:07.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:07.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:07.052Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:07.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:07.052Z] [2023-08-11T17:44:07.052Z] Login Succeeded [2023-08-11T17:44:07.052Z] docker.io [2023-08-11T17:44:07.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:07.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:07.311Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:07.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:07.311Z] [2023-08-11T17:44:07.311Z] Login Succeeded [2023-08-11T17:44:07.311Z] ---> docker-login.sh ends [Pipeline] } [2023-08-11T17:44:07.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-11T17:44:07.688Z] + git rev-list -1 --merges e5325cd83dfdc63e62ba87ba1ec22e12b98cad06~1..e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [Pipeline] echo [2023-08-11T17:44:07.734Z] -----------> git rev-list -1 --merges e5325cd83dfdc63e62ba87ba1ec22e12b98cad06~1..e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [false] [Pipeline] sh [2023-08-11T17:44:08.021Z] + git log --format=format:%s -1 e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [Pipeline] echo [2023-08-11T17:44:08.036Z] ========================================================= [2023-08-11T17:44:08.036Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-11T17:44:08.036Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T17:44:08.375Z] + git log --format=format:%s -1 e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [Pipeline] echo [2023-08-11T17:44:08.385Z] [semverPrep] GIT_COMMIT: e5325cd83dfdc63e62ba87ba1ec22e12b98cad06, Commit Message: fix: resolve spelling error [Pipeline] echo [2023-08-11T17:44:08.393Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-11T17:44:08.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-11T17:44:08.765Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-11T17:44:08.765Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-11T17:44:08.765Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-11T17:44:08.765Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-11T17:44:08.765Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-11T17:44:08.765Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:44:09.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T17:44:09.184Z] [2023-08-11T17:44:09.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:44:09.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T17:44:09.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-11T17:44:09.479Z] b85a868b505f: Pulling fs layer [2023-08-11T17:44:09.479Z] e2be974225ed: Pulling fs layer [2023-08-11T17:44:09.479Z] 339a4e72a1f5: Pulling fs layer [2023-08-11T17:44:09.479Z] 988bab9f4d93: Pulling fs layer [2023-08-11T17:44:09.479Z] 1469e6f7b9e6: Pulling fs layer [2023-08-11T17:44:09.479Z] eaf3925da568: Pulling fs layer [2023-08-11T17:44:09.479Z] bab4dde63d76: Pulling fs layer [2023-08-11T17:44:09.479Z] 1469e6f7b9e6: Waiting [2023-08-11T17:44:09.479Z] eaf3925da568: Waiting [2023-08-11T17:44:09.479Z] 988bab9f4d93: Waiting [2023-08-11T17:44:09.479Z] bab4dde63d76: Waiting [2023-08-11T17:44:09.479Z] bde34c3a00c8: Pulling fs layer [2023-08-11T17:44:09.479Z] b352a97aabf1: Pulling fs layer [2023-08-11T17:44:09.479Z] 4872d77fe225: Pulling fs layer [2023-08-11T17:44:09.479Z] bde34c3a00c8: Waiting [2023-08-11T17:44:09.479Z] b352a97aabf1: Waiting [2023-08-11T17:44:09.479Z] 5851b861e8e6: Pulling fs layer [2023-08-11T17:44:09.479Z] 4872d77fe225: Waiting [2023-08-11T17:44:09.479Z] 5851b861e8e6: Waiting [2023-08-11T17:44:09.479Z] e2be974225ed: Verifying Checksum [2023-08-11T17:44:09.479Z] e2be974225ed: Download complete [2023-08-11T17:44:09.479Z] 988bab9f4d93: Verifying Checksum [2023-08-11T17:44:09.479Z] 988bab9f4d93: Download complete [2023-08-11T17:44:09.741Z] 1469e6f7b9e6: Verifying Checksum [2023-08-11T17:44:09.741Z] 1469e6f7b9e6: Download complete [2023-08-11T17:44:09.741Z] eaf3925da568: Verifying Checksum [2023-08-11T17:44:09.741Z] eaf3925da568: Download complete [2023-08-11T17:44:09.741Z] 339a4e72a1f5: Verifying Checksum [2023-08-11T17:44:09.741Z] 339a4e72a1f5: Download complete [2023-08-11T17:44:09.741Z] bde34c3a00c8: Verifying Checksum [2023-08-11T17:44:09.741Z] bde34c3a00c8: Download complete [2023-08-11T17:44:09.741Z] b352a97aabf1: Verifying Checksum [2023-08-11T17:44:09.741Z] b352a97aabf1: Download complete [2023-08-11T17:44:09.741Z] 4872d77fe225: Verifying Checksum [2023-08-11T17:44:09.741Z] 4872d77fe225: Download complete [2023-08-11T17:44:09.741Z] 5851b861e8e6: Verifying Checksum [2023-08-11T17:44:09.741Z] b85a868b505f: Verifying Checksum [2023-08-11T17:44:09.741Z] b85a868b505f: Download complete [2023-08-11T17:44:09.999Z] bab4dde63d76: Download complete [2023-08-11T17:44:10.935Z] b85a868b505f: Pull complete [2023-08-11T17:44:11.194Z] e2be974225ed: Pull complete [2023-08-11T17:44:11.785Z] 339a4e72a1f5: Pull complete [2023-08-11T17:44:11.785Z] 988bab9f4d93: Pull complete [2023-08-11T17:44:12.044Z] 1469e6f7b9e6: Pull complete [2023-08-11T17:44:12.044Z] eaf3925da568: Pull complete [2023-08-11T17:44:13.943Z] bab4dde63d76: Pull complete [2023-08-11T17:44:13.943Z] bde34c3a00c8: Pull complete [2023-08-11T17:44:14.203Z] b352a97aabf1: Pull complete [2023-08-11T17:44:14.203Z] 4872d77fe225: Pull complete [2023-08-11T17:44:14.203Z] 5851b861e8e6: Pull complete [2023-08-11T17:44:14.203Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-11T17:44:14.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T17:44:14.203Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:44:14.327Z] prd-ubuntu20.04-docker-8c-8g-3354 does not seem to be running inside a container [2023-08-11T17:44:14.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-268 -v /w/workspace/foundry_device-usb-camera_PR-268:/w/workspace/foundry_device-usb-camera_PR-268:rw,z -v /w/workspace/foundry_device-usb-camera_PR-268@tmp:/w/workspace/foundry_device-usb-camera_PR-268@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-08-11T17:44:16.784Z] $ docker top 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd -eo pid,comm [2023-08-11T17:44:16.853Z] 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-08-11T17:44:16.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-11T17:44:16.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-11T17:44:16.894Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-11T17:44:16.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-11T17:44:17.004Z] $ docker exec 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd ssh-agent [2023-08-11T17:44:17.113Z] SSH_AUTH_SOCK=/tmp/ssh-KaNIUadZ9VjY/agent.31 [2023-08-11T17:44:17.113Z] SSH_AGENT_PID=37 [2023-08-11T17:44:17.121Z] Running ssh-add (command line suppressed) [2023-08-11T17:44:17.236Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_17719622113959043099.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_17719622113959043099.key) [2023-08-11T17:44:17.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-11T17:44:17.537Z] + git tag --points-at HEAD [Pipeline] } [2023-08-11T17:44:17.551Z] $ docker exec --env ******** --env ******** 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd ssh-agent -k [2023-08-11T17:44:17.650Z] unset SSH_AUTH_SOCK; [2023-08-11T17:44:17.650Z] unset SSH_AGENT_PID; [2023-08-11T17:44:17.650Z] echo Agent pid 37 killed; [2023-08-11T17:44:17.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-11T17:44:17.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-11T17:44:17.686Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-11T17:44:17.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-11T17:44:17.796Z] $ docker exec 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd ssh-agent [2023-08-11T17:44:17.909Z] SSH_AUTH_SOCK=/tmp/ssh-hr9C5hP4Rzbg/agent.70 [2023-08-11T17:44:17.909Z] SSH_AGENT_PID=76 [2023-08-11T17:44:17.914Z] Running ssh-add (command line suppressed) [2023-08-11T17:44:18.028Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_4063995018398427693.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_4063995018398427693.key) [2023-08-11T17:44:18.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-11T17:44:18.327Z] + git semver init [2023-08-11T17:44:18.586Z] 2023-08-11 17:44:18,509 [run_init] DEBUG init version:0.0.0 force:False [2023-08-11T17:44:18.586Z] 2023-08-11 17:44:18,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-268/.semver [2023-08-11T17:44:18.586Z] 2023-08-11 17:44:18,510 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-268/.semver [2023-08-11T17:44:18.586Z] 2023-08-11 17:44:18,510 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-268/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-268, universal_newlines=False, shell=None, istream=None) [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,195 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-268/.git/info/exclude [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,195 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 with force:False [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,196 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,200 [execute] INFO git cat-file --batch-check [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,207 [execute] INFO git cat-file --batch [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-08-11T17:44:19.525Z] 2023-08-11 17:44:19,211 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-11T17:44:19.525Z] 0.0.0 [Pipeline] } [2023-08-11T17:44:19.539Z] $ docker exec --env ******** --env ******** 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd ssh-agent -k [2023-08-11T17:44:19.643Z] unset SSH_AUTH_SOCK; [2023-08-11T17:44:19.643Z] unset SSH_AGENT_PID; [2023-08-11T17:44:19.644Z] echo Agent pid 76 killed; [2023-08-11T17:44:19.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-11T17:44:19.958Z] + git semver [Pipeline] } [2023-08-11T17:44:20.232Z] $ docker stop --time=1 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd [2023-08-11T17:44:21.529Z] $ docker rm -f --volumes 4069687783cad16fc01a70f82e9e33920e9af183f83741f435046b3a20b121bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T17:44:21.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-11T17:44:22.054Z] Stashed 1 file(s) [Pipeline] echo [2023-08-11T17:44:22.057Z] [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-08-11T17:44:22.172Z] provisioning config files... [2023-08-11T17:44:22.182Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config2857548068131223636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:44:22.489Z] ---> docker-login.sh [2023-08-11T17:44:22.489Z] nexus3.edgexfoundry.org:10001 [2023-08-11T17:44:22.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:22.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:22.489Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:22.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:22.489Z] [2023-08-11T17:44:22.489Z] Login Succeeded [2023-08-11T17:44:22.489Z] nexus3.edgexfoundry.org:10002 [2023-08-11T17:44:22.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:22.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:22.489Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:22.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:22.489Z] [2023-08-11T17:44:22.489Z] Login Succeeded [2023-08-11T17:44:22.489Z] nexus3.edgexfoundry.org:10003 [2023-08-11T17:44:22.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:22.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:22.748Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:22.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:22.748Z] [2023-08-11T17:44:22.748Z] Login Succeeded [2023-08-11T17:44:22.748Z] nexus3.edgexfoundry.org:10004 [2023-08-11T17:44:22.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:22.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:22.748Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:22.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:22.748Z] [2023-08-11T17:44:22.748Z] Login Succeeded [2023-08-11T17:44:22.748Z] docker.io [2023-08-11T17:44:22.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:44:23.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:44:23.008Z] Configure a credential helper to remove this warning. See [2023-08-11T17:44:23.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:44:23.008Z] [2023-08-11T17:44:23.008Z] Login Succeeded [2023-08-11T17:44:23.008Z] ---> docker-login.sh ends [Pipeline] } [2023-08-11T17:44:23.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-11T17:44:23.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T17:44:23.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T17:44:23.088Z] ========================================================= [2023-08-11T17:44:23.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-11T17:44:23.088Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:44:23.394Z] + 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-08-11T17:44:23.394Z] Sending build context to Docker daemon 2.062MB [2023-08-11T17:44:23.394Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T17:44:23.394Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-11T17:44:23.394Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-11T17:44:23.394Z] 4db1b89c0bd1: Pulling fs layer [2023-08-11T17:44:23.394Z] 6911f1a30b25: Pulling fs layer [2023-08-11T17:44:23.394Z] e194b8c5c2a9: Pulling fs layer [2023-08-11T17:44:23.394Z] 6863d3e3a2b1: Pulling fs layer [2023-08-11T17:44:23.394Z] ec0bb842ea78: Pulling fs layer [2023-08-11T17:44:23.394Z] 40a00589a448: Pulling fs layer [2023-08-11T17:44:23.394Z] 6c08303d61cc: Pulling fs layer [2023-08-11T17:44:23.394Z] 798269fcf238: Pulling fs layer [2023-08-11T17:44:23.394Z] ec0bb842ea78: Waiting [2023-08-11T17:44:23.394Z] 40a00589a448: Waiting [2023-08-11T17:44:23.394Z] 798269fcf238: Waiting [2023-08-11T17:44:23.394Z] 6c08303d61cc: Waiting [2023-08-11T17:44:23.394Z] 6863d3e3a2b1: Waiting [2023-08-11T17:44:23.394Z] 6911f1a30b25: Download complete [2023-08-11T17:44:23.394Z] 6863d3e3a2b1: Verifying Checksum [2023-08-11T17:44:23.394Z] 6863d3e3a2b1: Download complete [2023-08-11T17:44:23.394Z] ec0bb842ea78: Verifying Checksum [2023-08-11T17:44:23.394Z] ec0bb842ea78: Download complete [2023-08-11T17:44:23.656Z] 4db1b89c0bd1: Verifying Checksum [2023-08-11T17:44:23.656Z] 4db1b89c0bd1: Download complete [2023-08-11T17:44:23.656Z] 40a00589a448: Verifying Checksum [2023-08-11T17:44:23.656Z] 40a00589a448: Download complete [2023-08-11T17:44:23.656Z] 4db1b89c0bd1: Pull complete [2023-08-11T17:44:23.919Z] 6911f1a30b25: Pull complete [2023-08-11T17:44:24.490Z] 798269fcf238: Verifying Checksum [2023-08-11T17:44:24.490Z] 798269fcf238: Download complete [2023-08-11T17:44:24.490Z] e194b8c5c2a9: Verifying Checksum [2023-08-11T17:44:24.490Z] e194b8c5c2a9: Download complete [2023-08-11T17:44:24.747Z] 6c08303d61cc: Verifying Checksum [2023-08-11T17:44:24.747Z] 6c08303d61cc: Download complete [2023-08-11T17:44:28.031Z] e194b8c5c2a9: Pull complete [2023-08-11T17:44:28.031Z] 6863d3e3a2b1: Pull complete [2023-08-11T17:44:28.031Z] ec0bb842ea78: Pull complete [2023-08-11T17:44:28.031Z] 40a00589a448: Pull complete [2023-08-11T17:44:29.947Z] 6c08303d61cc: Pull complete [2023-08-11T17:44:30.882Z] 798269fcf238: Pull complete [2023-08-11T17:44:30.882Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-11T17:44:30.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-11T17:44:30.882Z] ---> ec979cd7f677 [2023-08-11T17:44:30.882Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-11T17:44:35.153Z] ---> Running in 8f8056e85c93 [2023-08-11T17:44:35.153Z] Removing intermediate container 8f8056e85c93 [2023-08-11T17:44:35.153Z] ---> f61fd7749bb8 [2023-08-11T17:44:35.153Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T17:44:35.153Z] ---> Running in 0b9141e0c616 [2023-08-11T17:44:35.413Z] Removing intermediate container 0b9141e0c616 [2023-08-11T17:44:35.413Z] ---> e90fcab81923 [2023-08-11T17:44:35.413Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T17:44:35.413Z] ---> Running in dfa2e2cbb8fe [2023-08-11T17:44:35.413Z] Removing intermediate container dfa2e2cbb8fe [2023-08-11T17:44:35.413Z] ---> dc23508398fc [2023-08-11T17:44:35.413Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T17:44:35.413Z] ---> Running in 5596e4538e2b [2023-08-11T17:44:35.672Z] Removing intermediate container 5596e4538e2b [2023-08-11T17:44:35.672Z] ---> 330ece95d72a [2023-08-11T17:44:35.672Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T17:44:35.672Z] ---> Running in fb7e26f21642 [2023-08-11T17:44:35.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T17:44:35.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-11T17:44:36.189Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-11T17:44:36.189Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-11T17:44:36.189Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T17:44:36.189Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T17:44:36.189Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-11T17:44:36.189Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-11T17:44:36.189Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-11T17:44:36.189Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-11T17:44:36.189Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-11T17:44:36.189Z] (10/14) Installing kmod-libs (30-r1) [2023-08-11T17:44:36.189Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-11T17:44:36.189Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-11T17:44:36.189Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-11T17:44:36.189Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-11T17:44:36.189Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T17:44:36.189Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T17:44:36.189Z] OK: 272 MiB in 67 packages [2023-08-11T17:44:36.755Z] Removing intermediate container fb7e26f21642 [2023-08-11T17:44:36.755Z] ---> 9def79d3a699 [2023-08-11T17:44:36.755Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-11T17:44:36.755Z] ---> Running in db0949a25bbc [2023-08-11T17:44:37.012Z] Removing intermediate container db0949a25bbc [2023-08-11T17:44:37.013Z] ---> fc4aa0a8a33a [2023-08-11T17:44:37.013Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-11T17:44:37.013Z] ---> f634c0009c24 [2023-08-11T17:44:37.013Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T17:44:37.013Z] ---> Running in b5751f2e82ec [2023-08-11T17:44:37.142Z] Still waiting to schedule task [2023-08-11T17:44:37.142Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-11T17:45:15.757Z] Removing intermediate container b5751f2e82ec [2023-08-11T17:45:15.757Z] ---> 5a9959754816 [2023-08-11T17:45:15.757Z] Step 11/13 : COPY . . [2023-08-11T17:45:15.757Z] ---> 625ccb8584fd [2023-08-11T17:45:15.757Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T17:45:15.757Z] ---> Running in 0626a22b4c53 [2023-08-11T17:45:15.757Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:45:15.757Z] Dload Upload Total Spent Left Speed [2023-08-11T17:45:15.757Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7763 0 --:--:-- --:--:-- --:--:-- 7808 [2023-08-11T17:45:15.757Z] Removing intermediate container 0626a22b4c53 [2023-08-11T17:45:15.757Z] ---> df10ac7a925a [2023-08-11T17:45:15.757Z] Step 13/13 : RUN ${MAKE} [2023-08-11T17:45:15.757Z] ---> Running in 4f4674e21129 [2023-08-11T17:45:15.757Z] noop [2023-08-11T17:45:15.757Z] Removing intermediate container 4f4674e21129 [2023-08-11T17:45:15.757Z] ---> bf787c1c9018 [2023-08-11T17:45:15.757Z] Successfully built bf787c1c9018 [2023-08-11T17:45:15.757Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:45:16.063Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-11T17:45:16.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:45:16.132Z] prd-ubuntu20.04-docker-8c-8g-3354 does not seem to be running inside a container [2023-08-11T17:45:16.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-268 -v /w/workspace/foundry_device-usb-camera_PR-268:/w/workspace/foundry_device-usb-camera_PR-268:rw,z -v /w/workspace/foundry_device-usb-camera_PR-268@tmp:/w/workspace/foundry_device-usb-camera_PR-268@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-08-11T17:45:16.497Z] $ docker top ca63449cd5849ffbc01edb3240474c649eaac1642833691ad7a85fd4b8111235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T17:45:16.826Z] + go version [2023-08-11T17:45:16.826Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-11T17:45:16.839Z] $ docker stop --time=1 ca63449cd5849ffbc01edb3240474c649eaac1642833691ad7a85fd4b8111235 [2023-08-11T17:45:18.120Z] $ docker rm -f --volumes ca63449cd5849ffbc01edb3240474c649eaac1642833691ad7a85fd4b8111235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:45:18.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-11T17:45:18.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:45:18.576Z] prd-ubuntu20.04-docker-8c-8g-3354 does not seem to be running inside a container [2023-08-11T17:45:18.616Z] $ 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-268 -v /w/workspace/foundry_device-usb-camera_PR-268:/w/workspace/foundry_device-usb-camera_PR-268:rw,z -v /w/workspace/foundry_device-usb-camera_PR-268@tmp:/w/workspace/foundry_device-usb-camera_PR-268@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-08-11T17:45:18.912Z] $ docker top d62386011a617590124d61e1e3f1259132b26410354d46a5e27aa1b25080a1e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T17:45:19.251Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-08-11T17:45:19.549Z] + make test [2023-08-11T17:45:19.549Z] go test ./... -coverprofile=coverage.out ./... [2023-08-11T17:45:23.736Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-11T17:45:33.702Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-11T17:45:33.702Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.4% of statements [2023-08-11T17:45:40.258Z] go vet ./... [2023-08-11T17:45:43.537Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-11T17:45:43.537Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-11T17:45:43.537Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-11T17:45:43.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-11T17:45:43.565Z] $ docker stop --time=1 d62386011a617590124d61e1e3f1259132b26410354d46a5e27aa1b25080a1e1 [2023-08-11T17:45:47.297Z] $ docker rm -f --volumes d62386011a617590124d61e1e3f1259132b26410354d46a5e27aa1b25080a1e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T17:45:47.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-11T17:45:47.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-11T17:45:48.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-11T17:45:48.593Z] + ls -al . [2023-08-11T17:45:48.593Z] total 208 [2023-08-11T17:45:48.593Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 17:45 . [2023-08-11T17:45:48.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 17:43 .. [2023-08-11T17:45:48.593Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 17:44 .git [2023-08-11T17:45:48.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:44 .github [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 11 17:44 .gitignore [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 11 17:44 .golangci.yml [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 11 17:44 .hadolint.yml [2023-08-11T17:45:48.593Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 17:44 .semver [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 11 17:44 Attribution.txt [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 11 17:44 CHANGELOG.md [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 11 17:44 Dockerfile [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 11 17:44 GOVERNANCE.md [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 11 17:44 Jenkinsfile [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 17:44 LICENSE [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 11 17:44 Makefile [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 11 17:44 OWNERS.md [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 11 17:44 README.md [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 17:44 VERSION [2023-08-11T17:45:48.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 17:44 bin [2023-08-11T17:45:48.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:44 cmd [2023-08-11T17:45:48.593Z] -rw-r--r-- 1 jenkins jenkins 45458 Aug 11 17:45 coverage.out [2023-08-11T17:45:48.593Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 11 17:44 docker-entrypoint.sh [2023-08-11T17:45:48.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 17:44 docs [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 11 17:44 go.mod [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 11 17:44 go.sum [2023-08-11T17:45:48.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:44 internal [2023-08-11T17:45:48.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 17:44 snap [2023-08-11T17:45:48.593Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 11 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:45:48.914Z] + 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=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 --label arch=amd64 --label version=0.0.0 . [2023-08-11T17:45:48.915Z] Sending build context to Docker daemon 2.108MB [2023-08-11T17:45:48.915Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T17:45:48.915Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-11T17:45:48.915Z] ---> bf787c1c9018 [2023-08-11T17:45:48.915Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-11T17:45:49.174Z] ---> Running in 548d839759bb [2023-08-11T17:45:49.174Z] Removing intermediate container 548d839759bb [2023-08-11T17:45:49.174Z] ---> 506576b86642 [2023-08-11T17:45:49.174Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T17:45:49.174Z] ---> Running in d8e2c2bbcf46 [2023-08-11T17:45:49.174Z] Removing intermediate container d8e2c2bbcf46 [2023-08-11T17:45:49.174Z] ---> d5f475b38cdd [2023-08-11T17:45:49.174Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T17:45:49.431Z] ---> Running in ce42f5e1c735 [2023-08-11T17:45:49.431Z] Removing intermediate container ce42f5e1c735 [2023-08-11T17:45:49.431Z] ---> c7a3dd4e63f2 [2023-08-11T17:45:49.431Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T17:45:49.431Z] ---> Running in f4f656473bc6 [2023-08-11T17:45:49.431Z] Removing intermediate container f4f656473bc6 [2023-08-11T17:45:49.431Z] ---> 3c740af746bc [2023-08-11T17:45:49.431Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T17:45:49.431Z] ---> Running in 921cfd1939d3 [2023-08-11T17:45:49.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T17:45:49.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-11T17:45:50.206Z] OK: 272 MiB in 67 packages [2023-08-11T17:45:50.465Z] Removing intermediate container 921cfd1939d3 [2023-08-11T17:45:50.465Z] ---> 57568612b8e8 [2023-08-11T17:45:50.465Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-11T17:45:50.465Z] ---> Running in 0a3b8df4007a [2023-08-11T17:45:50.724Z] Removing intermediate container 0a3b8df4007a [2023-08-11T17:45:50.724Z] ---> 38bacdff2e60 [2023-08-11T17:45:50.724Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-11T17:45:50.724Z] ---> 5b97c0d7e3c4 [2023-08-11T17:45:50.724Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T17:45:50.724Z] ---> Running in 3dc494a3b83f [2023-08-11T17:45:51.662Z] Removing intermediate container 3dc494a3b83f [2023-08-11T17:45:51.662Z] ---> 2a4a98c2957c [2023-08-11T17:45:51.662Z] Step 11/36 : COPY . . [2023-08-11T17:45:51.922Z] ---> 6bfc8eb4523b [2023-08-11T17:45:51.922Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T17:45:51.922Z] ---> Running in 76e498393af1 [2023-08-11T17:45:52.182Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:45:52.182Z] Dload Upload Total  Spent Left Speed [2023-08-11T17:45:52.182Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21680 0 --:--:-- --:--:-- --:--:-- 22125 [2023-08-11T17:45:52.444Z] Removing intermediate container 76e498393af1 [2023-08-11T17:45:52.444Z] ---> f5c67abe8b67 [2023-08-11T17:45:52.444Z] Step 13/36 : RUN ${MAKE} [2023-08-11T17:45:52.444Z] ---> Running in 26ba453ed0e3 [2023-08-11T17:45:52.704Z] 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-08-11T17:46:03.217Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3355 in /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] { [Pipeline] ws [2023-08-11T17:46:03.230Z] Running in /w/workspace/device-usb-camera/5 [Pipeline] { [Pipeline] checkout [2023-08-11T17:46:03.270Z] Selected Git installation does not exist. Using Default [2023-08-11T17:46:03.270Z] The recommended git tool is: NONE [2023-08-11T17:46:08.109Z] using credential edgex-jenkins-ssh [2023-08-11T17:46:08.126Z] Cloning the remote Git repository [2023-08-11T17:46:08.171Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T17:46:08.262Z] > git init /w/workspace/device-usb-camera/5 # timeout=10 [2023-08-11T17:46:10.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T17:46:10.413Z] > git --version # timeout=10 [2023-08-11T17:46:10.433Z] > git --version # 'git version 2.25.1' [2023-08-11T17:46:10.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T17:46:10.581Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-11T17:46:11.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-11T17:46:11.400Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-11T17:46:12.819Z] Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [2023-08-11T17:46:13.068Z] Merge succeeded, producing e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [2023-08-11T17:46:13.068Z] Checking out Revision e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 (PR-268) [2023-08-11T17:46:12.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-11T17:46:12.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T17:46:12.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T17:46:12.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-11T17:46:12.839Z] > git config core.sparsecheckout # timeout=10 [2023-08-11T17:46:12.900Z] > git checkout -f e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 # timeout=10 [2023-08-11T17:46:12.980Z] > git remote # timeout=10 [2023-08-11T17:46:12.997Z] > git config --get remote.origin.url # timeout=10 [2023-08-11T17:46:13.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T17:46:13.028Z] > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [2023-08-11T17:46:13.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-11T17:46:13.076Z] > git config core.sparsecheckout # timeout=10 [2023-08-11T17:46:13.092Z] > git checkout -f e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 # timeout=10 [2023-08-11T17:46:14.627Z] Removing intermediate container 26ba453ed0e3 [2023-08-11T17:46:14.627Z] ---> 71aef1804fb3 [2023-08-11T17:46:14.627Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-11T17:46:14.627Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-11T17:46:14.627Z] 4acc49c71d14: Pulling fs layer [2023-08-11T17:46:14.627Z] 4acc49c71d14: Verifying Checksum [2023-08-11T17:46:14.627Z] 4acc49c71d14: Download complete [2023-08-11T17:46:14.884Z] 4acc49c71d14: Pull complete [2023-08-11T17:46:14.884Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-11T17:46:14.884Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-11T17:46:14.884Z] ---> 01a2bd3e5fff [2023-08-11T17:46:14.884Z] Step 15/36 : FROM alpine:3.17 [2023-08-11T17:46:15.450Z] 3.17: Pulling from library/alpine [2023-08-11T17:46:15.450Z] 9398808236ff: Pulling fs layer [2023-08-11T17:46:15.709Z] 9398808236ff: Download complete [2023-08-11T17:46:15.709Z] 9398808236ff: Pull complete [2023-08-11T17:46:15.709Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-11T17:46:15.709Z] Status: Downloaded newer image for alpine:3.17 [2023-08-11T17:46:15.709Z] ---> 1e0b8b5322fc [2023-08-11T17:46:15.709Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-11T17:46:16.275Z] ---> Running in bb1073c46634 [2023-08-11T17:46:16.275Z] Removing intermediate container bb1073c46634 [2023-08-11T17:46:16.275Z] ---> 51f204b02806 [2023-08-11T17:46:16.275Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-11T17:46:16.275Z] ---> Running in e5ba244c7055 [2023-08-11T17:46:16.517Z] Commit message: "fix: resolve spelling error" [2023-08-11T17:46:16.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T17:46:16.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-08-11T17:46:17.071Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-11T17:46:17.071Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-11T17:46:17.071Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-11T17:46:17.071Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-11T17:46:17.071Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-11T17:46:17.071Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-11T17:46:17.071Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-11T17:46:17.071Z] (8/86) Installing libxcb (1.15-r0) [2023-08-11T17:46:17.071Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-11T17:46:17.071Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-11T17:46:17.071Z] (11/86) Installing alsa-lib (1.2.8-r0) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T17:46:17.330Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-11T17:46:17.330Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-11T17:46:17.330Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-11T17:46:17.330Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-11T17:46:17.330Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-11T17:46:17.330Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-11T17:46:17.330Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-11T17:46:17.330Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-11T17:46:17.330Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-11T17:46:17.330Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-11T17:46:17.330Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-11T17:46:17.330Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-11T17:46:17.330Z] (24/86) Installing glib (2.74.7-r0) [2023-08-11T17:46:17.330Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-11T17:46:17.330Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-11T17:46:17.330Z] (27/86) Installing libass (0.16.0-r1) [2023-08-11T17:46:17.330Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-11T17:46:17.330Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-11T17:46:17.330Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-11T17:46:17.330Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-11T17:46:17.330Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-11T17:46:17.330Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-11T17:46:17.330Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-11T17:46:17.330Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-11T17:46:17.330Z] (36/86) Installing libunistring (1.1-r0) [2023-08-11T17:46:17.547Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-11T17:46:17.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:46:17.547Z] Dload Upload Total Spent Left Speed [2023-08-11T17:46:17.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [2023-08-11T17:46:17.589Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-11T17:46:17.589Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-11T17:46:17.589Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-11T17:46:17.589Z] (40/86) Installing lame (3.100-r2) [2023-08-11T17:46:17.589Z] (41/86) Installing opus (1.3.1-r1) [2023-08-11T17:46:17.589Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-11T17:46:17.589Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-11T17:46:17.589Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-11T17:46:17.589Z] (45/86) Installing orc (0.4.33-r0) [2023-08-11T17:46:17.589Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-11T17:46:17.589Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-11T17:46:17.589Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-11T17:46:17.589Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-11T17:46:17.589Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-11T17:46:17.589Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-11T17:46:17.589Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-11T17:46:17.589Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-11T17:46:17.589Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-11T17:46:17.589Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-11T17:46:17.589Z] (56/86) Installing libpulse (16.1-r6) [2023-08-11T17:46:17.589Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-11T17:46:17.589Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-11T17:46:17.589Z] (59/86) Installing librist (0.2.7-r0) [2023-08-11T17:46:17.589Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-11T17:46:17.847Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-11T17:46:17.847Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-11T17:46:17.847Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T17:46:17.847Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T17:46:17.847Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-11T17:46:17.847Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-11T17:46:17.847Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-11T17:46:17.847Z] (68/86) Installing libva (2.16.0-r0) [2023-08-11T17:46:17.847Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-11T17:46:17.847Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-11T17:46:17.847Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-11T17:46:17.847Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-11T17:46:17.847Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-11T17:46:17.847Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-11T17:46:17.847Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-11T17:46:17.847Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-11T17:46:17.847Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-11T17:46:17.847Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-11T17:46:17.847Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [Pipeline] sh [2023-08-11T17:46:18.226Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-11T17:46:18.415Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-11T17:46:18.415Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-11T17:46:18.415Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-11T17:46:18.415Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-11T17:46:18.415Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-11T17:46:18.415Z] (85/86) Installing kmod-libs (30-r1) [2023-08-11T17:46:18.415Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-11T17:46:18.415Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T17:46:18.415Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T17:46:18.415Z] OK: 112 MiB in 101 packages [2023-08-11T17:46:18.550Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-11T17:46:18.550Z] + sudo tee /etc/docker/daemon.new [2023-08-11T17:46:18.550Z] { [2023-08-11T17:46:18.550Z] "registry-mirrors": [ [2023-08-11T17:46:18.550Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-11T17:46:18.550Z] ], [2023-08-11T17:46:18.550Z] "bip": "10.250.0.254/24", [2023-08-11T17:46:18.550Z] "hosts": [ [2023-08-11T17:46:18.550Z] "tcp://0.0.0.0:5555", [2023-08-11T17:46:18.550Z] "unix:///var/run/docker.sock" [2023-08-11T17:46:18.550Z] ], [2023-08-11T17:46:18.550Z] "mtu": 1458, [2023-08-11T17:46:18.550Z] "selinux-enabled": true, [2023-08-11T17:46:18.550Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-11T17:46:18.550Z] } [Pipeline] sh [2023-08-11T17:46:18.865Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-11T17:46:19.181Z] + sudo service docker restart [2023-08-11T17:46:21.945Z] Removing intermediate container e5ba244c7055 [2023-08-11T17:46:21.945Z] ---> 772c7d246cc3 [2023-08-11T17:46:21.945Z] Step 18/36 : WORKDIR / [2023-08-11T17:46:21.945Z] ---> Running in d1220dbde5ae [2023-08-11T17:46:21.945Z] Removing intermediate container d1220dbde5ae [2023-08-11T17:46:21.945Z] ---> 05e8d2d70119 [2023-08-11T17:46:21.945Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-11T17:46:22.205Z] ---> da7aaaf6cac5 [2023-08-11T17:46:22.205Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-11T17:46:22.205Z] ---> 789ecd553238 [2023-08-11T17:46:22.205Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-11T17:46:22.496Z] ---> 0e6f0592f9ac [2023-08-11T17:46:22.496Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-11T17:46:22.496Z] ---> edb89ea1534a [2023-08-11T17:46:22.496Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-11T17:46:22.756Z] ---> 6c1b9b17a071 [2023-08-11T17:46:22.756Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-11T17:46:22.756Z] ---> 9b9de75f2aa9 [2023-08-11T17:46:22.756Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-11T17:46:23.690Z] ---> e0da9a512f73 [2023-08-11T17:46:23.690Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-11T17:46:23.690Z] ---> Running in cc0c00e6d347 [2023-08-11T17:46:24.256Z] Removing intermediate container cc0c00e6d347 [2023-08-11T17:46:24.256Z] ---> 1f043a46bca3 [2023-08-11T17:46:24.256Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-11T17:46:24.256Z] ---> Running in c1721f98951f [2023-08-11T17:46:24.822Z] Removing intermediate container c1721f98951f [2023-08-11T17:46:24.823Z] ---> 73e596b8600e [2023-08-11T17:46:24.823Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-11T17:46:24.823Z] ---> Running in ef487a876cc2 [2023-08-11T17:46:25.759Z] Removing intermediate container ef487a876cc2 [2023-08-11T17:46:25.759Z] ---> e5dcd1061e01 [2023-08-11T17:46:25.759Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-11T17:46:25.759Z] ---> Running in 9eda9e54a472 [2023-08-11T17:46:26.325Z] Removing intermediate container 9eda9e54a472 [2023-08-11T17:46:26.325Z] ---> 0a237f645674 [2023-08-11T17:46:26.325Z] Step 30/36 : EXPOSE 59983 [2023-08-11T17:46:26.325Z] ---> Running in b4c11b15eb85 [2023-08-11T17:46:26.325Z] Removing intermediate container b4c11b15eb85 [2023-08-11T17:46:26.325Z] ---> cc098ac02e3b [2023-08-11T17:46:26.325Z] Step 31/36 : EXPOSE 8554 [2023-08-11T17:46:26.325Z] ---> Running in 4178c6f24f45 [2023-08-11T17:46:26.325Z] Removing intermediate container 4178c6f24f45 [2023-08-11T17:46:26.325Z] ---> 6457f7f577d3 [2023-08-11T17:46:26.325Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-11T17:46:26.325Z] ---> Running in 639bfb1d2f0e [2023-08-11T17:46:26.325Z] Removing intermediate container 639bfb1d2f0e [2023-08-11T17:46:26.325Z] ---> 7fa73407d115 [2023-08-11T17:46:26.325Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-11T17:46:26.325Z] ---> Running in 4166c457a43a [2023-08-11T17:46:26.584Z] Removing intermediate container 4166c457a43a [2023-08-11T17:46:26.584Z] ---> 3b6d2decc0e7 [2023-08-11T17:46:26.584Z] Step 34/36 : LABEL arch=amd64 [2023-08-11T17:46:26.584Z] ---> Running in bd2e005a41a8 [2023-08-11T17:46:26.584Z] Removing intermediate container bd2e005a41a8 [2023-08-11T17:46:26.584Z] ---> 0ae0dd226e03 [2023-08-11T17:46:26.584Z] Step 35/36 : LABEL git_sha=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [2023-08-11T17:46:26.584Z] ---> Running in c075fe78cde1 [2023-08-11T17:46:26.584Z] Removing intermediate container c075fe78cde1 [2023-08-11T17:46:26.584Z] ---> 4d92369b4746 [2023-08-11T17:46:26.584Z] Step 36/36 : LABEL version=0.0.0 [2023-08-11T17:46:26.584Z] ---> Running in 72e7c470296a [2023-08-11T17:46:26.843Z] Removing intermediate container 72e7c470296a [2023-08-11T17:46:26.843Z] ---> 56c7dcd75cf8 [2023-08-11T17:46:26.843Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-11T17:46:26.843Z] Successfully built 56c7dcd75cf8 [2023-08-11T17:46:26.843Z] 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-08-11T17:46:27.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T17:46:27.288Z] [2023-08-11T17:46:27.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:46:27.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T17:46:27.612Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-11T17:46:27.612Z] 5eb5b503b376: Pulling fs layer [2023-08-11T17:46:27.612Z] 5c69ac0246d0: Pulling fs layer [2023-08-11T17:46:27.612Z] ec43610c2a17: Pulling fs layer [2023-08-11T17:46:27.612Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-11T17:46:27.612Z] 33b1e0a273af: Pulling fs layer [2023-08-11T17:46:27.612Z] 5d3b04190fa2: Pulling fs layer [2023-08-11T17:46:27.612Z] 2f39f015ded8: Pulling fs layer [2023-08-11T17:46:27.612Z] 5d3b04190fa2: Waiting [2023-08-11T17:46:27.612Z] 3a2ae6a8a46f: Waiting [2023-08-11T17:46:27.612Z] 2f39f015ded8: Waiting [2023-08-11T17:46:27.881Z] 5c69ac0246d0: Download complete [2023-08-11T17:46:27.881Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-11T17:46:27.881Z] 3a2ae6a8a46f: Download complete [2023-08-11T17:46:27.881Z] 33b1e0a273af: Verifying Checksum [2023-08-11T17:46:27.881Z] 33b1e0a273af: Download complete [2023-08-11T17:46:27.881Z] 5d3b04190fa2: Verifying Checksum [2023-08-11T17:46:27.881Z] 5d3b04190fa2: Download complete [2023-08-11T17:46:27.881Z] ec43610c2a17: Verifying Checksum [2023-08-11T17:46:27.881Z] ec43610c2a17: Download complete [2023-08-11T17:46:28.141Z] 5eb5b503b376: Verifying Checksum [2023-08-11T17:46:28.141Z] 5eb5b503b376: Download complete [2023-08-11T17:46:28.708Z] 2f39f015ded8: Download complete [2023-08-11T17:46:28.967Z] 5eb5b503b376: Pull complete [2023-08-11T17:46:29.225Z] 5c69ac0246d0: Pull complete [2023-08-11T17:46:29.487Z] ec43610c2a17: Pull complete [2023-08-11T17:46:29.744Z] 3a2ae6a8a46f: Pull complete [2023-08-11T17:46:29.744Z] 33b1e0a273af: Pull complete [2023-08-11T17:46:30.001Z] 5d3b04190fa2: Pull complete [2023-08-11T17:46:34.184Z] 2f39f015ded8: Pull complete [2023-08-11T17:46:34.184Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-11T17:46:34.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T17:46:34.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:46:34.257Z] prd-ubuntu20.04-docker-8c-8g-3354 does not seem to be running inside a container [2023-08-11T17:46:34.285Z] $ 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-268 -v /w/workspace/foundry_device-usb-camera_PR-268:/w/workspace/foundry_device-usb-camera_PR-268:rw,z -v /w/workspace/foundry_device-usb-camera_PR-268@tmp:/w/workspace/foundry_device-usb-camera_PR-268@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-08-11T17:46:39.006Z] $ docker top af791699d90133e059d322b33f0640da3cee2b2488c8ead7924fc62769d254d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-08-11T17:46:39.134Z] provisioning config files... [2023-08-11T17:46:39.156Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/5@tmp/config2421497387163106952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:46:39.386Z] ---> job-cost.sh [2023-08-11T17:46:39.386Z] lf-activate-venv: SKIPPING [2023-08-11T17:46:39.386Z] INFO: No Stack... [2023-08-11T17:46:39.492Z] ---> docker-login.sh [2023-08-11T17:46:39.492Z] nexus3.edgexfoundry.org:10001 [2023-08-11T17:46:39.645Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-11T17:46:39.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:46:39.904Z] INFO: Archiving Costs [Pipeline] sh [2023-08-11T17:46:40.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:46:40.032Z] Configure a credential helper to remove this warning. See [2023-08-11T17:46:40.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:46:40.032Z] [2023-08-11T17:46:40.032Z] Login Succeeded [2023-08-11T17:46:40.032Z] nexus3.edgexfoundry.org:10002 [2023-08-11T17:46:40.191Z] + cat /w/workspace/foundry_device-usb-camera_PR-268/archives/cost.csv [2023-08-11T17:46:40.191Z] + cut -d, -f6 [Pipeline] lock [2023-08-11T17:46:40.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [2023-08-11T17:46:40.210Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] did not exist. Created. [2023-08-11T17:46:40.210Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-11T17:46:40.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:46:40.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:46:40.303Z] Configure a credential helper to remove this warning. See [2023-08-11T17:46:40.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:46:40.303Z] [2023-08-11T17:46:40.303Z] Login Succeeded [2023-08-11T17:46:40.303Z] nexus3.edgexfoundry.org:10003 [2023-08-11T17:46:40.511Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-11T17:46:40.540Z] Stashed 1 file(s) [Pipeline] } [2023-08-11T17:46:40.547Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-11T17:46:40.565Z] $ docker stop --time=1 af791699d90133e059d322b33f0640da3cee2b2488c8ead7924fc62769d254d7 [2023-08-11T17:46:40.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:46:40.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:46:40.850Z] Configure a credential helper to remove this warning. See [2023-08-11T17:46:40.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:46:40.850Z] [2023-08-11T17:46:40.850Z] Login Succeeded [2023-08-11T17:46:40.850Z] nexus3.edgexfoundry.org:10004 [2023-08-11T17:46:41.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:46:41.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:46:41.119Z] Configure a credential helper to remove this warning. See [2023-08-11T17:46:41.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:46:41.119Z] [2023-08-11T17:46:41.119Z] Login Succeeded [2023-08-11T17:46:41.119Z] docker.io [2023-08-11T17:46:41.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T17:46:41.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T17:46:41.652Z] Configure a credential helper to remove this warning. See [2023-08-11T17:46:41.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T17:46:41.652Z] [2023-08-11T17:46:41.652Z] Login Succeeded [2023-08-11T17:46:41.652Z] ---> docker-login.sh ends [2023-08-11T17:46:41.707Z] $ docker rm -f --volumes af791699d90133e059d322b33f0640da3cee2b2488c8ead7924fc62769d254d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-08-11T17:46:41.756Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-08-11T17:46:41.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T17:46:42.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T17:46:42.021Z] ========================================================= [2023-08-11T17:46:42.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-11T17:46:42.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:46:42.374Z] + 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-08-11T17:46:42.643Z] Sending build context to Docker daemon 1.253MB [2023-08-11T17:46:42.643Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T17:46:42.643Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-11T17:46:42.916Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-11T17:46:42.916Z] edb6bdbacee9: Pulling fs layer [2023-08-11T17:46:42.916Z] 5f9638ab2659: Pulling fs layer [2023-08-11T17:46:42.916Z] 8d51d6327a98: Pulling fs layer [2023-08-11T17:46:42.916Z] 8b374f2dd631: Pulling fs layer [2023-08-11T17:46:42.916Z] ec14aa9079de: Pulling fs layer [2023-08-11T17:46:42.916Z] 2f466654f4bb: Pulling fs layer [2023-08-11T17:46:42.916Z] 554e91adad29: Pulling fs layer [2023-08-11T17:46:42.916Z] ec14aa9079de: Waiting [2023-08-11T17:46:42.916Z] 2f466654f4bb: Waiting [2023-08-11T17:46:42.916Z] 554e91adad29: Waiting [2023-08-11T17:46:42.916Z] 8b374f2dd631: Waiting [2023-08-11T17:46:42.916Z] 5f9638ab2659: Download complete [2023-08-11T17:46:42.916Z] 8b374f2dd631: Verifying Checksum [2023-08-11T17:46:42.916Z] 8b374f2dd631: Download complete [2023-08-11T17:46:42.916Z] ec14aa9079de: Verifying Checksum [2023-08-11T17:46:42.916Z] ec14aa9079de: Download complete [2023-08-11T17:46:42.916Z] edb6bdbacee9: Verifying Checksum [2023-08-11T17:46:42.916Z] edb6bdbacee9: Download complete [2023-08-11T17:46:43.904Z] edb6bdbacee9: Pull complete [2023-08-11T17:46:44.175Z] 554e91adad29: Verifying Checksum [2023-08-11T17:46:44.175Z] 554e91adad29: Download complete [2023-08-11T17:46:44.447Z] 5f9638ab2659: Pull complete [2023-08-11T17:46:45.421Z] 8d51d6327a98: Verifying Checksum [2023-08-11T17:46:45.421Z] 8d51d6327a98: Download complete [2023-08-11T17:46:45.421Z] 2f466654f4bb: Verifying Checksum [2023-08-11T17:46:45.421Z] 2f466654f4bb: Download complete [2023-08-11T17:46:57.757Z] 8d51d6327a98: Pull complete [2023-08-11T17:46:57.757Z] 8b374f2dd631: Pull complete [2023-08-11T17:46:57.757Z] ec14aa9079de: Pull complete [2023-08-11T17:47:05.965Z] 2f466654f4bb: Pull complete [2023-08-11T17:47:07.389Z] 554e91adad29: Pull complete [2023-08-11T17:47:07.389Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-11T17:47:07.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-11T17:47:07.389Z] ---> 1e15ea492957 [2023-08-11T17:47:07.389Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-11T17:47:08.804Z] ---> Running in 71ad8079b5a7 [2023-08-11T17:47:09.070Z] Removing intermediate container 71ad8079b5a7 [2023-08-11T17:47:09.070Z] ---> 112b0756c902 [2023-08-11T17:47:09.070Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T17:47:09.337Z] ---> Running in 70ad1fcbe47c [2023-08-11T17:47:09.605Z] Removing intermediate container 70ad1fcbe47c [2023-08-11T17:47:09.605Z] ---> e85e54e32a78 [2023-08-11T17:47:09.605Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T17:47:09.605Z] ---> Running in 06fbda13a327 [2023-08-11T17:47:09.873Z] Removing intermediate container 06fbda13a327 [2023-08-11T17:47:09.873Z] ---> 1c7e478ea275 [2023-08-11T17:47:09.873Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T17:47:09.873Z] ---> Running in 9e83d3dbd141 [2023-08-11T17:47:10.144Z] Removing intermediate container 9e83d3dbd141 [2023-08-11T17:47:10.144Z] ---> 14e87b20782a [2023-08-11T17:47:10.144Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T17:47:10.144Z] ---> Running in 2d731659f4f3 [2023-08-11T17:47:11.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T17:47:11.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T17:47:12.784Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-11T17:47:12.784Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-11T17:47:12.784Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T17:47:12.784Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T17:47:12.784Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-11T17:47:12.784Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-11T17:47:12.784Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-11T17:47:12.784Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-11T17:47:12.784Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-11T17:47:13.052Z] (10/14) Installing kmod-libs (30-r1) [2023-08-11T17:47:13.052Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-11T17:47:13.052Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-11T17:47:13.052Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-11T17:47:13.052Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-11T17:47:13.052Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T17:47:13.052Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T17:47:13.052Z] OK: 271 MiB in 67 packages [2023-08-11T17:47:14.458Z] Removing intermediate container 2d731659f4f3 [2023-08-11T17:47:14.458Z] ---> eeef1f4174a8 [2023-08-11T17:47:14.458Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-11T17:47:14.458Z] ---> Running in b35ad41f3673 [2023-08-11T17:47:14.458Z] Removing intermediate container b35ad41f3673 [2023-08-11T17:47:14.458Z] ---> 4188f7d57aca [2023-08-11T17:47:14.458Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-11T17:47:15.046Z] ---> 9f463e75741d [2023-08-11T17:47:15.046Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T17:47:15.046Z] ---> Running in 36c364da41b5 [2023-08-11T17:48:22.918Z] Removing intermediate container 36c364da41b5 [2023-08-11T17:48:22.918Z] ---> 0b1538726e72 [2023-08-11T17:48:22.918Z] Step 11/13 : COPY . . [2023-08-11T17:48:22.918Z] ---> fb7f39384d5b [2023-08-11T17:48:22.918Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T17:48:22.918Z] ---> Running in 02dc0633093c [2023-08-11T17:48:22.918Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:48:22.918Z]  Dload Upload Total  Spent Left Speed [2023-08-11T17:48:22.918Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 4522 0 --:--:-- --:--:-- --:--:-- 4538 [2023-08-11T17:48:22.918Z] Removing intermediate container 02dc0633093c [2023-08-11T17:48:22.918Z] ---> 6dfc51ece9bb [2023-08-11T17:48:22.918Z] Step 13/13 : RUN ${MAKE} [2023-08-11T17:48:22.918Z] ---> Running in 00110985eb20 [2023-08-11T17:48:22.918Z] noop [2023-08-11T17:48:22.918Z] Removing intermediate container 00110985eb20 [2023-08-11T17:48:22.918Z] ---> 75f97b5cf07b [2023-08-11T17:48:22.918Z] Successfully built 75f97b5cf07b [2023-08-11T17:48:22.918Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:48:23.268Z] + docker inspect -f . ci-base-image-arm64 [2023-08-11T17:48:23.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:48:23.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-3355 does not seem to be running inside a container [2023-08-11T17:48:23.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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-08-11T17:48:24.693Z] $ docker top a5d23392fb7e9d81bc43a488156a02f25166ad1ee10ab51c1791197a85c22399 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T17:48:25.513Z] + go version [2023-08-11T17:48:25.513Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-11T17:48:25.533Z] $ docker stop --time=1 a5d23392fb7e9d81bc43a488156a02f25166ad1ee10ab51c1791197a85c22399 [2023-08-11T17:48:27.166Z] $ docker rm -f --volumes a5d23392fb7e9d81bc43a488156a02f25166ad1ee10ab51c1791197a85c22399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:48:27.697Z] + docker inspect -f . ci-base-image-arm64 [2023-08-11T17:48:27.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:48:27.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-3355 does not seem to be running inside a container [2023-08-11T17:48:27.931Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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-08-11T17:48:29.103Z] $ docker top fc8f8492dec0d3670f7e80bcbad5684d00c858237778bc8e8ec3f29c2955d2b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T17:48:29.600Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/5 [Pipeline] fileExists [Pipeline] sh [2023-08-11T17:48:29.930Z] + make test [2023-08-11T17:48:29.930Z] go test ./... -coverprofile=coverage.out ./... [2023-08-11T17:49:02.173Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-11T17:50:53.893Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-11T17:51:02.102Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.085s coverage: 3.4% of statements [2023-08-11T17:51:02.102Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-11T17:51:02.102Z] go vet ./... [2023-08-11T17:51:40.983Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-11T17:51:40.983Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-11T17:51:40.983Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-11T17:51:41.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-11T17:51:41.015Z] $ docker stop --time=1 fc8f8492dec0d3670f7e80bcbad5684d00c858237778bc8e8ec3f29c2955d2b1 [2023-08-11T17:51:42.780Z] $ docker rm -f --volumes fc8f8492dec0d3670f7e80bcbad5684d00c858237778bc8e8ec3f29c2955d2b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T17:51:43.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-11T17:51:43.896Z] Warning: overwriting stash ‘coverage-report’ [2023-08-11T17:51:44.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T17:51:44.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-11T17:51:45.203Z] + ls -al . [2023-08-11T17:51:45.203Z] total 204 [2023-08-11T17:51:45.203Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 17:48 . [2023-08-11T17:51:45.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 17:46 .. [2023-08-11T17:51:45.203Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 17:46 .git [2023-08-11T17:51:45.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:46 .github [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 11 17:46 .gitignore [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 11 17:46 .golangci.yml [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 11 17:46 .hadolint.yml [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 11 17:46 Attribution.txt [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 11 17:46 CHANGELOG.md [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 11 17:46 Dockerfile [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 11 17:46 GOVERNANCE.md [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 11 17:46 Jenkinsfile [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 17:46 LICENSE [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 11 17:46 Makefile [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 11 17:46 OWNERS.md [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 11 17:46 README.md [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 17:44 VERSION [2023-08-11T17:51:45.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 17:46 bin [2023-08-11T17:51:45.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:46 cmd [2023-08-11T17:51:45.203Z] -rw-r--r-- 1 jenkins jenkins 45458 Aug 11 17:51 coverage.out [2023-08-11T17:51:45.203Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 11 17:46 docker-entrypoint.sh [2023-08-11T17:51:45.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 17:46 docs [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 11 17:46 go.mod [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 11 17:46 go.sum [2023-08-11T17:51:45.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 17:46 internal [2023-08-11T17:51:45.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 17:46 snap [2023-08-11T17:51:45.203Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 11 17:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:51:45.562Z] + 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=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 --label arch=arm64 --label version=0.0.0 . [2023-08-11T17:51:45.841Z] Sending build context to Docker daemon 1.299MB [2023-08-11T17:51:45.842Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T17:51:45.842Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-11T17:51:45.842Z] ---> 75f97b5cf07b [2023-08-11T17:51:45.842Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-11T17:51:46.113Z] ---> Running in 0695965684d4 [2023-08-11T17:51:46.390Z] Removing intermediate container 0695965684d4 [2023-08-11T17:51:46.390Z] ---> bf60f0c9a707 [2023-08-11T17:51:46.390Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T17:51:46.390Z] ---> Running in 595597ae9813 [2023-08-11T17:51:46.664Z] Removing intermediate container 595597ae9813 [2023-08-11T17:51:46.664Z] ---> 9031883267a9 [2023-08-11T17:51:46.664Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T17:51:46.935Z] ---> Running in 22b262b2115b [2023-08-11T17:51:47.204Z] Removing intermediate container 22b262b2115b [2023-08-11T17:51:47.204Z] ---> b9a4c6ce12bf [2023-08-11T17:51:47.204Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T17:51:47.204Z] ---> Running in 635ecbcf4296 [2023-08-11T17:51:47.484Z] Removing intermediate container 635ecbcf4296 [2023-08-11T17:51:47.484Z] ---> 6f3e71647e0e [2023-08-11T17:51:47.484Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T17:51:47.484Z] ---> Running in a18e53aaa579 [2023-08-11T17:51:48.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T17:51:49.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T17:51:49.994Z] OK: 271 MiB in 67 packages [2023-08-11T17:51:50.955Z] Removing intermediate container a18e53aaa579 [2023-08-11T17:51:50.955Z] ---> ca64238876db [2023-08-11T17:51:50.955Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-11T17:51:50.955Z] ---> Running in 5032078533c5 [2023-08-11T17:51:51.223Z] Removing intermediate container 5032078533c5 [2023-08-11T17:51:51.223Z] ---> 9396f6e0db5b [2023-08-11T17:51:51.223Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-11T17:51:51.811Z] ---> 6b2727ebf1f1 [2023-08-11T17:51:51.811Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T17:51:51.811Z] ---> Running in c588f2ae3833 [2023-08-11T17:51:54.397Z] Removing intermediate container c588f2ae3833 [2023-08-11T17:51:54.397Z] ---> a1cc8a9c6249 [2023-08-11T17:51:54.397Z] Step 11/36 : COPY . . [2023-08-11T17:51:54.981Z] ---> 87a1c17d5dcc [2023-08-11T17:51:54.981Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T17:51:55.252Z] ---> Running in a101f83def4b [2023-08-11T17:51:56.208Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:51:56.208Z] Dload Upload Total Spent Left Speed [2023-08-11T17:51:56.475Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3316 0 --:--:-- --:--:-- --:--:-- 3329 [2023-08-11T17:51:57.073Z] Removing intermediate container a101f83def4b [2023-08-11T17:51:57.073Z] ---> 95a88b79edcd [2023-08-11T17:51:57.073Z] Step 13/36 : RUN ${MAKE} [2023-08-11T17:51:57.073Z] ---> Running in 29c2d553fb45 [2023-08-11T17:51:58.032Z] 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-08-11T17:54:19.709Z] Removing intermediate container 29c2d553fb45 [2023-08-11T17:54:19.709Z] ---> eebbda5db46e [2023-08-11T17:54:19.709Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-11T17:54:19.709Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-11T17:54:19.709Z] 8766b47fe142: Pulling fs layer [2023-08-11T17:54:19.709Z] 8766b47fe142: Verifying Checksum [2023-08-11T17:54:19.709Z] 8766b47fe142: Download complete [2023-08-11T17:54:19.709Z] 8766b47fe142: Pull complete [2023-08-11T17:54:19.709Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-11T17:54:19.709Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-11T17:54:19.709Z] ---> 69d40e2cb93c [2023-08-11T17:54:19.709Z] Step 15/36 : FROM alpine:3.17 [2023-08-11T17:54:19.709Z] 3.17: Pulling from library/alpine [2023-08-11T17:54:19.709Z] 4060ece20d7a: Pulling fs layer [2023-08-11T17:54:19.709Z] 4060ece20d7a: Verifying Checksum [2023-08-11T17:54:19.709Z] 4060ece20d7a: Download complete [2023-08-11T17:54:20.292Z] 4060ece20d7a: Pull complete [2023-08-11T17:54:20.292Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-11T17:54:20.292Z] Status: Downloaded newer image for alpine:3.17 [2023-08-11T17:54:20.292Z] ---> 8650cd65339b [2023-08-11T17:54:20.292Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-11T17:54:20.558Z] ---> Running in 4466d4c57b84 [2023-08-11T17:54:20.825Z] Removing intermediate container 4466d4c57b84 [2023-08-11T17:54:20.826Z] ---> e094dbc7a602 [2023-08-11T17:54:20.826Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-11T17:54:20.826Z] ---> Running in 86cd7b266adc [2023-08-11T17:54:21.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T17:54:22.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T17:54:23.321Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-11T17:54:23.321Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-11T17:54:23.321Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-11T17:54:23.321Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-11T17:54:23.321Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-11T17:54:23.321Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-11T17:54:23.321Z] (7/83) Installing libxcb (1.15-r0) [2023-08-11T17:54:23.321Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-11T17:54:23.587Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-11T17:54:23.587Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-11T17:54:23.587Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-11T17:54:23.587Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-11T17:54:23.853Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-11T17:54:23.853Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-11T17:54:23.853Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-11T17:54:23.853Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-11T17:54:23.853Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-11T17:54:23.853Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-11T17:54:23.853Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-11T17:54:23.853Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-11T17:54:23.853Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-11T17:54:23.853Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-11T17:54:23.853Z] (23/83) Installing glib (2.74.7-r0) [2023-08-11T17:54:23.853Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-11T17:54:24.120Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-11T17:54:24.120Z] (26/83) Installing libass (0.16.0-r1) [2023-08-11T17:54:24.120Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-11T17:54:24.120Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-11T17:54:24.120Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-11T17:54:24.120Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-11T17:54:24.120Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-11T17:54:24.120Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-11T17:54:24.120Z] (33/83) Installing libunistring (1.1-r0) [2023-08-11T17:54:24.120Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-11T17:54:24.385Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-11T17:54:24.385Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-11T17:54:24.385Z] (37/83) Installing lame (3.100-r2) [2023-08-11T17:54:24.385Z] (38/83) Installing opus (1.3.1-r1) [2023-08-11T17:54:24.385Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-11T17:54:24.385Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-11T17:54:24.385Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-11T17:54:24.385Z] (42/83) Installing orc (0.4.33-r0) [2023-08-11T17:54:24.385Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-11T17:54:24.385Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-11T17:54:24.385Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-11T17:54:24.385Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-11T17:54:24.385Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-11T17:54:24.385Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-11T17:54:24.385Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-11T17:54:24.653Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-11T17:54:24.653Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-11T17:54:24.653Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-11T17:54:24.653Z] (53/83) Installing libpulse (16.1-r6) [2023-08-11T17:54:24.653Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-11T17:54:24.653Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-11T17:54:24.653Z] (56/83) Installing librist (0.2.7-r0) [2023-08-11T17:54:24.653Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-11T17:54:24.653Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-11T17:54:24.653Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-11T17:54:24.653Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T17:54:24.653Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T17:54:24.653Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-11T17:54:24.653Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-11T17:54:24.653Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-11T17:54:24.653Z] (65/83) Installing libva (2.16.0-r0) [2023-08-11T17:54:24.653Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-11T17:54:24.653Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-11T17:54:24.653Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-11T17:54:24.918Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-11T17:54:24.918Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-11T17:54:24.918Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-11T17:54:24.918Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-11T17:54:25.183Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-11T17:54:25.183Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-11T17:54:25.183Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-11T17:54:25.183Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-11T17:54:25.451Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-11T17:54:25.452Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-11T17:54:25.452Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-11T17:54:25.452Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-11T17:54:25.452Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-11T17:54:25.720Z] (82/83) Installing kmod-libs (30-r1) [2023-08-11T17:54:25.720Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-11T17:54:25.720Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T17:54:25.720Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T17:54:25.720Z] OK: 86 MiB in 98 packages [2023-08-11T17:54:29.062Z] Removing intermediate container 86cd7b266adc [2023-08-11T17:54:29.063Z] ---> f6cf5b151c39 [2023-08-11T17:54:29.063Z] Step 18/36 : WORKDIR / [2023-08-11T17:54:29.063Z] ---> Running in a41381149227 [2023-08-11T17:54:29.330Z] Removing intermediate container a41381149227 [2023-08-11T17:54:29.330Z] ---> 8099b498aca7 [2023-08-11T17:54:29.330Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-11T17:54:30.737Z] ---> 252b6d1cfab6 [2023-08-11T17:54:30.737Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-11T17:54:31.003Z] ---> a62cba0f58fb [2023-08-11T17:54:31.003Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-11T17:54:31.585Z] ---> c1be3ea285d3 [2023-08-11T17:54:31.585Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-11T17:54:31.854Z] ---> b113fbe7217f [2023-08-11T17:54:31.854Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-11T17:54:32.438Z] ---> 763b8bc7472d [2023-08-11T17:54:32.438Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-11T17:54:33.020Z] ---> f3329887c27d [2023-08-11T17:54:33.020Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-11T17:54:34.426Z] ---> 145b3ca95f6c [2023-08-11T17:54:34.426Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-11T17:54:34.426Z] ---> Running in 6eba9a8480fb [2023-08-11T17:54:35.842Z] Removing intermediate container 6eba9a8480fb [2023-08-11T17:54:35.842Z] ---> 6dac067124c8 [2023-08-11T17:54:35.842Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-11T17:54:35.842Z] ---> Running in 5b9d6c9013ec [2023-08-11T17:54:37.245Z] Removing intermediate container 5b9d6c9013ec [2023-08-11T17:54:37.245Z] ---> 62fe722834d5 [2023-08-11T17:54:37.245Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-11T17:54:37.512Z] ---> Running in 312b4127e0b6 [2023-08-11T17:54:38.920Z] Removing intermediate container 312b4127e0b6 [2023-08-11T17:54:38.920Z] ---> 1a98a22b5e25 [2023-08-11T17:54:38.920Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-11T17:54:40.853Z] ---> Running in 6f6aa873ba1e [2023-08-11T17:54:42.262Z] Removing intermediate container 6f6aa873ba1e [2023-08-11T17:54:42.262Z] ---> daa1c68aec01 [2023-08-11T17:54:42.262Z] Step 30/36 : EXPOSE 59983 [2023-08-11T17:54:42.262Z] ---> Running in c45f4a0a72c2 [2023-08-11T17:54:42.529Z] Removing intermediate container c45f4a0a72c2 [2023-08-11T17:54:42.529Z] ---> ad684d03a4ff [2023-08-11T17:54:42.529Z] Step 31/36 : EXPOSE 8554 [2023-08-11T17:54:42.529Z] ---> Running in 2fbeade60b07 [2023-08-11T17:54:42.796Z] Removing intermediate container 2fbeade60b07 [2023-08-11T17:54:42.796Z] ---> 88d7d6caa6b6 [2023-08-11T17:54:42.796Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-11T17:54:42.796Z] ---> Running in 3305854d5348 [2023-08-11T17:54:43.064Z] Removing intermediate container 3305854d5348 [2023-08-11T17:54:43.064Z] ---> 95ae1383f7f1 [2023-08-11T17:54:43.064Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-11T17:54:43.331Z] ---> Running in c62e1d7c11e1 [2023-08-11T17:54:43.597Z] Removing intermediate container c62e1d7c11e1 [2023-08-11T17:54:43.597Z] ---> 356cd590cf07 [2023-08-11T17:54:43.597Z] Step 34/36 : LABEL arch=arm64 [2023-08-11T17:54:43.597Z] ---> Running in 2ea1b924d29b [2023-08-11T17:54:43.864Z] Removing intermediate container 2ea1b924d29b [2023-08-11T17:54:43.864Z] ---> 71a0efc35fcb [2023-08-11T17:54:43.864Z] Step 35/36 : LABEL git_sha=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [2023-08-11T17:54:43.864Z] ---> Running in 380ae667af3d [2023-08-11T17:54:44.130Z] Removing intermediate container 380ae667af3d [2023-08-11T17:54:44.130Z] ---> 29176f6a6de2 [2023-08-11T17:54:44.130Z] Step 36/36 : LABEL version=0.0.0 [2023-08-11T17:54:44.396Z] ---> Running in efeafeaa4683 [2023-08-11T17:54:44.661Z] Removing intermediate container efeafeaa4683 [2023-08-11T17:54:44.661Z] ---> dc4b1316c8dd [2023-08-11T17:54:44.661Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-11T17:54:44.661Z] Successfully built dc4b1316c8dd [2023-08-11T17:54:44.661Z] 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-08-11T17:54:45.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T17:54:45.112Z] [2023-08-11T17:54:45.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:54:45.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T17:54:45.439Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-11T17:54:45.439Z] 8998bd30e6a1: Pulling fs layer [2023-08-11T17:54:45.439Z] 04944245beec: Pulling fs layer [2023-08-11T17:54:45.439Z] 699f458cf7ca: Pulling fs layer [2023-08-11T17:54:45.439Z] 765212b225bb: Pulling fs layer [2023-08-11T17:54:45.439Z] f23df028b6ca: Pulling fs layer [2023-08-11T17:54:45.439Z] d65c8cfc05b1: Pulling fs layer [2023-08-11T17:54:45.439Z] 2437ff75d9bd: Pulling fs layer [2023-08-11T17:54:45.439Z] f23df028b6ca: Waiting [2023-08-11T17:54:45.439Z] d65c8cfc05b1: Waiting [2023-08-11T17:54:45.439Z] 2437ff75d9bd: Waiting [2023-08-11T17:54:45.439Z] 765212b225bb: Waiting [2023-08-11T17:54:45.707Z] 04944245beec: Verifying Checksum [2023-08-11T17:54:45.707Z] 04944245beec: Download complete [2023-08-11T17:54:45.707Z] 765212b225bb: Verifying Checksum [2023-08-11T17:54:45.707Z] 765212b225bb: Download complete [2023-08-11T17:54:45.707Z] f23df028b6ca: Verifying Checksum [2023-08-11T17:54:45.707Z] f23df028b6ca: Download complete [2023-08-11T17:54:45.707Z] d65c8cfc05b1: Verifying Checksum [2023-08-11T17:54:45.707Z] d65c8cfc05b1: Download complete [2023-08-11T17:54:45.707Z] 699f458cf7ca: Verifying Checksum [2023-08-11T17:54:45.707Z] 699f458cf7ca: Download complete [2023-08-11T17:54:46.288Z] 8998bd30e6a1: Verifying Checksum [2023-08-11T17:54:46.288Z] 8998bd30e6a1: Download complete [2023-08-11T17:54:48.224Z] 2437ff75d9bd: Verifying Checksum [2023-08-11T17:54:48.224Z] 2437ff75d9bd: Download complete [2023-08-11T17:54:50.163Z] 8998bd30e6a1: Pull complete [2023-08-11T17:54:50.429Z] 04944245beec: Pull complete [2023-08-11T17:54:51.834Z] 699f458cf7ca: Pull complete [2023-08-11T17:54:52.100Z] 765212b225bb: Pull complete [2023-08-11T17:54:52.684Z] f23df028b6ca: Pull complete [2023-08-11T17:54:52.951Z] d65c8cfc05b1: Pull complete [2023-08-11T17:55:07.927Z] 2437ff75d9bd: Pull complete [2023-08-11T17:55:07.927Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-11T17:55:07.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T17:55:07.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:55:08.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-3355 does not seem to be running inside a container [2023-08-11T17:55:08.178Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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-08-11T17:55:10.577Z] $ docker top 68f3d157b90a01cafa4d2d7e6c61f7040840f9088817f63509c56eafc7842f43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:11.406Z] ---> job-cost.sh [2023-08-11T17:55:11.406Z] lf-activate-venv: SKIPPING [2023-08-11T17:55:11.406Z] INFO: No Stack... [2023-08-11T17:55:11.987Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-11T17:55:12.568Z] INFO: Archiving Costs [Pipeline] sh [2023-08-11T17:55:12.883Z] + cat /w/workspace/device-usb-camera/5/archives/cost.csv [2023-08-11T17:55:12.883Z] + cut -d, -f6 [Pipeline] lock [2023-08-11T17:55:12.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [2023-08-11T17:55:12.957Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] did not exist. Created. [2023-08-11T17:55:12.957Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-11T17:55:13.616Z] /w/workspace/device-usb-camera/5@tmp/durable-3c6d78a8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-11T17:55:14.260Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-11T17:55:14.280Z] Warning: overwriting stash ‘stack-cost’ [2023-08-11T17:55:14.330Z] Stashed 1 file(s) [Pipeline] } [2023-08-11T17:55:14.338Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-11T17:55:14.357Z] $ docker stop --time=1 68f3d157b90a01cafa4d2d7e6c61f7040840f9088817f63509c56eafc7842f43 [2023-08-11T17:55:15.821Z] $ docker rm -f --volumes 68f3d157b90a01cafa4d2d7e6c61f7040840f9088817f63509c56eafc7842f43 [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-08-11T17:55:16.211Z] provisioning config files... [2023-08-11T17:55:16.219Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config16512068339764299969tmp [Pipeline] { [Pipeline] sh [2023-08-11T17:55:16.508Z] + set +x [2023-08-11T17:55:16.508Z] + curl -s https://codecov.io/bash [2023-08-11T17:55:16.508Z] + bash -s -- [2023-08-11T17:55:16.767Z] [2023-08-11T17:55:16.767Z] _____ _ [2023-08-11T17:55:16.767Z] / ____| | | [2023-08-11T17:55:16.767Z] | | ___ __| | ___ ___ _____ __ [2023-08-11T17:55:16.767Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-11T17:55:16.767Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-11T17:55:16.767Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-11T17:55:16.767Z] Bash-1.0.6 [2023-08-11T17:55:16.767Z] [2023-08-11T17:55:16.767Z] [2023-08-11T17:55:16.767Z] ==> git version 2.25.1 found [2023-08-11T17:55:16.767Z] ==> 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-08-11T17:55:16.767Z] Release-Date: 2020-01-08 [2023-08-11T17:55:16.767Z] 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-08-11T17:55:16.767Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-11T17:55:16.767Z] ==> Jenkins CI detected. [2023-08-11T17:55:16.767Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-268 [2023-08-11T17:55:16.767Z] project root: . [2023-08-11T17:55:16.767Z] --> token set from env [2023-08-11T17:55:16.767Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-11T17:55:16.767Z] ==> Running gcov in . (disable via -X gcov) [2023-08-11T17:55:16.767Z] ==> Python coveragepy not found [2023-08-11T17:55:16.767Z] ==> Searching for coverage reports in: [2023-08-11T17:55:16.767Z] + . [2023-08-11T17:55:16.767Z] -> Found 1 reports [2023-08-11T17:55:16.767Z] ==> Detecting git/mercurial file structure [2023-08-11T17:55:16.767Z] ==> Reading reports [2023-08-11T17:55:16.767Z] + ./coverage.out bytes=45458 [2023-08-11T17:55:16.767Z] ==> Appending adjustments [2023-08-11T17:55:16.767Z] https://docs.codecov.io/docs/fixing-reports [2023-08-11T17:55:17.026Z] + Found adjustments [2023-08-11T17:55:17.026Z] ==> Gzipping contents [2023-08-11T17:55:17.026Z] 8.0K /tmp/codecov.HdeQmo.gz [2023-08-11T17:55:17.026Z] ==> Uploading reports [2023-08-11T17:55:17.026Z] url: https://codecov.io [2023-08-11T17:55:17.026Z] query: branch=PR-268&commit=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-11T17:55:17.026Z] -> Pinging Codecov [2023-08-11T17:55:17.026Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-268&commit=e5325cd83dfdc63e62ba87ba1ec22e12b98cad06&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-11T17:55:17.026Z] -> Uploading to [2023-08-11T17:55:17.026Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-11/73D8F5FF140700D3E01443B452E23636/e5325cd83dfdc63e62ba87ba1ec22e12b98cad06/e07218f6-ae6f-431c-b9b4-0010f4b94384.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230811T175516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f529b8635eecb0ac115c70747f899112a00c9d71c8201b445c851d5ddff2020 [2023-08-11T17:55:17.026Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T17:55:17.026Z] Dload Upload Total Spent Left Speed [2023-08-11T17:55:17.285Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5972 0 0 100 5972 0 30469 --:--:-- --:--:-- --:--:-- 30469 [2023-08-11T17:55:17.285Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e5325cd83dfdc63e62ba87ba1ec22e12b98cad06 [Pipeline] } [2023-08-11T17:55:17.293Z] 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-08-11T17:55:18.043Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-268/archives ] [2023-08-11T17:55:18.043Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-11T17:55:18.043Z] total 16 [2023-08-11T17:55:18.043Z] drwxr-xr-x 3 root root 4096 Aug 11 17:46 . [2023-08-11T17:55:18.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 17:46 .. [2023-08-11T17:55:18.043Z] drwxr-xr-x 2 root root 4096 Aug 11 17:46 cost [2023-08-11T17:55:18.043Z] -rw-r--r-- 1 root root 89 Aug 11 17:46 cost.csv [2023-08-11T17:55:18.043Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-11T17:55:18.043Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-11T17:55:18.043Z] total 16 [2023-08-11T17:55:18.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 17:46 . [2023-08-11T17:55:18.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 17:46 .. [2023-08-11T17:55:18.043Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 17:46 cost [2023-08-11T17:55:18.043Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 11 17:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:18.325Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:19.184Z] ---> package-listing.sh [2023-08-11T17:55:19.184Z] ++ facter osfamily [2023-08-11T17:55:19.184Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-11T17:55:19.443Z] + OS_FAMILY=debian [2023-08-11T17:55:19.443Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-268 [2023-08-11T17:55:19.443Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-11T17:55:19.443Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-11T17:55:19.443Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-11T17:55:19.443Z] + PACKAGES=/tmp/packages_start.txt [2023-08-11T17:55:19.443Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-11T17:55:19.443Z] + PACKAGES=/tmp/packages_end.txt [2023-08-11T17:55:19.443Z] + case "${OS_FAMILY}" in [2023-08-11T17:55:19.443Z] + dpkg -l [2023-08-11T17:55:19.443Z] + grep '^ii' [2023-08-11T17:55:19.443Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-11T17:55:19.443Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-11T17:55:19.443Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-11T17:55:19.443Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-11T17:55:19.443Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-268/archives/ [2023-08-11T17:55:19.443Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-268/archives/ [Pipeline] echo [2023-08-11T17:55:19.453Z] 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-11T17:55:19.734Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T17:55:20.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T17:55:20.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T17:55:20.355Z] prd-ubuntu20.04-docker-8c-8g-3354 does not seem to be running inside a container [2023-08-11T17:55:20.387Z] $ 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-268/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-268 -v /w/workspace/foundry_device-usb-camera_PR-268:/w/workspace/foundry_device-usb-camera_PR-268:rw,z -v /w/workspace/foundry_device-usb-camera_PR-268@tmp:/w/workspace/foundry_device-usb-camera_PR-268@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-08-11T17:55:20.582Z] $ docker top 76269ef90c032fe8155c54f35d481d6bbdbfd341efed64877bcada29849baf48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T17:55:20.918Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-11T17:55:21.205Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-11T17:55:21.491Z] + ls /var/log/sa-host [2023-08-11T17:55:21.491Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T17:55:21.690Z] provisioning config files... [2023-08-11T17:55:21.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config17937000460341107079tmp [Pipeline] { [Pipeline] echo [2023-08-11T17:55:21.715Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:21.997Z] ---> create-netrc.sh [Pipeline] } [2023-08-11T17:55:22.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:22.327Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-11T17:55:22.334Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:22.617Z] ---> sudo-logs.sh [2023-08-11T17:55:22.618Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-11T17:55:22.644Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:22.925Z] ---> job-cost.sh [2023-08-11T17:55:22.925Z] lf-activate-venv: SKIPPING [2023-08-11T17:55:22.925Z] DEBUG: total: 0.2199999988079071 [2023-08-11T17:55:22.925Z] INFO: Retrieving Stack Cost... [2023-08-11T17:55:23.184Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-11T17:55:23.751Z] INFO: Archiving Costs [Pipeline] echo [2023-08-11T17:55:23.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T17:55:24.047Z] ---> logs-deploy.sh [2023-08-11T17:55:24.047Z] lf-activate-venv: SKIPPING [2023-08-11T17:55:24.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-268/5 [2023-08-11T17:55:24.047Z] INFO: archiving workspace using pattern(s): [2023-08-11T17:55:24.985Z] Archives upload complete. [2023-08-11T17:55:24.985Z] INFO: archiving logs to Nexus