Pull request #218 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 weichou1229 for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 50a7cc5d6a1f377e0bc5e576675709a0c30ba150+f433dd4a7f716b42d434c791f0c601cda98ab1b1 (f084eda72ef79afb5a4b2708311d19d8fdfe89f5) 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-ssh12322433708722230393.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5172135593070008947.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-218/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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17551439142676868745.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11405682531916519468.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-218/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-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15770805308834234266.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9042 in /w/workspace/foundry_device-usb-camera_PR-218 [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-218 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 Merge succeeded, producing 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 Checking out Revision 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 (PR-218) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 # 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 f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk 48f6d718639dd3efff29721b1202f4dcb7e1dd07 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T02:57:15.908Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T02:57:15.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T02:57:16.004Z] ========================================================= [2023-04-19T02:57:16.004Z] EdgeX Global Pipelines Version Info [2023-04-19T02:57:16.004Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:57:16.754Z] ------------------- [2023-04-19T02:57:16.754Z] stable info: [2023-04-19T02:57:16.754Z] ------------------- [2023-04-19T02:57:16.754Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T02:57:16.754Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T02:57:16.754Z] Message: update stable to v1.0.248 [2023-04-19T02:57:17.323Z] ------------------- [2023-04-19T02:57:17.323Z] experimental info: [2023-04-19T02:57:17.323Z] ------------------- [2023-04-19T02:57:17.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T02:57:17.323Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T02:57:17.323Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T02:57:17.526Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-19T02:57:17.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-19T02:57:17.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T02:57:17.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T02:57:17.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T02:57:17.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T02:57:17.616Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T02:57:17.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T02:57:17.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T02:57:17.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T02:57:17.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T02:57:17.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-19T02:57:17.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T02:57:17.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T02:57:17.752Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T02:57:17.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T02:57:17.783Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T02:57:17.798Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T02:57:17.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T02:57:17.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T02:57:17.844Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-19T02:57:17.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-19T02:57:17.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T02:57:17.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T02:57:17.908Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T02:57:17.923Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T02:57:17.938Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T02:57:17.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo [2023-04-19T02:57:17.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo [2023-04-19T02:57:17.986Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo [2023-04-19T02:57:18.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [Pipeline] echo [2023-04-19T02:57:18.015Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50a7cc5 [Pipeline] echo [2023-04-19T02:57:18.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T02:57:18.090Z] provisioning config files... [2023-04-19T02:57:18.106Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config14402690359197313425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:57:18.419Z] ---> docker-login.sh [2023-04-19T02:57:18.419Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:57:18.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:18.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:18.681Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:18.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:18.681Z] [2023-04-19T02:57:18.681Z] Login Succeeded [2023-04-19T02:57:18.681Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:57:18.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:18.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:18.940Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:18.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:18.940Z] [2023-04-19T02:57:18.940Z] Login Succeeded [2023-04-19T02:57:18.940Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:57:18.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:18.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:18.940Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:18.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:18.940Z] [2023-04-19T02:57:18.940Z] Login Succeeded [2023-04-19T02:57:18.940Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:57:19.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:19.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:19.200Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:19.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:19.200Z] [2023-04-19T02:57:19.200Z] Login Succeeded [2023-04-19T02:57:19.200Z] docker.io [2023-04-19T02:57:19.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:19.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:19.460Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:19.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:19.460Z] [2023-04-19T02:57:19.460Z] Login Succeeded [2023-04-19T02:57:19.460Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:57:19.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T02:57:19.948Z] + git rev-list -1 --merges 50a7cc5d6a1f377e0bc5e576675709a0c30ba150~1..50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [Pipeline] echo [2023-04-19T02:57:20.017Z] -----------> git rev-list -1 --merges 50a7cc5d6a1f377e0bc5e576675709a0c30ba150~1..50a7cc5d6a1f377e0bc5e576675709a0c30ba150 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [false] [Pipeline] sh [2023-04-19T02:57:20.324Z] + git log --format=format:%s -1 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [Pipeline] echo [2023-04-19T02:57:20.342Z] ========================================================= [2023-04-19T02:57:20.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T02:57:20.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:57:20.721Z] + git log --format=format:%s -1 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [Pipeline] echo [2023-04-19T02:57:20.732Z] [semverPrep] GIT_COMMIT: 50a7cc5d6a1f377e0bc5e576675709a0c30ba150, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-19T02:57:20.744Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T02:57:21.286Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T02:57:21.286Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T02:57:21.286Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T02:57:21.286Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T02:57:21.286Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T02:57:21.286Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T02:57:21.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:57:21.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:57:21.851Z] [2023-04-19T02:57:21.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:57:22.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:57:22.177Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T02:57:22.177Z] b85a868b505f: Pulling fs layer [2023-04-19T02:57:22.177Z] e2be974225ed: Pulling fs layer [2023-04-19T02:57:22.177Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T02:57:22.177Z] 988bab9f4d93: Pulling fs layer [2023-04-19T02:57:22.177Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T02:57:22.177Z] eaf3925da568: Pulling fs layer [2023-04-19T02:57:22.177Z] bab4dde63d76: Pulling fs layer [2023-04-19T02:57:22.177Z] bde34c3a00c8: Pulling fs layer [2023-04-19T02:57:22.177Z] b352a97aabf1: Pulling fs layer [2023-04-19T02:57:22.177Z] 4872d77fe225: Pulling fs layer [2023-04-19T02:57:22.177Z] 5851b861e8e6: Pulling fs layer [2023-04-19T02:57:22.177Z] bab4dde63d76: Waiting [2023-04-19T02:57:22.177Z] bde34c3a00c8: Waiting [2023-04-19T02:57:22.177Z] 988bab9f4d93: Waiting [2023-04-19T02:57:22.177Z] b352a97aabf1: Waiting [2023-04-19T02:57:22.177Z] 4872d77fe225: Waiting [2023-04-19T02:57:22.177Z] 5851b861e8e6: Waiting [2023-04-19T02:57:22.177Z] 1469e6f7b9e6: Waiting [2023-04-19T02:57:22.177Z] eaf3925da568: Waiting [2023-04-19T02:57:22.440Z] e2be974225ed: Verifying Checksum [2023-04-19T02:57:22.440Z] e2be974225ed: Download complete [2023-04-19T02:57:22.440Z] 988bab9f4d93: Verifying Checksum [2023-04-19T02:57:22.440Z] 988bab9f4d93: Download complete [2023-04-19T02:57:22.704Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T02:57:22.704Z] 1469e6f7b9e6: Download complete [2023-04-19T02:57:22.704Z] eaf3925da568: Download complete [2023-04-19T02:57:22.704Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T02:57:22.704Z] 339a4e72a1f5: Download complete [2023-04-19T02:57:22.704Z] bde34c3a00c8: Verifying Checksum [2023-04-19T02:57:22.704Z] bde34c3a00c8: Download complete [2023-04-19T02:57:22.965Z] b352a97aabf1: Verifying Checksum [2023-04-19T02:57:22.965Z] b352a97aabf1: Download complete [2023-04-19T02:57:22.965Z] 4872d77fe225: Verifying Checksum [2023-04-19T02:57:22.965Z] 4872d77fe225: Download complete [2023-04-19T02:57:22.965Z] 5851b861e8e6: Verifying Checksum [2023-04-19T02:57:22.965Z] 5851b861e8e6: Download complete [2023-04-19T02:57:22.965Z] b85a868b505f: Verifying Checksum [2023-04-19T02:57:22.965Z] b85a868b505f: Download complete [2023-04-19T02:57:23.534Z] bab4dde63d76: Verifying Checksum [2023-04-19T02:57:23.534Z] bab4dde63d76: Download complete [2023-04-19T02:57:24.471Z] b85a868b505f: Pull complete [2023-04-19T02:57:24.471Z] e2be974225ed: Pull complete [2023-04-19T02:57:25.042Z] 339a4e72a1f5: Pull complete [2023-04-19T02:57:25.042Z] 988bab9f4d93: Pull complete [2023-04-19T02:57:25.302Z] 1469e6f7b9e6: Pull complete [2023-04-19T02:57:25.560Z] eaf3925da568: Pull complete [2023-04-19T02:57:27.470Z] bab4dde63d76: Pull complete [2023-04-19T02:57:27.470Z] bde34c3a00c8: Pull complete [2023-04-19T02:57:27.470Z] b352a97aabf1: Pull complete [2023-04-19T02:57:27.470Z] 4872d77fe225: Pull complete [2023-04-19T02:57:27.470Z] 5851b861e8e6: Pull complete [2023-04-19T02:57:27.470Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T02:57:27.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:57:27.730Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:57:27.857Z] prd-ubuntu20.04-docker-8c-8g-9042 does not seem to be running inside a container [2023-04-19T02:57:27.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@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-04-19T02:57:30.342Z] $ docker top a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 -eo pid,comm [2023-04-19T02:57:30.391Z] 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-04-19T02:57:30.391Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T02:57:30.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T02:57:30.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T02:57:30.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T02:57:30.590Z] $ docker exec a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 ssh-agent [2023-04-19T02:57:30.702Z] SSH_AUTH_SOCK=/tmp/ssh-wWUHOLvrcKLy/agent.32 [2023-04-19T02:57:30.702Z] SSH_AGENT_PID=38 [2023-04-19T02:57:30.709Z] Running ssh-add (command line suppressed) [2023-04-19T02:57:30.820Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_10668831975083773663.key (/w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_10668831975083773663.key) [2023-04-19T02:57:30.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T02:57:31.118Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T02:57:31.139Z] $ docker exec --env ******** --env ******** a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 ssh-agent -k [2023-04-19T02:57:31.235Z] unset SSH_AUTH_SOCK; [2023-04-19T02:57:31.235Z] unset SSH_AGENT_PID; [2023-04-19T02:57:31.236Z] echo Agent pid 38 killed; [2023-04-19T02:57:31.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T02:57:31.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T02:57:31.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T02:57:31.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T02:57:31.432Z] $ docker exec a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 ssh-agent [2023-04-19T02:57:31.540Z] SSH_AUTH_SOCK=/tmp/ssh-ezy1aYNhLF7Q/agent.70 [2023-04-19T02:57:31.541Z] SSH_AGENT_PID=76 [2023-04-19T02:57:31.545Z] Running ssh-add (command line suppressed) [2023-04-19T02:57:31.661Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_9759326305501474857.key (/w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_9759326305501474857.key) [2023-04-19T02:57:31.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T02:57:31.980Z] + git semver init [2023-04-19T02:57:32.240Z] 2023-04-19 02:57:32,166 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T02:57:32.240Z] 2023-04-19 02:57:32,166 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-218/.semver [2023-04-19T02:57:32.240Z] 2023-04-19 02:57:32,167 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-218/.semver [2023-04-19T02:57:32.240Z] 2023-04-19 02:57:32,167 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-218/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-218, universal_newlines=False, shell=None, istream=None) [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,860 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-218/.git/info/exclude [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 with force:False [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,861 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,867 [execute] INFO git cat-file --batch-check [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,875 [execute] INFO git cat-file --batch [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T02:57:33.229Z] 2023-04-19 02:57:32,881 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 [2023-04-19T02:57:33.229Z] 0.0.0 [Pipeline] } [2023-04-19T02:57:33.260Z] $ docker exec --env ******** --env ******** a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 ssh-agent -k [2023-04-19T02:57:33.366Z] unset SSH_AUTH_SOCK; [2023-04-19T02:57:33.366Z] unset SSH_AGENT_PID; [2023-04-19T02:57:33.367Z] echo Agent pid 76 killed; [2023-04-19T02:57:33.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T02:57:33.718Z] + git semver [Pipeline] } [2023-04-19T02:57:34.006Z] $ docker stop --time=1 a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 [2023-04-19T02:57:35.306Z] $ docker rm -f --volumes a3cc3c3ecf151d4ab1c8e1515b4c588bfd503e54194beeca8a324180e99f2ba8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:57:35.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T02:57:35.943Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T02:57:35.953Z] [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-04-19T02:57:36.271Z] provisioning config files... [2023-04-19T02:57:36.283Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config12014305473398598642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:57:36.626Z] ---> docker-login.sh [2023-04-19T02:57:36.626Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:57:36.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:36.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:36.626Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:36.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:36.626Z] [2023-04-19T02:57:36.626Z] Login Succeeded [2023-04-19T02:57:36.626Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:57:36.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:36.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:36.626Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:36.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:36.626Z] [2023-04-19T02:57:36.626Z] Login Succeeded [2023-04-19T02:57:36.885Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:57:36.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:36.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:36.885Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:36.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:36.885Z] [2023-04-19T02:57:36.885Z] Login Succeeded [2023-04-19T02:57:36.885Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:57:36.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:36.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:36.885Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:36.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:36.885Z] [2023-04-19T02:57:36.885Z] Login Succeeded [2023-04-19T02:57:36.885Z] docker.io [2023-04-19T02:57:37.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:57:37.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:57:37.404Z] Configure a credential helper to remove this warning. See [2023-04-19T02:57:37.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:57:37.404Z] [2023-04-19T02:57:37.404Z] Login Succeeded [2023-04-19T02:57:37.404Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:57:37.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T02:57:37.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:57:37.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:57:37.548Z] ========================================================= [2023-04-19T02:57:37.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T02:57:37.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:57:37.971Z] + 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-04-19T02:57:37.971Z] Sending build context to Docker daemon 1.905MB [2023-04-19T02:57:37.971Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:57:37.971Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-19T02:57:37.971Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T02:57:37.971Z] 63b65145d645: Pulling fs layer [2023-04-19T02:57:37.971Z] a2d21d5440eb: Pulling fs layer [2023-04-19T02:57:37.971Z] 935e6c44a52c: Pulling fs layer [2023-04-19T02:57:37.971Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T02:57:37.971Z] 30dea6a524f1: Pulling fs layer [2023-04-19T02:57:37.971Z] a2aff8979fd8: Pulling fs layer [2023-04-19T02:57:37.971Z] 6808be2612f2: Pulling fs layer [2023-04-19T02:57:37.971Z] f25807f1079a: Pulling fs layer [2023-04-19T02:57:37.971Z] 94cc34f8dd06: Waiting [2023-04-19T02:57:37.971Z] 30dea6a524f1: Waiting [2023-04-19T02:57:37.971Z] a2aff8979fd8: Waiting [2023-04-19T02:57:37.971Z] 6808be2612f2: Waiting [2023-04-19T02:57:37.971Z] f25807f1079a: Waiting [2023-04-19T02:57:37.971Z] a2d21d5440eb: Download complete [2023-04-19T02:57:37.971Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T02:57:37.971Z] 94cc34f8dd06: Download complete [2023-04-19T02:57:37.971Z] 30dea6a524f1: Verifying Checksum [2023-04-19T02:57:37.971Z] 30dea6a524f1: Download complete [2023-04-19T02:57:38.231Z] 63b65145d645: Verifying Checksum [2023-04-19T02:57:38.231Z] 63b65145d645: Download complete [2023-04-19T02:57:38.496Z] a2aff8979fd8: Verifying Checksum [2023-04-19T02:57:38.497Z] a2aff8979fd8: Download complete [2023-04-19T02:57:38.497Z] 63b65145d645: Pull complete [2023-04-19T02:57:38.497Z] a2d21d5440eb: Pull complete [2023-04-19T02:57:39.880Z] 935e6c44a52c: Verifying Checksum [2023-04-19T02:57:39.880Z] 935e6c44a52c: Download complete [2023-04-19T02:57:40.139Z] f25807f1079a: Verifying Checksum [2023-04-19T02:57:40.139Z] f25807f1079a: Download complete [2023-04-19T02:57:40.396Z] 6808be2612f2: Verifying Checksum [2023-04-19T02:57:40.396Z] 6808be2612f2: Download complete [2023-04-19T02:57:43.697Z] 935e6c44a52c: Pull complete [2023-04-19T02:57:43.697Z] 94cc34f8dd06: Pull complete [2023-04-19T02:57:43.697Z] 30dea6a524f1: Pull complete [2023-04-19T02:57:43.697Z] a2aff8979fd8: Pull complete [2023-04-19T02:57:46.243Z] 6808be2612f2: Pull complete [2023-04-19T02:57:46.821Z] f25807f1079a: Pull complete [2023-04-19T02:57:46.821Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T02:57:46.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T02:57:46.821Z] ---> 3b553350e43f [2023-04-19T02:57:46.821Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:57:51.106Z] ---> Running in 198749ddfeea [2023-04-19T02:57:51.106Z] Removing intermediate container 198749ddfeea [2023-04-19T02:57:51.106Z] ---> 91c7d773824f [2023-04-19T02:57:51.106Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:57:51.106Z] ---> Running in bc3e3889fe87 [2023-04-19T02:57:51.106Z] Removing intermediate container bc3e3889fe87 [2023-04-19T02:57:51.106Z] ---> 534977faaccd [2023-04-19T02:57:51.106Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-19T02:57:51.106Z] ---> Running in d16f1fdea46d [2023-04-19T02:57:51.106Z] Removing intermediate container d16f1fdea46d [2023-04-19T02:57:51.106Z] ---> d13ba725b5b1 [2023-04-19T02:57:51.106Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-19T02:57:51.106Z] ---> Running in ca9d84c8dafa [2023-04-19T02:57:51.106Z] Removing intermediate container ca9d84c8dafa [2023-04-19T02:57:51.106Z] ---> c2abe2b34d92 [2023-04-19T02:57:51.106Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:57:51.106Z] ---> Running in beb833375418 [2023-04-19T02:57:51.193Z] Still waiting to schedule task [2023-04-19T02:57:51.193Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-19T02:57:51.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:57:51.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:57:51.625Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-19T02:57:51.625Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-19T02:57:51.625Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-19T02:57:51.887Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-19T02:57:51.887Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-19T02:57:51.887Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-19T02:57:51.887Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-19T02:57:51.887Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-19T02:57:51.887Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-19T02:57:51.887Z] (10/14) Installing kmod-libs (30-r1) [2023-04-19T02:57:51.887Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-19T02:57:51.887Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-19T02:57:51.887Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-19T02:57:51.887Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-19T02:57:51.887Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:57:51.887Z] Executing eudev-3.2.11-r4.trigger [2023-04-19T02:57:51.887Z] OK: 272 MiB in 67 packages [2023-04-19T02:57:52.457Z] Removing intermediate container beb833375418 [2023-04-19T02:57:52.457Z] ---> 4f648461153e [2023-04-19T02:57:52.457Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-19T02:57:52.716Z] ---> Running in 3da24b6c50fa [2023-04-19T02:57:52.716Z] Removing intermediate container 3da24b6c50fa [2023-04-19T02:57:52.716Z] ---> 0194742821f9 [2023-04-19T02:57:52.716Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-19T02:57:52.716Z] ---> a064cb3810f3 [2023-04-19T02:57:52.716Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:57:52.716Z] ---> Running in b8835ae56d66 [2023-04-19T02:58:24.969Z] Removing intermediate container b8835ae56d66 [2023-04-19T02:58:24.969Z] ---> 6b2418da5ab9 [2023-04-19T02:58:24.969Z] Step 11/13 : COPY . . [2023-04-19T02:58:25.540Z] ---> 3c6e0bed2e43 [2023-04-19T02:58:25.540Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-19T02:58:25.540Z] ---> Running in 4f5fe5063278 [2023-04-19T02:58:25.540Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:58:25.540Z] Dload Upload Total Spent Left Speed [2023-04-19T02:58:25.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8855 0 --:--:-- --:--:-- --:--:-- 8924 [2023-04-19T02:58:26.059Z] Removing intermediate container 4f5fe5063278 [2023-04-19T02:58:26.059Z] ---> 65aacb5c1430 [2023-04-19T02:58:26.059Z] Step 13/13 : RUN ${MAKE} [2023-04-19T02:58:26.059Z] ---> Running in 9f96bc7f41e9 [2023-04-19T02:58:26.317Z] noop [2023-04-19T02:58:26.577Z] Removing intermediate container 9f96bc7f41e9 [2023-04-19T02:58:26.577Z] ---> 5edc70b4fdc5 [2023-04-19T02:58:26.577Z] Successfully built 5edc70b4fdc5 [2023-04-19T02:58:26.577Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:58:26.905Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:58:26.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:58:26.998Z] prd-ubuntu20.04-docker-8c-8g-9042 does not seem to be running inside a container [2023-04-19T02:58:27.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@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-04-19T02:58:27.398Z] $ docker top f151131c81e6a8dc0d38ca7d7668e588d8b6fda69a784ec6684397652550942b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:58:27.747Z] + go version [2023-04-19T02:58:27.747Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T02:58:27.764Z] $ docker stop --time=1 f151131c81e6a8dc0d38ca7d7668e588d8b6fda69a784ec6684397652550942b [2023-04-19T02:58:29.021Z] $ docker rm -f --volumes f151131c81e6a8dc0d38ca7d7668e588d8b6fda69a784ec6684397652550942b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:58:29.478Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:58:29.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:58:29.561Z] prd-ubuntu20.04-docker-8c-8g-9042 does not seem to be running inside a container [2023-04-19T02:58:29.635Z] $ 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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@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-04-19T02:58:29.994Z] $ docker top 95da40948770da9e17faceb556012917b07297ebb785a4bd6632389ccb3d2f27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:58:30.365Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-218 [Pipeline] fileExists [Pipeline] sh [2023-04-19T02:58:30.679Z] + make test [2023-04-19T02:58:30.679Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T02:58:36.003Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-19T02:58:45.987Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-19T02:58:45.987Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 2.0% of statements [2023-04-19T02:58:52.557Z] go vet ./... [2023-04-19T02:58:55.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T02:58:55.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T02:58:55.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T02:58:55.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T02:58:55.871Z] $ docker stop --time=1 95da40948770da9e17faceb556012917b07297ebb785a4bd6632389ccb3d2f27 [2023-04-19T02:58:59.187Z] $ docker rm -f --volumes 95da40948770da9e17faceb556012917b07297ebb785a4bd6632389ccb3d2f27 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:58:59.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T02:58:59.698Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-19T02:59:00.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T02:59:01.173Z] + ls -al . [2023-04-19T02:59:01.173Z] total 192 [2023-04-19T02:59:01.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 02:58 . [2023-04-19T02:59:01.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:57 .. [2023-04-19T02:59:01.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:57 .git [2023-04-19T02:59:01.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:57 .github [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 02:57 .gitignore [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 02:57 .golangci.yml [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 02:57 .hadolint.yml [2023-04-19T02:59:01.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:57 .semver [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 02:57 Attribution.txt [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 02:57 CHANGELOG.md [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 02:57 Dockerfile [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:57 GOVERNANCE.md [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 02:57 Jenkinsfile [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 02:57 LICENSE [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 02:57 Makefile [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 02:57 OWNERS.md [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 02:57 README.md [2023-04-19T02:59:01.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:57 VERSION [2023-04-19T02:59:01.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:57 bin [2023-04-19T02:59:01.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:57 cmd [2023-04-19T02:59:01.173Z] -rw-r--r-- 1 jenkins jenkins 28693 Apr 19 02:58 coverage.out [2023-04-19T02:59:01.173Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 02:57 docker-entrypoint.sh [2023-04-19T02:59:01.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:57 docs [2023-04-19T02:59:01.174Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 02:57 go.mod [2023-04-19T02:59:01.174Z] -rw-rw-r-- 1 jenkins jenkins 31713 Apr 19 02:57 go.sum [2023-04-19T02:59:01.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:57 internal [2023-04-19T02:59:01.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:57 snap [2023-04-19T02:59:01.174Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:59:01.613Z] + 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=50a7cc5d6a1f377e0bc5e576675709a0c30ba150 --label arch=amd64 --label version=0.0.0 . [2023-04-19T02:59:01.613Z] Sending build context to Docker daemon 1.935MB [2023-04-19T02:59:01.613Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:59:01.613Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-19T02:59:01.613Z] ---> 5edc70b4fdc5 [2023-04-19T02:59:01.613Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:59:01.613Z] ---> Running in 157095c700d2 [2023-04-19T02:59:01.891Z] Removing intermediate container 157095c700d2 [2023-04-19T02:59:01.891Z] ---> 90d26abb507a [2023-04-19T02:59:01.891Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:59:01.891Z] ---> Running in 7d38f1f5c834 [2023-04-19T02:59:01.891Z] Removing intermediate container 7d38f1f5c834 [2023-04-19T02:59:01.891Z] ---> 8130645adbc3 [2023-04-19T02:59:01.891Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-19T02:59:01.891Z] ---> Running in cc34c7175634 [2023-04-19T02:59:01.891Z] Removing intermediate container cc34c7175634 [2023-04-19T02:59:01.891Z] ---> c671e076e17e [2023-04-19T02:59:01.891Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-19T02:59:01.891Z] ---> Running in 1ca910f0f1b8 [2023-04-19T02:59:02.150Z] Removing intermediate container 1ca910f0f1b8 [2023-04-19T02:59:02.150Z] ---> 10c8c16cf78f [2023-04-19T02:59:02.150Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:59:02.150Z] ---> Running in ca5cedd536db [2023-04-19T02:59:02.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:59:02.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:59:02.669Z] OK: 272 MiB in 67 packages [2023-04-19T02:59:03.236Z] Removing intermediate container ca5cedd536db [2023-04-19T02:59:03.236Z] ---> 3b819aa066cf [2023-04-19T02:59:03.236Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-19T02:59:03.236Z] ---> Running in 4d1cf9246287 [2023-04-19T02:59:03.236Z] Removing intermediate container 4d1cf9246287 [2023-04-19T02:59:03.236Z] ---> 47e7dd13aa04 [2023-04-19T02:59:03.236Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-19T02:59:03.236Z] ---> 0d3544a3d60e [2023-04-19T02:59:03.236Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:59:03.236Z] ---> Running in 363da8bbaafb [2023-04-19T02:59:04.180Z] Removing intermediate container 363da8bbaafb [2023-04-19T02:59:04.180Z] ---> 8f07aadade76 [2023-04-19T02:59:04.180Z] Step 11/35 : COPY . . [2023-04-19T02:59:04.439Z] ---> 156b5eb0deb0 [2023-04-19T02:59:04.439Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-19T02:59:04.439Z] ---> Running in 937cedf8e9bf [2023-04-19T02:59:04.708Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:59:04.708Z] Dload Upload Total Spent Left Speed [2023-04-19T02:59:04.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21146 0 --:--:-- --:--:-- --:--:-- 21240 [2023-04-19T02:59:04.984Z] Removing intermediate container 937cedf8e9bf [2023-04-19T02:59:04.984Z] ---> d01c64d91d5e [2023-04-19T02:59:04.984Z] Step 13/35 : RUN ${MAKE} [2023-04-19T02:59:04.984Z] ---> Running in 97cf92b7c4ec [2023-04-19T02:59:05.241Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-04-19T02:59:27.238Z] Removing intermediate container 97cf92b7c4ec [2023-04-19T02:59:27.238Z] ---> 37a6b26d1c57 [2023-04-19T02:59:27.238Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-19T02:59:27.238Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-19T02:59:27.238Z] 4acc49c71d14: Pulling fs layer [2023-04-19T02:59:27.238Z] 4acc49c71d14: Verifying Checksum [2023-04-19T02:59:27.238Z] 4acc49c71d14: Download complete [2023-04-19T02:59:27.238Z] 4acc49c71d14: Pull complete [2023-04-19T02:59:27.238Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-19T02:59:27.238Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-19T02:59:27.238Z] ---> 01a2bd3e5fff [2023-04-19T02:59:27.238Z] Step 15/35 : FROM alpine:3.17 [2023-04-19T02:59:27.238Z] 3.17: Pulling from library/alpine [2023-04-19T02:59:27.238Z] f56be85fc22e: Pulling fs layer [2023-04-19T02:59:27.238Z] f56be85fc22e: Download complete [2023-04-19T02:59:27.238Z] f56be85fc22e: Pull complete [2023-04-19T02:59:27.238Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T02:59:27.238Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T02:59:27.238Z] ---> 9ed4aefc74f6 [2023-04-19T02:59:27.238Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-19T02:59:27.807Z] ---> Running in 541c76b8a717 [2023-04-19T02:59:27.807Z] Removing intermediate container 541c76b8a717 [2023-04-19T02:59:27.807Z] ---> a4d080542960 [2023-04-19T02:59:27.807Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-19T02:59:27.807Z] ---> Running in 3bc9328b67da [2023-04-19T02:59:28.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:59:28.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:59:28.335Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-04-19T02:59:28.335Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-04-19T02:59:28.335Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-04-19T02:59:28.595Z] (4/86) Installing libxau (1.0.10-r0) [2023-04-19T02:59:28.595Z] (5/86) Installing libmd (1.0.4-r0) [2023-04-19T02:59:28.595Z] (6/86) Installing libbsd (0.11.7-r0) [2023-04-19T02:59:28.595Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-04-19T02:59:28.595Z] (8/86) Installing libxcb (1.15-r0) [2023-04-19T02:59:28.595Z] (9/86) Installing libx11 (1.8.4-r0) [2023-04-19T02:59:28.595Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-04-19T02:59:28.595Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-04-19T02:59:28.595Z] (12/86) Installing libexpat (2.5.0-r0) [2023-04-19T02:59:28.595Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-04-19T02:59:28.595Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-04-19T02:59:28.868Z] (15/86) Installing libpng (1.6.38-r0) [2023-04-19T02:59:28.868Z] (16/86) Installing freetype (2.12.1-r0) [2023-04-19T02:59:28.868Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-04-19T02:59:28.868Z] (18/86) Installing fribidi (1.0.12-r0) [2023-04-19T02:59:28.868Z] (19/86) Installing libffi (3.4.4-r0) [2023-04-19T02:59:28.868Z] (20/86) Installing libintl (0.21.1-r1) [2023-04-19T02:59:28.868Z] (21/86) Installing libblkid (2.38.1-r1) [2023-04-19T02:59:28.868Z] (22/86) Installing libmount (2.38.1-r1) [2023-04-19T02:59:28.868Z] (23/86) Installing pcre2 (10.42-r0) [2023-04-19T02:59:28.868Z] (24/86) Installing glib (2.74.6-r0) [2023-04-19T02:59:28.868Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-04-19T02:59:28.868Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-04-19T02:59:28.868Z] (27/86) Installing libass (0.16.0-r1) [2023-04-19T02:59:28.868Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-04-19T02:59:28.868Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-04-19T02:59:28.868Z] (30/86) Installing libpciaccess (0.17-r0) [2023-04-19T02:59:28.868Z] (31/86) Installing libdrm (2.4.114-r0) [2023-04-19T02:59:28.868Z] (32/86) Installing gmp (6.2.1-r2) [2023-04-19T02:59:28.868Z] (33/86) Installing nettle (3.8.1-r0) [2023-04-19T02:59:28.868Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-04-19T02:59:28.868Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-04-19T02:59:28.868Z] (36/86) Installing libunistring (1.1-r0) [2023-04-19T02:59:29.135Z] (37/86) Installing gnutls (3.7.8-r3) [2023-04-19T02:59:29.135Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-19T02:59:29.135Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-19T02:59:29.135Z] (40/86) Installing lame (3.100-r2) [2023-04-19T02:59:29.135Z] (41/86) Installing opus (1.3.1-r1) [2023-04-19T02:59:29.135Z] (42/86) Installing libasyncns (0.8-r1) [2023-04-19T02:59:29.135Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-04-19T02:59:29.135Z] (44/86) Installing libltdl (2.4.7-r1) [2023-04-19T02:59:29.135Z] (45/86) Installing orc (0.4.33-r0) [2023-04-19T02:59:29.135Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-04-19T02:59:29.135Z] (47/86) Installing libogg (1.3.5-r2) [2023-04-19T02:59:29.135Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-19T02:59:29.135Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-04-19T02:59:29.135Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-04-19T02:59:29.135Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-04-19T02:59:29.135Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-04-19T02:59:29.135Z] (53/86) Installing soxr (0.1.3-r3) [2023-04-19T02:59:29.135Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-04-19T02:59:29.135Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-04-19T02:59:29.135Z] (56/86) Installing libpulse (16.1-r6) [2023-04-19T02:59:29.135Z] (57/86) Installing cjson (1.7.15-r3) [2023-04-19T02:59:29.135Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-04-19T02:59:29.135Z] (59/86) Installing librist (0.2.7-r0) [2023-04-19T02:59:29.135Z] (60/86) Installing libsrt (1.5.1-r0) [2023-04-19T02:59:29.135Z] (61/86) Installing libssh (0.10.4-r0) [2023-04-19T02:59:29.135Z] (62/86) Installing libtheora (1.1.1-r16) [2023-04-19T02:59:29.393Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-04-19T02:59:29.393Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-04-19T02:59:29.393Z] (65/86) Installing libxext (1.3.5-r0) [2023-04-19T02:59:29.393Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-04-19T02:59:29.393Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-04-19T02:59:29.393Z] (68/86) Installing libva (2.16.0-r0) [2023-04-19T02:59:29.393Z] (69/86) Installing libvdpau (1.5-r0) [2023-04-19T02:59:29.393Z] (70/86) Installing vidstab (1.1.0-r2) [2023-04-19T02:59:29.393Z] (71/86) Installing libvpx (1.12.0-r1) [2023-04-19T02:59:29.393Z] (72/86) Installing libwebp (1.2.4-r1) [2023-04-19T02:59:29.393Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-04-19T02:59:29.393Z] (74/86) Installing numactl (2.0.16-r1) [2023-04-19T02:59:29.393Z] (75/86) Installing x265-libs (3.5-r3) [2023-04-19T02:59:29.393Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-04-19T02:59:29.393Z] (77/86) Installing libsodium (1.0.18-r2) [2023-04-19T02:59:29.393Z] (78/86) Installing libzmq (4.3.4-r1) [2023-04-19T02:59:29.393Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-04-19T02:59:29.653Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-04-19T02:59:29.653Z] (81/86) Installing udev-init-scripts (35-r1) [2023-04-19T02:59:29.653Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-04-19T02:59:29.653Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-04-19T02:59:29.653Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-04-19T02:59:29.653Z] (85/86) Installing kmod-libs (30-r1) [2023-04-19T02:59:29.653Z] (86/86) Installing eudev (3.2.11-r4) [2023-04-19T02:59:29.653Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:59:29.653Z] Executing eudev-3.2.11-r4.trigger [2023-04-19T02:59:29.653Z] OK: 112 MiB in 101 packages [2023-04-19T02:59:32.204Z] Removing intermediate container 3bc9328b67da [2023-04-19T02:59:32.204Z] ---> 83a6bf0dd848 [2023-04-19T02:59:32.204Z] Step 18/35 : WORKDIR / [2023-04-19T02:59:32.204Z] ---> Running in 57e503213a01 [2023-04-19T02:59:32.204Z] Removing intermediate container 57e503213a01 [2023-04-19T02:59:32.204Z] ---> 6bcc290d03b5 [2023-04-19T02:59:32.204Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-19T02:59:32.833Z] ---> 893453a67c97 [2023-04-19T02:59:32.833Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-19T02:59:32.833Z] ---> 820130626024 [2023-04-19T02:59:32.833Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-19T02:59:33.093Z] ---> e3de04834e10 [2023-04-19T02:59:33.093Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-19T02:59:33.093Z] ---> 4917338bef78 [2023-04-19T02:59:33.093Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-19T02:59:33.353Z] ---> e02880cdf17e [2023-04-19T02:59:33.353Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-19T02:59:33.353Z] ---> c95209ba38f8 [2023-04-19T02:59:33.353Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-19T02:59:34.292Z] ---> 066025defad5 [2023-04-19T02:59:34.292Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-19T02:59:34.292Z] ---> Running in d32d6a665220 [2023-04-19T02:59:34.866Z] Removing intermediate container d32d6a665220 [2023-04-19T02:59:34.866Z] ---> b44447585c86 [2023-04-19T02:59:34.866Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-19T02:59:34.866Z] ---> Running in c14495914581 [2023-04-19T02:59:35.443Z] Removing intermediate container c14495914581 [2023-04-19T02:59:35.443Z] ---> 8a2eac971936 [2023-04-19T02:59:35.443Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-19T02:59:35.443Z] ---> Running in bf016e5d4571 [2023-04-19T02:59:36.025Z] Removing intermediate container bf016e5d4571 [2023-04-19T02:59:36.025Z] ---> 2c90ffd2643b [2023-04-19T02:59:36.025Z] Step 29/35 : EXPOSE 59983 [2023-04-19T02:59:36.025Z] ---> Running in a7ecd193ebb7 [2023-04-19T02:59:36.025Z] Removing intermediate container a7ecd193ebb7 [2023-04-19T02:59:36.025Z] ---> 479caefaaf0d [2023-04-19T02:59:36.025Z] Step 30/35 : EXPOSE 8554 [2023-04-19T02:59:36.286Z] ---> Running in 75af3f8e8d76 [2023-04-19T02:59:36.286Z] Removing intermediate container 75af3f8e8d76 [2023-04-19T02:59:36.286Z] ---> 513dd7272ec4 [2023-04-19T02:59:36.286Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-19T02:59:36.286Z] ---> Running in 968f889acd12 [2023-04-19T02:59:36.286Z] Removing intermediate container 968f889acd12 [2023-04-19T02:59:36.286Z] ---> 8d12d1bafc9d [2023-04-19T02:59:36.286Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-19T02:59:36.286Z] ---> Running in 2fdb53d89165 [2023-04-19T02:59:36.558Z] Removing intermediate container 2fdb53d89165 [2023-04-19T02:59:36.558Z] ---> e31120b1c252 [2023-04-19T02:59:36.558Z] Step 33/35 : LABEL arch=amd64 [2023-04-19T02:59:36.558Z] ---> Running in d80f76ab5580 [2023-04-19T02:59:36.558Z] Removing intermediate container d80f76ab5580 [2023-04-19T02:59:36.558Z] ---> 4dd9186030c3 [2023-04-19T02:59:36.558Z] Step 34/35 : LABEL git_sha=50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [2023-04-19T02:59:36.558Z] ---> Running in b3ead2e2d8f9 [2023-04-19T02:59:36.558Z] Removing intermediate container b3ead2e2d8f9 [2023-04-19T02:59:36.558Z] ---> 8498a87da2fe [2023-04-19T02:59:36.558Z] Step 35/35 : LABEL version=0.0.0 [2023-04-19T02:59:36.558Z] ---> Running in 101e0ff210b5 [2023-04-19T02:59:36.819Z] Removing intermediate container 101e0ff210b5 [2023-04-19T02:59:36.819Z] ---> 9ba65509c57a [2023-04-19T02:59:36.819Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T02:59:36.819Z] Successfully built 9ba65509c57a [2023-04-19T02:59:36.819Z] 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-04-19T02:59:37.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:59:37.386Z] [2023-04-19T02:59:37.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:59:37.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:59:37.692Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T02:59:37.692Z] 5eb5b503b376: Pulling fs layer [2023-04-19T02:59:37.692Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T02:59:37.692Z] ec43610c2a17: Pulling fs layer [2023-04-19T02:59:37.692Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T02:59:37.692Z] 33b1e0a273af: Pulling fs layer [2023-04-19T02:59:37.692Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T02:59:37.692Z] 2f39f015ded8: Pulling fs layer [2023-04-19T02:59:37.692Z] 5d3b04190fa2: Waiting [2023-04-19T02:59:37.692Z] 2f39f015ded8: Waiting [2023-04-19T02:59:37.692Z] 3a2ae6a8a46f: Waiting [2023-04-19T02:59:37.692Z] 33b1e0a273af: Waiting [2023-04-19T02:59:37.692Z] 5c69ac0246d0: Download complete [2023-04-19T02:59:37.692Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-19T02:59:37.692Z] 3a2ae6a8a46f: Download complete [2023-04-19T02:59:37.951Z] 33b1e0a273af: Verifying Checksum [2023-04-19T02:59:37.951Z] 33b1e0a273af: Download complete [2023-04-19T02:59:37.951Z] ec43610c2a17: Download complete [2023-04-19T02:59:38.209Z] 5eb5b503b376: Verifying Checksum [2023-04-19T02:59:38.209Z] 5eb5b503b376: Download complete [2023-04-19T02:59:39.152Z] 2f39f015ded8: Download complete [2023-04-19T02:59:39.411Z] 5eb5b503b376: Pull complete [2023-04-19T02:59:39.667Z] 5c69ac0246d0: Pull complete [2023-04-19T02:59:39.925Z] ec43610c2a17: Pull complete [2023-04-19T02:59:39.925Z] 3a2ae6a8a46f: Pull complete [2023-04-19T02:59:40.184Z] 33b1e0a273af: Pull complete [2023-04-19T02:59:40.184Z] 5d3b04190fa2: Pull complete [2023-04-19T02:59:44.369Z] 2f39f015ded8: Pull complete [2023-04-19T02:59:44.369Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T02:59:44.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:59:44.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:59:44.453Z] prd-ubuntu20.04-docker-8c-8g-9042 does not seem to be running inside a container [2023-04-19T02:59:44.489Z] $ 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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@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-04-19T02:59:47.846Z] $ docker top 89b2249d402cb522776adbd77a02807c9fd6ad7d6883efdcf012e0fdf0bbacf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:59:48.251Z] ---> job-cost.sh [2023-04-19T02:59:48.251Z] lf-activate-venv: SKIPPING [2023-04-19T02:59:48.251Z] INFO: No Stack... [2023-04-19T02:59:48.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T02:59:49.079Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T02:59:49.372Z] + cat /w/workspace/foundry_device-usb-camera_PR-218/archives/cost.csv [2023-04-19T02:59:49.372Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T02:59:49.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [2023-04-19T02:59:49.391Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] did not exist. Created. [2023-04-19T02:59:49.392Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T02:59:49.700Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T02:59:49.732Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T02:59:49.739Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T02:59:49.764Z] $ docker stop --time=1 89b2249d402cb522776adbd77a02807c9fd6ad7d6883efdcf012e0fdf0bbacf5 [2023-04-19T02:59:50.928Z] $ docker rm -f --volumes 89b2249d402cb522776adbd77a02807c9fd6ad7d6883efdcf012e0fdf0bbacf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T03:01:24.131Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9043 in /w/workspace/foundry_device-usb-camera_PR-218 [Pipeline] { [Pipeline] ws [2023-04-19T03:01:24.144Z] Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout [2023-04-19T03:01:24.186Z] Selected Git installation does not exist. Using Default [2023-04-19T03:01:24.186Z] The recommended git tool is: NONE [2023-04-19T03:01:30.167Z] using credential edgex-jenkins-ssh [2023-04-19T03:01:30.183Z] Cloning the remote Git repository [2023-04-19T03:01:30.238Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-19T03:01:30.347Z] > git init /w/workspace/device-usb-camera/4 # timeout=10 [2023-04-19T03:01:30.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-19T03:01:30.517Z] > git --version # timeout=10 [2023-04-19T03:01:30.537Z] > git --version # 'git version 2.25.1' [2023-04-19T03:01:30.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T03:01:30.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T03:01:31.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-19T03:01:31.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T03:01:32.985Z] Merging remotes/origin/main commit f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [2023-04-19T03:01:32.342Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-19T03:01:32.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-19T03:01:32.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T03:01:32.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-19T03:01:33.276Z] Merge succeeded, producing 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [2023-04-19T03:01:33.277Z] Checking out Revision 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 (PR-218) [2023-04-19T03:01:33.008Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T03:01:33.089Z] > git checkout -f 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 # timeout=10 [2023-04-19T03:01:33.189Z] > git remote # timeout=10 [2023-04-19T03:01:33.208Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T03:01:33.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T03:01:33.238Z] > git merge f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 [2023-04-19T03:01:33.264Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T03:01:33.288Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T03:01:33.302Z] > git checkout -f 50a7cc5d6a1f377e0bc5e576675709a0c30ba150 # timeout=10 [2023-04-19T03:01:36.807Z] Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T03:01:37.634Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T03:01:37.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T03:01:37.634Z] Dload Upload Total Spent Left Speed [2023-04-19T03:01:37.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-04-19T03:01:38.312Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T03:01:38.656Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T03:01:38.656Z] + sudo tee /etc/docker/daemon.new [2023-04-19T03:01:38.656Z] { [2023-04-19T03:01:38.656Z] "registry-mirrors": [ [2023-04-19T03:01:38.656Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T03:01:38.656Z] ], [2023-04-19T03:01:38.656Z] "bip": "10.250.0.254/24", [2023-04-19T03:01:38.656Z] "hosts": [ [2023-04-19T03:01:38.656Z] "tcp://0.0.0.0:5555", [2023-04-19T03:01:38.656Z] "unix:///var/run/docker.sock" [2023-04-19T03:01:38.656Z] ], [2023-04-19T03:01:38.656Z] "mtu": 1458, [2023-04-19T03:01:38.656Z] "selinux-enabled": true, [2023-04-19T03:01:38.656Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T03:01:38.656Z] } [Pipeline] sh [2023-04-19T03:01:38.988Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T03:01:39.325Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T03:02:01.447Z] provisioning config files... [2023-04-19T03:02:01.481Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config15034669578185479727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:02:01.832Z] ---> docker-login.sh [2023-04-19T03:02:01.832Z] nexus3.edgexfoundry.org:10001 [2023-04-19T03:02:02.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T03:02:02.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T03:02:02.379Z] Configure a credential helper to remove this warning. See [2023-04-19T03:02:02.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T03:02:02.379Z] [2023-04-19T03:02:02.379Z] Login Succeeded [2023-04-19T03:02:02.379Z] nexus3.edgexfoundry.org:10002 [2023-04-19T03:02:02.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T03:02:02.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T03:02:02.649Z] Configure a credential helper to remove this warning. See [2023-04-19T03:02:02.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T03:02:02.649Z] [2023-04-19T03:02:02.649Z] Login Succeeded [2023-04-19T03:02:02.649Z] nexus3.edgexfoundry.org:10003 [2023-04-19T03:02:02.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T03:02:03.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T03:02:03.185Z] Configure a credential helper to remove this warning. See [2023-04-19T03:02:03.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T03:02:03.185Z] [2023-04-19T03:02:03.185Z] Login Succeeded [2023-04-19T03:02:03.185Z] nexus3.edgexfoundry.org:10004 [2023-04-19T03:02:03.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T03:02:03.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T03:02:03.455Z] Configure a credential helper to remove this warning. See [2023-04-19T03:02:03.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T03:02:03.455Z] [2023-04-19T03:02:03.455Z] Login Succeeded [2023-04-19T03:02:03.455Z] docker.io [2023-04-19T03:02:03.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T03:02:03.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T03:02:03.989Z] Configure a credential helper to remove this warning. See [2023-04-19T03:02:03.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T03:02:03.989Z] [2023-04-19T03:02:03.989Z] Login Succeeded [2023-04-19T03:02:03.989Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T03:02:04.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T03:02:04.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T03:02:04.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T03:02:04.300Z] ========================================================= [2023-04-19T03:02:04.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T03:02:04.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:02:04.652Z] + 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-04-19T03:02:04.925Z] Sending build context to Docker daemon 1.226MB [2023-04-19T03:02:04.925Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T03:02:04.925Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-19T03:02:05.202Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T03:02:05.202Z] af6eaf76a39c: Pulling fs layer [2023-04-19T03:02:05.202Z] 55522c791124: Pulling fs layer [2023-04-19T03:02:05.202Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T03:02:05.202Z] 169dfbe0d373: Pulling fs layer [2023-04-19T03:02:05.202Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T03:02:05.202Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T03:02:05.202Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T03:02:05.202Z] e1ff8fa3b103: Waiting [2023-04-19T03:02:05.202Z] 169dfbe0d373: Waiting [2023-04-19T03:02:05.202Z] 52ebb69f0ebf: Waiting [2023-04-19T03:02:05.202Z] 5abe8eddf0d5: Waiting [2023-04-19T03:02:05.202Z] 55522c791124: Verifying Checksum [2023-04-19T03:02:05.202Z] 55522c791124: Download complete [2023-04-19T03:02:05.202Z] 169dfbe0d373: Verifying Checksum [2023-04-19T03:02:05.202Z] 169dfbe0d373: Download complete [2023-04-19T03:02:05.202Z] e1ff8fa3b103: Verifying Checksum [2023-04-19T03:02:05.202Z] e1ff8fa3b103: Download complete [2023-04-19T03:02:05.202Z] af6eaf76a39c: Verifying Checksum [2023-04-19T03:02:05.202Z] af6eaf76a39c: Download complete [2023-04-19T03:02:06.169Z] af6eaf76a39c: Pull complete [2023-04-19T03:02:06.169Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T03:02:06.169Z] 5abe8eddf0d5: Download complete [2023-04-19T03:02:06.757Z] 55522c791124: Pull complete [2023-04-19T03:02:07.719Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T03:02:07.719Z] ce5c4a1c91eb: Download complete [2023-04-19T03:02:07.719Z] 52ebb69f0ebf: Verifying Checksum [2023-04-19T03:02:07.719Z] 52ebb69f0ebf: Download complete [2023-04-19T03:02:17.825Z] ce5c4a1c91eb: Pull complete [2023-04-19T03:02:18.100Z] 169dfbe0d373: Pull complete [2023-04-19T03:02:18.369Z] e1ff8fa3b103: Pull complete [2023-04-19T03:02:25.051Z] 52ebb69f0ebf: Pull complete [2023-04-19T03:02:27.013Z] 5abe8eddf0d5: Pull complete [2023-04-19T03:02:27.013Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T03:02:27.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T03:02:27.013Z] ---> 6cb57ee374ae [2023-04-19T03:02:27.013Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-19T03:02:28.972Z] ---> Running in 5fc82bde1845 [2023-04-19T03:02:28.972Z] Removing intermediate container 5fc82bde1845 [2023-04-19T03:02:28.972Z] ---> 15164b228df2 [2023-04-19T03:02:28.972Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T03:02:28.972Z] ---> Running in 4674043b3a6a [2023-04-19T03:02:29.242Z] Removing intermediate container 4674043b3a6a [2023-04-19T03:02:29.242Z] ---> 52e8bb16bce1 [2023-04-19T03:02:29.242Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-19T03:02:29.509Z] ---> Running in 1b0d7a0dde79 [2023-04-19T03:02:29.778Z] Removing intermediate container 1b0d7a0dde79 [2023-04-19T03:02:29.778Z] ---> 81aec000d758 [2023-04-19T03:02:29.778Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-19T03:02:29.778Z] ---> Running in d4e25fa7405a [2023-04-19T03:02:30.048Z] Removing intermediate container d4e25fa7405a [2023-04-19T03:02:30.048Z] ---> 4bdefa436175 [2023-04-19T03:02:30.048Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T03:02:30.316Z] ---> Running in c3816002bc96 [2023-04-19T03:02:31.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T03:02:31.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T03:02:32.832Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-19T03:02:32.832Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-19T03:02:32.832Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-19T03:02:32.832Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-19T03:02:32.833Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-19T03:02:32.833Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-19T03:02:32.833Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-19T03:02:32.833Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-19T03:02:32.833Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-19T03:02:33.104Z] (10/14) Installing kmod-libs (30-r1) [2023-04-19T03:02:33.104Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-19T03:02:33.104Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-19T03:02:33.104Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-19T03:02:33.104Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-19T03:02:33.104Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T03:02:33.104Z] Executing eudev-3.2.11-r4.trigger [2023-04-19T03:02:33.104Z] OK: 271 MiB in 67 packages [2023-04-19T03:02:34.529Z] Removing intermediate container c3816002bc96 [2023-04-19T03:02:34.529Z] ---> ef680ff207f8 [2023-04-19T03:02:34.529Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-19T03:02:34.529Z] ---> Running in 8f25c7a8e72b [2023-04-19T03:02:34.797Z] Removing intermediate container 8f25c7a8e72b [2023-04-19T03:02:34.797Z] ---> 35c4a3b602d8 [2023-04-19T03:02:34.797Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-19T03:02:35.382Z] ---> f425305c0f00 [2023-04-19T03:02:35.382Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T03:02:35.382Z] ---> Running in b30f7ab234e4 [2023-04-19T03:04:12.036Z] Removing intermediate container b30f7ab234e4 [2023-04-19T03:04:12.036Z] ---> a917673fbae5 [2023-04-19T03:04:12.036Z] Step 11/13 : COPY . . [2023-04-19T03:04:12.036Z] ---> 6a9765a97f22 [2023-04-19T03:04:12.036Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-19T03:04:12.036Z] ---> Running in afa95f5f9dda [2023-04-19T03:04:12.036Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-04-19T03:04:12.036Z]  Dload Upload Total Spent Left Speed [2023-04-19T03:04:12.036Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3331 0 --:--:-- --:--:-- --:--:-- 3329 [2023-04-19T03:04:12.036Z] Removing intermediate container afa95f5f9dda [2023-04-19T03:04:12.036Z] ---> bc07faf8f1cc [2023-04-19T03:04:12.036Z] Step 13/13 : RUN ${MAKE} [2023-04-19T03:04:12.036Z] ---> Running in 36436f8a079b [2023-04-19T03:04:12.036Z] noop [2023-04-19T03:04:12.303Z] Removing intermediate container 36436f8a079b [2023-04-19T03:04:12.303Z] ---> 5d2303751323 [2023-04-19T03:04:12.303Z] Successfully built 5d2303751323 [2023-04-19T03:04:12.303Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:04:12.650Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T03:04:12.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T03:04:12.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-9043 does not seem to be running inside a container [2023-04-19T03:04:12.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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-04-19T03:04:14.093Z] $ docker top cb30a0403c4196a8b560e9447b645c413cfc18e3dae7ed50f864e7b4841c2d8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T03:04:14.897Z] + go version [2023-04-19T03:04:14.897Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T03:04:14.927Z] $ docker stop --time=1 cb30a0403c4196a8b560e9447b645c413cfc18e3dae7ed50f864e7b4841c2d8d [2023-04-19T03:04:16.521Z] $ docker rm -f --volumes cb30a0403c4196a8b560e9447b645c413cfc18e3dae7ed50f864e7b4841c2d8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:04:17.052Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T03:04:17.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T03:04:17.227Z] prd-ubuntu20.04-docker-arm64-4c-16g-9043 does not seem to be running inside a container [2023-04-19T03:04:17.295Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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-04-19T03:04:18.460Z] $ docker top 542766acd255baa961b978c013f14e1b2833249f88499cb4c733fe7cf7002133 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T03:04:18.956Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-04-19T03:04:19.285Z] + make test [2023-04-19T03:04:19.285Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T03:04:51.512Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-19T03:06:58.180Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-19T03:06:58.180Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 2.0% of statements [2023-04-19T03:06:58.180Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-19T03:06:58.180Z] go vet ./... [2023-04-19T03:07:24.891Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T03:07:24.891Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T03:07:24.891Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T03:07:24.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T03:07:24.932Z] $ docker stop --time=1 542766acd255baa961b978c013f14e1b2833249f88499cb4c733fe7cf7002133 [2023-04-19T03:07:26.710Z] $ docker rm -f --volumes 542766acd255baa961b978c013f14e1b2833249f88499cb4c733fe7cf7002133 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T03:07:27.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T03:07:27.879Z] Warning: overwriting stash ‘coverage-report’ [2023-04-19T03:07:28.495Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T03:07:28.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T03:07:29.231Z] + ls -al . [2023-04-19T03:07:29.231Z] total 188 [2023-04-19T03:07:29.231Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 03:04 . [2023-04-19T03:07:29.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:01 .. [2023-04-19T03:07:29.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 03:01 .git [2023-04-19T03:07:29.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:01 .github [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 03:01 .gitignore [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 03:01 .golangci.yml [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 03:01 .hadolint.yml [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 03:01 Attribution.txt [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 03:01 CHANGELOG.md [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 03:01 Dockerfile [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 03:01 GOVERNANCE.md [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 03:01 Jenkinsfile [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 03:01 LICENSE [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 03:01 Makefile [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 03:01 OWNERS.md [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 03:01 README.md [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:57 VERSION [2023-04-19T03:07:29.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 03:01 bin [2023-04-19T03:07:29.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:01 cmd [2023-04-19T03:07:29.231Z] -rw-r--r-- 1 jenkins jenkins 28693 Apr 19 03:06 coverage.out [2023-04-19T03:07:29.231Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 03:01 docker-entrypoint.sh [2023-04-19T03:07:29.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:01 docs [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 03:01 go.mod [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 31713 Apr 19 03:01 go.sum [2023-04-19T03:07:29.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:01 internal [2023-04-19T03:07:29.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:01 snap [2023-04-19T03:07:29.231Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:07:29.611Z] + 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=50a7cc5d6a1f377e0bc5e576675709a0c30ba150 --label arch=arm64 --label version=0.0.0 . [2023-04-19T03:07:29.893Z] Sending build context to Docker daemon 1.255MB [2023-04-19T03:07:29.893Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T03:07:29.893Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-19T03:07:29.893Z] ---> 5d2303751323 [2023-04-19T03:07:29.893Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-19T03:07:30.165Z] ---> Running in 508c6f34e9c0 [2023-04-19T03:07:30.433Z] Removing intermediate container 508c6f34e9c0 [2023-04-19T03:07:30.433Z] ---> 88855071606e [2023-04-19T03:07:30.433Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T03:07:30.433Z] ---> Running in 65f9e1857c87 [2023-04-19T03:07:30.705Z] Removing intermediate container 65f9e1857c87 [2023-04-19T03:07:30.705Z] ---> 9e3c9016f373 [2023-04-19T03:07:30.705Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-19T03:07:30.982Z] ---> Running in 810568f49cfe [2023-04-19T03:07:31.251Z] Removing intermediate container 810568f49cfe [2023-04-19T03:07:31.251Z] ---> 57070c7fe105 [2023-04-19T03:07:31.251Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-19T03:07:31.251Z] ---> Running in d07df2abb4bc [2023-04-19T03:07:31.528Z] Removing intermediate container d07df2abb4bc [2023-04-19T03:07:31.528Z] ---> a13502ca9bed [2023-04-19T03:07:31.528Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T03:07:31.802Z] ---> Running in f637bfc59747 [2023-04-19T03:07:32.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T03:07:33.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T03:07:34.772Z] OK: 271 MiB in 67 packages [2023-04-19T03:07:35.739Z] Removing intermediate container f637bfc59747 [2023-04-19T03:07:35.739Z] ---> 7a5f1ba9066d [2023-04-19T03:07:35.739Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-19T03:07:35.739Z] ---> Running in 031cab50ca48 [2023-04-19T03:07:36.007Z] Removing intermediate container 031cab50ca48 [2023-04-19T03:07:36.007Z] ---> 6f6032cbf12f [2023-04-19T03:07:36.007Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-19T03:07:36.595Z] ---> df51ce75c535 [2023-04-19T03:07:36.595Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T03:07:36.595Z] ---> Running in 755820d6ff4c [2023-04-19T03:07:39.191Z] Removing intermediate container 755820d6ff4c [2023-04-19T03:07:39.191Z] ---> 7dbd6321eacf [2023-04-19T03:07:39.191Z] Step 11/35 : COPY . . [2023-04-19T03:07:43.441Z] ---> 37fdfbb9f8ac [2023-04-19T03:07:43.441Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-19T03:07:43.441Z] ---> Running in 4b5608402899 [2023-04-19T03:07:44.021Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T03:07:44.021Z] Dload Upload Total Spent Left Speed [2023-04-19T03:07:44.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3922 0 --:--:-- --:--:-- --:--:-- 3947 [2023-04-19T03:07:44.875Z] Removing intermediate container 4b5608402899 [2023-04-19T03:07:44.875Z] ---> cdbc8e1180b7 [2023-04-19T03:07:44.875Z] Step 13/35 : RUN ${MAKE} [2023-04-19T03:07:44.875Z] ---> Running in 72e597165126 [2023-04-19T03:07:45.847Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-04-19T03:10:22.586Z] Removing intermediate container 72e597165126 [2023-04-19T03:10:22.586Z] ---> 1db84cfb13f5 [2023-04-19T03:10:22.586Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-19T03:10:22.586Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-19T03:10:22.586Z] 8766b47fe142: Pulling fs layer [2023-04-19T03:10:22.586Z] 8766b47fe142: Download complete [2023-04-19T03:10:22.586Z] 8766b47fe142: Pull complete [2023-04-19T03:10:22.586Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-19T03:10:22.586Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-19T03:10:22.586Z] ---> 69d40e2cb93c [2023-04-19T03:10:22.586Z] Step 15/35 : FROM alpine:3.17 [2023-04-19T03:10:22.858Z] 3.17: Pulling from library/alpine [2023-04-19T03:10:22.858Z] c41833b44d91: Pulling fs layer [2023-04-19T03:10:23.125Z] c41833b44d91: Verifying Checksum [2023-04-19T03:10:23.125Z] c41833b44d91: Download complete [2023-04-19T03:10:23.709Z] c41833b44d91: Pull complete [2023-04-19T03:10:23.709Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T03:10:23.709Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T03:10:23.709Z] ---> 51e60588ff2c [2023-04-19T03:10:23.709Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-19T03:10:23.709Z] ---> Running in 9b9238cdb04c [2023-04-19T03:10:23.978Z] Removing intermediate container 9b9238cdb04c [2023-04-19T03:10:23.978Z] ---> b8e0fe8650d1 [2023-04-19T03:10:23.978Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-19T03:10:24.245Z] ---> Running in cbe9361a7ab2 [2023-04-19T03:10:25.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T03:10:25.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T03:10:26.748Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-04-19T03:10:26.748Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-04-19T03:10:26.748Z] (3/83) Installing libxau (1.0.10-r0) [2023-04-19T03:10:26.748Z] (4/83) Installing libmd (1.0.4-r0) [2023-04-19T03:10:26.748Z] (5/83) Installing libbsd (0.11.7-r0) [2023-04-19T03:10:26.748Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-04-19T03:10:26.748Z] (7/83) Installing libxcb (1.15-r0) [2023-04-19T03:10:27.014Z] (8/83) Installing libx11 (1.8.4-r0) [2023-04-19T03:10:27.014Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-04-19T03:10:27.281Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-04-19T03:10:27.281Z] (11/83) Installing libexpat (2.5.0-r0) [2023-04-19T03:10:27.281Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-04-19T03:10:27.281Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-04-19T03:10:27.281Z] (14/83) Installing libpng (1.6.38-r0) [2023-04-19T03:10:27.281Z] (15/83) Installing freetype (2.12.1-r0) [2023-04-19T03:10:27.281Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-04-19T03:10:27.281Z] (17/83) Installing fribidi (1.0.12-r0) [2023-04-19T03:10:27.281Z] (18/83) Installing libffi (3.4.4-r0) [2023-04-19T03:10:27.281Z] (19/83) Installing libintl (0.21.1-r1) [2023-04-19T03:10:27.281Z] (20/83) Installing libblkid (2.38.1-r1) [2023-04-19T03:10:27.281Z] (21/83) Installing libmount (2.38.1-r1) [2023-04-19T03:10:27.547Z] (22/83) Installing pcre2 (10.42-r0) [2023-04-19T03:10:27.547Z] (23/83) Installing glib (2.74.6-r0) [2023-04-19T03:10:27.547Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-04-19T03:10:27.547Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-04-19T03:10:27.547Z] (26/83) Installing libass (0.16.0-r1) [2023-04-19T03:10:27.547Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-04-19T03:10:27.547Z] (28/83) Installing libdrm (2.4.114-r0) [2023-04-19T03:10:27.547Z] (29/83) Installing gmp (6.2.1-r2) [2023-04-19T03:10:27.815Z] (30/83) Installing nettle (3.8.1-r0) [2023-04-19T03:10:27.815Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-04-19T03:10:27.815Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-04-19T03:10:27.815Z] (33/83) Installing libunistring (1.1-r0) [2023-04-19T03:10:27.815Z] (34/83) Installing gnutls (3.7.8-r3) [2023-04-19T03:10:27.815Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-19T03:10:27.815Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-19T03:10:27.815Z] (37/83) Installing lame (3.100-r2) [2023-04-19T03:10:27.815Z] (38/83) Installing opus (1.3.1-r1) [2023-04-19T03:10:27.815Z] (39/83) Installing libasyncns (0.8-r1) [2023-04-19T03:10:27.815Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-04-19T03:10:27.815Z] (41/83) Installing libltdl (2.4.7-r1) [2023-04-19T03:10:28.081Z] (42/83) Installing orc (0.4.33-r0) [2023-04-19T03:10:28.081Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-04-19T03:10:28.081Z] (44/83) Installing libogg (1.3.5-r2) [2023-04-19T03:10:28.081Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-19T03:10:28.081Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-04-19T03:10:28.081Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-04-19T03:10:28.081Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-04-19T03:10:28.081Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-04-19T03:10:28.081Z] (50/83) Installing soxr (0.1.3-r3) [2023-04-19T03:10:28.081Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-04-19T03:10:28.081Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-04-19T03:10:28.081Z] (53/83) Installing libpulse (16.1-r6) [2023-04-19T03:10:28.081Z] (54/83) Installing cjson (1.7.15-r3) [2023-04-19T03:10:28.081Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-04-19T03:10:28.347Z] (56/83) Installing librist (0.2.7-r0) [2023-04-19T03:10:28.347Z] (57/83) Installing libsrt (1.5.1-r0) [2023-04-19T03:10:28.347Z] (58/83) Installing libssh (0.10.4-r0) [2023-04-19T03:10:28.347Z] (59/83) Installing libtheora (1.1.1-r16) [2023-04-19T03:10:28.347Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-04-19T03:10:28.347Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-04-19T03:10:28.347Z] (62/83) Installing libxext (1.3.5-r0) [2023-04-19T03:10:28.347Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-04-19T03:10:28.347Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-04-19T03:10:28.615Z] (65/83) Installing libva (2.16.0-r0) [2023-04-19T03:10:28.615Z] (66/83) Installing libvdpau (1.5-r0) [2023-04-19T03:10:28.615Z] (67/83) Installing vidstab (1.1.0-r2) [2023-04-19T03:10:28.615Z] (68/83) Installing libvpx (1.12.0-r1) [2023-04-19T03:10:28.615Z] (69/83) Installing libwebp (1.2.4-r1) [2023-04-19T03:10:28.615Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-04-19T03:10:28.615Z] (71/83) Installing numactl (2.0.16-r1) [2023-04-19T03:10:28.615Z] (72/83) Installing x265-libs (3.5-r3) [2023-04-19T03:10:28.880Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-04-19T03:10:28.880Z] (74/83) Installing libsodium (1.0.18-r2) [2023-04-19T03:10:28.880Z] (75/83) Installing libzmq (4.3.4-r1) [2023-04-19T03:10:28.880Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-04-19T03:10:29.149Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-04-19T03:10:29.416Z] (78/83) Installing udev-init-scripts (35-r1) [2023-04-19T03:10:29.416Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-04-19T03:10:29.416Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-04-19T03:10:29.416Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-04-19T03:10:29.416Z] (82/83) Installing kmod-libs (30-r1) [2023-04-19T03:10:29.416Z] (83/83) Installing eudev (3.2.11-r4) [2023-04-19T03:10:29.416Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T03:10:29.416Z] Executing eudev-3.2.11-r4.trigger [2023-04-19T03:10:29.416Z] OK: 86 MiB in 98 packages [2023-04-19T03:10:32.774Z] Removing intermediate container cbe9361a7ab2 [2023-04-19T03:10:32.774Z] ---> 4158df7777d7 [2023-04-19T03:10:32.774Z] Step 18/35 : WORKDIR / [2023-04-19T03:10:32.774Z] ---> Running in 9549bd91a308 [2023-04-19T03:10:33.041Z] Removing intermediate container 9549bd91a308 [2023-04-19T03:10:33.041Z] ---> fa2f036eb81a [2023-04-19T03:10:33.041Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-19T03:10:34.453Z] ---> f54343985f64 [2023-04-19T03:10:34.453Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-19T03:10:35.038Z] ---> b0bdc719cd5f [2023-04-19T03:10:35.038Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-19T03:10:35.624Z] ---> 8e381cc65ddf [2023-04-19T03:10:35.624Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-19T03:10:36.210Z] ---> 2b359495f338 [2023-04-19T03:10:36.211Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-19T03:10:36.478Z] ---> c3ce164b2b07 [2023-04-19T03:10:36.478Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-19T03:10:37.075Z] ---> 5c012628aa5a [2023-04-19T03:10:37.075Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-19T03:10:38.497Z] ---> 36ad26597c78 [2023-04-19T03:10:38.497Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-19T03:10:38.497Z] ---> Running in 1d09105a0e47 [2023-04-19T03:10:40.453Z] Removing intermediate container 1d09105a0e47 [2023-04-19T03:10:40.453Z] ---> e302b6a79de7 [2023-04-19T03:10:40.453Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-19T03:10:40.453Z] ---> Running in 6230356d2617 [2023-04-19T03:10:41.883Z] Removing intermediate container 6230356d2617 [2023-04-19T03:10:41.883Z] ---> 97228c6043e0 [2023-04-19T03:10:41.883Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-19T03:10:42.154Z] ---> Running in a3c1a5f48f0d [2023-04-19T03:10:43.575Z] Removing intermediate container a3c1a5f48f0d [2023-04-19T03:10:43.575Z] ---> 717b791cfaef [2023-04-19T03:10:43.575Z] Step 29/35 : EXPOSE 59983 [2023-04-19T03:10:43.845Z] ---> Running in 8b47b9db4dc5 [2023-04-19T03:10:44.118Z] Removing intermediate container 8b47b9db4dc5 [2023-04-19T03:10:44.118Z] ---> bacc1b82ba6c [2023-04-19T03:10:44.118Z] Step 30/35 : EXPOSE 8554 [2023-04-19T03:10:44.118Z] ---> Running in b6efa2794565 [2023-04-19T03:10:44.389Z] Removing intermediate container b6efa2794565 [2023-04-19T03:10:44.389Z] ---> 3f51c505681a [2023-04-19T03:10:44.389Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-19T03:10:44.389Z] ---> Running in 6d80130f5a82 [2023-04-19T03:10:44.658Z] Removing intermediate container 6d80130f5a82 [2023-04-19T03:10:44.658Z] ---> eafaabd20609 [2023-04-19T03:10:44.658Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-19T03:10:44.929Z] ---> Running in 77618a7a0326 [2023-04-19T03:10:45.197Z] Removing intermediate container 77618a7a0326 [2023-04-19T03:10:45.197Z] ---> 131e4b4cfef0 [2023-04-19T03:10:45.197Z] Step 33/35 : LABEL arch=arm64 [2023-04-19T03:10:45.197Z] ---> Running in d459d9e11a82 [2023-04-19T03:10:45.466Z] Removing intermediate container d459d9e11a82 [2023-04-19T03:10:45.466Z] ---> 0da754753667 [2023-04-19T03:10:45.466Z] Step 34/35 : LABEL git_sha=50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [2023-04-19T03:10:45.737Z] ---> Running in 286739e4db8c [2023-04-19T03:10:46.005Z] Removing intermediate container 286739e4db8c [2023-04-19T03:10:46.005Z] ---> 0e1cd260eb2f [2023-04-19T03:10:46.005Z] Step 35/35 : LABEL version=0.0.0 [2023-04-19T03:10:46.005Z] ---> Running in 82b1ec516833 [2023-04-19T03:10:46.272Z] Removing intermediate container 82b1ec516833 [2023-04-19T03:10:46.272Z] ---> 27e7bfdb6078 [2023-04-19T03:10:46.272Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T03:10:46.272Z] Successfully built 27e7bfdb6078 [2023-04-19T03:10:46.272Z] 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-04-19T03:10:46.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T03:10:46.713Z] [2023-04-19T03:10:46.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:10:47.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T03:10:47.345Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T03:10:47.345Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T03:10:47.345Z] 04944245beec: Pulling fs layer [2023-04-19T03:10:47.345Z] 699f458cf7ca: Pulling fs layer [2023-04-19T03:10:47.345Z] 765212b225bb: Pulling fs layer [2023-04-19T03:10:47.345Z] f23df028b6ca: Pulling fs layer [2023-04-19T03:10:47.345Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T03:10:47.345Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T03:10:47.345Z] f23df028b6ca: Waiting [2023-04-19T03:10:47.345Z] d65c8cfc05b1: Waiting [2023-04-19T03:10:47.345Z] 765212b225bb: Waiting [2023-04-19T03:10:47.345Z] 2437ff75d9bd: Waiting [2023-04-19T03:10:47.345Z] 04944245beec: Verifying Checksum [2023-04-19T03:10:47.345Z] 04944245beec: Download complete [2023-04-19T03:10:47.345Z] 765212b225bb: Verifying Checksum [2023-04-19T03:10:47.345Z] 765212b225bb: Download complete [2023-04-19T03:10:47.345Z] f23df028b6ca: Verifying Checksum [2023-04-19T03:10:47.345Z] f23df028b6ca: Download complete [2023-04-19T03:10:47.345Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T03:10:47.345Z] d65c8cfc05b1: Download complete [2023-04-19T03:10:47.623Z] 699f458cf7ca: Verifying Checksum [2023-04-19T03:10:47.623Z] 699f458cf7ca: Download complete [2023-04-19T03:10:47.903Z] 8998bd30e6a1: Verifying Checksum [2023-04-19T03:10:47.904Z] 8998bd30e6a1: Download complete [2023-04-19T03:10:50.500Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T03:10:50.500Z] 2437ff75d9bd: Download complete [2023-04-19T03:10:51.911Z] 8998bd30e6a1: Pull complete [2023-04-19T03:10:52.497Z] 04944245beec: Pull complete [2023-04-19T03:10:53.909Z] 699f458cf7ca: Pull complete [2023-04-19T03:10:54.178Z] 765212b225bb: Pull complete [2023-04-19T03:10:54.763Z] f23df028b6ca: Pull complete [2023-04-19T03:10:55.030Z] d65c8cfc05b1: Pull complete [2023-04-19T03:11:10.135Z] 2437ff75d9bd: Pull complete [2023-04-19T03:11:10.135Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T03:11:10.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T03:11:10.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T03:11:10.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-9043 does not seem to be running inside a container [2023-04-19T03:11:10.591Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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-04-19T03:11:13.387Z] $ docker top c531e0ed660c2f2a647854a5ab5ac0c8b253986e93f8d1be33778286179b0711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:14.215Z] ---> job-cost.sh [2023-04-19T03:11:14.215Z] lf-activate-venv: SKIPPING [2023-04-19T03:11:14.215Z] INFO: No Stack... [2023-04-19T03:11:14.798Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T03:11:15.762Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T03:11:16.415Z] + cat /w/workspace/device-usb-camera/4/archives/cost.csv [2023-04-19T03:11:16.415Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T03:11:16.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [2023-04-19T03:11:16.492Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] did not exist. Created. [2023-04-19T03:11:16.492Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T03:11:17.142Z] /w/workspace/device-usb-camera/4@tmp/durable-862451b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T03:11:17.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T03:11:17.823Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T03:11:17.878Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T03:11:17.886Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-218-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T03:11:17.921Z] $ docker stop --time=1 c531e0ed660c2f2a647854a5ab5ac0c8b253986e93f8d1be33778286179b0711 [2023-04-19T03:11:19.456Z] $ docker rm -f --volumes c531e0ed660c2f2a647854a5ab5ac0c8b253986e93f8d1be33778286179b0711 [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-04-19T03:11:19.973Z] provisioning config files... [2023-04-19T03:11:19.987Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config17205329559208378415tmp [Pipeline] { [Pipeline] sh [2023-04-19T03:11:20.293Z] + set +x [2023-04-19T03:11:20.293Z] + curl -s https://codecov.io/bash [2023-04-19T03:11:20.293Z] + bash -s -- [2023-04-19T03:11:20.293Z] [2023-04-19T03:11:20.293Z] _____ _ [2023-04-19T03:11:20.293Z] / ____| | | [2023-04-19T03:11:20.293Z] | | ___ __| | ___ ___ _____ __ [2023-04-19T03:11:20.293Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-19T03:11:20.293Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-19T03:11:20.293Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-19T03:11:20.293Z] Bash-1.0.6 [2023-04-19T03:11:20.293Z] [2023-04-19T03:11:20.293Z] [2023-04-19T03:11:20.293Z] ==> git version 2.25.1 found [2023-04-19T03:11:20.293Z] ==> 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-04-19T03:11:20.293Z] Release-Date: 2020-01-08 [2023-04-19T03:11:20.293Z] 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-04-19T03:11:20.293Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-19T03:11:20.293Z] ==> Jenkins CI detected. [2023-04-19T03:11:20.293Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-218 [2023-04-19T03:11:20.293Z] project root: . [2023-04-19T03:11:20.293Z] --> token set from env [2023-04-19T03:11:20.293Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-19T03:11:20.293Z] ==> Running gcov in . (disable via -X gcov) [2023-04-19T03:11:20.293Z] ==> Python coveragepy not found [2023-04-19T03:11:20.293Z] ==> Searching for coverage reports in: [2023-04-19T03:11:20.293Z] + . [2023-04-19T03:11:20.293Z] -> Found 1 reports [2023-04-19T03:11:20.293Z] ==> Detecting git/mercurial file structure [2023-04-19T03:11:20.552Z] ==> Reading reports [2023-04-19T03:11:20.552Z] + ./coverage.out bytes=28693 [2023-04-19T03:11:20.552Z] ==> Appending adjustments [2023-04-19T03:11:20.552Z] https://docs.codecov.io/docs/fixing-reports [2023-04-19T03:11:20.552Z] + Found adjustments [2023-04-19T03:11:20.552Z] ==> Gzipping contents [2023-04-19T03:11:20.552Z] 4.0K /tmp/codecov.DM4mzG.gz [2023-04-19T03:11:20.552Z] ==> Uploading reports [2023-04-19T03:11:20.552Z] url: https://codecov.io [2023-04-19T03:11:20.552Z] query: branch=PR-218&commit=50a7cc5d6a1f377e0bc5e576675709a0c30ba150&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-218%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-04-19T03:11:20.552Z] -> Pinging Codecov [2023-04-19T03:11:20.552Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-218&commit=50a7cc5d6a1f377e0bc5e576675709a0c30ba150&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-218%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-04-19T03:11:20.552Z] -> Uploading to [2023-04-19T03:11:20.552Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-19/73D8F5FF140700D3E01443B452E23636/50a7cc5d6a1f377e0bc5e576675709a0c30ba150/08bc4c9c-77cc-483c-8129-a6d62372feaa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T031120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=888be58fb68a507513a4147146968fbd6726fe14158f31f7e9d13ec09ffedf9d [2023-04-19T03:11:20.552Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T03:11:20.552Z] Dload Upload Total Spent Left Speed [2023-04-19T03:11:20.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 18533 --:--:-- --:--:-- --:--:-- 18533 [2023-04-19T03:11:20.811Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/50a7cc5d6a1f377e0bc5e576675709a0c30ba150 [Pipeline] } [2023-04-19T03:11:20.822Z] 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-04-19T03:11:21.647Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-218/archives ] [2023-04-19T03:11:21.647Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-218/archives [2023-04-19T03:11:21.647Z] total 16 [2023-04-19T03:11:21.647Z] drwxr-xr-x 3 root root 4096 Apr 19 02:59 . [2023-04-19T03:11:21.647Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:59 .. [2023-04-19T03:11:21.647Z] drwxr-xr-x 2 root root 4096 Apr 19 02:59 cost [2023-04-19T03:11:21.647Z] -rw-r--r-- 1 root root 89 Apr 19 02:59 cost.csv [2023-04-19T03:11:21.647Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-218/archives [2023-04-19T03:11:21.647Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-218/archives [2023-04-19T03:11:21.647Z] total 16 [2023-04-19T03:11:21.647Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:59 . [2023-04-19T03:11:21.647Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:59 .. [2023-04-19T03:11:21.647Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 02:59 cost [2023-04-19T03:11:21.647Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 19 02:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:21.949Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:22.812Z] ---> package-listing.sh [2023-04-19T03:11:22.812Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T03:11:22.812Z] ++ facter osfamily [2023-04-19T03:11:23.071Z] + OS_FAMILY=debian [2023-04-19T03:11:23.071Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-218 [2023-04-19T03:11:23.071Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T03:11:23.071Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T03:11:23.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T03:11:23.071Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T03:11:23.071Z] + '[' /w/workspace/foundry_device-usb-camera_PR-218 ']' [2023-04-19T03:11:23.071Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T03:11:23.071Z] + case "${OS_FAMILY}" in [2023-04-19T03:11:23.071Z] + dpkg -l [2023-04-19T03:11:23.071Z] + grep '^ii' [2023-04-19T03:11:23.071Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T03:11:23.071Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T03:11:23.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T03:11:23.071Z] + '[' /w/workspace/foundry_device-usb-camera_PR-218 ']' [2023-04-19T03:11:23.071Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-218/archives/ [2023-04-19T03:11:23.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-218/archives/ [Pipeline] echo [2023-04-19T03:11:23.081Z] 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-19T03:11:23.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T03:11:23.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T03:11:23.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T03:11:24.012Z] prd-ubuntu20.04-docker-8c-8g-9042 does not seem to be running inside a container [2023-04-19T03:11:24.057Z] $ 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-218/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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@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-04-19T03:11:24.312Z] $ docker top 9308bb04f653c65d03b3b7f1cdec2ad79306183ee43b83c7a9eb92c0799eee8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T03:11:24.657Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T03:11:24.950Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T03:11:25.239Z] + ls /var/log/sa-host [2023-04-19T03:11:25.239Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T03:11:25.497Z] provisioning config files... [2023-04-19T03:11:25.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config16745543911120437718tmp [Pipeline] { [Pipeline] echo [2023-04-19T03:11:25.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:25.814Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T03:11:25.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:26.188Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T03:11:26.199Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:26.497Z] ---> sudo-logs.sh [2023-04-19T03:11:26.497Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T03:11:26.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:26.826Z] ---> job-cost.sh [2023-04-19T03:11:26.826Z] lf-activate-venv: SKIPPING [2023-04-19T03:11:26.826Z] DEBUG: total: 0.2199999988079071 [2023-04-19T03:11:26.826Z] INFO: Retrieving Stack Cost... [2023-04-19T03:11:27.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T03:11:27.662Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T03:11:27.672Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T03:11:27.967Z] ---> logs-deploy.sh [2023-04-19T03:11:27.967Z] lf-activate-venv: SKIPPING [2023-04-19T03:11:27.967Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-218/4 [2023-04-19T03:11:27.967Z] INFO: archiving workspace using pattern(s): [2023-04-19T03:11:28.908Z] Archives upload complete. [2023-04-19T03:11:28.908Z] INFO: archiving logs to Nexus