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 a3527cb1fbaf9d1f72724e42d632db8b3c36c297 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-ssh18025752457712501272.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-ssh1848313819126442686.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-ssh7285878753822621360.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-ssh16225429881170308649.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-ssh14899211702162897181.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 ‘prd-ubuntu20.04-docker-8c-8g-3146’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3147 in /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-268 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit a3527cb1fbaf9d1f72724e42d632db8b3c36c297 Merge succeeded, producing a3527cb1fbaf9d1f72724e42d632db8b3c36c297 Checking out Revision a3527cb1fbaf9d1f72724e42d632db8b3c36c297 (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f a3527cb1fbaf9d1f72724e42d632db8b3c36c297 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3527cb1fbaf9d1f72724e42d632db8b3c36c297 # timeout=10 Commit message: "fix: Enable Rtsp server at startup" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-08T22:53:57.758Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-08T22:53:57.807Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-08T22:53:57.817Z] ========================================================= [2023-08-08T22:53:57.817Z] EdgeX Global Pipelines Version Info [2023-08-08T22:53:57.817Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-08T22:53:58.533Z] ------------------- [2023-08-08T22:53:58.533Z] stable info: [2023-08-08T22:53:58.533Z] ------------------- [2023-08-08T22:53:58.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-08T22:53:58.533Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-08T22:53:58.533Z] Message: update stable to v1.0.250 [2023-08-08T22:53:59.104Z] ------------------- [2023-08-08T22:53:59.104Z] experimental info: [2023-08-08T22:53:59.104Z] ------------------- [2023-08-08T22:53:59.104Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-08T22:53:59.104Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-08T22:53:59.104Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-08T22:53:59.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-08T22:53:59.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-08T22:53:59.291Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-08T22:53:59.305Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-08T22:53:59.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-08T22:53:59.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-08T22:53:59.343Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-08T22:53:59.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-08T22:53:59.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-08T22:53:59.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-08T22:53:59.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-08T22:53:59.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-08T22:53:59.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-08T22:53:59.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-08T22:53:59.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-08T22:53:59.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-08T22:53:59.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-08T22:53:59.484Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-08T22:53:59.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-08T22:53:59.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-08T22:53:59.522Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-08T22:53:59.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-08T22:53:59.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-08T22:53:59.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-08T22:53:59.572Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-08T22:53:59.590Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-08T22:53:59.609Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-08T22:53:59.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-08-08T22:53:59.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-08-08T22:53:59.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-08-08T22:53:59.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [Pipeline] echo [2023-08-08T22:53:59.687Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3527cb [Pipeline] echo [2023-08-08T22:53:59.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-08T22:53:59.745Z] provisioning config files... [2023-08-08T22:53:59.759Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config11949931233273180000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-08T22:54:00.063Z] ---> docker-login.sh [2023-08-08T22:54:00.063Z] nexus3.edgexfoundry.org:10001 [2023-08-08T22:54:00.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:00.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:00.581Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:00.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:00.581Z] [2023-08-08T22:54:00.581Z] Login Succeeded [2023-08-08T22:54:00.581Z] nexus3.edgexfoundry.org:10002 [2023-08-08T22:54:00.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:00.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:00.581Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:00.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:00.581Z] [2023-08-08T22:54:00.581Z] Login Succeeded [2023-08-08T22:54:00.581Z] nexus3.edgexfoundry.org:10003 [2023-08-08T22:54:00.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:00.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:00.841Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:00.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:00.841Z] [2023-08-08T22:54:00.841Z] Login Succeeded [2023-08-08T22:54:00.841Z] nexus3.edgexfoundry.org:10004 [2023-08-08T22:54:00.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:00.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:00.841Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:00.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:00.841Z] [2023-08-08T22:54:00.841Z] Login Succeeded [2023-08-08T22:54:00.841Z] docker.io [2023-08-08T22:54:01.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:01.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:01.361Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:01.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:01.361Z] [2023-08-08T22:54:01.361Z] Login Succeeded [2023-08-08T22:54:01.361Z] ---> docker-login.sh ends [Pipeline] } [2023-08-08T22:54:01.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-08T22:54:01.769Z] + git rev-list -1 --merges a3527cb1fbaf9d1f72724e42d632db8b3c36c297~1..a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [Pipeline] echo [2023-08-08T22:54:01.815Z] -----------> git rev-list -1 --merges a3527cb1fbaf9d1f72724e42d632db8b3c36c297~1..a3527cb1fbaf9d1f72724e42d632db8b3c36c297 a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [false] [Pipeline] sh [2023-08-08T22:54:02.107Z] + git log --format=format:%s -1 a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [Pipeline] echo [2023-08-08T22:54:02.122Z] ========================================================= [2023-08-08T22:54:02.122Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-08T22:54:02.122Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-08T22:54:02.437Z] + git log --format=format:%s -1 a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [Pipeline] echo [2023-08-08T22:54:02.447Z] [semverPrep] GIT_COMMIT: a3527cb1fbaf9d1f72724e42d632db8b3c36c297, Commit Message: fix: Enable Rtsp server at startup [Pipeline] echo [2023-08-08T22:54:02.457Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-08T22:54:02.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-08T22:54:02.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-08T22:54:02.817Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-08T22:54:02.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-08T22:54:02.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-08T22:54:02.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-08T22:54:02.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:54:03.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-08T22:54:03.213Z] [2023-08-08T22:54:03.213Z] 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-08T22:54:03.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-08T22:54:03.532Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-08T22:54:03.532Z] b85a868b505f: Pulling fs layer [2023-08-08T22:54:03.532Z] e2be974225ed: Pulling fs layer [2023-08-08T22:54:03.532Z] 339a4e72a1f5: Pulling fs layer [2023-08-08T22:54:03.532Z] 988bab9f4d93: Pulling fs layer [2023-08-08T22:54:03.532Z] 988bab9f4d93: Waiting [2023-08-08T22:54:03.532Z] 1469e6f7b9e6: Pulling fs layer [2023-08-08T22:54:03.532Z] eaf3925da568: Pulling fs layer [2023-08-08T22:54:03.532Z] 1469e6f7b9e6: Waiting [2023-08-08T22:54:03.532Z] bab4dde63d76: Pulling fs layer [2023-08-08T22:54:03.532Z] bde34c3a00c8: Pulling fs layer [2023-08-08T22:54:03.532Z] bab4dde63d76: Waiting [2023-08-08T22:54:03.532Z] eaf3925da568: Waiting [2023-08-08T22:54:03.532Z] bde34c3a00c8: Waiting [2023-08-08T22:54:03.532Z] b352a97aabf1: Pulling fs layer [2023-08-08T22:54:03.532Z] 4872d77fe225: Pulling fs layer [2023-08-08T22:54:03.532Z] b352a97aabf1: Waiting [2023-08-08T22:54:03.532Z] 4872d77fe225: Waiting [2023-08-08T22:54:03.532Z] 5851b861e8e6: Pulling fs layer [2023-08-08T22:54:03.532Z] 5851b861e8e6: Waiting [2023-08-08T22:54:03.532Z] e2be974225ed: Download complete [2023-08-08T22:54:03.532Z] 988bab9f4d93: Verifying Checksum [2023-08-08T22:54:03.532Z] 988bab9f4d93: Download complete [2023-08-08T22:54:03.532Z] 1469e6f7b9e6: Verifying Checksum [2023-08-08T22:54:03.532Z] 1469e6f7b9e6: Download complete [2023-08-08T22:54:03.532Z] eaf3925da568: Verifying Checksum [2023-08-08T22:54:03.532Z] eaf3925da568: Download complete [2023-08-08T22:54:03.532Z] 339a4e72a1f5: Verifying Checksum [2023-08-08T22:54:03.532Z] 339a4e72a1f5: Download complete [2023-08-08T22:54:03.809Z] bde34c3a00c8: Verifying Checksum [2023-08-08T22:54:03.809Z] bde34c3a00c8: Download complete [2023-08-08T22:54:03.809Z] b352a97aabf1: Verifying Checksum [2023-08-08T22:54:03.809Z] b352a97aabf1: Download complete [2023-08-08T22:54:03.809Z] 4872d77fe225: Verifying Checksum [2023-08-08T22:54:03.809Z] 4872d77fe225: Download complete [2023-08-08T22:54:03.809Z] 5851b861e8e6: Download complete [2023-08-08T22:54:03.809Z] b85a868b505f: Download complete [2023-08-08T22:54:04.068Z] bab4dde63d76: Verifying Checksum [2023-08-08T22:54:04.068Z] bab4dde63d76: Download complete [2023-08-08T22:54:05.446Z] b85a868b505f: Pull complete [2023-08-08T22:54:05.446Z] e2be974225ed: Pull complete [2023-08-08T22:54:05.705Z] 339a4e72a1f5: Pull complete [2023-08-08T22:54:05.965Z] 988bab9f4d93: Pull complete [2023-08-08T22:54:06.226Z] 1469e6f7b9e6: Pull complete [2023-08-08T22:54:06.226Z] eaf3925da568: Pull complete [2023-08-08T22:54:08.141Z] bab4dde63d76: Pull complete [2023-08-08T22:54:08.141Z] bde34c3a00c8: Pull complete [2023-08-08T22:54:08.141Z] b352a97aabf1: Pull complete [2023-08-08T22:54:08.401Z] 4872d77fe225: Pull complete [2023-08-08T22:54:08.401Z] 5851b861e8e6: Pull complete [2023-08-08T22:54:08.401Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-08T22:54:08.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-08T22:54:08.401Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:54:08.496Z] prd-ubuntu20.04-docker-8c-8g-3147 does not seem to be running inside a container [2023-08-08T22:54:08.499Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-08T22:54:11.534Z] $ docker top 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 -eo pid,comm [2023-08-08T22:54:11.620Z] 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-08T22:54:11.620Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-08T22:54:11.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-08T22:54:11.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-08T22:54:11.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-08T22:54:11.758Z] $ docker exec 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 ssh-agent [2023-08-08T22:54:11.893Z] SSH_AUTH_SOCK=/tmp/ssh-hTlb4tLiR7BM/agent.32 [2023-08-08T22:54:11.893Z] SSH_AGENT_PID=38 [2023-08-08T22:54:11.901Z] Running ssh-add (command line suppressed) [2023-08-08T22:54:11.984Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_4740235034599809488.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_4740235034599809488.key) [2023-08-08T22:54:12.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-08T22:54:12.323Z] + git tag --points-at HEAD [Pipeline] } [2023-08-08T22:54:12.307Z] $ docker exec --env ******** --env ******** 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 ssh-agent -k [2023-08-08T22:54:12.406Z] unset SSH_AUTH_SOCK; [2023-08-08T22:54:12.407Z] unset SSH_AGENT_PID; [2023-08-08T22:54:12.407Z] echo Agent pid 38 killed; [2023-08-08T22:54:12.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-08T22:54:12.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-08T22:54:12.475Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-08T22:54:12.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-08T22:54:12.577Z] $ docker exec 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 ssh-agent [2023-08-08T22:54:12.727Z] SSH_AUTH_SOCK=/tmp/ssh-IipDvJsLw1ne/agent.70 [2023-08-08T22:54:12.727Z] SSH_AGENT_PID=76 [2023-08-08T22:54:12.732Z] Running ssh-add (command line suppressed) [2023-08-08T22:54:12.810Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_17566575480860953578.key (/w/workspace/foundry_device-usb-camera_PR-268@tmp/private_key_17566575480860953578.key) [2023-08-08T22:54:12.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-08T22:54:13.144Z] + git semver init [2023-08-08T22:54:13.403Z] 2023-08-08 22:54:13,291 [run_init] DEBUG init version:0.0.0 force:False [2023-08-08T22:54:13.403Z] 2023-08-08 22:54:13,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-268/.semver [2023-08-08T22:54:13.403Z] 2023-08-08 22:54:13,293 [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-08T22:54:13.403Z] 2023-08-08 22:54:13,293 [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-08T22:54:14.340Z] 2023-08-08 22:54:13,973 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-268/.git/info/exclude [2023-08-08T22:54:14.340Z] 2023-08-08 22:54:13,974 [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-08T22:54:14.340Z] 2023-08-08 22:54:13,974 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-08T22:54:14.340Z] 2023-08-08 22:54:13,978 [execute] INFO git cat-file --batch-check [2023-08-08T22:54:14.340Z] 2023-08-08 22:54:13,979 [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-08T22:54:14.340Z] 2023-08-08 22:54:13,986 [execute] INFO git cat-file --batch [2023-08-08T22:54:14.340Z] 2023-08-08 22:54:13,986 [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-08T22:54:14.340Z] 2023-08-08 22:54:13,992 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-268/.semver/PR-268 [2023-08-08T22:54:14.340Z] 0.0.0 [Pipeline] } [2023-08-08T22:54:14.323Z] $ docker exec --env ******** --env ******** 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 ssh-agent -k [2023-08-08T22:54:14.431Z] unset SSH_AUTH_SOCK; [2023-08-08T22:54:14.431Z] unset SSH_AGENT_PID; [2023-08-08T22:54:14.432Z] echo Agent pid 76 killed; [2023-08-08T22:54:14.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-08T22:54:14.774Z] + git semver [Pipeline] } [2023-08-08T22:54:15.020Z] $ docker stop --time=1 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 [2023-08-08T22:54:16.315Z] $ docker rm -f --volumes 86ab762578eccaac8550cd9208a5a64c145ec0804f4e17fe71dcf6b7e2c06149 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-08T22:54:16.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-08T22:54:16.890Z] Stashed 1 file(s) [Pipeline] echo [2023-08-08T22:54:16.893Z] [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-08T22:54:17.029Z] provisioning config files... [2023-08-08T22:54:17.038Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config14692908087652695606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-08T22:54:17.339Z] ---> docker-login.sh [2023-08-08T22:54:17.339Z] nexus3.edgexfoundry.org:10001 [2023-08-08T22:54:17.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:17.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:17.339Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:17.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:17.339Z] [2023-08-08T22:54:17.339Z] Login Succeeded [2023-08-08T22:54:17.339Z] nexus3.edgexfoundry.org:10002 [2023-08-08T22:54:17.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:17.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:17.339Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:17.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:17.339Z] [2023-08-08T22:54:17.339Z] Login Succeeded [2023-08-08T22:54:17.339Z] nexus3.edgexfoundry.org:10003 [2023-08-08T22:54:17.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:17.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:17.599Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:17.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:17.599Z] [2023-08-08T22:54:17.599Z] Login Succeeded [2023-08-08T22:54:17.599Z] nexus3.edgexfoundry.org:10004 [2023-08-08T22:54:17.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:17.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:17.599Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:17.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:17.599Z] [2023-08-08T22:54:17.599Z] Login Succeeded [2023-08-08T22:54:17.599Z] docker.io [2023-08-08T22:54:17.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:54:17.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:54:17.859Z] Configure a credential helper to remove this warning. See [2023-08-08T22:54:17.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:54:17.859Z] [2023-08-08T22:54:17.859Z] Login Succeeded [2023-08-08T22:54:18.119Z] ---> docker-login.sh ends [Pipeline] } [2023-08-08T22:54:18.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-08T22:54:18.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-08T22:54:18.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-08T22:54:18.199Z] ========================================================= [2023-08-08T22:54:18.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-08T22:54:18.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:54:18.501Z] + 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-08T22:54:18.501Z] Sending build context to Docker daemon 2.038MB [2023-08-08T22:54:18.501Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-08T22:54:18.501Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-08T22:54:18.501Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-08T22:54:18.501Z] 4db1b89c0bd1: Pulling fs layer [2023-08-08T22:54:18.501Z] 6911f1a30b25: Pulling fs layer [2023-08-08T22:54:18.501Z] e194b8c5c2a9: Pulling fs layer [2023-08-08T22:54:18.501Z] 6863d3e3a2b1: Pulling fs layer [2023-08-08T22:54:18.501Z] ec0bb842ea78: Pulling fs layer [2023-08-08T22:54:18.501Z] 6863d3e3a2b1: Waiting [2023-08-08T22:54:18.501Z] 40a00589a448: Pulling fs layer [2023-08-08T22:54:18.501Z] 6c08303d61cc: Pulling fs layer [2023-08-08T22:54:18.501Z] 798269fcf238: Pulling fs layer [2023-08-08T22:54:18.501Z] 40a00589a448: Waiting [2023-08-08T22:54:18.501Z] 6c08303d61cc: Waiting [2023-08-08T22:54:18.501Z] 6911f1a30b25: Download complete [2023-08-08T22:54:18.501Z] 6863d3e3a2b1: Verifying Checksum [2023-08-08T22:54:18.501Z] 6863d3e3a2b1: Download complete [2023-08-08T22:54:18.501Z] ec0bb842ea78: Verifying Checksum [2023-08-08T22:54:18.761Z] ec0bb842ea78: Download complete [2023-08-08T22:54:18.761Z] 4db1b89c0bd1: Verifying Checksum [2023-08-08T22:54:18.761Z] 4db1b89c0bd1: Download complete [2023-08-08T22:54:18.761Z] 40a00589a448: Verifying Checksum [2023-08-08T22:54:18.761Z] 40a00589a448: Download complete [2023-08-08T22:54:18.761Z] 4db1b89c0bd1: Pull complete [2023-08-08T22:54:19.238Z] 6911f1a30b25: Pull complete [2023-08-08T22:54:19.238Z] 798269fcf238: Verifying Checksum [2023-08-08T22:54:19.238Z] 798269fcf238: Download complete [2023-08-08T22:54:19.496Z] e194b8c5c2a9: Download complete [2023-08-08T22:54:19.496Z] 6c08303d61cc: Verifying Checksum [2023-08-08T22:54:19.496Z] 6c08303d61cc: Download complete [2023-08-08T22:54:22.796Z] e194b8c5c2a9: Pull complete [2023-08-08T22:54:23.056Z] 6863d3e3a2b1: Pull complete [2023-08-08T22:54:23.056Z] ec0bb842ea78: Pull complete [2023-08-08T22:54:23.056Z] 40a00589a448: Pull complete [2023-08-08T22:54:25.609Z] 6c08303d61cc: Pull complete [2023-08-08T22:54:26.545Z] 798269fcf238: Pull complete [2023-08-08T22:54:26.545Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-08T22:54:26.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-08T22:54:26.545Z] ---> ec979cd7f677 [2023-08-08T22:54:26.545Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-08T22:54:30.736Z] ---> Running in 1d0f335330a6 [2023-08-08T22:54:30.996Z] Removing intermediate container 1d0f335330a6 [2023-08-08T22:54:30.996Z] ---> 8d3bd0d1e2ca [2023-08-08T22:54:30.996Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-08T22:54:30.996Z] ---> Running in a576f1c3a85a [2023-08-08T22:54:30.996Z] Removing intermediate container a576f1c3a85a [2023-08-08T22:54:30.996Z] ---> 09f0d85e01a3 [2023-08-08T22:54:30.996Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-08T22:54:30.996Z] ---> Running in 30fe1f60db1c [2023-08-08T22:54:31.253Z] Removing intermediate container 30fe1f60db1c [2023-08-08T22:54:31.253Z] ---> 137c29e9b621 [2023-08-08T22:54:31.253Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-08T22:54:31.253Z] ---> Running in c2e73d471340 [2023-08-08T22:54:31.253Z] Removing intermediate container c2e73d471340 [2023-08-08T22:54:31.253Z] ---> 8ee19cb04a86 [2023-08-08T22:54:31.253Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-08T22:54:31.253Z] ---> Running in 4eb072c5f8e4 [2023-08-08T22:54:31.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-08T22:54:31.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-08T22:54:31.996Z] Still waiting to schedule task [2023-08-08T22:54:31.996Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-08T22:54:32.030Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-08T22:54:32.030Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-08T22:54:32.030Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-08T22:54:32.030Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-08T22:54:32.030Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-08T22:54:32.030Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-08T22:54:32.030Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-08T22:54:32.030Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-08T22:54:32.030Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-08T22:54:32.030Z] (10/14) Installing kmod-libs (30-r1) [2023-08-08T22:54:32.030Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-08T22:54:32.030Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-08T22:54:32.030Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-08T22:54:32.291Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-08T22:54:32.291Z] Executing busybox-1.35.0-r29.trigger [2023-08-08T22:54:32.291Z] Executing eudev-3.2.11-r4.trigger [2023-08-08T22:54:32.291Z] OK: 272 MiB in 67 packages [2023-08-08T22:54:32.859Z] Removing intermediate container 4eb072c5f8e4 [2023-08-08T22:54:32.859Z] ---> 3de5c2ea6192 [2023-08-08T22:54:32.859Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-08T22:54:32.859Z] ---> Running in 1fb2634ff033 [2023-08-08T22:54:32.859Z] Removing intermediate container 1fb2634ff033 [2023-08-08T22:54:32.859Z] ---> c55dabb4473b [2023-08-08T22:54:32.859Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-08T22:54:32.859Z] ---> 1ccd2d975271 [2023-08-08T22:54:32.859Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-08T22:54:33.117Z] ---> Running in 51895feb4f54 [2023-08-08T22:55:05.192Z] Removing intermediate container 51895feb4f54 [2023-08-08T22:55:05.192Z] ---> 17fd97f47696 [2023-08-08T22:55:05.192Z] Step 11/13 : COPY . . [2023-08-08T22:55:05.192Z] ---> f20d82eb32a8 [2023-08-08T22:55:05.192Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-08T22:55:05.192Z] ---> Running in 6db6eddd8d34 [2023-08-08T22:55:05.192Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-08T22:55:05.192Z] Dload Upload Total Spent Left Speed [2023-08-08T22:55:05.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6489 0 --:--:-- --:--:-- --:--:-- 6515 [2023-08-08T22:55:05.709Z] Removing intermediate container 6db6eddd8d34 [2023-08-08T22:55:05.709Z] ---> 4e9fb17db572 [2023-08-08T22:55:05.709Z] Step 13/13 : RUN ${MAKE} [2023-08-08T22:55:05.709Z] ---> Running in 59c3739ba0a4 [2023-08-08T22:55:05.968Z] noop [2023-08-08T22:55:06.227Z] Removing intermediate container 59c3739ba0a4 [2023-08-08T22:55:06.227Z] ---> 25a5f62444ba [2023-08-08T22:55:06.227Z] Successfully built 25a5f62444ba [2023-08-08T22:55:06.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:55:06.541Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-08T22:55:06.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:55:06.614Z] prd-ubuntu20.04-docker-8c-8g-3147 does not seem to be running inside a container [2023-08-08T22:55:06.624Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-08T22:55:06.939Z] $ docker top 2d0b3c77acdd54cd8bfcc84beaf2ba41a45b269371d82831cf966459c4b65979 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-08T22:55:07.303Z] + go version [2023-08-08T22:55:07.303Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-08T22:55:07.296Z] $ docker stop --time=1 2d0b3c77acdd54cd8bfcc84beaf2ba41a45b269371d82831cf966459c4b65979 [2023-08-08T22:55:08.577Z] $ docker rm -f --volumes 2d0b3c77acdd54cd8bfcc84beaf2ba41a45b269371d82831cf966459c4b65979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:55:09.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-08T22:55:09.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:55:09.082Z] prd-ubuntu20.04-docker-8c-8g-3147 does not seem to be running inside a container [2023-08-08T22:55:09.100Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-08T22:55:09.394Z] $ docker top 5821dc0515dd561b728b3d0d5f71f6c809311930df5e8f412d620fbc0a6c66bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-08T22:55:09.749Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-08-08T22:55:10.042Z] + make test [2023-08-08T22:55:10.042Z] go test ./... -coverprofile=coverage.out ./... [2023-08-08T22:55:15.304Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-08T22:55:25.273Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-08T22:55:25.273Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 3.4% of statements [2023-08-08T22:55:31.875Z] go vet ./... [2023-08-08T22:55:36.060Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-08T22:55:36.060Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-08T22:55:36.060Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-08T22:55:36.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-08T22:55:36.070Z] $ docker stop --time=1 5821dc0515dd561b728b3d0d5f71f6c809311930df5e8f412d620fbc0a6c66bc [2023-08-08T22:55:38.949Z] $ docker rm -f --volumes 5821dc0515dd561b728b3d0d5f71f6c809311930df5e8f412d620fbc0a6c66bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-08T22:55:39.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-08T22:55:39.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-08T22:55:39.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-08T22:55:40.275Z] + ls -al . [2023-08-08T22:55:40.275Z] total 208 [2023-08-08T22:55:40.275Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 22:55 . [2023-08-08T22:55:40.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:53 .. [2023-08-08T22:55:40.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 22:54 .git [2023-08-08T22:55:40.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:53 .github [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 8 22:53 .gitignore [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 8 22:53 .golangci.yml [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 8 22:53 .hadolint.yml [2023-08-08T22:55:40.275Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 22:54 .semver [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 8 22:53 Attribution.txt [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 8 22:53 CHANGELOG.md [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 8 22:53 Dockerfile [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 8 22:53 GOVERNANCE.md [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 8 22:53 Jenkinsfile [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 22:53 LICENSE [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 8 22:53 Makefile [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 8 22:53 OWNERS.md [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 8 22:53 README.md [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 22:54 VERSION [2023-08-08T22:55:40.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:53 bin [2023-08-08T22:55:40.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:53 cmd [2023-08-08T22:55:40.275Z] -rw-r--r-- 1 jenkins jenkins 45113 Aug 8 22:55 coverage.out [2023-08-08T22:55:40.275Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 8 22:53 docker-entrypoint.sh [2023-08-08T22:55:40.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:53 docs [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 8 22:53 go.mod [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 8 22:53 go.sum [2023-08-08T22:55:40.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:53 internal [2023-08-08T22:55:40.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:53 snap [2023-08-08T22:55:40.275Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 8 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:55:40.584Z] + 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=a3527cb1fbaf9d1f72724e42d632db8b3c36c297 --label arch=amd64 --label version=0.0.0 . [2023-08-08T22:55:40.584Z] Sending build context to Docker daemon 2.084MB [2023-08-08T22:55:40.584Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-08T22:55:40.584Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-08T22:55:40.584Z] ---> 25a5f62444ba [2023-08-08T22:55:40.584Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-08T22:55:40.584Z] ---> Running in 0716c4bafbdc [2023-08-08T22:55:40.844Z] Removing intermediate container 0716c4bafbdc [2023-08-08T22:55:40.844Z] ---> a70577f167d5 [2023-08-08T22:55:40.844Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-08T22:55:40.844Z] ---> Running in 36c32080fa10 [2023-08-08T22:55:40.844Z] Removing intermediate container 36c32080fa10 [2023-08-08T22:55:40.844Z] ---> f95d63943e4a [2023-08-08T22:55:40.844Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-08T22:55:40.844Z] ---> Running in 35a09a8eb952 [2023-08-08T22:55:41.102Z] Removing intermediate container 35a09a8eb952 [2023-08-08T22:55:41.102Z] ---> bdadc93c1238 [2023-08-08T22:55:41.102Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-08T22:55:41.102Z] ---> Running in 963aa44cb250 [2023-08-08T22:55:41.102Z] Removing intermediate container 963aa44cb250 [2023-08-08T22:55:41.102Z] ---> 49cd34f1f1aa [2023-08-08T22:55:41.102Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-08T22:55:41.102Z] ---> Running in 6019fa57f3b6 [2023-08-08T22:55:41.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-08T22:55:41.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-08T22:55:41.879Z] OK: 272 MiB in 67 packages [2023-08-08T22:55:42.448Z] Removing intermediate container 6019fa57f3b6 [2023-08-08T22:55:42.448Z] ---> a545d9454bed [2023-08-08T22:55:42.448Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-08T22:55:42.448Z] ---> Running in 9c2c6941e973 [2023-08-08T22:55:42.448Z] Removing intermediate container 9c2c6941e973 [2023-08-08T22:55:42.448Z] ---> 7cf3e22ba701 [2023-08-08T22:55:42.448Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-08T22:55:42.448Z] ---> 57b378d1bbb9 [2023-08-08T22:55:42.448Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-08T22:55:42.706Z] ---> Running in 9ca50ce046d9 [2023-08-08T22:55:43.272Z] Removing intermediate container 9ca50ce046d9 [2023-08-08T22:55:43.272Z] ---> 3b4570a91317 [2023-08-08T22:55:43.272Z] Step 11/36 : COPY . . [2023-08-08T22:55:43.531Z] ---> dd2c7e7d33a8 [2023-08-08T22:55:43.531Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-08T22:55:43.532Z] ---> Running in f37183a4569a [2023-08-08T22:55:43.791Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-08T22:55:43.791Z] Dload Upload Total Spent Left Speed [2023-08-08T22:55:43.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20902 0 --:--:-- --:--:-- --:--:-- 21240 [2023-08-08T22:55:44.726Z] Removing intermediate container f37183a4569a [2023-08-08T22:55:44.726Z] ---> 4cb58aebc4a0 [2023-08-08T22:55:44.726Z] Step 13/36 : RUN ${MAKE} [2023-08-08T22:55:44.983Z] ---> Running in 8ad11d73b974 [2023-08-08T22:55:45.550Z] 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-08T22:56:05.117Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3148 in /w/workspace/foundry_device-usb-camera_PR-268 [Pipeline] { [Pipeline] ws [2023-08-08T22:56:05.131Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-08-08T22:56:05.169Z] Selected Git installation does not exist. Using Default [2023-08-08T22:56:05.169Z] The recommended git tool is: NONE [2023-08-08T22:56:07.470Z] Removing intermediate container 8ad11d73b974 [2023-08-08T22:56:07.470Z] ---> cd504e6241e4 [2023-08-08T22:56:07.470Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-08T22:56:07.470Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-08T22:56:07.728Z] 4acc49c71d14: Pulling fs layer [2023-08-08T22:56:07.987Z] 4acc49c71d14: Verifying Checksum [2023-08-08T22:56:07.987Z] 4acc49c71d14: Download complete [2023-08-08T22:56:08.556Z] 4acc49c71d14: Pull complete [2023-08-08T22:56:08.556Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-08T22:56:08.556Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-08T22:56:08.556Z] ---> 01a2bd3e5fff [2023-08-08T22:56:08.556Z] Step 15/36 : FROM alpine:3.17 [2023-08-08T22:56:08.814Z] 3.17: Pulling from library/alpine [2023-08-08T22:56:08.814Z] 9398808236ff: Pulling fs layer [2023-08-08T22:56:09.071Z] 9398808236ff: Download complete [2023-08-08T22:56:09.329Z] 9398808236ff: Pull complete [2023-08-08T22:56:09.329Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-08T22:56:09.329Z] Status: Downloaded newer image for alpine:3.17 [2023-08-08T22:56:09.329Z] ---> 1e0b8b5322fc [2023-08-08T22:56:09.329Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-08T22:56:09.587Z] ---> Running in 717aec3b5cb2 [2023-08-08T22:56:09.587Z] Removing intermediate container 717aec3b5cb2 [2023-08-08T22:56:09.587Z] ---> eb4bf29f304e [2023-08-08T22:56:09.587Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-08T22:56:09.587Z] ---> Running in 3fc36738fa45 [2023-08-08T22:56:09.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-08T22:56:10.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-08T22:56:10.671Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-08T22:56:10.671Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-08T22:56:10.671Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-08T22:56:10.671Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-08T22:56:10.671Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-08T22:56:10.671Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-08T22:56:10.671Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-08T22:56:10.671Z] (8/86) Installing libxcb (1.15-r0) [2023-08-08T22:56:10.671Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-08T22:56:10.671Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-08T22:56:10.671Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-08T22:56:10.671Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-08T22:56:10.671Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-08T22:56:10.671Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-08T22:56:10.671Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-08T22:56:10.671Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-08T22:56:10.671Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-08T22:56:10.671Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-08T22:56:10.929Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-08T22:56:10.929Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-08T22:56:10.929Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-08T22:56:10.929Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-08T22:56:10.929Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-08T22:56:10.929Z] (24/86) Installing glib (2.74.7-r0) [2023-08-08T22:56:10.929Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-08T22:56:10.929Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-08T22:56:10.929Z] (27/86) Installing libass (0.16.0-r1) [2023-08-08T22:56:10.929Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-08T22:56:10.929Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-08T22:56:10.929Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-08T22:56:10.929Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-08T22:56:10.929Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-08T22:56:10.929Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-08T22:56:10.929Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-08T22:56:10.929Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-08T22:56:10.929Z] (36/86) Installing libunistring (1.1-r0) [2023-08-08T22:56:10.929Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-08T22:56:10.929Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-08T22:56:10.962Z] using credential edgex-jenkins-ssh [2023-08-08T22:56:10.981Z] Cloning the remote Git repository [2023-08-08T22:56:11.188Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-08T22:56:11.188Z] (40/86) Installing lame (3.100-r2) [2023-08-08T22:56:11.188Z] (41/86) Installing opus (1.3.1-r1) [2023-08-08T22:56:11.188Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-08T22:56:11.188Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-08T22:56:11.188Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-08T22:56:11.188Z] (45/86) Installing orc (0.4.33-r0) [2023-08-08T22:56:11.188Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-08T22:56:11.188Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-08T22:56:11.188Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-08T22:56:11.188Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-08T22:56:11.188Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-08T22:56:11.188Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-08T22:56:11.188Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-08T22:56:11.188Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-08T22:56:11.188Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-08T22:56:11.188Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-08T22:56:11.188Z] (56/86) Installing libpulse (16.1-r6) [2023-08-08T22:56:11.188Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-08T22:56:11.188Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-08T22:56:11.188Z] (59/86) Installing librist (0.2.7-r0) [2023-08-08T22:56:11.188Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-08T22:56:11.188Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-08T22:56:11.188Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-08T22:56:11.188Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-08T22:56:11.188Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-08T22:56:11.188Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-08T22:56:11.024Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-08T22:56:11.116Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-08-08T22:56:11.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-08T22:56:11.251Z] > git --version # timeout=10 [2023-08-08T22:56:11.272Z] > git --version # 'git version 2.25.1' [2023-08-08T22:56:11.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-08T22:56:11.446Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-08T22:56:11.446Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-08T22:56:11.446Z] (68/86) Installing libva (2.16.0-r0) [2023-08-08T22:56:11.446Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-08T22:56:11.446Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-08T22:56:11.446Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-08T22:56:11.446Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-08T22:56:11.446Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-08T22:56:11.446Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-08T22:56:11.446Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-08T22:56:11.446Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-08T22:56:11.446Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-08T22:56:11.446Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-08T22:56:11.446Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-08T22:56:11.705Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-08T22:56:11.705Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-08T22:56:11.705Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-08T22:56:11.705Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-08T22:56:11.705Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-08T22:56:11.705Z] (85/86) Installing kmod-libs (30-r1) [2023-08-08T22:56:11.705Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-08T22:56:11.705Z] Executing busybox-1.35.0-r29.trigger [2023-08-08T22:56:11.705Z] Executing eudev-3.2.11-r4.trigger [2023-08-08T22:56:11.705Z] OK: 112 MiB in 101 packages [2023-08-08T22:56:11.409Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-08T22:56:12.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-08T22:56:12.200Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-08T22:56:13.650Z] Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [2023-08-08T22:56:13.902Z] Merge succeeded, producing a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [2023-08-08T22:56:13.902Z] Checking out Revision a3527cb1fbaf9d1f72724e42d632db8b3c36c297 (PR-268) [2023-08-08T22:56:13.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-08T22:56:13.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-08T22:56:13.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-08T22:56:13.057Z] > 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-08T22:56:13.670Z] > git config core.sparsecheckout # timeout=10 [2023-08-08T22:56:13.740Z] > git checkout -f a3527cb1fbaf9d1f72724e42d632db8b3c36c297 # timeout=10 [2023-08-08T22:56:13.815Z] > git remote # timeout=10 [2023-08-08T22:56:13.831Z] > git config --get remote.origin.url # timeout=10 [2023-08-08T22:56:13.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-08T22:56:13.865Z] > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [2023-08-08T22:56:13.889Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-08T22:56:13.910Z] > git config core.sparsecheckout # timeout=10 [2023-08-08T22:56:14.250Z] Removing intermediate container 3fc36738fa45 [2023-08-08T22:56:14.250Z] ---> aaab972f0405 [2023-08-08T22:56:14.250Z] Step 18/36 : WORKDIR / [2023-08-08T22:56:14.250Z] ---> Running in aa697d4e26c5 [2023-08-08T22:56:14.250Z] Removing intermediate container aa697d4e26c5 [2023-08-08T22:56:14.250Z] ---> 85c3070e29d7 [2023-08-08T22:56:14.250Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-08T22:56:15.204Z] ---> 6b773a508041 [2023-08-08T22:56:15.204Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-08T22:56:15.204Z] ---> 635810dabdb5 [2023-08-08T22:56:15.204Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-08T22:56:15.204Z] ---> 3630a940e8f2 [2023-08-08T22:56:15.204Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-08T22:56:13.925Z] > git checkout -f a3527cb1fbaf9d1f72724e42d632db8b3c36c297 # timeout=10 [2023-08-08T22:56:15.463Z] ---> 620880249e27 [2023-08-08T22:56:15.464Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-08T22:56:15.723Z] ---> edded5cac44a [2023-08-08T22:56:15.723Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-08T22:56:15.723Z] ---> 0dc3b9091473 [2023-08-08T22:56:15.723Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-08T22:56:16.658Z] ---> 2db7e53577da [2023-08-08T22:56:16.658Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-08T22:56:16.658Z] ---> Running in 7a48f348daf4 [2023-08-08T22:56:16.917Z] Removing intermediate container 7a48f348daf4 [2023-08-08T22:56:16.917Z] ---> 28ce776ac539 [2023-08-08T22:56:16.917Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-08T22:56:16.917Z] ---> Running in 57c0cc980127 [2023-08-08T22:56:17.355Z] Commit message: "fix: Enable Rtsp server at startup" [2023-08-08T22:56:17.485Z] Removing intermediate container 57c0cc980127 [2023-08-08T22:56:17.485Z] ---> 9415bcbf26f3 [2023-08-08T22:56:17.485Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-08T22:56:17.485Z] ---> Running in c5f5720840c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-08T22:56:18.051Z] Removing intermediate container c5f5720840c8 [2023-08-08T22:56:18.051Z] ---> fa320b07892b [2023-08-08T22:56:18.051Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-08T22:56:18.051Z] ---> Running in 6c3233be5d2e [2023-08-08T22:56:18.348Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-08T22:56:18.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-08T22:56:18.348Z] Dload Upload Total Spent Left Speed [2023-08-08T22:56:18.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61898 0 --:--:-- --:--:-- --:--:-- 62200 [2023-08-08T22:56:18.616Z] Removing intermediate container 6c3233be5d2e [2023-08-08T22:56:18.616Z] ---> d586650937ae [2023-08-08T22:56:18.616Z] Step 30/36 : EXPOSE 59983 [2023-08-08T22:56:18.616Z] ---> Running in 668c4145e1c5 [2023-08-08T22:56:18.616Z] Removing intermediate container 668c4145e1c5 [2023-08-08T22:56:18.616Z] ---> 7f687e288cdc [2023-08-08T22:56:18.616Z] Step 31/36 : EXPOSE 8554 [2023-08-08T22:56:18.616Z] ---> Running in a7b00fd4ae84 [Pipeline] sh [2023-08-08T22:56:18.874Z] Removing intermediate container a7b00fd4ae84 [2023-08-08T22:56:18.874Z] ---> e502bae5ed42 [2023-08-08T22:56:18.874Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-08T22:56:18.874Z] ---> Running in a10c85969836 [2023-08-08T22:56:18.874Z] Removing intermediate container a10c85969836 [2023-08-08T22:56:18.874Z] ---> fb0b75b9b235 [2023-08-08T22:56:18.874Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-08T22:56:18.874Z] ---> Running in 50f3740ef264 [2023-08-08T22:56:18.874Z] Removing intermediate container 50f3740ef264 [2023-08-08T22:56:18.874Z] ---> 5e3041260c7c [2023-08-08T22:56:18.874Z] Step 34/36 : LABEL arch=amd64 [2023-08-08T22:56:18.874Z] ---> Running in 56fc560d8612 [2023-08-08T22:56:18.992Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-08T22:56:19.132Z] Removing intermediate container 56fc560d8612 [2023-08-08T22:56:19.132Z] ---> ca99d082e9d2 [2023-08-08T22:56:19.132Z] Step 35/36 : LABEL git_sha=a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [2023-08-08T22:56:19.132Z] ---> Running in d11308d0a414 [2023-08-08T22:56:19.132Z] Removing intermediate container d11308d0a414 [2023-08-08T22:56:19.132Z] ---> f9bf1ee79ab9 [2023-08-08T22:56:19.132Z] Step 36/36 : LABEL version=0.0.0 [2023-08-08T22:56:19.132Z] ---> Running in 38f0f7471db7 [2023-08-08T22:56:19.132Z] Removing intermediate container 38f0f7471db7 [2023-08-08T22:56:19.132Z] ---> bc3ccecd0189 [2023-08-08T22:56:19.132Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-08T22:56:19.132Z] Successfully built bc3ccecd0189 [2023-08-08T22:56:19.132Z] 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-08T22:56:19.311Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-08T22:56:19.311Z] + sudo tee /etc/docker/daemon.new [2023-08-08T22:56:19.311Z] { [2023-08-08T22:56:19.311Z] "registry-mirrors": [ [2023-08-08T22:56:19.311Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-08T22:56:19.311Z] ], [2023-08-08T22:56:19.311Z] "bip": "10.250.0.254/24", [2023-08-08T22:56:19.311Z] "hosts": [ [2023-08-08T22:56:19.311Z] "tcp://0.0.0.0:5555", [2023-08-08T22:56:19.311Z] "unix:///var/run/docker.sock" [2023-08-08T22:56:19.311Z] ], [2023-08-08T22:56:19.311Z] "mtu": 1458, [2023-08-08T22:56:19.311Z] "selinux-enabled": true, [2023-08-08T22:56:19.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-08T22:56:19.311Z] } [Pipeline] sh [2023-08-08T22:56:19.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-08T22:56:19.572Z] [2023-08-08T22:56:19.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:56:19.628Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-08T22:56:19.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-08T22:56:19.869Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-08T22:56:19.869Z] 5eb5b503b376: Pulling fs layer [2023-08-08T22:56:19.869Z] 5c69ac0246d0: Pulling fs layer [2023-08-08T22:56:19.869Z] ec43610c2a17: Pulling fs layer [2023-08-08T22:56:19.869Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-08T22:56:19.869Z] 33b1e0a273af: Pulling fs layer [2023-08-08T22:56:19.869Z] 5d3b04190fa2: Pulling fs layer [2023-08-08T22:56:19.869Z] 2f39f015ded8: Pulling fs layer [2023-08-08T22:56:19.869Z] 33b1e0a273af: Waiting [2023-08-08T22:56:19.869Z] 5d3b04190fa2: Waiting [2023-08-08T22:56:19.869Z] 2f39f015ded8: Waiting [2023-08-08T22:56:19.869Z] 3a2ae6a8a46f: Waiting [2023-08-08T22:56:19.869Z] 5c69ac0246d0: Download complete [2023-08-08T22:56:19.869Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-08T22:56:19.869Z] 3a2ae6a8a46f: Download complete [2023-08-08T22:56:19.869Z] 33b1e0a273af: Verifying Checksum [2023-08-08T22:56:19.869Z] 33b1e0a273af: Download complete [2023-08-08T22:56:19.869Z] 5d3b04190fa2: Verifying Checksum [2023-08-08T22:56:19.869Z] 5d3b04190fa2: Download complete [2023-08-08T22:56:19.869Z] ec43610c2a17: Verifying Checksum [2023-08-08T22:56:19.869Z] ec43610c2a17: Download complete [2023-08-08T22:56:19.949Z] + sudo service docker restart [2023-08-08T22:56:20.127Z] 5eb5b503b376: Verifying Checksum [2023-08-08T22:56:20.127Z] 5eb5b503b376: Download complete [2023-08-08T22:56:20.693Z] 2f39f015ded8: Download complete [2023-08-08T22:56:21.261Z] 5eb5b503b376: Pull complete [2023-08-08T22:56:21.261Z] 5c69ac0246d0: Pull complete [2023-08-08T22:56:21.830Z] ec43610c2a17: Pull complete [2023-08-08T22:56:21.830Z] 3a2ae6a8a46f: Pull complete [2023-08-08T22:56:22.089Z] 33b1e0a273af: Pull complete [2023-08-08T22:56:22.089Z] 5d3b04190fa2: Pull complete [2023-08-08T22:56:26.279Z] 2f39f015ded8: Pull complete [2023-08-08T22:56:26.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-08T22:56:26.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-08T22:56:26.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:56:26.356Z] prd-ubuntu20.04-docker-8c-8g-3147 does not seem to be running inside a container [2023-08-08T22:56:26.391Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-08T22:56:30.907Z] $ docker top 719df88572ada2b80f9d2ffc4744c6c4460cf05b24f4f1980cc18a2fd0e1ff9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-08T22:56:31.297Z] ---> job-cost.sh [2023-08-08T22:56:31.297Z] lf-activate-venv: SKIPPING [2023-08-08T22:56:31.297Z] INFO: No Stack... [2023-08-08T22:56:31.558Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-08T22:56:32.125Z] INFO: Archiving Costs [Pipeline] sh [2023-08-08T22:56:32.425Z] + cat /w/workspace/foundry_device-usb-camera_PR-268/archives/cost.csv [2023-08-08T22:56:32.425Z] + cut -d, -f6 [Pipeline] lock [2023-08-08T22:56:32.439Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [2023-08-08T22:56:32.448Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] did not exist. Created. [2023-08-08T22:56:32.448Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-08T22:56:32.754Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-08T22:56:32.787Z] Stashed 1 file(s) [Pipeline] } [2023-08-08T22:56:32.793Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-08T22:56:32.816Z] $ docker stop --time=1 719df88572ada2b80f9d2ffc4744c6c4460cf05b24f4f1980cc18a2fd0e1ff9b [2023-08-08T22:56:33.975Z] $ docker rm -f --volumes 719df88572ada2b80f9d2ffc4744c6c4460cf05b24f4f1980cc18a2fd0e1ff9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-08T22:56:42.052Z] provisioning config files... [2023-08-08T22:56:42.074Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config13789920788010366065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-08T22:56:42.408Z] ---> docker-login.sh [2023-08-08T22:56:42.408Z] nexus3.edgexfoundry.org:10001 [2023-08-08T22:56:42.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:56:42.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:56:42.943Z] Configure a credential helper to remove this warning. See [2023-08-08T22:56:42.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:56:42.943Z] [2023-08-08T22:56:42.943Z] Login Succeeded [2023-08-08T22:56:42.943Z] nexus3.edgexfoundry.org:10002 [2023-08-08T22:56:43.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:56:43.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:56:43.213Z] Configure a credential helper to remove this warning. See [2023-08-08T22:56:43.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:56:43.213Z] [2023-08-08T22:56:43.213Z] Login Succeeded [2023-08-08T22:56:43.213Z] nexus3.edgexfoundry.org:10003 [2023-08-08T22:56:43.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:56:43.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:56:43.481Z] Configure a credential helper to remove this warning. See [2023-08-08T22:56:43.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:56:43.481Z] [2023-08-08T22:56:43.749Z] Login Succeeded [2023-08-08T22:56:43.749Z] nexus3.edgexfoundry.org:10004 [2023-08-08T22:56:43.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:56:44.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:56:44.019Z] Configure a credential helper to remove this warning. See [2023-08-08T22:56:44.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:56:44.019Z] [2023-08-08T22:56:44.019Z] Login Succeeded [2023-08-08T22:56:44.019Z] docker.io [2023-08-08T22:56:44.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-08T22:56:44.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-08T22:56:44.553Z] Configure a credential helper to remove this warning. See [2023-08-08T22:56:44.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-08T22:56:44.553Z] [2023-08-08T22:56:44.553Z] Login Succeeded [2023-08-08T22:56:44.553Z] ---> docker-login.sh ends [Pipeline] } [2023-08-08T22:56:44.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-08T22:56:44.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-08T22:56:44.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-08T22:56:44.850Z] ========================================================= [2023-08-08T22:56:44.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-08T22:56:44.850Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:56:45.207Z] + 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-08T22:56:45.473Z] Sending build context to Docker daemon 1.223MB [2023-08-08T22:56:45.473Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-08T22:56:45.473Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-08T22:56:45.739Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-08T22:56:45.739Z] edb6bdbacee9: Pulling fs layer [2023-08-08T22:56:45.739Z] 5f9638ab2659: Pulling fs layer [2023-08-08T22:56:45.739Z] 8d51d6327a98: Pulling fs layer [2023-08-08T22:56:45.739Z] 8b374f2dd631: Pulling fs layer [2023-08-08T22:56:45.739Z] ec14aa9079de: Pulling fs layer [2023-08-08T22:56:45.739Z] 2f466654f4bb: Pulling fs layer [2023-08-08T22:56:45.739Z] 554e91adad29: Pulling fs layer [2023-08-08T22:56:45.739Z] 8b374f2dd631: Waiting [2023-08-08T22:56:45.739Z] ec14aa9079de: Waiting [2023-08-08T22:56:45.739Z] 2f466654f4bb: Waiting [2023-08-08T22:56:45.739Z] 554e91adad29: Waiting [2023-08-08T22:56:45.739Z] 5f9638ab2659: Verifying Checksum [2023-08-08T22:56:45.739Z] 5f9638ab2659: Download complete [2023-08-08T22:56:45.739Z] 8b374f2dd631: Verifying Checksum [2023-08-08T22:56:45.739Z] 8b374f2dd631: Download complete [2023-08-08T22:56:45.739Z] ec14aa9079de: Verifying Checksum [2023-08-08T22:56:45.739Z] ec14aa9079de: Download complete [2023-08-08T22:56:45.739Z] edb6bdbacee9: Verifying Checksum [2023-08-08T22:56:46.707Z] edb6bdbacee9: Pull complete [2023-08-08T22:56:46.975Z] 554e91adad29: Verifying Checksum [2023-08-08T22:56:46.975Z] 554e91adad29: Download complete [2023-08-08T22:56:47.245Z] 5f9638ab2659: Pull complete [2023-08-08T22:56:48.219Z] 8d51d6327a98: Verifying Checksum [2023-08-08T22:56:48.219Z] 8d51d6327a98: Download complete [2023-08-08T22:56:48.219Z] 2f466654f4bb: Verifying Checksum [2023-08-08T22:56:48.219Z] 2f466654f4bb: Download complete [2023-08-08T22:56:58.311Z] 8d51d6327a98: Pull complete [2023-08-08T22:56:58.311Z] 8b374f2dd631: Pull complete [2023-08-08T22:56:58.578Z] ec14aa9079de: Pull complete [2023-08-08T22:57:05.229Z] 2f466654f4bb: Pull complete [2023-08-08T22:57:07.816Z] 554e91adad29: Pull complete [2023-08-08T22:57:07.816Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-08T22:57:07.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-08T22:57:07.816Z] ---> 1e15ea492957 [2023-08-08T22:57:07.816Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-08T22:57:09.767Z] ---> Running in 07aad0e5408e [2023-08-08T22:57:09.767Z] Removing intermediate container 07aad0e5408e [2023-08-08T22:57:09.767Z] ---> f3e3a0b8917a [2023-08-08T22:57:09.767Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-08T22:57:09.767Z] ---> Running in b9260710ff45 [2023-08-08T22:57:10.036Z] Removing intermediate container b9260710ff45 [2023-08-08T22:57:10.036Z] ---> bb29571459a0 [2023-08-08T22:57:10.036Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-08T22:57:10.036Z] ---> Running in d493941d2777 [2023-08-08T22:57:10.304Z] Removing intermediate container d493941d2777 [2023-08-08T22:57:10.304Z] ---> 86ce7d5a3e45 [2023-08-08T22:57:10.304Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-08T22:57:10.573Z] ---> Running in 9a00034346eb [2023-08-08T22:57:10.843Z] Removing intermediate container 9a00034346eb [2023-08-08T22:57:10.843Z] ---> e5e23487444d [2023-08-08T22:57:10.843Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-08T22:57:10.843Z] ---> Running in 30f6cf22fb65 [2023-08-08T22:57:12.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-08T22:57:12.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-08T22:57:13.484Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-08T22:57:13.484Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-08T22:57:13.484Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-08T22:57:13.484Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-08T22:57:13.484Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-08T22:57:13.484Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-08T22:57:13.484Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-08T22:57:13.484Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-08T22:57:13.484Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-08T22:57:13.484Z] (10/14) Installing kmod-libs (30-r1) [2023-08-08T22:57:13.484Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-08T22:57:13.751Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-08T22:57:13.751Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-08T22:57:13.751Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-08T22:57:13.752Z] Executing busybox-1.35.0-r29.trigger [2023-08-08T22:57:13.752Z] Executing eudev-3.2.11-r4.trigger [2023-08-08T22:57:13.752Z] OK: 271 MiB in 67 packages [2023-08-08T22:57:18.003Z] Removing intermediate container 30f6cf22fb65 [2023-08-08T22:57:18.004Z] ---> af0704693438 [2023-08-08T22:57:18.004Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-08T22:57:18.004Z] ---> Running in ba0f79780468 [2023-08-08T22:57:18.004Z] Removing intermediate container ba0f79780468 [2023-08-08T22:57:18.004Z] ---> c8498e725598 [2023-08-08T22:57:18.004Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-08T22:57:18.004Z] ---> f578a991c6fc [2023-08-08T22:57:18.004Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-08T22:57:18.273Z] ---> Running in d849be08ccac [2023-08-08T22:58:15.683Z] Removing intermediate container d849be08ccac [2023-08-08T22:58:15.683Z] ---> 2d13223cba60 [2023-08-08T22:58:15.683Z] Step 11/13 : COPY . . [2023-08-08T22:58:15.683Z] ---> 68d4291f495e [2023-08-08T22:58:15.683Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-08T22:58:15.683Z] ---> Running in 5ef6038ac1e9 [2023-08-08T22:58:15.683Z]  % Total % Received % Xferd Average Speed  Time Time Time Current [2023-08-08T22:58:15.683Z]  Dload Upload Total Spent  Left Speed [2023-08-08T22:58:15.948Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4392 0 --:--:-- --:--:-- --:--:-- 4406 [2023-08-08T22:58:16.534Z] Removing intermediate container 5ef6038ac1e9 [2023-08-08T22:58:16.534Z] ---> e13472174192 [2023-08-08T22:58:16.534Z] Step 13/13 : RUN ${MAKE} [2023-08-08T22:58:16.534Z] ---> Running in f383ed19861b [2023-08-08T22:58:17.497Z] noop [2023-08-08T22:58:18.081Z] Removing intermediate container f383ed19861b [2023-08-08T22:58:18.081Z] ---> ee2e5145f921 [2023-08-08T22:58:18.081Z] Successfully built ee2e5145f921 [2023-08-08T22:58:18.081Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:58:18.432Z] + docker inspect -f . ci-base-image-arm64 [2023-08-08T22:58:18.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:58:18.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-3148 does not seem to be running inside a container [2023-08-08T22:58:18.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** ci-base-image-arm64 cat [2023-08-08T22:58:19.894Z] $ docker top 5ff2aee41c1fb29ea27063b8591311bfad901ea76a20355497d0056ec7881190 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-08T22:58:20.706Z] + go version [2023-08-08T22:58:20.706Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-08T22:58:20.727Z] $ docker stop --time=1 5ff2aee41c1fb29ea27063b8591311bfad901ea76a20355497d0056ec7881190 [2023-08-08T22:58:23.131Z] $ docker rm -f --volumes 5ff2aee41c1fb29ea27063b8591311bfad901ea76a20355497d0056ec7881190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T22:58:23.684Z] + docker inspect -f . ci-base-image-arm64 [2023-08-08T22:58:23.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T22:58:23.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-3148 does not seem to be running inside a container [2023-08-08T22:58:23.919Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** ci-base-image-arm64 cat [2023-08-08T22:58:25.033Z] $ docker top 638dae1369999f17b90aabb5f7da753bd4559ddc910b707d6c244d81da6e64fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-08T22:58:25.523Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-08-08T22:58:25.860Z] + make test [2023-08-08T22:58:26.133Z] go test ./... -coverprofile=coverage.out ./... [2023-08-08T22:58:58.373Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-08T23:00:50.213Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-08T23:00:52.796Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.088s coverage: 3.4% of statements [2023-08-08T23:00:53.065Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-08T23:00:53.065Z] go vet ./... [2023-08-08T23:01:19.736Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-08T23:01:19.736Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-08T23:01:19.736Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-08T23:01:19.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-08T23:01:19.770Z] $ docker stop --time=1 638dae1369999f17b90aabb5f7da753bd4559ddc910b707d6c244d81da6e64fb [2023-08-08T23:01:21.599Z] $ docker rm -f --volumes 638dae1369999f17b90aabb5f7da753bd4559ddc910b707d6c244d81da6e64fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-08T23:01:22.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-08T23:01:22.689Z] Warning: overwriting stash ‘coverage-report’ [2023-08-08T23:01:23.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-08T23:01:23.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-08T23:01:23.805Z] + ls -al . [2023-08-08T23:01:23.805Z] total 204 [2023-08-08T23:01:23.805Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 22:58 . [2023-08-08T23:01:23.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:56 .. [2023-08-08T23:01:23.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 22:56 .git [2023-08-08T23:01:23.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:56 .github [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 8 22:56 .gitignore [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 8 22:56 .golangci.yml [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 8 22:56 .hadolint.yml [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 8 22:56 Attribution.txt [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 8 22:56 CHANGELOG.md [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 8 22:56 Dockerfile [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 8 22:56 GOVERNANCE.md [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 8 22:56 Jenkinsfile [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 22:56 LICENSE [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 8 22:56 Makefile [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 8 22:56 OWNERS.md [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 8 22:56 README.md [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 22:54 VERSION [2023-08-08T23:01:23.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:56 bin [2023-08-08T23:01:23.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:56 cmd [2023-08-08T23:01:23.805Z] -rw-r--r-- 1 jenkins jenkins 45113 Aug 8 23:00 coverage.out [2023-08-08T23:01:23.805Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 8 22:56 docker-entrypoint.sh [2023-08-08T23:01:23.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:56 docs [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 8 22:56 go.mod [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 8 22:56 go.sum [2023-08-08T23:01:23.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:56 internal [2023-08-08T23:01:23.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:56 snap [2023-08-08T23:01:23.805Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 8 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T23:01:24.135Z] + 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=a3527cb1fbaf9d1f72724e42d632db8b3c36c297 --label arch=arm64 --label version=0.0.0 . [2023-08-08T23:01:24.401Z] Sending build context to Docker daemon 1.269MB [2023-08-08T23:01:24.401Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-08T23:01:24.401Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-08T23:01:24.401Z] ---> ee2e5145f921 [2023-08-08T23:01:24.401Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-08T23:01:24.668Z] ---> Running in 49f9908fe87f [2023-08-08T23:01:24.668Z] Removing intermediate container 49f9908fe87f [2023-08-08T23:01:24.668Z] ---> a8f7e0d00767 [2023-08-08T23:01:24.668Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-08T23:01:24.933Z] ---> Running in f858ef2e42c5 [2023-08-08T23:01:25.200Z] Removing intermediate container f858ef2e42c5 [2023-08-08T23:01:25.200Z] ---> fd3ff634d26d [2023-08-08T23:01:25.200Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-08T23:01:25.200Z] ---> Running in 30292aa648fd [2023-08-08T23:01:25.468Z] Removing intermediate container 30292aa648fd [2023-08-08T23:01:25.468Z] ---> 5dd666e4b8d0 [2023-08-08T23:01:25.468Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-08T23:01:25.468Z] ---> Running in 006b540277a8 [2023-08-08T23:01:25.735Z] Removing intermediate container 006b540277a8 [2023-08-08T23:01:25.735Z] ---> 5e458fcfa4fe [2023-08-08T23:01:25.735Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-08T23:01:26.002Z] ---> Running in f9ef3739a04b [2023-08-08T23:01:26.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-08T23:01:27.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-08T23:01:28.503Z] OK: 271 MiB in 67 packages [2023-08-08T23:01:31.078Z] Removing intermediate container f9ef3739a04b [2023-08-08T23:01:31.078Z] ---> 7fd995265698 [2023-08-08T23:01:31.078Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-08T23:01:31.078Z] ---> Running in 459aae69525b [2023-08-08T23:01:31.078Z] Removing intermediate container 459aae69525b [2023-08-08T23:01:31.078Z] ---> 874d33e7b73c [2023-08-08T23:01:31.078Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-08T23:01:31.661Z] ---> e99d76091ce4 [2023-08-08T23:01:31.661Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-08T23:01:31.661Z] ---> Running in ab4a6a0f7461 [2023-08-08T23:01:34.238Z] Removing intermediate container ab4a6a0f7461 [2023-08-08T23:01:34.238Z] ---> 0973a2646e1a [2023-08-08T23:01:34.238Z] Step 11/36 : COPY . . [2023-08-08T23:01:34.834Z] ---> 2dfc82873f8f [2023-08-08T23:01:34.834Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-08T23:01:34.834Z] ---> Running in 97f6b6444edb [2023-08-08T23:01:35.789Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-08T23:01:35.789Z]   Dload Upload Total Spent Left Speed [2023-08-08T23:01:36.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100 1062 0 0 3152 0 --:--:-- --:--:-- --:--:-- 3151 100 1062 100 1062  0 0 3104 0 --:--:-- --:--:-- --:--:-- 3105 [2023-08-08T23:01:37.015Z] Removing intermediate container 97f6b6444edb [2023-08-08T23:01:37.015Z] ---> ff753275d793 [2023-08-08T23:01:37.015Z] Step 13/36 : RUN ${MAKE} [2023-08-08T23:01:37.015Z] ---> Running in e355a2000653 [2023-08-08T23:01:37.596Z] 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-08T23:04:14.265Z] Removing intermediate container e355a2000653 [2023-08-08T23:04:14.265Z] ---> 92e21dd080c5 [2023-08-08T23:04:14.265Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-08T23:04:14.265Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-08T23:04:14.265Z] 8766b47fe142: Pulling fs layer [2023-08-08T23:04:14.265Z] 8766b47fe142: Verifying Checksum [2023-08-08T23:04:14.265Z] 8766b47fe142: Download complete [2023-08-08T23:04:14.265Z] 8766b47fe142: Pull complete [2023-08-08T23:04:14.265Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-08T23:04:14.265Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-08T23:04:14.265Z] ---> 69d40e2cb93c [2023-08-08T23:04:14.265Z] Step 15/36 : FROM alpine:3.17 [2023-08-08T23:04:14.265Z] 3.17: Pulling from library/alpine [2023-08-08T23:04:14.265Z] 4060ece20d7a: Pulling fs layer [2023-08-08T23:04:14.265Z] 4060ece20d7a: Verifying Checksum [2023-08-08T23:04:14.265Z] 4060ece20d7a: Download complete [2023-08-08T23:04:14.265Z] 4060ece20d7a: Pull complete [2023-08-08T23:04:14.265Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-08T23:04:14.265Z] Status: Downloaded newer image for alpine:3.17 [2023-08-08T23:04:14.265Z] ---> 8650cd65339b [2023-08-08T23:04:14.265Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-08T23:04:14.265Z] ---> Running in f5d659f5984d [2023-08-08T23:04:14.265Z] Removing intermediate container f5d659f5984d [2023-08-08T23:04:14.265Z] ---> 02daa35cef8a [2023-08-08T23:04:14.265Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-08T23:04:14.265Z] ---> Running in 3cd018704278 [2023-08-08T23:04:14.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-08T23:04:14.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-08T23:04:14.265Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-08T23:04:14.265Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-08T23:04:14.265Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-08T23:04:14.265Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-08T23:04:14.265Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-08T23:04:14.265Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-08T23:04:14.265Z] (7/83) Installing libxcb (1.15-r0) [2023-08-08T23:04:14.265Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-08T23:04:14.265Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-08T23:04:14.265Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-08T23:04:14.265Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-08T23:04:14.265Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-08T23:04:14.265Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-08T23:04:14.265Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-08T23:04:14.265Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-08T23:04:14.265Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-08T23:04:14.265Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-08T23:04:14.265Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-08T23:04:14.265Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-08T23:04:14.265Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-08T23:04:14.265Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-08T23:04:14.265Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-08T23:04:14.265Z] (23/83) Installing glib (2.74.7-r0) [2023-08-08T23:04:14.265Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-08T23:04:14.266Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-08T23:04:14.266Z] (26/83) Installing libass (0.16.0-r1) [2023-08-08T23:04:14.266Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-08T23:04:14.266Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-08T23:04:14.266Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-08T23:04:14.266Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-08T23:04:14.266Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-08T23:04:14.266Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-08T23:04:14.266Z] (33/83) Installing libunistring (1.1-r0) [2023-08-08T23:04:14.266Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-08T23:04:14.266Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-08T23:04:14.266Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-08T23:04:14.266Z] (37/83) Installing lame (3.100-r2) [2023-08-08T23:04:14.266Z] (38/83) Installing opus (1.3.1-r1) [2023-08-08T23:04:14.530Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-08T23:04:14.530Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-08T23:04:14.530Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-08T23:04:14.530Z] (42/83) Installing orc (0.4.33-r0) [2023-08-08T23:04:14.530Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-08T23:04:14.530Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-08T23:04:14.530Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-08T23:04:14.530Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-08T23:04:14.530Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-08T23:04:14.530Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-08T23:04:14.530Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-08T23:04:14.530Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-08T23:04:14.530Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-08T23:04:14.530Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-08T23:04:14.530Z] (53/83) Installing libpulse (16.1-r6) [2023-08-08T23:04:14.794Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-08T23:04:14.794Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-08T23:04:14.795Z] (56/83) Installing librist (0.2.7-r0) [2023-08-08T23:04:14.795Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-08T23:04:14.795Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-08T23:04:14.795Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-08T23:04:14.795Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-08T23:04:14.795Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-08T23:04:14.795Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-08T23:04:14.795Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-08T23:04:14.795Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-08T23:04:14.795Z] (65/83) Installing libva (2.16.0-r0) [2023-08-08T23:04:14.795Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-08T23:04:14.795Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-08T23:04:14.795Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-08T23:04:15.059Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-08T23:04:15.059Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-08T23:04:15.059Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-08T23:04:15.059Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-08T23:04:15.059Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-08T23:04:15.323Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-08T23:04:15.323Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-08T23:04:15.323Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-08T23:04:15.595Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-08T23:04:15.595Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-08T23:04:15.595Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-08T23:04:15.595Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-08T23:04:15.595Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-08T23:04:15.595Z] (82/83) Installing kmod-libs (30-r1) [2023-08-08T23:04:15.595Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-08T23:04:15.859Z] Executing busybox-1.35.0-r29.trigger [2023-08-08T23:04:15.859Z] Executing eudev-3.2.11-r4.trigger [2023-08-08T23:04:15.859Z] OK: 86 MiB in 98 packages [2023-08-08T23:04:19.195Z] Removing intermediate container 3cd018704278 [2023-08-08T23:04:19.195Z] ---> d07515528ab2 [2023-08-08T23:04:19.195Z] Step 18/36 : WORKDIR / [2023-08-08T23:04:19.195Z] ---> Running in 20bfd9510064 [2023-08-08T23:04:19.195Z] Removing intermediate container 20bfd9510064 [2023-08-08T23:04:19.195Z] ---> 0c8f75a518a8 [2023-08-08T23:04:19.195Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-08T23:04:20.155Z] ---> 14d1623875eb [2023-08-08T23:04:20.155Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-08T23:04:20.742Z] ---> 51c8f1bcd413 [2023-08-08T23:04:20.742Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-08T23:04:23.803Z] ---> 6bb15f2244a5 [2023-08-08T23:04:23.803Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-08T23:04:24.072Z] ---> 42f09fc278f6 [2023-08-08T23:04:24.072Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-08T23:04:24.657Z] ---> 06de8a538354 [2023-08-08T23:04:24.657Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-08T23:04:24.923Z] ---> f51f846698a8 [2023-08-08T23:04:24.923Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-08T23:04:26.325Z] ---> ef5f6caf3c65 [2023-08-08T23:04:26.325Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-08T23:04:26.325Z] ---> Running in a5a686473222 [2023-08-08T23:04:27.733Z] Removing intermediate container a5a686473222 [2023-08-08T23:04:27.733Z] ---> 12ace9bd6a1c [2023-08-08T23:04:27.733Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-08T23:04:27.733Z] ---> Running in 9aaa97cb43aa [2023-08-08T23:04:29.141Z] Removing intermediate container 9aaa97cb43aa [2023-08-08T23:04:29.141Z] ---> 1df79f9b369c [2023-08-08T23:04:29.141Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-08T23:04:29.408Z] ---> Running in 87cd40b23327 [2023-08-08T23:04:30.814Z] Removing intermediate container 87cd40b23327 [2023-08-08T23:04:30.814Z] ---> 6af81c11a4c3 [2023-08-08T23:04:30.814Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-08T23:04:30.814Z] ---> Running in e387e927056c [2023-08-08T23:04:32.218Z] Removing intermediate container e387e927056c [2023-08-08T23:04:32.218Z] ---> 8476749bfd13 [2023-08-08T23:04:32.218Z] Step 30/36 : EXPOSE 59983 [2023-08-08T23:04:32.218Z] ---> Running in 3a2462d7d06d [2023-08-08T23:04:32.485Z] Removing intermediate container 3a2462d7d06d [2023-08-08T23:04:32.485Z] ---> 6b2cf89b7681 [2023-08-08T23:04:32.485Z] Step 31/36 : EXPOSE 8554 [2023-08-08T23:04:32.753Z] ---> Running in 1d107b695e1a [2023-08-08T23:04:33.019Z] Removing intermediate container 1d107b695e1a [2023-08-08T23:04:33.019Z] ---> 34f9e67002a6 [2023-08-08T23:04:33.019Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-08T23:04:33.019Z] ---> Running in 90002c01e121 [2023-08-08T23:04:33.286Z] Removing intermediate container 90002c01e121 [2023-08-08T23:04:33.286Z] ---> d849b014fb2d [2023-08-08T23:04:33.286Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-08T23:04:33.286Z] ---> Running in e14dcb32cb3b [2023-08-08T23:04:33.552Z] Removing intermediate container e14dcb32cb3b [2023-08-08T23:04:33.552Z] ---> b58d4520979d [2023-08-08T23:04:33.552Z] Step 34/36 : LABEL arch=arm64 [2023-08-08T23:04:33.552Z] ---> Running in 88a94790620b [2023-08-08T23:04:33.818Z] Removing intermediate container 88a94790620b [2023-08-08T23:04:33.818Z] ---> bfed11f43445 [2023-08-08T23:04:33.818Z] Step 35/36 : LABEL git_sha=a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [2023-08-08T23:04:33.818Z] ---> Running in 4895bf1c049c [2023-08-08T23:04:34.085Z] Removing intermediate container 4895bf1c049c [2023-08-08T23:04:34.085Z] ---> 8761fdd94c0d [2023-08-08T23:04:34.085Z] Step 36/36 : LABEL version=0.0.0 [2023-08-08T23:04:34.351Z] ---> Running in 6c6fc6a94590 [2023-08-08T23:04:34.616Z] Removing intermediate container 6c6fc6a94590 [2023-08-08T23:04:34.616Z] ---> fb18e13f92d4 [2023-08-08T23:04:34.616Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-08T23:04:34.616Z] Successfully built fb18e13f92d4 [2023-08-08T23:04:34.616Z] 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-08T23:04:35.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-08T23:04:35.029Z] [2023-08-08T23:04:35.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T23:04:35.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-08T23:04:35.355Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-08T23:04:35.355Z] 8998bd30e6a1: Pulling fs layer [2023-08-08T23:04:35.355Z] 04944245beec: Pulling fs layer [2023-08-08T23:04:35.355Z] 699f458cf7ca: Pulling fs layer [2023-08-08T23:04:35.355Z] 765212b225bb: Pulling fs layer [2023-08-08T23:04:35.355Z] f23df028b6ca: Pulling fs layer [2023-08-08T23:04:35.355Z] d65c8cfc05b1: Pulling fs layer [2023-08-08T23:04:35.355Z] 2437ff75d9bd: Pulling fs layer [2023-08-08T23:04:35.355Z] 765212b225bb: Waiting [2023-08-08T23:04:35.355Z] f23df028b6ca: Waiting [2023-08-08T23:04:35.356Z] d65c8cfc05b1: Waiting [2023-08-08T23:04:35.356Z] 2437ff75d9bd: Waiting [2023-08-08T23:04:35.623Z] 04944245beec: Verifying Checksum [2023-08-08T23:04:35.623Z] 04944245beec: Download complete [2023-08-08T23:04:35.623Z] 765212b225bb: Verifying Checksum [2023-08-08T23:04:35.623Z] 765212b225bb: Download complete [2023-08-08T23:04:35.623Z] f23df028b6ca: Verifying Checksum [2023-08-08T23:04:35.623Z] f23df028b6ca: Download complete [2023-08-08T23:04:35.623Z] d65c8cfc05b1: Verifying Checksum [2023-08-08T23:04:35.623Z] d65c8cfc05b1: Download complete [2023-08-08T23:04:35.891Z] 699f458cf7ca: Verifying Checksum [2023-08-08T23:04:35.891Z] 699f458cf7ca: Download complete [2023-08-08T23:04:36.158Z] 8998bd30e6a1: Download complete [2023-08-08T23:04:38.096Z] 2437ff75d9bd: Verifying Checksum [2023-08-08T23:04:38.096Z] 2437ff75d9bd: Download complete [2023-08-08T23:04:40.047Z] 8998bd30e6a1: Pull complete [2023-08-08T23:04:40.312Z] 04944245beec: Pull complete [2023-08-08T23:04:41.731Z] 699f458cf7ca: Pull complete [2023-08-08T23:04:41.731Z] 765212b225bb: Pull complete [2023-08-08T23:04:42.324Z] f23df028b6ca: Pull complete [2023-08-08T23:04:42.591Z] d65c8cfc05b1: Pull complete [2023-08-08T23:04:57.575Z] 2437ff75d9bd: Pull complete [2023-08-08T23:04:57.575Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-08T23:04:57.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-08T23:04:57.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T23:04:57.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-3148 does not seem to be running inside a container [2023-08-08T23:04:57.822Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-08T23:05:00.205Z] $ docker top 974a158fcf084431a79f9976553dea44f431efdb4a6bb9970c3d4362289048f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:01.021Z] ---> job-cost.sh [2023-08-08T23:05:01.021Z] lf-activate-venv: SKIPPING [2023-08-08T23:05:01.021Z] INFO: No Stack... [2023-08-08T23:05:01.287Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-08T23:05:02.246Z] INFO: Archiving Costs [Pipeline] sh [2023-08-08T23:05:02.563Z] + cut -d, -f6 [2023-08-08T23:05:02.563Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock [2023-08-08T23:05:02.601Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [2023-08-08T23:05:02.606Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] did not exist. Created. [2023-08-08T23:05:02.606Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-08T23:05:02.937Z] /w/workspace/device-usb-camera/2@tmp/durable-73b496bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-08T23:05:03.269Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-08T23:05:03.286Z] Warning: overwriting stash ‘stack-cost’ [2023-08-08T23:05:03.340Z] Stashed 1 file(s) [Pipeline] } [2023-08-08T23:05:03.367Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-08T23:05:03.390Z] $ docker stop --time=1 974a158fcf084431a79f9976553dea44f431efdb4a6bb9970c3d4362289048f7 [2023-08-08T23:05:05.065Z] $ docker rm -f --volumes 974a158fcf084431a79f9976553dea44f431efdb4a6bb9970c3d4362289048f7 [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-08T23:05:05.471Z] provisioning config files... [2023-08-08T23:05:05.476Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config6396457749249036603tmp [Pipeline] { [Pipeline] sh [2023-08-08T23:05:05.774Z] + set +x [2023-08-08T23:05:05.774Z] + curl -s https://codecov.io/bash [2023-08-08T23:05:05.774Z] + bash -s -- [2023-08-08T23:05:05.774Z] [2023-08-08T23:05:05.774Z] _____ _ [2023-08-08T23:05:05.774Z] / ____| | | [2023-08-08T23:05:05.774Z] | | ___ __| | ___ ___ _____ __ [2023-08-08T23:05:05.774Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-08T23:05:05.774Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-08T23:05:05.774Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-08T23:05:05.774Z] Bash-1.0.6 [2023-08-08T23:05:05.774Z] [2023-08-08T23:05:05.774Z] [2023-08-08T23:05:05.774Z] ==> git version 2.25.1 found [2023-08-08T23:05:05.774Z] ==> 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-08T23:05:05.774Z] Release-Date: 2020-01-08 [2023-08-08T23:05:05.774Z] 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-08T23:05:05.774Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-08T23:05:05.774Z] ==> Jenkins CI detected. [2023-08-08T23:05:05.774Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-268 [2023-08-08T23:05:05.774Z] project root: . [2023-08-08T23:05:05.774Z] --> token set from env [2023-08-08T23:05:05.774Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-08T23:05:05.774Z] ==> Running gcov in . (disable via -X gcov) [2023-08-08T23:05:05.774Z] ==> Python coveragepy not found [2023-08-08T23:05:05.774Z] ==> Searching for coverage reports in: [2023-08-08T23:05:05.774Z] + . [2023-08-08T23:05:05.774Z] -> Found 1 reports [2023-08-08T23:05:05.774Z] ==> Detecting git/mercurial file structure [2023-08-08T23:05:05.774Z] ==> Reading reports [2023-08-08T23:05:05.774Z] + ./coverage.out bytes=45113 [2023-08-08T23:05:05.774Z] ==> Appending adjustments [2023-08-08T23:05:05.774Z] https://docs.codecov.io/docs/fixing-reports [2023-08-08T23:05:06.034Z] + Found adjustments [2023-08-08T23:05:06.034Z] ==> Gzipping contents [2023-08-08T23:05:06.034Z] 8.0K /tmp/codecov.9xSRwz.gz [2023-08-08T23:05:06.034Z] ==> Uploading reports [2023-08-08T23:05:06.034Z] url: https://codecov.io [2023-08-08T23:05:06.034Z] query: branch=PR-268&commit=a3527cb1fbaf9d1f72724e42d632db8b3c36c297&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-08T23:05:06.034Z] -> Pinging Codecov [2023-08-08T23:05:06.035Z] 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=a3527cb1fbaf9d1f72724e42d632db8b3c36c297&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-08-08T23:05:06.035Z] -> Uploading to [2023-08-08T23:05:06.035Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-08/73D8F5FF140700D3E01443B452E23636/a3527cb1fbaf9d1f72724e42d632db8b3c36c297/432dcaf3-2a57-4a9d-bff4-264ad5069b48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230808T230505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f6a7d08a60528fd1c0d7d4d28f2f8d8153500544bfcafad395329b7ad4d90ab [2023-08-08T23:05:06.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-08T23:05:06.292Z] Dload Upload Total Spent Left Speed [2023-08-08T23:05:06.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5928 0 0 100 5928 0 25442 --:--:-- --:--:-- --:--:-- 25442 [2023-08-08T23:05:06.292Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a3527cb1fbaf9d1f72724e42d632db8b3c36c297 [Pipeline] } [2023-08-08T23:05:06.298Z] 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-08T23:05:07.002Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-268/archives ] [2023-08-08T23:05:07.002Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-08T23:05:07.002Z] total 16 [2023-08-08T23:05:07.002Z] drwxr-xr-x 3 root root 4096 Aug 8 22:56 . [2023-08-08T23:05:07.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 22:56 .. [2023-08-08T23:05:07.002Z] drwxr-xr-x 2 root root 4096 Aug 8 22:56 cost [2023-08-08T23:05:07.002Z] -rw-r--r-- 1 root root 89 Aug 8 22:56 cost.csv [2023-08-08T23:05:07.002Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-08T23:05:07.002Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-268/archives [2023-08-08T23:05:07.002Z] total 16 [2023-08-08T23:05:07.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 22:56 . [2023-08-08T23:05:07.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 22:56 .. [2023-08-08T23:05:07.002Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 22:56 cost [2023-08-08T23:05:07.002Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 8 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:07.292Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:08.153Z] ---> package-listing.sh [2023-08-08T23:05:08.153Z] ++ facter osfamily [2023-08-08T23:05:08.153Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-08T23:05:08.412Z] + OS_FAMILY=debian [2023-08-08T23:05:08.412Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-268 [2023-08-08T23:05:08.412Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-08T23:05:08.412Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-08T23:05:08.412Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-08T23:05:08.412Z] + PACKAGES=/tmp/packages_start.txt [2023-08-08T23:05:08.412Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-08T23:05:08.412Z] + PACKAGES=/tmp/packages_end.txt [2023-08-08T23:05:08.412Z] + case "${OS_FAMILY}" in [2023-08-08T23:05:08.412Z] + dpkg -l [2023-08-08T23:05:08.412Z] + grep '^ii' [2023-08-08T23:05:08.412Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-08T23:05:08.412Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-08T23:05:08.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-08T23:05:08.412Z] + '[' /w/workspace/foundry_device-usb-camera_PR-268 ']' [2023-08-08T23:05:08.412Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-268/archives/ [2023-08-08T23:05:08.412Z] + 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-08T23:05:08.423Z] 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-08T23:05:08.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-08T23:05:09.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-08T23:05:09.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-08T23:05:09.078Z] prd-ubuntu20.04-docker-8c-8g-3147 does not seem to be running inside a container [2023-08-08T23:05:09.134Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-08T23:05:09.328Z] $ docker top b99e11e829aff8281ce56f98d5800a893b1843439dd614478ecb3a232773e614 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-08T23:05:09.643Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-08T23:05:09.929Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-08T23:05:10.212Z] + ls /var/log/sa-host [2023-08-08T23:05:10.213Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-08T23:05:10.382Z] provisioning config files... [2023-08-08T23:05:10.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-268@tmp/config13773966267165267417tmp [Pipeline] { [Pipeline] echo [2023-08-08T23:05:10.403Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:10.686Z] ---> create-netrc.sh [Pipeline] } [2023-08-08T23:05:10.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:11.014Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-08T23:05:11.024Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:11.307Z] ---> sudo-logs.sh [2023-08-08T23:05:11.307Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-08T23:05:11.334Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:11.617Z] ---> job-cost.sh [2023-08-08T23:05:11.617Z] lf-activate-venv: SKIPPING [2023-08-08T23:05:11.617Z] DEBUG: total: 0.2199999988079071 [2023-08-08T23:05:11.617Z] INFO: Retrieving Stack Cost... [2023-08-08T23:05:12.184Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-08T23:05:12.751Z] INFO: Archiving Costs [Pipeline] echo [2023-08-08T23:05:12.763Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-08T23:05:13.045Z] ---> logs-deploy.sh [2023-08-08T23:05:13.045Z] lf-activate-venv: SKIPPING [2023-08-08T23:05:13.045Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-268/2 [2023-08-08T23:05:13.045Z] INFO: archiving workspace using pattern(s): [2023-08-08T23:05:13.988Z] Archives upload complete. [2023-08-08T23:05:14.247Z] INFO: archiving logs to Nexus [2023-08-08T23:05:14.823Z] ---> uname -a: [2023-08-08T23:05:14.823Z] Linux prd-ubuntu20-04-docker-8c-8g-3147 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-08T23:05:14.823Z] [2023-08-08T23:05:14.823Z]