Branch indexing 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c79013aec5a343747aa63ac8b71198bf6f18d439 rather than 02f39ede7208f2d87b8bcee4216eb06da9a536ce Obtained Jenkinsfile from c79013aec5a343747aa63ac8b71198bf6f18d439 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-ssh279573527059119981.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-ssh8221317757081356704.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-271/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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6414230457762068537.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-ssh16433296789766342523.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-271/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-271/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8691564173386845554.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-4986 in /w/workspace/foundry_device-usb-camera_PR-271 [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-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c79013aec5a343747aa63ac8b71198bf6f18d439 into PR head commit 02f39ede7208f2d87b8bcee4216eb06da9a536ce Merge succeeded, producing 608a6cceabd4da3c10bcbc649c3d819e119538a5 Checking out Revision 608a6cceabd4da3c10bcbc649c3d819e119538a5 (PR-271) > git config core.sparsecheckout # timeout=10 > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # 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 c79013aec5a343747aa63ac8b71198bf6f18d439 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 608a6cceabd4da3c10bcbc649c3d819e119538a5 # timeout=10 Commit message: "Merge commit 'c79013aec5a343747aa63ac8b71198bf6f18d439' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 61114b868cdf3bace3309ab893fd6b50640acf66 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T06:15:56.776Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T06:15:56.847Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T06:15:56.862Z] ========================================================= [2023-08-31T06:15:56.862Z] EdgeX Global Pipelines Version Info [2023-08-31T06:15:56.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:15:57.576Z] ------------------- [2023-08-31T06:15:57.576Z] stable info: [2023-08-31T06:15:57.576Z] ------------------- [2023-08-31T06:15:57.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T06:15:57.576Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T06:15:57.576Z] Message: update stable to v1.0.253 [2023-08-31T06:15:58.147Z] ------------------- [2023-08-31T06:15:58.147Z] experimental info: [2023-08-31T06:15:58.147Z] ------------------- [2023-08-31T06:15:58.147Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T06:15:58.147Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T06:15:58.147Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T06:15:58.293Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-31T06:15:58.303Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-31T06:15:58.313Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T06:15:58.327Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T06:15:58.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T06:15:58.359Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T06:15:58.377Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T06:15:58.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T06:15:58.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T06:15:58.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T06:15:58.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T06:15:58.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-31T06:15:58.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T06:15:58.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T06:15:58.528Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T06:15:58.550Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T06:15:58.563Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T06:15:58.576Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T06:15:58.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T06:15:58.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T06:15:58.622Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T06:15:58.637Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T06:15:58.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T06:15:58.664Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T06:15:58.681Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T06:15:58.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T06:15:58.718Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T06:15:58.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo [2023-08-31T06:15:58.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo [2023-08-31T06:15:58.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo [2023-08-31T06:15:58.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 608a6cceabd4da3c10bcbc649c3d819e119538a5 [Pipeline] echo [2023-08-31T06:15:58.807Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 608a6cc [Pipeline] echo [2023-08-31T06:15:58.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T06:15:58.876Z] provisioning config files... [2023-08-31T06:15:58.891Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config17600596636990187200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:15:59.202Z] ---> docker-login.sh [2023-08-31T06:15:59.203Z] nexus3.edgexfoundry.org:10001 [2023-08-31T06:15:59.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:15:59.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:15:59.465Z] Configure a credential helper to remove this warning. See [2023-08-31T06:15:59.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:15:59.465Z] [2023-08-31T06:15:59.465Z] Login Succeeded [2023-08-31T06:15:59.465Z] nexus3.edgexfoundry.org:10002 [2023-08-31T06:15:59.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:15:59.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:15:59.465Z] Configure a credential helper to remove this warning. See [2023-08-31T06:15:59.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:15:59.465Z] [2023-08-31T06:15:59.465Z] Login Succeeded [2023-08-31T06:15:59.465Z] nexus3.edgexfoundry.org:10003 [2023-08-31T06:15:59.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:15:59.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:15:59.727Z] Configure a credential helper to remove this warning. See [2023-08-31T06:15:59.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:15:59.727Z] [2023-08-31T06:15:59.727Z] Login Succeeded [2023-08-31T06:15:59.727Z] nexus3.edgexfoundry.org:10004 [2023-08-31T06:15:59.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:15:59.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:15:59.727Z] Configure a credential helper to remove this warning. See [2023-08-31T06:15:59.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:15:59.727Z] [2023-08-31T06:15:59.727Z] Login Succeeded [2023-08-31T06:15:59.727Z] docker.io [2023-08-31T06:15:59.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:15:59.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:15:59.988Z] Configure a credential helper to remove this warning. See [2023-08-31T06:15:59.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:15:59.988Z] [2023-08-31T06:15:59.988Z] Login Succeeded [2023-08-31T06:15:59.988Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T06:15:59.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T06:16:00.369Z] + git rev-list -1 --merges 608a6cceabd4da3c10bcbc649c3d819e119538a5~1..608a6cceabd4da3c10bcbc649c3d819e119538a5 [Pipeline] echo [2023-08-31T06:16:00.416Z] -----------> git rev-list -1 --merges 608a6cceabd4da3c10bcbc649c3d819e119538a5~1..608a6cceabd4da3c10bcbc649c3d819e119538a5 608a6cceabd4da3c10bcbc649c3d819e119538a5 [2023-08-31T06:16:00.416Z] 608a6cceabd4da3c10bcbc649c3d819e119538a5 [false] [Pipeline] sh [2023-08-31T06:16:00.702Z] + git log --format=format:%s -1 608a6cceabd4da3c10bcbc649c3d819e119538a5 [Pipeline] echo [2023-08-31T06:16:00.718Z] ========================================================= [2023-08-31T06:16:00.718Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T06:16:00.718Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T06:16:01.038Z] + git log --format=format:%s -1 608a6cceabd4da3c10bcbc649c3d819e119538a5 [Pipeline] echo [2023-08-31T06:16:01.049Z] [semverPrep] GIT_COMMIT: 608a6cceabd4da3c10bcbc649c3d819e119538a5, Commit Message: Merge commit 'c79013aec5a343747aa63ac8b71198bf6f18d439' into HEAD [Pipeline] echo [2023-08-31T06:16:01.058Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T06:16:01.422Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T06:16:01.422Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T06:16:01.422Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T06:16:01.422Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T06:16:01.422Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T06:16:01.422Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T06:16:01.422Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:16:01.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T06:16:01.777Z] [2023-08-31T06:16:01.777Z] 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-31T06:16:02.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T06:16:02.152Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T06:16:02.152Z] b85a868b505f: Pulling fs layer [2023-08-31T06:16:02.152Z] e2be974225ed: Pulling fs layer [2023-08-31T06:16:02.152Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T06:16:02.152Z] 988bab9f4d93: Pulling fs layer [2023-08-31T06:16:02.152Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T06:16:02.152Z] eaf3925da568: Pulling fs layer [2023-08-31T06:16:02.152Z] bab4dde63d76: Pulling fs layer [2023-08-31T06:16:02.152Z] bde34c3a00c8: Pulling fs layer [2023-08-31T06:16:02.152Z] b352a97aabf1: Pulling fs layer [2023-08-31T06:16:02.152Z] 4872d77fe225: Pulling fs layer [2023-08-31T06:16:02.152Z] 5851b861e8e6: Pulling fs layer [2023-08-31T06:16:02.152Z] 988bab9f4d93: Waiting [2023-08-31T06:16:02.152Z] 1469e6f7b9e6: Waiting [2023-08-31T06:16:02.152Z] eaf3925da568: Waiting [2023-08-31T06:16:02.152Z] bab4dde63d76: Waiting [2023-08-31T06:16:02.152Z] bde34c3a00c8: Waiting [2023-08-31T06:16:02.152Z] b352a97aabf1: Waiting [2023-08-31T06:16:02.152Z] 4872d77fe225: Waiting [2023-08-31T06:16:02.152Z] 5851b861e8e6: Waiting [2023-08-31T06:16:02.152Z] e2be974225ed: Verifying Checksum [2023-08-31T06:16:02.152Z] e2be974225ed: Download complete [2023-08-31T06:16:02.152Z] 988bab9f4d93: Verifying Checksum [2023-08-31T06:16:02.152Z] 988bab9f4d93: Download complete [2023-08-31T06:16:02.152Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T06:16:02.152Z] 1469e6f7b9e6: Download complete [2023-08-31T06:16:02.152Z] eaf3925da568: Verifying Checksum [2023-08-31T06:16:02.152Z] eaf3925da568: Download complete [2023-08-31T06:16:02.412Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T06:16:02.412Z] bde34c3a00c8: Download complete [2023-08-31T06:16:02.412Z] b352a97aabf1: Download complete [2023-08-31T06:16:02.412Z] 4872d77fe225: Download complete [2023-08-31T06:16:02.412Z] b85a868b505f: Verifying Checksum [2023-08-31T06:16:02.412Z] b85a868b505f: Download complete [2023-08-31T06:16:02.412Z] 5851b861e8e6: Verifying Checksum [2023-08-31T06:16:02.412Z] 5851b861e8e6: Download complete [2023-08-31T06:16:02.672Z] bab4dde63d76: Verifying Checksum [2023-08-31T06:16:02.672Z] bab4dde63d76: Download complete [2023-08-31T06:16:03.631Z] b85a868b505f: Pull complete [2023-08-31T06:16:03.889Z] e2be974225ed: Pull complete [2023-08-31T06:16:04.459Z] 339a4e72a1f5: Pull complete [2023-08-31T06:16:04.459Z] 988bab9f4d93: Pull complete [2023-08-31T06:16:04.719Z] 1469e6f7b9e6: Pull complete [2023-08-31T06:16:04.719Z] eaf3925da568: Pull complete [2023-08-31T06:16:06.626Z] bab4dde63d76: Pull complete [2023-08-31T06:16:06.626Z] bde34c3a00c8: Pull complete [2023-08-31T06:16:06.626Z] b352a97aabf1: Pull complete [2023-08-31T06:16:06.885Z] 4872d77fe225: Pull complete [2023-08-31T06:16:06.885Z] 5851b861e8e6: Pull complete [2023-08-31T06:16:06.885Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T06:16:06.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T06:16:06.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:16:06.993Z] prd-ubuntu20.04-docker-8c-8g-4986 does not seem to be running inside a container [2023-08-31T06:16:07.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T06:16:10.095Z] $ docker top da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 -eo pid,comm [2023-08-31T06:16:10.153Z] 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-31T06:16:10.153Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T06:16:10.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T06:16:10.193Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T06:16:10.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T06:16:10.327Z] $ docker exec da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 ssh-agent [2023-08-31T06:16:10.440Z] SSH_AUTH_SOCK=/tmp/ssh-Ez5EZlYaBqce/agent.31 [2023-08-31T06:16:10.440Z] SSH_AGENT_PID=37 [2023-08-31T06:16:10.446Z] Running ssh-add (command line suppressed) [2023-08-31T06:16:10.562Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_18102723933320200161.key (/w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_18102723933320200161.key) [2023-08-31T06:16:10.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T06:16:10.866Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T06:16:10.882Z] $ docker exec --env ******** --env ******** da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 ssh-agent -k [2023-08-31T06:16:10.980Z] unset SSH_AUTH_SOCK; [2023-08-31T06:16:10.980Z] unset SSH_AGENT_PID; [2023-08-31T06:16:10.981Z] echo Agent pid 37 killed; [2023-08-31T06:16:10.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T06:16:11.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T06:16:11.014Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T06:16:11.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T06:16:11.126Z] $ docker exec da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 ssh-agent [2023-08-31T06:16:11.242Z] SSH_AUTH_SOCK=/tmp/ssh-quTpHsAG26O8/agent.69 [2023-08-31T06:16:11.242Z] SSH_AGENT_PID=75 [2023-08-31T06:16:11.247Z] Running ssh-add (command line suppressed) [2023-08-31T06:16:11.362Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_12065975982615359760.key (/w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_12065975982615359760.key) [2023-08-31T06:16:11.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T06:16:11.663Z] + git semver init [2023-08-31T06:16:11.923Z] 2023-08-31 06:16:11,851 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T06:16:11.924Z] 2023-08-31 06:16:11,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-271/.semver [2023-08-31T06:16:11.924Z] 2023-08-31 06:16:11,852 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-271/.semver [2023-08-31T06:16:11.924Z] 2023-08-31 06:16:11,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-271/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-271, universal_newlines=False, shell=None, istream=None) [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,568 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-271/.git/info/exclude [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,568 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 with force:False [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,568 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,571 [execute] INFO git cat-file --batch-check [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,577 [execute] INFO git cat-file --batch [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T06:16:12.862Z] 2023-08-31 06:16:12,583 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 [2023-08-31T06:16:12.862Z] 0.0.0 [Pipeline] } [2023-08-31T06:16:12.872Z] $ docker exec --env ******** --env ******** da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 ssh-agent -k [2023-08-31T06:16:12.976Z] unset SSH_AUTH_SOCK; [2023-08-31T06:16:12.976Z] unset SSH_AGENT_PID; [2023-08-31T06:16:12.978Z] echo Agent pid 75 killed; [2023-08-31T06:16:12.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T06:16:13.302Z] + git semver [Pipeline] } [2023-08-31T06:16:13.575Z] $ docker stop --time=1 da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 [2023-08-31T06:16:14.844Z] $ docker rm -f --volumes da982eb98bb2a4eed865e9c6b9832b84f96d7795c7fa037c8ecb01c5674804b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T06:16:15.177Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T06:16:15.413Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T06:16:15.416Z] [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-31T06:16:15.587Z] provisioning config files... [2023-08-31T06:16:15.597Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config6654014770889929241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:16:15.898Z] ---> docker-login.sh [2023-08-31T06:16:15.898Z] nexus3.edgexfoundry.org:10001 [2023-08-31T06:16:15.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:16:15.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:16:15.898Z] Configure a credential helper to remove this warning. See [2023-08-31T06:16:15.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:16:15.898Z] [2023-08-31T06:16:15.898Z] Login Succeeded [2023-08-31T06:16:15.898Z] nexus3.edgexfoundry.org:10002 [2023-08-31T06:16:15.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:16:15.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:16:15.898Z] Configure a credential helper to remove this warning. See [2023-08-31T06:16:15.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:16:15.898Z] [2023-08-31T06:16:15.898Z] Login Succeeded [2023-08-31T06:16:15.898Z] nexus3.edgexfoundry.org:10003 [2023-08-31T06:16:16.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:16:16.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:16:16.168Z] Configure a credential helper to remove this warning. See [2023-08-31T06:16:16.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:16:16.168Z] [2023-08-31T06:16:16.168Z] Login Succeeded [2023-08-31T06:16:16.168Z] nexus3.edgexfoundry.org:10004 [2023-08-31T06:16:16.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:16:16.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:16:16.168Z] Configure a credential helper to remove this warning. See [2023-08-31T06:16:16.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:16:16.168Z] [2023-08-31T06:16:16.168Z] Login Succeeded [2023-08-31T06:16:16.168Z] docker.io [2023-08-31T06:16:16.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:16:16.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:16:16.690Z] Configure a credential helper to remove this warning. See [2023-08-31T06:16:16.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:16:16.690Z] [2023-08-31T06:16:16.690Z] Login Succeeded [2023-08-31T06:16:16.691Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T06:16:16.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T06:16:16.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T06:16:16.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T06:16:16.786Z] ========================================================= [2023-08-31T06:16:16.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T06:16:16.787Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:16:17.095Z] + 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-31T06:16:17.095Z] Sending build context to Docker daemon 2.14MB [2023-08-31T06:16:17.095Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T06:16:17.095Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-31T06:16:17.095Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T06:16:17.095Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T06:16:17.095Z] 6911f1a30b25: Pulling fs layer [2023-08-31T06:16:17.095Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T06:16:17.095Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T06:16:17.095Z] ec0bb842ea78: Pulling fs layer [2023-08-31T06:16:17.095Z] 40a00589a448: Pulling fs layer [2023-08-31T06:16:17.095Z] 6c08303d61cc: Pulling fs layer [2023-08-31T06:16:17.095Z] 798269fcf238: Pulling fs layer [2023-08-31T06:16:17.095Z] ec0bb842ea78: Waiting [2023-08-31T06:16:17.095Z] 40a00589a448: Waiting [2023-08-31T06:16:17.095Z] 6c08303d61cc: Waiting [2023-08-31T06:16:17.095Z] 798269fcf238: Waiting [2023-08-31T06:16:17.095Z] 6863d3e3a2b1: Waiting [2023-08-31T06:16:17.095Z] 6911f1a30b25: Verifying Checksum [2023-08-31T06:16:17.095Z] 6911f1a30b25: Download complete [2023-08-31T06:16:17.362Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T06:16:17.362Z] 6863d3e3a2b1: Download complete [2023-08-31T06:16:17.362Z] ec0bb842ea78: Verifying Checksum [2023-08-31T06:16:17.362Z] ec0bb842ea78: Download complete [2023-08-31T06:16:17.362Z] 4db1b89c0bd1: Download complete [2023-08-31T06:16:17.362Z] 40a00589a448: Verifying Checksum [2023-08-31T06:16:17.362Z] 40a00589a448: Download complete [2023-08-31T06:16:17.362Z] 4db1b89c0bd1: Pull complete [2023-08-31T06:16:17.623Z] 6911f1a30b25: Pull complete [2023-08-31T06:16:17.883Z] 798269fcf238: Verifying Checksum [2023-08-31T06:16:17.883Z] 798269fcf238: Download complete [2023-08-31T06:16:17.883Z] e194b8c5c2a9: Download complete [2023-08-31T06:16:18.142Z] 6c08303d61cc: Verifying Checksum [2023-08-31T06:16:18.142Z] 6c08303d61cc: Download complete [2023-08-31T06:16:21.432Z] e194b8c5c2a9: Pull complete [2023-08-31T06:16:21.432Z] 6863d3e3a2b1: Pull complete [2023-08-31T06:16:21.691Z] ec0bb842ea78: Pull complete [2023-08-31T06:16:21.691Z] 40a00589a448: Pull complete [2023-08-31T06:16:24.220Z] 6c08303d61cc: Pull complete [2023-08-31T06:16:25.156Z] 798269fcf238: Pull complete [2023-08-31T06:16:25.156Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T06:16:25.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T06:16:25.156Z] ---> ec979cd7f677 [2023-08-31T06:16:25.156Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-31T06:16:30.435Z] ---> Running in ecba8995802c [2023-08-31T06:16:30.435Z] Removing intermediate container ecba8995802c [2023-08-31T06:16:30.435Z] ---> cfa84fe20e47 [2023-08-31T06:16:30.435Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T06:16:30.435Z] ---> Running in 952569d9c7c2 [2023-08-31T06:16:30.435Z] Removing intermediate container 952569d9c7c2 [2023-08-31T06:16:30.435Z] ---> 3dd71411e89d [2023-08-31T06:16:30.435Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-31T06:16:30.435Z] ---> Running in 2858f9cf6be3 [2023-08-31T06:16:30.538Z] Still waiting to schedule task [2023-08-31T06:16:30.538Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-31T06:16:30.694Z] Removing intermediate container 2858f9cf6be3 [2023-08-31T06:16:30.694Z] ---> 453b3150a8c9 [2023-08-31T06:16:30.694Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-31T06:16:30.694Z] ---> Running in ffa84380894b [2023-08-31T06:16:30.694Z] Removing intermediate container ffa84380894b [2023-08-31T06:16:30.694Z] ---> 116a956f2f95 [2023-08-31T06:16:30.694Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T06:16:30.694Z] ---> Running in e077286a5b17 [2023-08-31T06:16:30.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T06:16:31.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T06:16:31.476Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-31T06:16:31.476Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-31T06:16:31.476Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-31T06:16:31.476Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-31T06:16:31.476Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-31T06:16:31.476Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-31T06:16:31.476Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-31T06:16:31.476Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-31T06:16:31.476Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-31T06:16:31.476Z] (10/14) Installing kmod-libs (30-r1) [2023-08-31T06:16:31.476Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-31T06:16:31.476Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-31T06:16:31.735Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-31T06:16:31.735Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-31T06:16:31.735Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T06:16:31.735Z] Executing eudev-3.2.11-r4.trigger [2023-08-31T06:16:31.735Z] OK: 272 MiB in 67 packages [2023-08-31T06:16:32.304Z] Removing intermediate container e077286a5b17 [2023-08-31T06:16:32.304Z] ---> 94b4f1f1c2c6 [2023-08-31T06:16:32.304Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-31T06:16:32.304Z] ---> Running in 2a35d035fc28 [2023-08-31T06:16:32.562Z] Removing intermediate container 2a35d035fc28 [2023-08-31T06:16:32.562Z] ---> e6faf6809772 [2023-08-31T06:16:32.562Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-31T06:16:32.562Z] ---> 97a6d450e4b5 [2023-08-31T06:16:32.562Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T06:16:32.562Z] ---> Running in f9a39fde97f8 [2023-08-31T06:17:04.824Z] Removing intermediate container f9a39fde97f8 [2023-08-31T06:17:04.824Z] ---> ed8e54325f43 [2023-08-31T06:17:04.824Z] Step 11/13 : COPY . . [2023-08-31T06:17:04.824Z] ---> fa318cf26a05 [2023-08-31T06:17:04.824Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-31T06:17:04.824Z] ---> Running in 302d970825ba [2023-08-31T06:17:04.824Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T06:17:04.824Z] Dload Upload Total Spent Left Speed [2023-08-31T06:17:04.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24599 0 --:--:-- --:--:-- --:--:-- 25060 [2023-08-31T06:17:04.824Z] Removing intermediate container 302d970825ba [2023-08-31T06:17:04.824Z] ---> cfe6dafc5b75 [2023-08-31T06:17:04.824Z] Step 13/13 : RUN ${MAKE} [2023-08-31T06:17:04.824Z] ---> Running in cc0657a627b7 [2023-08-31T06:17:05.082Z] noop [2023-08-31T06:17:05.341Z] Removing intermediate container cc0657a627b7 [2023-08-31T06:17:05.341Z] ---> 2847ee363f28 [2023-08-31T06:17:05.341Z] Successfully built 2847ee363f28 [2023-08-31T06:17:05.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:17:05.644Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T06:17:05.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:17:05.717Z] prd-ubuntu20.04-docker-8c-8g-4986 does not seem to be running inside a container [2023-08-31T06:17:05.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@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 ******** ci-base-image-x86_64 cat [2023-08-31T06:17:06.084Z] $ docker top 3aeb0387da41dbeaa847c617a6cd168f088f4219acf2f3c26277b1a081c0d45c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T06:17:06.428Z] + go version [2023-08-31T06:17:06.428Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T06:17:06.438Z] $ docker stop --time=1 3aeb0387da41dbeaa847c617a6cd168f088f4219acf2f3c26277b1a081c0d45c [2023-08-31T06:17:07.720Z] $ docker rm -f --volumes 3aeb0387da41dbeaa847c617a6cd168f088f4219acf2f3c26277b1a081c0d45c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:17:08.113Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T06:17:08.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:17:08.185Z] prd-ubuntu20.04-docker-8c-8g-4986 does not seem to be running inside a container [2023-08-31T06:17:08.220Z] $ 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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@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 ******** ci-base-image-x86_64 cat [2023-08-31T06:17:08.543Z] $ docker top 0a6e727cf7d1d846e173aef0a71cce3ae0c21dd49604187aa446bc3864b2de75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T06:17:08.886Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-271 [Pipeline] fileExists [Pipeline] sh [2023-08-31T06:17:09.185Z] + make test [2023-08-31T06:17:09.185Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T06:17:14.452Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-31T06:17:26.651Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-31T06:17:26.652Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 4.4% of statements [2023-08-31T06:17:34.763Z] go vet ./... [2023-08-31T06:17:38.041Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T06:17:38.041Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T06:17:38.041Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T06:17:38.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T06:17:38.066Z] $ docker stop --time=1 0a6e727cf7d1d846e173aef0a71cce3ae0c21dd49604187aa446bc3864b2de75 [2023-08-31T06:17:42.741Z] $ docker rm -f --volumes 0a6e727cf7d1d846e173aef0a71cce3ae0c21dd49604187aa446bc3864b2de75 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T06:17:43.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T06:17:43.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T06:17:43.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T06:17:43.981Z] + ls -al . [2023-08-31T06:17:43.982Z] total 220 [2023-08-31T06:17:43.982Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 06:17 . [2023-08-31T06:17:43.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 06:15 .. [2023-08-31T06:17:43.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 06:16 .git [2023-08-31T06:17:43.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:15 .github [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 31 06:15 .gitignore [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 31 06:15 .golangci.yml [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 31 06:15 .hadolint.yml [2023-08-31T06:17:43.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 06:16 .semver [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 31 06:15 Attribution.txt [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 31 06:15 CHANGELOG.md [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 31 06:15 Dockerfile [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 06:15 GOVERNANCE.md [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 31 06:15 Jenkinsfile [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 06:15 LICENSE [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 2611 Aug 31 06:15 Makefile [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 06:15 OWNERS.md [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 31 06:15 README.md [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 06:16 VERSION [2023-08-31T06:17:43.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 06:15 bin [2023-08-31T06:17:43.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:15 cmd [2023-08-31T06:17:43.982Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 31 06:17 coverage.out [2023-08-31T06:17:43.982Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 31 06:15 docker-entrypoint.sh [2023-08-31T06:17:43.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 06:15 docs [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 31 06:15 go.mod [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 31 06:15 go.sum [2023-08-31T06:17:43.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:15 internal [2023-08-31T06:17:43.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 06:15 snap [2023-08-31T06:17:43.982Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 31 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:17:44.337Z] + 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=608a6cceabd4da3c10bcbc649c3d819e119538a5 --label arch=amd64 --label version=0.0.0 . [2023-08-31T06:17:44.337Z] Sending build context to Docker daemon 2.195MB [2023-08-31T06:17:44.337Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T06:17:44.337Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-31T06:17:44.337Z] ---> 2847ee363f28 [2023-08-31T06:17:44.337Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-31T06:17:44.603Z] ---> Running in 0d45353c2197 [2023-08-31T06:17:44.603Z] Removing intermediate container 0d45353c2197 [2023-08-31T06:17:44.603Z] ---> cef73953d1ec [2023-08-31T06:17:44.603Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T06:17:44.603Z] ---> Running in fc7bb3aad672 [2023-08-31T06:17:44.603Z] Removing intermediate container fc7bb3aad672 [2023-08-31T06:17:44.603Z] ---> 997cabd2eeee [2023-08-31T06:17:44.603Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-31T06:17:44.603Z] ---> Running in 1decff49f027 [2023-08-31T06:17:44.862Z] Removing intermediate container 1decff49f027 [2023-08-31T06:17:44.862Z] ---> fa44720e4f04 [2023-08-31T06:17:44.862Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-31T06:17:44.862Z] ---> Running in c998a3a396fc [2023-08-31T06:17:44.862Z] Removing intermediate container c998a3a396fc [2023-08-31T06:17:44.862Z] ---> 1ebb66ae2cb4 [2023-08-31T06:17:44.862Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T06:17:44.862Z] ---> Running in dea918180daa [2023-08-31T06:17:45.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T06:17:45.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T06:17:45.639Z] OK: 272 MiB in 67 packages [2023-08-31T06:17:45.897Z] Removing intermediate container dea918180daa [2023-08-31T06:17:45.897Z] ---> 8adb64f5ae0e [2023-08-31T06:17:45.897Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-31T06:17:46.156Z] ---> Running in 30cc3f9a38ac [2023-08-31T06:17:46.156Z] Removing intermediate container 30cc3f9a38ac [2023-08-31T06:17:46.156Z] ---> 377fb5015b88 [2023-08-31T06:17:46.156Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-31T06:17:46.156Z] ---> 9e355b1448a8 [2023-08-31T06:17:46.156Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T06:17:46.156Z] ---> Running in f327469a1e26 [2023-08-31T06:17:47.092Z] Removing intermediate container f327469a1e26 [2023-08-31T06:17:47.092Z] ---> 04fef36d175c [2023-08-31T06:17:47.092Z] Step 11/36 : COPY . . [2023-08-31T06:17:47.659Z] ---> b29371dc131f [2023-08-31T06:17:47.659Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-31T06:17:47.659Z] ---> Running in 38c65f057bb3 [2023-08-31T06:17:47.659Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T06:17:47.659Z] Dload Upload Total Spent Left Speed [2023-08-31T06:17:47.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24611 0 --:--:-- --:--:-- --:--:-- 25060 [2023-08-31T06:17:48.175Z] Removing intermediate container 38c65f057bb3 [2023-08-31T06:17:48.175Z] ---> 78954156be69 [2023-08-31T06:17:48.175Z] Step 13/36 : RUN ${MAKE} [2023-08-31T06:17:48.175Z] ---> Running in e0b32fef06c1 [2023-08-31T06:17:48.433Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-31T06:18:14.969Z] Removing intermediate container e0b32fef06c1 [2023-08-31T06:18:14.969Z] ---> 48f19c472d0c [2023-08-31T06:18:14.969Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-31T06:18:14.969Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-31T06:18:14.969Z] 4acc49c71d14: Pulling fs layer [2023-08-31T06:18:14.969Z] 4acc49c71d14: Verifying Checksum [2023-08-31T06:18:14.969Z] 4acc49c71d14: Download complete [2023-08-31T06:18:14.969Z] 4acc49c71d14: Pull complete [2023-08-31T06:18:14.969Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-31T06:18:14.969Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-31T06:18:14.969Z] ---> 01a2bd3e5fff [2023-08-31T06:18:14.969Z] Step 15/36 : FROM alpine:3.17 [2023-08-31T06:18:14.969Z] 3.17: Pulling from library/alpine [2023-08-31T06:18:14.969Z] 9398808236ff: Pulling fs layer [2023-08-31T06:18:14.969Z] 9398808236ff: Verifying Checksum [2023-08-31T06:18:14.969Z] 9398808236ff: Download complete [2023-08-31T06:18:14.969Z] 9398808236ff: Pull complete [2023-08-31T06:18:14.969Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T06:18:14.969Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T06:18:14.969Z] ---> 1e0b8b5322fc [2023-08-31T06:18:14.969Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-31T06:18:14.969Z] ---> Running in 87f618065503 [2023-08-31T06:18:14.969Z] Removing intermediate container 87f618065503 [2023-08-31T06:18:14.969Z] ---> 101ff893a2ce [2023-08-31T06:18:14.969Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-31T06:18:14.969Z] ---> Running in 5cefcbf8f0d8 [2023-08-31T06:18:14.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T06:18:14.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T06:18:15.227Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-31T06:18:15.227Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-31T06:18:15.227Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-31T06:18:15.227Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-31T06:18:15.483Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-31T06:18:15.483Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-31T06:18:15.483Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-31T06:18:15.483Z] (8/86) Installing libxcb (1.15-r0) [2023-08-31T06:18:15.483Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-31T06:18:15.483Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-31T06:18:15.483Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-31T06:18:15.483Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-31T06:18:15.483Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-31T06:18:15.483Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-31T06:18:15.483Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-31T06:18:15.483Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-31T06:18:15.483Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-31T06:18:15.483Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-31T06:18:15.483Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-31T06:18:15.483Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-31T06:18:15.483Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-31T06:18:15.483Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-31T06:18:15.483Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-31T06:18:15.483Z] (24/86) Installing glib (2.74.7-r0) [2023-08-31T06:18:15.483Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-31T06:18:15.483Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-31T06:18:15.741Z] (27/86) Installing libass (0.16.0-r1) [2023-08-31T06:18:15.741Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-31T06:18:15.741Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-31T06:18:15.741Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-31T06:18:15.741Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-31T06:18:15.741Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-31T06:18:15.741Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-31T06:18:15.741Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-31T06:18:15.741Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-31T06:18:15.741Z] (36/86) Installing libunistring (1.1-r0) [2023-08-31T06:18:15.741Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-31T06:18:15.741Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-31T06:18:15.741Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-31T06:18:15.741Z] (40/86) Installing lame (3.100-r2) [2023-08-31T06:18:15.741Z] (41/86) Installing opus (1.3.1-r1) [2023-08-31T06:18:15.741Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-31T06:18:15.741Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-31T06:18:15.741Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-31T06:18:15.741Z] (45/86) Installing orc (0.4.33-r0) [2023-08-31T06:18:15.741Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-31T06:18:15.741Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-31T06:18:15.741Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-31T06:18:15.741Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-31T06:18:15.741Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-31T06:18:15.999Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-31T06:18:15.999Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-31T06:18:15.999Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-31T06:18:15.999Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-31T06:18:15.999Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-31T06:18:15.999Z] (56/86) Installing libpulse (16.1-r6) [2023-08-31T06:18:15.999Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-31T06:18:15.999Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-31T06:18:15.999Z] (59/86) Installing librist (0.2.7-r0) [2023-08-31T06:18:15.999Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-31T06:18:15.999Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-31T06:18:15.999Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-31T06:18:15.999Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-31T06:18:15.999Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-31T06:18:15.999Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-31T06:18:15.999Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-31T06:18:15.999Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-31T06:18:15.999Z] (68/86) Installing libva (2.16.0-r0) [2023-08-31T06:18:15.999Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-31T06:18:15.999Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-31T06:18:15.999Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-31T06:18:15.999Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-31T06:18:15.999Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-31T06:18:15.999Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-31T06:18:15.999Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-31T06:18:16.256Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-31T06:18:16.256Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-31T06:18:16.256Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-31T06:18:16.256Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-31T06:18:16.256Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-31T06:18:16.256Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-31T06:18:16.256Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-31T06:18:16.256Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-31T06:18:16.256Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-31T06:18:16.256Z] (85/86) Installing kmod-libs (30-r1) [2023-08-31T06:18:16.256Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-31T06:18:16.256Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T06:18:16.256Z] Executing eudev-3.2.11-r4.trigger [2023-08-31T06:18:16.256Z] OK: 112 MiB in 101 packages [2023-08-31T06:18:19.616Z] Removing intermediate container 5cefcbf8f0d8 [2023-08-31T06:18:19.616Z] ---> 216cb40632fb [2023-08-31T06:18:19.616Z] Step 18/36 : WORKDIR / [2023-08-31T06:18:19.616Z] ---> Running in 32f84d3152c4 [2023-08-31T06:18:19.873Z] Removing intermediate container 32f84d3152c4 [2023-08-31T06:18:19.873Z] ---> eb021807d2b9 [2023-08-31T06:18:19.873Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-31T06:18:20.442Z] ---> 9b83f9be573e [2023-08-31T06:18:20.442Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-31T06:18:20.701Z] ---> f6ac94de8312 [2023-08-31T06:18:20.701Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-31T06:18:20.701Z] ---> c54c529fcb3f [2023-08-31T06:18:20.701Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-31T06:18:20.960Z] ---> 276b5ffcb2da [2023-08-31T06:18:20.960Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-31T06:18:20.960Z] ---> 8fc41975ddea [2023-08-31T06:18:20.960Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-31T06:18:21.218Z] ---> 3d739815a7af [2023-08-31T06:18:21.218Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-31T06:18:22.155Z] ---> 286f82a58c3a [2023-08-31T06:18:22.155Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-31T06:18:22.155Z] ---> Running in ddca7cd1bcac [2023-08-31T06:18:22.721Z] Removing intermediate container ddca7cd1bcac [2023-08-31T06:18:22.721Z] ---> 2bf2bffb89e6 [2023-08-31T06:18:22.721Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-31T06:18:22.721Z] ---> Running in aa088e170fed [2023-08-31T06:18:23.287Z] Removing intermediate container aa088e170fed [2023-08-31T06:18:23.287Z] ---> ef5ef3328f04 [2023-08-31T06:18:23.287Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-31T06:18:23.287Z] ---> Running in 903b53307a4e [2023-08-31T06:18:23.854Z] Removing intermediate container 903b53307a4e [2023-08-31T06:18:23.854Z] ---> 8a9f38a2c509 [2023-08-31T06:18:23.854Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-31T06:18:23.854Z] ---> Running in 8408fc6424f4 [2023-08-31T06:18:24.420Z] Removing intermediate container 8408fc6424f4 [2023-08-31T06:18:24.420Z] ---> 01777ea4326b [2023-08-31T06:18:24.420Z] Step 30/36 : EXPOSE 59983 [2023-08-31T06:18:24.420Z] ---> Running in fbdd3c88e8ff [2023-08-31T06:18:24.420Z] Removing intermediate container fbdd3c88e8ff [2023-08-31T06:18:24.420Z] ---> 41262a57fd21 [2023-08-31T06:18:24.420Z] Step 31/36 : EXPOSE 8554 [2023-08-31T06:18:24.420Z] ---> Running in 266a22ccb0d0 [2023-08-31T06:18:24.420Z] Removing intermediate container 266a22ccb0d0 [2023-08-31T06:18:24.420Z] ---> f111ea9faf79 [2023-08-31T06:18:24.420Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-31T06:18:24.420Z] ---> Running in 6216286b2c53 [2023-08-31T06:18:24.420Z] Removing intermediate container 6216286b2c53 [2023-08-31T06:18:24.420Z] ---> a38f7872b546 [2023-08-31T06:18:24.420Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-31T06:18:24.684Z] ---> Running in 33d6d16b4837 [2023-08-31T06:18:24.684Z] Removing intermediate container 33d6d16b4837 [2023-08-31T06:18:24.684Z] ---> 7081df4941fd [2023-08-31T06:18:24.684Z] Step 34/36 : LABEL arch=amd64 [2023-08-31T06:18:24.684Z] ---> Running in 286a45a5741d [2023-08-31T06:18:24.684Z] Removing intermediate container 286a45a5741d [2023-08-31T06:18:24.684Z] ---> df7e5c2d8cd9 [2023-08-31T06:18:24.684Z] Step 35/36 : LABEL git_sha=608a6cceabd4da3c10bcbc649c3d819e119538a5 [2023-08-31T06:18:24.684Z] ---> Running in 2cab167f17e3 [2023-08-31T06:18:24.684Z] Removing intermediate container 2cab167f17e3 [2023-08-31T06:18:24.684Z] ---> 7f271a4c8806 [2023-08-31T06:18:24.684Z] Step 36/36 : LABEL version=0.0.0 [2023-08-31T06:18:24.943Z] ---> Running in d5b5543d6e27 [2023-08-31T06:18:24.943Z] Removing intermediate container d5b5543d6e27 [2023-08-31T06:18:24.943Z] ---> 1a631206d197 [2023-08-31T06:18:24.943Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T06:18:24.943Z] Successfully built 1a631206d197 [2023-08-31T06:18:24.943Z] 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-31T06:18:25.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T06:18:25.377Z] [2023-08-31T06:18:25.377Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:18:25.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T06:18:25.677Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T06:18:25.677Z] 5eb5b503b376: Pulling fs layer [2023-08-31T06:18:25.677Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T06:18:25.677Z] ec43610c2a17: Pulling fs layer [2023-08-31T06:18:25.677Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T06:18:25.677Z] 33b1e0a273af: Pulling fs layer [2023-08-31T06:18:25.677Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T06:18:25.677Z] 2f39f015ded8: Pulling fs layer [2023-08-31T06:18:25.677Z] 3a2ae6a8a46f: Waiting [2023-08-31T06:18:25.677Z] 33b1e0a273af: Waiting [2023-08-31T06:18:25.677Z] 5d3b04190fa2: Waiting [2023-08-31T06:18:25.677Z] 2f39f015ded8: Waiting [2023-08-31T06:18:25.677Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T06:18:25.677Z] 3a2ae6a8a46f: Download complete [2023-08-31T06:18:25.677Z] 33b1e0a273af: Verifying Checksum [2023-08-31T06:18:25.677Z] 33b1e0a273af: Download complete [2023-08-31T06:18:25.677Z] ec43610c2a17: Verifying Checksum [2023-08-31T06:18:25.677Z] ec43610c2a17: Download complete [2023-08-31T06:18:25.677Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T06:18:25.677Z] 5d3b04190fa2: Download complete [2023-08-31T06:18:25.935Z] 5eb5b503b376: Verifying Checksum [2023-08-31T06:18:25.935Z] 5eb5b503b376: Download complete [2023-08-31T06:18:26.500Z] 2f39f015ded8: Download complete [2023-08-31T06:18:27.065Z] 5eb5b503b376: Pull complete [2023-08-31T06:18:27.324Z] 5c69ac0246d0: Pull complete [2023-08-31T06:18:27.892Z] ec43610c2a17: Pull complete [2023-08-31T06:18:27.892Z] 3a2ae6a8a46f: Pull complete [2023-08-31T06:18:27.892Z] 33b1e0a273af: Pull complete [2023-08-31T06:18:28.151Z] 5d3b04190fa2: Pull complete [2023-08-31T06:18:32.333Z] 2f39f015ded8: Pull complete [2023-08-31T06:18:32.333Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T06:18:32.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T06:18:32.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:18:32.428Z] prd-ubuntu20.04-docker-8c-8g-4986 does not seem to be running inside a container [2023-08-31T06:18:32.452Z] $ 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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T06:18:38.264Z] $ docker top b0c6c4ccf612227c00cb23aed1449b5ecac3a672bfcf49e0458a1d6af5bf3efe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:18:38.642Z] ---> job-cost.sh [2023-08-31T06:18:38.642Z] lf-activate-venv: SKIPPING [2023-08-31T06:18:38.642Z] INFO: No Stack... [2023-08-31T06:18:38.902Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T06:18:39.470Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T06:18:39.757Z] + cat /w/workspace/foundry_device-usb-camera_PR-271/archives/cost.csv [2023-08-31T06:18:39.757Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T06:18:39.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [2023-08-31T06:18:39.774Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] did not exist. Created. [2023-08-31T06:18:39.774Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T06:18:40.079Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T06:18:40.112Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T06:18:40.121Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T06:18:40.134Z] $ docker stop --time=1 b0c6c4ccf612227c00cb23aed1449b5ecac3a672bfcf49e0458a1d6af5bf3efe [2023-08-31T06:18:41.302Z] $ docker rm -f --volumes b0c6c4ccf612227c00cb23aed1449b5ecac3a672bfcf49e0458a1d6af5bf3efe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T06:18:47.922Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4989 in /w/workspace/foundry_device-usb-camera_PR-271 [Pipeline] { [Pipeline] ws [2023-08-31T06:18:47.935Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-08-31T06:18:47.977Z] Selected Git installation does not exist. Using Default [2023-08-31T06:18:47.978Z] The recommended git tool is: NONE [2023-08-31T06:18:53.977Z] using credential edgex-jenkins-ssh [2023-08-31T06:18:53.997Z] Cloning the remote Git repository [2023-08-31T06:18:54.045Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-31T06:18:54.183Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-08-31T06:18:54.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-31T06:18:54.345Z] > git --version # timeout=10 [2023-08-31T06:18:54.368Z] > git --version # 'git version 2.25.1' [2023-08-31T06:18:54.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T06:18:54.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T06:18:55.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-31T06:18:55.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T06:18:56.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-31T06:18:56.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-31T06:18:56.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T06:18:56.285Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-31T06:18:56.862Z] Merging remotes/origin/main commit c79013aec5a343747aa63ac8b71198bf6f18d439 into PR head commit 02f39ede7208f2d87b8bcee4216eb06da9a536ce [2023-08-31T06:18:57.203Z] Merge succeeded, producing a7a8586acfa3dd645d02d6fc7d088d65694ebacf [2023-08-31T06:18:57.203Z] Checking out Revision a7a8586acfa3dd645d02d6fc7d088d65694ebacf (PR-271) [2023-08-31T06:18:56.879Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T06:18:56.962Z] > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # timeout=10 [2023-08-31T06:18:57.051Z] > git remote # timeout=10 [2023-08-31T06:18:57.079Z] > git config --get remote.origin.url # timeout=10 [2023-08-31T06:18:57.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T06:18:57.126Z] > git merge c79013aec5a343747aa63ac8b71198bf6f18d439 # timeout=10 [2023-08-31T06:18:57.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-31T06:18:57.208Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T06:18:57.223Z] > git checkout -f a7a8586acfa3dd645d02d6fc7d088d65694ebacf # timeout=10 [2023-08-31T06:19:00.686Z] Commit message: "Merge commit 'c79013aec5a343747aa63ac8b71198bf6f18d439' into HEAD" [2023-08-31T06:19:00.713Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T06:19:00.693Z] > git rev-list --no-walk 61114b868cdf3bace3309ab893fd6b50640acf66 # timeout=10 [2023-08-31T06:19:01.617Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T06:19:01.617Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T06:19:01.617Z] Dload Upload Total Spent Left Speed [2023-08-31T06:19:01.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-08-31T06:19:02.327Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T06:19:02.656Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-08-31T06:19:02.656Z] /etc/docker/daemon.new [2023-08-31T06:19:02.656Z] { [2023-08-31T06:19:02.656Z] "registry-mirrors": [ [2023-08-31T06:19:02.656Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T06:19:02.656Z] ], [2023-08-31T06:19:02.656Z] "bip": "10.250.0.254/24", [2023-08-31T06:19:02.656Z] "hosts": [ [2023-08-31T06:19:02.656Z] "tcp://0.0.0.0:5555", [2023-08-31T06:19:02.656Z] "unix:///var/run/docker.sock" [2023-08-31T06:19:02.656Z] ], [2023-08-31T06:19:02.656Z] "mtu": 1458, [2023-08-31T06:19:02.656Z] "selinux-enabled": true, [2023-08-31T06:19:02.656Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T06:19:02.656Z] } [Pipeline] sh [2023-08-31T06:19:02.987Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T06:19:03.317Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T06:19:21.578Z] provisioning config files... [2023-08-31T06:19:21.602Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config6926781303372942014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:19:21.948Z] ---> docker-login.sh [2023-08-31T06:19:21.948Z] nexus3.edgexfoundry.org:10001 [2023-08-31T06:19:22.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:19:23.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:19:23.183Z] Configure a credential helper to remove this warning. See [2023-08-31T06:19:23.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:19:23.183Z] [2023-08-31T06:19:23.183Z] Login Succeeded [2023-08-31T06:19:23.183Z] nexus3.edgexfoundry.org:10002 [2023-08-31T06:19:23.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:19:23.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:19:23.453Z] Configure a credential helper to remove this warning. See [2023-08-31T06:19:23.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:19:23.453Z] [2023-08-31T06:19:23.453Z] Login Succeeded [2023-08-31T06:19:23.453Z] nexus3.edgexfoundry.org:10003 [2023-08-31T06:19:23.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:19:23.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:19:23.723Z] Configure a credential helper to remove this warning. See [2023-08-31T06:19:23.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:19:23.723Z] [2023-08-31T06:19:23.723Z] Login Succeeded [2023-08-31T06:19:23.723Z] nexus3.edgexfoundry.org:10004 [2023-08-31T06:19:23.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:19:23.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:19:23.994Z] Configure a credential helper to remove this warning. See [2023-08-31T06:19:23.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:19:23.994Z] [2023-08-31T06:19:23.994Z] Login Succeeded [2023-08-31T06:19:23.994Z] docker.io [2023-08-31T06:19:24.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T06:19:24.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T06:19:24.532Z] Configure a credential helper to remove this warning. See [2023-08-31T06:19:24.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T06:19:24.532Z] [2023-08-31T06:19:24.532Z] Login Succeeded [2023-08-31T06:19:24.532Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T06:19:24.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T06:19:24.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T06:19:24.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T06:19:24.827Z] ========================================================= [2023-08-31T06:19:24.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T06:19:24.827Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:19:25.175Z] + 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-31T06:19:26.135Z] Sending build context to Docker daemon 1.286MB [2023-08-31T06:19:26.135Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T06:19:26.135Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-31T06:19:26.135Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T06:19:26.135Z] edb6bdbacee9: Pulling fs layer [2023-08-31T06:19:26.135Z] 5f9638ab2659: Pulling fs layer [2023-08-31T06:19:26.135Z] 8d51d6327a98: Pulling fs layer [2023-08-31T06:19:26.135Z] 8b374f2dd631: Pulling fs layer [2023-08-31T06:19:26.135Z] ec14aa9079de: Pulling fs layer [2023-08-31T06:19:26.135Z] 2f466654f4bb: Pulling fs layer [2023-08-31T06:19:26.135Z] 554e91adad29: Pulling fs layer [2023-08-31T06:19:26.135Z] ec14aa9079de: Waiting [2023-08-31T06:19:26.135Z] 2f466654f4bb: Waiting [2023-08-31T06:19:26.135Z] 8b374f2dd631: Waiting [2023-08-31T06:19:26.135Z] 554e91adad29: Waiting [2023-08-31T06:19:26.135Z] 5f9638ab2659: Verifying Checksum [2023-08-31T06:19:26.135Z] 5f9638ab2659: Download complete [2023-08-31T06:19:26.135Z] 8b374f2dd631: Verifying Checksum [2023-08-31T06:19:26.135Z] 8b374f2dd631: Download complete [2023-08-31T06:19:26.135Z] ec14aa9079de: Verifying Checksum [2023-08-31T06:19:26.135Z] ec14aa9079de: Download complete [2023-08-31T06:19:26.135Z] edb6bdbacee9: Verifying Checksum [2023-08-31T06:19:26.135Z] edb6bdbacee9: Download complete [2023-08-31T06:19:27.559Z] edb6bdbacee9: Pull complete [2023-08-31T06:19:27.559Z] 554e91adad29: Verifying Checksum [2023-08-31T06:19:27.559Z] 554e91adad29: Download complete [2023-08-31T06:19:27.831Z] 5f9638ab2659: Pull complete [2023-08-31T06:19:28.798Z] 2f466654f4bb: Verifying Checksum [2023-08-31T06:19:28.798Z] 2f466654f4bb: Download complete [2023-08-31T06:19:28.798Z] 8d51d6327a98: Verifying Checksum [2023-08-31T06:19:28.798Z] 8d51d6327a98: Download complete [2023-08-31T06:19:41.149Z] 8d51d6327a98: Pull complete [2023-08-31T06:19:41.149Z] 8b374f2dd631: Pull complete [2023-08-31T06:19:41.149Z] ec14aa9079de: Pull complete [2023-08-31T06:19:47.835Z] 2f466654f4bb: Pull complete [2023-08-31T06:19:50.458Z] 554e91adad29: Pull complete [2023-08-31T06:19:50.458Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T06:19:50.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T06:19:50.458Z] ---> 1e15ea492957 [2023-08-31T06:19:50.458Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-31T06:19:52.417Z] ---> Running in d6292dfa71c2 [2023-08-31T06:19:52.417Z] Removing intermediate container d6292dfa71c2 [2023-08-31T06:19:52.417Z] ---> 1c11aa9ab2f7 [2023-08-31T06:19:52.417Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T06:19:52.417Z] ---> Running in 4d993f4ac451 [2023-08-31T06:19:53.009Z] Removing intermediate container 4d993f4ac451 [2023-08-31T06:19:53.009Z] ---> e6e294c7903b [2023-08-31T06:19:53.009Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-31T06:19:53.009Z] ---> Running in f92e89182d88 [2023-08-31T06:19:53.280Z] Removing intermediate container f92e89182d88 [2023-08-31T06:19:53.280Z] ---> 07d99b10ee93 [2023-08-31T06:19:53.280Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-31T06:19:53.280Z] ---> Running in 3fef0d3bbb57 [2023-08-31T06:19:53.549Z] Removing intermediate container 3fef0d3bbb57 [2023-08-31T06:19:53.549Z] ---> b9da8cae55da [2023-08-31T06:19:53.549Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T06:19:53.818Z] ---> Running in f384c2ccdd68 [2023-08-31T06:19:54.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T06:19:55.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T06:19:56.781Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-31T06:19:56.781Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-31T06:19:56.781Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-31T06:19:56.781Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-31T06:19:56.781Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-31T06:19:56.781Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-31T06:19:56.781Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-31T06:19:56.781Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-31T06:19:56.781Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-31T06:19:56.781Z] (10/14) Installing kmod-libs (30-r1) [2023-08-31T06:19:56.781Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-31T06:19:56.781Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-31T06:19:56.781Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-31T06:19:56.781Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-31T06:19:56.781Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T06:19:56.781Z] Executing eudev-3.2.11-r4.trigger [2023-08-31T06:19:56.781Z] OK: 271 MiB in 67 packages [2023-08-31T06:19:58.197Z] Removing intermediate container f384c2ccdd68 [2023-08-31T06:19:58.197Z] ---> 0bfca6c1915d [2023-08-31T06:19:58.197Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-31T06:19:58.197Z] ---> Running in 9c65c0659201 [2023-08-31T06:19:58.463Z] Removing intermediate container 9c65c0659201 [2023-08-31T06:19:58.463Z] ---> 1aee13231457 [2023-08-31T06:19:58.463Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-31T06:19:59.078Z] ---> a1f3fc8887ca [2023-08-31T06:19:59.078Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T06:19:59.078Z] ---> Running in a9258871fddf [2023-08-31T06:21:06.986Z] Removing intermediate container a9258871fddf [2023-08-31T06:21:06.986Z] ---> cd0868a4ff8b [2023-08-31T06:21:06.986Z] Step 11/13 : COPY . . [2023-08-31T06:21:06.986Z] ---> aea08b2f9ed9 [2023-08-31T06:21:06.986Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-31T06:21:06.986Z] ---> Running in 785e8e701c1b [2023-08-31T06:21:06.986Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-08-31T06:21:06.986Z]  Dload Upload Total Spent Left Speed [2023-08-31T06:21:06.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4414 0 --:--:-- --:--:-- --:--:-- 4427 [2023-08-31T06:21:06.986Z] Removing intermediate container 785e8e701c1b [2023-08-31T06:21:06.986Z] ---> 7c4db7e99579 [2023-08-31T06:21:06.986Z] Step 13/13 : RUN ${MAKE} [2023-08-31T06:21:06.986Z] ---> Running in 74e09576b292 [2023-08-31T06:21:06.986Z] noop [2023-08-31T06:21:06.986Z] Removing intermediate container 74e09576b292 [2023-08-31T06:21:06.986Z] ---> 32be58d20166 [2023-08-31T06:21:07.254Z] Successfully built 32be58d20166 [2023-08-31T06:21:07.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:21:07.605Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T06:21:07.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:21:07.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-4989 does not seem to be running inside a container [2023-08-31T06:21:07.915Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-31T06:21:09.146Z] $ docker top 901ed48a44bcc942903707af910fd97f0ebea73b8bcaf132ac26f2948947e244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T06:21:09.995Z] + go version [2023-08-31T06:21:09.995Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T06:21:10.013Z] $ docker stop --time=1 901ed48a44bcc942903707af910fd97f0ebea73b8bcaf132ac26f2948947e244 [2023-08-31T06:21:11.697Z] $ docker rm -f --volumes 901ed48a44bcc942903707af910fd97f0ebea73b8bcaf132ac26f2948947e244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:21:12.256Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T06:21:12.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:21:12.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-4989 does not seem to be running inside a container [2023-08-31T06:21:12.521Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-31T06:21:13.732Z] $ docker top adcc339b4c0e24b1323f6b3b90206a5f8eead12f3522bc12529074e929f41447 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T06:21:14.589Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-08-31T06:21:15.256Z] + make test [2023-08-31T06:21:15.256Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T06:21:54.143Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-31T06:24:15.857Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-31T06:24:24.067Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.092s coverage: 4.4% of statements [2023-08-31T06:24:24.067Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T06:24:24.067Z] go vet ./... [2023-08-31T06:24:56.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T06:24:56.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T06:24:56.337Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T06:24:56.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T06:24:56.372Z] $ docker stop --time=1 adcc339b4c0e24b1323f6b3b90206a5f8eead12f3522bc12529074e929f41447 [2023-08-31T06:24:58.301Z] $ docker rm -f --volumes adcc339b4c0e24b1323f6b3b90206a5f8eead12f3522bc12529074e929f41447 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T06:24:59.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T06:24:59.556Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T06:25:00.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T06:25:00.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T06:25:00.827Z] + ls -al . [2023-08-31T06:25:00.827Z] total 216 [2023-08-31T06:25:00.827Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 06:21 . [2023-08-31T06:25:00.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 06:18 .. [2023-08-31T06:25:00.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 06:18 .git [2023-08-31T06:25:00.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:18 .github [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 31 06:18 .gitignore [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 31 06:18 .golangci.yml [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 31 06:18 .hadolint.yml [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 31 06:18 Attribution.txt [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 31 06:18 CHANGELOG.md [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 31 06:18 Dockerfile [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 06:18 GOVERNANCE.md [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 31 06:18 Jenkinsfile [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 06:18 LICENSE [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 2611 Aug 31 06:18 Makefile [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 06:18 OWNERS.md [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 31 06:18 README.md [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 06:16 VERSION [2023-08-31T06:25:00.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 06:18 bin [2023-08-31T06:25:00.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:18 cmd [2023-08-31T06:25:00.827Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 31 06:24 coverage.out [2023-08-31T06:25:00.827Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 31 06:18 docker-entrypoint.sh [2023-08-31T06:25:00.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 06:18 docs [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 31 06:18 go.mod [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 31 06:18 go.sum [2023-08-31T06:25:00.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 06:18 internal [2023-08-31T06:25:00.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 06:18 snap [2023-08-31T06:25:00.827Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 31 06:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:25:01.256Z] + 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=a7a8586acfa3dd645d02d6fc7d088d65694ebacf --label arch=arm64 --label version=0.0.0 . [2023-08-31T06:25:01.859Z] Sending build context to Docker daemon 1.341MB [2023-08-31T06:25:01.859Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T06:25:01.859Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-31T06:25:01.859Z] ---> 32be58d20166 [2023-08-31T06:25:01.859Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-31T06:25:03.833Z] ---> Running in 05f40b86fba1 [2023-08-31T06:25:04.108Z] Removing intermediate container 05f40b86fba1 [2023-08-31T06:25:04.108Z] ---> d204a84948eb [2023-08-31T06:25:04.108Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T06:25:04.404Z] ---> Running in f28ab7844932 [2023-08-31T06:25:04.676Z] Removing intermediate container f28ab7844932 [2023-08-31T06:25:04.676Z] ---> edc8c2c7a87d [2023-08-31T06:25:04.676Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-31T06:25:04.676Z] ---> Running in d867d8cb6fd0 [2023-08-31T06:25:04.946Z] Removing intermediate container d867d8cb6fd0 [2023-08-31T06:25:04.946Z] ---> a9a50875cacd [2023-08-31T06:25:04.946Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-31T06:25:05.217Z] ---> Running in 410b1d131600 [2023-08-31T06:25:05.490Z] Removing intermediate container 410b1d131600 [2023-08-31T06:25:05.490Z] ---> fe62afabd04d [2023-08-31T06:25:05.490Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T06:25:05.490Z] ---> Running in 808184eb055c [2023-08-31T06:25:06.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T06:25:07.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T06:25:08.461Z] OK: 271 MiB in 67 packages [2023-08-31T06:25:09.432Z] Removing intermediate container 808184eb055c [2023-08-31T06:25:09.432Z] ---> f8c1251adb51 [2023-08-31T06:25:09.432Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-31T06:25:09.432Z] ---> Running in 9c1e0f8a8d18 [2023-08-31T06:25:09.701Z] Removing intermediate container 9c1e0f8a8d18 [2023-08-31T06:25:09.701Z] ---> b1f35cbe48ce [2023-08-31T06:25:09.701Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-31T06:25:10.290Z] ---> 361c9a1bff87 [2023-08-31T06:25:10.290Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T06:25:10.290Z] ---> Running in b5bcf1dac5c9 [2023-08-31T06:25:12.893Z] Removing intermediate container b5bcf1dac5c9 [2023-08-31T06:25:12.893Z] ---> e62773152e8b [2023-08-31T06:25:12.893Z] Step 11/36 : COPY . . [2023-08-31T06:25:13.857Z] ---> 6e34e39f5972 [2023-08-31T06:25:13.857Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-31T06:25:13.857Z] ---> Running in ff149c815647 [2023-08-31T06:25:14.823Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T06:25:14.823Z]  Dload Upload Total Spent Left Speed [2023-08-31T06:25:15.093Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4363  0 --:--:-- --:--:-- --:--:-- 4365 [2023-08-31T06:25:18.452Z] Removing intermediate container ff149c815647 [2023-08-31T06:25:18.452Z] ---> a26525cbd4ba [2023-08-31T06:25:18.452Z] Step 13/36 : RUN ${MAKE} [2023-08-31T06:25:18.452Z] ---> Running in b9da75e96a97 [2023-08-31T06:25:19.414Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-31T06:28:11.143Z] Removing intermediate container b9da75e96a97 [2023-08-31T06:28:11.143Z] ---> d386d54d44e4 [2023-08-31T06:28:11.143Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-31T06:28:11.143Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-31T06:28:11.143Z] 8766b47fe142: Pulling fs layer [2023-08-31T06:28:11.143Z] 8766b47fe142: Verifying Checksum [2023-08-31T06:28:11.143Z] 8766b47fe142: Download complete [2023-08-31T06:28:11.143Z] 8766b47fe142: Pull complete [2023-08-31T06:28:11.143Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-31T06:28:11.143Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-31T06:28:11.143Z] ---> 69d40e2cb93c [2023-08-31T06:28:11.143Z] Step 15/36 : FROM alpine:3.17 [2023-08-31T06:28:11.143Z] 3.17: Pulling from library/alpine [2023-08-31T06:28:11.143Z] 4060ece20d7a: Pulling fs layer [2023-08-31T06:28:11.143Z] 4060ece20d7a: Verifying Checksum [2023-08-31T06:28:11.143Z] 4060ece20d7a: Download complete [2023-08-31T06:28:11.143Z] 4060ece20d7a: Pull complete [2023-08-31T06:28:11.143Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T06:28:11.143Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T06:28:11.143Z] ---> 8650cd65339b [2023-08-31T06:28:11.143Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-31T06:28:11.143Z] ---> Running in b07f3a966475 [2023-08-31T06:28:11.143Z] Removing intermediate container b07f3a966475 [2023-08-31T06:28:11.143Z] ---> 75e676e420cc [2023-08-31T06:28:11.143Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-31T06:28:11.143Z] ---> Running in 1468ae7749a1 [2023-08-31T06:28:11.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T06:28:11.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T06:28:11.143Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-31T06:28:11.143Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-31T06:28:11.143Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-31T06:28:11.143Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-31T06:28:11.143Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-31T06:28:11.143Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-31T06:28:11.143Z] (7/83) Installing libxcb (1.15-r0) [2023-08-31T06:28:11.143Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-31T06:28:11.143Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-31T06:28:11.143Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-31T06:28:11.143Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-31T06:28:11.143Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-31T06:28:11.143Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-31T06:28:11.143Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-31T06:28:11.143Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-31T06:28:11.143Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-31T06:28:11.143Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-31T06:28:11.143Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-31T06:28:11.143Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-31T06:28:11.143Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-31T06:28:11.143Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-31T06:28:11.143Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-31T06:28:11.143Z] (23/83) Installing glib (2.74.7-r0) [2023-08-31T06:28:11.143Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-31T06:28:11.143Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-31T06:28:11.143Z] (26/83) Installing libass (0.16.0-r1) [2023-08-31T06:28:11.143Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-31T06:28:11.143Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-31T06:28:11.143Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-31T06:28:11.143Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-31T06:28:11.143Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-31T06:28:11.143Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-31T06:28:11.143Z] (33/83) Installing libunistring (1.1-r0) [2023-08-31T06:28:11.143Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-31T06:28:11.143Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-31T06:28:11.143Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-31T06:28:11.143Z] (37/83) Installing lame (3.100-r2) [2023-08-31T06:28:11.143Z] (38/83) Installing opus (1.3.1-r1) [2023-08-31T06:28:11.143Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-31T06:28:11.143Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-31T06:28:11.143Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-31T06:28:11.143Z] (42/83) Installing orc (0.4.33-r0) [2023-08-31T06:28:11.143Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-31T06:28:11.143Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-31T06:28:11.143Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-31T06:28:11.143Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-31T06:28:11.143Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-31T06:28:11.143Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-31T06:28:11.143Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-31T06:28:11.143Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-31T06:28:11.143Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-31T06:28:11.143Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-31T06:28:11.143Z] (53/83) Installing libpulse (16.1-r6) [2023-08-31T06:28:11.143Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-31T06:28:11.143Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-31T06:28:11.143Z] (56/83) Installing librist (0.2.7-r0) [2023-08-31T06:28:11.143Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-31T06:28:11.143Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-31T06:28:11.143Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-31T06:28:11.143Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-31T06:28:11.143Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-31T06:28:11.143Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-31T06:28:11.143Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-31T06:28:11.143Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-31T06:28:11.143Z] (65/83) Installing libva (2.16.0-r0) [2023-08-31T06:28:11.143Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-31T06:28:11.410Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-31T06:28:11.410Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-31T06:28:11.410Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-31T06:28:11.410Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-31T06:28:11.410Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-31T06:28:11.410Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-31T06:28:11.677Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-31T06:28:11.677Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-31T06:28:11.677Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-31T06:28:11.677Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-31T06:28:11.944Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-31T06:28:12.214Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-31T06:28:12.214Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-31T06:28:12.214Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-31T06:28:12.214Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-31T06:28:12.214Z] (82/83) Installing kmod-libs (30-r1) [2023-08-31T06:28:12.214Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-31T06:28:12.214Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T06:28:12.214Z] Executing eudev-3.2.11-r4.trigger [2023-08-31T06:28:12.214Z] OK: 86 MiB in 98 packages [2023-08-31T06:28:16.478Z] Removing intermediate container 1468ae7749a1 [2023-08-31T06:28:16.478Z] ---> ade039a14c2f [2023-08-31T06:28:16.478Z] Step 18/36 : WORKDIR / [2023-08-31T06:28:16.478Z] ---> Running in da60e569fd37 [2023-08-31T06:28:16.478Z] Removing intermediate container da60e569fd37 [2023-08-31T06:28:16.478Z] ---> 985388aae147 [2023-08-31T06:28:16.478Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-31T06:28:17.890Z] ---> 2745421054f0 [2023-08-31T06:28:17.890Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-31T06:28:18.156Z] ---> 67415469889f [2023-08-31T06:28:18.156Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-31T06:28:18.742Z] ---> 5474662c6d6d [2023-08-31T06:28:18.742Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-31T06:28:19.327Z] ---> 0dd08fd4018b [2023-08-31T06:28:19.327Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-31T06:28:19.918Z] ---> 02da0c524187 [2023-08-31T06:28:19.918Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-31T06:28:20.186Z] ---> b242e368a200 [2023-08-31T06:28:20.186Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-31T06:28:21.597Z] ---> 86fa32b09121 [2023-08-31T06:28:21.597Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-31T06:28:21.597Z] ---> Running in 171a2137716d [2023-08-31T06:28:23.539Z] Removing intermediate container 171a2137716d [2023-08-31T06:28:23.539Z] ---> e79f4d9e01d3 [2023-08-31T06:28:23.539Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-31T06:28:23.539Z] ---> Running in 3664dbe946e4 [2023-08-31T06:28:24.949Z] Removing intermediate container 3664dbe946e4 [2023-08-31T06:28:24.949Z] ---> b07733fd10ba [2023-08-31T06:28:24.949Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-31T06:28:24.949Z] ---> Running in 49dc4e3f62c5 [2023-08-31T06:28:26.900Z] Removing intermediate container 49dc4e3f62c5 [2023-08-31T06:28:26.900Z] ---> fb08b49f295b [2023-08-31T06:28:26.900Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-31T06:28:26.900Z] ---> Running in 167b59de6ed4 [2023-08-31T06:28:28.309Z] Removing intermediate container 167b59de6ed4 [2023-08-31T06:28:28.309Z] ---> b406c8ac7d51 [2023-08-31T06:28:28.309Z] Step 30/36 : EXPOSE 59983 [2023-08-31T06:28:28.309Z] ---> Running in 98bc35f5e92e [2023-08-31T06:28:28.577Z] Removing intermediate container 98bc35f5e92e [2023-08-31T06:28:28.577Z] ---> 0dbdff5a066c [2023-08-31T06:28:28.577Z] Step 31/36 : EXPOSE 8554 [2023-08-31T06:28:28.577Z] ---> Running in 25b44d60ecaa [2023-08-31T06:28:28.844Z] Removing intermediate container 25b44d60ecaa [2023-08-31T06:28:28.844Z] ---> 5df4e3727464 [2023-08-31T06:28:28.844Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-31T06:28:29.114Z] ---> Running in 74e6d00eccff [2023-08-31T06:28:29.384Z] Removing intermediate container 74e6d00eccff [2023-08-31T06:28:29.384Z] ---> 2a67901a5ffe [2023-08-31T06:28:29.384Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-31T06:28:29.384Z] ---> Running in a69f69472699 [2023-08-31T06:28:29.652Z] Removing intermediate container a69f69472699 [2023-08-31T06:28:29.652Z] ---> 4819f3ced964 [2023-08-31T06:28:29.652Z] Step 34/36 : LABEL arch=arm64 [2023-08-31T06:28:29.652Z] ---> Running in 7f8cb332ad1c [2023-08-31T06:28:29.918Z] Removing intermediate container 7f8cb332ad1c [2023-08-31T06:28:29.918Z] ---> f4e7f1aafdea [2023-08-31T06:28:29.918Z] Step 35/36 : LABEL git_sha=a7a8586acfa3dd645d02d6fc7d088d65694ebacf [2023-08-31T06:28:29.918Z] ---> Running in 52a76467312a [2023-08-31T06:28:30.185Z] Removing intermediate container 52a76467312a [2023-08-31T06:28:30.185Z] ---> 15572d113816 [2023-08-31T06:28:30.185Z] Step 36/36 : LABEL version=0.0.0 [2023-08-31T06:28:30.452Z] ---> Running in 79a9d1eff32d [2023-08-31T06:28:30.717Z] Removing intermediate container 79a9d1eff32d [2023-08-31T06:28:30.717Z] ---> 3cb672c6b427 [2023-08-31T06:28:30.717Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T06:28:30.717Z] Successfully built 3cb672c6b427 [2023-08-31T06:28:30.717Z] 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-31T06:28:31.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T06:28:31.170Z] [2023-08-31T06:28:31.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:28:31.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T06:28:31.507Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T06:28:31.507Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T06:28:31.507Z] 04944245beec: Pulling fs layer [2023-08-31T06:28:31.507Z] 699f458cf7ca: Pulling fs layer [2023-08-31T06:28:31.507Z] 765212b225bb: Pulling fs layer [2023-08-31T06:28:31.507Z] f23df028b6ca: Pulling fs layer [2023-08-31T06:28:31.507Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T06:28:31.507Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T06:28:31.507Z] 765212b225bb: Waiting [2023-08-31T06:28:31.507Z] f23df028b6ca: Waiting [2023-08-31T06:28:31.507Z] d65c8cfc05b1: Waiting [2023-08-31T06:28:31.507Z] 2437ff75d9bd: Waiting [2023-08-31T06:28:31.777Z] 04944245beec: Verifying Checksum [2023-08-31T06:28:31.777Z] 04944245beec: Download complete [2023-08-31T06:28:31.777Z] 765212b225bb: Verifying Checksum [2023-08-31T06:28:31.777Z] 765212b225bb: Download complete [2023-08-31T06:28:31.777Z] f23df028b6ca: Download complete [2023-08-31T06:28:31.777Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T06:28:31.777Z] d65c8cfc05b1: Download complete [2023-08-31T06:28:31.777Z] 699f458cf7ca: Verifying Checksum [2023-08-31T06:28:31.777Z] 699f458cf7ca: Download complete [2023-08-31T06:28:32.364Z] 8998bd30e6a1: Verifying Checksum [2023-08-31T06:28:32.364Z] 8998bd30e6a1: Download complete [2023-08-31T06:28:34.945Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T06:28:34.945Z] 2437ff75d9bd: Download complete [2023-08-31T06:28:36.350Z] 8998bd30e6a1: Pull complete [2023-08-31T06:28:36.934Z] 04944245beec: Pull complete [2023-08-31T06:28:38.340Z] 699f458cf7ca: Pull complete [2023-08-31T06:28:38.340Z] 765212b225bb: Pull complete [2023-08-31T06:28:39.302Z] f23df028b6ca: Pull complete [2023-08-31T06:28:39.302Z] d65c8cfc05b1: Pull complete [2023-08-31T06:28:57.502Z] 2437ff75d9bd: Pull complete [2023-08-31T06:28:57.502Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T06:28:57.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T06:28:57.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:28:57.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-4989 does not seem to be running inside a container [2023-08-31T06:28:57.744Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-31T06:29:00.344Z] $ docker top 2cf420836e9aeaebc43a093cb9df7107e2f84ebbd7505fe6757b386a76c93b7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:01.183Z] ---> job-cost.sh [2023-08-31T06:29:01.183Z] lf-activate-venv: SKIPPING [2023-08-31T06:29:01.183Z] INFO: No Stack... [2023-08-31T06:29:01.762Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T06:29:02.344Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T06:29:02.662Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv+ [2023-08-31T06:29:02.662Z] cut -d, -f6 [Pipeline] lock [2023-08-31T06:29:02.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [2023-08-31T06:29:02.729Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] did not exist. Created. [2023-08-31T06:29:02.729Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T06:29:03.058Z] /w/workspace/device-usb-camera/3@tmp/durable-2ca7e7b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T06:29:03.651Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T06:29:03.672Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T06:29:03.724Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T06:29:03.734Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-271-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T06:29:03.750Z] $ docker stop --time=1 2cf420836e9aeaebc43a093cb9df7107e2f84ebbd7505fe6757b386a76c93b7c [2023-08-31T06:29:05.221Z] $ docker rm -f --volumes 2cf420836e9aeaebc43a093cb9df7107e2f84ebbd7505fe6757b386a76c93b7c [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-31T06:29:05.560Z] provisioning config files... [2023-08-31T06:29:05.567Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config13611087083862108733tmp [Pipeline] { [Pipeline] sh [2023-08-31T06:29:05.856Z] + set +x [2023-08-31T06:29:05.856Z] + curl -s https://codecov.io/bash [2023-08-31T06:29:05.856Z] + bash -s -- [2023-08-31T06:29:05.856Z] [2023-08-31T06:29:05.856Z] _____ _ [2023-08-31T06:29:05.856Z] / ____| | | [2023-08-31T06:29:05.856Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T06:29:05.856Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T06:29:05.856Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T06:29:05.856Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T06:29:05.856Z] Bash-1.0.6 [2023-08-31T06:29:05.856Z] [2023-08-31T06:29:05.856Z] [2023-08-31T06:29:05.856Z] ==> git version 2.25.1 found [2023-08-31T06:29:05.856Z] ==> 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-31T06:29:05.856Z] Release-Date: 2020-01-08 [2023-08-31T06:29:05.856Z] 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-31T06:29:05.856Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T06:29:05.856Z] ==> Jenkins CI detected. [2023-08-31T06:29:05.856Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-271 [2023-08-31T06:29:05.856Z] project root: . [2023-08-31T06:29:05.856Z] --> token set from env [2023-08-31T06:29:05.856Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T06:29:05.856Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T06:29:05.856Z] ==> Python coveragepy not found [2023-08-31T06:29:05.856Z] ==> Searching for coverage reports in: [2023-08-31T06:29:05.856Z] + . [2023-08-31T06:29:05.856Z] -> Found 1 reports [2023-08-31T06:29:05.856Z] ==> Detecting git/mercurial file structure [2023-08-31T06:29:05.856Z] ==> Reading reports [2023-08-31T06:29:05.856Z] + ./coverage.out bytes=53939 [2023-08-31T06:29:05.856Z] ==> Appending adjustments [2023-08-31T06:29:05.856Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T06:29:06.115Z] + Found adjustments [2023-08-31T06:29:06.115Z] ==> Gzipping contents [2023-08-31T06:29:06.115Z] 8.0K /tmp/codecov.k5kAaL.gz [2023-08-31T06:29:06.115Z] ==> Uploading reports [2023-08-31T06:29:06.115Z] url: https://codecov.io [2023-08-31T06:29:06.115Z] query: branch=PR-271&commit=608a6cceabd4da3c10bcbc649c3d819e119538a5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-271%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-08-31T06:29:06.115Z] -> Pinging Codecov [2023-08-31T06:29:06.115Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-271&commit=608a6cceabd4da3c10bcbc649c3d819e119538a5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-271%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-08-31T06:29:06.115Z] -> Uploading to [2023-08-31T06:29:06.115Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/73D8F5FF140700D3E01443B452E23636/608a6cceabd4da3c10bcbc649c3d819e119538a5/6beacfc4-aa56-4f3c-81ea-f7335655c21d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T062906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f72c8d4d4ac2a829be9abf842ffdb3124d8609619f6448677d1f93ac36fa508 [2023-08-31T06:29:06.115Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T06:29:06.115Z] Dload Upload Total Spent Left Speed [2023-08-31T06:29:06.375Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6908 0 0 100 6908 0 38592 --:--:-- --:--:-- --:--:-- 38592 [2023-08-31T06:29:06.375Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/608a6cceabd4da3c10bcbc649c3d819e119538a5 [Pipeline] } [2023-08-31T06:29:06.382Z] 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-31T06:29:07.130Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-271/archives ] [2023-08-31T06:29:07.130Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-31T06:29:07.130Z] total 16 [2023-08-31T06:29:07.130Z] drwxr-xr-x 3 root root 4096 Aug 31 06:18 . [2023-08-31T06:29:07.130Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 06:18 .. [2023-08-31T06:29:07.130Z] drwxr-xr-x 2 root root 4096 Aug 31 06:18 cost [2023-08-31T06:29:07.130Z] -rw-r--r-- 1 root root 89 Aug 31 06:18 cost.csv [2023-08-31T06:29:07.130Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-31T06:29:07.130Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-31T06:29:07.130Z] total 16 [2023-08-31T06:29:07.130Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 06:18 . [2023-08-31T06:29:07.130Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 06:18 .. [2023-08-31T06:29:07.130Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 06:18 cost [2023-08-31T06:29:07.130Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 31 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:07.418Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:08.276Z] ---> package-listing.sh [2023-08-31T06:29:08.276Z] ++ facter osfamily [2023-08-31T06:29:08.276Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T06:29:08.534Z] + OS_FAMILY=debian [2023-08-31T06:29:08.534Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-271 [2023-08-31T06:29:08.534Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T06:29:08.534Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T06:29:08.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T06:29:08.534Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T06:29:08.534Z] + '[' /w/workspace/foundry_device-usb-camera_PR-271 ']' [2023-08-31T06:29:08.534Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T06:29:08.534Z] + case "${OS_FAMILY}" in [2023-08-31T06:29:08.534Z] + dpkg -l [2023-08-31T06:29:08.534Z] + grep '^ii' [2023-08-31T06:29:08.534Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T06:29:08.534Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T06:29:08.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T06:29:08.534Z] + '[' /w/workspace/foundry_device-usb-camera_PR-271 ']' [2023-08-31T06:29:08.534Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-271/archives/ [2023-08-31T06:29:08.534Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-271/archives/ [Pipeline] echo [2023-08-31T06:29:08.545Z] 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-31T06:29:08.818Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T06:29:09.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T06:29:09.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T06:29:09.434Z] prd-ubuntu20.04-docker-8c-8g-4986 does not seem to be running inside a container [2023-08-31T06:29:09.442Z] $ 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-271/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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T06:29:09.619Z] $ docker top 9b59b4f7915ffcb98a77068ec88958ee7f4fb5b4f70bd0e7f8b2242df6b44b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T06:29:09.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T06:29:10.254Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T06:29:10.539Z] + ls /var/log/sa-host [2023-08-31T06:29:10.539Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T06:29:10.607Z] provisioning config files... [2023-08-31T06:29:10.614Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config8068789199186172814tmp [Pipeline] { [Pipeline] echo [2023-08-31T06:29:10.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:10.906Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T06:29:10.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:11.233Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T06:29:11.241Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:11.539Z] ---> sudo-logs.sh [2023-08-31T06:29:11.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T06:29:11.561Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:11.841Z] ---> job-cost.sh [2023-08-31T06:29:11.841Z] lf-activate-venv: SKIPPING [2023-08-31T06:29:11.841Z] DEBUG: total: 0.2199999988079071 [2023-08-31T06:29:11.841Z] INFO: Retrieving Stack Cost... [2023-08-31T06:29:12.407Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T06:29:12.665Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T06:29:12.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T06:29:12.953Z] ---> logs-deploy.sh [2023-08-31T06:29:12.953Z] lf-activate-venv: SKIPPING [2023-08-31T06:29:12.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-271/3 [2023-08-31T06:29:12.953Z] INFO: archiving workspace using pattern(s): [2023-08-31T06:29:13.890Z] Archives upload complete. [2023-08-31T06:29:13.890Z] INFO: archiving logs to Nexus