Pull request #270 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 860b2ed41c63812ea8e78996a55d34ef8e22b126 rather than 51f67e7e52f071f146f626876fa585e5943d009e Obtained Jenkinsfile from 860b2ed41c63812ea8e78996a55d34ef8e22b126 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-ssh7147398778526803532.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14397284018274307020.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9482245769290062910.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14902797383074947109.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5195472771327270603.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4308 in /w/workspace/foundry_device-usb-camera_PR-270 [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-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 860b2ed41c63812ea8e78996a55d34ef8e22b126 into PR head commit 51f67e7e52f071f146f626876fa585e5943d009e Merge succeeded, producing 4299941a1a63411b543e49b3673952e85509849f Checking out Revision 4299941a1a63411b543e49b3673952e85509849f (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 51f67e7e52f071f146f626876fa585e5943d009e # 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 860b2ed41c63812ea8e78996a55d34ef8e22b126 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4299941a1a63411b543e49b3673952e85509849f # timeout=10 Commit message: "Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk df6d1df61b071468b4ceb914a037078395033e0f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-22T22:50:59.563Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-22T22:50:59.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-22T22:50:59.642Z] ========================================================= [2023-08-22T22:50:59.642Z] EdgeX Global Pipelines Version Info [2023-08-22T22:50:59.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-22T22:51:00.350Z] ------------------- [2023-08-22T22:51:00.350Z] stable info: [2023-08-22T22:51:00.350Z] ------------------- [2023-08-22T22:51:00.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-22T22:51:00.350Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T22:51:00.350Z] Message: update stable to v1.0.253 [2023-08-22T22:51:00.920Z] ------------------- [2023-08-22T22:51:00.920Z] experimental info: [2023-08-22T22:51:00.920Z] ------------------- [2023-08-22T22:51:00.920Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-22T22:51:00.920Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T22:51:00.920Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-22T22:51:01.085Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-22T22:51:01.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-22T22:51:01.105Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-22T22:51:01.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-22T22:51:01.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-22T22:51:01.131Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-22T22:51:01.140Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-22T22:51:01.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-22T22:51:01.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-22T22:51:01.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-22T22:51:01.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-22T22:51:01.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-22T22:51:01.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-22T22:51:01.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-22T22:51:01.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T22:51:01.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T22:51:01.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T22:51:01.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T22:51:01.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-22T22:51:01.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-22T22:51:01.293Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-22T22:51:01.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-22T22:51:01.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-22T22:51:01.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-22T22:51:01.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-22T22:51:01.365Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-22T22:51:01.375Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-22T22:51:01.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo [2023-08-22T22:51:01.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo [2023-08-22T22:51:01.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo [2023-08-22T22:51:01.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4299941a1a63411b543e49b3673952e85509849f [Pipeline] echo [2023-08-22T22:51:01.435Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4299941 [Pipeline] echo [2023-08-22T22:51:01.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T22:51:01.489Z] provisioning config files... [2023-08-22T22:51:01.562Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config2813226999514800281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T22:51:01.876Z] ---> docker-login.sh [2023-08-22T22:51:01.876Z] nexus3.edgexfoundry.org:10001 [2023-08-22T22:51:02.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:02.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:02.399Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:02.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:02.399Z] [2023-08-22T22:51:02.399Z] Login Succeeded [2023-08-22T22:51:02.399Z] nexus3.edgexfoundry.org:10002 [2023-08-22T22:51:02.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:02.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:02.399Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:02.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:02.399Z] [2023-08-22T22:51:02.399Z] Login Succeeded [2023-08-22T22:51:02.399Z] nexus3.edgexfoundry.org:10003 [2023-08-22T22:51:02.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:02.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:02.659Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:02.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:02.659Z] [2023-08-22T22:51:02.659Z] Login Succeeded [2023-08-22T22:51:02.659Z] nexus3.edgexfoundry.org:10004 [2023-08-22T22:51:02.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:02.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:02.659Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:02.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:02.659Z] [2023-08-22T22:51:02.659Z] Login Succeeded [2023-08-22T22:51:02.659Z] docker.io [2023-08-22T22:51:02.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:02.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:02.920Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:02.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:02.920Z] [2023-08-22T22:51:02.920Z] Login Succeeded [2023-08-22T22:51:02.920Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T22:51:02.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-22T22:51:03.293Z] + git rev-list -1 --merges 4299941a1a63411b543e49b3673952e85509849f~1..4299941a1a63411b543e49b3673952e85509849f [Pipeline] echo [2023-08-22T22:51:03.341Z] -----------> git rev-list -1 --merges 4299941a1a63411b543e49b3673952e85509849f~1..4299941a1a63411b543e49b3673952e85509849f 4299941a1a63411b543e49b3673952e85509849f [2023-08-22T22:51:03.341Z] 4299941a1a63411b543e49b3673952e85509849f [false] [Pipeline] sh [2023-08-22T22:51:03.633Z] + git log --format=format:%s -1 4299941a1a63411b543e49b3673952e85509849f [Pipeline] echo [2023-08-22T22:51:03.649Z] ========================================================= [2023-08-22T22:51:03.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-22T22:51:03.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T22:51:03.972Z] + git log --format=format:%s -1 4299941a1a63411b543e49b3673952e85509849f [Pipeline] echo [2023-08-22T22:51:03.982Z] [semverPrep] GIT_COMMIT: 4299941a1a63411b543e49b3673952e85509849f, Commit Message: Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD [Pipeline] echo [2023-08-22T22:51:03.992Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-22T22:51:04.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T22:51:04.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-22T22:51:04.365Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-22T22:51:04.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-22T22:51:04.365Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-22T22:51:04.365Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-22T22:51:04.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:51:04.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T22:51:04.786Z] [2023-08-22T22:51:04.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:51:05.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T22:51:05.087Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-22T22:51:05.087Z] b85a868b505f: Pulling fs layer [2023-08-22T22:51:05.087Z] e2be974225ed: Pulling fs layer [2023-08-22T22:51:05.087Z] 339a4e72a1f5: Pulling fs layer [2023-08-22T22:51:05.087Z] 988bab9f4d93: Pulling fs layer [2023-08-22T22:51:05.087Z] 1469e6f7b9e6: Pulling fs layer [2023-08-22T22:51:05.087Z] eaf3925da568: Pulling fs layer [2023-08-22T22:51:05.087Z] bab4dde63d76: Pulling fs layer [2023-08-22T22:51:05.087Z] bde34c3a00c8: Pulling fs layer [2023-08-22T22:51:05.087Z] b352a97aabf1: Pulling fs layer [2023-08-22T22:51:05.087Z] 4872d77fe225: Pulling fs layer [2023-08-22T22:51:05.087Z] 5851b861e8e6: Pulling fs layer [2023-08-22T22:51:05.087Z] 988bab9f4d93: Waiting [2023-08-22T22:51:05.087Z] bab4dde63d76: Waiting [2023-08-22T22:51:05.087Z] b352a97aabf1: Waiting [2023-08-22T22:51:05.087Z] 5851b861e8e6: Waiting [2023-08-22T22:51:05.087Z] bde34c3a00c8: Waiting [2023-08-22T22:51:05.087Z] 1469e6f7b9e6: Waiting [2023-08-22T22:51:05.087Z] eaf3925da568: Waiting [2023-08-22T22:51:05.087Z] 4872d77fe225: Waiting [2023-08-22T22:51:05.087Z] e2be974225ed: Verifying Checksum [2023-08-22T22:51:05.087Z] e2be974225ed: Download complete [2023-08-22T22:51:05.087Z] 988bab9f4d93: Verifying Checksum [2023-08-22T22:51:05.087Z] 988bab9f4d93: Download complete [2023-08-22T22:51:05.346Z] 1469e6f7b9e6: Verifying Checksum [2023-08-22T22:51:05.346Z] 1469e6f7b9e6: Download complete [2023-08-22T22:51:05.346Z] eaf3925da568: Verifying Checksum [2023-08-22T22:51:05.346Z] eaf3925da568: Download complete [2023-08-22T22:51:05.346Z] 339a4e72a1f5: Verifying Checksum [2023-08-22T22:51:05.346Z] 339a4e72a1f5: Download complete [2023-08-22T22:51:05.346Z] bde34c3a00c8: Download complete [2023-08-22T22:51:05.346Z] b352a97aabf1: Verifying Checksum [2023-08-22T22:51:05.347Z] b352a97aabf1: Download complete [2023-08-22T22:51:05.347Z] 4872d77fe225: Verifying Checksum [2023-08-22T22:51:05.347Z] 4872d77fe225: Download complete [2023-08-22T22:51:05.347Z] 5851b861e8e6: Verifying Checksum [2023-08-22T22:51:05.347Z] 5851b861e8e6: Download complete [2023-08-22T22:51:05.347Z] b85a868b505f: Verifying Checksum [2023-08-22T22:51:05.347Z] b85a868b505f: Download complete [2023-08-22T22:51:05.605Z] bab4dde63d76: Verifying Checksum [2023-08-22T22:51:05.605Z] bab4dde63d76: Download complete [2023-08-22T22:51:06.982Z] b85a868b505f: Pull complete [2023-08-22T22:51:06.982Z] e2be974225ed: Pull complete [2023-08-22T22:51:07.241Z] 339a4e72a1f5: Pull complete [2023-08-22T22:51:07.499Z] 988bab9f4d93: Pull complete [2023-08-22T22:51:07.759Z] 1469e6f7b9e6: Pull complete [2023-08-22T22:51:08.018Z] eaf3925da568: Pull complete [2023-08-22T22:51:09.394Z] bab4dde63d76: Pull complete [2023-08-22T22:51:09.653Z] bde34c3a00c8: Pull complete [2023-08-22T22:51:09.653Z] b352a97aabf1: Pull complete [2023-08-22T22:51:09.653Z] 4872d77fe225: Pull complete [2023-08-22T22:51:09.912Z] 5851b861e8e6: Pull complete [2023-08-22T22:51:09.912Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-22T22:51:09.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T22:51:09.912Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:51:10.002Z] prd-ubuntu20.04-docker-8c-8g-4308 does not seem to be running inside a container [2023-08-22T22:51:10.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T22:51:14.677Z] $ docker top 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec -eo pid,comm [2023-08-22T22:51:14.720Z] 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-22T22:51:14.720Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T22:51:14.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T22:51:14.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T22:51:14.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T22:51:14.859Z] $ docker exec 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec ssh-agent [2023-08-22T22:51:14.952Z] SSH_AUTH_SOCK=/tmp/ssh-II0YUpFVaCt1/agent.32 [2023-08-22T22:51:14.952Z] SSH_AGENT_PID=38 [2023-08-22T22:51:14.958Z] Running ssh-add (command line suppressed) [2023-08-22T22:51:15.055Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4739247867041359795.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4739247867041359795.key) [2023-08-22T22:51:15.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T22:51:15.348Z] + git tag --points-at HEAD [Pipeline] } [2023-08-22T22:51:15.366Z] $ docker exec --env ******** --env ******** 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec ssh-agent -k [2023-08-22T22:51:15.467Z] unset SSH_AUTH_SOCK; [2023-08-22T22:51:15.467Z] unset SSH_AGENT_PID; [2023-08-22T22:51:15.467Z] echo Agent pid 38 killed; [2023-08-22T22:51:15.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-22T22:51:15.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T22:51:15.495Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T22:51:15.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T22:51:15.647Z] $ docker exec 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec ssh-agent [2023-08-22T22:51:15.754Z] SSH_AUTH_SOCK=/tmp/ssh-ffKOjzoC9a65/agent.71 [2023-08-22T22:51:15.754Z] SSH_AGENT_PID=77 [2023-08-22T22:51:15.759Z] Running ssh-add (command line suppressed) [2023-08-22T22:51:15.855Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_17010292871212365540.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_17010292871212365540.key) [2023-08-22T22:51:15.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T22:51:16.357Z] + git semver init [2023-08-22T22:51:16.617Z] 2023-08-22 22:51:16,512 [run_init] DEBUG init version:0.0.0 force:False [2023-08-22T22:51:16.617Z] 2023-08-22 22:51:16,513 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-270/.semver [2023-08-22T22:51:16.617Z] 2023-08-22 22:51:16,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-270/.semver [2023-08-22T22:51:16.617Z] 2023-08-22 22:51:16,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-270/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-270, universal_newlines=False, shell=None, istream=None) [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,262 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-270/.git/info/exclude [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 with force:False [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,262 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,266 [execute] INFO git cat-file --batch-check [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,273 [execute] INFO git cat-file --batch [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T22:51:17.555Z] 2023-08-22 22:51:17,278 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-22T22:51:17.555Z] 0.0.0 [Pipeline] } [2023-08-22T22:51:17.569Z] $ docker exec --env ******** --env ******** 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec ssh-agent -k [2023-08-22T22:51:17.659Z] unset SSH_AUTH_SOCK; [2023-08-22T22:51:17.660Z] unset SSH_AGENT_PID; [2023-08-22T22:51:17.660Z] echo Agent pid 77 killed; [2023-08-22T22:51:17.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T22:51:17.965Z] + git semver [Pipeline] } [2023-08-22T22:51:18.239Z] $ docker stop --time=1 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec [2023-08-22T22:51:19.524Z] $ docker rm -f --volumes 4defc91189a21a731102a9102e84e297af2d2361f26e596d5b97a729075d6cec [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T22:51:19.850Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-22T22:51:20.039Z] Stashed 1 file(s) [Pipeline] echo [2023-08-22T22:51:20.041Z] [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-22T22:51:20.195Z] provisioning config files... [2023-08-22T22:51:20.203Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config14696625992188764794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T22:51:20.494Z] ---> docker-login.sh [2023-08-22T22:51:20.494Z] nexus3.edgexfoundry.org:10001 [2023-08-22T22:51:20.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:20.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:20.494Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:20.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:20.494Z] [2023-08-22T22:51:20.494Z] Login Succeeded [2023-08-22T22:51:20.494Z] nexus3.edgexfoundry.org:10002 [2023-08-22T22:51:20.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:20.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:20.494Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:20.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:20.494Z] [2023-08-22T22:51:20.494Z] Login Succeeded [2023-08-22T22:51:20.494Z] nexus3.edgexfoundry.org:10003 [2023-08-22T22:51:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:20.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:20.754Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:20.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:20.754Z] [2023-08-22T22:51:20.754Z] Login Succeeded [2023-08-22T22:51:20.754Z] nexus3.edgexfoundry.org:10004 [2023-08-22T22:51:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:20.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:20.754Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:20.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:20.754Z] [2023-08-22T22:51:20.754Z] Login Succeeded [2023-08-22T22:51:20.754Z] docker.io [2023-08-22T22:51:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:51:21.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:51:21.013Z] Configure a credential helper to remove this warning. See [2023-08-22T22:51:21.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:51:21.013Z] [2023-08-22T22:51:21.013Z] Login Succeeded [2023-08-22T22:51:21.013Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T22:51:21.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T22:51:21.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T22:51:21.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T22:51:21.123Z] ========================================================= [2023-08-22T22:51:21.123Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-22T22:51:21.123Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:51:21.466Z] + 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-22T22:51:21.467Z] Sending build context to Docker daemon 2.135MB [2023-08-22T22:51:21.467Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T22:51:21.467Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-22T22:51:21.467Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-22T22:51:21.467Z] 4db1b89c0bd1: Pulling fs layer [2023-08-22T22:51:21.467Z] 6911f1a30b25: Pulling fs layer [2023-08-22T22:51:21.467Z] e194b8c5c2a9: Pulling fs layer [2023-08-22T22:51:21.467Z] 6863d3e3a2b1: Pulling fs layer [2023-08-22T22:51:21.467Z] 6863d3e3a2b1: Waiting [2023-08-22T22:51:21.467Z] ec0bb842ea78: Pulling fs layer [2023-08-22T22:51:21.467Z] 40a00589a448: Pulling fs layer [2023-08-22T22:51:21.467Z] 6c08303d61cc: Pulling fs layer [2023-08-22T22:51:21.467Z] 798269fcf238: Pulling fs layer [2023-08-22T22:51:21.467Z] ec0bb842ea78: Waiting [2023-08-22T22:51:21.467Z] 40a00589a448: Waiting [2023-08-22T22:51:21.467Z] 6c08303d61cc: Waiting [2023-08-22T22:51:21.467Z] 798269fcf238: Waiting [2023-08-22T22:51:21.467Z] 6911f1a30b25: Verifying Checksum [2023-08-22T22:51:21.467Z] 6911f1a30b25: Download complete [2023-08-22T22:51:21.467Z] 6863d3e3a2b1: Download complete [2023-08-22T22:51:21.726Z] ec0bb842ea78: Verifying Checksum [2023-08-22T22:51:21.726Z] ec0bb842ea78: Download complete [2023-08-22T22:51:21.726Z] 4db1b89c0bd1: Verifying Checksum [2023-08-22T22:51:21.726Z] 4db1b89c0bd1: Download complete [2023-08-22T22:51:21.726Z] 40a00589a448: Verifying Checksum [2023-08-22T22:51:21.726Z] 40a00589a448: Download complete [2023-08-22T22:51:21.726Z] 4db1b89c0bd1: Pull complete [2023-08-22T22:51:22.027Z] 6911f1a30b25: Pull complete [2023-08-22T22:51:22.289Z] 798269fcf238: Verifying Checksum [2023-08-22T22:51:22.289Z] 798269fcf238: Download complete [2023-08-22T22:51:22.548Z] e194b8c5c2a9: Verifying Checksum [2023-08-22T22:51:22.548Z] e194b8c5c2a9: Download complete [2023-08-22T22:51:22.548Z] 6c08303d61cc: Verifying Checksum [2023-08-22T22:51:22.548Z] 6c08303d61cc: Download complete [2023-08-22T22:51:25.836Z] e194b8c5c2a9: Pull complete [2023-08-22T22:51:25.836Z] 6863d3e3a2b1: Pull complete [2023-08-22T22:51:25.836Z] ec0bb842ea78: Pull complete [2023-08-22T22:51:25.836Z] 40a00589a448: Pull complete [2023-08-22T22:51:27.733Z] 6c08303d61cc: Pull complete [2023-08-22T22:51:28.666Z] 798269fcf238: Pull complete [2023-08-22T22:51:28.666Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-22T22:51:28.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-22T22:51:28.924Z] ---> ec979cd7f677 [2023-08-22T22:51:28.924Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-22T22:51:35.149Z] Still waiting to schedule task [2023-08-22T22:51:35.149Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-22T22:51:38.902Z] ---> Running in 309eb7d38544 [2023-08-22T22:51:38.903Z] Removing intermediate container 309eb7d38544 [2023-08-22T22:51:38.903Z] ---> 9f21c8333fca [2023-08-22T22:51:38.903Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T22:51:38.903Z] ---> Running in 5d48248fb3d4 [2023-08-22T22:51:38.903Z] Removing intermediate container 5d48248fb3d4 [2023-08-22T22:51:38.903Z] ---> af01c73ab283 [2023-08-22T22:51:38.903Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-22T22:51:38.903Z] ---> Running in 02b8412d80c2 [2023-08-22T22:51:39.162Z] Removing intermediate container 02b8412d80c2 [2023-08-22T22:51:39.162Z] ---> 1b19823973a2 [2023-08-22T22:51:39.162Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-22T22:51:39.162Z] ---> Running in 711bfb22201c [2023-08-22T22:51:39.727Z] Removing intermediate container 711bfb22201c [2023-08-22T22:51:39.727Z] ---> b0899a884e4f [2023-08-22T22:51:39.727Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T22:51:39.985Z] ---> Running in c68b6f7816a0 [2023-08-22T22:51:40.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T22:51:40.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T22:51:41.068Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-22T22:51:41.068Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-22T22:51:41.068Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-22T22:51:41.068Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-22T22:51:41.068Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-22T22:51:41.068Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-22T22:51:41.068Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-22T22:51:41.068Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-22T22:51:41.068Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-22T22:51:41.068Z] (10/14) Installing kmod-libs (30-r1) [2023-08-22T22:51:41.068Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-22T22:51:41.068Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-22T22:51:41.068Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-22T22:51:41.068Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-22T22:51:41.068Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T22:51:41.068Z] Executing eudev-3.2.11-r4.trigger [2023-08-22T22:51:41.068Z] OK: 272 MiB in 67 packages [2023-08-22T22:51:42.450Z] Removing intermediate container c68b6f7816a0 [2023-08-22T22:51:42.450Z] ---> 87953005892f [2023-08-22T22:51:42.450Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-22T22:51:42.450Z] ---> Running in e3f1143f01f9 [2023-08-22T22:51:43.017Z] Removing intermediate container e3f1143f01f9 [2023-08-22T22:51:43.017Z] ---> d292344eb0ee [2023-08-22T22:51:43.017Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-22T22:51:43.276Z] ---> 02dde635b438 [2023-08-22T22:51:43.276Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T22:51:43.276Z] ---> Running in 71e08c6c6e29 [2023-08-22T22:52:29.990Z] Removing intermediate container 71e08c6c6e29 [2023-08-22T22:52:29.990Z] ---> 52959b0595fa [2023-08-22T22:52:29.990Z] Step 11/13 : COPY . . [2023-08-22T22:52:29.990Z] ---> 4cc3d8ab3fa9 [2023-08-22T22:52:29.990Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-22T22:52:29.990Z] ---> Running in 38a439d990f7 [2023-08-22T22:52:29.990Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T22:52:29.990Z]  Dload Upload Total Spent  Left Speed [2023-08-22T22:52:29.990Z]  0 0 0  0 0 0  0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 7458 0 --:--:-- --:--:-- --:--:-- 7478 [2023-08-22T22:52:29.990Z] Removing intermediate container 38a439d990f7 [2023-08-22T22:52:29.990Z] ---> 8418e75e788b [2023-08-22T22:52:29.990Z] Step 13/13 : RUN ${MAKE} [2023-08-22T22:52:29.990Z] ---> Running in e827551d18f3 [2023-08-22T22:52:29.990Z] noop [2023-08-22T22:52:29.990Z] Removing intermediate container e827551d18f3 [2023-08-22T22:52:29.990Z] ---> 0a365266725d [2023-08-22T22:52:29.990Z] Successfully built 0a365266725d [2023-08-22T22:52:29.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:52:30.312Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T22:52:30.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:52:30.392Z] prd-ubuntu20.04-docker-8c-8g-4308 does not seem to be running inside a container [2023-08-22T22:52:30.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-22T22:52:30.778Z] $ docker top a0c9ea8a08676f9fab71f36d82514bd2ab2dacf2c3015d5fd5b8baefade82536 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T22:52:31.121Z] + go version [2023-08-22T22:52:31.121Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-22T22:52:31.135Z] $ docker stop --time=1 a0c9ea8a08676f9fab71f36d82514bd2ab2dacf2c3015d5fd5b8baefade82536 [2023-08-22T22:52:32.421Z] $ docker rm -f --volumes a0c9ea8a08676f9fab71f36d82514bd2ab2dacf2c3015d5fd5b8baefade82536 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:52:32.795Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T22:52:32.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:52:32.863Z] prd-ubuntu20.04-docker-8c-8g-4308 does not seem to be running inside a container [2023-08-22T22:52:32.894Z] $ 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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-22T22:52:33.259Z] $ docker top dd210bc6d4a5b7212c37cf1ec24b01ef768bb2098e5b408af77edd21b40090f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T22:52:33.598Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] fileExists [Pipeline] sh [2023-08-22T22:52:33.895Z] + make test [2023-08-22T22:52:33.895Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T22:52:38.110Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-22T22:52:48.072Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-22T22:52:48.072Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 4.4% of statements [2023-08-22T22:52:54.631Z] go vet ./... [2023-08-22T22:52:57.921Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T22:52:57.921Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T22:52:57.921Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T22:52:57.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T22:52:57.948Z] $ docker stop --time=1 dd210bc6d4a5b7212c37cf1ec24b01ef768bb2098e5b408af77edd21b40090f6 [2023-08-22T22:53:01.664Z] $ docker rm -f --volumes dd210bc6d4a5b7212c37cf1ec24b01ef768bb2098e5b408af77edd21b40090f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T22:53:02.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T22:53:02.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-22T22:53:02.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T22:53:03.022Z] + ls -al . [2023-08-22T22:53:03.022Z] total 216 [2023-08-22T22:53:03.022Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 22:52 . [2023-08-22T22:53:03.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 22:50 .. [2023-08-22T22:53:03.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 22:51 .git [2023-08-22T22:53:03.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:50 .github [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 22 22:50 .gitignore [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 22 22:50 .golangci.yml [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 22 22:50 .hadolint.yml [2023-08-22T22:53:03.022Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 22:51 .semver [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 22 22:50 Attribution.txt [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 22 22:50 CHANGELOG.md [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 22 22:50 Dockerfile [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 22 22:50 GOVERNANCE.md [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 22 22:50 Jenkinsfile [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 22:50 LICENSE [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 22 22:50 Makefile [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 22 22:50 OWNERS.md [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 22 22:50 README.md [2023-08-22T22:53:03.022Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 22:51 VERSION [2023-08-22T22:53:03.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 22:50 bin [2023-08-22T22:53:03.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:50 cmd [2023-08-22T22:53:03.022Z] -rw-r--r-- 1 jenkins jenkins 54116 Aug 22 22:52 coverage.out [2023-08-22T22:53:03.022Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 22 22:50 docker-entrypoint.sh [2023-08-22T22:53:03.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 22:50 docs [2023-08-22T22:53:03.023Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 22 22:50 go.mod [2023-08-22T22:53:03.023Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 22 22:50 go.sum [2023-08-22T22:53:03.023Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:50 internal [2023-08-22T22:53:03.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 22:50 snap [2023-08-22T22:53:03.023Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 22 22:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:53:03.345Z] + 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=4299941a1a63411b543e49b3673952e85509849f --label arch=amd64 --label version=0.0.0 . [2023-08-22T22:53:03.345Z] Sending build context to Docker daemon 2.19MB [2023-08-22T22:53:03.345Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T22:53:03.345Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-22T22:53:03.345Z] ---> 0a365266725d [2023-08-22T22:53:03.345Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-22T22:53:03.603Z] ---> Running in 63dbb800d199 [2023-08-22T22:53:03.603Z] Removing intermediate container 63dbb800d199 [2023-08-22T22:53:03.603Z] ---> f5430735ec64 [2023-08-22T22:53:03.603Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T22:53:03.603Z] ---> Running in 6f6daa9dc179 [2023-08-22T22:53:03.862Z] Removing intermediate container 6f6daa9dc179 [2023-08-22T22:53:03.862Z] ---> fde3686a14d7 [2023-08-22T22:53:03.862Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-22T22:53:03.862Z] ---> Running in 96aeab628c52 [2023-08-22T22:53:03.862Z] Removing intermediate container 96aeab628c52 [2023-08-22T22:53:03.862Z] ---> 39178e8a5a8d [2023-08-22T22:53:03.862Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-22T22:53:03.862Z] ---> Running in f2a37482ff99 [2023-08-22T22:53:03.862Z] Removing intermediate container f2a37482ff99 [2023-08-22T22:53:03.862Z] ---> 8030139fbb83 [2023-08-22T22:53:03.862Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T22:53:04.123Z] ---> Running in 02c2ac571eed [2023-08-22T22:53:04.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T22:53:04.389Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4309 in /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] { [Pipeline] ws [2023-08-22T22:53:04.403Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-08-22T22:53:04.437Z] Selected Git installation does not exist. Using Default [2023-08-22T22:53:04.437Z] The recommended git tool is: NONE [2023-08-22T22:53:04.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T22:53:04.898Z] OK: 272 MiB in 67 packages [2023-08-22T22:53:05.156Z] Removing intermediate container 02c2ac571eed [2023-08-22T22:53:05.156Z] ---> 67be4f21b0d3 [2023-08-22T22:53:05.157Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-22T22:53:05.157Z] ---> Running in 9f283be6a5e4 [2023-08-22T22:53:05.157Z] Removing intermediate container 9f283be6a5e4 [2023-08-22T22:53:05.157Z] ---> cb2f158eae0d [2023-08-22T22:53:05.157Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-22T22:53:05.415Z] ---> 2900d46ed8e2 [2023-08-22T22:53:05.415Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T22:53:05.415Z] ---> Running in 447a5161b91f [2023-08-22T22:53:06.348Z] Removing intermediate container 447a5161b91f [2023-08-22T22:53:06.348Z] ---> 452ea718550b [2023-08-22T22:53:06.348Z] Step 11/36 : COPY . . [2023-08-22T22:53:06.348Z] ---> 5c0696b12312 [2023-08-22T22:53:06.348Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-22T22:53:06.348Z] ---> Running in e5f4878d0050 [2023-08-22T22:53:06.607Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T22:53:06.607Z] Dload Upload Total Spent Left Speed [2023-08-22T22:53:06.865Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20011 0 --:--:-- --:--:-- --:--:-- 20423 [2023-08-22T22:53:07.125Z] Removing intermediate container e5f4878d0050 [2023-08-22T22:53:07.125Z] ---> edab2fdb1923 [2023-08-22T22:53:07.125Z] Step 13/36 : RUN ${MAKE} [2023-08-22T22:53:07.125Z] ---> Running in bef907d3473a [2023-08-22T22:53:07.383Z] 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-22T22:53:09.307Z] using credential edgex-jenkins-ssh [2023-08-22T22:53:09.325Z] Cloning the remote Git repository [2023-08-22T22:53:09.368Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-22T22:53:09.451Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-08-22T22:53:09.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-22T22:53:09.581Z] > git --version # timeout=10 [2023-08-22T22:53:09.600Z] > git --version # 'git version 2.25.1' [2023-08-22T22:53:09.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T22:53:09.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T22:53:10.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-22T22:53:10.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T22:53:11.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-22T22:53:11.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-22T22:53:11.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T22:53:11.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-22T22:53:11.989Z] Merging remotes/origin/main commit 860b2ed41c63812ea8e78996a55d34ef8e22b126 into PR head commit 51f67e7e52f071f146f626876fa585e5943d009e [2023-08-22T22:53:12.335Z] Merge succeeded, producing e95dc69a815be982376abdd36d95db0a5e6d40ef [2023-08-22T22:53:12.335Z] Checking out Revision e95dc69a815be982376abdd36d95db0a5e6d40ef (PR-270) [2023-08-22T22:53:12.009Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T22:53:12.089Z] > git checkout -f 51f67e7e52f071f146f626876fa585e5943d009e # timeout=10 [2023-08-22T22:53:12.174Z] > git remote # timeout=10 [2023-08-22T22:53:12.193Z] > git config --get remote.origin.url # timeout=10 [2023-08-22T22:53:12.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T22:53:12.226Z] > git merge 860b2ed41c63812ea8e78996a55d34ef8e22b126 # timeout=10 [2023-08-22T22:53:12.305Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-22T22:53:12.342Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T22:53:12.360Z] > git checkout -f e95dc69a815be982376abdd36d95db0a5e6d40ef # timeout=10 [2023-08-22T22:53:15.812Z] Commit message: "Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD" [2023-08-22T22:53:15.836Z] First time build. Skipping changelog. [2023-08-22T22:53:15.821Z] > git rev-list --no-walk df6d1df61b071468b4ceb914a037078395033e0f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T22:53:16.757Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-22T22:53:16.757Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T22:53:16.757Z] Dload Upload Total Spent Left Speed [2023-08-22T22:53:16.757Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-08-22T22:53:17.471Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-22T22:53:17.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-22T22:53:17.792Z] + sudo tee /etc/docker/daemon.new [2023-08-22T22:53:17.792Z] { [2023-08-22T22:53:17.792Z] "registry-mirrors": [ [2023-08-22T22:53:17.792Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-22T22:53:17.792Z] ], [2023-08-22T22:53:17.792Z] "bip": "10.250.0.254/24", [2023-08-22T22:53:17.792Z] "hosts": [ [2023-08-22T22:53:17.792Z] "tcp://0.0.0.0:5555", [2023-08-22T22:53:17.792Z] "unix:///var/run/docker.sock" [2023-08-22T22:53:17.792Z] ], [2023-08-22T22:53:17.792Z] "mtu": 1458, [2023-08-22T22:53:17.792Z] "selinux-enabled": true, [2023-08-22T22:53:17.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-22T22:53:17.792Z] } [Pipeline] sh [2023-08-22T22:53:18.112Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-22T22:53:18.431Z] + sudo service docker restart [2023-08-22T22:53:29.351Z] Removing intermediate container bef907d3473a [2023-08-22T22:53:29.351Z] ---> 846167de2faf [2023-08-22T22:53:29.351Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-22T22:53:29.351Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-22T22:53:29.351Z] 4acc49c71d14: Pulling fs layer [2023-08-22T22:53:29.351Z] 4acc49c71d14: Verifying Checksum [2023-08-22T22:53:29.351Z] 4acc49c71d14: Download complete [2023-08-22T22:53:29.351Z] 4acc49c71d14: Pull complete [2023-08-22T22:53:29.351Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-22T22:53:29.351Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-22T22:53:29.351Z] ---> 01a2bd3e5fff [2023-08-22T22:53:29.351Z] Step 15/36 : FROM alpine:3.17 [2023-08-22T22:53:29.351Z] 3.17: Pulling from library/alpine [2023-08-22T22:53:29.351Z] 9398808236ff: Pulling fs layer [2023-08-22T22:53:29.351Z] 9398808236ff: Verifying Checksum [2023-08-22T22:53:29.351Z] 9398808236ff: Download complete [2023-08-22T22:53:29.610Z] 9398808236ff: Pull complete [2023-08-22T22:53:29.610Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T22:53:29.610Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T22:53:29.610Z] ---> 1e0b8b5322fc [2023-08-22T22:53:29.610Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-22T22:53:29.870Z] ---> Running in 2a8a3c45ce4b [2023-08-22T22:53:29.870Z] Removing intermediate container 2a8a3c45ce4b [2023-08-22T22:53:29.870Z] ---> a7eecfc8d59b [2023-08-22T22:53:29.870Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-22T22:53:30.128Z] ---> Running in 8dc152f27e22 [2023-08-22T22:53:30.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T22:53:30.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T22:53:30.645Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-22T22:53:30.645Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-22T22:53:30.645Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-22T22:53:30.903Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-22T22:53:30.904Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-22T22:53:30.904Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-22T22:53:30.904Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-22T22:53:30.904Z] (8/86) Installing libxcb (1.15-r0) [2023-08-22T22:53:30.904Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-22T22:53:30.904Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-22T22:53:30.904Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-22T22:53:30.904Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-22T22:53:30.904Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-22T22:53:30.904Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-22T22:53:30.904Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-22T22:53:30.904Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-22T22:53:30.904Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-22T22:53:30.904Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-22T22:53:30.904Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-22T22:53:30.904Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-22T22:53:30.904Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-22T22:53:30.904Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-22T22:53:30.904Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-22T22:53:31.161Z] (24/86) Installing glib (2.74.7-r0) [2023-08-22T22:53:31.161Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-22T22:53:31.161Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-22T22:53:31.161Z] (27/86) Installing libass (0.16.0-r1) [2023-08-22T22:53:31.161Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-22T22:53:31.161Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-22T22:53:31.161Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-22T22:53:31.161Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-22T22:53:31.161Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-22T22:53:31.161Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-22T22:53:31.161Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-22T22:53:31.161Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-22T22:53:31.161Z] (36/86) Installing libunistring (1.1-r0) [2023-08-22T22:53:31.161Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-22T22:53:31.161Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-22T22:53:31.161Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-22T22:53:31.161Z] (40/86) Installing lame (3.100-r2) [2023-08-22T22:53:31.161Z] (41/86) Installing opus (1.3.1-r1) [2023-08-22T22:53:31.161Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-22T22:53:31.161Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-22T22:53:31.161Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-22T22:53:31.161Z] (45/86) Installing orc (0.4.33-r0) [2023-08-22T22:53:31.161Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-22T22:53:31.161Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-22T22:53:31.421Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-22T22:53:31.421Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-22T22:53:31.421Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-22T22:53:31.421Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-22T22:53:31.421Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-22T22:53:31.421Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-22T22:53:31.421Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-22T22:53:31.421Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-22T22:53:31.421Z] (56/86) Installing libpulse (16.1-r6) [2023-08-22T22:53:31.421Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-22T22:53:31.421Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-22T22:53:31.421Z] (59/86) Installing librist (0.2.7-r0) [2023-08-22T22:53:31.421Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-22T22:53:31.421Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-22T22:53:31.421Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-22T22:53:31.421Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-22T22:53:31.421Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-22T22:53:31.421Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-22T22:53:31.421Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-22T22:53:31.421Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-22T22:53:31.421Z] (68/86) Installing libva (2.16.0-r0) [2023-08-22T22:53:31.421Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-22T22:53:31.421Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-22T22:53:31.421Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-22T22:53:31.679Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-22T22:53:31.679Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-22T22:53:31.679Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-22T22:53:31.679Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-22T22:53:31.679Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-22T22:53:31.679Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-22T22:53:31.679Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-22T22:53:31.679Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-22T22:53:31.938Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-22T22:53:31.938Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-22T22:53:31.938Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-22T22:53:31.938Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-22T22:53:31.938Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-22T22:53:31.938Z] (85/86) Installing kmod-libs (30-r1) [2023-08-22T22:53:31.938Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-22T22:53:31.938Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T22:53:31.938Z] Executing eudev-3.2.11-r4.trigger [2023-08-22T22:53:31.938Z] OK: 112 MiB in 101 packages [2023-08-22T22:53:35.229Z] Removing intermediate container 8dc152f27e22 [2023-08-22T22:53:35.229Z] ---> 9f92864caefc [2023-08-22T22:53:35.229Z] Step 18/36 : WORKDIR / [2023-08-22T22:53:35.229Z] ---> Running in 0434d58a0899 [2023-08-22T22:53:35.229Z] Removing intermediate container 0434d58a0899 [2023-08-22T22:53:35.229Z] ---> 6f72913174c5 [2023-08-22T22:53:35.229Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-22T22:53:35.796Z] ---> 12f3ccb3ae0d [2023-08-22T22:53:35.796Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-22T22:53:35.796Z] ---> 2be6075f7cf8 [2023-08-22T22:53:35.796Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-22T22:53:36.055Z] ---> 9b7e6d5ce4df [2023-08-22T22:53:36.055Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-22T22:53:36.055Z] ---> 4361b92a4943 [2023-08-22T22:53:36.055Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-22T22:53:36.312Z] ---> 0f8a2fd0a210 [2023-08-22T22:53:36.312Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-22T22:53:36.312Z] ---> a11914eb6874 [2023-08-22T22:53:36.312Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T22:53:36.668Z] provisioning config files... [2023-08-22T22:53:36.694Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config9390100873268530629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T22:53:37.040Z] ---> docker-login.sh [2023-08-22T22:53:37.040Z] nexus3.edgexfoundry.org:10001 [2023-08-22T22:53:37.246Z] ---> afbea5bdec3a [2023-08-22T22:53:37.246Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-22T22:53:37.246Z] ---> Running in 8f9cb402815a [2023-08-22T22:53:37.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:53:37.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:53:37.576Z] Configure a credential helper to remove this warning. See [2023-08-22T22:53:37.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:53:37.576Z] [2023-08-22T22:53:37.576Z] Login Succeeded [2023-08-22T22:53:37.576Z] nexus3.edgexfoundry.org:10002 [2023-08-22T22:53:37.812Z] Removing intermediate container 8f9cb402815a [2023-08-22T22:53:37.812Z] ---> 330f1a65be70 [2023-08-22T22:53:37.812Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-22T22:53:37.812Z] ---> Running in ca39e9f289d4 [2023-08-22T22:53:37.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:53:37.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:53:37.844Z] Configure a credential helper to remove this warning. See [2023-08-22T22:53:37.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:53:37.844Z] [2023-08-22T22:53:37.844Z] Login Succeeded [2023-08-22T22:53:37.844Z] nexus3.edgexfoundry.org:10003 [2023-08-22T22:53:38.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:53:38.378Z] Removing intermediate container ca39e9f289d4 [2023-08-22T22:53:38.378Z] ---> dae072ae0faa [2023-08-22T22:53:38.378Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-22T22:53:38.378Z] ---> Running in 69b7ea67fc1c [2023-08-22T22:53:38.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:53:38.382Z] Configure a credential helper to remove this warning. See [2023-08-22T22:53:38.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:53:38.382Z] [2023-08-22T22:53:38.382Z] Login Succeeded [2023-08-22T22:53:38.382Z] nexus3.edgexfoundry.org:10004 [2023-08-22T22:53:38.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:53:38.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:53:38.651Z] Configure a credential helper to remove this warning. See [2023-08-22T22:53:38.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:53:38.651Z] [2023-08-22T22:53:38.651Z] Login Succeeded [2023-08-22T22:53:38.651Z] docker.io [2023-08-22T22:53:38.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T22:53:38.947Z] Removing intermediate container 69b7ea67fc1c [2023-08-22T22:53:38.947Z] ---> 8ce6522a9bce [2023-08-22T22:53:38.947Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-22T22:53:38.947Z] ---> Running in fe48691fa432 [2023-08-22T22:53:39.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T22:53:39.187Z] Configure a credential helper to remove this warning. See [2023-08-22T22:53:39.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T22:53:39.187Z] [2023-08-22T22:53:39.187Z] Login Succeeded [2023-08-22T22:53:39.187Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T22:53:39.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T22:53:39.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T22:53:39.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T22:53:39.465Z] ========================================================= [2023-08-22T22:53:39.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-22T22:53:39.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-08-22T22:53:39.539Z] Removing intermediate container fe48691fa432 [2023-08-22T22:53:39.539Z] ---> bbf099cafae9 [2023-08-22T22:53:39.539Z] Step 30/36 : EXPOSE 59983 [2023-08-22T22:53:39.539Z] ---> Running in 3585dd44647d [2023-08-22T22:53:39.539Z] Removing intermediate container 3585dd44647d [2023-08-22T22:53:39.539Z] ---> 2313d25bea54 [2023-08-22T22:53:39.539Z] Step 31/36 : EXPOSE 8554 [2023-08-22T22:53:39.539Z] ---> Running in dfb520440421 [2023-08-22T22:53:39.539Z] Removing intermediate container dfb520440421 [2023-08-22T22:53:39.539Z] ---> c6171c4a3aee [2023-08-22T22:53:39.539Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-22T22:53:39.539Z] ---> Running in e21670e7961e [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:53:39.798Z] Removing intermediate container e21670e7961e [2023-08-22T22:53:39.798Z] ---> 76f0d1595f57 [2023-08-22T22:53:39.798Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-22T22:53:39.798Z] ---> Running in b1e876e2f33f [2023-08-22T22:53:39.798Z] Removing intermediate container b1e876e2f33f [2023-08-22T22:53:39.798Z] ---> 479551fa87dd [2023-08-22T22:53:39.798Z] Step 34/36 : LABEL arch=amd64 [2023-08-22T22:53:39.798Z] ---> Running in 800f73a74a61 [2023-08-22T22:53:39.798Z] Removing intermediate container 800f73a74a61 [2023-08-22T22:53:39.798Z] ---> 20734679e618 [2023-08-22T22:53:39.798Z] Step 35/36 : LABEL git_sha=4299941a1a63411b543e49b3673952e85509849f [2023-08-22T22:53:39.961Z] + 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-22T22:53:40.056Z] ---> Running in 666261d8ae7c [2023-08-22T22:53:40.057Z] Removing intermediate container 666261d8ae7c [2023-08-22T22:53:40.057Z] ---> c8f475bfab18 [2023-08-22T22:53:40.057Z] Step 36/36 : LABEL version=0.0.0 [2023-08-22T22:53:40.057Z] ---> Running in 2fda5fc8f416 [2023-08-22T22:53:40.057Z] Removing intermediate container 2fda5fc8f416 [2023-08-22T22:53:40.057Z] ---> e0717e6973cc [2023-08-22T22:53:40.057Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T22:53:40.057Z] Successfully built e0717e6973cc [2023-08-22T22:53:40.057Z] 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-22T22:53:40.228Z] Sending build context to Docker daemon 1.294MB [2023-08-22T22:53:40.228Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T22:53:40.228Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-22T22:53:40.500Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-22T22:53:40.500Z] edb6bdbacee9: Pulling fs layer [2023-08-22T22:53:40.500Z] 5f9638ab2659: Pulling fs layer [2023-08-22T22:53:40.500Z] 8d51d6327a98: Pulling fs layer [2023-08-22T22:53:40.500Z] 8b374f2dd631: Pulling fs layer [2023-08-22T22:53:40.500Z] ec14aa9079de: Pulling fs layer [2023-08-22T22:53:40.500Z] 2f466654f4bb: Pulling fs layer [2023-08-22T22:53:40.500Z] 554e91adad29: Pulling fs layer [2023-08-22T22:53:40.500Z] ec14aa9079de: Waiting [2023-08-22T22:53:40.500Z] 2f466654f4bb: Waiting [2023-08-22T22:53:40.500Z] 554e91adad29: Waiting [2023-08-22T22:53:40.500Z] 8b374f2dd631: Waiting [2023-08-22T22:53:40.500Z] 5f9638ab2659: Verifying Checksum [2023-08-22T22:53:40.500Z] 5f9638ab2659: Download complete [2023-08-22T22:53:40.500Z] 8b374f2dd631: Verifying Checksum [2023-08-22T22:53:40.500Z] 8b374f2dd631: Download complete [2023-08-22T22:53:40.500Z] ec14aa9079de: Verifying Checksum [2023-08-22T22:53:40.500Z] ec14aa9079de: Download complete [2023-08-22T22:53:40.500Z] edb6bdbacee9: Verifying Checksum [2023-08-22T22:53:40.500Z] edb6bdbacee9: Download complete [2023-08-22T22:53:40.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T22:53:40.510Z] [2023-08-22T22:53:40.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:53:40.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T22:53:40.819Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-22T22:53:40.819Z] 5eb5b503b376: Pulling fs layer [2023-08-22T22:53:40.819Z] 5c69ac0246d0: Pulling fs layer [2023-08-22T22:53:40.819Z] ec43610c2a17: Pulling fs layer [2023-08-22T22:53:40.819Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-22T22:53:40.819Z] 33b1e0a273af: Pulling fs layer [2023-08-22T22:53:40.819Z] 5d3b04190fa2: Pulling fs layer [2023-08-22T22:53:40.819Z] 2f39f015ded8: Pulling fs layer [2023-08-22T22:53:40.819Z] 33b1e0a273af: Waiting [2023-08-22T22:53:40.819Z] 5d3b04190fa2: Waiting [2023-08-22T22:53:40.819Z] 2f39f015ded8: Waiting [2023-08-22T22:53:41.083Z] 5c69ac0246d0: Verifying Checksum [2023-08-22T22:53:41.083Z] 5c69ac0246d0: Download complete [2023-08-22T22:53:41.083Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-22T22:53:41.083Z] 3a2ae6a8a46f: Download complete [2023-08-22T22:53:41.083Z] 33b1e0a273af: Verifying Checksum [2023-08-22T22:53:41.083Z] 33b1e0a273af: Download complete [2023-08-22T22:53:41.083Z] ec43610c2a17: Verifying Checksum [2023-08-22T22:53:41.083Z] ec43610c2a17: Download complete [2023-08-22T22:53:41.083Z] 5d3b04190fa2: Verifying Checksum [2023-08-22T22:53:41.083Z] 5d3b04190fa2: Download complete [2023-08-22T22:53:41.342Z] 5eb5b503b376: Verifying Checksum [2023-08-22T22:53:41.342Z] 5eb5b503b376: Download complete [2023-08-22T22:53:41.909Z] 2f39f015ded8: Download complete [2023-08-22T22:53:41.920Z] 554e91adad29: Verifying Checksum [2023-08-22T22:53:41.921Z] 554e91adad29: Download complete [2023-08-22T22:53:42.477Z] 5eb5b503b376: Pull complete [2023-08-22T22:53:42.477Z] 5c69ac0246d0: Pull complete [2023-08-22T22:53:42.882Z] 2f466654f4bb: Download complete [2023-08-22T22:53:42.882Z] 8d51d6327a98: Download complete [2023-08-22T22:53:43.042Z] ec43610c2a17: Pull complete [2023-08-22T22:53:43.042Z] 3a2ae6a8a46f: Pull complete [2023-08-22T22:53:43.301Z] 33b1e0a273af: Pull complete [2023-08-22T22:53:43.301Z] 5d3b04190fa2: Pull complete [2023-08-22T22:53:43.848Z] edb6bdbacee9: Pull complete [2023-08-22T22:53:44.439Z] 5f9638ab2659: Pull complete [2023-08-22T22:53:47.484Z] 2f39f015ded8: Pull complete [2023-08-22T22:53:47.485Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-22T22:53:47.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T22:53:47.485Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:53:47.556Z] prd-ubuntu20.04-docker-8c-8g-4308 does not seem to be running inside a container [2023-08-22T22:53:47.588Z] $ 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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T22:53:52.124Z] $ docker top c9ed1033409512fcbfdb42a5cfa02cbc4e7f0a08913c03b482015e031cd08216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T22:53:52.496Z] ---> job-cost.sh [2023-08-22T22:53:52.496Z] lf-activate-venv: SKIPPING [2023-08-22T22:53:52.496Z] INFO: No Stack... [2023-08-22T22:53:52.754Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T22:53:53.013Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T22:53:53.302Z] + + cat /w/workspace/foundry_device-usb-camera_PR-270/archives/cost.csv [2023-08-22T22:53:53.302Z] cut -d, -f6 [Pipeline] lock [2023-08-22T22:53:53.315Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [2023-08-22T22:53:53.322Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] did not exist. Created. [2023-08-22T22:53:53.322Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T22:53:53.617Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-22T22:53:53.653Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T22:53:53.662Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T22:53:53.683Z] $ docker stop --time=1 c9ed1033409512fcbfdb42a5cfa02cbc4e7f0a08913c03b482015e031cd08216 [2023-08-22T22:53:54.845Z] $ docker rm -f --volumes c9ed1033409512fcbfdb42a5cfa02cbc4e7f0a08913c03b482015e031cd08216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T22:53:59.460Z] 8d51d6327a98: Pull complete [2023-08-22T22:53:59.461Z] 8b374f2dd631: Pull complete [2023-08-22T22:53:59.461Z] ec14aa9079de: Pull complete [2023-08-22T22:54:04.818Z] 2f466654f4bb: Pull complete [2023-08-22T22:54:06.790Z] 554e91adad29: Pull complete [2023-08-22T22:54:06.790Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-22T22:54:06.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-22T22:54:06.790Z] ---> 1e15ea492957 [2023-08-22T22:54:06.790Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-22T22:54:08.742Z] ---> Running in 4ccfdb72e937 [2023-08-22T22:54:08.742Z] Removing intermediate container 4ccfdb72e937 [2023-08-22T22:54:08.742Z] ---> 8f6aaeeb2f28 [2023-08-22T22:54:08.742Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T22:54:08.742Z] ---> Running in ede19c64f4c1 [2023-08-22T22:54:09.009Z] Removing intermediate container ede19c64f4c1 [2023-08-22T22:54:09.009Z] ---> 8bf43971820f [2023-08-22T22:54:09.009Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-22T22:54:09.010Z] ---> Running in 8969661dadb9 [2023-08-22T22:54:09.283Z] Removing intermediate container 8969661dadb9 [2023-08-22T22:54:09.283Z] ---> 53808a6e8855 [2023-08-22T22:54:09.284Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-22T22:54:09.552Z] ---> Running in fd514090d07b [2023-08-22T22:54:09.822Z] Removing intermediate container fd514090d07b [2023-08-22T22:54:09.822Z] ---> 3ce81a6c401f [2023-08-22T22:54:09.822Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T22:54:09.822Z] ---> Running in e0aedf052d79 [2023-08-22T22:54:11.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T22:54:11.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T22:54:12.461Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-22T22:54:12.461Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-22T22:54:12.461Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-22T22:54:12.461Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-22T22:54:12.461Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-22T22:54:12.461Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-22T22:54:12.461Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-22T22:54:12.461Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-22T22:54:12.461Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-22T22:54:12.461Z] (10/14) Installing kmod-libs (30-r1) [2023-08-22T22:54:12.461Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-22T22:54:12.728Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-22T22:54:12.728Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-22T22:54:12.728Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-22T22:54:12.728Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T22:54:12.728Z] Executing eudev-3.2.11-r4.trigger [2023-08-22T22:54:12.728Z] OK: 271 MiB in 67 packages [2023-08-22T22:54:14.138Z] Removing intermediate container e0aedf052d79 [2023-08-22T22:54:14.138Z] ---> 9efded868bb3 [2023-08-22T22:54:14.138Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-22T22:54:14.138Z] ---> Running in efee79e37574 [2023-08-22T22:54:14.138Z] Removing intermediate container efee79e37574 [2023-08-22T22:54:14.138Z] ---> 85a13ee96759 [2023-08-22T22:54:14.138Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-22T22:54:14.730Z] ---> 3cff2d9a600c [2023-08-22T22:54:14.730Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T22:54:14.730Z] ---> Running in 44303250b247 [2023-08-22T22:55:22.621Z] Removing intermediate container 44303250b247 [2023-08-22T22:55:22.621Z] ---> f472d5d704da [2023-08-22T22:55:22.621Z] Step 11/13 : COPY . . [2023-08-22T22:55:22.621Z] ---> 21d147bed61c [2023-08-22T22:55:22.621Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-22T22:55:22.621Z] ---> Running in b7975b745ded [2023-08-22T22:55:22.621Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T22:55:22.621Z]  Dload Upload Total Spent Left Speed [2023-08-22T22:55:22.621Z] 0 0  0  0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4460 0 --:--:-- --:--:-- --:--:-- 4481 [2023-08-22T22:55:22.621Z] Removing intermediate container b7975b745ded [2023-08-22T22:55:22.621Z] ---> 0604e9012a4e [2023-08-22T22:55:22.621Z] Step 13/13 : RUN ${MAKE} [2023-08-22T22:55:22.621Z] ---> Running in b14179933c3f [2023-08-22T22:55:22.621Z] noop [2023-08-22T22:55:22.621Z] Removing intermediate container b14179933c3f [2023-08-22T22:55:22.621Z] ---> 4d9fa05875d1 [2023-08-22T22:55:22.621Z] Successfully built 4d9fa05875d1 [2023-08-22T22:55:22.621Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:55:22.970Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T22:55:22.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:55:23.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-4309 does not seem to be running inside a container [2023-08-22T22:55:23.218Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T22:55:24.371Z] $ docker top f0a9130b26e4d25b4ce2c3f1b83a95bef7d1dd3e21100f462d8e2edd38750eb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T22:55:25.183Z] + go version [2023-08-22T22:55:25.183Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-22T22:55:25.202Z] $ docker stop --time=1 f0a9130b26e4d25b4ce2c3f1b83a95bef7d1dd3e21100f462d8e2edd38750eb4 [2023-08-22T22:55:26.825Z] $ docker rm -f --volumes f0a9130b26e4d25b4ce2c3f1b83a95bef7d1dd3e21100f462d8e2edd38750eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:55:27.370Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T22:55:27.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T22:55:27.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-4309 does not seem to be running inside a container [2023-08-22T22:55:27.596Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T22:55:30.169Z] $ docker top f71ff119cd8d527f62ac07015383aa6351ccc1a12bbc64fb938ddf643f0e3ed0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T22:55:30.649Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-08-22T22:55:31.236Z] + make test [2023-08-22T22:55:31.236Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T22:56:03.472Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-22T22:58:10.140Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-22T22:58:10.140Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.087s coverage: 4.4% of statements [2023-08-22T22:58:10.140Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-22T22:58:10.140Z] go vet ./... [2023-08-22T22:58:28.349Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T22:58:28.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T22:58:28.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T22:58:28.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T22:58:28.380Z] $ docker stop --time=1 f71ff119cd8d527f62ac07015383aa6351ccc1a12bbc64fb938ddf643f0e3ed0 [2023-08-22T22:58:30.166Z] $ docker rm -f --volumes f71ff119cd8d527f62ac07015383aa6351ccc1a12bbc64fb938ddf643f0e3ed0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T22:58:31.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T22:58:31.232Z] Warning: overwriting stash ‘coverage-report’ [2023-08-22T22:58:31.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T22:58:32.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T22:58:32.429Z] + ls -al . [2023-08-22T22:58:32.429Z] total 212 [2023-08-22T22:58:32.429Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 22:55 . [2023-08-22T22:58:32.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 22:53 .. [2023-08-22T22:58:32.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 22:53 .git [2023-08-22T22:58:32.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:53 .github [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 22 22:53 .gitignore [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 22 22:53 .golangci.yml [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 22 22:53 .hadolint.yml [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 22 22:53 Attribution.txt [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 22 22:53 CHANGELOG.md [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 22 22:53 Dockerfile [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 22 22:53 GOVERNANCE.md [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 22 22:53 Jenkinsfile [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 22:53 LICENSE [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 22 22:53 Makefile [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 22 22:53 OWNERS.md [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 22 22:53 README.md [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 22:51 VERSION [2023-08-22T22:58:32.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 22:53 bin [2023-08-22T22:58:32.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:53 cmd [2023-08-22T22:58:32.429Z] -rw-r--r-- 1 jenkins jenkins 54116 Aug 22 22:58 coverage.out [2023-08-22T22:58:32.429Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 22 22:53 docker-entrypoint.sh [2023-08-22T22:58:32.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 22:53 docs [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 22 22:53 go.mod [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 22 22:53 go.sum [2023-08-22T22:58:32.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 22:53 internal [2023-08-22T22:58:32.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 22:53 snap [2023-08-22T22:58:32.429Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 22 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T22:58:32.782Z] + 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=e95dc69a815be982376abdd36d95db0a5e6d40ef --label arch=arm64 --label version=0.0.0 . [2023-08-22T22:58:33.057Z] Sending build context to Docker daemon 1.349MB [2023-08-22T22:58:33.057Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T22:58:33.057Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-22T22:58:33.057Z] ---> 4d9fa05875d1 [2023-08-22T22:58:33.057Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-22T22:58:33.338Z] ---> Running in b55e3508a16c [2023-08-22T22:58:33.618Z] Removing intermediate container b55e3508a16c [2023-08-22T22:58:33.618Z] ---> ec8d5c1e1c43 [2023-08-22T22:58:33.618Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T22:58:33.618Z] ---> Running in 5842a0cce8f2 [2023-08-22T22:58:33.888Z] Removing intermediate container 5842a0cce8f2 [2023-08-22T22:58:33.888Z] ---> 9c5d9b756c9a [2023-08-22T22:58:33.888Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-22T22:58:33.888Z] ---> Running in 506eebd118c9 [2023-08-22T22:58:36.612Z] Removing intermediate container 506eebd118c9 [2023-08-22T22:58:36.612Z] ---> 3d1a132f0fb8 [2023-08-22T22:58:36.612Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-22T22:58:36.612Z] ---> Running in d9bb79c01311 [2023-08-22T22:58:36.612Z] Removing intermediate container d9bb79c01311 [2023-08-22T22:58:36.612Z] ---> 74ff2aea50d9 [2023-08-22T22:58:36.613Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T22:58:36.613Z] ---> Running in 0795d08f4007 [2023-08-22T22:58:36.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T22:58:37.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T22:58:38.612Z] OK: 271 MiB in 67 packages [2023-08-22T22:58:39.200Z] Removing intermediate container 0795d08f4007 [2023-08-22T22:58:39.200Z] ---> 14b45f39708c [2023-08-22T22:58:39.200Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-22T22:58:39.200Z] ---> Running in d4e0a4b589b5 [2023-08-22T22:58:39.467Z] Removing intermediate container d4e0a4b589b5 [2023-08-22T22:58:39.467Z] ---> 2b766ab845a7 [2023-08-22T22:58:39.467Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-22T22:58:40.055Z] ---> b1da77a9ac9e [2023-08-22T22:58:40.055Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T22:58:40.055Z] ---> Running in 21177c9e6563 [2023-08-22T22:58:42.730Z] Removing intermediate container 21177c9e6563 [2023-08-22T22:58:42.730Z] ---> 344eeac2f1c0 [2023-08-22T22:58:42.730Z] Step 11/36 : COPY . . [2023-08-22T22:58:43.315Z] ---> 907a75f0205b [2023-08-22T22:58:43.315Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-22T22:58:43.315Z] ---> Running in 5ac8362127c6 [2023-08-22T22:58:44.279Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-08-22T22:58:44.279Z]   Dload Upload Total Spent Left Speed [2023-08-22T22:58:44.862Z] 0 0 0  0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100 1062 0 0 2777 0 --:--:-- --:--:-- --:--:-- 2787 [2023-08-22T22:58:45.447Z] Removing intermediate container 5ac8362127c6 [2023-08-22T22:58:45.447Z] ---> ed8d4c84ed59 [2023-08-22T22:58:45.447Z] Step 13/36 : RUN ${MAKE} [2023-08-22T22:58:45.447Z] ---> Running in 2b9fcf44b72b [2023-08-22T22:58:46.410Z] 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-22T23:01:08.106Z] Removing intermediate container 2b9fcf44b72b [2023-08-22T23:01:08.106Z] ---> 867ff49397e0 [2023-08-22T23:01:08.106Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-22T23:01:08.106Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-22T23:01:08.106Z] 8766b47fe142: Pulling fs layer [2023-08-22T23:01:08.106Z] 8766b47fe142: Verifying Checksum [2023-08-22T23:01:08.106Z] 8766b47fe142: Download complete [2023-08-22T23:01:08.106Z] 8766b47fe142: Pull complete [2023-08-22T23:01:08.106Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-22T23:01:08.106Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-22T23:01:08.106Z] ---> 69d40e2cb93c [2023-08-22T23:01:08.106Z] Step 15/36 : FROM alpine:3.17 [2023-08-22T23:01:08.106Z] 3.17: Pulling from library/alpine [2023-08-22T23:01:08.106Z] 4060ece20d7a: Pulling fs layer [2023-08-22T23:01:08.106Z] 4060ece20d7a: Verifying Checksum [2023-08-22T23:01:08.106Z] 4060ece20d7a: Download complete [2023-08-22T23:01:08.374Z] 4060ece20d7a: Pull complete [2023-08-22T23:01:08.374Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T23:01:08.374Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T23:01:08.374Z] ---> 8650cd65339b [2023-08-22T23:01:08.374Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-22T23:01:08.639Z] ---> Running in b280cce91a89 [2023-08-22T23:01:08.905Z] Removing intermediate container b280cce91a89 [2023-08-22T23:01:08.905Z] ---> b1794861d455 [2023-08-22T23:01:08.905Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-22T23:01:08.905Z] ---> Running in cc89d62f98a1 [2023-08-22T23:01:09.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T23:01:10.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T23:01:11.405Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-22T23:01:11.405Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-22T23:01:11.405Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-22T23:01:11.405Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-22T23:01:11.405Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-22T23:01:11.405Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-22T23:01:11.405Z] (7/83) Installing libxcb (1.15-r0) [2023-08-22T23:01:11.405Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-22T23:01:11.671Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-22T23:01:11.671Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-22T23:01:11.936Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-22T23:01:11.936Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-22T23:01:11.936Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-22T23:01:11.936Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-22T23:01:11.936Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-22T23:01:11.936Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-22T23:01:11.936Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-22T23:01:11.936Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-22T23:01:11.936Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-22T23:01:11.936Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-22T23:01:11.936Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-22T23:01:11.936Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-22T23:01:11.936Z] (23/83) Installing glib (2.74.7-r0) [2023-08-22T23:01:12.201Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-22T23:01:12.201Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-22T23:01:12.201Z] (26/83) Installing libass (0.16.0-r1) [2023-08-22T23:01:12.201Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-22T23:01:12.201Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-22T23:01:12.201Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-22T23:01:12.201Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-22T23:01:12.201Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-22T23:01:12.201Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-22T23:01:12.201Z] (33/83) Installing libunistring (1.1-r0) [2023-08-22T23:01:12.465Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-22T23:01:12.465Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-22T23:01:12.465Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-22T23:01:12.465Z] (37/83) Installing lame (3.100-r2) [2023-08-22T23:01:12.465Z] (38/83) Installing opus (1.3.1-r1) [2023-08-22T23:01:12.465Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-22T23:01:12.465Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-22T23:01:12.465Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-22T23:01:12.465Z] (42/83) Installing orc (0.4.33-r0) [2023-08-22T23:01:12.465Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-22T23:01:12.465Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-22T23:01:12.465Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-22T23:01:12.731Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-22T23:01:12.731Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-22T23:01:12.731Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-22T23:01:12.731Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-22T23:01:12.731Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-22T23:01:12.731Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-22T23:01:12.731Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-22T23:01:12.731Z] (53/83) Installing libpulse (16.1-r6) [2023-08-22T23:01:12.731Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-22T23:01:12.731Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-22T23:01:12.731Z] (56/83) Installing librist (0.2.7-r0) [2023-08-22T23:01:12.731Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-22T23:01:12.731Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-22T23:01:12.731Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-22T23:01:12.997Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-22T23:01:12.997Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-22T23:01:12.997Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-22T23:01:12.997Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-22T23:01:12.997Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-22T23:01:12.997Z] (65/83) Installing libva (2.16.0-r0) [2023-08-22T23:01:12.997Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-22T23:01:12.997Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-22T23:01:12.997Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-22T23:01:12.997Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-22T23:01:12.997Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-22T23:01:12.997Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-22T23:01:12.997Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-22T23:01:13.267Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-22T23:01:13.267Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-22T23:01:13.267Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-22T23:01:13.267Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-22T23:01:13.850Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-22T23:01:13.850Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-22T23:01:13.850Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-22T23:01:13.850Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-22T23:01:13.850Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-22T23:01:13.850Z] (82/83) Installing kmod-libs (30-r1) [2023-08-22T23:01:13.850Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-22T23:01:13.850Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T23:01:13.850Z] Executing eudev-3.2.11-r4.trigger [2023-08-22T23:01:13.850Z] OK: 86 MiB in 98 packages [2023-08-22T23:01:17.186Z] Removing intermediate container cc89d62f98a1 [2023-08-22T23:01:17.186Z] ---> dcbfca28e1bb [2023-08-22T23:01:17.186Z] Step 18/36 : WORKDIR / [2023-08-22T23:01:17.186Z] ---> Running in f139e8828947 [2023-08-22T23:01:17.456Z] Removing intermediate container f139e8828947 [2023-08-22T23:01:17.456Z] ---> 4b0aaba89192 [2023-08-22T23:01:17.456Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-22T23:01:18.861Z] ---> 8f3cb811227f [2023-08-22T23:01:18.861Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-22T23:01:19.443Z] ---> 8ceaf284c680 [2023-08-22T23:01:19.443Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-22T23:01:19.708Z] ---> 42c817e61f40 [2023-08-22T23:01:19.708Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-22T23:01:20.290Z] ---> 2f83ca394b1c [2023-08-22T23:01:20.290Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-22T23:01:20.871Z] ---> 2d6a10bd4946 [2023-08-22T23:01:20.871Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-22T23:01:21.135Z] ---> 6e1f9230a40c [2023-08-22T23:01:21.135Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-22T23:01:22.543Z] ---> 91d74c86db2b [2023-08-22T23:01:22.543Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-22T23:01:22.543Z] ---> Running in 6a569beb078d [2023-08-22T23:01:24.485Z] Removing intermediate container 6a569beb078d [2023-08-22T23:01:24.485Z] ---> a9f2a2c1c2ae [2023-08-22T23:01:24.485Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-22T23:01:24.485Z] ---> Running in 5280adf79a5b [2023-08-22T23:01:25.893Z] Removing intermediate container 5280adf79a5b [2023-08-22T23:01:25.893Z] ---> 4d404c42f6ed [2023-08-22T23:01:25.893Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-22T23:01:25.893Z] ---> Running in d16143100b5b [2023-08-22T23:01:27.306Z] Removing intermediate container d16143100b5b [2023-08-22T23:01:27.306Z] ---> 645821bf3b99 [2023-08-22T23:01:27.306Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-22T23:01:27.306Z] ---> Running in 423de573cc79 [2023-08-22T23:01:30.642Z] Removing intermediate container 423de573cc79 [2023-08-22T23:01:30.642Z] ---> 076e85012d49 [2023-08-22T23:01:30.642Z] Step 30/36 : EXPOSE 59983 [2023-08-22T23:01:30.642Z] ---> Running in e7dc77af7f0a [2023-08-22T23:01:30.642Z] Removing intermediate container e7dc77af7f0a [2023-08-22T23:01:30.642Z] ---> 3938859d86ed [2023-08-22T23:01:30.642Z] Step 31/36 : EXPOSE 8554 [2023-08-22T23:01:30.642Z] ---> Running in 3e77ede8efc4 [2023-08-22T23:01:30.642Z] Removing intermediate container 3e77ede8efc4 [2023-08-22T23:01:30.642Z] ---> db8ae030933d [2023-08-22T23:01:30.642Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-22T23:01:30.909Z] ---> Running in 11eeb32148ab [2023-08-22T23:01:31.175Z] Removing intermediate container 11eeb32148ab [2023-08-22T23:01:31.175Z] ---> 422c7ed0a9e2 [2023-08-22T23:01:31.175Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-22T23:01:31.175Z] ---> Running in 44159b7734e0 [2023-08-22T23:01:31.441Z] Removing intermediate container 44159b7734e0 [2023-08-22T23:01:31.441Z] ---> ebec5c1a6781 [2023-08-22T23:01:31.441Z] Step 34/36 : LABEL arch=arm64 [2023-08-22T23:01:31.441Z] ---> Running in 0ba3acd44fbc [2023-08-22T23:01:31.707Z] Removing intermediate container 0ba3acd44fbc [2023-08-22T23:01:31.707Z] ---> a4d82f061c49 [2023-08-22T23:01:31.707Z] Step 35/36 : LABEL git_sha=e95dc69a815be982376abdd36d95db0a5e6d40ef [2023-08-22T23:01:31.707Z] ---> Running in 76474e74ec95 [2023-08-22T23:01:31.973Z] Removing intermediate container 76474e74ec95 [2023-08-22T23:01:31.973Z] ---> 695d7e472656 [2023-08-22T23:01:31.973Z] Step 36/36 : LABEL version=0.0.0 [2023-08-22T23:01:32.247Z] ---> Running in f18676464870 [2023-08-22T23:01:32.511Z] Removing intermediate container f18676464870 [2023-08-22T23:01:32.511Z] ---> 1d2ab2151661 [2023-08-22T23:01:32.511Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T23:01:32.511Z] Successfully built 1d2ab2151661 [2023-08-22T23:01:32.511Z] 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-22T23:01:32.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T23:01:32.961Z] [2023-08-22T23:01:32.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T23:01:33.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T23:01:33.294Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-22T23:01:33.294Z] 8998bd30e6a1: Pulling fs layer [2023-08-22T23:01:33.294Z] 04944245beec: Pulling fs layer [2023-08-22T23:01:33.295Z] 699f458cf7ca: Pulling fs layer [2023-08-22T23:01:33.295Z] 765212b225bb: Pulling fs layer [2023-08-22T23:01:33.295Z] f23df028b6ca: Pulling fs layer [2023-08-22T23:01:33.295Z] d65c8cfc05b1: Pulling fs layer [2023-08-22T23:01:33.295Z] 2437ff75d9bd: Pulling fs layer [2023-08-22T23:01:33.295Z] 765212b225bb: Waiting [2023-08-22T23:01:33.295Z] f23df028b6ca: Waiting [2023-08-22T23:01:33.295Z] d65c8cfc05b1: Waiting [2023-08-22T23:01:33.295Z] 2437ff75d9bd: Waiting [2023-08-22T23:01:33.562Z] 04944245beec: Verifying Checksum [2023-08-22T23:01:33.562Z] 04944245beec: Download complete [2023-08-22T23:01:33.562Z] 765212b225bb: Verifying Checksum [2023-08-22T23:01:33.562Z] 765212b225bb: Download complete [2023-08-22T23:01:33.562Z] f23df028b6ca: Verifying Checksum [2023-08-22T23:01:33.562Z] f23df028b6ca: Download complete [2023-08-22T23:01:33.562Z] d65c8cfc05b1: Verifying Checksum [2023-08-22T23:01:33.562Z] d65c8cfc05b1: Download complete [2023-08-22T23:01:33.562Z] 699f458cf7ca: Download complete [2023-08-22T23:01:34.144Z] 8998bd30e6a1: Verifying Checksum [2023-08-22T23:01:34.144Z] 8998bd30e6a1: Download complete [2023-08-22T23:01:36.097Z] 2437ff75d9bd: Verifying Checksum [2023-08-22T23:01:36.097Z] 2437ff75d9bd: Download complete [2023-08-22T23:01:38.035Z] 8998bd30e6a1: Pull complete [2023-08-22T23:01:38.300Z] 04944245beec: Pull complete [2023-08-22T23:01:39.705Z] 699f458cf7ca: Pull complete [2023-08-22T23:01:39.705Z] 765212b225bb: Pull complete [2023-08-22T23:01:43.040Z] f23df028b6ca: Pull complete [2023-08-22T23:01:43.040Z] d65c8cfc05b1: Pull complete [2023-08-22T23:01:58.043Z] 2437ff75d9bd: Pull complete [2023-08-22T23:01:58.043Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-22T23:01:58.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T23:01:58.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T23:01:58.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-4309 does not seem to be running inside a container [2023-08-22T23:01:58.270Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-22T23:02:00.584Z] $ docker top f43e3c4a3981ff8f191a1c7155446fd74bd17e4caadeccf834afeca97836f418 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:01.064Z] ---> job-cost.sh [2023-08-22T23:02:01.328Z] lf-activate-venv: SKIPPING [2023-08-22T23:02:01.328Z] INFO: No Stack... [2023-08-22T23:02:01.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-22T23:02:02.546Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T23:02:02.866Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-08-22T23:02:02.866Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T23:02:02.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [2023-08-22T23:02:02.932Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] did not exist. Created. [2023-08-22T23:02:02.932Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T23:02:03.580Z] /w/workspace/device-usb-camera/2@tmp/durable-1fe1b6e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-22T23:02:03.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-22T23:02:03.928Z] Warning: overwriting stash ‘stack-cost’ [2023-08-22T23:02:03.974Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T23:02:03.983Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T23:02:04.002Z] $ docker stop --time=1 f43e3c4a3981ff8f191a1c7155446fd74bd17e4caadeccf834afeca97836f418 [2023-08-22T23:02:05.450Z] $ docker rm -f --volumes f43e3c4a3981ff8f191a1c7155446fd74bd17e4caadeccf834afeca97836f418 [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-22T23:02:05.811Z] provisioning config files... [2023-08-22T23:02:05.819Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config732488826920990728tmp [Pipeline] { [Pipeline] sh [2023-08-22T23:02:06.111Z] + set +x [2023-08-22T23:02:06.111Z] + curl -s https://codecov.io/bash [2023-08-22T23:02:06.111Z] + bash -s -- [2023-08-22T23:02:06.111Z] [2023-08-22T23:02:06.111Z] _____ _ [2023-08-22T23:02:06.111Z] / ____| | | [2023-08-22T23:02:06.111Z] | | ___ __| | ___ ___ _____ __ [2023-08-22T23:02:06.111Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-22T23:02:06.111Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-22T23:02:06.111Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-22T23:02:06.111Z] Bash-1.0.6 [2023-08-22T23:02:06.111Z] [2023-08-22T23:02:06.111Z] [2023-08-22T23:02:06.111Z] ==> git version 2.25.1 found [2023-08-22T23:02:06.111Z] ==> 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-22T23:02:06.111Z] Release-Date: 2020-01-08 [2023-08-22T23:02:06.111Z] 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-22T23:02:06.111Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-22T23:02:06.111Z] ==> Jenkins CI detected. [2023-08-22T23:02:06.111Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-270 [2023-08-22T23:02:06.111Z] project root: . [2023-08-22T23:02:06.112Z] --> token set from env [2023-08-22T23:02:06.112Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-22T23:02:06.112Z] ==> Running gcov in . (disable via -X gcov) [2023-08-22T23:02:06.112Z] ==> Python coveragepy not found [2023-08-22T23:02:06.112Z] ==> Searching for coverage reports in: [2023-08-22T23:02:06.112Z] + . [2023-08-22T23:02:06.112Z] -> Found 1 reports [2023-08-22T23:02:06.112Z] ==> Detecting git/mercurial file structure [2023-08-22T23:02:06.112Z] ==> Reading reports [2023-08-22T23:02:06.370Z] + ./coverage.out bytes=54116 [2023-08-22T23:02:06.370Z] ==> Appending adjustments [2023-08-22T23:02:06.370Z] https://docs.codecov.io/docs/fixing-reports [2023-08-22T23:02:06.370Z] + Found adjustments [2023-08-22T23:02:06.370Z] ==> Gzipping contents [2023-08-22T23:02:06.370Z] 8.0K /tmp/codecov.zWppQd.gz [2023-08-22T23:02:06.370Z] ==> Uploading reports [2023-08-22T23:02:06.370Z] url: https://codecov.io [2023-08-22T23:02:06.370Z] query: branch=PR-270&commit=4299941a1a63411b543e49b3673952e85509849f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-22T23:02:06.370Z] -> Pinging Codecov [2023-08-22T23:02:06.370Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-270&commit=4299941a1a63411b543e49b3673952e85509849f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-22T23:02:06.629Z] -> Uploading to [2023-08-22T23:02:06.629Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-22/73D8F5FF140700D3E01443B452E23636/4299941a1a63411b543e49b3673952e85509849f/e1f11616-01f7-49ce-b904-f4bcbbdf1a54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T230206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1a20643a55092ad68a241d8984128817dc9e6c61d970213c42fe083097697bc [2023-08-22T23:02:06.629Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T23:02:06.629Z] Dload Upload Total Spent Left Speed [2023-08-22T23:02:06.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6908 0 0 100 6908 0 34888 --:--:-- --:--:-- --:--:-- 34713 100 6908 0 0 100 6908 0 34888 --:--:-- --:--:-- --:--:-- 34713 [2023-08-22T23:02:06.629Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/4299941a1a63411b543e49b3673952e85509849f [Pipeline] } [2023-08-22T23:02:06.636Z] 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-22T23:02:07.365Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-270/archives ] [2023-08-22T23:02:07.365Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-22T23:02:07.365Z] total 16 [2023-08-22T23:02:07.365Z] drwxr-xr-x 3 root root 4096 Aug 22 22:53 . [2023-08-22T23:02:07.365Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 22:53 .. [2023-08-22T23:02:07.365Z] drwxr-xr-x 2 root root 4096 Aug 22 22:53 cost [2023-08-22T23:02:07.365Z] -rw-r--r-- 1 root root 89 Aug 22 22:53 cost.csv [2023-08-22T23:02:07.365Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-22T23:02:07.365Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-22T23:02:07.365Z] total 16 [2023-08-22T23:02:07.365Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 22:53 . [2023-08-22T23:02:07.365Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 22:53 .. [2023-08-22T23:02:07.365Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 22:53 cost [2023-08-22T23:02:07.365Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 22 22:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:07.658Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:08.517Z] ---> package-listing.sh [2023-08-22T23:02:08.517Z] ++ facter osfamily [2023-08-22T23:02:08.517Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-22T23:02:08.776Z] + OS_FAMILY=debian [2023-08-22T23:02:08.776Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-270 [2023-08-22T23:02:08.776Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-22T23:02:08.776Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-22T23:02:08.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-22T23:02:08.776Z] + PACKAGES=/tmp/packages_start.txt [2023-08-22T23:02:08.776Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-22T23:02:08.776Z] + PACKAGES=/tmp/packages_end.txt [2023-08-22T23:02:08.776Z] + case "${OS_FAMILY}" in [2023-08-22T23:02:08.776Z] + dpkg -l [2023-08-22T23:02:08.776Z] + grep '^ii' [2023-08-22T23:02:08.776Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-22T23:02:08.776Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-22T23:02:08.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-22T23:02:08.776Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-22T23:02:08.776Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-270/archives/ [2023-08-22T23:02:08.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-270/archives/ [Pipeline] echo [2023-08-22T23:02:08.787Z] 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-22T23:02:09.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T23:02:09.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T23:02:09.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T23:02:09.703Z] prd-ubuntu20.04-docker-8c-8g-4308 does not seem to be running inside a container [2023-08-22T23:02:09.734Z] $ 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-270/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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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-22T23:02:09.946Z] $ docker top 32657b121741b0d03926099bccfb2e106015fdc71309abf0211f5df77110c283 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T23:02:10.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-22T23:02:10.578Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-22T23:02:10.859Z] + ls /var/log/sa-host [2023-08-22T23:02:10.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T23:02:11.013Z] provisioning config files... [2023-08-22T23:02:11.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config16347910233075083115tmp [Pipeline] { [Pipeline] echo [2023-08-22T23:02:11.032Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:11.312Z] ---> create-netrc.sh [Pipeline] } [2023-08-22T23:02:11.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:11.644Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-22T23:02:11.652Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:11.933Z] ---> sudo-logs.sh [2023-08-22T23:02:11.933Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-22T23:02:11.962Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:12.245Z] ---> job-cost.sh [2023-08-22T23:02:12.245Z] lf-activate-venv: SKIPPING [2023-08-22T23:02:12.245Z] DEBUG: total: 0.2199999988079071 [2023-08-22T23:02:12.245Z] INFO: Retrieving Stack Cost... [2023-08-22T23:02:12.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T23:02:13.075Z] INFO: Archiving Costs [Pipeline] echo [2023-08-22T23:02:13.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T23:02:13.367Z] ---> logs-deploy.sh [2023-08-22T23:02:13.367Z] lf-activate-venv: SKIPPING [2023-08-22T23:02:13.367Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-270/2 [2023-08-22T23:02:13.367Z] INFO: archiving workspace using pattern(s): [2023-08-22T23:02:14.303Z] Archives upload complete. [2023-08-22T23:02:14.303Z] INFO: archiving logs to Nexus