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 459cf341bd75291b8e89677bc01a157fc628e30c 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-ssh434726570708350475.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-ssh9947014741328176720.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-ssh13812552012103330858.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-ssh2943226507995210933.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-ssh10027343600720621463.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-4397 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 459cf341bd75291b8e89677bc01a157fc628e30c Merge succeeded, producing a6711fb11562c57d8f4d9fea6be630c8c1acb651 Checking out Revision a6711fb11562c57d8f4d9fea6be630c8c1acb651 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 459cf341bd75291b8e89677bc01a157fc628e30c # 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 a6711fb11562c57d8f4d9fea6be630c8c1acb651 # timeout=10 Commit message: "Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e95dc69a815be982376abdd36d95db0a5e6d40ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-23T18:31:01.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-23T18:31:01.792Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-23T18:31:01.807Z] ========================================================= [2023-08-23T18:31:01.807Z] EdgeX Global Pipelines Version Info [2023-08-23T18:31:01.807Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:31:02.508Z] ------------------- [2023-08-23T18:31:02.508Z] stable info: [2023-08-23T18:31:02.508Z] ------------------- [2023-08-23T18:31:02.508Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-23T18:31:02.508Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T18:31:02.508Z] Message: update stable to v1.0.253 [2023-08-23T18:31:03.078Z] ------------------- [2023-08-23T18:31:03.078Z] experimental info: [2023-08-23T18:31:03.078Z] ------------------- [2023-08-23T18:31:03.078Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-23T18:31:03.078Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T18:31:03.078Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-23T18:31:03.248Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-23T18:31:03.264Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-23T18:31:03.278Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-23T18:31:03.295Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-23T18:31:03.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-23T18:31:03.331Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-23T18:31:03.351Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-23T18:31:03.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-23T18:31:03.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-23T18:31:03.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-23T18:31:03.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-23T18:31:03.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-23T18:31:03.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-23T18:31:03.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-23T18:31:03.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T18:31:03.496Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T18:31:03.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T18:31:03.533Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T18:31:03.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-23T18:31:03.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-23T18:31:03.588Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-23T18:31:03.608Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-23T18:31:03.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-23T18:31:03.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-23T18:31:03.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-23T18:31:03.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-23T18:31:03.687Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-23T18:31:03.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo [2023-08-23T18:31:03.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo [2023-08-23T18:31:03.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo [2023-08-23T18:31:03.762Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6711fb11562c57d8f4d9fea6be630c8c1acb651 [Pipeline] echo [2023-08-23T18:31:03.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6711fb [Pipeline] echo [2023-08-23T18:31:03.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T18:31:03.846Z] provisioning config files... [2023-08-23T18:31:03.859Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config11890785308454940412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:31:04.160Z] ---> docker-login.sh [2023-08-23T18:31:04.160Z] nexus3.edgexfoundry.org:10001 [2023-08-23T18:31:04.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:04.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:04.420Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:04.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:04.420Z] [2023-08-23T18:31:04.420Z] Login Succeeded [2023-08-23T18:31:04.420Z] nexus3.edgexfoundry.org:10002 [2023-08-23T18:31:04.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:04.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:04.680Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:04.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:04.680Z] [2023-08-23T18:31:04.680Z] Login Succeeded [2023-08-23T18:31:04.680Z] nexus3.edgexfoundry.org:10003 [2023-08-23T18:31:04.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:04.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:04.680Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:04.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:04.680Z] [2023-08-23T18:31:04.680Z] Login Succeeded [2023-08-23T18:31:04.680Z] nexus3.edgexfoundry.org:10004 [2023-08-23T18:31:04.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:04.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:04.941Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:04.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:04.941Z] [2023-08-23T18:31:04.941Z] Login Succeeded [2023-08-23T18:31:04.941Z] docker.io [2023-08-23T18:31:04.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:05.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:05.201Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:05.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:05.201Z] [2023-08-23T18:31:05.201Z] Login Succeeded [2023-08-23T18:31:05.201Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T18:31:05.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-23T18:31:05.568Z] + git rev-list -1 --merges a6711fb11562c57d8f4d9fea6be630c8c1acb651~1..a6711fb11562c57d8f4d9fea6be630c8c1acb651 [Pipeline] echo [2023-08-23T18:31:05.611Z] -----------> git rev-list -1 --merges a6711fb11562c57d8f4d9fea6be630c8c1acb651~1..a6711fb11562c57d8f4d9fea6be630c8c1acb651 a6711fb11562c57d8f4d9fea6be630c8c1acb651 [2023-08-23T18:31:05.611Z] a6711fb11562c57d8f4d9fea6be630c8c1acb651 [false] [Pipeline] sh [2023-08-23T18:31:05.898Z] + git log --format=format:%s -1 a6711fb11562c57d8f4d9fea6be630c8c1acb651 [Pipeline] echo [2023-08-23T18:31:05.913Z] ========================================================= [2023-08-23T18:31:05.913Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-23T18:31:05.913Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T18:31:06.259Z] + git log --format=format:%s -1 a6711fb11562c57d8f4d9fea6be630c8c1acb651 [Pipeline] echo [2023-08-23T18:31:06.271Z] [semverPrep] GIT_COMMIT: a6711fb11562c57d8f4d9fea6be630c8c1acb651, Commit Message: Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD [Pipeline] echo [2023-08-23T18:31:06.283Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-23T18:31:06.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T18:31:06.653Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-23T18:31:06.653Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-23T18:31:06.653Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-23T18:31:06.653Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-08-23T18:31:06.653Z] -a /etc/ssh/ssh_known_hosts [2023-08-23T18:31:06.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:31:07.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T18:31:07.063Z] [2023-08-23T18:31:07.063Z] 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-23T18:31:07.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T18:31:07.363Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-23T18:31:07.363Z] b85a868b505f: Pulling fs layer [2023-08-23T18:31:07.363Z] e2be974225ed: Pulling fs layer [2023-08-23T18:31:07.363Z] 339a4e72a1f5: Pulling fs layer [2023-08-23T18:31:07.363Z] 988bab9f4d93: Pulling fs layer [2023-08-23T18:31:07.363Z] 1469e6f7b9e6: Pulling fs layer [2023-08-23T18:31:07.363Z] eaf3925da568: Pulling fs layer [2023-08-23T18:31:07.363Z] bab4dde63d76: Pulling fs layer [2023-08-23T18:31:07.363Z] bde34c3a00c8: Pulling fs layer [2023-08-23T18:31:07.363Z] b352a97aabf1: Pulling fs layer [2023-08-23T18:31:07.363Z] 4872d77fe225: Pulling fs layer [2023-08-23T18:31:07.363Z] 5851b861e8e6: Pulling fs layer [2023-08-23T18:31:07.363Z] 988bab9f4d93: Waiting [2023-08-23T18:31:07.363Z] bde34c3a00c8: Waiting [2023-08-23T18:31:07.363Z] b352a97aabf1: Waiting [2023-08-23T18:31:07.363Z] 4872d77fe225: Waiting [2023-08-23T18:31:07.363Z] 5851b861e8e6: Waiting [2023-08-23T18:31:07.363Z] 1469e6f7b9e6: Waiting [2023-08-23T18:31:07.363Z] eaf3925da568: Waiting [2023-08-23T18:31:07.363Z] bab4dde63d76: Waiting [2023-08-23T18:31:07.363Z] e2be974225ed: Verifying Checksum [2023-08-23T18:31:07.363Z] e2be974225ed: Download complete [2023-08-23T18:31:07.363Z] 988bab9f4d93: Download complete [2023-08-23T18:31:07.363Z] 1469e6f7b9e6: Verifying Checksum [2023-08-23T18:31:07.363Z] 1469e6f7b9e6: Download complete [2023-08-23T18:31:07.363Z] 339a4e72a1f5: Verifying Checksum [2023-08-23T18:31:07.363Z] 339a4e72a1f5: Download complete [2023-08-23T18:31:07.622Z] eaf3925da568: Verifying Checksum [2023-08-23T18:31:07.622Z] eaf3925da568: Download complete [2023-08-23T18:31:07.622Z] bde34c3a00c8: Download complete [2023-08-23T18:31:07.622Z] b352a97aabf1: Verifying Checksum [2023-08-23T18:31:07.622Z] b352a97aabf1: Download complete [2023-08-23T18:31:07.622Z] 4872d77fe225: Download complete [2023-08-23T18:31:07.622Z] 5851b861e8e6: Verifying Checksum [2023-08-23T18:31:07.622Z] 5851b861e8e6: Download complete [2023-08-23T18:31:07.622Z] b85a868b505f: Download complete [2023-08-23T18:31:07.882Z] bab4dde63d76: Verifying Checksum [2023-08-23T18:31:07.882Z] bab4dde63d76: Download complete [2023-08-23T18:31:08.830Z] b85a868b505f: Pull complete [2023-08-23T18:31:09.089Z] e2be974225ed: Pull complete [2023-08-23T18:31:09.658Z] 339a4e72a1f5: Pull complete [2023-08-23T18:31:09.658Z] 988bab9f4d93: Pull complete [2023-08-23T18:31:09.919Z] 1469e6f7b9e6: Pull complete [2023-08-23T18:31:09.919Z] eaf3925da568: Pull complete [2023-08-23T18:31:11.887Z] bab4dde63d76: Pull complete [2023-08-23T18:31:11.887Z] bde34c3a00c8: Pull complete [2023-08-23T18:31:12.162Z] b352a97aabf1: Pull complete [2023-08-23T18:31:12.162Z] 4872d77fe225: Pull complete [2023-08-23T18:31:12.162Z] 5851b861e8e6: Pull complete [2023-08-23T18:31:12.162Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-23T18:31:12.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T18:31:12.162Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:31:12.264Z] prd-ubuntu20.04-docker-8c-8g-4397 does not seem to be running inside a container [2023-08-23T18:31:12.302Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-23T18:31:16.094Z] $ docker top b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 -eo pid,comm [2023-08-23T18:31:16.155Z] 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-23T18:31:16.155Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T18:31:16.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T18:31:16.192Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T18:31:16.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T18:31:16.322Z] $ docker exec b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 ssh-agent [2023-08-23T18:31:16.444Z] SSH_AUTH_SOCK=/tmp/ssh-ZL4yTXfKuJKk/agent.32 [2023-08-23T18:31:16.444Z] SSH_AGENT_PID=38 [2023-08-23T18:31:16.451Z] Running ssh-add (command line suppressed) [2023-08-23T18:31:16.552Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_10461008828782526691.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_10461008828782526691.key) [2023-08-23T18:31:16.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T18:31:16.851Z] + git tag --points-at HEAD [Pipeline] } [2023-08-23T18:31:16.870Z] $ docker exec --env ******** --env ******** b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 ssh-agent -k [2023-08-23T18:31:16.968Z] unset SSH_AUTH_SOCK; [2023-08-23T18:31:16.969Z] unset SSH_AGENT_PID; [2023-08-23T18:31:16.969Z] echo Agent pid 38 killed; [2023-08-23T18:31:16.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-23T18:31:17.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T18:31:17.007Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T18:31:17.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T18:31:17.140Z] $ docker exec b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 ssh-agent [2023-08-23T18:31:17.246Z] SSH_AUTH_SOCK=/tmp/ssh-02oWaysiUAYb/agent.71 [2023-08-23T18:31:17.246Z] SSH_AGENT_PID=77 [2023-08-23T18:31:17.251Z] Running ssh-add (command line suppressed) [2023-08-23T18:31:17.358Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_2168431692580310965.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_2168431692580310965.key) [2023-08-23T18:31:17.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T18:31:17.672Z] + git semver init [2023-08-23T18:31:17.932Z] 2023-08-23 18:31:17,869 [run_init] DEBUG init version:0.0.0 force:False [2023-08-23T18:31:17.932Z] 2023-08-23 18:31:17,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-270/.semver [2023-08-23T18:31:17.932Z] 2023-08-23 18:31:17,870 [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-23T18:31:17.932Z] 2023-08-23 18:31:17,871 [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-23T18:31:18.870Z] 2023-08-23 18:31:18,557 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-270/.git/info/exclude [2023-08-23T18:31:18.870Z] 2023-08-23 18:31:18,558 [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-23T18:31:18.870Z] 2023-08-23 18:31:18,558 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-23T18:31:18.870Z] 2023-08-23 18:31:18,562 [execute] INFO git cat-file --batch-check [2023-08-23T18:31:18.870Z] 2023-08-23 18:31:18,563 [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-23T18:31:18.870Z] 2023-08-23 18:31:18,569 [execute] INFO git cat-file --batch [2023-08-23T18:31:18.870Z] 2023-08-23 18:31:18,569 [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-23T18:31:18.870Z] 2023-08-23 18:31:18,574 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-23T18:31:18.870Z] 0.0.0 [Pipeline] } [2023-08-23T18:31:18.883Z] $ docker exec --env ******** --env ******** b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 ssh-agent -k [2023-08-23T18:31:18.997Z] unset SSH_AUTH_SOCK; [2023-08-23T18:31:18.999Z] unset SSH_AGENT_PID; [2023-08-23T18:31:18.999Z] echo Agent pid 77 killed; [2023-08-23T18:31:19.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T18:31:19.319Z] + git semver [Pipeline] } [2023-08-23T18:31:19.594Z] $ docker stop --time=1 b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 [2023-08-23T18:31:20.869Z] $ docker rm -f --volumes b280d0f280316172f118f7c97ba6c393fe8839c364815f8851d67fe94626a4b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T18:31:21.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-23T18:31:21.406Z] Stashed 1 file(s) [Pipeline] echo [2023-08-23T18:31:21.408Z] [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-23T18:31:21.579Z] provisioning config files... [2023-08-23T18:31:21.587Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config16753977672182950437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:31:21.890Z] ---> docker-login.sh [2023-08-23T18:31:21.891Z] nexus3.edgexfoundry.org:10001 [2023-08-23T18:31:21.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:21.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:21.891Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:21.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:21.891Z] [2023-08-23T18:31:21.891Z] Login Succeeded [2023-08-23T18:31:21.891Z] nexus3.edgexfoundry.org:10002 [2023-08-23T18:31:21.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:21.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:21.891Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:21.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:21.891Z] [2023-08-23T18:31:21.891Z] Login Succeeded [2023-08-23T18:31:21.891Z] nexus3.edgexfoundry.org:10003 [2023-08-23T18:31:22.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:22.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:22.150Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:22.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:22.150Z] [2023-08-23T18:31:22.150Z] Login Succeeded [2023-08-23T18:31:22.150Z] nexus3.edgexfoundry.org:10004 [2023-08-23T18:31:22.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:22.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:22.150Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:22.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:22.150Z] [2023-08-23T18:31:22.150Z] Login Succeeded [2023-08-23T18:31:22.150Z] docker.io [2023-08-23T18:31:22.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:31:22.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:31:22.409Z] Configure a credential helper to remove this warning. See [2023-08-23T18:31:22.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:31:22.409Z] [2023-08-23T18:31:22.409Z] Login Succeeded [2023-08-23T18:31:22.409Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T18:31:22.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T18:31:22.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T18:31:22.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T18:31:22.503Z] ========================================================= [2023-08-23T18:31:22.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-23T18:31:22.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:31:22.805Z] + 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-23T18:31:22.805Z] Sending build context to Docker daemon 2.161MB [2023-08-23T18:31:22.805Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T18:31:22.805Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-23T18:31:22.805Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-23T18:31:22.805Z] 4db1b89c0bd1: Pulling fs layer [2023-08-23T18:31:22.805Z] 6911f1a30b25: Pulling fs layer [2023-08-23T18:31:22.805Z] e194b8c5c2a9: Pulling fs layer [2023-08-23T18:31:22.805Z] 6863d3e3a2b1: Pulling fs layer [2023-08-23T18:31:22.805Z] ec0bb842ea78: Pulling fs layer [2023-08-23T18:31:22.805Z] 40a00589a448: Pulling fs layer [2023-08-23T18:31:22.805Z] 6c08303d61cc: Pulling fs layer [2023-08-23T18:31:22.805Z] 798269fcf238: Pulling fs layer [2023-08-23T18:31:22.805Z] ec0bb842ea78: Waiting [2023-08-23T18:31:22.805Z] 40a00589a448: Waiting [2023-08-23T18:31:22.805Z] 6c08303d61cc: Waiting [2023-08-23T18:31:22.805Z] 798269fcf238: Waiting [2023-08-23T18:31:22.805Z] 6863d3e3a2b1: Waiting [2023-08-23T18:31:22.805Z] 6911f1a30b25: Download complete [2023-08-23T18:31:22.805Z] 6863d3e3a2b1: Verifying Checksum [2023-08-23T18:31:22.805Z] 6863d3e3a2b1: Download complete [2023-08-23T18:31:22.805Z] ec0bb842ea78: Download complete [2023-08-23T18:31:23.064Z] 4db1b89c0bd1: Download complete [2023-08-23T18:31:23.064Z] 40a00589a448: Verifying Checksum [2023-08-23T18:31:23.064Z] 40a00589a448: Download complete [2023-08-23T18:31:23.064Z] 4db1b89c0bd1: Pull complete [2023-08-23T18:31:23.323Z] 6911f1a30b25: Pull complete [2023-08-23T18:31:23.323Z] 798269fcf238: Verifying Checksum [2023-08-23T18:31:23.323Z] 798269fcf238: Download complete [2023-08-23T18:31:23.582Z] e194b8c5c2a9: Verifying Checksum [2023-08-23T18:31:23.582Z] e194b8c5c2a9: Download complete [2023-08-23T18:31:23.841Z] 6c08303d61cc: Verifying Checksum [2023-08-23T18:31:23.841Z] 6c08303d61cc: Download complete [2023-08-23T18:31:27.128Z] e194b8c5c2a9: Pull complete [2023-08-23T18:31:27.388Z] 6863d3e3a2b1: Pull complete [2023-08-23T18:31:27.388Z] ec0bb842ea78: Pull complete [2023-08-23T18:31:27.388Z] 40a00589a448: Pull complete [2023-08-23T18:31:29.918Z] 6c08303d61cc: Pull complete [2023-08-23T18:31:30.854Z] 798269fcf238: Pull complete [2023-08-23T18:31:30.854Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-23T18:31:30.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-23T18:31:30.854Z] ---> ec979cd7f677 [2023-08-23T18:31:30.854Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-23T18:31:36.144Z] ---> Running in b24c69c27520 [2023-08-23T18:31:36.144Z] Removing intermediate container b24c69c27520 [2023-08-23T18:31:36.144Z] ---> 6e9924b09bad [2023-08-23T18:31:36.144Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T18:31:36.144Z] ---> Running in ee00f83ebfe1 [2023-08-23T18:31:36.144Z] Removing intermediate container ee00f83ebfe1 [2023-08-23T18:31:36.144Z] ---> 88656b241832 [2023-08-23T18:31:36.144Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T18:31:36.144Z] ---> Running in 443e23f7daa9 [2023-08-23T18:31:36.144Z] Removing intermediate container 443e23f7daa9 [2023-08-23T18:31:36.144Z] ---> ef7c8f473b4f [2023-08-23T18:31:36.144Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T18:31:36.144Z] ---> Running in d58562abac0e [2023-08-23T18:31:36.144Z] Removing intermediate container d58562abac0e [2023-08-23T18:31:36.144Z] ---> dd7205da860e [2023-08-23T18:31:36.144Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T18:31:36.144Z] ---> Running in dcf73a5afb7f [2023-08-23T18:31:36.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T18:31:36.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T18:31:36.404Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-23T18:31:36.404Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-23T18:31:36.404Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T18:31:36.404Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T18:31:36.404Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-23T18:31:36.404Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-23T18:31:36.404Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-23T18:31:36.404Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-23T18:31:36.404Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-23T18:31:36.404Z] (10/14) Installing kmod-libs (30-r1) [2023-08-23T18:31:36.404Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-23T18:31:36.404Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-23T18:31:36.404Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-23T18:31:36.404Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-23T18:31:36.404Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T18:31:36.404Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T18:31:36.404Z] OK: 272 MiB in 67 packages [2023-08-23T18:31:36.529Z] Still waiting to schedule task [2023-08-23T18:31:36.530Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-23T18:31:36.975Z] Removing intermediate container dcf73a5afb7f [2023-08-23T18:31:36.976Z] ---> 8357658c03bc [2023-08-23T18:31:36.976Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-23T18:31:36.976Z] ---> Running in 4ba26f0bf2a4 [2023-08-23T18:31:36.976Z] Removing intermediate container 4ba26f0bf2a4 [2023-08-23T18:31:36.976Z] ---> 39a761fdbda0 [2023-08-23T18:31:36.976Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-23T18:31:37.234Z] ---> 0037833c34c8 [2023-08-23T18:31:37.235Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T18:31:37.235Z] ---> Running in 3a83bf410951 [2023-08-23T18:32:24.009Z] Removing intermediate container 3a83bf410951 [2023-08-23T18:32:24.009Z] ---> 7075dac62dda [2023-08-23T18:32:24.009Z] Step 11/13 : COPY . . [2023-08-23T18:32:24.009Z] ---> 54f5bca4f930 [2023-08-23T18:32:24.009Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T18:32:24.009Z] ---> Running in 5fc1271211c1 [2023-08-23T18:32:24.009Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:32:24.009Z] Dload Upload Total Spent Left Speed [2023-08-23T18:32:24.009Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1252 100 1252 0 0 9226 0 --:--:-- --:--:-- --:--:-- 9274 [2023-08-23T18:32:24.009Z] Removing intermediate container 5fc1271211c1 [2023-08-23T18:32:24.009Z] ---> 9e6a051a2cbc [2023-08-23T18:32:24.009Z] Step 13/13 : RUN ${MAKE} [2023-08-23T18:32:24.009Z] ---> Running in 34561af36725 [2023-08-23T18:32:24.009Z] noop [2023-08-23T18:32:24.009Z] Removing intermediate container 34561af36725 [2023-08-23T18:32:24.009Z] ---> 11efdef87cc0 [2023-08-23T18:32:24.009Z] Successfully built 11efdef87cc0 [2023-08-23T18:32:24.009Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:32:24.315Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T18:32:24.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:32:24.388Z] prd-ubuntu20.04-docker-8c-8g-4397 does not seem to be running inside a container [2023-08-23T18:32:24.418Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-23T18:32:24.766Z] $ docker top 46326832c8b5d946d885e186faa9b73e021ab3de56e8905306d24d60d703523f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T18:32:25.110Z] + go version [2023-08-23T18:32:25.110Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-23T18:32:25.123Z] $ docker stop --time=1 46326832c8b5d946d885e186faa9b73e021ab3de56e8905306d24d60d703523f [2023-08-23T18:32:26.362Z] $ docker rm -f --volumes 46326832c8b5d946d885e186faa9b73e021ab3de56e8905306d24d60d703523f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:32:26.737Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T18:32:26.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:32:26.805Z] prd-ubuntu20.04-docker-8c-8g-4397 does not seem to be running inside a container [2023-08-23T18:32:26.836Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-23T18:32:27.156Z] $ docker top 7b276f901151d65d95a223c2d789aa05d8f89715aadda9302b78a461679ceb58 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T18:32:27.493Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] fileExists [Pipeline] sh [2023-08-23T18:32:27.787Z] + make test [2023-08-23T18:32:27.787Z] go test ./... -coverprofile=coverage.out ./... [2023-08-23T18:32:33.047Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-23T18:32:43.014Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-23T18:32:43.014Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements [2023-08-23T18:32:49.577Z] go vet ./... [2023-08-23T18:32:53.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T18:32:53.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T18:32:53.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-23T18:32:53.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T18:32:53.791Z] $ docker stop --time=1 7b276f901151d65d95a223c2d789aa05d8f89715aadda9302b78a461679ceb58 [2023-08-23T18:32:57.229Z] $ docker rm -f --volumes 7b276f901151d65d95a223c2d789aa05d8f89715aadda9302b78a461679ceb58 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T18:32:57.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T18:32:57.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-23T18:32:58.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T18:32:58.525Z] + ls -al . [2023-08-23T18:32:58.525Z] total 216 [2023-08-23T18:32:58.525Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 18:32 . [2023-08-23T18:32:58.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 18:30 .. [2023-08-23T18:32:58.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 18:31 .git [2023-08-23T18:32:58.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:30 .github [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 23 18:30 .gitignore [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 18:30 .golangci.yml [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 18:30 .hadolint.yml [2023-08-23T18:32:58.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 18:31 .semver [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 23 18:30 Attribution.txt [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 23 18:30 CHANGELOG.md [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 18:30 Dockerfile [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 18:30 GOVERNANCE.md [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 18:30 Jenkinsfile [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 18:30 LICENSE [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 23 18:30 Makefile [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 18:30 OWNERS.md [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 18:30 README.md [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 18:31 VERSION [2023-08-23T18:32:58.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 18:30 bin [2023-08-23T18:32:58.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:30 cmd [2023-08-23T18:32:58.525Z] -rw-r--r-- 1 jenkins jenkins 54116 Aug 23 18:32 coverage.out [2023-08-23T18:32:58.525Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 23 18:30 docker-entrypoint.sh [2023-08-23T18:32:58.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 18:30 docs [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 23 18:30 go.mod [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 23 18:30 go.sum [2023-08-23T18:32:58.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:30 internal [2023-08-23T18:32:58.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 18:30 snap [2023-08-23T18:32:58.525Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:32:58.828Z] + 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=a6711fb11562c57d8f4d9fea6be630c8c1acb651 --label arch=amd64 --label version=0.0.0 . [2023-08-23T18:32:58.828Z] Sending build context to Docker daemon 2.215MB [2023-08-23T18:32:58.828Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T18:32:58.828Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-23T18:32:58.828Z] ---> 11efdef87cc0 [2023-08-23T18:32:58.828Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-23T18:32:58.828Z] ---> Running in 98a153c09e1d [2023-08-23T18:32:59.086Z] Removing intermediate container 98a153c09e1d [2023-08-23T18:32:59.086Z] ---> ce346347b2ea [2023-08-23T18:32:59.086Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T18:32:59.086Z] ---> Running in f84881b39eb3 [2023-08-23T18:32:59.086Z] Removing intermediate container f84881b39eb3 [2023-08-23T18:32:59.086Z] ---> c127102513f1 [2023-08-23T18:32:59.086Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T18:32:59.086Z] ---> Running in 5d759ba78ca5 [2023-08-23T18:32:59.086Z] Removing intermediate container 5d759ba78ca5 [2023-08-23T18:32:59.086Z] ---> 75f73e16ba7f [2023-08-23T18:32:59.086Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T18:32:59.086Z] ---> Running in 46520c26a3e5 [2023-08-23T18:32:59.345Z] Removing intermediate container 46520c26a3e5 [2023-08-23T18:32:59.345Z] ---> da1933bde6d3 [2023-08-23T18:32:59.345Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T18:32:59.345Z] ---> Running in 3dd02f0b1cf5 [2023-08-23T18:32:59.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T18:32:59.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T18:33:00.117Z] OK: 272 MiB in 67 packages [2023-08-23T18:33:00.374Z] Removing intermediate container 3dd02f0b1cf5 [2023-08-23T18:33:00.374Z] ---> 65ff013b2b49 [2023-08-23T18:33:00.374Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-23T18:33:00.374Z] ---> Running in ece1dc3f2e6c [2023-08-23T18:33:00.374Z] Removing intermediate container ece1dc3f2e6c [2023-08-23T18:33:00.374Z] ---> d571fc0584f1 [2023-08-23T18:33:00.374Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-23T18:33:00.633Z] ---> 043768f99251 [2023-08-23T18:33:00.633Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T18:33:00.633Z] ---> Running in 65848aecef48 [2023-08-23T18:33:01.200Z] Removing intermediate container 65848aecef48 [2023-08-23T18:33:01.200Z] ---> e53530bc4af6 [2023-08-23T18:33:01.200Z] Step 11/36 : COPY . . [2023-08-23T18:33:01.459Z] ---> 1958554cf26a [2023-08-23T18:33:01.459Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T18:33:01.459Z] ---> Running in 55b355ee1e34 [2023-08-23T18:33:01.716Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:33:01.716Z] Dload  Upload  Total  Spent  Left  Speed [2023-08-23T18:33:01.974Z] 0 0 0 0 0  0  0 0 --:--:-- --:--:-- --:--:--  0 100 1252 100 1252 0 0 23782 0 --:--:-- --:--:-- --:--:-- 24076 [2023-08-23T18:33:02.233Z] Removing intermediate container 55b355ee1e34 [2023-08-23T18:33:02.233Z] ---> 76dd8e59e8df [2023-08-23T18:33:02.233Z] Step 13/36 : RUN ${MAKE} [2023-08-23T18:33:02.233Z] ---> Running in 652500bdf289 [2023-08-23T18:33:02.491Z] 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-23T18:33:02.634Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4398 in /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] { [Pipeline] ws [2023-08-23T18:33:02.648Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-08-23T18:33:02.687Z] Selected Git installation does not exist. Using Default [2023-08-23T18:33:02.687Z] The recommended git tool is: NONE [2023-08-23T18:33:07.625Z] using credential edgex-jenkins-ssh [2023-08-23T18:33:07.641Z] Cloning the remote Git repository [2023-08-23T18:33:07.683Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T18:33:07.768Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-08-23T18:33:07.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T18:33:07.906Z] > git --version # timeout=10 [2023-08-23T18:33:07.931Z] > git --version # 'git version 2.25.1' [2023-08-23T18:33:07.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T18:33:08.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T18:33:08.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-23T18:33:08.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T18:33:09.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-23T18:33:09.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T18:33:09.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T18:33:09.796Z] > 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-23T18:33:10.393Z] Merging remotes/origin/main commit 860b2ed41c63812ea8e78996a55d34ef8e22b126 into PR head commit 459cf341bd75291b8e89677bc01a157fc628e30c [2023-08-23T18:33:10.714Z] Merge succeeded, producing debbbae64428bad824f06078c85dfa0bd5a9f5f7 [2023-08-23T18:33:10.714Z] Checking out Revision debbbae64428bad824f06078c85dfa0bd5a9f5f7 (PR-270) [2023-08-23T18:33:10.412Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T18:33:10.488Z] > git checkout -f 459cf341bd75291b8e89677bc01a157fc628e30c # timeout=10 [2023-08-23T18:33:10.570Z] > git remote # timeout=10 [2023-08-23T18:33:10.589Z] > git config --get remote.origin.url # timeout=10 [2023-08-23T18:33:10.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T18:33:10.619Z] > git merge 860b2ed41c63812ea8e78996a55d34ef8e22b126 # timeout=10 [2023-08-23T18:33:10.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-23T18:33:10.722Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T18:33:10.742Z] > git checkout -f debbbae64428bad824f06078c85dfa0bd5a9f5f7 # timeout=10 [2023-08-23T18:33:14.201Z] Commit message: "Merge commit '860b2ed41c63812ea8e78996a55d34ef8e22b126' into HEAD" [2023-08-23T18:33:14.226Z] First time build. Skipping changelog. [2023-08-23T18:33:14.211Z] > git rev-list --no-walk e95dc69a815be982376abdd36d95db0a5e6d40ef # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T18:33:15.162Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-23T18:33:15.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:33:15.162Z] Dload Upload Total Spent Left Speed [2023-08-23T18:33:15.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 82819 0 --:--:-- --:--:-- --:--:-- 82819 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-08-23T18:33:15.843Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-23T18:33:16.176Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-23T18:33:16.176Z] + sudo tee /etc/docker/daemon.new [2023-08-23T18:33:16.176Z] { [2023-08-23T18:33:16.176Z] "registry-mirrors": [ [2023-08-23T18:33:16.176Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-23T18:33:16.176Z] ], [2023-08-23T18:33:16.176Z] "bip": "10.250.0.254/24", [2023-08-23T18:33:16.176Z] "hosts": [ [2023-08-23T18:33:16.176Z] "tcp://0.0.0.0:5555", [2023-08-23T18:33:16.176Z] "unix:///var/run/docker.sock" [2023-08-23T18:33:16.176Z] ], [2023-08-23T18:33:16.176Z] "mtu": 1458, [2023-08-23T18:33:16.176Z] "selinux-enabled": true, [2023-08-23T18:33:16.176Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-23T18:33:16.176Z] } [Pipeline] sh [2023-08-23T18:33:16.495Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-23T18:33:16.825Z] + sudo service docker restart [2023-08-23T18:33:24.428Z] Removing intermediate container 652500bdf289 [2023-08-23T18:33:24.428Z] ---> 485d54104b42 [2023-08-23T18:33:24.428Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-23T18:33:24.428Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-23T18:33:24.428Z] 4acc49c71d14: Pulling fs layer [2023-08-23T18:33:24.428Z] 4acc49c71d14: Verifying Checksum [2023-08-23T18:33:24.428Z] 4acc49c71d14: Download complete [2023-08-23T18:33:24.428Z] 4acc49c71d14: Pull complete [2023-08-23T18:33:24.428Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-23T18:33:24.428Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-23T18:33:24.428Z] ---> 01a2bd3e5fff [2023-08-23T18:33:24.428Z] Step 15/36 : FROM alpine:3.17 [2023-08-23T18:33:24.687Z] 3.17: Pulling from library/alpine [2023-08-23T18:33:24.945Z] 9398808236ff: Pulling fs layer [2023-08-23T18:33:25.205Z] 9398808236ff: Verifying Checksum [2023-08-23T18:33:25.205Z] 9398808236ff: Download complete [2023-08-23T18:33:25.205Z] 9398808236ff: Pull complete [2023-08-23T18:33:25.205Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T18:33:25.205Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T18:33:25.205Z] ---> 1e0b8b5322fc [2023-08-23T18:33:25.205Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-23T18:33:25.772Z] ---> Running in 02437ed1ea4f [2023-08-23T18:33:25.772Z] Removing intermediate container 02437ed1ea4f [2023-08-23T18:33:25.772Z] ---> f8974666e3e9 [2023-08-23T18:33:25.772Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-23T18:33:25.772Z] ---> Running in d3adc86cd218 [2023-08-23T18:33:26.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T18:33:26.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T18:33:26.549Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-23T18:33:26.549Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-23T18:33:26.549Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-23T18:33:26.808Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-23T18:33:26.808Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-23T18:33:26.808Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-23T18:33:26.808Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-23T18:33:26.808Z] (8/86) Installing libxcb (1.15-r0) [2023-08-23T18:33:26.808Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-23T18:33:26.808Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-23T18:33:26.808Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-23T18:33:26.808Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-23T18:33:26.808Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-23T18:33:26.808Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-23T18:33:26.808Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-23T18:33:27.067Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-23T18:33:27.067Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-23T18:33:27.067Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-23T18:33:27.067Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-23T18:33:27.067Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-23T18:33:27.067Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-23T18:33:27.067Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-23T18:33:27.067Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-23T18:33:27.067Z] (24/86) Installing glib (2.74.7-r0) [2023-08-23T18:33:27.067Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-23T18:33:27.067Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-23T18:33:27.067Z] (27/86) Installing libass (0.16.0-r1) [2023-08-23T18:33:27.067Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-23T18:33:27.067Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-23T18:33:27.067Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-23T18:33:27.067Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-23T18:33:27.067Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-23T18:33:27.067Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-23T18:33:27.067Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-23T18:33:27.067Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-23T18:33:27.067Z] (36/86) Installing libunistring (1.1-r0) [2023-08-23T18:33:27.067Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-23T18:33:27.326Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-23T18:33:27.326Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-23T18:33:27.326Z] (40/86) Installing lame (3.100-r2) [2023-08-23T18:33:27.326Z] (41/86) Installing opus (1.3.1-r1) [2023-08-23T18:33:27.326Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-23T18:33:27.326Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-23T18:33:27.326Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-23T18:33:27.326Z] (45/86) Installing orc (0.4.33-r0) [2023-08-23T18:33:27.326Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-23T18:33:27.326Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-23T18:33:27.326Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-23T18:33:27.326Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-23T18:33:27.326Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-23T18:33:27.326Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-23T18:33:27.326Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-23T18:33:27.326Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-23T18:33:27.326Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-23T18:33:27.326Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-23T18:33:27.326Z] (56/86) Installing libpulse (16.1-r6) [2023-08-23T18:33:27.326Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-23T18:33:27.326Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-23T18:33:27.326Z] (59/86) Installing librist (0.2.7-r0) [2023-08-23T18:33:27.326Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-23T18:33:27.326Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-23T18:33:27.326Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-23T18:33:27.326Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T18:33:27.326Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T18:33:27.326Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-23T18:33:27.326Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-23T18:33:27.326Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-23T18:33:27.326Z] (68/86) Installing libva (2.16.0-r0) [2023-08-23T18:33:27.586Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-23T18:33:27.586Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-23T18:33:27.586Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-23T18:33:27.586Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-23T18:33:27.586Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-23T18:33:27.586Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-23T18:33:27.586Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-23T18:33:27.586Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-23T18:33:27.586Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-23T18:33:27.586Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-23T18:33:27.586Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-23T18:33:27.844Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-23T18:33:27.844Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-23T18:33:27.844Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-23T18:33:27.844Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-23T18:33:27.844Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-23T18:33:27.844Z] (85/86) Installing kmod-libs (30-r1) [2023-08-23T18:33:27.844Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-23T18:33:27.844Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T18:33:27.844Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T18:33:27.844Z] OK: 112 MiB in 101 packages [2023-08-23T18:33:30.414Z] Removing intermediate container d3adc86cd218 [2023-08-23T18:33:30.414Z] ---> 07038cb05959 [2023-08-23T18:33:30.414Z] Step 18/36 : WORKDIR / [2023-08-23T18:33:30.414Z] ---> Running in e3b1a325c5bd [2023-08-23T18:33:30.675Z] Removing intermediate container e3b1a325c5bd [2023-08-23T18:33:30.675Z] ---> 781d5a6e059d [2023-08-23T18:33:30.675Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-23T18:33:31.255Z] ---> e60c3f80dd05 [2023-08-23T18:33:31.256Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-23T18:33:31.514Z] ---> d498f293bf61 [2023-08-23T18:33:31.514Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-23T18:33:31.514Z] ---> c91e5fe76a87 [2023-08-23T18:33:31.514Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-23T18:33:31.774Z] ---> fff9cd0f1435 [2023-08-23T18:33:31.775Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-23T18:33:31.775Z] ---> e4d14ace2e22 [2023-08-23T18:33:31.775Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-23T18:33:32.033Z] ---> fea107634790 [2023-08-23T18:33:32.033Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-23T18:33:32.969Z] ---> e8d05625f7b8 [2023-08-23T18:33:32.969Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-23T18:33:32.969Z] ---> Running in cf1aa2b1d535 [2023-08-23T18:33:33.227Z] Removing intermediate container cf1aa2b1d535 [2023-08-23T18:33:33.227Z] ---> 5643c01afd3a [2023-08-23T18:33:33.227Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-23T18:33:33.227Z] ---> Running in 4ccbe37fac89 [2023-08-23T18:33:33.793Z] Removing intermediate container 4ccbe37fac89 [2023-08-23T18:33:33.793Z] ---> 0b330789801d [2023-08-23T18:33:33.793Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-23T18:33:33.793Z] ---> Running in 3bed9349514e [2023-08-23T18:33:34.358Z] Removing intermediate container 3bed9349514e [2023-08-23T18:33:34.358Z] ---> ac84b18b3ef6 [2023-08-23T18:33:34.358Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-23T18:33:34.358Z] ---> Running in 35cddfa30218 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T18:33:35.086Z] provisioning config files... [2023-08-23T18:33:35.108Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config11813160515303406544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:33:35.294Z] Removing intermediate container 35cddfa30218 [2023-08-23T18:33:35.294Z] ---> 6a4d729d0b9a [2023-08-23T18:33:35.294Z] Step 30/36 : EXPOSE 59983 [2023-08-23T18:33:35.294Z] ---> Running in b8b7fb561006 [2023-08-23T18:33:35.294Z] Removing intermediate container b8b7fb561006 [2023-08-23T18:33:35.294Z] ---> ab028db14cbb [2023-08-23T18:33:35.294Z] Step 31/36 : EXPOSE 8554 [2023-08-23T18:33:35.294Z] ---> Running in 2a14ffc7453c [2023-08-23T18:33:35.294Z] Removing intermediate container 2a14ffc7453c [2023-08-23T18:33:35.294Z] ---> 33810b4a294d [2023-08-23T18:33:35.294Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-23T18:33:35.294Z] ---> Running in 062f7d42ceff [2023-08-23T18:33:35.294Z] Removing intermediate container 062f7d42ceff [2023-08-23T18:33:35.294Z] ---> 0612f25165b3 [2023-08-23T18:33:35.294Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-23T18:33:35.294Z] ---> Running in d8577b0e838a [2023-08-23T18:33:35.454Z] ---> docker-login.sh [2023-08-23T18:33:35.454Z] nexus3.edgexfoundry.org:10001 [2023-08-23T18:33:35.553Z] Removing intermediate container d8577b0e838a [2023-08-23T18:33:35.553Z] ---> a147f996cf0d [2023-08-23T18:33:35.553Z] Step 34/36 : LABEL arch=amd64 [2023-08-23T18:33:35.553Z] ---> Running in eda6c18c44b0 [2023-08-23T18:33:35.553Z] Removing intermediate container eda6c18c44b0 [2023-08-23T18:33:35.553Z] ---> 87abb37f1e44 [2023-08-23T18:33:35.553Z] Step 35/36 : LABEL git_sha=a6711fb11562c57d8f4d9fea6be630c8c1acb651 [2023-08-23T18:33:35.553Z] ---> Running in 872a3841078c [2023-08-23T18:33:35.553Z] Removing intermediate container 872a3841078c [2023-08-23T18:33:35.553Z] ---> 4d0942df87b1 [2023-08-23T18:33:35.553Z] Step 36/36 : LABEL version=0.0.0 [2023-08-23T18:33:35.553Z] ---> Running in a39a61d6d572 [2023-08-23T18:33:35.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:33:35.812Z] Removing intermediate container a39a61d6d572 [2023-08-23T18:33:35.812Z] ---> 5751ab78ae81 [2023-08-23T18:33:35.812Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T18:33:35.812Z] Successfully built 5751ab78ae81 [2023-08-23T18:33:35.812Z] 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-23T18:33:35.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:33:35.992Z] Configure a credential helper to remove this warning. See [2023-08-23T18:33:35.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:33:35.992Z] [2023-08-23T18:33:35.992Z] Login Succeeded [2023-08-23T18:33:35.992Z] nexus3.edgexfoundry.org:10002 [2023-08-23T18:33:36.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T18:33:36.252Z] [2023-08-23T18:33:36.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T18:33:36.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:33:36.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:33:36.261Z] Configure a credential helper to remove this warning. See [2023-08-23T18:33:36.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:33:36.261Z] [2023-08-23T18:33:36.261Z] Login Succeeded [2023-08-23T18:33:36.261Z] nexus3.edgexfoundry.org:10003 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:33:36.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:33:36.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T18:33:36.551Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-23T18:33:36.551Z] 5eb5b503b376: Pulling fs layer [2023-08-23T18:33:36.551Z] 5c69ac0246d0: Pulling fs layer [2023-08-23T18:33:36.551Z] ec43610c2a17: Pulling fs layer [2023-08-23T18:33:36.551Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-23T18:33:36.551Z] 33b1e0a273af: Pulling fs layer [2023-08-23T18:33:36.551Z] 5d3b04190fa2: Pulling fs layer [2023-08-23T18:33:36.551Z] 2f39f015ded8: Pulling fs layer [2023-08-23T18:33:36.551Z] 33b1e0a273af: Waiting [2023-08-23T18:33:36.551Z] 5d3b04190fa2: Waiting [2023-08-23T18:33:36.551Z] 2f39f015ded8: Waiting [2023-08-23T18:33:36.551Z] 3a2ae6a8a46f: Waiting [2023-08-23T18:33:36.551Z] 5c69ac0246d0: Download complete [2023-08-23T18:33:36.551Z] 3a2ae6a8a46f: Download complete [2023-08-23T18:33:36.551Z] 33b1e0a273af: Verifying Checksum [2023-08-23T18:33:36.551Z] 33b1e0a273af: Download complete [2023-08-23T18:33:36.551Z] ec43610c2a17: Verifying Checksum [2023-08-23T18:33:36.551Z] ec43610c2a17: Download complete [2023-08-23T18:33:36.551Z] 5d3b04190fa2: Download complete [2023-08-23T18:33:36.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:33:36.807Z] Configure a credential helper to remove this warning. See [2023-08-23T18:33:36.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:33:36.807Z] [2023-08-23T18:33:36.807Z] Login Succeeded [2023-08-23T18:33:36.807Z] nexus3.edgexfoundry.org:10004 [2023-08-23T18:33:36.809Z] 5eb5b503b376: Verifying Checksum [2023-08-23T18:33:36.809Z] 5eb5b503b376: Download complete [2023-08-23T18:33:37.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:33:37.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:33:37.076Z] Configure a credential helper to remove this warning. See [2023-08-23T18:33:37.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:33:37.076Z] [2023-08-23T18:33:37.076Z] Login Succeeded [2023-08-23T18:33:37.076Z] docker.io [2023-08-23T18:33:37.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T18:33:37.376Z] 2f39f015ded8: Download complete [2023-08-23T18:33:37.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T18:33:37.612Z] Configure a credential helper to remove this warning. See [2023-08-23T18:33:37.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T18:33:37.612Z] [2023-08-23T18:33:37.612Z] Login Succeeded [2023-08-23T18:33:37.612Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T18:33:37.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T18:33:37.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T18:33:37.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T18:33:37.886Z] ========================================================= [2023-08-23T18:33:37.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-23T18:33:37.886Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:33:37.942Z] 5eb5b503b376: Pull complete [2023-08-23T18:33:38.199Z] 5c69ac0246d0: Pull complete [2023-08-23T18:33:38.232Z] + 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-23T18:33:38.458Z] ec43610c2a17: Pull complete [2023-08-23T18:33:38.500Z] Sending build context to Docker daemon 1.321MB [2023-08-23T18:33:38.500Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T18:33:38.500Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-23T18:33:38.715Z] 3a2ae6a8a46f: Pull complete [2023-08-23T18:33:38.716Z] 33b1e0a273af: Pull complete [2023-08-23T18:33:38.772Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-23T18:33:38.772Z] edb6bdbacee9: Pulling fs layer [2023-08-23T18:33:38.772Z] 5f9638ab2659: Pulling fs layer [2023-08-23T18:33:38.772Z] 8d51d6327a98: Pulling fs layer [2023-08-23T18:33:38.772Z] 8b374f2dd631: Pulling fs layer [2023-08-23T18:33:38.772Z] ec14aa9079de: Pulling fs layer [2023-08-23T18:33:38.772Z] 2f466654f4bb: Pulling fs layer [2023-08-23T18:33:38.772Z] 554e91adad29: Pulling fs layer [2023-08-23T18:33:38.772Z] ec14aa9079de: Waiting [2023-08-23T18:33:38.772Z] 2f466654f4bb: Waiting [2023-08-23T18:33:38.772Z] 554e91adad29: Waiting [2023-08-23T18:33:38.772Z] 8b374f2dd631: Waiting [2023-08-23T18:33:38.772Z] 5f9638ab2659: Verifying Checksum [2023-08-23T18:33:38.772Z] 5f9638ab2659: Download complete [2023-08-23T18:33:38.772Z] 8b374f2dd631: Verifying Checksum [2023-08-23T18:33:38.772Z] 8b374f2dd631: Download complete [2023-08-23T18:33:38.772Z] ec14aa9079de: Verifying Checksum [2023-08-23T18:33:38.772Z] ec14aa9079de: Download complete [2023-08-23T18:33:38.772Z] edb6bdbacee9: Verifying Checksum [2023-08-23T18:33:38.772Z] edb6bdbacee9: Download complete [2023-08-23T18:33:38.974Z] 5d3b04190fa2: Pull complete [2023-08-23T18:33:40.223Z] 554e91adad29: Verifying Checksum [2023-08-23T18:33:40.223Z] 554e91adad29: Download complete [2023-08-23T18:33:41.188Z] 8d51d6327a98: Verifying Checksum [2023-08-23T18:33:41.188Z] 8d51d6327a98: Download complete [2023-08-23T18:33:41.188Z] 2f466654f4bb: Verifying Checksum [2023-08-23T18:33:41.188Z] 2f466654f4bb: Download complete [2023-08-23T18:33:41.773Z] edb6bdbacee9: Pull complete [2023-08-23T18:33:42.370Z] 5f9638ab2659: Pull complete [2023-08-23T18:33:43.154Z] 2f39f015ded8: Pull complete [2023-08-23T18:33:43.155Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-23T18:33:43.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T18:33:43.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:33:43.248Z] prd-ubuntu20.04-docker-8c-8g-4397 does not seem to be running inside a container [2023-08-23T18:33:43.281Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-23T18:33:47.980Z] $ docker top 6fd51930687d90561ae17cc17124a2f2de64b6b9d729e448e7cab86db0a4deaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:33:48.374Z] ---> job-cost.sh [2023-08-23T18:33:48.374Z] lf-activate-venv: SKIPPING [2023-08-23T18:33:48.374Z] INFO: No Stack... [2023-08-23T18:33:48.633Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T18:33:48.892Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T18:33:49.180Z] + cut -d, -f6 [2023-08-23T18:33:49.180Z] + cat /w/workspace/foundry_device-usb-camera_PR-270/archives/cost.csv [Pipeline] lock [2023-08-23T18:33:49.194Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [2023-08-23T18:33:49.199Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] did not exist. Created. [2023-08-23T18:33:49.200Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T18:33:49.507Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-23T18:33:49.532Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T18:33:49.538Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T18:33:49.561Z] $ docker stop --time=1 6fd51930687d90561ae17cc17124a2f2de64b6b9d729e448e7cab86db0a4deaa [2023-08-23T18:33:50.710Z] $ docker rm -f --volumes 6fd51930687d90561ae17cc17124a2f2de64b6b9d729e448e7cab86db0a4deaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-23T18:33:54.705Z] 8d51d6327a98: Pull complete [2023-08-23T18:33:54.972Z] 8b374f2dd631: Pull complete [2023-08-23T18:33:55.241Z] ec14aa9079de: Pull complete [2023-08-23T18:34:01.901Z] 2f466654f4bb: Pull complete [2023-08-23T18:34:04.499Z] 554e91adad29: Pull complete [2023-08-23T18:34:04.500Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-23T18:34:04.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-23T18:34:04.500Z] ---> 1e15ea492957 [2023-08-23T18:34:04.500Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-23T18:34:05.908Z] ---> Running in 7bcf46c9f3b1 [2023-08-23T18:34:06.177Z] Removing intermediate container 7bcf46c9f3b1 [2023-08-23T18:34:06.177Z] ---> 7759becb322b [2023-08-23T18:34:06.177Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T18:34:06.177Z] ---> Running in 0a918110e129 [2023-08-23T18:34:06.761Z] Removing intermediate container 0a918110e129 [2023-08-23T18:34:06.761Z] ---> a63cb57d3f0a [2023-08-23T18:34:06.761Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T18:34:06.761Z] ---> Running in 52aebb6406e9 [2023-08-23T18:34:07.029Z] Removing intermediate container 52aebb6406e9 [2023-08-23T18:34:07.029Z] ---> 27c01079524b [2023-08-23T18:34:07.029Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T18:34:07.029Z] ---> Running in 050804e43658 [2023-08-23T18:34:07.298Z] Removing intermediate container 050804e43658 [2023-08-23T18:34:07.298Z] ---> 1c293f103e01 [2023-08-23T18:34:07.298Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T18:34:07.298Z] ---> Running in 0bfb91ce9813 [2023-08-23T18:34:08.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T18:34:08.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T18:34:09.939Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-23T18:34:09.939Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-23T18:34:09.939Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T18:34:09.939Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T18:34:09.939Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-23T18:34:09.939Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-23T18:34:09.939Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-23T18:34:10.209Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-23T18:34:10.209Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-23T18:34:10.209Z] (10/14) Installing kmod-libs (30-r1) [2023-08-23T18:34:10.209Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-23T18:34:10.209Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-23T18:34:10.209Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-23T18:34:10.209Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-23T18:34:10.209Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T18:34:10.209Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T18:34:10.209Z] OK: 271 MiB in 67 packages [2023-08-23T18:34:11.621Z] Removing intermediate container 0bfb91ce9813 [2023-08-23T18:34:11.621Z] ---> a343cd62d8f6 [2023-08-23T18:34:11.621Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-23T18:34:11.621Z] ---> Running in b0760c6f54da [2023-08-23T18:34:11.892Z] Removing intermediate container b0760c6f54da [2023-08-23T18:34:11.892Z] ---> b952be0fbd1b [2023-08-23T18:34:11.892Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-23T18:34:12.161Z] ---> e4f3b4d2aecb [2023-08-23T18:34:12.161Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T18:34:12.438Z] ---> Running in 7e0ae4c75ccf [2023-08-23T18:35:20.324Z] Removing intermediate container 7e0ae4c75ccf [2023-08-23T18:35:20.324Z] ---> 67a2450448de [2023-08-23T18:35:20.324Z] Step 11/13 : COPY . . [2023-08-23T18:35:20.324Z] ---> 9039f468db28 [2023-08-23T18:35:20.324Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T18:35:20.324Z] ---> Running in ba5c3f020a10 [2023-08-23T18:35:20.324Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:35:20.324Z] Dload Upload Total Spent Left Speed [2023-08-23T18:35:20.324Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1252 100 1252 0 0 5226 0 --:--:-- --:--:-- --:--:-- 5238 [2023-08-23T18:35:20.324Z] Removing intermediate container ba5c3f020a10 [2023-08-23T18:35:20.324Z] ---> 8333c354e3e9 [2023-08-23T18:35:20.324Z] Step 13/13 : RUN ${MAKE} [2023-08-23T18:35:20.324Z] ---> Running in 27bc0ea1e2c6 [2023-08-23T18:35:20.324Z] noop [2023-08-23T18:35:20.324Z] Removing intermediate container 27bc0ea1e2c6 [2023-08-23T18:35:20.324Z] ---> 0e76be985a49 [2023-08-23T18:35:20.324Z] Successfully built 0e76be985a49 [2023-08-23T18:35:20.324Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:35:20.688Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T18:35:20.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:35:20.895Z] prd-ubuntu20.04-docker-arm64-4c-16g-4398 does not seem to be running inside a container [2023-08-23T18:35:20.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T18:35:22.071Z] $ docker top 99eafd7550d4fa493f7e50b1b528a67656fffc5bc45e7b97876fc72d7ab3cf43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T18:35:22.894Z] + go version [2023-08-23T18:35:22.894Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-23T18:35:22.915Z] $ docker stop --time=1 99eafd7550d4fa493f7e50b1b528a67656fffc5bc45e7b97876fc72d7ab3cf43 [2023-08-23T18:35:24.510Z] $ docker rm -f --volumes 99eafd7550d4fa493f7e50b1b528a67656fffc5bc45e7b97876fc72d7ab3cf43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:35:25.024Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T18:35:25.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:35:25.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-4398 does not seem to be running inside a container [2023-08-23T18:35:25.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T18:35:26.357Z] $ docker top 89bd46750e65f24a0c01c6ab60c0d90e2c9fbacd7e2d9326c0bf0834254abb99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T18:35:26.849Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-08-23T18:35:27.448Z] + make test [2023-08-23T18:35:27.449Z] go test ./... -coverprofile=coverage.out ./... [2023-08-23T18:35:59.679Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-23T18:37:51.306Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-23T18:37:58.134Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.085s coverage: 4.4% of statements [2023-08-23T18:37:58.134Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-23T18:37:58.134Z] go vet ./... [2023-08-23T18:38:24.838Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T18:38:24.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T18:38:24.838Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-23T18:38:24.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T18:38:24.875Z] $ docker stop --time=1 89bd46750e65f24a0c01c6ab60c0d90e2c9fbacd7e2d9326c0bf0834254abb99 [2023-08-23T18:38:26.613Z] $ docker rm -f --volumes 89bd46750e65f24a0c01c6ab60c0d90e2c9fbacd7e2d9326c0bf0834254abb99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T18:38:27.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T18:38:27.673Z] Warning: overwriting stash ‘coverage-report’ [2023-08-23T18:38:28.247Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T18:38:28.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T18:38:28.969Z] + ls -al . [2023-08-23T18:38:28.969Z] total 212 [2023-08-23T18:38:28.969Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 18:35 . [2023-08-23T18:38:28.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 18:33 .. [2023-08-23T18:38:28.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 18:33 .git [2023-08-23T18:38:28.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:33 .github [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 23 18:33 .gitignore [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 18:33 .golangci.yml [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 18:33 .hadolint.yml [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 23 18:33 Attribution.txt [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 23 18:33 CHANGELOG.md [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 18:33 Dockerfile [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 18:33 GOVERNANCE.md [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 18:33 Jenkinsfile [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 18:33 LICENSE [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 23 18:33 Makefile [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 18:33 OWNERS.md [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 18:33 README.md [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 18:31 VERSION [2023-08-23T18:38:28.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 18:33 bin [2023-08-23T18:38:28.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:33 cmd [2023-08-23T18:38:28.969Z] -rw-r--r-- 1 jenkins jenkins 54116 Aug 23 18:37 coverage.out [2023-08-23T18:38:28.969Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 23 18:33 docker-entrypoint.sh [2023-08-23T18:38:28.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 18:33 docs [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 23 18:33 go.mod [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 23 18:33 go.sum [2023-08-23T18:38:28.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 18:33 internal [2023-08-23T18:38:28.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 18:33 snap [2023-08-23T18:38:28.969Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 18:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:38:29.320Z] + 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=debbbae64428bad824f06078c85dfa0bd5a9f5f7 --label arch=arm64 --label version=0.0.0 . [2023-08-23T18:38:29.590Z] Sending build context to Docker daemon 1.376MB [2023-08-23T18:38:29.590Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T18:38:29.590Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-23T18:38:29.590Z] ---> 0e76be985a49 [2023-08-23T18:38:29.590Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-23T18:38:29.862Z] ---> Running in b04107ddf334 [2023-08-23T18:38:30.131Z] Removing intermediate container b04107ddf334 [2023-08-23T18:38:30.131Z] ---> 548c447d01b3 [2023-08-23T18:38:30.131Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T18:38:30.131Z] ---> Running in b602323ddf00 [2023-08-23T18:38:30.397Z] Removing intermediate container b602323ddf00 [2023-08-23T18:38:30.397Z] ---> 846d0faee729 [2023-08-23T18:38:30.397Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T18:38:30.397Z] ---> Running in 38e86c790453 [2023-08-23T18:38:30.664Z] Removing intermediate container 38e86c790453 [2023-08-23T18:38:30.664Z] ---> fa01fe9814e4 [2023-08-23T18:38:30.664Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T18:38:30.664Z] ---> Running in 68eef0345366 [2023-08-23T18:38:30.933Z] Removing intermediate container 68eef0345366 [2023-08-23T18:38:30.933Z] ---> 789817445ca4 [2023-08-23T18:38:30.933Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T18:38:31.201Z] ---> Running in 76db0358d7cf [2023-08-23T18:38:32.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T18:38:32.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T18:38:33.702Z] OK: 271 MiB in 67 packages [2023-08-23T18:38:34.285Z] Removing intermediate container 76db0358d7cf [2023-08-23T18:38:34.285Z] ---> b08f0ab2c7b0 [2023-08-23T18:38:34.285Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-23T18:38:34.285Z] ---> Running in f37dc9c6e5df [2023-08-23T18:38:34.552Z] Removing intermediate container f37dc9c6e5df [2023-08-23T18:38:34.552Z] ---> a49fce63df88 [2023-08-23T18:38:34.552Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-23T18:38:37.123Z] ---> 95b4385e58a3 [2023-08-23T18:38:37.123Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T18:38:37.123Z] ---> Running in d32d23060c4e [2023-08-23T18:38:39.713Z] Removing intermediate container d32d23060c4e [2023-08-23T18:38:39.713Z] ---> 4d64d6c09f2b [2023-08-23T18:38:39.713Z] Step 11/36 : COPY . . [2023-08-23T18:38:40.296Z] ---> 9ea9a068ce29 [2023-08-23T18:38:40.296Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T18:38:40.296Z] ---> Running in cf9220c3b25b [2023-08-23T18:38:41.253Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:38:41.253Z] Dload Upload Total Spent Left Speed [2023-08-23T18:38:41.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1252 100 1252 0 0 3024 0 --:--:-- --:--:-- --:--:-- 3031 [2023-08-23T18:38:42.108Z] Removing intermediate container cf9220c3b25b [2023-08-23T18:38:42.108Z] ---> a91a0c6adadc [2023-08-23T18:38:42.108Z] Step 13/36 : RUN ${MAKE} [2023-08-23T18:38:42.377Z] ---> Running in 39f51ae82f6d [2023-08-23T18:38:43.336Z] 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-23T18:41:05.004Z] Removing intermediate container 39f51ae82f6d [2023-08-23T18:41:05.004Z] ---> ec64e9633b21 [2023-08-23T18:41:05.004Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-23T18:41:05.004Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-23T18:41:05.004Z] 8766b47fe142: Pulling fs layer [2023-08-23T18:41:05.004Z] 8766b47fe142: Verifying Checksum [2023-08-23T18:41:05.004Z] 8766b47fe142: Download complete [2023-08-23T18:41:05.271Z] 8766b47fe142: Pull complete [2023-08-23T18:41:05.271Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-23T18:41:05.271Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-23T18:41:05.271Z] ---> 69d40e2cb93c [2023-08-23T18:41:05.271Z] Step 15/36 : FROM alpine:3.17 [2023-08-23T18:41:05.537Z] 3.17: Pulling from library/alpine [2023-08-23T18:41:05.803Z] 4060ece20d7a: Pulling fs layer [2023-08-23T18:41:06.070Z] 4060ece20d7a: Verifying Checksum [2023-08-23T18:41:06.070Z] 4060ece20d7a: Download complete [2023-08-23T18:41:06.656Z] 4060ece20d7a: Pull complete [2023-08-23T18:41:06.656Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T18:41:06.656Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T18:41:06.656Z] ---> 8650cd65339b [2023-08-23T18:41:06.656Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-23T18:41:06.932Z] ---> Running in d49b0d311a75 [2023-08-23T18:41:06.932Z] Removing intermediate container d49b0d311a75 [2023-08-23T18:41:06.932Z] ---> ebea4e9dded5 [2023-08-23T18:41:06.932Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-23T18:41:07.201Z] ---> Running in 2115faa72937 [2023-08-23T18:41:08.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T18:41:08.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T18:41:09.698Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-23T18:41:09.698Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-23T18:41:09.698Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-23T18:41:09.698Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-23T18:41:09.698Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-23T18:41:09.698Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-23T18:41:09.698Z] (7/83) Installing libxcb (1.15-r0) [2023-08-23T18:41:09.698Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-23T18:41:09.965Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-23T18:41:09.965Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-23T18:41:09.965Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-23T18:41:09.965Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-23T18:41:09.965Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-23T18:41:09.965Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-23T18:41:09.965Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-23T18:41:10.231Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-23T18:41:10.231Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-23T18:41:10.231Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-23T18:41:10.231Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-23T18:41:10.231Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-23T18:41:10.231Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-23T18:41:10.231Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-23T18:41:10.231Z] (23/83) Installing glib (2.74.7-r0) [2023-08-23T18:41:10.231Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-23T18:41:10.231Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-23T18:41:10.498Z] (26/83) Installing libass (0.16.0-r1) [2023-08-23T18:41:10.498Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-23T18:41:10.498Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-23T18:41:10.498Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-23T18:41:10.498Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-23T18:41:10.498Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-23T18:41:10.498Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-23T18:41:10.498Z] (33/83) Installing libunistring (1.1-r0) [2023-08-23T18:41:10.498Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-23T18:41:10.498Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-23T18:41:10.498Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-23T18:41:10.764Z] (37/83) Installing lame (3.100-r2) [2023-08-23T18:41:10.764Z] (38/83) Installing opus (1.3.1-r1) [2023-08-23T18:41:10.764Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-23T18:41:10.764Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-23T18:41:10.764Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-23T18:41:10.764Z] (42/83) Installing orc (0.4.33-r0) [2023-08-23T18:41:10.764Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-23T18:41:10.764Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-23T18:41:10.764Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-23T18:41:10.764Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-23T18:41:10.764Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-23T18:41:10.764Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-23T18:41:10.764Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-23T18:41:10.764Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-23T18:41:10.764Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-23T18:41:10.764Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-23T18:41:10.764Z] (53/83) Installing libpulse (16.1-r6) [2023-08-23T18:41:11.030Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-23T18:41:11.030Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-23T18:41:11.030Z] (56/83) Installing librist (0.2.7-r0) [2023-08-23T18:41:11.030Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-23T18:41:11.030Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-23T18:41:11.030Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-23T18:41:11.030Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T18:41:11.030Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T18:41:11.030Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-23T18:41:11.030Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-23T18:41:11.030Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-23T18:41:11.030Z] (65/83) Installing libva (2.16.0-r0) [2023-08-23T18:41:11.030Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-23T18:41:11.030Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-23T18:41:11.030Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-23T18:41:11.297Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-23T18:41:11.297Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-23T18:41:11.297Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-23T18:41:11.297Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-23T18:41:11.297Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-23T18:41:11.297Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-23T18:41:11.297Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-23T18:41:11.563Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-23T18:41:11.829Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-23T18:41:11.829Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-23T18:41:11.829Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-23T18:41:11.829Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-23T18:41:11.829Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-23T18:41:11.829Z] (82/83) Installing kmod-libs (30-r1) [2023-08-23T18:41:11.829Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-23T18:41:12.095Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T18:41:12.095Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T18:41:12.095Z] OK: 86 MiB in 98 packages [2023-08-23T18:41:15.443Z] Removing intermediate container 2115faa72937 [2023-08-23T18:41:15.443Z] ---> a906a708a674 [2023-08-23T18:41:15.443Z] Step 18/36 : WORKDIR / [2023-08-23T18:41:15.443Z] ---> Running in 99f98f89b9d4 [2023-08-23T18:41:15.443Z] Removing intermediate container 99f98f89b9d4 [2023-08-23T18:41:15.443Z] ---> 0fde2ad99da4 [2023-08-23T18:41:15.443Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-23T18:41:16.854Z] ---> 6072b7ffcb0f [2023-08-23T18:41:16.854Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-23T18:41:17.440Z] ---> 226e44403d33 [2023-08-23T18:41:17.440Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-23T18:41:18.843Z] ---> 36cffadbc18d [2023-08-23T18:41:18.843Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-23T18:41:19.425Z] ---> b0b645fc4ed8 [2023-08-23T18:41:19.425Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-23T18:41:20.010Z] ---> bab7fbc5ddaf [2023-08-23T18:41:20.010Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-23T18:41:20.276Z] ---> 0e59cb7a8c6d [2023-08-23T18:41:20.276Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-23T18:41:21.683Z] ---> e27cb60bc08c [2023-08-23T18:41:21.683Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-23T18:41:21.683Z] ---> Running in 6cf2ac76a053 [2023-08-23T18:41:23.628Z] Removing intermediate container 6cf2ac76a053 [2023-08-23T18:41:23.628Z] ---> 66484dcbe03a [2023-08-23T18:41:23.628Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-23T18:41:23.628Z] ---> Running in 872dd396db85 [2023-08-23T18:41:25.037Z] Removing intermediate container 872dd396db85 [2023-08-23T18:41:25.037Z] ---> 95b70516d6aa [2023-08-23T18:41:25.037Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-23T18:41:25.037Z] ---> Running in 8e31d515e248 [2023-08-23T18:41:26.447Z] Removing intermediate container 8e31d515e248 [2023-08-23T18:41:26.447Z] ---> 9ae157a4a7db [2023-08-23T18:41:26.447Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-23T18:41:26.447Z] ---> Running in 2efb92e311ce [2023-08-23T18:41:28.388Z] Removing intermediate container 2efb92e311ce [2023-08-23T18:41:28.388Z] ---> b4a07ef1d7be [2023-08-23T18:41:28.388Z] Step 30/36 : EXPOSE 59983 [2023-08-23T18:41:28.388Z] ---> Running in 6798566b7e6c [2023-08-23T18:41:28.388Z] Removing intermediate container 6798566b7e6c [2023-08-23T18:41:28.388Z] ---> bb1c34fb788e [2023-08-23T18:41:28.388Z] Step 31/36 : EXPOSE 8554 [2023-08-23T18:41:28.388Z] ---> Running in c115d290d05e [2023-08-23T18:41:28.653Z] Removing intermediate container c115d290d05e [2023-08-23T18:41:28.653Z] ---> 9dfd4e39c9f9 [2023-08-23T18:41:28.653Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-23T18:41:28.653Z] ---> Running in 6f1b3cdb3f1d [2023-08-23T18:41:28.923Z] Removing intermediate container 6f1b3cdb3f1d [2023-08-23T18:41:28.923Z] ---> 2cdf7b59c967 [2023-08-23T18:41:28.923Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-23T18:41:29.188Z] ---> Running in 2dea398bb3f5 [2023-08-23T18:41:29.455Z] Removing intermediate container 2dea398bb3f5 [2023-08-23T18:41:29.455Z] ---> 986d8782a37c [2023-08-23T18:41:29.455Z] Step 34/36 : LABEL arch=arm64 [2023-08-23T18:41:29.455Z] ---> Running in 53830947ac85 [2023-08-23T18:41:29.722Z] Removing intermediate container 53830947ac85 [2023-08-23T18:41:29.722Z] ---> c380b6ed7ea1 [2023-08-23T18:41:29.722Z] Step 35/36 : LABEL git_sha=debbbae64428bad824f06078c85dfa0bd5a9f5f7 [2023-08-23T18:41:29.722Z] ---> Running in 88d582b10583 [2023-08-23T18:41:29.989Z] Removing intermediate container 88d582b10583 [2023-08-23T18:41:29.989Z] ---> a2cdc77b9879 [2023-08-23T18:41:29.989Z] Step 36/36 : LABEL version=0.0.0 [2023-08-23T18:41:30.258Z] ---> Running in a0d3727f19f5 [2023-08-23T18:41:30.523Z] Removing intermediate container a0d3727f19f5 [2023-08-23T18:41:30.523Z] ---> cfa6481ef523 [2023-08-23T18:41:30.523Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T18:41:30.523Z] Successfully built cfa6481ef523 [2023-08-23T18:41:30.524Z] 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-23T18:41:30.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T18:41:30.988Z] [2023-08-23T18:41:30.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:41:31.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T18:41:31.315Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-23T18:41:31.315Z] 8998bd30e6a1: Pulling fs layer [2023-08-23T18:41:31.315Z] 04944245beec: Pulling fs layer [2023-08-23T18:41:31.315Z] 699f458cf7ca: Pulling fs layer [2023-08-23T18:41:31.315Z] 765212b225bb: Pulling fs layer [2023-08-23T18:41:31.315Z] f23df028b6ca: Pulling fs layer [2023-08-23T18:41:31.315Z] d65c8cfc05b1: Pulling fs layer [2023-08-23T18:41:31.315Z] 2437ff75d9bd: Pulling fs layer [2023-08-23T18:41:31.315Z] 765212b225bb: Waiting [2023-08-23T18:41:31.315Z] f23df028b6ca: Waiting [2023-08-23T18:41:31.315Z] d65c8cfc05b1: Waiting [2023-08-23T18:41:31.315Z] 2437ff75d9bd: Waiting [2023-08-23T18:41:31.315Z] 04944245beec: Verifying Checksum [2023-08-23T18:41:31.315Z] 04944245beec: Download complete [2023-08-23T18:41:31.583Z] 765212b225bb: Verifying Checksum [2023-08-23T18:41:31.583Z] 765212b225bb: Download complete [2023-08-23T18:41:31.583Z] f23df028b6ca: Verifying Checksum [2023-08-23T18:41:31.583Z] f23df028b6ca: Download complete [2023-08-23T18:41:31.583Z] d65c8cfc05b1: Verifying Checksum [2023-08-23T18:41:31.583Z] d65c8cfc05b1: Download complete [2023-08-23T18:41:31.583Z] 699f458cf7ca: Verifying Checksum [2023-08-23T18:41:32.167Z] 8998bd30e6a1: Verifying Checksum [2023-08-23T18:41:32.167Z] 8998bd30e6a1: Download complete [2023-08-23T18:41:34.134Z] 2437ff75d9bd: Verifying Checksum [2023-08-23T18:41:34.134Z] 2437ff75d9bd: Download complete [2023-08-23T18:41:36.076Z] 8998bd30e6a1: Pull complete [2023-08-23T18:41:36.342Z] 04944245beec: Pull complete [2023-08-23T18:41:37.751Z] 699f458cf7ca: Pull complete [2023-08-23T18:41:37.751Z] 765212b225bb: Pull complete [2023-08-23T18:41:38.711Z] f23df028b6ca: Pull complete [2023-08-23T18:41:38.711Z] d65c8cfc05b1: Pull complete [2023-08-23T18:41:53.693Z] 2437ff75d9bd: Pull complete [2023-08-23T18:41:53.693Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-23T18:41:53.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T18:41:53.693Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:41:53.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-4398 does not seem to be running inside a container [2023-08-23T18:41:53.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-23T18:41:56.270Z] $ docker top 2ef629f5186edbd0c45a2e92e5075b7356f21a47114ae187e9ae747ca9fdc8f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:41:57.099Z] ---> job-cost.sh [2023-08-23T18:41:57.099Z] lf-activate-venv: SKIPPING [2023-08-23T18:41:57.099Z] INFO: No Stack... [2023-08-23T18:41:57.678Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-23T18:41:58.260Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T18:41:58.893Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2023-08-23T18:41:58.893Z] + cut -d, -f6 [Pipeline] lock [2023-08-23T18:41:58.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [2023-08-23T18:41:58.970Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] did not exist. Created. [2023-08-23T18:41:58.970Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T18:41:59.310Z] /w/workspace/device-usb-camera/3@tmp/durable-4c9c7bc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-23T18:41:59.959Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-23T18:41:59.972Z] Warning: overwriting stash ‘stack-cost’ [2023-08-23T18:42:00.022Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T18:42:00.028Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T18:42:00.050Z] $ docker stop --time=1 2ef629f5186edbd0c45a2e92e5075b7356f21a47114ae187e9ae747ca9fdc8f8 [2023-08-23T18:42:01.526Z] $ docker rm -f --volumes 2ef629f5186edbd0c45a2e92e5075b7356f21a47114ae187e9ae747ca9fdc8f8 [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-23T18:42:01.892Z] provisioning config files... [2023-08-23T18:42:01.899Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config12251659955222937728tmp [Pipeline] { [Pipeline] sh [2023-08-23T18:42:02.194Z] + set +x [2023-08-23T18:42:02.194Z] + curl -s https://codecov.io/bash [2023-08-23T18:42:02.194Z] + bash -s -- [2023-08-23T18:42:02.194Z] [2023-08-23T18:42:02.194Z] _____ _ [2023-08-23T18:42:02.194Z] / ____| | | [2023-08-23T18:42:02.194Z] | | ___ __| | ___ ___ _____ __ [2023-08-23T18:42:02.194Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-23T18:42:02.194Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-23T18:42:02.194Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-23T18:42:02.194Z] Bash-1.0.6 [2023-08-23T18:42:02.194Z] [2023-08-23T18:42:02.194Z] [2023-08-23T18:42:02.194Z] ==> git version 2.25.1 found [2023-08-23T18:42:02.194Z] ==> 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-23T18:42:02.194Z] Release-Date: 2020-01-08 [2023-08-23T18:42:02.194Z] 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-23T18:42:02.194Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-23T18:42:02.194Z] ==> Jenkins CI detected. [2023-08-23T18:42:02.194Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-270 [2023-08-23T18:42:02.194Z] project root: . [2023-08-23T18:42:02.194Z] --> token set from env [2023-08-23T18:42:02.194Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-23T18:42:02.194Z] ==> Running gcov in . (disable via -X gcov) [2023-08-23T18:42:02.194Z] ==> Python coveragepy not found [2023-08-23T18:42:02.194Z] ==> Searching for coverage reports in: [2023-08-23T18:42:02.194Z] + . [2023-08-23T18:42:02.194Z] -> Found 1 reports [2023-08-23T18:42:02.194Z] ==> Detecting git/mercurial file structure [2023-08-23T18:42:02.194Z] ==> Reading reports [2023-08-23T18:42:02.194Z] + ./coverage.out bytes=54116 [2023-08-23T18:42:02.194Z] ==> Appending adjustments [2023-08-23T18:42:02.194Z] https://docs.codecov.io/docs/fixing-reports [2023-08-23T18:42:02.452Z] + Found adjustments [2023-08-23T18:42:02.452Z] ==> Gzipping contents [2023-08-23T18:42:02.452Z] 8.0K /tmp/codecov.oESXgm.gz [2023-08-23T18:42:02.452Z] ==> Uploading reports [2023-08-23T18:42:02.452Z] url: https://codecov.io [2023-08-23T18:42:02.452Z] query: branch=PR-270&commit=a6711fb11562c57d8f4d9fea6be630c8c1acb651&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-23T18:42:02.452Z] -> Pinging Codecov [2023-08-23T18:42:02.452Z] 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=a6711fb11562c57d8f4d9fea6be630c8c1acb651&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-23T18:42:02.452Z] -> Uploading to [2023-08-23T18:42:02.452Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-23/73D8F5FF140700D3E01443B452E23636/a6711fb11562c57d8f4d9fea6be630c8c1acb651/e35c414d-48a3-4501-aa0c-a8890357274d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230823T184202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf0a6f52a44d027d972401c7fd6938f0ec9e7285d5fa8034e20a3cf5b5a51250 [2023-08-23T18:42:02.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T18:42:02.452Z] Dload Upload Total Spent Left Speed [2023-08-23T18:42:03.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6884 0 0 100 6884 0 36041 --:--:-- --:--:-- --:--:-- 36041 [2023-08-23T18:42:03.497Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a6711fb11562c57d8f4d9fea6be630c8c1acb651 [Pipeline] } [2023-08-23T18:42:03.504Z] 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-23T18:42:07.788Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-270/archives ] [2023-08-23T18:42:07.788Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-23T18:42:07.788Z] total 16 [2023-08-23T18:42:07.788Z] drwxr-xr-x 3 root root 4096 Aug 23 18:33 . [2023-08-23T18:42:07.788Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 18:33 .. [2023-08-23T18:42:07.788Z] drwxr-xr-x 2 root root 4096 Aug 23 18:33 cost [2023-08-23T18:42:07.788Z] -rw-r--r-- 1 root root 89 Aug 23 18:33 cost.csv [2023-08-23T18:42:07.788Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-23T18:42:07.788Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-23T18:42:07.788Z] total 16 [2023-08-23T18:42:07.788Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 18:33 . [2023-08-23T18:42:07.788Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 18:33 .. [2023-08-23T18:42:07.788Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 18:33 cost [2023-08-23T18:42:07.788Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 23 18:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:10.757Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:11.612Z] ---> package-listing.sh [2023-08-23T18:42:11.612Z] ++ facter osfamily [2023-08-23T18:42:11.612Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-23T18:42:11.870Z] + OS_FAMILY=debian [2023-08-23T18:42:11.870Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-270 [2023-08-23T18:42:11.870Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-23T18:42:11.870Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-23T18:42:11.870Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-23T18:42:11.870Z] + PACKAGES=/tmp/packages_start.txt [2023-08-23T18:42:11.870Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-23T18:42:11.870Z] + PACKAGES=/tmp/packages_end.txt [2023-08-23T18:42:11.870Z] + case "${OS_FAMILY}" in [2023-08-23T18:42:11.870Z] + dpkg -l [2023-08-23T18:42:11.870Z] + grep '^ii' [2023-08-23T18:42:11.870Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-23T18:42:11.870Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-23T18:42:11.870Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-23T18:42:11.870Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-23T18:42:11.870Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-270/archives/ [2023-08-23T18:42:11.870Z] + 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-23T18:42:11.880Z] 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-23T18:42:12.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T18:42:12.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T18:42:12.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T18:42:12.785Z] prd-ubuntu20.04-docker-8c-8g-4397 does not seem to be running inside a container [2023-08-23T18:42:12.817Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-23T18:42:12.997Z] $ docker top 1dfcafcd4d71a5b6d8177eb18d7b0f2f1eb572d4a1c70834c02fe2881935477e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T18:42:13.341Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-23T18:42:13.627Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-23T18:42:13.911Z] + ls /var/log/sa-host [2023-08-23T18:42:13.911Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T18:42:14.055Z] provisioning config files... [2023-08-23T18:42:14.063Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config10105526312443812017tmp [Pipeline] { [Pipeline] echo [2023-08-23T18:42:14.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:14.355Z] ---> create-netrc.sh [Pipeline] } [2023-08-23T18:42:14.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:14.688Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-23T18:42:14.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:14.979Z] ---> sudo-logs.sh [2023-08-23T18:42:14.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-23T18:42:15.006Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:15.291Z] ---> job-cost.sh [2023-08-23T18:42:15.291Z] lf-activate-venv: SKIPPING [2023-08-23T18:42:15.291Z] DEBUG: total: 0.2199999988079071 [2023-08-23T18:42:15.291Z] INFO: Retrieving Stack Cost... [2023-08-23T18:42:15.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T18:42:16.119Z] INFO: Archiving Costs [Pipeline] echo [2023-08-23T18:42:16.127Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T18:42:16.406Z] ---> logs-deploy.sh [2023-08-23T18:42:16.407Z] lf-activate-venv: SKIPPING [2023-08-23T18:42:16.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-270/3 [2023-08-23T18:42:16.407Z] INFO: archiving workspace using pattern(s): [2023-08-23T18:42:17.341Z] Archives upload complete. [2023-08-23T18:42:17.341Z] INFO: archiving logs to Nexus