Pull request #270 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 rather than b60faa6e3ebebee523193c9fd2529fb72fa3f4ef Obtained Jenkinsfile from 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 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-ssh6377898535584456288.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-ssh5793202028158860092.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh558445347377629753.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-ssh12105250026335301816.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13862414752606010391.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4596’ Running on prd-ubuntu20.04-docker-8c-8g-4599 in /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-270 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit b60faa6e3ebebee523193c9fd2529fb72fa3f4ef > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing d50a08cd35ef33f35101904a56e129cbc2c80d52 Checking out Revision d50a08cd35ef33f35101904a56e129cbc2c80d52 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f b60faa6e3ebebee523193c9fd2529fb72fa3f4ef # 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 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d50a08cd35ef33f35101904a56e129cbc2c80d52 # timeout=10 Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T22:57:31.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 56865958aba4700b96cee03fd5b9b89a487d6fc4 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T22:57:31.604Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T22:57:31.619Z] ========================================================= [2023-08-25T22:57:31.620Z] EdgeX Global Pipelines Version Info [2023-08-25T22:57:31.620Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T22:57:32.704Z] ------------------- [2023-08-25T22:57:32.704Z] stable info: [2023-08-25T22:57:32.704Z] ------------------- [2023-08-25T22:57:32.704Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T22:57:32.704Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T22:57:32.704Z] Message: update stable to v1.0.253 [2023-08-25T22:57:32.966Z] ------------------- [2023-08-25T22:57:32.966Z] experimental info: [2023-08-25T22:57:32.966Z] ------------------- [2023-08-25T22:57:32.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T22:57:32.966Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T22:57:32.966Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T22:57:33.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-25T22:57:33.144Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-25T22:57:33.154Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T22:57:33.163Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T22:57:33.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T22:57:33.181Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T22:57:33.190Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T22:57:33.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T22:57:33.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T22:57:33.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T22:57:33.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T22:57:33.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-25T22:57:33.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T22:57:33.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T22:57:33.325Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T22:57:33.347Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T22:57:33.363Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T22:57:33.381Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T22:57:33.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T22:57:33.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T22:57:33.426Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T22:57:33.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T22:57:33.458Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T22:57:33.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T22:57:33.483Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T22:57:33.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T22:57:33.519Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T22:57:33.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo [2023-08-25T22:57:33.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo [2023-08-25T22:57:33.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo [2023-08-25T22:57:33.585Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo [2023-08-25T22:57:33.604Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d50a08c [Pipeline] echo [2023-08-25T22:57:33.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T22:57:33.672Z] provisioning config files... [2023-08-25T22:57:33.688Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config6438742430487407305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T22:57:33.991Z] ---> docker-login.sh [2023-08-25T22:57:33.991Z] nexus3.edgexfoundry.org:10001 [2023-08-25T22:57:34.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:57:35.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:57:35.195Z] Configure a credential helper to remove this warning. See [2023-08-25T22:57:35.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:57:35.195Z] [2023-08-25T22:57:35.195Z] Login Succeeded [2023-08-25T22:57:35.195Z] nexus3.edgexfoundry.org:10002 [2023-08-25T22:57:35.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:57:35.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:57:35.196Z] Configure a credential helper to remove this warning. See [2023-08-25T22:57:35.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:57:35.196Z] [2023-08-25T22:57:35.196Z] Login Succeeded [2023-08-25T22:57:35.196Z] nexus3.edgexfoundry.org:10003 [2023-08-25T22:57:35.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:57:35.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:57:35.456Z] Configure a credential helper to remove this warning. See [2023-08-25T22:57:35.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:57:35.456Z] [2023-08-25T22:57:35.456Z] Login Succeeded [2023-08-25T22:57:35.456Z] nexus3.edgexfoundry.org:10004 [2023-08-25T22:57:35.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:57:35.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:57:35.456Z] Configure a credential helper to remove this warning. See [2023-08-25T22:57:35.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:57:35.456Z] [2023-08-25T22:57:35.456Z] Login Succeeded [2023-08-25T22:57:35.456Z] docker.io [2023-08-25T22:57:35.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:57:35.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:57:35.716Z] Configure a credential helper to remove this warning. See [2023-08-25T22:57:35.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:57:35.716Z] [2023-08-25T22:57:35.716Z] Login Succeeded [2023-08-25T22:57:35.716Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T22:57:35.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T22:57:36.076Z] + git rev-list -1 --merges d50a08cd35ef33f35101904a56e129cbc2c80d52~1..d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo [2023-08-25T22:57:36.125Z] -----------> git rev-list -1 --merges d50a08cd35ef33f35101904a56e129cbc2c80d52~1..d50a08cd35ef33f35101904a56e129cbc2c80d52 d50a08cd35ef33f35101904a56e129cbc2c80d52 [2023-08-25T22:57:36.125Z] d50a08cd35ef33f35101904a56e129cbc2c80d52 [false] [Pipeline] sh [2023-08-25T22:57:36.410Z] + git log --format=format:%s -1 d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo [2023-08-25T22:57:36.425Z] ========================================================= [2023-08-25T22:57:36.425Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T22:57:36.425Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T22:57:36.754Z] + git log --format=format:%s -1 d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo [2023-08-25T22:57:36.766Z] [semverPrep] GIT_COMMIT: d50a08cd35ef33f35101904a56e129cbc2c80d52, Commit Message: Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD [Pipeline] echo [2023-08-25T22:57:36.776Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T22:57:37.135Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T22:57:37.135Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T22:57:37.135Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T22:57:37.135Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T22:57:37.135Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T22:57:37.135Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T22:57:37.135Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T22:57:37.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T22:57:37.484Z] [2023-08-25T22:57:37.484Z] 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-25T22:57:37.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T22:57:38.045Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T22:57:38.045Z] b85a868b505f: Pulling fs layer [2023-08-25T22:57:38.045Z] e2be974225ed: Pulling fs layer [2023-08-25T22:57:38.045Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T22:57:38.045Z] 988bab9f4d93: Pulling fs layer [2023-08-25T22:57:38.045Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T22:57:38.045Z] eaf3925da568: Pulling fs layer [2023-08-25T22:57:38.045Z] bab4dde63d76: Pulling fs layer [2023-08-25T22:57:38.045Z] bde34c3a00c8: Pulling fs layer [2023-08-25T22:57:38.045Z] b352a97aabf1: Pulling fs layer [2023-08-25T22:57:38.045Z] 4872d77fe225: Pulling fs layer [2023-08-25T22:57:38.045Z] 5851b861e8e6: Pulling fs layer [2023-08-25T22:57:38.045Z] bab4dde63d76: Waiting [2023-08-25T22:57:38.045Z] bde34c3a00c8: Waiting [2023-08-25T22:57:38.045Z] 988bab9f4d93: Waiting [2023-08-25T22:57:38.045Z] b352a97aabf1: Waiting [2023-08-25T22:57:38.045Z] 1469e6f7b9e6: Waiting [2023-08-25T22:57:38.045Z] 4872d77fe225: Waiting [2023-08-25T22:57:38.045Z] 5851b861e8e6: Waiting [2023-08-25T22:57:38.045Z] eaf3925da568: Waiting [2023-08-25T22:57:38.045Z] e2be974225ed: Download complete [2023-08-25T22:57:38.045Z] 988bab9f4d93: Verifying Checksum [2023-08-25T22:57:38.045Z] 988bab9f4d93: Download complete [2023-08-25T22:57:38.045Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T22:57:38.045Z] 1469e6f7b9e6: Download complete [2023-08-25T22:57:38.045Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T22:57:38.045Z] 339a4e72a1f5: Download complete [2023-08-25T22:57:38.305Z] eaf3925da568: Verifying Checksum [2023-08-25T22:57:38.305Z] eaf3925da568: Download complete [2023-08-25T22:57:38.305Z] bde34c3a00c8: Download complete [2023-08-25T22:57:38.305Z] b352a97aabf1: Verifying Checksum [2023-08-25T22:57:38.305Z] b352a97aabf1: Download complete [2023-08-25T22:57:38.305Z] 4872d77fe225: Verifying Checksum [2023-08-25T22:57:38.305Z] 4872d77fe225: Download complete [2023-08-25T22:57:38.305Z] 5851b861e8e6: Verifying Checksum [2023-08-25T22:57:38.305Z] 5851b861e8e6: Download complete [2023-08-25T22:57:38.305Z] b85a868b505f: Verifying Checksum [2023-08-25T22:57:38.305Z] b85a868b505f: Download complete [2023-08-25T22:57:38.564Z] bab4dde63d76: Download complete [2023-08-25T22:57:39.945Z] b85a868b505f: Pull complete [2023-08-25T22:57:40.205Z] e2be974225ed: Pull complete [2023-08-25T22:57:40.774Z] 339a4e72a1f5: Pull complete [2023-08-25T22:57:41.342Z] 988bab9f4d93: Pull complete [2023-08-25T22:57:41.604Z] 1469e6f7b9e6: Pull complete [2023-08-25T22:57:41.868Z] eaf3925da568: Pull complete [2023-08-25T22:57:44.403Z] bab4dde63d76: Pull complete [2023-08-25T22:57:44.403Z] bde34c3a00c8: Pull complete [2023-08-25T22:57:44.663Z] b352a97aabf1: Pull complete [2023-08-25T22:57:44.921Z] 4872d77fe225: Pull complete [2023-08-25T22:57:45.489Z] 5851b861e8e6: Pull complete [2023-08-25T22:57:45.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T22:57:45.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T22:57:45.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T22:57:45.607Z] prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container [2023-08-25T22:57:45.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T22:57:54.409Z] $ docker top 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f -eo pid,comm [2023-08-25T22:57:54.471Z] 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-25T22:57:54.471Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T22:57:54.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T22:57:54.506Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T22:57:54.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T22:57:54.626Z] $ docker exec 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent [2023-08-25T22:57:54.735Z] SSH_AUTH_SOCK=/tmp/ssh-CXzuROjGeWS0/agent.15 [2023-08-25T22:57:54.735Z] SSH_AGENT_PID=21 [2023-08-25T22:57:54.765Z] Running ssh-add (command line suppressed) [2023-08-25T22:57:54.869Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4299514191252849399.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4299514191252849399.key) [2023-08-25T22:57:54.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T22:57:55.193Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T22:57:55.225Z] $ docker exec --env ******** --env ******** 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent -k [2023-08-25T22:57:55.323Z] unset SSH_AUTH_SOCK; [2023-08-25T22:57:55.323Z] unset SSH_AGENT_PID; [2023-08-25T22:57:55.323Z] echo Agent pid 21 killed; [2023-08-25T22:57:55.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T22:57:55.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T22:57:55.361Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T22:57:55.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T22:57:55.494Z] $ docker exec 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent [2023-08-25T22:57:55.614Z] SSH_AUTH_SOCK=/tmp/ssh-xSuIWmetsOXJ/agent.54 [2023-08-25T22:57:55.614Z] SSH_AGENT_PID=60 [2023-08-25T22:57:55.625Z] Running ssh-add (command line suppressed) [2023-08-25T22:57:55.736Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_7478484195705342075.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_7478484195705342075.key) [2023-08-25T22:57:55.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T22:57:56.038Z] + git semver init [2023-08-25T22:57:56.297Z] 2023-08-25 22:57:56,243 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T22:57:56.297Z] 2023-08-25 22:57:56,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-270/.semver [2023-08-25T22:57:56.297Z] 2023-08-25 22:57:56,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-270/.semver [2023-08-25T22:57:56.297Z] 2023-08-25 22:57:56,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-270/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-270, universal_newlines=False, shell=None, istream=None) [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,062 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-270/.git/info/exclude [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 with force:False [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,063 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,067 [execute] INFO git cat-file --batch-check [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,074 [execute] INFO git cat-file --batch [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T22:57:57.237Z] 2023-08-25 22:57:57,080 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 [2023-08-25T22:57:57.237Z] 0.0.0 [Pipeline] } [2023-08-25T22:57:57.248Z] $ docker exec --env ******** --env ******** 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent -k [2023-08-25T22:57:57.356Z] unset SSH_AUTH_SOCK; [2023-08-25T22:57:57.357Z] unset SSH_AGENT_PID; [2023-08-25T22:57:57.357Z] echo Agent pid 60 killed; [2023-08-25T22:57:57.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T22:57:57.676Z] + git semver [Pipeline] } [2023-08-25T22:57:57.948Z] $ docker stop --time=1 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f [2023-08-25T22:57:59.817Z] $ docker rm -f --volumes 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T22:58:00.256Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T22:58:00.496Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T22:58:00.499Z] [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-25T22:58:00.636Z] provisioning config files... [2023-08-25T22:58:00.648Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config12145046363603650279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T22:58:00.951Z] ---> docker-login.sh [2023-08-25T22:58:00.951Z] nexus3.edgexfoundry.org:10001 [2023-08-25T22:58:00.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:58:00.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:58:00.951Z] Configure a credential helper to remove this warning. See [2023-08-25T22:58:00.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:58:00.951Z] [2023-08-25T22:58:00.951Z] Login Succeeded [2023-08-25T22:58:00.951Z] nexus3.edgexfoundry.org:10002 [2023-08-25T22:58:00.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:58:00.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:58:00.951Z] Configure a credential helper to remove this warning. See [2023-08-25T22:58:00.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:58:00.951Z] [2023-08-25T22:58:00.951Z] Login Succeeded [2023-08-25T22:58:00.951Z] nexus3.edgexfoundry.org:10003 [2023-08-25T22:58:01.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:58:01.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:58:01.216Z] Configure a credential helper to remove this warning. See [2023-08-25T22:58:01.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:58:01.216Z] [2023-08-25T22:58:01.216Z] Login Succeeded [2023-08-25T22:58:01.216Z] nexus3.edgexfoundry.org:10004 [2023-08-25T22:58:01.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:58:01.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:58:01.216Z] Configure a credential helper to remove this warning. See [2023-08-25T22:58:01.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:58:01.216Z] [2023-08-25T22:58:01.216Z] Login Succeeded [2023-08-25T22:58:01.216Z] docker.io [2023-08-25T22:58:01.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T22:58:01.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T22:58:01.478Z] Configure a credential helper to remove this warning. See [2023-08-25T22:58:01.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T22:58:01.478Z] [2023-08-25T22:58:01.478Z] Login Succeeded [2023-08-25T22:58:01.478Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T22:58:01.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T22:58:01.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T22:58:01.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T22:58:01.563Z] ========================================================= [2023-08-25T22:58:01.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T22:58:01.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T22:58:01.873Z] + 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-25T22:58:01.874Z] Sending build context to Docker daemon 2.198MB [2023-08-25T22:58:01.874Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T22:58:01.874Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-25T22:58:02.139Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T22:58:02.139Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T22:58:02.139Z] 6911f1a30b25: Pulling fs layer [2023-08-25T22:58:02.139Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T22:58:02.139Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T22:58:02.139Z] ec0bb842ea78: Pulling fs layer [2023-08-25T22:58:02.139Z] 40a00589a448: Pulling fs layer [2023-08-25T22:58:02.139Z] 6c08303d61cc: Pulling fs layer [2023-08-25T22:58:02.139Z] 798269fcf238: Pulling fs layer [2023-08-25T22:58:02.139Z] 6c08303d61cc: Waiting [2023-08-25T22:58:02.139Z] 6863d3e3a2b1: Waiting [2023-08-25T22:58:02.139Z] 798269fcf238: Waiting [2023-08-25T22:58:02.139Z] ec0bb842ea78: Waiting [2023-08-25T22:58:02.139Z] 40a00589a448: Waiting [2023-08-25T22:58:02.139Z] 6911f1a30b25: Download complete [2023-08-25T22:58:02.139Z] 6863d3e3a2b1: Download complete [2023-08-25T22:58:02.139Z] ec0bb842ea78: Download complete [2023-08-25T22:58:02.139Z] 4db1b89c0bd1: Download complete [2023-08-25T22:58:02.424Z] 40a00589a448: Verifying Checksum [2023-08-25T22:58:02.424Z] 40a00589a448: Download complete [2023-08-25T22:58:02.687Z] 4db1b89c0bd1: Pull complete [2023-08-25T22:58:02.949Z] 798269fcf238: Verifying Checksum [2023-08-25T22:58:02.949Z] 798269fcf238: Download complete [2023-08-25T22:58:02.949Z] e194b8c5c2a9: Download complete [2023-08-25T22:58:03.209Z] 6911f1a30b25: Pull complete [2023-08-25T22:58:03.469Z] 6c08303d61cc: Verifying Checksum [2023-08-25T22:58:03.469Z] 6c08303d61cc: Download complete [2023-08-25T22:58:06.752Z] e194b8c5c2a9: Pull complete [2023-08-25T22:58:06.752Z] 6863d3e3a2b1: Pull complete [2023-08-25T22:58:06.752Z] ec0bb842ea78: Pull complete [2023-08-25T22:58:06.752Z] 40a00589a448: Pull complete [2023-08-25T22:58:09.284Z] 6c08303d61cc: Pull complete [2023-08-25T22:58:10.660Z] 798269fcf238: Pull complete [2023-08-25T22:58:10.660Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T22:58:10.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T22:58:10.920Z] ---> ec979cd7f677 [2023-08-25T22:58:10.920Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-25T22:58:15.605Z] Still waiting to schedule task [2023-08-25T22:58:15.606Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4597’ is offline [2023-08-25T22:58:23.137Z] ---> Running in bddeb3bcda7d [2023-08-25T22:58:23.137Z] Removing intermediate container bddeb3bcda7d [2023-08-25T22:58:23.137Z] ---> 434250967c60 [2023-08-25T22:58:23.137Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T22:58:23.137Z] ---> Running in ce70ecc5d4c5 [2023-08-25T22:58:23.137Z] Removing intermediate container ce70ecc5d4c5 [2023-08-25T22:58:23.137Z] ---> 5279dfb62fe7 [2023-08-25T22:58:23.137Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-25T22:58:23.137Z] ---> Running in 2f4f4633e304 [2023-08-25T22:58:23.137Z] Removing intermediate container 2f4f4633e304 [2023-08-25T22:58:23.137Z] ---> f4238f47333c [2023-08-25T22:58:23.137Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-25T22:58:23.137Z] ---> Running in 4b96cdd00e7c [2023-08-25T22:58:23.137Z] Removing intermediate container 4b96cdd00e7c [2023-08-25T22:58:23.137Z] ---> 38bccf7d9f1e [2023-08-25T22:58:23.137Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T22:58:23.137Z] ---> Running in 2469ef1b8a21 [2023-08-25T22:58:23.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T22:58:23.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T22:58:23.705Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-25T22:58:23.706Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-25T22:58:23.706Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-25T22:58:23.706Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-25T22:58:23.706Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-25T22:58:23.706Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-25T22:58:23.706Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-25T22:58:23.706Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-25T22:58:23.706Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-25T22:58:23.706Z] (10/14) Installing kmod-libs (30-r1) [2023-08-25T22:58:23.706Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-25T22:58:23.706Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-25T22:58:23.706Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-25T22:58:23.706Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-25T22:58:23.706Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T22:58:23.706Z] Executing eudev-3.2.11-r4.trigger [2023-08-25T22:58:23.706Z] OK: 272 MiB in 67 packages [2023-08-25T22:58:24.303Z] Removing intermediate container 2469ef1b8a21 [2023-08-25T22:58:24.303Z] ---> ee02efedf1f5 [2023-08-25T22:58:24.303Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-25T22:58:24.303Z] ---> Running in 6dd589002fd3 [2023-08-25T22:58:24.303Z] Removing intermediate container 6dd589002fd3 [2023-08-25T22:58:24.303Z] ---> 10cfe6fc38d9 [2023-08-25T22:58:24.303Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-25T22:58:24.562Z] ---> 3c6c13bb88ca [2023-08-25T22:58:24.562Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T22:58:24.562Z] ---> Running in b6cdea952fad [2023-08-25T22:58:56.653Z] Removing intermediate container b6cdea952fad [2023-08-25T22:58:56.653Z] ---> 09549e198cb3 [2023-08-25T22:58:56.653Z] Step 11/13 : COPY . . [2023-08-25T22:58:56.653Z] ---> e10a6caf5829 [2023-08-25T22:58:56.653Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-25T22:58:56.653Z] ---> Running in a6c76476f95f [2023-08-25T22:58:56.653Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T22:58:56.653Z]     Dload Upload  Total Spent Left Speed [2023-08-25T22:58:56.653Z]  0 0 0 0  0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 10435 0 --:--:-- --:--:-- --:--:-- 10529 [2023-08-25T22:58:56.913Z] Removing intermediate container a6c76476f95f [2023-08-25T22:58:56.913Z] ---> bb9f610033f5 [2023-08-25T22:58:56.913Z] Step 13/13 : RUN ${MAKE} [2023-08-25T22:58:57.172Z] ---> Running in 1682172b8fec [2023-08-25T22:58:57.432Z] noop [2023-08-25T22:58:57.691Z] Removing intermediate container 1682172b8fec [2023-08-25T22:58:57.691Z] ---> b3ce646a39b9 [2023-08-25T22:58:57.691Z] Successfully built b3ce646a39b9 [2023-08-25T22:58:57.691Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T22:58:58.006Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T22:58:58.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T22:58:58.077Z] prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container [2023-08-25T22:58:58.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T22:58:58.608Z] $ docker top 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T22:58:58.949Z] + go version [2023-08-25T22:58:58.949Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T22:58:58.965Z] $ docker stop --time=1 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba [2023-08-25T22:59:00.231Z] $ docker rm -f --volumes 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T22:59:00.620Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T22:59:00.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T22:59:00.693Z] prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container [2023-08-25T22:59:00.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T22:59:01.110Z] $ docker top 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T22:59:01.458Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] fileExists [Pipeline] sh [2023-08-25T22:59:01.751Z] + make test [2023-08-25T22:59:01.751Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T22:59:07.015Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-25T22:59:16.981Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-25T22:59:17.549Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 4.4% of statements [2023-08-25T22:59:24.124Z] go vet ./... [2023-08-25T22:59:27.404Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T22:59:27.404Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T22:59:27.404Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T22:59:27.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T22:59:27.431Z] $ docker stop --time=1 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb [2023-08-25T22:59:30.866Z] $ docker rm -f --volumes 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T22:59:31.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T22:59:31.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T22:59:32.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T22:59:32.297Z] + ls -al . [2023-08-25T22:59:32.297Z] total 220 [2023-08-25T22:59:32.297Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 22:59 . [2023-08-25T22:59:32.297Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:57 .. [2023-08-25T22:59:32.297Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 22:57 .git [2023-08-25T22:59:32.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 .github [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 25 22:57 .gitignore [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 25 22:57 .golangci.yml [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 25 22:57 .hadolint.yml [2023-08-25T22:59:32.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 22:57 .semver [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 25 22:57 Attribution.txt [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 25 22:57 CHANGELOG.md [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 25 22:57 Dockerfile [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 22:57 GOVERNANCE.md [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 25 22:57 Jenkinsfile [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 22:57 LICENSE [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 2490 Aug 25 22:57 Makefile [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 22:57 OWNERS.md [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 25 22:57 README.md [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 22:58 VERSION [2023-08-25T22:59:32.297Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:57 bin [2023-08-25T22:59:32.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 cmd [2023-08-25T22:59:32.297Z] -rw-r--r-- 1 jenkins jenkins 54289 Aug 25 22:59 coverage.out [2023-08-25T22:59:32.297Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 25 22:57 docker-entrypoint.sh [2023-08-25T22:59:32.297Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:57 docs [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 25 22:57 go.mod [2023-08-25T22:59:32.297Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 25 22:57 go.sum [2023-08-25T22:59:32.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 internal [2023-08-25T22:59:32.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:57 snap [2023-08-25T22:59:32.298Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 25 22:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T22:59:32.599Z] + 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=d50a08cd35ef33f35101904a56e129cbc2c80d52 --label arch=amd64 --label version=0.0.0 . [2023-08-25T22:59:32.599Z] Sending build context to Docker daemon 2.253MB [2023-08-25T22:59:32.599Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T22:59:32.599Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-25T22:59:32.599Z] ---> b3ce646a39b9 [2023-08-25T22:59:32.599Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-25T22:59:32.599Z] ---> Running in e6d16efaade1 [2023-08-25T22:59:32.857Z] Removing intermediate container e6d16efaade1 [2023-08-25T22:59:32.857Z] ---> 90cce528dd46 [2023-08-25T22:59:32.858Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T22:59:32.858Z] ---> Running in 8db213934381 [2023-08-25T22:59:32.858Z] Removing intermediate container 8db213934381 [2023-08-25T22:59:32.858Z] ---> db82cf7a9ca1 [2023-08-25T22:59:32.858Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-25T22:59:32.858Z] ---> Running in 794c31411627 [2023-08-25T22:59:32.858Z] Removing intermediate container 794c31411627 [2023-08-25T22:59:32.858Z] ---> 2954a5fd6342 [2023-08-25T22:59:32.858Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-25T22:59:32.858Z] ---> Running in a4310606c073 [2023-08-25T22:59:33.117Z] Removing intermediate container a4310606c073 [2023-08-25T22:59:33.117Z] ---> 1629c82722d7 [2023-08-25T22:59:33.117Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T22:59:33.117Z] ---> Running in 0f9f3889c130 [2023-08-25T22:59:33.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T22:59:33.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T22:59:33.895Z] OK: 272 MiB in 67 packages [2023-08-25T22:59:34.154Z] Removing intermediate container 0f9f3889c130 [2023-08-25T22:59:34.155Z] ---> de20d660cd9c [2023-08-25T22:59:34.155Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-25T22:59:34.155Z] ---> Running in 21e794601465 [2023-08-25T22:59:34.155Z] Removing intermediate container 21e794601465 [2023-08-25T22:59:34.155Z] ---> b950f489a9b0 [2023-08-25T22:59:34.155Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-25T22:59:34.413Z] ---> 579c225efa7d [2023-08-25T22:59:34.414Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T22:59:34.414Z] ---> Running in 2c971f6c7d1d [2023-08-25T22:59:35.352Z] Removing intermediate container 2c971f6c7d1d [2023-08-25T22:59:35.352Z] ---> 0237a9993555 [2023-08-25T22:59:35.352Z] Step 11/36 : COPY . . [2023-08-25T22:59:35.352Z] ---> 6c2d8439ded4 [2023-08-25T22:59:35.352Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-25T22:59:35.611Z] ---> Running in 1bc8705afd94 [2023-08-25T22:59:35.870Z]  % Total % Received % Xferd Average Speed  Time Time  Time Current [2023-08-25T22:59:35.870Z]   Dload Upload Total  Spent Left Speed [2023-08-25T22:59:35.870Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24464 0 --:--:-- --:--:-- --:--:-- 25060 [2023-08-25T22:59:36.129Z] Removing intermediate container 1bc8705afd94 [2023-08-25T22:59:36.129Z] ---> 209fb9a5321a [2023-08-25T22:59:36.129Z] Step 13/36 : RUN ${MAKE} [2023-08-25T22:59:36.389Z] ---> Running in b90601702320 [2023-08-25T22:59:36.648Z] 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.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-25T22:59:45.485Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4601 in /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] { [Pipeline] ws [2023-08-25T22:59:45.499Z] Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout [2023-08-25T22:59:45.616Z] Selected Git installation does not exist. Using Default [2023-08-25T22:59:45.616Z] The recommended git tool is: NONE [2023-08-25T22:59:50.586Z] using credential edgex-jenkins-ssh [2023-08-25T22:59:50.602Z] Cloning the remote Git repository [2023-08-25T22:59:50.647Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-25T22:59:50.736Z] > git init /w/workspace/device-usb-camera/7 # timeout=10 [2023-08-25T22:59:50.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-25T22:59:50.877Z] > git --version # timeout=10 [2023-08-25T22:59:50.895Z] > git --version # 'git version 2.25.1' [2023-08-25T22:59:50.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T22:59:51.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T22:59:51.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-25T22:59:51.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T22:59:52.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-25T22:59:52.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-25T22:59:52.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T22:59:52.711Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-25T22:59:53.302Z] Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit b60faa6e3ebebee523193c9fd2529fb72fa3f4ef [2023-08-25T22:59:53.627Z] Merge succeeded, producing 9499fb83fe6abb5e78a80dfbc2a979056a706d6a [2023-08-25T22:59:53.627Z] Checking out Revision 9499fb83fe6abb5e78a80dfbc2a979056a706d6a (PR-270) [2023-08-25T22:59:53.321Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T22:59:53.388Z] > git checkout -f b60faa6e3ebebee523193c9fd2529fb72fa3f4ef # timeout=10 [2023-08-25T22:59:53.473Z] > git remote # timeout=10 [2023-08-25T22:59:53.491Z] > git config --get remote.origin.url # timeout=10 [2023-08-25T22:59:53.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T22:59:53.526Z] > git merge 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 [2023-08-25T22:59:53.606Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-25T22:59:53.634Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T22:59:53.648Z] > git checkout -f 9499fb83fe6abb5e78a80dfbc2a979056a706d6a # timeout=10 [2023-08-25T22:59:57.096Z] Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" [2023-08-25T22:59:57.121Z] First time build. Skipping changelog. [2023-08-25T22:59:57.105Z] > git rev-list --no-walk 56865958aba4700b96cee03fd5b9b89a487d6fc4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T22:59:58.041Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T22:59:58.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T22:59:58.041Z] Dload Upload Total Spent Left Speed [2023-08-25T22:59:58.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-08-25T22:59:58.800Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T22:59:59.126Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-08-25T22:59:59.126Z] sudo tee /etc/docker/daemon.new [2023-08-25T22:59:59.126Z] { [2023-08-25T22:59:59.126Z] "registry-mirrors": [ [2023-08-25T22:59:59.126Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T22:59:59.126Z] ], [2023-08-25T22:59:59.126Z] "bip": "10.250.0.254/24", [2023-08-25T22:59:59.126Z] "hosts": [ [2023-08-25T22:59:59.126Z] "tcp://0.0.0.0:5555", [2023-08-25T22:59:59.127Z] "unix:///var/run/docker.sock" [2023-08-25T22:59:59.127Z] ], [2023-08-25T22:59:59.127Z] "mtu": 1458, [2023-08-25T22:59:59.127Z] "selinux-enabled": true, [2023-08-25T22:59:59.127Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T22:59:59.127Z] } [Pipeline] sh [2023-08-25T22:59:59.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T22:59:59.785Z] + sudo service docker restart [2023-08-25T23:00:03.186Z] Removing intermediate container b90601702320 [2023-08-25T23:00:03.186Z] ---> 778c79e7fb38 [2023-08-25T23:00:03.186Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-25T23:00:03.186Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-25T23:00:03.186Z] 4acc49c71d14: Pulling fs layer [2023-08-25T23:00:03.186Z] 4acc49c71d14: Download complete [2023-08-25T23:00:03.186Z] 4acc49c71d14: Pull complete [2023-08-25T23:00:03.186Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-25T23:00:03.186Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-25T23:00:03.186Z] ---> 01a2bd3e5fff [2023-08-25T23:00:03.186Z] Step 15/36 : FROM alpine:3.17 [2023-08-25T23:00:03.186Z] 3.17: Pulling from library/alpine [2023-08-25T23:00:03.186Z] 9398808236ff: Pulling fs layer [2023-08-25T23:00:03.186Z] 9398808236ff: Download complete [2023-08-25T23:00:03.186Z] 9398808236ff: Pull complete [2023-08-25T23:00:03.186Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T23:00:03.186Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T23:00:03.186Z] ---> 1e0b8b5322fc [2023-08-25T23:00:03.186Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-25T23:00:03.186Z] ---> Running in edc80157c83a [2023-08-25T23:00:03.186Z] Removing intermediate container edc80157c83a [2023-08-25T23:00:03.186Z] ---> 08a670061cef [2023-08-25T23:00:03.186Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-25T23:00:03.186Z] ---> Running in cff5cccddaab [2023-08-25T23:00:03.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T23:00:03.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T23:00:03.704Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-25T23:00:03.704Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-25T23:00:03.704Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-25T23:00:03.704Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-25T23:00:03.704Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-25T23:00:03.704Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-25T23:00:03.704Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-25T23:00:03.704Z] (8/86) Installing libxcb (1.15-r0) [2023-08-25T23:00:03.704Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-25T23:00:03.704Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-25T23:00:03.962Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-25T23:00:03.962Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-25T23:00:03.962Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-25T23:00:03.962Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-25T23:00:03.962Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-25T23:00:03.962Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-25T23:00:03.962Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-25T23:00:03.962Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-25T23:00:03.962Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-25T23:00:03.962Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-25T23:00:03.962Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-25T23:00:03.962Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-25T23:00:03.962Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-25T23:00:03.962Z] (24/86) Installing glib (2.74.7-r0) [2023-08-25T23:00:03.962Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-25T23:00:03.962Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-25T23:00:03.962Z] (27/86) Installing libass (0.16.0-r1) [2023-08-25T23:00:03.962Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-25T23:00:03.962Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-25T23:00:04.222Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-25T23:00:04.222Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-25T23:00:04.222Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-25T23:00:04.222Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-25T23:00:04.222Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-25T23:00:04.222Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-25T23:00:04.222Z] (36/86) Installing libunistring (1.1-r0) [2023-08-25T23:00:04.222Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-25T23:00:04.222Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-25T23:00:04.222Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-25T23:00:04.222Z] (40/86) Installing lame (3.100-r2) [2023-08-25T23:00:04.222Z] (41/86) Installing opus (1.3.1-r1) [2023-08-25T23:00:04.222Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-25T23:00:04.222Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-25T23:00:04.222Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-25T23:00:04.222Z] (45/86) Installing orc (0.4.33-r0) [2023-08-25T23:00:04.222Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-25T23:00:04.222Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-25T23:00:04.222Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-25T23:00:04.222Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-25T23:00:04.222Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-25T23:00:04.222Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-25T23:00:04.481Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-25T23:00:04.481Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-25T23:00:04.481Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-25T23:00:04.481Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-25T23:00:04.481Z] (56/86) Installing libpulse (16.1-r6) [2023-08-25T23:00:04.481Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-25T23:00:04.481Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-25T23:00:04.481Z] (59/86) Installing librist (0.2.7-r0) [2023-08-25T23:00:04.481Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-25T23:00:04.481Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-25T23:00:04.481Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-25T23:00:04.481Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-25T23:00:04.481Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-25T23:00:04.481Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-25T23:00:04.481Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-25T23:00:04.481Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-25T23:00:04.481Z] (68/86) Installing libva (2.16.0-r0) [2023-08-25T23:00:04.481Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-25T23:00:04.481Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-25T23:00:04.481Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-25T23:00:04.481Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-25T23:00:04.481Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-25T23:00:04.481Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-25T23:00:04.481Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-25T23:00:04.740Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-25T23:00:04.740Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-25T23:00:04.740Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-25T23:00:04.740Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-25T23:00:04.740Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-25T23:00:04.740Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-25T23:00:04.740Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-25T23:00:04.740Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-25T23:00:04.740Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-25T23:00:04.740Z] (85/86) Installing kmod-libs (30-r1) [2023-08-25T23:00:04.740Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-25T23:00:04.740Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T23:00:04.740Z] Executing eudev-3.2.11-r4.trigger [2023-08-25T23:00:04.740Z] OK: 112 MiB in 101 packages [2023-08-25T23:00:08.927Z] Removing intermediate container cff5cccddaab [2023-08-25T23:00:08.927Z] ---> 1d8261548c2c [2023-08-25T23:00:08.927Z] Step 18/36 : WORKDIR / [2023-08-25T23:00:08.927Z] ---> Running in b45fb5df456b [2023-08-25T23:00:08.927Z] Removing intermediate container b45fb5df456b [2023-08-25T23:00:08.927Z] ---> 9cfcfd77204d [2023-08-25T23:00:08.927Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-25T23:00:09.184Z] ---> b23e5cec6684 [2023-08-25T23:00:09.184Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-25T23:00:09.447Z] ---> 4911d10e11e6 [2023-08-25T23:00:09.447Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-25T23:00:09.447Z] ---> 5310346e2d93 [2023-08-25T23:00:09.447Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-25T23:00:09.706Z] ---> ad40059ff620 [2023-08-25T23:00:09.706Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-25T23:00:09.706Z] ---> 7d69af1e7167 [2023-08-25T23:00:09.706Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-25T23:00:09.965Z] ---> 6d1037f36740 [2023-08-25T23:00:09.965Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-25T23:00:10.902Z] ---> 791bf34a6513 [2023-08-25T23:00:10.902Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-25T23:00:10.902Z] ---> Running in 590232bcd0c2 [2023-08-25T23:00:11.468Z] Removing intermediate container 590232bcd0c2 [2023-08-25T23:00:11.468Z] ---> 2f27a5ac2f0c [2023-08-25T23:00:11.468Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-25T23:00:11.468Z] ---> Running in 4280cde7b46d [2023-08-25T23:00:12.034Z] Removing intermediate container 4280cde7b46d [2023-08-25T23:00:12.034Z] ---> b3ab73b11840 [2023-08-25T23:00:12.034Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-25T23:00:12.034Z] ---> Running in e1d091107171 [2023-08-25T23:00:12.619Z] Removing intermediate container e1d091107171 [2023-08-25T23:00:12.619Z] ---> 0a322a880f67 [2023-08-25T23:00:12.619Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-25T23:00:12.619Z] ---> Running in cdbd1ac0ad56 [2023-08-25T23:00:13.188Z] Removing intermediate container cdbd1ac0ad56 [2023-08-25T23:00:13.188Z] ---> f35b1c538deb [2023-08-25T23:00:13.188Z] Step 30/36 : EXPOSE 59983 [2023-08-25T23:00:13.188Z] ---> Running in 3dfeb32771f0 [2023-08-25T23:00:13.188Z] Removing intermediate container 3dfeb32771f0 [2023-08-25T23:00:13.188Z] ---> 8481175b3ee7 [2023-08-25T23:00:13.188Z] Step 31/36 : EXPOSE 8554 [2023-08-25T23:00:13.449Z] ---> Running in 8156d9a531c2 [2023-08-25T23:00:13.449Z] Removing intermediate container 8156d9a531c2 [2023-08-25T23:00:13.449Z] ---> 4648ca9df7ec [2023-08-25T23:00:13.449Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-25T23:00:13.449Z] ---> Running in d507d3f2b5ce [2023-08-25T23:00:13.449Z] Removing intermediate container d507d3f2b5ce [2023-08-25T23:00:13.449Z] ---> fa0ba55bd157 [2023-08-25T23:00:13.449Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-25T23:00:13.449Z] ---> Running in 728b8d7cbde4 [2023-08-25T23:00:13.708Z] Removing intermediate container 728b8d7cbde4 [2023-08-25T23:00:13.708Z] ---> b3fb1a4ae788 [2023-08-25T23:00:13.708Z] Step 34/36 : LABEL arch=amd64 [2023-08-25T23:00:13.708Z] ---> Running in 477b019b0ebb [2023-08-25T23:00:13.708Z] Removing intermediate container 477b019b0ebb [2023-08-25T23:00:13.708Z] ---> ade12ea59b0e [2023-08-25T23:00:13.708Z] Step 35/36 : LABEL git_sha=d50a08cd35ef33f35101904a56e129cbc2c80d52 [2023-08-25T23:00:13.708Z] ---> Running in 3b59a7519356 [2023-08-25T23:00:13.708Z] Removing intermediate container 3b59a7519356 [2023-08-25T23:00:13.708Z] ---> ad9a7001da23 [2023-08-25T23:00:13.708Z] Step 36/36 : LABEL version=0.0.0 [2023-08-25T23:00:13.967Z] ---> Running in d9b3e2c62f3f [2023-08-25T23:00:13.967Z] Removing intermediate container d9b3e2c62f3f [2023-08-25T23:00:13.967Z] ---> dc13457542cf [2023-08-25T23:00:13.967Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T23:00:13.967Z] Successfully built dc13457542cf [2023-08-25T23:00:13.967Z] 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-25T23:00:14.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T23:00:14.403Z] [2023-08-25T23:00:14.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:00:14.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T23:00:14.702Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T23:00:14.702Z] 5eb5b503b376: Pulling fs layer [2023-08-25T23:00:14.702Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T23:00:14.702Z] ec43610c2a17: Pulling fs layer [2023-08-25T23:00:14.702Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T23:00:14.702Z] 33b1e0a273af: Pulling fs layer [2023-08-25T23:00:14.702Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T23:00:14.702Z] 2f39f015ded8: Pulling fs layer [2023-08-25T23:00:14.702Z] 5d3b04190fa2: Waiting [2023-08-25T23:00:14.702Z] 2f39f015ded8: Waiting [2023-08-25T23:00:14.702Z] 3a2ae6a8a46f: Waiting [2023-08-25T23:00:14.702Z] 33b1e0a273af: Waiting [2023-08-25T23:00:14.702Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T23:00:14.702Z] 5c69ac0246d0: Download complete [2023-08-25T23:00:14.702Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T23:00:14.702Z] 3a2ae6a8a46f: Download complete [2023-08-25T23:00:14.702Z] 33b1e0a273af: Verifying Checksum [2023-08-25T23:00:14.702Z] 33b1e0a273af: Download complete [2023-08-25T23:00:14.702Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T23:00:14.702Z] 5d3b04190fa2: Download complete [2023-08-25T23:00:14.702Z] ec43610c2a17: Verifying Checksum [2023-08-25T23:00:14.961Z] 5eb5b503b376: Verifying Checksum [2023-08-25T23:00:14.961Z] 5eb5b503b376: Download complete [2023-08-25T23:00:15.528Z] 2f39f015ded8: Download complete [2023-08-25T23:00:16.092Z] 5eb5b503b376: Pull complete [2023-08-25T23:00:16.350Z] 5c69ac0246d0: Pull complete [2023-08-25T23:00:16.608Z] ec43610c2a17: Pull complete [2023-08-25T23:00:16.866Z] 3a2ae6a8a46f: Pull complete [2023-08-25T23:00:17.123Z] 33b1e0a273af: Pull complete [2023-08-25T23:00:17.123Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T23:00:18.058Z] provisioning config files... [2023-08-25T23:00:18.084Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config17918004050230473895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:00:18.439Z] ---> docker-login.sh [2023-08-25T23:00:18.439Z] nexus3.edgexfoundry.org:10001 [2023-08-25T23:00:18.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T23:00:18.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T23:00:18.993Z] Configure a credential helper to remove this warning. See [2023-08-25T23:00:18.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T23:00:18.993Z] [2023-08-25T23:00:18.993Z] Login Succeeded [2023-08-25T23:00:18.993Z] nexus3.edgexfoundry.org:10002 [2023-08-25T23:00:19.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T23:00:19.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T23:00:19.262Z] Configure a credential helper to remove this warning. See [2023-08-25T23:00:19.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T23:00:19.262Z] [2023-08-25T23:00:19.262Z] Login Succeeded [2023-08-25T23:00:19.262Z] nexus3.edgexfoundry.org:10003 [2023-08-25T23:00:19.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T23:00:19.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T23:00:19.800Z] Configure a credential helper to remove this warning. See [2023-08-25T23:00:19.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T23:00:19.800Z] [2023-08-25T23:00:19.800Z] Login Succeeded [2023-08-25T23:00:19.800Z] nexus3.edgexfoundry.org:10004 [2023-08-25T23:00:19.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T23:00:20.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T23:00:20.072Z] Configure a credential helper to remove this warning. See [2023-08-25T23:00:20.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T23:00:20.072Z] [2023-08-25T23:00:20.072Z] Login Succeeded [2023-08-25T23:00:20.072Z] docker.io [2023-08-25T23:00:20.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T23:00:20.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T23:00:20.611Z] Configure a credential helper to remove this warning. See [2023-08-25T23:00:20.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T23:00:20.611Z] [2023-08-25T23:00:20.611Z] Login Succeeded [2023-08-25T23:00:20.611Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T23:00:20.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T23:00:20.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T23:00:20.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T23:00:20.898Z] ========================================================= [2023-08-25T23:00:20.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T23:00:20.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:00:21.249Z] + 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-25T23:00:21.308Z] 2f39f015ded8: Pull complete [2023-08-25T23:00:21.308Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T23:00:21.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T23:00:21.308Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T23:00:21.389Z] prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container [2023-08-25T23:00:21.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T23:00:21.518Z] Sending build context to Docker daemon 1.36MB [2023-08-25T23:00:21.518Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T23:00:21.518Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-25T23:00:21.795Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T23:00:21.795Z] edb6bdbacee9: Pulling fs layer [2023-08-25T23:00:21.795Z] 5f9638ab2659: Pulling fs layer [2023-08-25T23:00:21.795Z] 8d51d6327a98: Pulling fs layer [2023-08-25T23:00:21.795Z] 8b374f2dd631: Pulling fs layer [2023-08-25T23:00:21.795Z] ec14aa9079de: Pulling fs layer [2023-08-25T23:00:21.795Z] 2f466654f4bb: Pulling fs layer [2023-08-25T23:00:21.795Z] 554e91adad29: Pulling fs layer [2023-08-25T23:00:21.795Z] ec14aa9079de: Waiting [2023-08-25T23:00:21.795Z] 2f466654f4bb: Waiting [2023-08-25T23:00:21.795Z] 554e91adad29: Waiting [2023-08-25T23:00:21.795Z] 8b374f2dd631: Waiting [2023-08-25T23:00:21.795Z] 5f9638ab2659: Verifying Checksum [2023-08-25T23:00:21.795Z] 5f9638ab2659: Download complete [2023-08-25T23:00:21.795Z] 8b374f2dd631: Verifying Checksum [2023-08-25T23:00:21.795Z] 8b374f2dd631: Download complete [2023-08-25T23:00:21.795Z] ec14aa9079de: Verifying Checksum [2023-08-25T23:00:21.795Z] ec14aa9079de: Download complete [2023-08-25T23:00:21.795Z] edb6bdbacee9: Verifying Checksum [2023-08-25T23:00:21.795Z] edb6bdbacee9: Download complete [2023-08-25T23:00:22.762Z] edb6bdbacee9: Pull complete [2023-08-25T23:00:23.042Z] 554e91adad29: Verifying Checksum [2023-08-25T23:00:23.042Z] 554e91adad29: Download complete [2023-08-25T23:00:24.466Z] 8d51d6327a98: Verifying Checksum [2023-08-25T23:00:24.466Z] 2f466654f4bb: Verifying Checksum [2023-08-25T23:00:24.466Z] 2f466654f4bb: Download complete [2023-08-25T23:00:25.492Z] $ docker top 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:00:25.852Z] ---> job-cost.sh [2023-08-25T23:00:25.852Z] lf-activate-venv: SKIPPING [2023-08-25T23:00:25.852Z] INFO: No Stack... [2023-08-25T23:00:26.110Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T23:00:26.412Z] 5f9638ab2659: Pull complete [2023-08-25T23:00:26.676Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T23:00:26.959Z] + cat /w/workspace/foundry_device-usb-camera_PR-270/archives/cost.csv [2023-08-25T23:00:26.960Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T23:00:26.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [2023-08-25T23:00:26.976Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] did not exist. Created. [2023-08-25T23:00:26.977Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T23:00:27.275Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T23:00:27.303Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T23:00:27.310Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T23:00:27.333Z] $ docker stop --time=1 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 [2023-08-25T23:00:28.504Z] $ docker rm -f --volumes 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T23:00:41.447Z] 8d51d6327a98: Pull complete [2023-08-25T23:00:41.447Z] 8b374f2dd631: Pull complete [2023-08-25T23:00:41.447Z] ec14aa9079de: Pull complete [2023-08-25T23:00:46.811Z] 2f466654f4bb: Pull complete [2023-08-25T23:00:49.406Z] 554e91adad29: Pull complete [2023-08-25T23:00:49.406Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T23:00:49.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T23:00:49.406Z] ---> 1e15ea492957 [2023-08-25T23:00:49.406Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-25T23:00:50.809Z] ---> Running in 6922c44d0575 [2023-08-25T23:00:51.077Z] Removing intermediate container 6922c44d0575 [2023-08-25T23:00:51.077Z] ---> fa1c11b50444 [2023-08-25T23:00:51.077Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T23:00:51.342Z] ---> Running in ce911e661ccb [2023-08-25T23:00:51.609Z] Removing intermediate container ce911e661ccb [2023-08-25T23:00:51.609Z] ---> b4d71414656b [2023-08-25T23:00:51.609Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-25T23:00:51.609Z] ---> Running in 9d4ff0fceaff [2023-08-25T23:00:51.884Z] Removing intermediate container 9d4ff0fceaff [2023-08-25T23:00:51.884Z] ---> a74931b573d2 [2023-08-25T23:00:51.884Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-25T23:00:51.884Z] ---> Running in 83b3797891bc [2023-08-25T23:00:52.472Z] Removing intermediate container 83b3797891bc [2023-08-25T23:00:52.472Z] ---> e1ff071f2ee3 [2023-08-25T23:00:52.472Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T23:00:52.472Z] ---> Running in 88bed41586d5 [2023-08-25T23:00:53.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T23:00:54.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T23:00:54.993Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-25T23:00:54.993Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-25T23:00:54.993Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-25T23:00:54.993Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-25T23:00:54.993Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-25T23:00:55.258Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-25T23:00:55.259Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-25T23:00:55.259Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-25T23:00:55.259Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-25T23:00:55.259Z] (10/14) Installing kmod-libs (30-r1) [2023-08-25T23:00:55.259Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-25T23:00:55.259Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-25T23:00:55.259Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-25T23:00:55.259Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-25T23:00:55.525Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T23:00:55.525Z] Executing eudev-3.2.11-r4.trigger [2023-08-25T23:00:55.525Z] OK: 271 MiB in 67 packages [2023-08-25T23:00:56.501Z] Removing intermediate container 88bed41586d5 [2023-08-25T23:00:56.501Z] ---> a786aa71f34f [2023-08-25T23:00:56.501Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-25T23:00:56.770Z] ---> Running in c6017c7ea28d [2023-08-25T23:00:57.036Z] Removing intermediate container c6017c7ea28d [2023-08-25T23:00:57.036Z] ---> a9f1f44af1cd [2023-08-25T23:00:57.036Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-25T23:00:57.304Z] ---> c6c629b3fd40 [2023-08-25T23:00:57.304Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T23:00:57.572Z] ---> Running in 0e059ef1d71f [2023-08-25T23:02:05.456Z] Removing intermediate container 0e059ef1d71f [2023-08-25T23:02:05.456Z] ---> f48cb26d2c33 [2023-08-25T23:02:05.456Z] Step 11/13 : COPY . . [2023-08-25T23:02:05.456Z] ---> 199b6f37bff9 [2023-08-25T23:02:05.456Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-25T23:02:05.456Z] ---> Running in e6defa642229 [2023-08-25T23:02:05.456Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-08-25T23:02:05.456Z] Dload Upload Total Spent Left Speed [2023-08-25T23:02:05.456Z] 0 0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5125 0 --:--:-- --:--:-- --:--:-- 5156 [2023-08-25T23:02:05.456Z] Removing intermediate container e6defa642229 [2023-08-25T23:02:05.456Z] ---> ba22e0e3bd04 [2023-08-25T23:02:05.456Z] Step 13/13 : RUN ${MAKE} [2023-08-25T23:02:05.456Z] ---> Running in 081b4ce324ec [2023-08-25T23:02:05.456Z] noop [2023-08-25T23:02:05.456Z] Removing intermediate container 081b4ce324ec [2023-08-25T23:02:05.456Z] ---> e67080cd999a [2023-08-25T23:02:05.456Z] Successfully built e67080cd999a [2023-08-25T23:02:05.456Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:02:05.807Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T23:02:05.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T23:02:06.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container [2023-08-25T23:02:06.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T23:02:07.201Z] $ docker top 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T23:02:08.012Z] + go version [2023-08-25T23:02:08.012Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T23:02:08.031Z] $ docker stop --time=1 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e [2023-08-25T23:02:09.636Z] $ docker rm -f --volumes 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:02:10.191Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T23:02:10.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T23:02:10.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container [2023-08-25T23:02:10.429Z] $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T23:02:13.859Z] $ docker top 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T23:02:14.682Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/7 [Pipeline] fileExists [Pipeline] sh [2023-08-25T23:02:15.012Z] + make test [2023-08-25T23:02:15.012Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T23:02:47.252Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-25T23:04:53.910Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-25T23:05:02.152Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.093s coverage: 4.4% of statements [2023-08-25T23:05:02.152Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T23:05:02.152Z] go vet ./... [2023-08-25T23:05:41.066Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T23:05:41.066Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T23:05:41.066Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T23:05:41.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T23:05:41.097Z] $ docker stop --time=1 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 [2023-08-25T23:05:42.869Z] $ docker rm -f --volumes 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T23:05:43.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T23:05:43.987Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T23:05:44.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T23:05:44.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T23:05:45.152Z] + ls -al . [2023-08-25T23:05:45.152Z] total 216 [2023-08-25T23:05:45.152Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 23:02 . [2023-08-25T23:05:45.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:59 .. [2023-08-25T23:05:45.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 22:59 .git [2023-08-25T23:05:45.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 .github [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 25 22:59 .gitignore [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 25 22:59 .golangci.yml [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 25 22:59 .hadolint.yml [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 25 22:59 Attribution.txt [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 25 22:59 CHANGELOG.md [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 25 22:59 Dockerfile [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 22:59 GOVERNANCE.md [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 25 22:59 Jenkinsfile [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 22:59 LICENSE [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 2490 Aug 25 22:59 Makefile [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 22:59 OWNERS.md [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 25 22:59 README.md [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 22:58 VERSION [2023-08-25T23:05:45.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:59 bin [2023-08-25T23:05:45.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 cmd [2023-08-25T23:05:45.152Z] -rw-r--r-- 1 jenkins jenkins 54289 Aug 25 23:05 coverage.out [2023-08-25T23:05:45.152Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 25 22:59 docker-entrypoint.sh [2023-08-25T23:05:45.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:59 docs [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 25 22:59 go.mod [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 25 22:59 go.sum [2023-08-25T23:05:45.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 internal [2023-08-25T23:05:45.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:59 snap [2023-08-25T23:05:45.152Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 25 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:05:45.483Z] + 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=9499fb83fe6abb5e78a80dfbc2a979056a706d6a --label arch=arm64 --label version=0.0.0 . [2023-08-25T23:05:45.752Z] Sending build context to Docker daemon 1.416MB [2023-08-25T23:05:45.752Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T23:05:45.752Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-25T23:05:45.752Z] ---> e67080cd999a [2023-08-25T23:05:45.752Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-25T23:05:46.019Z] ---> Running in a7414e071122 [2023-08-25T23:05:46.286Z] Removing intermediate container a7414e071122 [2023-08-25T23:05:46.286Z] ---> a135924a4eba [2023-08-25T23:05:46.286Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T23:05:46.286Z] ---> Running in 2ac579ef02f4 [2023-08-25T23:05:46.553Z] Removing intermediate container 2ac579ef02f4 [2023-08-25T23:05:46.553Z] ---> 44a3dd6b66f1 [2023-08-25T23:05:46.553Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-25T23:05:46.553Z] ---> Running in a7917bef6dcc [2023-08-25T23:05:46.821Z] Removing intermediate container a7917bef6dcc [2023-08-25T23:05:46.821Z] ---> f132dde7bdbc [2023-08-25T23:05:46.821Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-25T23:05:46.821Z] ---> Running in eb50a6dc4f48 [2023-08-25T23:05:47.086Z] Removing intermediate container eb50a6dc4f48 [2023-08-25T23:05:47.086Z] ---> 9d54485d35bb [2023-08-25T23:05:47.086Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T23:05:47.355Z] ---> Running in f56d07eb2f65 [2023-08-25T23:05:48.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T23:05:48.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T23:05:49.853Z] OK: 271 MiB in 67 packages [2023-08-25T23:05:51.257Z] Removing intermediate container f56d07eb2f65 [2023-08-25T23:05:51.258Z] ---> 9ae5a56dc5fd [2023-08-25T23:05:51.258Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-25T23:05:51.258Z] ---> Running in 7d46d247f136 [2023-08-25T23:05:51.526Z] Removing intermediate container 7d46d247f136 [2023-08-25T23:05:51.526Z] ---> 0a3dc18534cb [2023-08-25T23:05:51.526Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-25T23:05:52.495Z] ---> bc2630c97a45 [2023-08-25T23:05:52.495Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T23:05:52.495Z] ---> Running in f7d3427837b6 [2023-08-25T23:05:55.070Z] Removing intermediate container f7d3427837b6 [2023-08-25T23:05:55.070Z] ---> 20b018304a76 [2023-08-25T23:05:55.070Z] Step 11/36 : COPY . . [2023-08-25T23:05:56.027Z] ---> 2824e6ab7d84 [2023-08-25T23:05:56.027Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-25T23:05:56.027Z] ---> Running in 94c3d96167e9 [2023-08-25T23:05:56.993Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-08-25T23:05:56.993Z]   Dload Upload Total  Spent Left Speed [2023-08-25T23:05:57.261Z] 0  0  0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 3960 0 --:--:-- --:--:-- --:--:-- 3965 [2023-08-25T23:05:57.855Z] Removing intermediate container 94c3d96167e9 [2023-08-25T23:05:57.855Z] ---> e60594257266 [2023-08-25T23:05:57.855Z] Step 13/36 : RUN ${MAKE} [2023-08-25T23:05:58.124Z] ---> Running in 472925d2fc09 [2023-08-25T23:05:59.084Z] 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.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-25T23:08:35.800Z] Removing intermediate container 472925d2fc09 [2023-08-25T23:08:35.800Z] ---> afef5d0f24a2 [2023-08-25T23:08:35.800Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-25T23:08:35.800Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-25T23:08:35.800Z] 8766b47fe142: Pulling fs layer [2023-08-25T23:08:35.800Z] 8766b47fe142: Verifying Checksum [2023-08-25T23:08:35.800Z] 8766b47fe142: Download complete [2023-08-25T23:08:35.800Z] 8766b47fe142: Pull complete [2023-08-25T23:08:35.800Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-25T23:08:35.800Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-25T23:08:35.800Z] ---> 69d40e2cb93c [2023-08-25T23:08:35.800Z] Step 15/36 : FROM alpine:3.17 [2023-08-25T23:08:35.800Z] 3.17: Pulling from library/alpine [2023-08-25T23:08:35.800Z] 4060ece20d7a: Pulling fs layer [2023-08-25T23:08:35.800Z] 4060ece20d7a: Verifying Checksum [2023-08-25T23:08:35.800Z] 4060ece20d7a: Download complete [2023-08-25T23:08:35.800Z] 4060ece20d7a: Pull complete [2023-08-25T23:08:35.800Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T23:08:35.800Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T23:08:35.800Z] ---> 8650cd65339b [2023-08-25T23:08:35.800Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-25T23:08:35.800Z] ---> Running in 72201d0b4104 [2023-08-25T23:08:35.800Z] Removing intermediate container 72201d0b4104 [2023-08-25T23:08:35.800Z] ---> 247bb6b4ca30 [2023-08-25T23:08:35.800Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-25T23:08:35.800Z] ---> Running in d7e72124abd6 [2023-08-25T23:08:35.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T23:08:35.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T23:08:35.800Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-25T23:08:35.800Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-25T23:08:35.800Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-25T23:08:35.800Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-25T23:08:35.800Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-25T23:08:35.800Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-25T23:08:35.800Z] (7/83) Installing libxcb (1.15-r0) [2023-08-25T23:08:35.800Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-25T23:08:35.800Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-25T23:08:35.800Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-25T23:08:35.800Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-25T23:08:35.800Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-25T23:08:35.800Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-25T23:08:35.800Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-25T23:08:35.800Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-25T23:08:35.800Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-25T23:08:35.800Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-25T23:08:35.800Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-25T23:08:35.800Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-25T23:08:35.800Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-25T23:08:35.800Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-25T23:08:35.800Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-25T23:08:35.800Z] (23/83) Installing glib (2.74.7-r0) [2023-08-25T23:08:35.800Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-25T23:08:35.800Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-25T23:08:35.800Z] (26/83) Installing libass (0.16.0-r1) [2023-08-25T23:08:35.800Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-25T23:08:35.800Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-25T23:08:35.800Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-25T23:08:35.800Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-25T23:08:35.800Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-25T23:08:35.800Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-25T23:08:35.800Z] (33/83) Installing libunistring (1.1-r0) [2023-08-25T23:08:35.800Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-25T23:08:35.800Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-25T23:08:35.800Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-25T23:08:35.800Z] (37/83) Installing lame (3.100-r2) [2023-08-25T23:08:35.800Z] (38/83) Installing opus (1.3.1-r1) [2023-08-25T23:08:35.800Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-25T23:08:35.801Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-25T23:08:35.801Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-25T23:08:35.801Z] (42/83) Installing orc (0.4.33-r0) [2023-08-25T23:08:35.801Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-25T23:08:35.801Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-25T23:08:35.801Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-25T23:08:35.801Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-25T23:08:35.801Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-25T23:08:35.801Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-25T23:08:35.801Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-25T23:08:35.801Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-25T23:08:35.801Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-25T23:08:35.801Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-25T23:08:35.801Z] (53/83) Installing libpulse (16.1-r6) [2023-08-25T23:08:35.801Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-25T23:08:35.801Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-25T23:08:35.801Z] (56/83) Installing librist (0.2.7-r0) [2023-08-25T23:08:35.801Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-25T23:08:35.801Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-25T23:08:35.801Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-25T23:08:35.801Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-25T23:08:35.801Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-25T23:08:35.801Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-25T23:08:35.801Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-25T23:08:35.801Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-25T23:08:35.801Z] (65/83) Installing libva (2.16.0-r0) [2023-08-25T23:08:35.801Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-25T23:08:35.801Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-25T23:08:35.801Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-25T23:08:35.801Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-25T23:08:35.801Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-25T23:08:35.801Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-25T23:08:35.801Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-25T23:08:35.801Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-25T23:08:35.801Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-25T23:08:35.801Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-25T23:08:35.801Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-25T23:08:35.801Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-25T23:08:35.801Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-25T23:08:35.801Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-25T23:08:35.801Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-25T23:08:35.801Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-25T23:08:35.801Z] (82/83) Installing kmod-libs (30-r1) [2023-08-25T23:08:35.801Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-25T23:08:35.801Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T23:08:35.801Z] Executing eudev-3.2.11-r4.trigger [2023-08-25T23:08:35.801Z] OK: 86 MiB in 98 packages [2023-08-25T23:08:37.211Z] Removing intermediate container d7e72124abd6 [2023-08-25T23:08:37.211Z] ---> 1dfb363ebb07 [2023-08-25T23:08:37.211Z] Step 18/36 : WORKDIR / [2023-08-25T23:08:37.211Z] ---> Running in 36b9792e29cd [2023-08-25T23:08:37.478Z] Removing intermediate container 36b9792e29cd [2023-08-25T23:08:37.478Z] ---> d7bd956907fb [2023-08-25T23:08:37.478Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-25T23:08:38.975Z] ---> 69a336a13a78 [2023-08-25T23:08:38.975Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-25T23:08:39.575Z] ---> c833489f5438 [2023-08-25T23:08:39.575Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-25T23:08:40.175Z] ---> cc9f14902a94 [2023-08-25T23:08:40.175Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-25T23:08:40.443Z] ---> 8161b14fe868 [2023-08-25T23:08:40.443Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-25T23:08:41.028Z] ---> da955fb548df [2023-08-25T23:08:41.028Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-25T23:08:41.623Z] ---> 32438e018d47 [2023-08-25T23:08:41.623Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-25T23:08:43.052Z] ---> 23ce749df213 [2023-08-25T23:08:43.052Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-25T23:08:43.052Z] ---> Running in 88cec66f468e [2023-08-25T23:08:44.461Z] Removing intermediate container 88cec66f468e [2023-08-25T23:08:44.461Z] ---> 302177dab71a [2023-08-25T23:08:44.461Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-25T23:08:44.729Z] ---> Running in 484094c64257 [2023-08-25T23:08:48.081Z] Removing intermediate container 484094c64257 [2023-08-25T23:08:48.081Z] ---> 5689559689e9 [2023-08-25T23:08:48.081Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-25T23:08:48.081Z] ---> Running in b2ad575c7bb9 [2023-08-25T23:08:49.618Z] Removing intermediate container b2ad575c7bb9 [2023-08-25T23:08:49.618Z] ---> 2c6363b292b1 [2023-08-25T23:08:49.618Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-25T23:08:49.618Z] ---> Running in b96ea57b851d [2023-08-25T23:08:51.026Z] Removing intermediate container b96ea57b851d [2023-08-25T23:08:51.027Z] ---> ff56b8a32948 [2023-08-25T23:08:51.027Z] Step 30/36 : EXPOSE 59983 [2023-08-25T23:08:51.027Z] ---> Running in 903bc2074173 [2023-08-25T23:08:51.292Z] Removing intermediate container 903bc2074173 [2023-08-25T23:08:51.292Z] ---> 97f5e1c1441c [2023-08-25T23:08:51.292Z] Step 31/36 : EXPOSE 8554 [2023-08-25T23:08:51.292Z] ---> Running in 63e236411279 [2023-08-25T23:08:51.558Z] Removing intermediate container 63e236411279 [2023-08-25T23:08:51.558Z] ---> a59377b38bd8 [2023-08-25T23:08:51.558Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-25T23:08:51.558Z] ---> Running in adec3beec266 [2023-08-25T23:08:51.826Z] Removing intermediate container adec3beec266 [2023-08-25T23:08:51.826Z] ---> a317c0eed397 [2023-08-25T23:08:51.826Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-25T23:08:52.092Z] ---> Running in 5f149c5732a6 [2023-08-25T23:08:52.360Z] Removing intermediate container 5f149c5732a6 [2023-08-25T23:08:52.360Z] ---> f27f9fd076d0 [2023-08-25T23:08:52.360Z] Step 34/36 : LABEL arch=arm64 [2023-08-25T23:08:52.360Z] ---> Running in 39ab9950b895 [2023-08-25T23:08:52.626Z] Removing intermediate container 39ab9950b895 [2023-08-25T23:08:52.626Z] ---> afdf14146ede [2023-08-25T23:08:52.626Z] Step 35/36 : LABEL git_sha=9499fb83fe6abb5e78a80dfbc2a979056a706d6a [2023-08-25T23:08:52.626Z] ---> Running in 23d5f7357a48 [2023-08-25T23:08:52.894Z] Removing intermediate container 23d5f7357a48 [2023-08-25T23:08:52.894Z] ---> 4a976cb97b46 [2023-08-25T23:08:52.894Z] Step 36/36 : LABEL version=0.0.0 [2023-08-25T23:08:52.894Z] ---> Running in 1dd948e0290e [2023-08-25T23:08:53.160Z] Removing intermediate container 1dd948e0290e [2023-08-25T23:08:53.160Z] ---> 60883f072a42 [2023-08-25T23:08:53.160Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T23:08:53.426Z] Successfully built 60883f072a42 [2023-08-25T23:08:53.426Z] 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-25T23:08:53.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T23:08:53.851Z] [2023-08-25T23:08:53.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:08:54.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T23:08:54.175Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T23:08:54.175Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T23:08:54.175Z] 04944245beec: Pulling fs layer [2023-08-25T23:08:54.175Z] 699f458cf7ca: Pulling fs layer [2023-08-25T23:08:54.175Z] 765212b225bb: Pulling fs layer [2023-08-25T23:08:54.175Z] f23df028b6ca: Pulling fs layer [2023-08-25T23:08:54.175Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T23:08:54.175Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T23:08:54.175Z] f23df028b6ca: Waiting [2023-08-25T23:08:54.175Z] d65c8cfc05b1: Waiting [2023-08-25T23:08:54.175Z] 2437ff75d9bd: Waiting [2023-08-25T23:08:54.175Z] 765212b225bb: Waiting [2023-08-25T23:08:54.441Z] 04944245beec: Verifying Checksum [2023-08-25T23:08:54.441Z] 04944245beec: Download complete [2023-08-25T23:08:54.441Z] 765212b225bb: Verifying Checksum [2023-08-25T23:08:54.441Z] 765212b225bb: Download complete [2023-08-25T23:08:54.441Z] f23df028b6ca: Verifying Checksum [2023-08-25T23:08:54.441Z] f23df028b6ca: Download complete [2023-08-25T23:08:54.441Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T23:08:54.441Z] d65c8cfc05b1: Download complete [2023-08-25T23:08:54.441Z] 699f458cf7ca: Verifying Checksum [2023-08-25T23:08:54.441Z] 699f458cf7ca: Download complete [2023-08-25T23:08:55.024Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T23:08:55.024Z] 8998bd30e6a1: Download complete [2023-08-25T23:08:56.964Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T23:08:58.905Z] 8998bd30e6a1: Pull complete [2023-08-25T23:08:59.172Z] 04944245beec: Pull complete [2023-08-25T23:09:00.580Z] 699f458cf7ca: Pull complete [2023-08-25T23:09:00.846Z] 765212b225bb: Pull complete [2023-08-25T23:09:01.430Z] f23df028b6ca: Pull complete [2023-08-25T23:09:01.696Z] d65c8cfc05b1: Pull complete [2023-08-25T23:09:16.683Z] 2437ff75d9bd: Pull complete [2023-08-25T23:09:16.683Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T23:09:16.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T23:09:16.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T23:09:16.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container [2023-08-25T23:09:16.926Z] $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-25T23:09:19.286Z] $ docker top e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:19.786Z] ---> job-cost.sh [2023-08-25T23:09:20.051Z] lf-activate-venv: SKIPPING [2023-08-25T23:09:20.051Z] INFO: No Stack... [2023-08-25T23:09:20.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T23:09:21.208Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T23:09:21.522Z] + cat /w/workspace/device-usb-camera/7/archives/cost.csv [2023-08-25T23:09:21.522Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T23:09:21.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [2023-08-25T23:09:21.583Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] did not exist. Created. [2023-08-25T23:09:21.583Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T23:09:21.915Z] /w/workspace/device-usb-camera/7@tmp/durable-b31bdcdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T23:09:22.242Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T23:09:22.264Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T23:09:22.315Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T23:09:22.325Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T23:09:22.348Z] $ docker stop --time=1 e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 [2023-08-25T23:09:23.784Z] $ docker rm -f --volumes e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 [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-25T23:09:24.183Z] provisioning config files... [2023-08-25T23:09:24.191Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config17782463998454168004tmp [Pipeline] { [Pipeline] sh [2023-08-25T23:09:24.485Z] + set +x [2023-08-25T23:09:24.486Z] + curl -s https://codecov.io/bash [2023-08-25T23:09:24.486Z] + bash -s -- [2023-08-25T23:09:24.486Z] [2023-08-25T23:09:24.486Z] _____ _ [2023-08-25T23:09:24.486Z] / ____| | | [2023-08-25T23:09:24.486Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T23:09:24.486Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T23:09:24.486Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T23:09:24.486Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T23:09:24.486Z] Bash-1.0.6 [2023-08-25T23:09:24.486Z] [2023-08-25T23:09:24.486Z] [2023-08-25T23:09:24.486Z] ==> git version 2.25.1 found [2023-08-25T23:09:24.486Z] ==> 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-25T23:09:24.486Z] Release-Date: 2020-01-08 [2023-08-25T23:09:24.486Z] 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-25T23:09:24.486Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T23:09:24.486Z] ==> Jenkins CI detected. [2023-08-25T23:09:24.486Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-270 [2023-08-25T23:09:24.486Z] project root: . [2023-08-25T23:09:24.486Z] --> token set from env [2023-08-25T23:09:24.486Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T23:09:24.486Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T23:09:24.486Z] ==> Python coveragepy not found [2023-08-25T23:09:24.486Z] ==> Searching for coverage reports in: [2023-08-25T23:09:24.486Z] + . [2023-08-25T23:09:24.486Z] -> Found 1 reports [2023-08-25T23:09:24.486Z] ==> Detecting git/mercurial file structure [2023-08-25T23:09:24.745Z] ==> Reading reports [2023-08-25T23:09:24.745Z] + ./coverage.out bytes=54289 [2023-08-25T23:09:24.745Z] ==> Appending adjustments [2023-08-25T23:09:24.745Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T23:09:24.745Z] + Found adjustments [2023-08-25T23:09:24.745Z] ==> Gzipping contents [2023-08-25T23:09:24.745Z] 8.0K /tmp/codecov.rTn0Qi.gz [2023-08-25T23:09:24.745Z] ==> Uploading reports [2023-08-25T23:09:24.745Z] url: https://codecov.io [2023-08-25T23:09:24.745Z] query: branch=PR-270&commit=d50a08cd35ef33f35101904a56e129cbc2c80d52&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-25T23:09:24.745Z] -> Pinging Codecov [2023-08-25T23:09:24.745Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-270&commit=d50a08cd35ef33f35101904a56e129cbc2c80d52&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-08-25T23:09:25.005Z] -> Uploading to [2023-08-25T23:09:25.005Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/73D8F5FF140700D3E01443B452E23636/d50a08cd35ef33f35101904a56e129cbc2c80d52/fd6d1684-55fd-4980-b3f0-0d5b1629fc1c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T230924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45240a7e747e7a7d34689b663f9fb380e55f2e2ff3b31de45b00892f32408ce3 [2023-08-25T23:09:25.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T23:09:25.005Z] Dload Upload Total Spent Left Speed [2023-08-25T23:09:25.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6907 0 0 100 6907 0 34883 --:--:-- --:--:-- --:--:-- 34883 [2023-08-25T23:09:25.005Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] } [2023-08-25T23:09:25.014Z] 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-25T23:09:25.693Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-270/archives ] [2023-08-25T23:09:25.693Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-25T23:09:25.693Z] total 16 [2023-08-25T23:09:25.693Z] drwxr-xr-x 3 root root 4096 Aug 25 23:00 . [2023-08-25T23:09:25.693Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 23:00 .. [2023-08-25T23:09:25.693Z] drwxr-xr-x 2 root root 4096 Aug 25 23:00 cost [2023-08-25T23:09:25.693Z] -rw-r--r-- 1 root root 89 Aug 25 23:00 cost.csv [2023-08-25T23:09:25.693Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-25T23:09:25.693Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives [2023-08-25T23:09:25.693Z] total 16 [2023-08-25T23:09:25.693Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 23:00 . [2023-08-25T23:09:25.693Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 23:00 .. [2023-08-25T23:09:25.694Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 23:00 cost [2023-08-25T23:09:25.694Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 25 23:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:25.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:26.842Z] ---> package-listing.sh [2023-08-25T23:09:26.842Z] ++ facter osfamily [2023-08-25T23:09:26.842Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T23:09:27.102Z] + OS_FAMILY=debian [2023-08-25T23:09:27.102Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-270 [2023-08-25T23:09:27.102Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T23:09:27.102Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T23:09:27.102Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T23:09:27.102Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T23:09:27.102Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-25T23:09:27.102Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T23:09:27.102Z] + case "${OS_FAMILY}" in [2023-08-25T23:09:27.102Z] + dpkg -l [2023-08-25T23:09:27.102Z] + grep '^ii' [2023-08-25T23:09:27.102Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T23:09:27.102Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T23:09:27.102Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T23:09:27.102Z] + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' [2023-08-25T23:09:27.102Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-270/archives/ [2023-08-25T23:09:27.102Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-270/archives/ [Pipeline] echo [2023-08-25T23:09:27.113Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T23:09:27.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T23:09:28.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T23:09:28.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T23:09:29.549Z] prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container [2023-08-25T23:09:29.588Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T23:09:29.789Z] $ docker top 915b987f229b6bc1dd66673f7cf7c885645781108ab17570e2caf3a33a00532e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T23:09:30.125Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T23:09:30.410Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T23:09:30.694Z] + ls /var/log/sa-host [2023-08-25T23:09:30.694Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T23:09:30.763Z] provisioning config files... [2023-08-25T23:09:30.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config13309458528464604929tmp [Pipeline] { [Pipeline] echo [2023-08-25T23:09:30.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:31.059Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T23:09:31.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:31.406Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T23:09:31.415Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:31.698Z] ---> sudo-logs.sh [2023-08-25T23:09:31.698Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T23:09:31.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:32.005Z] ---> job-cost.sh [2023-08-25T23:09:32.005Z] lf-activate-venv: SKIPPING [2023-08-25T23:09:32.005Z] DEBUG: total: 0.2199999988079071 [2023-08-25T23:09:32.005Z] INFO: Retrieving Stack Cost... [2023-08-25T23:09:32.575Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T23:09:32.834Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T23:09:32.845Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T23:09:33.126Z] ---> logs-deploy.sh [2023-08-25T23:09:33.126Z] lf-activate-venv: SKIPPING [2023-08-25T23:09:33.126Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-270/7 [2023-08-25T23:09:33.126Z] INFO: archiving workspace using pattern(s): [2023-08-25T23:09:34.060Z] Archives upload complete. [2023-08-25T23:09:34.060Z] INFO: archiving logs to Nexus