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 9f9527d6f93d1d0559b73a69553c5411545853d3 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-ssh1459779243525331671.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh1027694915854452500.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13683331149611759108.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7115857319543233321.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-ssh4184185528334276450.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-3246 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 Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit 9f9527d6f93d1d0559b73a69553c5411545853d3 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f9527d6f93d1d0559b73a69553c5411545853d3 # timeout=10 Merge succeeded, producing 9f9527d6f93d1d0559b73a69553c5411545853d3 Checking out Revision 9f9527d6f93d1d0559b73a69553c5411545853d3 (PR-268) > 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 9f9527d6f93d1d0559b73a69553c5411545853d3 # timeout=10 Commit message: "feat: Return error for streamuri and video streaming status when rtsp server is disabled" > git rev-list --no-walk a3527cb1fbaf9d1f72724e42d632db8b3c36c297 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T21:21:52.499Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T21:21:52.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T21:21:52.591Z] ========================================================= [2023-08-09T21:21:52.591Z] EdgeX Global Pipelines Version Info [2023-08-09T21:21:52.591Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:21:53.325Z] ------------------- [2023-08-09T21:21:53.325Z] stable info: [2023-08-09T21:21:53.325Z] ------------------- [2023-08-09T21:21:53.325Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T21:21:53.325Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T21:21:53.325Z] Message: update stable to v1.0.250 [2023-08-09T21:21:53.895Z] ------------------- [2023-08-09T21:21:53.895Z] experimental info: [2023-08-09T21:21:53.895Z] ------------------- [2023-08-09T21:21:53.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T21:21:53.895Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T21:21:53.895Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T21:21:54.066Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-09T21:21:54.085Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-09T21:21:54.106Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T21:21:54.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T21:21:54.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T21:21:54.159Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T21:21:54.176Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T21:21:54.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T21:21:54.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T21:21:54.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T21:21:54.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T21:21:54.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-09T21:21:54.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T21:21:54.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T21:21:54.296Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T21:21:54.306Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T21:21:54.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T21:21:54.342Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T21:21:54.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T21:21:54.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T21:21:54.398Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T21:21:54.409Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T21:21:54.421Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T21:21:54.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T21:21:54.446Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T21:21:54.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T21:21:54.478Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T21:21:54.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-08-09T21:21:54.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-08-09T21:21:54.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-08-09T21:21:54.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f9527d6f93d1d0559b73a69553c5411545853d3 [Pipeline] echo [2023-08-09T21:21:54.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f9527d [Pipeline] echo [2023-08-09T21:21:54.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T21:21:54.620Z] provisioning config files... [2023-08-09T21:21:54.639Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config5136114515047855633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:21:54.941Z] ---> docker-login.sh [2023-08-09T21:21:54.941Z] nexus3.edgexfoundry.org:10001 [2023-08-09T21:21:55.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:21:55.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:21:55.202Z] Configure a credential helper to remove this warning. See [2023-08-09T21:21:55.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:21:55.202Z] [2023-08-09T21:21:55.202Z] Login Succeeded [2023-08-09T21:21:55.202Z] nexus3.edgexfoundry.org:10002 [2023-08-09T21:21:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:21:55.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:21:55.465Z] Configure a credential helper to remove this warning. See [2023-08-09T21:21:55.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:21:55.465Z] [2023-08-09T21:21:55.465Z] Login Succeeded [2023-08-09T21:21:55.465Z] nexus3.edgexfoundry.org:10003 [2023-08-09T21:21:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:21:55.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:21:55.465Z] Configure a credential helper to remove this warning. See [2023-08-09T21:21:55.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:21:55.465Z] [2023-08-09T21:21:55.465Z] Login Succeeded [2023-08-09T21:21:55.465Z] nexus3.edgexfoundry.org:10004 [2023-08-09T21:21:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:21:55.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:21:55.724Z] Configure a credential helper to remove this warning. See [2023-08-09T21:21:55.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:21:55.724Z] [2023-08-09T21:21:55.724Z] Login Succeeded [2023-08-09T21:21:55.724Z] docker.io [2023-08-09T21:21:55.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:21:55.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:21:55.985Z] Configure a credential helper to remove this warning. See [2023-08-09T21:21:55.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:21:55.985Z] [2023-08-09T21:21:55.985Z] Login Succeeded [2023-08-09T21:21:55.985Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T21:21:55.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T21:21:56.379Z] + git rev-list -1 --merges 9f9527d6f93d1d0559b73a69553c5411545853d3~1..9f9527d6f93d1d0559b73a69553c5411545853d3 [Pipeline] echo [2023-08-09T21:21:56.427Z] -----------> git rev-list -1 --merges 9f9527d6f93d1d0559b73a69553c5411545853d3~1..9f9527d6f93d1d0559b73a69553c5411545853d3 9f9527d6f93d1d0559b73a69553c5411545853d3 [false] [Pipeline] sh [2023-08-09T21:21:56.715Z] + git log --format=format:%s -1 9f9527d6f93d1d0559b73a69553c5411545853d3 [Pipeline] echo [2023-08-09T21:21:56.729Z] ========================================================= [2023-08-09T21:21:56.729Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T21:21:56.729Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T21:21:57.066Z] + git log --format=format:%s -1 9f9527d6f93d1d0559b73a69553c5411545853d3 [Pipeline] echo [2023-08-09T21:21:57.076Z] [semverPrep] GIT_COMMIT: 9f9527d6f93d1d0559b73a69553c5411545853d3, Commit Message: feat: Return error for streamuri and video streaming status when rtsp server is disabled [Pipeline] echo [2023-08-09T21:21:57.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T21:21:57.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T21:21:57.454Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T21:21:57.454Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T21:21:57.454Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T21:21:57.454Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T21:21:57.454Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T21:21:57.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:21:57.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T21:21:57.860Z] [2023-08-09T21:21:57.860Z] 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-09T21:21:58.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T21:21:58.158Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T21:21:58.158Z] b85a868b505f: Pulling fs layer [2023-08-09T21:21:58.158Z] e2be974225ed: Pulling fs layer [2023-08-09T21:21:58.158Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T21:21:58.158Z] 988bab9f4d93: Pulling fs layer [2023-08-09T21:21:58.158Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T21:21:58.158Z] eaf3925da568: Pulling fs layer [2023-08-09T21:21:58.158Z] bab4dde63d76: Pulling fs layer [2023-08-09T21:21:58.158Z] bde34c3a00c8: Pulling fs layer [2023-08-09T21:21:58.158Z] b352a97aabf1: Pulling fs layer [2023-08-09T21:21:58.158Z] 4872d77fe225: Pulling fs layer [2023-08-09T21:21:58.158Z] 5851b861e8e6: Pulling fs layer [2023-08-09T21:21:58.158Z] bde34c3a00c8: Waiting [2023-08-09T21:21:58.158Z] b352a97aabf1: Waiting [2023-08-09T21:21:58.158Z] 4872d77fe225: Waiting [2023-08-09T21:21:58.158Z] eaf3925da568: Waiting [2023-08-09T21:21:58.158Z] 5851b861e8e6: Waiting [2023-08-09T21:21:58.158Z] bab4dde63d76: Waiting [2023-08-09T21:21:58.158Z] 988bab9f4d93: Waiting [2023-08-09T21:21:58.158Z] 1469e6f7b9e6: Waiting [2023-08-09T21:21:58.158Z] e2be974225ed: Download complete [2023-08-09T21:21:58.158Z] 988bab9f4d93: Download complete [2023-08-09T21:21:58.158Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T21:21:58.158Z] 1469e6f7b9e6: Download complete [2023-08-09T21:21:58.158Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T21:21:58.158Z] 339a4e72a1f5: Download complete [2023-08-09T21:21:58.158Z] eaf3925da568: Download complete [2023-08-09T21:21:58.158Z] bde34c3a00c8: Verifying Checksum [2023-08-09T21:21:58.158Z] bde34c3a00c8: Download complete [2023-08-09T21:21:58.419Z] b352a97aabf1: Download complete [2023-08-09T21:21:58.419Z] 4872d77fe225: Download complete [2023-08-09T21:21:58.419Z] 5851b861e8e6: Verifying Checksum [2023-08-09T21:21:58.419Z] 5851b861e8e6: Download complete [2023-08-09T21:21:58.419Z] b85a868b505f: Verifying Checksum [2023-08-09T21:21:58.419Z] b85a868b505f: Download complete [2023-08-09T21:21:58.677Z] bab4dde63d76: Download complete [2023-08-09T21:21:59.614Z] b85a868b505f: Pull complete [2023-08-09T21:21:59.872Z] e2be974225ed: Pull complete [2023-08-09T21:22:00.131Z] 339a4e72a1f5: Pull complete [2023-08-09T21:22:00.397Z] 988bab9f4d93: Pull complete [2023-08-09T21:22:00.656Z] 1469e6f7b9e6: Pull complete [2023-08-09T21:22:00.656Z] eaf3925da568: Pull complete [2023-08-09T21:22:02.557Z] bab4dde63d76: Pull complete [2023-08-09T21:22:02.557Z] bde34c3a00c8: Pull complete [2023-08-09T21:22:02.557Z] b352a97aabf1: Pull complete [2023-08-09T21:22:02.557Z] 4872d77fe225: Pull complete [2023-08-09T21:22:02.557Z] 5851b861e8e6: Pull complete [2023-08-09T21:22:02.557Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T21:22:02.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T21:22:02.557Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:22:02.679Z] prd-ubuntu20.04-docker-8c-8g-3246 does not seem to be running inside a container [2023-08-09T21:22:02.704Z] $ 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-09T21:22:05.284Z] $ docker top 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d -eo pid,comm [2023-08-09T21:22:05.342Z] 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-09T21:22:05.342Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T21:22:05.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T21:22:05.376Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T21:22:05.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T21:22:05.494Z] $ docker exec 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d ssh-agent [2023-08-09T21:22:05.610Z] SSH_AUTH_SOCK=/tmp/ssh-XClN2WfpMI4U/agent.32 [2023-08-09T21:22:05.610Z] SSH_AGENT_PID=38 [2023-08-09T21:22:05.617Z] Running ssh-add (command line suppressed) [2023-08-09T21:22:05.733Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_2200503328520721144.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_2200503328520721144.key) [2023-08-09T21:22:05.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T21:22:06.035Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T21:22:06.043Z] $ docker exec --env ******** --env ******** 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d ssh-agent -k [2023-08-09T21:22:06.136Z] unset SSH_AUTH_SOCK; [2023-08-09T21:22:06.137Z] unset SSH_AGENT_PID; [2023-08-09T21:22:06.137Z] echo Agent pid 38 killed; [2023-08-09T21:22:06.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T21:22:06.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T21:22:06.171Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T21:22:06.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T21:22:06.287Z] $ docker exec 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d ssh-agent [2023-08-09T21:22:06.398Z] SSH_AUTH_SOCK=/tmp/ssh-zE5fkMo52VCL/agent.71 [2023-08-09T21:22:06.398Z] SSH_AGENT_PID=77 [2023-08-09T21:22:06.401Z] Running ssh-add (command line suppressed) [2023-08-09T21:22:06.500Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_8914552135440269690.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_8914552135440269690.key) [2023-08-09T21:22:06.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T21:22:06.798Z] + git semver init [2023-08-09T21:22:07.057Z] 2023-08-09 21:22:06,987 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T21:22:07.057Z] 2023-08-09 21:22:06,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-268/.semver [2023-08-09T21:22:07.057Z] 2023-08-09 21:22:06,988 [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-09T21:22:07.057Z] 2023-08-09 21:22:06,989 [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-09T21:22:07.996Z] 2023-08-09 21:22:07,694 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-268/.git/info/exclude [2023-08-09T21:22:07.996Z] 2023-08-09 21:22:07,694 [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-09T21:22:07.996Z] 2023-08-09 21:22:07,695 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-09T21:22:07.996Z] 2023-08-09 21:22:07,699 [execute] INFO git cat-file --batch-check [2023-08-09T21:22:07.996Z] 2023-08-09 21:22:07,699 [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-09T21:22:07.996Z] 2023-08-09 21:22:07,705 [execute] INFO git cat-file --batch [2023-08-09T21:22:07.996Z] 2023-08-09 21:22:07,706 [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-09T21:22:07.996Z] 2023-08-09 21:22:07,711 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-09T21:22:07.996Z] 0.0.0 [Pipeline] } [2023-08-09T21:22:08.005Z] $ docker exec --env ******** --env ******** 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d ssh-agent -k [2023-08-09T21:22:08.109Z] unset SSH_AUTH_SOCK; [2023-08-09T21:22:08.110Z] unset SSH_AGENT_PID; [2023-08-09T21:22:08.111Z] echo Agent pid 77 killed; [2023-08-09T21:22:08.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T21:22:08.419Z] + git semver [Pipeline] } [2023-08-09T21:22:08.692Z] $ docker stop --time=1 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d [2023-08-09T21:22:09.963Z] $ docker rm -f --volumes 761a58828b67215d64bbe30d8f2dd77c5710d6b9c47cab1e6eb7a57c169bf68d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T21:22:10.298Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T21:22:10.509Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T21:22:10.512Z] [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-09T21:22:10.637Z] provisioning config files... [2023-08-09T21:22:10.646Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config12984798825524967891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:22:10.944Z] ---> docker-login.sh [2023-08-09T21:22:10.944Z] nexus3.edgexfoundry.org:10001 [2023-08-09T21:22:10.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:22:10.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:22:10.944Z] Configure a credential helper to remove this warning. See [2023-08-09T21:22:10.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:22:10.944Z] [2023-08-09T21:22:10.944Z] Login Succeeded [2023-08-09T21:22:10.944Z] nexus3.edgexfoundry.org:10002 [2023-08-09T21:22:10.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:22:10.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:22:10.944Z] Configure a credential helper to remove this warning. See [2023-08-09T21:22:10.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:22:10.944Z] [2023-08-09T21:22:10.944Z] Login Succeeded [2023-08-09T21:22:10.944Z] nexus3.edgexfoundry.org:10003 [2023-08-09T21:22:11.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:22:11.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:22:11.204Z] Configure a credential helper to remove this warning. See [2023-08-09T21:22:11.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:22:11.204Z] [2023-08-09T21:22:11.204Z] Login Succeeded [2023-08-09T21:22:11.204Z] nexus3.edgexfoundry.org:10004 [2023-08-09T21:22:11.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:22:11.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:22:11.204Z] Configure a credential helper to remove this warning. See [2023-08-09T21:22:11.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:22:11.204Z] [2023-08-09T21:22:11.204Z] Login Succeeded [2023-08-09T21:22:11.204Z] docker.io [2023-08-09T21:22:11.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:22:11.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:22:11.470Z] Configure a credential helper to remove this warning. See [2023-08-09T21:22:11.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:22:11.470Z] [2023-08-09T21:22:11.470Z] Login Succeeded [2023-08-09T21:22:11.470Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T21:22:11.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T21:22:11.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T21:22:11.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T21:22:11.555Z] ========================================================= [2023-08-09T21:22:11.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T21:22:11.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:22:11.857Z] + 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-09T21:22:11.857Z] Sending build context to Docker daemon 2.058MB [2023-08-09T21:22:11.857Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T21:22:11.857Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-09T21:22:11.857Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T21:22:11.857Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T21:22:11.857Z] 6911f1a30b25: Pulling fs layer [2023-08-09T21:22:11.857Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T21:22:11.857Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T21:22:11.857Z] ec0bb842ea78: Pulling fs layer [2023-08-09T21:22:11.857Z] 40a00589a448: Pulling fs layer [2023-08-09T21:22:11.857Z] 6c08303d61cc: Pulling fs layer [2023-08-09T21:22:11.857Z] 798269fcf238: Pulling fs layer [2023-08-09T21:22:11.857Z] ec0bb842ea78: Waiting [2023-08-09T21:22:11.857Z] 40a00589a448: Waiting [2023-08-09T21:22:11.857Z] 6c08303d61cc: Waiting [2023-08-09T21:22:11.857Z] 6863d3e3a2b1: Waiting [2023-08-09T21:22:11.857Z] 798269fcf238: Waiting [2023-08-09T21:22:11.857Z] 6911f1a30b25: Download complete [2023-08-09T21:22:12.116Z] 6863d3e3a2b1: Download complete [2023-08-09T21:22:12.116Z] ec0bb842ea78: Verifying Checksum [2023-08-09T21:22:12.116Z] ec0bb842ea78: Download complete [2023-08-09T21:22:12.116Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T21:22:12.116Z] 4db1b89c0bd1: Download complete [2023-08-09T21:22:12.116Z] 40a00589a448: Verifying Checksum [2023-08-09T21:22:12.116Z] 40a00589a448: Download complete [2023-08-09T21:22:12.382Z] 4db1b89c0bd1: Pull complete [2023-08-09T21:22:12.382Z] 6911f1a30b25: Pull complete [2023-08-09T21:22:12.959Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T21:22:12.959Z] e194b8c5c2a9: Download complete [2023-08-09T21:22:12.959Z] 798269fcf238: Verifying Checksum [2023-08-09T21:22:12.959Z] 798269fcf238: Download complete [2023-08-09T21:22:12.959Z] 6c08303d61cc: Verifying Checksum [2023-08-09T21:22:12.959Z] 6c08303d61cc: Download complete [2023-08-09T21:22:16.239Z] e194b8c5c2a9: Pull complete [2023-08-09T21:22:16.240Z] 6863d3e3a2b1: Pull complete [2023-08-09T21:22:16.240Z] ec0bb842ea78: Pull complete [2023-08-09T21:22:16.498Z] 40a00589a448: Pull complete [2023-08-09T21:22:19.029Z] 6c08303d61cc: Pull complete [2023-08-09T21:22:19.596Z] 798269fcf238: Pull complete [2023-08-09T21:22:19.596Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T21:22:19.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T21:22:19.596Z] ---> ec979cd7f677 [2023-08-09T21:22:19.596Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-09T21:22:23.794Z] ---> Running in 21ee449cb953 [2023-08-09T21:22:23.794Z] Removing intermediate container 21ee449cb953 [2023-08-09T21:22:23.794Z] ---> 546fe095d730 [2023-08-09T21:22:23.794Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T21:22:23.794Z] ---> Running in 54ca397cb919 [2023-08-09T21:22:23.794Z] Removing intermediate container 54ca397cb919 [2023-08-09T21:22:23.794Z] ---> 2c3d25799529 [2023-08-09T21:22:23.794Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-09T21:22:23.794Z] ---> Running in a2041b883858 [2023-08-09T21:22:23.794Z] Removing intermediate container a2041b883858 [2023-08-09T21:22:23.794Z] ---> 8481f5da3767 [2023-08-09T21:22:23.794Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-09T21:22:23.794Z] ---> Running in 7ae51bef0430 [2023-08-09T21:22:23.794Z] Removing intermediate container 7ae51bef0430 [2023-08-09T21:22:23.794Z] ---> e24b4a0d2c2f [2023-08-09T21:22:23.794Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T21:22:24.053Z] ---> Running in b0bd80b4d490 [2023-08-09T21:22:24.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T21:22:24.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T21:22:24.572Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-09T21:22:24.572Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-09T21:22:24.572Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-09T21:22:24.572Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-09T21:22:24.831Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-09T21:22:24.831Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-09T21:22:24.831Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-09T21:22:24.831Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-09T21:22:24.831Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-09T21:22:24.831Z] (10/14) Installing kmod-libs (30-r1) [2023-08-09T21:22:24.831Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-09T21:22:24.831Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-09T21:22:24.831Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-09T21:22:24.831Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-09T21:22:24.831Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T21:22:24.831Z] Executing eudev-3.2.11-r4.trigger [2023-08-09T21:22:24.831Z] OK: 272 MiB in 67 packages [2023-08-09T21:22:25.400Z] Removing intermediate container b0bd80b4d490 [2023-08-09T21:22:25.400Z] ---> 5285e8bc4f95 [2023-08-09T21:22:25.400Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-09T21:22:25.400Z] ---> Running in 549f23eaf800 [2023-08-09T21:22:25.400Z] Removing intermediate container 549f23eaf800 [2023-08-09T21:22:25.400Z] ---> df1779d977d0 [2023-08-09T21:22:25.400Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-09T21:22:25.400Z] ---> 8cd4f1245c20 [2023-08-09T21:22:25.400Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T21:22:25.598Z] Still waiting to schedule task [2023-08-09T21:22:25.598Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-09T21:22:25.660Z] ---> Running in e75be5c8a63e [2023-08-09T21:23:04.413Z] Removing intermediate container e75be5c8a63e [2023-08-09T21:23:04.413Z] ---> ab7f389f56e5 [2023-08-09T21:23:04.413Z] Step 11/13 : COPY . . [2023-08-09T21:23:04.413Z] ---> 1e7a9379c582 [2023-08-09T21:23:04.413Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-09T21:23:04.413Z] ---> Running in 0fbb0a7be7c9 [2023-08-09T21:23:04.413Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T21:23:04.413Z] Dload Upload Total Spent Left Speed [2023-08-09T21:23:04.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7740 0 --:--:-- --:--:-- --:--:-- 7751 [2023-08-09T21:23:04.413Z] Removing intermediate container 0fbb0a7be7c9 [2023-08-09T21:23:04.413Z] ---> a8e9b221bc5c [2023-08-09T21:23:04.413Z] Step 13/13 : RUN ${MAKE} [2023-08-09T21:23:04.413Z] ---> Running in 505307eb73ef [2023-08-09T21:23:04.413Z] noop [2023-08-09T21:23:04.413Z] Removing intermediate container 505307eb73ef [2023-08-09T21:23:04.413Z] ---> 5f6ac02cbb05 [2023-08-09T21:23:04.413Z] Successfully built 5f6ac02cbb05 [2023-08-09T21:23:04.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:23:04.720Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T21:23:04.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:23:04.788Z] prd-ubuntu20.04-docker-8c-8g-3246 does not seem to be running inside a container [2023-08-09T21:23:04.819Z] $ 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-09T21:23:05.135Z] $ docker top a4429d1179ec982fb28eafee1608d5cd18982fed5bd35b7290d0590ba0355f6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T21:23:05.476Z] + go version [2023-08-09T21:23:05.476Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T21:23:05.488Z] $ docker stop --time=1 a4429d1179ec982fb28eafee1608d5cd18982fed5bd35b7290d0590ba0355f6c [2023-08-09T21:23:06.772Z] $ docker rm -f --volumes a4429d1179ec982fb28eafee1608d5cd18982fed5bd35b7290d0590ba0355f6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:23:07.169Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T21:23:07.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:23:07.236Z] prd-ubuntu20.04-docker-8c-8g-3246 does not seem to be running inside a container [2023-08-09T21:23:07.268Z] $ 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-09T21:23:07.608Z] $ docker top 691460c6c95ccbc086eccfc54546a282dcbd5d945bebed46f766558fd5b1d48c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T21:23:07.948Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-08-09T21:23:08.245Z] + make test [2023-08-09T21:23:08.245Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T21:23:13.509Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-09T21:23:23.465Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-09T21:23:23.465Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 3.4% of statements [2023-08-09T21:23:28.731Z] go vet ./... [2023-08-09T21:23:32.909Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T21:23:32.909Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T21:23:32.909Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T21:23:32.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T21:23:32.935Z] $ docker stop --time=1 691460c6c95ccbc086eccfc54546a282dcbd5d945bebed46f766558fd5b1d48c [2023-08-09T21:23:36.305Z] $ docker rm -f --volumes 691460c6c95ccbc086eccfc54546a282dcbd5d945bebed46f766558fd5b1d48c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T21:23:36.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T21:23:36.881Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T21:23:37.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T21:23:37.687Z] + ls -al . [2023-08-09T21:23:37.687Z] total 208 [2023-08-09T21:23:37.687Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 21:23 . [2023-08-09T21:23:37.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:21 .. [2023-08-09T21:23:37.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 21:22 .git [2023-08-09T21:23:37.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:21 .github [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 9 21:21 .gitignore [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 9 21:21 .golangci.yml [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 9 21:21 .hadolint.yml [2023-08-09T21:23:37.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 21:22 .semver [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 9 21:21 Attribution.txt [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 9 21:21 CHANGELOG.md [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 9 21:21 Dockerfile [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 21:21 GOVERNANCE.md [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 9 21:21 Jenkinsfile [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 21:21 LICENSE [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 9 21:21 Makefile [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 21:21 OWNERS.md [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 9 21:21 README.md [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 21:22 VERSION [2023-08-09T21:23:37.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:21 bin [2023-08-09T21:23:37.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:21 cmd [2023-08-09T21:23:37.687Z] -rw-r--r-- 1 jenkins jenkins 45458 Aug 9 21:23 coverage.out [2023-08-09T21:23:37.687Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 9 21:21 docker-entrypoint.sh [2023-08-09T21:23:37.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:21 docs [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 9 21:21 go.mod [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 9 21:21 go.sum [2023-08-09T21:23:37.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:21 internal [2023-08-09T21:23:37.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:21 snap [2023-08-09T21:23:37.687Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 9 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:23:37.992Z] + 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=9f9527d6f93d1d0559b73a69553c5411545853d3 --label arch=amd64 --label version=0.0.0 . [2023-08-09T21:23:37.992Z] Sending build context to Docker daemon 2.104MB [2023-08-09T21:23:37.992Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T21:23:37.992Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-09T21:23:37.992Z] ---> 5f6ac02cbb05 [2023-08-09T21:23:37.992Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-09T21:23:37.992Z] ---> Running in ee465eed01ef [2023-08-09T21:23:37.992Z] Removing intermediate container ee465eed01ef [2023-08-09T21:23:37.992Z] ---> 29c9a57e77fb [2023-08-09T21:23:37.992Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T21:23:37.992Z] ---> Running in 486fc1d0f02f [2023-08-09T21:23:38.250Z] Removing intermediate container 486fc1d0f02f [2023-08-09T21:23:38.250Z] ---> 0a479eab1fdb [2023-08-09T21:23:38.250Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-09T21:23:38.250Z] ---> Running in 3569de0cf894 [2023-08-09T21:23:38.250Z] Removing intermediate container 3569de0cf894 [2023-08-09T21:23:38.250Z] ---> 854bb506db43 [2023-08-09T21:23:38.250Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-09T21:23:38.250Z] ---> Running in 27782ecb329c [2023-08-09T21:23:38.250Z] Removing intermediate container 27782ecb329c [2023-08-09T21:23:38.250Z] ---> c90b1861dc71 [2023-08-09T21:23:38.250Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T21:23:38.250Z] ---> Running in 143e858e722f [2023-08-09T21:23:38.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T21:23:38.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T21:23:39.026Z] OK: 272 MiB in 67 packages [2023-08-09T21:23:39.286Z] Removing intermediate container 143e858e722f [2023-08-09T21:23:39.286Z] ---> 0975b08c0d90 [2023-08-09T21:23:39.286Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-09T21:23:39.286Z] ---> Running in aef70680645e [2023-08-09T21:23:39.545Z] Removing intermediate container aef70680645e [2023-08-09T21:23:39.545Z] ---> 3bc1058e0b63 [2023-08-09T21:23:39.545Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-09T21:23:39.545Z] ---> 69a9c8d8c248 [2023-08-09T21:23:39.545Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T21:23:39.545Z] ---> Running in 217e07c4a3bb [2023-08-09T21:23:40.483Z] Removing intermediate container 217e07c4a3bb [2023-08-09T21:23:40.483Z] ---> 937df464f40f [2023-08-09T21:23:40.483Z] Step 11/36 : COPY . . [2023-08-09T21:23:40.745Z] ---> dcbfeaceafa1 [2023-08-09T21:23:40.745Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-09T21:23:40.745Z] ---> Running in 971785f001d9 [2023-08-09T21:23:41.003Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T21:23:41.003Z] Dload Upload Total Spent Left Speed [2023-08-09T21:23:41.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20685 0 --:--:-- --:--:-- --:--:-- 20823 [2023-08-09T21:23:41.263Z] Removing intermediate container 971785f001d9 [2023-08-09T21:23:41.263Z] ---> bf454a450be1 [2023-08-09T21:23:41.263Z] Step 13/36 : RUN ${MAKE} [2023-08-09T21:23:41.263Z] ---> Running in 01867485e0a1 [2023-08-09T21:23:41.522Z] 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-09T21:23:52.891Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3247 in /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] { [Pipeline] ws [2023-08-09T21:23:52.905Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-08-09T21:23:52.933Z] Selected Git installation does not exist. Using Default [2023-08-09T21:23:52.933Z] The recommended git tool is: NONE [2023-08-09T21:23:57.824Z] using credential edgex-jenkins-ssh [2023-08-09T21:23:57.841Z] Cloning the remote Git repository [2023-08-09T21:23:57.882Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-09T21:23:57.983Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-08-09T21:23:58.124Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-09T21:23:58.125Z] > git --version # timeout=10 [2023-08-09T21:23:58.145Z] > git --version # 'git version 2.25.1' [2023-08-09T21:23:58.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T21:23:58.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T21:23:59.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-09T21:23:59.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T21:23:59.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-09T21:23:59.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-09T21:23:59.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T21:23:59.917Z] > 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-09T21:24:00.495Z] Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit 9f9527d6f93d1d0559b73a69553c5411545853d3 [2023-08-09T21:24:00.751Z] Merge succeeded, producing 9f9527d6f93d1d0559b73a69553c5411545853d3 [2023-08-09T21:24:00.751Z] Checking out Revision 9f9527d6f93d1d0559b73a69553c5411545853d3 (PR-268) [2023-08-09T21:24:00.510Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T21:24:00.575Z] > git checkout -f 9f9527d6f93d1d0559b73a69553c5411545853d3 # timeout=10 [2023-08-09T21:24:00.664Z] > git remote # timeout=10 [2023-08-09T21:24:00.681Z] > git config --get remote.origin.url # timeout=10 [2023-08-09T21:24:00.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T21:24:00.711Z] > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [2023-08-09T21:24:00.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-09T21:24:00.755Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T21:24:00.771Z] > git checkout -f 9f9527d6f93d1d0559b73a69553c5411545853d3 # timeout=10 [2023-08-09T21:24:03.477Z] Removing intermediate container 01867485e0a1 [2023-08-09T21:24:03.477Z] ---> 42e3f907c30f [2023-08-09T21:24:03.477Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-09T21:24:03.477Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-09T21:24:03.477Z] 4acc49c71d14: Pulling fs layer [2023-08-09T21:24:03.477Z] 4acc49c71d14: Verifying Checksum [2023-08-09T21:24:03.477Z] 4acc49c71d14: Download complete [2023-08-09T21:24:03.477Z] 4acc49c71d14: Pull complete [2023-08-09T21:24:03.477Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-09T21:24:03.477Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-09T21:24:03.477Z] ---> 01a2bd3e5fff [2023-08-09T21:24:03.477Z] Step 15/36 : FROM alpine:3.17 [2023-08-09T21:24:03.477Z] 3.17: Pulling from library/alpine [2023-08-09T21:24:03.477Z] 9398808236ff: Pulling fs layer [2023-08-09T21:24:03.477Z] 9398808236ff: Verifying Checksum [2023-08-09T21:24:03.477Z] 9398808236ff: Download complete [2023-08-09T21:24:03.742Z] 9398808236ff: Pull complete [2023-08-09T21:24:03.742Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T21:24:03.742Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T21:24:03.742Z] ---> 1e0b8b5322fc [2023-08-09T21:24:03.742Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-09T21:24:04.002Z] ---> Running in f7c6a58fb9e2 [2023-08-09T21:24:04.002Z] Removing intermediate container f7c6a58fb9e2 [2023-08-09T21:24:04.002Z] ---> 8844cf0678b9 [2023-08-09T21:24:04.002Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-09T21:24:04.002Z] ---> Running in fa9a2b110a92 [2023-08-09T21:24:04.214Z] Commit message: "feat: Return error for streamuri and video streaming status when rtsp server is disabled" [2023-08-09T21:24:04.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T21:24:04.519Z] 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) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T21:24:04.777Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-09T21:24:04.777Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-09T21:24:04.777Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-09T21:24:04.777Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-09T21:24:04.777Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-09T21:24:04.777Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-09T21:24:04.777Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-09T21:24:04.777Z] (8/86) Installing libxcb (1.15-r0) [2023-08-09T21:24:04.777Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-09T21:24:04.777Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-09T21:24:04.777Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-09T21:24:04.777Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-09T21:24:04.777Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-09T21:24:04.777Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-09T21:24:04.777Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-09T21:24:05.037Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-09T21:24:05.037Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-09T21:24:05.037Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-09T21:24:05.037Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-09T21:24:05.037Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-09T21:24:05.037Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-09T21:24:05.037Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-09T21:24:05.037Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-09T21:24:05.037Z] (24/86) Installing glib (2.74.7-r0) [2023-08-09T21:24:05.037Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-09T21:24:05.037Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-09T21:24:05.037Z] (27/86) Installing libass (0.16.0-r1) [2023-08-09T21:24:05.037Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-09T21:24:05.037Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-09T21:24:05.037Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-09T21:24:05.037Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-09T21:24:05.037Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-09T21:24:05.037Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-09T21:24:05.037Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-09T21:24:05.037Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-09T21:24:05.037Z] (36/86) Installing libunistring (1.1-r0) [2023-08-09T21:24:05.037Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-09T21:24:05.037Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-09T21:24:05.037Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-09T21:24:05.037Z] (40/86) Installing lame (3.100-r2) [2023-08-09T21:24:05.037Z] (41/86) Installing opus (1.3.1-r1) [2023-08-09T21:24:05.037Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-09T21:24:05.037Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-09T21:24:05.118Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T21:24:05.118Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T21:24:05.118Z] Dload Upload Total Spent Left Speed [2023-08-09T21:24:05.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [2023-08-09T21:24:05.297Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-09T21:24:05.297Z] (45/86) Installing orc (0.4.33-r0) [2023-08-09T21:24:05.297Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-09T21:24:05.297Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-09T21:24:05.297Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-09T21:24:05.297Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-09T21:24:05.297Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-09T21:24:05.297Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-09T21:24:05.297Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-09T21:24:05.297Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-09T21:24:05.297Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-09T21:24:05.297Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-09T21:24:05.297Z] (56/86) Installing libpulse (16.1-r6) [2023-08-09T21:24:05.297Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-09T21:24:05.297Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-09T21:24:05.297Z] (59/86) Installing librist (0.2.7-r0) [2023-08-09T21:24:05.297Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-09T21:24:05.297Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-09T21:24:05.297Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-09T21:24:05.297Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-09T21:24:05.297Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-09T21:24:05.297Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-09T21:24:05.297Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-09T21:24:05.297Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-09T21:24:05.297Z] (68/86) Installing libva (2.16.0-r0) [2023-08-09T21:24:05.297Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-09T21:24:05.297Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-09T21:24:05.297Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-09T21:24:05.297Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-09T21:24:05.297Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [Pipeline] sh [2023-08-09T21:24:05.555Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-09T21:24:05.555Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-09T21:24:05.555Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-09T21:24:05.555Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-09T21:24:05.555Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-09T21:24:05.555Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-09T21:24:05.780Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T21:24:05.813Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-09T21:24:05.813Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-09T21:24:05.813Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-09T21:24:05.813Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-09T21:24:05.813Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-09T21:24:05.813Z] (85/86) Installing kmod-libs (30-r1) [2023-08-09T21:24:05.813Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-09T21:24:05.813Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T21:24:05.813Z] Executing eudev-3.2.11-r4.trigger [2023-08-09T21:24:05.813Z] OK: 112 MiB in 101 packages [2023-08-09T21:24:06.102Z] + sudo tee /etc/docker/daemon.new [2023-08-09T21:24:06.102Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T21:24:06.102Z] { [2023-08-09T21:24:06.102Z] "registry-mirrors": [ [2023-08-09T21:24:06.102Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T21:24:06.102Z] ], [2023-08-09T21:24:06.102Z] "bip": "10.250.0.254/24", [2023-08-09T21:24:06.102Z] "hosts": [ [2023-08-09T21:24:06.102Z] "tcp://0.0.0.0:5555", [2023-08-09T21:24:06.102Z] "unix:///var/run/docker.sock" [2023-08-09T21:24:06.102Z] ], [2023-08-09T21:24:06.102Z] "mtu": 1458, [2023-08-09T21:24:06.102Z] "selinux-enabled": true, [2023-08-09T21:24:06.102Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T21:24:06.102Z] } [Pipeline] sh [2023-08-09T21:24:06.418Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T21:24:06.738Z] + sudo service docker restart [2023-08-09T21:24:08.347Z] Removing intermediate container fa9a2b110a92 [2023-08-09T21:24:08.347Z] ---> 7f037432d579 [2023-08-09T21:24:08.347Z] Step 18/36 : WORKDIR / [2023-08-09T21:24:08.347Z] ---> Running in 35fb4f565e8c [2023-08-09T21:24:08.606Z] Removing intermediate container 35fb4f565e8c [2023-08-09T21:24:08.606Z] ---> 4afa22d6d9dc [2023-08-09T21:24:08.606Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-09T21:24:09.172Z] ---> 98d47c0bdf8b [2023-08-09T21:24:09.172Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-09T21:24:09.432Z] ---> 92aa7169341b [2023-08-09T21:24:09.432Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-09T21:24:09.432Z] ---> 5ed5a3f1cea2 [2023-08-09T21:24:09.432Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-09T21:24:09.692Z] ---> 5c6f0ca910f5 [2023-08-09T21:24:09.692Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-09T21:24:09.692Z] ---> 80ca94230e12 [2023-08-09T21:24:09.692Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-09T21:24:09.950Z] ---> 51472f1f3e32 [2023-08-09T21:24:09.950Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-09T21:24:10.539Z] ---> 38b721a963ca [2023-08-09T21:24:10.539Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-09T21:24:10.539Z] ---> Running in 19ef4b208600 [2023-08-09T21:24:11.107Z] Removing intermediate container 19ef4b208600 [2023-08-09T21:24:11.107Z] ---> b57e19f4aa46 [2023-08-09T21:24:11.107Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-09T21:24:11.107Z] ---> Running in ae9e78785e00 [2023-08-09T21:24:11.673Z] Removing intermediate container ae9e78785e00 [2023-08-09T21:24:11.673Z] ---> e68bcacf5eaa [2023-08-09T21:24:11.673Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-09T21:24:11.673Z] ---> Running in 585ac0519c78 [2023-08-09T21:24:12.240Z] Removing intermediate container 585ac0519c78 [2023-08-09T21:24:12.240Z] ---> 8fbbe7abc181 [2023-08-09T21:24:12.240Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-09T21:24:12.240Z] ---> Running in 8142b14e77b8 [2023-08-09T21:24:12.808Z] Removing intermediate container 8142b14e77b8 [2023-08-09T21:24:12.808Z] ---> 2822cc2682f5 [2023-08-09T21:24:12.808Z] Step 30/36 : EXPOSE 59983 [2023-08-09T21:24:12.808Z] ---> Running in ed1216968d83 [2023-08-09T21:24:12.808Z] Removing intermediate container ed1216968d83 [2023-08-09T21:24:12.808Z] ---> e09faf66c372 [2023-08-09T21:24:12.808Z] Step 31/36 : EXPOSE 8554 [2023-08-09T21:24:13.071Z] ---> Running in 2223f8de1d52 [2023-08-09T21:24:13.071Z] Removing intermediate container 2223f8de1d52 [2023-08-09T21:24:13.071Z] ---> 82807d4af4be [2023-08-09T21:24:13.071Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-09T21:24:13.071Z] ---> Running in e3cc80f7037a [2023-08-09T21:24:13.071Z] Removing intermediate container e3cc80f7037a [2023-08-09T21:24:13.071Z] ---> be3a0b3e7016 [2023-08-09T21:24:13.071Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-09T21:24:13.071Z] ---> Running in 42250ec8eadd [2023-08-09T21:24:13.071Z] Removing intermediate container 42250ec8eadd [2023-08-09T21:24:13.071Z] ---> acb7b4c6fd2b [2023-08-09T21:24:13.071Z] Step 34/36 : LABEL arch=amd64 [2023-08-09T21:24:13.071Z] ---> Running in 1997b19b0b95 [2023-08-09T21:24:13.330Z] Removing intermediate container 1997b19b0b95 [2023-08-09T21:24:13.330Z] ---> 27733686196c [2023-08-09T21:24:13.330Z] Step 35/36 : LABEL git_sha=9f9527d6f93d1d0559b73a69553c5411545853d3 [2023-08-09T21:24:13.330Z] ---> Running in e7120a4ca784 [2023-08-09T21:24:13.330Z] Removing intermediate container e7120a4ca784 [2023-08-09T21:24:13.330Z] ---> d4e6f70802bb [2023-08-09T21:24:13.330Z] Step 36/36 : LABEL version=0.0.0 [2023-08-09T21:24:13.330Z] ---> Running in 818ffb270d8d [2023-08-09T21:24:13.330Z] Removing intermediate container 818ffb270d8d [2023-08-09T21:24:13.330Z] ---> 6794c653594f [2023-08-09T21:24:13.330Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T21:24:13.330Z] Successfully built 6794c653594f [2023-08-09T21:24:13.330Z] 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-09T21:24:13.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T21:24:13.791Z] [2023-08-09T21:24:13.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:24:14.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T21:24:14.093Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T21:24:14.093Z] 5eb5b503b376: Pulling fs layer [2023-08-09T21:24:14.093Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T21:24:14.093Z] ec43610c2a17: Pulling fs layer [2023-08-09T21:24:14.093Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T21:24:14.093Z] 33b1e0a273af: Pulling fs layer [2023-08-09T21:24:14.093Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T21:24:14.093Z] 2f39f015ded8: Pulling fs layer [2023-08-09T21:24:14.093Z] 3a2ae6a8a46f: Waiting [2023-08-09T21:24:14.093Z] 33b1e0a273af: Waiting [2023-08-09T21:24:14.093Z] 5d3b04190fa2: Waiting [2023-08-09T21:24:14.093Z] 2f39f015ded8: Waiting [2023-08-09T21:24:14.093Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T21:24:14.093Z] 5c69ac0246d0: Download complete [2023-08-09T21:24:14.093Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T21:24:14.093Z] 3a2ae6a8a46f: Download complete [2023-08-09T21:24:14.093Z] 33b1e0a273af: Verifying Checksum [2023-08-09T21:24:14.093Z] 33b1e0a273af: Download complete [2023-08-09T21:24:14.093Z] ec43610c2a17: Verifying Checksum [2023-08-09T21:24:14.093Z] ec43610c2a17: Download complete [2023-08-09T21:24:14.093Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T21:24:14.093Z] 5d3b04190fa2: Download complete [2023-08-09T21:24:14.351Z] 5eb5b503b376: Verifying Checksum [2023-08-09T21:24:14.351Z] 5eb5b503b376: Download complete [2023-08-09T21:24:14.920Z] 2f39f015ded8: Download complete [2023-08-09T21:24:15.487Z] 5eb5b503b376: Pull complete [2023-08-09T21:24:15.487Z] 5c69ac0246d0: Pull complete [2023-08-09T21:24:16.053Z] ec43610c2a17: Pull complete [2023-08-09T21:24:16.053Z] 3a2ae6a8a46f: Pull complete [2023-08-09T21:24:16.311Z] 33b1e0a273af: Pull complete [2023-08-09T21:24:16.311Z] 5d3b04190fa2: Pull complete [2023-08-09T21:24:20.500Z] 2f39f015ded8: Pull complete [2023-08-09T21:24:20.500Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T21:24:20.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T21:24:20.500Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:24:20.594Z] prd-ubuntu20.04-docker-8c-8g-3246 does not seem to be running inside a container [2023-08-09T21:24:20.628Z] $ 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-09T21:24:24.493Z] $ docker top cf65d139d9287022249c97d135f4f9b95afc39dd1cbfdd2a7ef6fa1061ec0c5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:24:24.894Z] ---> job-cost.sh [2023-08-09T21:24:24.894Z] lf-activate-venv: SKIPPING [2023-08-09T21:24:24.894Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T21:24:24.973Z] provisioning config files... [2023-08-09T21:24:24.997Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config1617495318950071628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:24:25.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T21:24:25.341Z] ---> docker-login.sh [2023-08-09T21:24:25.341Z] nexus3.edgexfoundry.org:10001 [2023-08-09T21:24:25.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:24:25.723Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T21:24:25.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:24:25.885Z] Configure a credential helper to remove this warning. See [2023-08-09T21:24:25.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:24:25.885Z] [2023-08-09T21:24:25.885Z] Login Succeeded [2023-08-09T21:24:25.885Z] nexus3.edgexfoundry.org:10002 [2023-08-09T21:24:26.012Z] + cat /w/workspace/foundry_device-usb-camera_PR-268/archives/cost.csv [2023-08-09T21:24:26.012Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T21:24:26.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [2023-08-09T21:24:26.032Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] did not exist. Created. [2023-08-09T21:24:26.032Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T21:24:26.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:24:26.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:24:26.153Z] Configure a credential helper to remove this warning. See [2023-08-09T21:24:26.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:24:26.153Z] [2023-08-09T21:24:26.153Z] Login Succeeded [2023-08-09T21:24:26.153Z] nexus3.edgexfoundry.org:10003 [2023-08-09T21:24:26.336Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T21:24:26.368Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T21:24:26.393Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T21:24:26.412Z] $ docker stop --time=1 cf65d139d9287022249c97d135f4f9b95afc39dd1cbfdd2a7ef6fa1061ec0c5e [2023-08-09T21:24:26.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:24:26.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:24:26.691Z] Configure a credential helper to remove this warning. See [2023-08-09T21:24:26.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:24:26.691Z] [2023-08-09T21:24:26.691Z] Login Succeeded [2023-08-09T21:24:26.691Z] nexus3.edgexfoundry.org:10004 [2023-08-09T21:24:26.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:24:26.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:24:26.960Z] Configure a credential helper to remove this warning. See [2023-08-09T21:24:26.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:24:26.960Z] [2023-08-09T21:24:26.960Z] Login Succeeded [2023-08-09T21:24:26.960Z] docker.io [2023-08-09T21:24:27.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T21:24:27.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T21:24:27.492Z] Configure a credential helper to remove this warning. See [2023-08-09T21:24:27.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T21:24:27.492Z] [2023-08-09T21:24:27.492Z] Login Succeeded [2023-08-09T21:24:27.492Z] ---> docker-login.sh ends [2023-08-09T21:24:27.567Z] $ docker rm -f --volumes cf65d139d9287022249c97d135f4f9b95afc39dd1cbfdd2a7ef6fa1061ec0c5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-08-09T21:24:27.615Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-08-09T21:24:27.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T21:24:27.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T21:24:27.865Z] ========================================================= [2023-08-09T21:24:27.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T21:24:27.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:24:28.209Z] + 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-09T21:24:28.486Z] Sending build context to Docker daemon 1.241MB [2023-08-09T21:24:28.486Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T21:24:28.486Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-09T21:24:28.756Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T21:24:28.756Z] edb6bdbacee9: Pulling fs layer [2023-08-09T21:24:28.756Z] 5f9638ab2659: Pulling fs layer [2023-08-09T21:24:28.756Z] 8d51d6327a98: Pulling fs layer [2023-08-09T21:24:28.756Z] 8b374f2dd631: Pulling fs layer [2023-08-09T21:24:28.756Z] ec14aa9079de: Pulling fs layer [2023-08-09T21:24:28.756Z] 2f466654f4bb: Pulling fs layer [2023-08-09T21:24:28.756Z] 554e91adad29: Pulling fs layer [2023-08-09T21:24:28.756Z] 8b374f2dd631: Waiting [2023-08-09T21:24:28.756Z] ec14aa9079de: Waiting [2023-08-09T21:24:28.756Z] 2f466654f4bb: Waiting [2023-08-09T21:24:28.756Z] 5f9638ab2659: Download complete [2023-08-09T21:24:28.756Z] 8b374f2dd631: Verifying Checksum [2023-08-09T21:24:28.756Z] 8b374f2dd631: Download complete [2023-08-09T21:24:28.756Z] ec14aa9079de: Verifying Checksum [2023-08-09T21:24:28.756Z] ec14aa9079de: Download complete [2023-08-09T21:24:28.756Z] edb6bdbacee9: Verifying Checksum [2023-08-09T21:24:30.199Z] 554e91adad29: Verifying Checksum [2023-08-09T21:24:30.199Z] 554e91adad29: Download complete [2023-08-09T21:24:31.163Z] 8d51d6327a98: Verifying Checksum [2023-08-09T21:24:31.163Z] 8d51d6327a98: Download complete [2023-08-09T21:24:31.163Z] 2f466654f4bb: Download complete [2023-08-09T21:24:32.574Z] edb6bdbacee9: Pull complete [2023-08-09T21:24:32.849Z] 5f9638ab2659: Pull complete [2023-08-09T21:24:47.852Z] 8d51d6327a98: Pull complete [2023-08-09T21:24:47.852Z] 8b374f2dd631: Pull complete [2023-08-09T21:24:47.852Z] ec14aa9079de: Pull complete [2023-08-09T21:24:54.521Z] 2f466654f4bb: Pull complete [2023-08-09T21:24:55.946Z] 554e91adad29: Pull complete [2023-08-09T21:24:55.946Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T21:24:55.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T21:24:55.946Z] ---> 1e15ea492957 [2023-08-09T21:24:55.946Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-09T21:24:57.891Z] ---> Running in 677526c3b857 [2023-08-09T21:24:58.158Z] Removing intermediate container 677526c3b857 [2023-08-09T21:24:58.158Z] ---> 55216088cce8 [2023-08-09T21:24:58.158Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T21:24:58.158Z] ---> Running in 6c9b54f54acd [2023-08-09T21:24:58.427Z] Removing intermediate container 6c9b54f54acd [2023-08-09T21:24:58.427Z] ---> 90b6a8318f38 [2023-08-09T21:24:58.427Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-09T21:24:58.427Z] ---> Running in 7cce9afa2878 [2023-08-09T21:24:58.696Z] Removing intermediate container 7cce9afa2878 [2023-08-09T21:24:58.696Z] ---> 814303177608 [2023-08-09T21:24:58.696Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-09T21:24:58.963Z] ---> Running in a51c5dd98539 [2023-08-09T21:24:59.230Z] Removing intermediate container a51c5dd98539 [2023-08-09T21:24:59.230Z] ---> a50253a63e8e [2023-08-09T21:24:59.230Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T21:24:59.230Z] ---> Running in 6c6d2acd1944 [2023-08-09T21:25:00.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T21:25:03.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T21:25:04.394Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-09T21:25:04.394Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-09T21:25:04.394Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-09T21:25:04.394Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-09T21:25:04.394Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-09T21:25:04.394Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-09T21:25:04.394Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-09T21:25:04.394Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-09T21:25:04.394Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-09T21:25:04.394Z] (10/14) Installing kmod-libs (30-r1) [2023-08-09T21:25:04.394Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-09T21:25:04.394Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-09T21:25:04.660Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-09T21:25:04.660Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-09T21:25:04.660Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T21:25:04.660Z] Executing eudev-3.2.11-r4.trigger [2023-08-09T21:25:04.660Z] OK: 271 MiB in 67 packages [2023-08-09T21:25:06.072Z] Removing intermediate container 6c6d2acd1944 [2023-08-09T21:25:06.073Z] ---> 648c3d5e4e1c [2023-08-09T21:25:06.073Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-09T21:25:06.073Z] ---> Running in a5ee661143ce [2023-08-09T21:25:06.073Z] Removing intermediate container a5ee661143ce [2023-08-09T21:25:06.073Z] ---> 211d5e478d34 [2023-08-09T21:25:06.073Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-09T21:25:06.658Z] ---> 0e950aad70e6 [2023-08-09T21:25:06.658Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T21:25:06.658Z] ---> Running in 64ac1740a8bb [2023-08-09T21:26:14.523Z] Removing intermediate container 64ac1740a8bb [2023-08-09T21:26:14.523Z] ---> 02701d12380e [2023-08-09T21:26:14.523Z] Step 11/13 : COPY . . [2023-08-09T21:26:14.523Z] ---> 4bcc7d3fe5ea [2023-08-09T21:26:14.523Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-09T21:26:14.523Z] ---> Running in 29fc590690d1 [2023-08-09T21:26:14.523Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-08-09T21:26:14.523Z] Dload Upload Total Spent Left Speed [2023-08-09T21:26:14.523Z] 0 0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4417 0 --:--:-- --:--:-- --:--:-- 4443 [2023-08-09T21:26:14.523Z] Removing intermediate container 29fc590690d1 [2023-08-09T21:26:14.523Z] ---> 94c27876c6eb [2023-08-09T21:26:14.523Z] Step 13/13 : RUN ${MAKE} [2023-08-09T21:26:14.523Z] ---> Running in 47b5e6dc0075 [2023-08-09T21:26:14.523Z] noop [2023-08-09T21:26:14.523Z] Removing intermediate container 47b5e6dc0075 [2023-08-09T21:26:14.523Z] ---> 2758d1732bc5 [2023-08-09T21:26:14.523Z] Successfully built 2758d1732bc5 [2023-08-09T21:26:14.523Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:26:14.875Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T21:26:14.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:26:15.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-3247 does not seem to be running inside a container [2023-08-09T21:26:15.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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-09T21:26:16.288Z] $ docker top 498495b2ec837e737154a8b2ebaaea6bd571c362d8bdf5aed260f9dd1b25a964 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T21:26:17.104Z] + go version [2023-08-09T21:26:17.104Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T21:26:17.120Z] $ docker stop --time=1 498495b2ec837e737154a8b2ebaaea6bd571c362d8bdf5aed260f9dd1b25a964 [2023-08-09T21:26:18.734Z] $ docker rm -f --volumes 498495b2ec837e737154a8b2ebaaea6bd571c362d8bdf5aed260f9dd1b25a964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:26:19.278Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T21:26:19.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:26:19.456Z] prd-ubuntu20.04-docker-arm64-4c-16g-3247 does not seem to be running inside a container [2023-08-09T21:26:19.516Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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-09T21:26:20.632Z] $ docker top 4b5d0a27af8d16f7ef4a5094b6fec43b6939a50f6c01628e4903cd35144e66b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T21:26:21.129Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-08-09T21:26:21.778Z] + make test [2023-08-09T21:26:21.778Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T21:26:54.015Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-09T21:28:45.659Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-09T21:28:55.753Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 3.4% of statements [2023-08-09T21:28:56.335Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T21:28:56.335Z] go vet ./... [2023-08-09T21:29:35.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T21:29:35.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T21:29:35.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T21:29:35.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T21:29:35.242Z] $ docker stop --time=1 4b5d0a27af8d16f7ef4a5094b6fec43b6939a50f6c01628e4903cd35144e66b2 [2023-08-09T21:29:37.012Z] $ docker rm -f --volumes 4b5d0a27af8d16f7ef4a5094b6fec43b6939a50f6c01628e4903cd35144e66b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T21:29:38.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T21:29:38.168Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T21:29:38.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T21:29:39.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T21:29:39.388Z] + ls -al . [2023-08-09T21:29:39.388Z] total 204 [2023-08-09T21:29:39.388Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 21:26 . [2023-08-09T21:29:39.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:23 .. [2023-08-09T21:29:39.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 21:24 .git [2023-08-09T21:29:39.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:24 .github [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 9 21:24 .gitignore [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 9 21:24 .golangci.yml [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 9 21:24 .hadolint.yml [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 9 21:24 Attribution.txt [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 9 21:24 CHANGELOG.md [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 9 21:24 Dockerfile [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 21:24 GOVERNANCE.md [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 9 21:24 Jenkinsfile [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 21:24 LICENSE [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 9 21:24 Makefile [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 21:24 OWNERS.md [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 9 21:24 README.md [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 21:22 VERSION [2023-08-09T21:29:39.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:24 bin [2023-08-09T21:29:39.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:24 cmd [2023-08-09T21:29:39.388Z] -rw-r--r-- 1 jenkins jenkins 45458 Aug 9 21:28 coverage.out [2023-08-09T21:29:39.388Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 9 21:24 docker-entrypoint.sh [2023-08-09T21:29:39.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:24 docs [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 9 21:24 go.mod [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 9 21:24 go.sum [2023-08-09T21:29:39.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:24 internal [2023-08-09T21:29:39.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:24 snap [2023-08-09T21:29:39.388Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 9 21:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:29:39.732Z] + 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=9f9527d6f93d1d0559b73a69553c5411545853d3 --label arch=arm64 --label version=0.0.0 . [2023-08-09T21:29:39.998Z] Sending build context to Docker daemon 1.287MB [2023-08-09T21:29:39.998Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T21:29:39.998Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-09T21:29:39.998Z] ---> 2758d1732bc5 [2023-08-09T21:29:39.998Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-09T21:29:40.264Z] ---> Running in d012770b938f [2023-08-09T21:29:40.532Z] Removing intermediate container d012770b938f [2023-08-09T21:29:40.532Z] ---> 5ea55dc40097 [2023-08-09T21:29:40.532Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T21:29:40.532Z] ---> Running in 2350b154a1e8 [2023-08-09T21:29:40.798Z] Removing intermediate container 2350b154a1e8 [2023-08-09T21:29:40.798Z] ---> 4cad58500452 [2023-08-09T21:29:40.798Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-09T21:29:40.798Z] ---> Running in dd6fd1da1b81 [2023-08-09T21:29:41.065Z] Removing intermediate container dd6fd1da1b81 [2023-08-09T21:29:41.065Z] ---> 603954ab662f [2023-08-09T21:29:41.065Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-09T21:29:41.332Z] ---> Running in 6c0b33cac9a5 [2023-08-09T21:29:41.598Z] Removing intermediate container 6c0b33cac9a5 [2023-08-09T21:29:41.598Z] ---> f8c02b33f1de [2023-08-09T21:29:41.598Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T21:29:41.598Z] ---> Running in 872d957cf530 [2023-08-09T21:29:42.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T21:29:43.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T21:29:44.096Z] OK: 271 MiB in 67 packages [2023-08-09T21:29:45.056Z] Removing intermediate container 872d957cf530 [2023-08-09T21:29:45.056Z] ---> 563d2215612c [2023-08-09T21:29:45.056Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-09T21:29:45.056Z] ---> Running in b0d4e9f9377a [2023-08-09T21:29:45.324Z] Removing intermediate container b0d4e9f9377a [2023-08-09T21:29:45.324Z] ---> 99a1e643d40a [2023-08-09T21:29:45.324Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-09T21:29:45.910Z] ---> d0bc247de02c [2023-08-09T21:29:45.910Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T21:29:45.910Z] ---> Running in 3bd5d4ae5918 [2023-08-09T21:29:48.495Z] Removing intermediate container 3bd5d4ae5918 [2023-08-09T21:29:48.495Z] ---> 3dd91d0fd00c [2023-08-09T21:29:48.495Z] Step 11/36 : COPY . . [2023-08-09T21:29:49.106Z] ---> a062a762b84d [2023-08-09T21:29:49.106Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-09T21:29:49.374Z] ---> Running in 7ee68349bb3d [2023-08-09T21:29:50.333Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T21:29:50.333Z]  Dload Upload Total Spent Left Speed [2023-08-09T21:29:50.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3396 0 --:--:-- --:--:-- --:--:-- 3403 [2023-08-09T21:29:51.177Z] Removing intermediate container 7ee68349bb3d [2023-08-09T21:29:51.177Z] ---> ee0aeddcc0d3 [2023-08-09T21:29:51.177Z] Step 13/36 : RUN ${MAKE} [2023-08-09T21:29:53.116Z] ---> Running in 6f9b1ccb89b1 [2023-08-09T21:29:53.700Z] 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-09T21:32:15.362Z] Removing intermediate container 6f9b1ccb89b1 [2023-08-09T21:32:15.362Z] ---> 434f3f896376 [2023-08-09T21:32:15.362Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-09T21:32:15.362Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-09T21:32:15.362Z] 8766b47fe142: Pulling fs layer [2023-08-09T21:32:15.362Z] 8766b47fe142: Verifying Checksum [2023-08-09T21:32:15.362Z] 8766b47fe142: Download complete [2023-08-09T21:32:15.362Z] 8766b47fe142: Pull complete [2023-08-09T21:32:15.362Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-09T21:32:15.362Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-09T21:32:15.362Z] ---> 69d40e2cb93c [2023-08-09T21:32:15.362Z] Step 15/36 : FROM alpine:3.17 [2023-08-09T21:32:15.362Z] 3.17: Pulling from library/alpine [2023-08-09T21:32:15.362Z] 4060ece20d7a: Pulling fs layer [2023-08-09T21:32:15.362Z] 4060ece20d7a: Verifying Checksum [2023-08-09T21:32:15.362Z] 4060ece20d7a: Download complete [2023-08-09T21:32:17.296Z] 4060ece20d7a: Pull complete [2023-08-09T21:32:17.296Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T21:32:17.296Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T21:32:17.296Z] ---> 8650cd65339b [2023-08-09T21:32:17.296Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-09T21:32:17.296Z] ---> Running in 4432d7cd822f [2023-08-09T21:32:17.563Z] Removing intermediate container 4432d7cd822f [2023-08-09T21:32:17.563Z] ---> 9ba3332d83d6 [2023-08-09T21:32:17.563Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-09T21:32:17.563Z] ---> Running in d4b5844cab89 [2023-08-09T21:32:18.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T21:32:19.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T21:32:20.056Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-09T21:32:20.056Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-09T21:32:20.056Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-09T21:32:20.056Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-09T21:32:20.056Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-09T21:32:20.056Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-09T21:32:20.056Z] (7/83) Installing libxcb (1.15-r0) [2023-08-09T21:32:20.056Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-09T21:32:20.322Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-09T21:32:20.588Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-09T21:32:20.588Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-09T21:32:20.588Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-09T21:32:20.588Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-09T21:32:20.588Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-09T21:32:20.588Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-09T21:32:20.588Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-09T21:32:20.588Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-09T21:32:20.588Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-09T21:32:20.854Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-09T21:32:20.854Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-09T21:32:20.854Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-09T21:32:20.854Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-09T21:32:20.854Z] (23/83) Installing glib (2.74.7-r0) [2023-08-09T21:32:20.854Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-09T21:32:20.854Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-09T21:32:20.854Z] (26/83) Installing libass (0.16.0-r1) [2023-08-09T21:32:20.854Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-09T21:32:20.854Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-09T21:32:20.854Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-09T21:32:21.120Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-09T21:32:21.120Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-09T21:32:21.120Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-09T21:32:21.120Z] (33/83) Installing libunistring (1.1-r0) [2023-08-09T21:32:21.120Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-09T21:32:21.120Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-09T21:32:21.120Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-09T21:32:21.120Z] (37/83) Installing lame (3.100-r2) [2023-08-09T21:32:21.120Z] (38/83) Installing opus (1.3.1-r1) [2023-08-09T21:32:21.120Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-09T21:32:21.120Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-09T21:32:21.120Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-09T21:32:21.120Z] (42/83) Installing orc (0.4.33-r0) [2023-08-09T21:32:21.385Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-09T21:32:21.385Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-09T21:32:21.385Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-09T21:32:21.385Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-09T21:32:21.385Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-09T21:32:21.385Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-09T21:32:21.385Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-09T21:32:21.385Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-09T21:32:21.385Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-09T21:32:21.385Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-09T21:32:21.385Z] (53/83) Installing libpulse (16.1-r6) [2023-08-09T21:32:21.385Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-09T21:32:21.385Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-09T21:32:21.385Z] (56/83) Installing librist (0.2.7-r0) [2023-08-09T21:32:21.649Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-09T21:32:21.649Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-09T21:32:21.649Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-09T21:32:21.649Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-09T21:32:21.649Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-09T21:32:21.649Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-09T21:32:21.649Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-09T21:32:21.649Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-09T21:32:21.649Z] (65/83) Installing libva (2.16.0-r0) [2023-08-09T21:32:21.649Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-09T21:32:21.649Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-09T21:32:21.649Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-09T21:32:21.649Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-09T21:32:21.649Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-09T21:32:21.918Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-09T21:32:21.918Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-09T21:32:21.918Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-09T21:32:21.918Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-09T21:32:21.918Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-09T21:32:21.918Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-09T21:32:22.503Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-09T21:32:22.503Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-09T21:32:22.503Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-09T21:32:22.503Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-09T21:32:22.503Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-09T21:32:22.503Z] (82/83) Installing kmod-libs (30-r1) [2023-08-09T21:32:22.503Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-09T21:32:22.503Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T21:32:22.503Z] Executing eudev-3.2.11-r4.trigger [2023-08-09T21:32:22.503Z] OK: 86 MiB in 98 packages [2023-08-09T21:32:25.837Z] Removing intermediate container d4b5844cab89 [2023-08-09T21:32:25.837Z] ---> a7a214cdc320 [2023-08-09T21:32:25.837Z] Step 18/36 : WORKDIR / [2023-08-09T21:32:25.837Z] ---> Running in b0b6727ff5e3 [2023-08-09T21:32:25.837Z] Removing intermediate container b0b6727ff5e3 [2023-08-09T21:32:25.837Z] ---> f735dd30a9c8 [2023-08-09T21:32:25.837Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-09T21:32:27.240Z] ---> 08f24f92ad8f [2023-08-09T21:32:27.240Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-09T21:32:27.826Z] ---> e507c007501f [2023-08-09T21:32:27.826Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-09T21:32:30.395Z] ---> f730ebb6b491 [2023-08-09T21:32:30.395Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-09T21:32:30.662Z] ---> 91725d03c13a [2023-08-09T21:32:30.662Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-09T21:32:30.928Z] ---> 8e33767a7307 [2023-08-09T21:32:30.928Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-09T21:32:31.510Z] ---> cd94bfbbf775 [2023-08-09T21:32:31.510Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-09T21:32:32.913Z] ---> b3946da6174c [2023-08-09T21:32:32.913Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-09T21:32:32.913Z] ---> Running in 1437abcc4948 [2023-08-09T21:32:34.318Z] Removing intermediate container 1437abcc4948 [2023-08-09T21:32:34.318Z] ---> 0917842b15f4 [2023-08-09T21:32:34.318Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-09T21:32:34.586Z] ---> Running in 6174a5203ea7 [2023-08-09T21:32:35.996Z] Removing intermediate container 6174a5203ea7 [2023-08-09T21:32:35.996Z] ---> bdd467a877af [2023-08-09T21:32:35.996Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-09T21:32:35.996Z] ---> Running in 5562d29cb409 [2023-08-09T21:32:37.936Z] Removing intermediate container 5562d29cb409 [2023-08-09T21:32:37.936Z] ---> 0a0d10f58af5 [2023-08-09T21:32:37.936Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-09T21:32:37.936Z] ---> Running in 01ee2769c1b8 [2023-08-09T21:32:39.341Z] Removing intermediate container 01ee2769c1b8 [2023-08-09T21:32:39.341Z] ---> 67ebb50032a4 [2023-08-09T21:32:39.341Z] Step 30/36 : EXPOSE 59983 [2023-08-09T21:32:39.341Z] ---> Running in cefb33bd5f28 [2023-08-09T21:32:39.608Z] Removing intermediate container cefb33bd5f28 [2023-08-09T21:32:39.608Z] ---> f5e4e360f363 [2023-08-09T21:32:39.608Z] Step 31/36 : EXPOSE 8554 [2023-08-09T21:32:39.608Z] ---> Running in a83cb9459bba [2023-08-09T21:32:39.875Z] Removing intermediate container a83cb9459bba [2023-08-09T21:32:39.875Z] ---> 16ad1914e19b [2023-08-09T21:32:39.875Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-09T21:32:39.875Z] ---> Running in a14f50eff5fb [2023-08-09T21:32:40.142Z] Removing intermediate container a14f50eff5fb [2023-08-09T21:32:40.142Z] ---> be22369ea02c [2023-08-09T21:32:40.142Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-09T21:32:40.408Z] ---> Running in 840ca44dc7fb [2023-08-09T21:32:40.408Z] Removing intermediate container 840ca44dc7fb [2023-08-09T21:32:40.408Z] ---> 1a72abe871b9 [2023-08-09T21:32:40.408Z] Step 34/36 : LABEL arch=arm64 [2023-08-09T21:32:40.674Z] ---> Running in 1e6d19f582df [2023-08-09T21:32:40.940Z] Removing intermediate container 1e6d19f582df [2023-08-09T21:32:40.940Z] ---> cc2968461d63 [2023-08-09T21:32:40.940Z] Step 35/36 : LABEL git_sha=9f9527d6f93d1d0559b73a69553c5411545853d3 [2023-08-09T21:32:40.940Z] ---> Running in 73da442eaee8 [2023-08-09T21:32:41.207Z] Removing intermediate container 73da442eaee8 [2023-08-09T21:32:41.207Z] ---> 53833a58afc4 [2023-08-09T21:32:41.207Z] Step 36/36 : LABEL version=0.0.0 [2023-08-09T21:32:41.207Z] ---> Running in 45c0ef1020d9 [2023-08-09T21:32:41.472Z] Removing intermediate container 45c0ef1020d9 [2023-08-09T21:32:41.472Z] ---> 7c9bca0bb4c0 [2023-08-09T21:32:41.472Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T21:32:41.737Z] Successfully built 7c9bca0bb4c0 [2023-08-09T21:32:41.737Z] 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-09T21:32:42.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T21:32:42.192Z] [2023-08-09T21:32:42.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:32:42.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T21:32:42.524Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T21:32:42.524Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T21:32:42.524Z] 04944245beec: Pulling fs layer [2023-08-09T21:32:42.524Z] 699f458cf7ca: Pulling fs layer [2023-08-09T21:32:42.524Z] 765212b225bb: Pulling fs layer [2023-08-09T21:32:42.524Z] f23df028b6ca: Pulling fs layer [2023-08-09T21:32:42.524Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T21:32:42.524Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T21:32:42.524Z] 765212b225bb: Waiting [2023-08-09T21:32:42.524Z] f23df028b6ca: Waiting [2023-08-09T21:32:42.524Z] d65c8cfc05b1: Waiting [2023-08-09T21:32:42.524Z] 2437ff75d9bd: Waiting [2023-08-09T21:32:42.792Z] 04944245beec: Verifying Checksum [2023-08-09T21:32:42.792Z] 04944245beec: Download complete [2023-08-09T21:32:42.792Z] 765212b225bb: Download complete [2023-08-09T21:32:42.792Z] f23df028b6ca: Verifying Checksum [2023-08-09T21:32:42.792Z] f23df028b6ca: Download complete [2023-08-09T21:32:42.792Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T21:32:42.792Z] d65c8cfc05b1: Download complete [2023-08-09T21:32:42.792Z] 699f458cf7ca: Verifying Checksum [2023-08-09T21:32:42.792Z] 699f458cf7ca: Download complete [2023-08-09T21:32:43.375Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T21:32:43.375Z] 8998bd30e6a1: Download complete [2023-08-09T21:32:45.965Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T21:32:45.965Z] 2437ff75d9bd: Download complete [2023-08-09T21:32:47.374Z] 8998bd30e6a1: Pull complete [2023-08-09T21:32:47.640Z] 04944245beec: Pull complete [2023-08-09T21:32:49.047Z] 699f458cf7ca: Pull complete [2023-08-09T21:32:49.047Z] 765212b225bb: Pull complete [2023-08-09T21:32:50.004Z] f23df028b6ca: Pull complete [2023-08-09T21:32:50.004Z] d65c8cfc05b1: Pull complete [2023-08-09T21:33:04.990Z] 2437ff75d9bd: Pull complete [2023-08-09T21:33:04.990Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T21:33:04.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T21:33:04.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:33:05.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-3247 does not seem to be running inside a container [2023-08-09T21:33:05.218Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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-09T21:33:07.518Z] $ docker top 167016097a3e6d13c4023c60a905c474dc4b9e3f79399012defbde277b2cf1de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:08.017Z] ---> job-cost.sh [2023-08-09T21:33:08.282Z] lf-activate-venv: SKIPPING [2023-08-09T21:33:08.282Z] INFO: No Stack... [2023-08-09T21:33:08.548Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T21:33:09.503Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T21:33:10.131Z] + cut -d, -f6 [2023-08-09T21:33:10.131Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock [2023-08-09T21:33:10.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [2023-08-09T21:33:10.188Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] did not exist. Created. [2023-08-09T21:33:10.188Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T21:33:10.530Z] /w/workspace/device-usb-camera/3@tmp/durable-af848f8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T21:33:10.863Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T21:33:10.877Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T21:33:10.926Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T21:33:10.932Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T21:33:10.943Z] $ docker stop --time=1 167016097a3e6d13c4023c60a905c474dc4b9e3f79399012defbde277b2cf1de [2023-08-09T21:33:12.383Z] $ docker rm -f --volumes 167016097a3e6d13c4023c60a905c474dc4b9e3f79399012defbde277b2cf1de [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-09T21:33:12.771Z] provisioning config files... [2023-08-09T21:33:12.778Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config9428055846584902205tmp [Pipeline] { [Pipeline] sh [2023-08-09T21:33:13.074Z] + set +x [2023-08-09T21:33:13.074Z] + curl -s https://codecov.io/bash [2023-08-09T21:33:13.074Z] + bash -s -- [2023-08-09T21:33:13.074Z] [2023-08-09T21:33:13.074Z] _____ _ [2023-08-09T21:33:13.074Z] / ____| | | [2023-08-09T21:33:13.074Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T21:33:13.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T21:33:13.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T21:33:13.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T21:33:13.074Z] Bash-1.0.6 [2023-08-09T21:33:13.074Z] [2023-08-09T21:33:13.074Z] [2023-08-09T21:33:13.074Z] ==> git version 2.25.1 found [2023-08-09T21:33:13.074Z] ==> 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-09T21:33:13.074Z] Release-Date: 2020-01-08 [2023-08-09T21:33:13.074Z] 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-09T21:33:13.074Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T21:33:13.074Z] ==> Jenkins CI detected. [2023-08-09T21:33:13.074Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-268 [2023-08-09T21:33:13.074Z] project root: . [2023-08-09T21:33:13.074Z] --> token set from env [2023-08-09T21:33:13.074Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T21:33:13.074Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T21:33:13.074Z] ==> Python coveragepy not found [2023-08-09T21:33:13.074Z] ==> Searching for coverage reports in: [2023-08-09T21:33:13.074Z] + . [2023-08-09T21:33:13.074Z] -> Found 1 reports [2023-08-09T21:33:13.074Z] ==> Detecting git/mercurial file structure [2023-08-09T21:33:13.074Z] ==> Reading reports [2023-08-09T21:33:13.334Z] + ./coverage.out bytes=45458 [2023-08-09T21:33:13.334Z] ==> Appending adjustments [2023-08-09T21:33:13.334Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T21:33:13.334Z] + Found adjustments [2023-08-09T21:33:13.334Z] ==> Gzipping contents [2023-08-09T21:33:13.334Z] 8.0K /tmp/codecov.nqfCWL.gz [2023-08-09T21:33:13.334Z] ==> Uploading reports [2023-08-09T21:33:13.334Z] url: https://codecov.io [2023-08-09T21:33:13.334Z] query: branch=PR-268&commit=9f9527d6f93d1d0559b73a69553c5411545853d3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-09T21:33:13.334Z] -> Pinging Codecov [2023-08-09T21:33:13.334Z] 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=9f9527d6f93d1d0559b73a69553c5411545853d3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-09T21:33:13.334Z] -> Uploading to [2023-08-09T21:33:13.334Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/73D8F5FF140700D3E01443B452E23636/9f9527d6f93d1d0559b73a69553c5411545853d3/ba93a516-f33f-40bf-9789-fee495607667.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T213313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd5000764331512b948b003bfc2e9d295cd762a8bb5cd5bd56180015fac6051c [2023-08-09T21:33:13.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T21:33:13.334Z] Dload Upload Total Spent Left Speed [2023-08-09T21:33:13.594Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5972 0 0 100 5972 0 30625 --:--:-- --:--:-- --:--:-- 30469 100 5972 0 0 100 5972 0 30469 --:--:-- --:--:-- --:--:-- 30469 [2023-08-09T21:33:13.594Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/9f9527d6f93d1d0559b73a69553c5411545853d3 [Pipeline] } [2023-08-09T21:33:13.601Z] 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-09T21:33:14.326Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-268/archives ] [2023-08-09T21:33:14.326Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-09T21:33:14.326Z] total 16 [2023-08-09T21:33:14.326Z] drwxr-xr-x 3 root root 4096 Aug 9 21:24 . [2023-08-09T21:33:14.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 21:24 .. [2023-08-09T21:33:14.326Z] drwxr-xr-x 2 root root 4096 Aug 9 21:24 cost [2023-08-09T21:33:14.326Z] -rw-r--r-- 1 root root 89 Aug 9 21:24 cost.csv [2023-08-09T21:33:14.326Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-09T21:33:14.326Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-09T21:33:14.326Z] total 16 [2023-08-09T21:33:14.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 21:24 . [2023-08-09T21:33:14.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 21:24 .. [2023-08-09T21:33:14.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 21:24 cost [2023-08-09T21:33:14.326Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 9 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:14.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:15.479Z] ---> package-listing.sh [2023-08-09T21:33:15.479Z] ++ facter osfamily [2023-08-09T21:33:15.479Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T21:33:15.737Z] + OS_FAMILY=debian [2023-08-09T21:33:15.737Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-268 [2023-08-09T21:33:15.737Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T21:33:15.737Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T21:33:15.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T21:33:15.737Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T21:33:15.737Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-09T21:33:15.737Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T21:33:15.737Z] + case "${OS_FAMILY}" in [2023-08-09T21:33:15.737Z] + dpkg -l [2023-08-09T21:33:15.737Z] + grep '^ii' [2023-08-09T21:33:15.737Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T21:33:15.737Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T21:33:15.737Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T21:33:15.737Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-09T21:33:15.737Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-268/archives/ [2023-08-09T21:33:15.737Z] + 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-09T21:33:15.745Z] 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-09T21:33:16.022Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T21:33:16.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T21:33:16.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T21:33:16.659Z] prd-ubuntu20.04-docker-8c-8g-3246 does not seem to be running inside a container [2023-08-09T21:33:16.695Z] $ 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-09T21:33:16.908Z] $ docker top 9cfcb6410378330360508ab5c3f27cbde79b7f87d74b12854877ffd1a2a46e81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T21:33:17.247Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T21:33:17.535Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T21:33:17.819Z] + ls /var/log/sa-host [2023-08-09T21:33:17.819Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T21:33:17.966Z] provisioning config files... [2023-08-09T21:33:17.976Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config2990293533129771542tmp [Pipeline] { [Pipeline] echo [2023-08-09T21:33:17.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:18.277Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T21:33:18.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:18.610Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T21:33:18.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:18.901Z] ---> sudo-logs.sh [2023-08-09T21:33:18.901Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T21:33:18.931Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:19.215Z] ---> job-cost.sh [2023-08-09T21:33:19.215Z] lf-activate-venv: SKIPPING [2023-08-09T21:33:19.215Z] DEBUG: total: 0.2199999988079071 [2023-08-09T21:33:19.215Z] INFO: Retrieving Stack Cost... [2023-08-09T21:33:19.474Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T21:33:20.042Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T21:33:20.055Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T21:33:20.338Z] ---> logs-deploy.sh [2023-08-09T21:33:20.338Z] lf-activate-venv: SKIPPING [2023-08-09T21:33:20.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-268/3 [2023-08-09T21:33:20.338Z] INFO: archiving workspace using pattern(s): [2023-08-09T21:33:21.277Z] Archives upload complete. [2023-08-09T21:33:21.277Z] INFO: archiving logs to Nexus