Pull request #259 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 158cf72183c0870f436f0f492b637675d1f9df70 rather than e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Obtained Jenkinsfile from 158cf72183c0870f436f0f492b637675d1f9df70 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-ssh7871610253986166034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2018388623827124616.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-259/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-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3694431015759371224.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10449894924107800343.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-259/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-259/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8648075309415401217.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17367 in /w/workspace/foundry_device-usb-camera_PR-259 [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-259 # 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/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 158cf72183c0870f436f0f492b637675d1f9df70 into PR head commit e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Merge succeeded, producing e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Checking out Revision e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 (PR-259) > git config core.sparsecheckout # timeout=10 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # 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 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 Commit message: "docs: Addressed code review comments" > git rev-list --no-walk bae35bafab5dfbbbc584fc4ef402691de54c17eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T21:25:15.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T21:25:15.265Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T21:25:15.276Z] ========================================================= [2023-05-30T21:25:15.276Z] EdgeX Global Pipelines Version Info [2023-05-30T21:25:15.277Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:25:15.999Z] ------------------- [2023-05-30T21:25:15.999Z] stable info: [2023-05-30T21:25:15.999Z] ------------------- [2023-05-30T21:25:15.999Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T21:25:15.999Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T21:25:15.999Z] Message: update stable to v1.0.249 [2023-05-30T21:25:16.570Z] ------------------- [2023-05-30T21:25:16.570Z] experimental info: [2023-05-30T21:25:16.570Z] ------------------- [2023-05-30T21:25:16.570Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T21:25:16.570Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T21:25:16.570Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T21:25:16.731Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-30T21:25:16.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-30T21:25:16.759Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T21:25:16.772Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T21:25:16.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T21:25:16.800Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-30T21:25:16.812Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-30T21:25:16.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-30T21:25:16.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-30T21:25:16.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T21:25:16.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T21:25:16.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-30T21:25:16.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T21:25:16.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T21:25:16.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T21:25:16.923Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T21:25:16.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T21:25:16.945Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T21:25:16.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T21:25:16.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T21:25:16.985Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-30T21:25:16.999Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-30T21:25:17.011Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-30T21:25:17.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-30T21:25:17.037Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-30T21:25:17.050Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T21:25:17.064Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-30T21:25:17.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-259 [Pipeline] echo [2023-05-30T21:25:17.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-259 [Pipeline] echo [2023-05-30T21:25:17.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-259 [Pipeline] echo [2023-05-30T21:25:17.127Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo [2023-05-30T21:25:17.145Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7f5d43 [Pipeline] echo [2023-05-30T21:25:17.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T21:25:17.215Z] provisioning config files... [2023-05-30T21:25:17.230Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config14315209896221860353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:25:17.540Z] ---> docker-login.sh [2023-05-30T21:25:17.540Z] nexus3.edgexfoundry.org:10001 [2023-05-30T21:25:17.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:17.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:17.800Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:17.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:17.800Z] [2023-05-30T21:25:17.800Z] Login Succeeded [2023-05-30T21:25:17.800Z] nexus3.edgexfoundry.org:10002 [2023-05-30T21:25:18.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:18.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:18.059Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:18.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:18.059Z] [2023-05-30T21:25:18.059Z] Login Succeeded [2023-05-30T21:25:18.059Z] nexus3.edgexfoundry.org:10003 [2023-05-30T21:25:18.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:18.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:18.059Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:18.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:18.059Z] [2023-05-30T21:25:18.059Z] Login Succeeded [2023-05-30T21:25:18.059Z] nexus3.edgexfoundry.org:10004 [2023-05-30T21:25:18.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:18.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:18.319Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:18.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:18.319Z] [2023-05-30T21:25:18.319Z] Login Succeeded [2023-05-30T21:25:18.319Z] docker.io [2023-05-30T21:25:18.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:18.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:18.579Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:18.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:18.579Z] [2023-05-30T21:25:18.579Z] Login Succeeded [2023-05-30T21:25:18.579Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T21:25:18.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-30T21:25:18.956Z] + git rev-list -1 --merges e7f5d43999fa150699e7306f8e6fecb39c0b5fa4~1..e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo [2023-05-30T21:25:19.009Z] -----------> git rev-list -1 --merges e7f5d43999fa150699e7306f8e6fecb39c0b5fa4~1..e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [false] [Pipeline] sh [2023-05-30T21:25:19.305Z] + git log --format=format:%s -1 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo [2023-05-30T21:25:19.322Z] ========================================================= [2023-05-30T21:25:19.322Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T21:25:19.322Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T21:25:19.665Z] + git log --format=format:%s -1 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo [2023-05-30T21:25:19.676Z] [semverPrep] GIT_COMMIT: e7f5d43999fa150699e7306f8e6fecb39c0b5fa4, Commit Message: docs: Addressed code review comments [Pipeline] echo [2023-05-30T21:25:19.684Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-30T21:25:20.057Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T21:25:20.057Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T21:25:20.057Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T21:25:20.057Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T21:25:20.057Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T21:25:20.057Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T21:25:20.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:25:20.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T21:25:20.478Z] [2023-05-30T21:25:20.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:25:20.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T21:25:20.779Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T21:25:20.779Z] b85a868b505f: Pulling fs layer [2023-05-30T21:25:20.779Z] e2be974225ed: Pulling fs layer [2023-05-30T21:25:20.779Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T21:25:20.779Z] 988bab9f4d93: Pulling fs layer [2023-05-30T21:25:20.779Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T21:25:20.779Z] eaf3925da568: Pulling fs layer [2023-05-30T21:25:20.779Z] bab4dde63d76: Pulling fs layer [2023-05-30T21:25:20.779Z] bde34c3a00c8: Pulling fs layer [2023-05-30T21:25:20.779Z] b352a97aabf1: Pulling fs layer [2023-05-30T21:25:20.779Z] 4872d77fe225: Pulling fs layer [2023-05-30T21:25:20.779Z] 5851b861e8e6: Pulling fs layer [2023-05-30T21:25:20.779Z] bde34c3a00c8: Waiting [2023-05-30T21:25:20.779Z] 988bab9f4d93: Waiting [2023-05-30T21:25:20.779Z] b352a97aabf1: Waiting [2023-05-30T21:25:20.779Z] 5851b861e8e6: Waiting [2023-05-30T21:25:20.779Z] 4872d77fe225: Waiting [2023-05-30T21:25:20.779Z] eaf3925da568: Waiting [2023-05-30T21:25:20.779Z] bab4dde63d76: Waiting [2023-05-30T21:25:20.779Z] 1469e6f7b9e6: Waiting [2023-05-30T21:25:20.779Z] e2be974225ed: Verifying Checksum [2023-05-30T21:25:20.779Z] e2be974225ed: Download complete [2023-05-30T21:25:20.779Z] 988bab9f4d93: Verifying Checksum [2023-05-30T21:25:20.779Z] 988bab9f4d93: Download complete [2023-05-30T21:25:21.039Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T21:25:21.039Z] 1469e6f7b9e6: Download complete [2023-05-30T21:25:21.039Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T21:25:21.039Z] 339a4e72a1f5: Download complete [2023-05-30T21:25:21.039Z] eaf3925da568: Verifying Checksum [2023-05-30T21:25:21.039Z] eaf3925da568: Download complete [2023-05-30T21:25:21.039Z] bde34c3a00c8: Verifying Checksum [2023-05-30T21:25:21.039Z] bde34c3a00c8: Download complete [2023-05-30T21:25:21.039Z] b352a97aabf1: Verifying Checksum [2023-05-30T21:25:21.039Z] b352a97aabf1: Download complete [2023-05-30T21:25:21.039Z] 4872d77fe225: Verifying Checksum [2023-05-30T21:25:21.039Z] 4872d77fe225: Download complete [2023-05-30T21:25:21.039Z] 5851b861e8e6: Verifying Checksum [2023-05-30T21:25:21.039Z] 5851b861e8e6: Download complete [2023-05-30T21:25:21.039Z] b85a868b505f: Verifying Checksum [2023-05-30T21:25:21.039Z] b85a868b505f: Download complete [2023-05-30T21:25:21.299Z] bab4dde63d76: Verifying Checksum [2023-05-30T21:25:21.299Z] bab4dde63d76: Download complete [2023-05-30T21:25:22.236Z] b85a868b505f: Pull complete [2023-05-30T21:25:22.494Z] e2be974225ed: Pull complete [2023-05-30T21:25:23.061Z] 339a4e72a1f5: Pull complete [2023-05-30T21:25:23.321Z] 988bab9f4d93: Pull complete [2023-05-30T21:25:23.582Z] 1469e6f7b9e6: Pull complete [2023-05-30T21:25:23.582Z] eaf3925da568: Pull complete [2023-05-30T21:25:25.487Z] bab4dde63d76: Pull complete [2023-05-30T21:25:25.487Z] bde34c3a00c8: Pull complete [2023-05-30T21:25:25.487Z] b352a97aabf1: Pull complete [2023-05-30T21:25:25.752Z] 4872d77fe225: Pull complete [2023-05-30T21:25:25.752Z] 5851b861e8e6: Pull complete [2023-05-30T21:25:25.752Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T21:25:25.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T21:25:25.752Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:25:25.858Z] prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container [2023-05-30T21:25:25.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@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-05-30T21:25:28.847Z] $ docker top d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c -eo pid,comm [2023-05-30T21:25:28.905Z] 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-05-30T21:25:28.905Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T21:25:28.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T21:25:28.947Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T21:25:29.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T21:25:29.070Z] $ docker exec d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent [2023-05-30T21:25:29.186Z] SSH_AUTH_SOCK=/tmp/ssh-j5L5vEMaHoLB/agent.33 [2023-05-30T21:25:29.186Z] SSH_AGENT_PID=39 [2023-05-30T21:25:29.221Z] Running ssh-add (command line suppressed) [2023-05-30T21:25:29.332Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_15545825745349329609.key (/w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_15545825745349329609.key) [2023-05-30T21:25:29.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T21:25:29.671Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T21:25:29.686Z] $ docker exec --env ******** --env ******** d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent -k [2023-05-30T21:25:29.787Z] unset SSH_AUTH_SOCK; [2023-05-30T21:25:29.788Z] unset SSH_AGENT_PID; [2023-05-30T21:25:29.788Z] echo Agent pid 39 killed; [2023-05-30T21:25:29.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T21:25:29.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T21:25:29.821Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T21:25:29.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T21:25:29.954Z] $ docker exec d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent [2023-05-30T21:25:30.061Z] SSH_AUTH_SOCK=/tmp/ssh-BUI4VbgbLH3s/agent.71 [2023-05-30T21:25:30.061Z] SSH_AGENT_PID=77 [2023-05-30T21:25:30.066Z] Running ssh-add (command line suppressed) [2023-05-30T21:25:30.181Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_10744458751712093022.key (/w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_10744458751712093022.key) [2023-05-30T21:25:30.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T21:25:30.496Z] + git semver init [2023-05-30T21:25:30.756Z] 2023-05-30 21:25:30,716 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T21:25:30.756Z] 2023-05-30 21:25:30,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-259/.semver [2023-05-30T21:25:30.756Z] 2023-05-30 21:25:30,717 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-259/.semver [2023-05-30T21:25:30.756Z] 2023-05-30 21:25:30,717 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-259/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-259, universal_newlines=False, shell=None, istream=None) [2023-05-30T21:25:31.751Z] 2023-05-30 21:25:31,455 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-259/.git/info/exclude [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,456 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 with force:False [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,456 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,460 [execute] INFO git cat-file --batch-check [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,467 [execute] INFO git cat-file --batch [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T21:25:31.752Z] 2023-05-30 21:25:31,472 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 [2023-05-30T21:25:31.752Z] 0.0.0 [Pipeline] } [2023-05-30T21:25:31.765Z] $ docker exec --env ******** --env ******** d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent -k [2023-05-30T21:25:31.859Z] unset SSH_AUTH_SOCK; [2023-05-30T21:25:31.859Z] unset SSH_AGENT_PID; [2023-05-30T21:25:31.859Z] echo Agent pid 77 killed; [2023-05-30T21:25:31.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T21:25:32.167Z] + git semver [Pipeline] } [2023-05-30T21:25:32.442Z] $ docker stop --time=1 d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c [2023-05-30T21:25:33.752Z] $ docker rm -f --volumes d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T21:25:34.081Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T21:25:34.282Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T21:25:34.284Z] [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-05-30T21:25:34.442Z] provisioning config files... [2023-05-30T21:25:34.452Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config13380412535179165722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:25:34.751Z] ---> docker-login.sh [2023-05-30T21:25:34.751Z] nexus3.edgexfoundry.org:10001 [2023-05-30T21:25:34.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:34.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:34.751Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:34.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:34.751Z] [2023-05-30T21:25:34.751Z] Login Succeeded [2023-05-30T21:25:34.751Z] nexus3.edgexfoundry.org:10002 [2023-05-30T21:25:34.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:34.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:34.751Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:34.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:34.751Z] [2023-05-30T21:25:34.751Z] Login Succeeded [2023-05-30T21:25:34.751Z] nexus3.edgexfoundry.org:10003 [2023-05-30T21:25:35.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:35.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:35.010Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:35.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:35.010Z] [2023-05-30T21:25:35.010Z] Login Succeeded [2023-05-30T21:25:35.010Z] nexus3.edgexfoundry.org:10004 [2023-05-30T21:25:35.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:35.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:35.010Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:35.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:35.010Z] [2023-05-30T21:25:35.010Z] Login Succeeded [2023-05-30T21:25:35.010Z] docker.io [2023-05-30T21:25:35.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:25:35.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:25:35.268Z] Configure a credential helper to remove this warning. See [2023-05-30T21:25:35.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:25:35.268Z] [2023-05-30T21:25:35.268Z] Login Succeeded [2023-05-30T21:25:35.268Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T21:25:35.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T21:25:35.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T21:25:35.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T21:25:35.353Z] ========================================================= [2023-05-30T21:25:35.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-30T21:25:35.353Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:25:35.653Z] + 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-05-30T21:25:35.653Z] Sending build context to Docker daemon 1.981MB [2023-05-30T21:25:35.653Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T21:25:35.653Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-30T21:25:35.653Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-30T21:25:35.653Z] f56be85fc22e: Pulling fs layer [2023-05-30T21:25:35.653Z] 85791d961cd3: Pulling fs layer [2023-05-30T21:25:35.653Z] d694b5ae8c79: Pulling fs layer [2023-05-30T21:25:35.653Z] 9f32a84ed3da: Pulling fs layer [2023-05-30T21:25:35.653Z] 4d19c01a9841: Pulling fs layer [2023-05-30T21:25:35.653Z] 9325e15d5711: Pulling fs layer [2023-05-30T21:25:35.653Z] 556b6ee489ea: Pulling fs layer [2023-05-30T21:25:35.653Z] c5a4b2cf53e6: Pulling fs layer [2023-05-30T21:25:35.653Z] 9f32a84ed3da: Waiting [2023-05-30T21:25:35.653Z] 4d19c01a9841: Waiting [2023-05-30T21:25:35.653Z] 556b6ee489ea: Waiting [2023-05-30T21:25:35.653Z] 85791d961cd3: Verifying Checksum [2023-05-30T21:25:35.653Z] 85791d961cd3: Download complete [2023-05-30T21:25:35.653Z] 4d19c01a9841: Verifying Checksum [2023-05-30T21:25:35.653Z] 4d19c01a9841: Download complete [2023-05-30T21:25:35.653Z] f56be85fc22e: Verifying Checksum [2023-05-30T21:25:35.653Z] f56be85fc22e: Download complete [2023-05-30T21:25:35.911Z] 9325e15d5711: Verifying Checksum [2023-05-30T21:25:35.911Z] 9325e15d5711: Download complete [2023-05-30T21:25:35.911Z] f56be85fc22e: Pull complete [2023-05-30T21:25:36.170Z] 85791d961cd3: Pull complete [2023-05-30T21:25:36.428Z] c5a4b2cf53e6: Verifying Checksum [2023-05-30T21:25:36.428Z] c5a4b2cf53e6: Download complete [2023-05-30T21:25:36.428Z] d694b5ae8c79: Verifying Checksum [2023-05-30T21:25:36.428Z] d694b5ae8c79: Download complete [2023-05-30T21:25:36.686Z] 556b6ee489ea: Verifying Checksum [2023-05-30T21:25:36.686Z] 556b6ee489ea: Download complete [2023-05-30T21:25:39.967Z] d694b5ae8c79: Pull complete [2023-05-30T21:25:40.226Z] 9f32a84ed3da: Pull complete [2023-05-30T21:25:40.226Z] 4d19c01a9841: Pull complete [2023-05-30T21:25:40.226Z] 9325e15d5711: Pull complete [2023-05-30T21:25:42.757Z] 556b6ee489ea: Pull complete [2023-05-30T21:25:44.141Z] c5a4b2cf53e6: Pull complete [2023-05-30T21:25:44.141Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-30T21:25:44.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-30T21:25:44.141Z] ---> c4be618373d6 [2023-05-30T21:25:44.141Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-30T21:25:48.341Z] ---> Running in 1556111290e5 [2023-05-30T21:25:48.341Z] Removing intermediate container 1556111290e5 [2023-05-30T21:25:48.341Z] ---> 379088d2e444 [2023-05-30T21:25:48.341Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T21:25:48.341Z] ---> Running in 909bb18c8d35 [2023-05-30T21:25:48.341Z] Removing intermediate container 909bb18c8d35 [2023-05-30T21:25:48.341Z] ---> 1bc8a72cd65b [2023-05-30T21:25:48.341Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-30T21:25:48.341Z] ---> Running in 9c21e4022048 [2023-05-30T21:25:48.341Z] Removing intermediate container 9c21e4022048 [2023-05-30T21:25:48.341Z] ---> 112a33b139c6 [2023-05-30T21:25:48.341Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-30T21:25:48.341Z] ---> Running in ff7661a30f4c [2023-05-30T21:25:48.341Z] Removing intermediate container ff7661a30f4c [2023-05-30T21:25:48.341Z] ---> 53809565bf8a [2023-05-30T21:25:48.341Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-30T21:25:48.341Z] ---> Running in 97a2bea0f094 [2023-05-30T21:25:48.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T21:25:48.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T21:25:48.601Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-30T21:25:48.601Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-30T21:25:48.601Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-30T21:25:48.601Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-30T21:25:48.601Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-30T21:25:48.601Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-30T21:25:48.601Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-30T21:25:48.601Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-30T21:25:48.601Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-30T21:25:48.601Z] (10/14) Installing kmod-libs (30-r1) [2023-05-30T21:25:48.601Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-30T21:25:49.392Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-30T21:25:49.392Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-30T21:25:49.392Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-30T21:25:49.392Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T21:25:49.392Z] Executing eudev-3.2.11-r4.trigger [2023-05-30T21:25:49.392Z] OK: 272 MiB in 67 packages [2023-05-30T21:25:49.392Z] Removing intermediate container 97a2bea0f094 [2023-05-30T21:25:49.392Z] ---> a9a60512e0aa [2023-05-30T21:25:49.392Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-30T21:25:49.392Z] ---> Running in d6c148ad03db [2023-05-30T21:25:49.410Z] Still waiting to schedule task [2023-05-30T21:25:49.410Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-30T21:25:49.651Z] Removing intermediate container d6c148ad03db [2023-05-30T21:25:49.651Z] ---> fa081975e9fe [2023-05-30T21:25:49.651Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-30T21:25:49.651Z] ---> 7afb4fbc8820 [2023-05-30T21:25:49.651Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T21:25:49.651Z] ---> Running in 094d36a4d3b0 [2023-05-30T21:26:21.746Z] Removing intermediate container 094d36a4d3b0 [2023-05-30T21:26:21.746Z] ---> 612cc3880688 [2023-05-30T21:26:21.746Z] Step 11/13 : COPY . . [2023-05-30T21:26:21.746Z] ---> 383030f2f12d [2023-05-30T21:26:21.746Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-30T21:26:21.746Z] ---> Running in 929436c02a30 [2023-05-30T21:26:21.746Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:26:21.746Z] Dload Upload Total Spent Left Speed [2023-05-30T21:26:21.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8155 0 --:--:-- --:--:-- --:--:-- 8169 [2023-05-30T21:26:21.746Z] Removing intermediate container 929436c02a30 [2023-05-30T21:26:21.746Z] ---> 938858e5c2c8 [2023-05-30T21:26:21.746Z] Step 13/13 : RUN ${MAKE} [2023-05-30T21:26:21.746Z] ---> Running in e37919273c50 [2023-05-30T21:26:21.746Z] noop [2023-05-30T21:26:21.746Z] Removing intermediate container e37919273c50 [2023-05-30T21:26:21.746Z] ---> f0a1a04ad57c [2023-05-30T21:26:21.746Z] Successfully built f0a1a04ad57c [2023-05-30T21:26:21.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:26:22.073Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T21:26:22.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:26:22.159Z] prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container [2023-05-30T21:26:22.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@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-05-30T21:26:22.570Z] $ docker top 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T21:26:22.914Z] + go version [2023-05-30T21:26:22.914Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-30T21:26:22.926Z] $ docker stop --time=1 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 [2023-05-30T21:26:24.188Z] $ docker rm -f --volumes 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:26:24.567Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T21:26:24.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:26:24.645Z] prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container [2023-05-30T21:26:24.679Z] $ 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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@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-05-30T21:26:25.015Z] $ docker top 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T21:26:25.360Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-259 [Pipeline] fileExists [Pipeline] sh [2023-05-30T21:26:25.660Z] + make test [2023-05-30T21:26:25.660Z] go test ./... -coverprofile=coverage.out ./... [2023-05-30T21:26:30.931Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-30T21:26:43.137Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-30T21:26:43.137Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 1.6% of statements [2023-05-30T21:26:49.704Z] go vet ./... [2023-05-30T21:26:52.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T21:26:52.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T21:26:52.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T21:26:53.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T21:26:53.036Z] $ docker stop --time=1 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 [2023-05-30T21:26:56.914Z] $ docker rm -f --volumes 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T21:26:57.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T21:26:57.462Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-30T21:26:58.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T21:26:58.308Z] + ls -al . [2023-05-30T21:26:58.308Z] total 196 [2023-05-30T21:26:58.308Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:26 . [2023-05-30T21:26:58.308Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:25 .. [2023-05-30T21:26:58.308Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:25 .git [2023-05-30T21:26:58.308Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 .github [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 414 May 30 21:25 .gitignore [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 45 May 30 21:25 .golangci.yml [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 77 May 30 21:25 .hadolint.yml [2023-05-30T21:26:58.308Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:25 .semver [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 30 21:25 Attribution.txt [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 11660 May 30 21:25 CHANGELOG.md [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 30 21:25 Dockerfile [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 678 May 30 21:25 GOVERNANCE.md [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 659 May 30 21:25 Jenkinsfile [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 30 21:25 LICENSE [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 30 21:25 Makefile [2023-05-30T21:26:58.308Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 21:25 OWNERS.md [2023-05-30T21:26:58.309Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 30 21:25 README.md [2023-05-30T21:26:58.309Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:25 VERSION [2023-05-30T21:26:58.309Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:25 bin [2023-05-30T21:26:58.309Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 cmd [2023-05-30T21:26:58.309Z] -rw-r--r-- 1 jenkins jenkins 35569 May 30 21:26 coverage.out [2023-05-30T21:26:58.309Z] -rwxrwxr-x 1 jenkins jenkins 140 May 30 21:25 docker-entrypoint.sh [2023-05-30T21:26:58.309Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:25 docs [2023-05-30T21:26:58.309Z] -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:25 go.mod [2023-05-30T21:26:58.309Z] -rw-rw-r-- 1 jenkins jenkins 31392 May 30 21:25 go.sum [2023-05-30T21:26:58.309Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 internal [2023-05-30T21:26:58.309Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:25 snap [2023-05-30T21:26:58.309Z] -rw-rw-r-- 1 jenkins jenkins 231 May 30 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:26:58.610Z] + 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=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 --label arch=amd64 --label version=0.0.0 . [2023-05-30T21:26:58.610Z] Sending build context to Docker daemon 2.017MB [2023-05-30T21:26:58.610Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T21:26:58.610Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-30T21:26:58.610Z] ---> f0a1a04ad57c [2023-05-30T21:26:58.610Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-30T21:26:58.610Z] ---> Running in 9bd06a592527 [2023-05-30T21:26:58.889Z] Removing intermediate container 9bd06a592527 [2023-05-30T21:26:58.889Z] ---> e9393278f176 [2023-05-30T21:26:58.889Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T21:26:58.889Z] ---> Running in c11751f3712a [2023-05-30T21:26:58.889Z] Removing intermediate container c11751f3712a [2023-05-30T21:26:58.889Z] ---> ad57a9cdebae [2023-05-30T21:26:58.889Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-30T21:26:58.889Z] ---> Running in aade0a087b78 [2023-05-30T21:26:58.889Z] Removing intermediate container aade0a087b78 [2023-05-30T21:26:58.889Z] ---> 2cb58bfbf286 [2023-05-30T21:26:58.889Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-30T21:26:59.148Z] ---> Running in 7690f6885065 [2023-05-30T21:26:59.148Z] Removing intermediate container 7690f6885065 [2023-05-30T21:26:59.148Z] ---> 99e48d73f555 [2023-05-30T21:26:59.148Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-30T21:26:59.148Z] ---> Running in 1c900cc4ff63 [2023-05-30T21:26:59.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T21:26:59.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T21:26:59.666Z] OK: 272 MiB in 67 packages [2023-05-30T21:27:00.235Z] Removing intermediate container 1c900cc4ff63 [2023-05-30T21:27:00.235Z] ---> 15c9e1f57e69 [2023-05-30T21:27:00.235Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-30T21:27:00.235Z] ---> Running in 03be4fd29a9e [2023-05-30T21:27:00.235Z] Removing intermediate container 03be4fd29a9e [2023-05-30T21:27:00.235Z] ---> 97a89c6de313 [2023-05-30T21:27:00.235Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-30T21:27:00.235Z] ---> f2f2755df932 [2023-05-30T21:27:00.235Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T21:27:00.495Z] ---> Running in d6d8ce4ac098 [2023-05-30T21:27:01.063Z] Removing intermediate container d6d8ce4ac098 [2023-05-30T21:27:01.063Z] ---> bdd28af9a80c [2023-05-30T21:27:01.063Z] Step 11/36 : COPY . . [2023-05-30T21:27:01.629Z] ---> 4c34e43dbff5 [2023-05-30T21:27:01.629Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-30T21:27:01.629Z] ---> Running in 85f5bc3656dd [2023-05-30T21:27:01.629Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:27:01.629Z] Dload Upload Total Spent Left Speed [2023-05-30T21:27:01.889Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20917 0 --:--:-- --:--:-- --:--:-- 21240 [2023-05-30T21:27:02.147Z] Removing intermediate container 85f5bc3656dd [2023-05-30T21:27:02.147Z] ---> 455176c96b6a [2023-05-30T21:27:02.147Z] Step 13/36 : RUN ${MAKE} [2023-05-30T21:27:02.147Z] ---> Running in ce4432d51a81 [2023-05-30T21:27:02.406Z] 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-05-30T21:27:19.556Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17368 in /w/workspace/foundry_device-usb-camera_PR-259 [Pipeline] { [Pipeline] ws [2023-05-30T21:27:19.570Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-05-30T21:27:19.611Z] Selected Git installation does not exist. Using Default [2023-05-30T21:27:19.611Z] The recommended git tool is: NONE [2023-05-30T21:27:24.468Z] Removing intermediate container ce4432d51a81 [2023-05-30T21:27:24.468Z] ---> adf9aa636bbb [2023-05-30T21:27:24.468Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-30T21:27:24.842Z] using credential edgex-jenkins-ssh [2023-05-30T21:27:24.860Z] Cloning the remote Git repository [2023-05-30T21:27:25.036Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-30T21:27:25.295Z] 4acc49c71d14: Pulling fs layer [2023-05-30T21:27:25.295Z] 4acc49c71d14: Verifying Checksum [2023-05-30T21:27:25.295Z] 4acc49c71d14: Download complete [2023-05-30T21:27:25.555Z] 4acc49c71d14: Pull complete [2023-05-30T21:27:25.555Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-30T21:27:25.555Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-30T21:27:25.555Z] ---> 01a2bd3e5fff [2023-05-30T21:27:25.555Z] Step 15/36 : FROM alpine:3.17 [2023-05-30T21:27:24.905Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-30T21:27:24.996Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-05-30T21:27:25.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-30T21:27:25.130Z] > git --version # timeout=10 [2023-05-30T21:27:25.154Z] > git --version # 'git version 2.25.1' [2023-05-30T21:27:25.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T21:27:25.314Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T21:27:26.161Z] 3.17: Pulling from library/alpine [2023-05-30T21:27:26.161Z] f56be85fc22e: Already exists [2023-05-30T21:27:26.161Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T21:27:26.161Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T21:27:26.161Z] ---> 9ed4aefc74f6 [2023-05-30T21:27:26.161Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-30T21:27:26.420Z] ---> Running in c829c65ed6b3 [2023-05-30T21:27:26.420Z] Removing intermediate container c829c65ed6b3 [2023-05-30T21:27:26.420Z] ---> 693773b7e9d5 [2023-05-30T21:27:26.420Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-30T21:27:26.420Z] ---> Running in a4cc6b7547c5 [2023-05-30T21:27:26.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T21:27:26.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T21:27:26.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-30T21:27:26.107Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T21:27:26.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-30T21:27:26.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-30T21:27:26.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T21:27:27.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-30T21:27:27.243Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-30T21:27:27.244Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-30T21:27:27.244Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-30T21:27:27.244Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-30T21:27:27.244Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-30T21:27:27.244Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-30T21:27:27.244Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-30T21:27:27.244Z] (8/86) Installing libxcb (1.15-r0) [2023-05-30T21:27:27.244Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-30T21:27:27.244Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-30T21:27:27.502Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-30T21:27:27.502Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-30T21:27:27.502Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-30T21:27:27.502Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-30T21:27:27.502Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-30T21:27:27.502Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-30T21:27:27.502Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-30T21:27:27.502Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-30T21:27:27.502Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-30T21:27:27.502Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-30T21:27:27.502Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-30T21:27:27.502Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-30T21:27:27.502Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-30T21:27:27.502Z] (24/86) Installing glib (2.74.7-r0) [2023-05-30T21:27:27.502Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-30T21:27:27.502Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-30T21:27:27.502Z] (27/86) Installing libass (0.16.0-r1) [2023-05-30T21:27:27.502Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-30T21:27:27.502Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-30T21:27:27.502Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-30T21:27:27.502Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-30T21:27:27.502Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-30T21:27:27.621Z] Merging remotes/origin/main commit 158cf72183c0870f436f0f492b637675d1f9df70 into PR head commit e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [2023-05-30T21:27:27.761Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-30T21:27:27.761Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-30T21:27:27.761Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-30T21:27:27.761Z] (36/86) Installing libunistring (1.1-r0) [2023-05-30T21:27:27.761Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-30T21:27:27.761Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-05-30T21:27:27.761Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-05-30T21:27:27.761Z] (40/86) Installing lame (3.100-r2) [2023-05-30T21:27:27.761Z] (41/86) Installing opus (1.3.1-r1) [2023-05-30T21:27:27.761Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-30T21:27:27.761Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-30T21:27:27.761Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-30T21:27:27.761Z] (45/86) Installing orc (0.4.33-r0) [2023-05-30T21:27:27.761Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-30T21:27:27.761Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-30T21:27:27.761Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-30T21:27:27.761Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-30T21:27:27.761Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-30T21:27:27.761Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-30T21:27:27.761Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-30T21:27:27.761Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-30T21:27:27.761Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-30T21:27:27.761Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-30T21:27:27.761Z] (56/86) Installing libpulse (16.1-r6) [2023-05-30T21:27:27.900Z] Merge succeeded, producing e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [2023-05-30T21:27:27.900Z] Checking out Revision e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 (PR-259) [2023-05-30T21:27:28.020Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-30T21:27:28.020Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-30T21:27:28.020Z] (59/86) Installing librist (0.2.7-r0) [2023-05-30T21:27:28.020Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-30T21:27:28.020Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-30T21:27:28.020Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-30T21:27:28.020Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-30T21:27:28.020Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-30T21:27:28.020Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-30T21:27:28.020Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-30T21:27:28.020Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-30T21:27:28.020Z] (68/86) Installing libva (2.16.0-r0) [2023-05-30T21:27:28.020Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-30T21:27:28.020Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-30T21:27:28.020Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-30T21:27:28.020Z] (72/86) Installing libwebp (1.2.4-r2) [2023-05-30T21:27:28.020Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-30T21:27:28.020Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-30T21:27:28.020Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-30T21:27:28.020Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-30T21:27:28.020Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-30T21:27:28.279Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-30T21:27:28.279Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-30T21:27:28.279Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-30T21:27:28.279Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-30T21:27:28.279Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-30T21:27:28.279Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-30T21:27:28.279Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-30T21:27:28.279Z] (85/86) Installing kmod-libs (30-r1) [2023-05-30T21:27:28.279Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-30T21:27:28.279Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T21:27:28.279Z] Executing eudev-3.2.11-r4.trigger [2023-05-30T21:27:28.279Z] OK: 112 MiB in 101 packages [2023-05-30T21:27:27.642Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T21:27:27.729Z] > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 [2023-05-30T21:27:27.809Z] > git remote # timeout=10 [2023-05-30T21:27:27.827Z] > git config --get remote.origin.url # timeout=10 [2023-05-30T21:27:27.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T21:27:27.860Z] > git merge 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 [2023-05-30T21:27:27.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-30T21:27:27.909Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T21:27:27.922Z] > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 [2023-05-30T21:27:30.813Z] Removing intermediate container a4cc6b7547c5 [2023-05-30T21:27:30.813Z] ---> 7e0286974eb2 [2023-05-30T21:27:30.813Z] Step 18/36 : WORKDIR / [2023-05-30T21:27:30.813Z] ---> Running in e1cdff391f6e [2023-05-30T21:27:31.071Z] Removing intermediate container e1cdff391f6e [2023-05-30T21:27:31.072Z] ---> 8795c90b20d1 [2023-05-30T21:27:31.072Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-30T21:27:31.375Z] Commit message: "docs: Addressed code review comments" [2023-05-30T21:27:31.638Z] ---> 7ddeef1fb147 [2023-05-30T21:27:31.638Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2023-05-30T21:27:31.898Z] ---> bf27a9899180 [2023-05-30T21:27:31.898Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-30T21:27:31.898Z] ---> ad05e5043357 [2023-05-30T21:27:31.898Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-30T21:27:31.898Z] ---> 147f9ae69afd [2023-05-30T21:27:31.898Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [Pipeline] { [Pipeline] sh [2023-05-30T21:27:32.155Z] ---> 3c9eec6997cb [2023-05-30T21:27:32.155Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-30T21:27:32.155Z] ---> 3e09a9044612 [2023-05-30T21:27:32.155Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-30T21:27:32.375Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T21:27:32.376Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:27:32.376Z] Dload Upload Total Spent Left Speed [2023-05-30T21:27:32.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-05-30T21:27:33.069Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T21:27:33.092Z] ---> 909ca48674c8 [2023-05-30T21:27:33.092Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-30T21:27:33.092Z] ---> Running in 9fa4e984f3af [2023-05-30T21:27:33.396Z] + sudo tee /etc/docker/daemon.new [2023-05-30T21:27:33.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T21:27:33.396Z] { [2023-05-30T21:27:33.396Z] "registry-mirrors": [ [2023-05-30T21:27:33.396Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T21:27:33.396Z] ], [2023-05-30T21:27:33.396Z] "bip": "10.250.0.254/24", [2023-05-30T21:27:33.396Z] "hosts": [ [2023-05-30T21:27:33.396Z] "tcp://0.0.0.0:5555", [2023-05-30T21:27:33.396Z] "unix:///var/run/docker.sock" [2023-05-30T21:27:33.396Z] ], [2023-05-30T21:27:33.396Z] "mtu": 1458, [2023-05-30T21:27:33.396Z] "selinux-enabled": true, [2023-05-30T21:27:33.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T21:27:33.396Z] } [Pipeline] sh [2023-05-30T21:27:33.660Z] Removing intermediate container 9fa4e984f3af [2023-05-30T21:27:33.660Z] ---> b3fe3b143b44 [2023-05-30T21:27:33.660Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-30T21:27:33.660Z] ---> Running in 06cd0a2bd006 [2023-05-30T21:27:33.728Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T21:27:34.059Z] + sudo service docker restart [2023-05-30T21:27:34.228Z] Removing intermediate container 06cd0a2bd006 [2023-05-30T21:27:34.228Z] ---> daf2840e1a60 [2023-05-30T21:27:34.228Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-30T21:27:34.228Z] ---> Running in b0a5191fa8a9 [2023-05-30T21:27:34.795Z] Removing intermediate container b0a5191fa8a9 [2023-05-30T21:27:34.795Z] ---> c58aae032db8 [2023-05-30T21:27:34.795Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-30T21:27:34.795Z] ---> Running in 9f0a2994bdb3 [2023-05-30T21:27:35.368Z] Removing intermediate container 9f0a2994bdb3 [2023-05-30T21:27:35.368Z] ---> e735d2c90637 [2023-05-30T21:27:35.368Z] Step 30/36 : EXPOSE 59983 [2023-05-30T21:27:35.368Z] ---> Running in e8a746fc3e37 [2023-05-30T21:27:35.368Z] Removing intermediate container e8a746fc3e37 [2023-05-30T21:27:35.368Z] ---> 06bdfe9bc657 [2023-05-30T21:27:35.368Z] Step 31/36 : EXPOSE 8554 [2023-05-30T21:27:35.368Z] ---> Running in 095776f16445 [2023-05-30T21:27:35.368Z] Removing intermediate container 095776f16445 [2023-05-30T21:27:35.368Z] ---> 05a8538843da [2023-05-30T21:27:35.368Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-30T21:27:35.368Z] ---> Running in dd8546d3e835 [2023-05-30T21:27:35.628Z] Removing intermediate container dd8546d3e835 [2023-05-30T21:27:35.628Z] ---> 873a8fff12f7 [2023-05-30T21:27:35.628Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-30T21:27:35.628Z] ---> Running in fcedc9654bac [2023-05-30T21:27:35.628Z] Removing intermediate container fcedc9654bac [2023-05-30T21:27:35.628Z] ---> 92f86f4cef74 [2023-05-30T21:27:35.628Z] Step 34/36 : LABEL arch=amd64 [2023-05-30T21:27:35.628Z] ---> Running in 16f81f61b5f8 [2023-05-30T21:27:35.628Z] Removing intermediate container 16f81f61b5f8 [2023-05-30T21:27:35.628Z] ---> 533215a05207 [2023-05-30T21:27:35.628Z] Step 35/36 : LABEL git_sha=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [2023-05-30T21:27:35.628Z] ---> Running in e3be7c80821f [2023-05-30T21:27:35.887Z] Removing intermediate container e3be7c80821f [2023-05-30T21:27:35.887Z] ---> 501eb463f550 [2023-05-30T21:27:35.887Z] Step 36/36 : LABEL version=0.0.0 [2023-05-30T21:27:35.887Z] ---> Running in f8827b5f76d9 [2023-05-30T21:27:35.887Z] Removing intermediate container f8827b5f76d9 [2023-05-30T21:27:35.887Z] ---> bf1ce4225cc4 [2023-05-30T21:27:35.887Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T21:27:35.887Z] Successfully built bf1ce4225cc4 [2023-05-30T21:27:35.887Z] 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-05-30T21:27:36.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T21:27:36.324Z] [2023-05-30T21:27:36.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:27:36.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T21:27:36.638Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T21:27:36.638Z] 5eb5b503b376: Pulling fs layer [2023-05-30T21:27:36.638Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T21:27:36.638Z] ec43610c2a17: Pulling fs layer [2023-05-30T21:27:36.638Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T21:27:36.638Z] 33b1e0a273af: Pulling fs layer [2023-05-30T21:27:36.638Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T21:27:36.638Z] 2f39f015ded8: Pulling fs layer [2023-05-30T21:27:36.638Z] 33b1e0a273af: Waiting [2023-05-30T21:27:36.638Z] 5d3b04190fa2: Waiting [2023-05-30T21:27:36.638Z] 3a2ae6a8a46f: Waiting [2023-05-30T21:27:36.638Z] 2f39f015ded8: Waiting [2023-05-30T21:27:36.638Z] 5c69ac0246d0: Download complete [2023-05-30T21:27:36.638Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T21:27:36.638Z] 3a2ae6a8a46f: Download complete [2023-05-30T21:27:36.638Z] 33b1e0a273af: Verifying Checksum [2023-05-30T21:27:36.638Z] 33b1e0a273af: Download complete [2023-05-30T21:27:36.638Z] 5d3b04190fa2: Verifying Checksum [2023-05-30T21:27:36.638Z] 5d3b04190fa2: Download complete [2023-05-30T21:27:36.638Z] ec43610c2a17: Verifying Checksum [2023-05-30T21:27:36.638Z] ec43610c2a17: Download complete [2023-05-30T21:27:36.897Z] 5eb5b503b376: Verifying Checksum [2023-05-30T21:27:36.897Z] 5eb5b503b376: Download complete [2023-05-30T21:27:37.462Z] 2f39f015ded8: Download complete [2023-05-30T21:27:38.029Z] 5eb5b503b376: Pull complete [2023-05-30T21:27:38.287Z] 5c69ac0246d0: Pull complete [2023-05-30T21:27:38.546Z] ec43610c2a17: Pull complete [2023-05-30T21:27:38.804Z] 3a2ae6a8a46f: Pull complete [2023-05-30T21:27:38.804Z] 33b1e0a273af: Pull complete [2023-05-30T21:27:39.062Z] 5d3b04190fa2: Pull complete [2023-05-30T21:27:43.248Z] 2f39f015ded8: Pull complete [2023-05-30T21:27:43.248Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T21:27:43.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T21:27:43.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:27:43.330Z] prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container [2023-05-30T21:27:43.372Z] $ 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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@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-05-30T21:27:47.063Z] $ docker top 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:27:47.450Z] ---> job-cost.sh [2023-05-30T21:27:47.450Z] lf-activate-venv: SKIPPING [2023-05-30T21:27:47.450Z] INFO: No Stack... [2023-05-30T21:27:48.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T21:27:48.277Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T21:27:48.566Z] + cat /w/workspace/foundry_device-usb-camera_PR-259/archives/cost.csv [2023-05-30T21:27:48.566Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T21:27:48.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [2023-05-30T21:27:48.589Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] did not exist. Created. [2023-05-30T21:27:48.589Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T21:27:48.887Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-30T21:27:48.916Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T21:27:48.922Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T21:27:48.941Z] $ docker stop --time=1 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 [2023-05-30T21:27:50.096Z] $ docker rm -f --volumes 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T21:27:52.322Z] provisioning config files... [2023-05-30T21:27:52.344Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config11847232040979097214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:27:52.688Z] ---> docker-login.sh [2023-05-30T21:27:52.688Z] nexus3.edgexfoundry.org:10001 [2023-05-30T21:27:53.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:27:53.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:27:53.274Z] Configure a credential helper to remove this warning. See [2023-05-30T21:27:53.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:27:53.274Z] [2023-05-30T21:27:53.274Z] Login Succeeded [2023-05-30T21:27:53.274Z] nexus3.edgexfoundry.org:10002 [2023-05-30T21:27:53.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:27:53.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:27:53.543Z] Configure a credential helper to remove this warning. See [2023-05-30T21:27:53.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:27:53.543Z] [2023-05-30T21:27:53.543Z] Login Succeeded [2023-05-30T21:27:53.543Z] nexus3.edgexfoundry.org:10003 [2023-05-30T21:27:53.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:27:54.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:27:54.085Z] Configure a credential helper to remove this warning. See [2023-05-30T21:27:54.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:27:54.085Z] [2023-05-30T21:27:54.085Z] Login Succeeded [2023-05-30T21:27:54.085Z] nexus3.edgexfoundry.org:10004 [2023-05-30T21:27:54.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:27:54.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:27:54.355Z] Configure a credential helper to remove this warning. See [2023-05-30T21:27:54.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:27:54.355Z] [2023-05-30T21:27:54.355Z] Login Succeeded [2023-05-30T21:27:54.355Z] docker.io [2023-05-30T21:27:54.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T21:27:54.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T21:27:54.899Z] Configure a credential helper to remove this warning. See [2023-05-30T21:27:54.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T21:27:54.899Z] [2023-05-30T21:27:54.899Z] Login Succeeded [2023-05-30T21:27:54.899Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T21:27:54.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T21:27:55.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T21:27:55.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T21:27:55.191Z] ========================================================= [2023-05-30T21:27:55.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-30T21:27:55.191Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:27:55.573Z] + 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-05-30T21:27:55.842Z] Sending build context to Docker daemon 1.185MB [2023-05-30T21:27:55.842Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T21:27:55.842Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-30T21:27:56.109Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-30T21:27:56.109Z] c41833b44d91: Pulling fs layer [2023-05-30T21:27:56.109Z] ed15518f5707: Pulling fs layer [2023-05-30T21:27:56.109Z] feae8fd75edb: Pulling fs layer [2023-05-30T21:27:56.109Z] 242c74f7c9fa: Pulling fs layer [2023-05-30T21:27:56.109Z] 3cdef696dda3: Pulling fs layer [2023-05-30T21:27:56.109Z] 2ced38df9373: Pulling fs layer [2023-05-30T21:27:56.109Z] 58f1dce35555: Pulling fs layer [2023-05-30T21:27:56.109Z] 3cdef696dda3: Waiting [2023-05-30T21:27:56.109Z] 2ced38df9373: Waiting [2023-05-30T21:27:56.109Z] 58f1dce35555: Waiting [2023-05-30T21:27:56.109Z] 242c74f7c9fa: Waiting [2023-05-30T21:27:56.109Z] ed15518f5707: Verifying Checksum [2023-05-30T21:27:56.109Z] ed15518f5707: Download complete [2023-05-30T21:27:56.109Z] 242c74f7c9fa: Verifying Checksum [2023-05-30T21:27:56.109Z] 242c74f7c9fa: Download complete [2023-05-30T21:27:56.379Z] 3cdef696dda3: Download complete [2023-05-30T21:27:56.379Z] c41833b44d91: Verifying Checksum [2023-05-30T21:27:56.379Z] c41833b44d91: Download complete [2023-05-30T21:27:57.369Z] c41833b44d91: Pull complete [2023-05-30T21:27:57.642Z] 58f1dce35555: Verifying Checksum [2023-05-30T21:27:57.642Z] 58f1dce35555: Download complete [2023-05-30T21:27:57.642Z] ed15518f5707: Pull complete [2023-05-30T21:27:58.605Z] feae8fd75edb: Verifying Checksum [2023-05-30T21:27:58.605Z] feae8fd75edb: Download complete [2023-05-30T21:27:58.605Z] 2ced38df9373: Verifying Checksum [2023-05-30T21:27:58.605Z] 2ced38df9373: Download complete [2023-05-30T21:28:10.952Z] feae8fd75edb: Pull complete [2023-05-30T21:28:10.952Z] 242c74f7c9fa: Pull complete [2023-05-30T21:28:10.952Z] 3cdef696dda3: Pull complete [2023-05-30T21:28:17.598Z] 2ced38df9373: Pull complete [2023-05-30T21:28:19.556Z] 58f1dce35555: Pull complete [2023-05-30T21:28:19.556Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-30T21:28:19.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-30T21:28:19.556Z] ---> fadd8f120f05 [2023-05-30T21:28:19.556Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-30T21:28:21.509Z] ---> Running in a45baec184e6 [2023-05-30T21:28:21.509Z] Removing intermediate container a45baec184e6 [2023-05-30T21:28:21.509Z] ---> f4490609bc24 [2023-05-30T21:28:21.509Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T21:28:21.509Z] ---> Running in 7c3e3aece1e5 [2023-05-30T21:28:22.094Z] Removing intermediate container 7c3e3aece1e5 [2023-05-30T21:28:22.095Z] ---> 76535e46ad4b [2023-05-30T21:28:22.095Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-30T21:28:22.095Z] ---> Running in 5fa697185992 [2023-05-30T21:28:22.362Z] Removing intermediate container 5fa697185992 [2023-05-30T21:28:22.362Z] ---> 037c36c16bbe [2023-05-30T21:28:22.362Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-30T21:28:22.362Z] ---> Running in 84c015a46f19 [2023-05-30T21:28:22.629Z] Removing intermediate container 84c015a46f19 [2023-05-30T21:28:22.629Z] ---> 0984cf22d543 [2023-05-30T21:28:22.629Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-30T21:28:22.909Z] ---> Running in 466e9db737a4 [2023-05-30T21:28:23.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T21:28:24.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T21:28:25.414Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-30T21:28:25.414Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-30T21:28:25.414Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-30T21:28:25.414Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-30T21:28:25.414Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-30T21:28:25.414Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-30T21:28:25.414Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-30T21:28:25.414Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-30T21:28:25.414Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-30T21:28:25.414Z] (10/14) Installing kmod-libs (30-r1) [2023-05-30T21:28:25.414Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-30T21:28:25.414Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-30T21:28:25.682Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-30T21:28:25.682Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-30T21:28:25.682Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T21:28:25.682Z] Executing eudev-3.2.11-r4.trigger [2023-05-30T21:28:25.682Z] OK: 271 MiB in 67 packages [2023-05-30T21:28:26.684Z] Removing intermediate container 466e9db737a4 [2023-05-30T21:28:26.684Z] ---> 01dc34165ad5 [2023-05-30T21:28:26.684Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-30T21:28:26.950Z] ---> Running in c41835c76beb [2023-05-30T21:28:27.220Z] Removing intermediate container c41835c76beb [2023-05-30T21:28:27.220Z] ---> 509daf4f8e72 [2023-05-30T21:28:27.220Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-30T21:28:27.810Z] ---> 3577b57fb142 [2023-05-30T21:28:27.810Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T21:28:27.810Z] ---> Running in 069886383c0c [2023-05-30T21:29:35.677Z] Removing intermediate container 069886383c0c [2023-05-30T21:29:35.677Z] ---> 95a6759b2839 [2023-05-30T21:29:35.677Z] Step 11/13 : COPY . . [2023-05-30T21:29:35.677Z] ---> 877df3646335 [2023-05-30T21:29:35.677Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-30T21:29:35.677Z] ---> Running in af0ffb2cec94 [2023-05-30T21:29:35.677Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:29:35.677Z]   Dload Upload Total Spent Left Speed [2023-05-30T21:29:35.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4324 0 --:--:-- --:--:-- --:--:-- 4334 [2023-05-30T21:29:35.677Z] Removing intermediate container af0ffb2cec94 [2023-05-30T21:29:35.677Z] ---> b7ef940b9b5a [2023-05-30T21:29:35.677Z] Step 13/13 : RUN ${MAKE} [2023-05-30T21:29:35.677Z] ---> Running in c2498eb53529 [2023-05-30T21:29:35.677Z] noop [2023-05-30T21:29:35.677Z] Removing intermediate container c2498eb53529 [2023-05-30T21:29:35.677Z] ---> fd4aeffad5f3 [2023-05-30T21:29:35.677Z] Successfully built fd4aeffad5f3 [2023-05-30T21:29:35.677Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:29:36.033Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T21:29:36.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:29:36.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container [2023-05-30T21:29:36.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-30T21:29:37.376Z] $ docker top 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T21:29:38.195Z] + go version [2023-05-30T21:29:38.195Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-30T21:29:38.217Z] $ docker stop --time=1 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 [2023-05-30T21:29:39.842Z] $ docker rm -f --volumes 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:29:40.356Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T21:29:40.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:29:40.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container [2023-05-30T21:29:40.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-30T21:29:41.766Z] $ docker top d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T21:29:42.262Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-05-30T21:29:42.589Z] + make test [2023-05-30T21:29:42.589Z] go test ./... -coverprofile=coverage.out ./... [2023-05-30T21:30:14.819Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-30T21:32:06.473Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-30T21:32:14.959Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.6% of statements [2023-05-30T21:32:15.554Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-30T21:32:15.554Z] go vet ./... [2023-05-30T21:32:54.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T21:32:54.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T21:32:54.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T21:32:54.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T21:32:54.533Z] $ docker stop --time=1 d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 [2023-05-30T21:32:56.285Z] $ docker rm -f --volumes d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T21:32:57.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T21:32:57.357Z] Warning: overwriting stash ‘coverage-report’ [2023-05-30T21:32:57.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T21:32:58.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T21:32:58.477Z] + ls -al . [2023-05-30T21:32:58.477Z] total 192 [2023-05-30T21:32:58.477Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 21:29 . [2023-05-30T21:32:58.477Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:27 .. [2023-05-30T21:32:58.477Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:27 .git [2023-05-30T21:32:58.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 .github [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 414 May 30 21:27 .gitignore [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 45 May 30 21:27 .golangci.yml [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 77 May 30 21:27 .hadolint.yml [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 30 21:27 Attribution.txt [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 11660 May 30 21:27 CHANGELOG.md [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 30 21:27 Dockerfile [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 678 May 30 21:27 GOVERNANCE.md [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 659 May 30 21:27 Jenkinsfile [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 30 21:27 LICENSE [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 30 21:27 Makefile [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 21:27 OWNERS.md [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 30 21:27 README.md [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:25 VERSION [2023-05-30T21:32:58.477Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:27 bin [2023-05-30T21:32:58.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 cmd [2023-05-30T21:32:58.477Z] -rw-r--r-- 1 jenkins jenkins 35569 May 30 21:32 coverage.out [2023-05-30T21:32:58.477Z] -rwxrwxr-x 1 jenkins jenkins 140 May 30 21:27 docker-entrypoint.sh [2023-05-30T21:32:58.477Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:27 docs [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:27 go.mod [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 31392 May 30 21:27 go.sum [2023-05-30T21:32:58.477Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 internal [2023-05-30T21:32:58.477Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:27 snap [2023-05-30T21:32:58.477Z] -rw-rw-r-- 1 jenkins jenkins 231 May 30 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:32:58.813Z] + 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=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 --label arch=arm64 --label version=0.0.0 . [2023-05-30T21:32:59.080Z] Sending build context to Docker daemon 1.222MB [2023-05-30T21:32:59.080Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T21:32:59.080Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-30T21:32:59.080Z] ---> fd4aeffad5f3 [2023-05-30T21:32:59.080Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-30T21:32:59.349Z] ---> Running in a5627a6c6547 [2023-05-30T21:32:59.349Z] Removing intermediate container a5627a6c6547 [2023-05-30T21:32:59.349Z] ---> 382ecb1182eb [2023-05-30T21:32:59.349Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T21:32:59.615Z] ---> Running in 7d4c1977c41c [2023-05-30T21:32:59.883Z] Removing intermediate container 7d4c1977c41c [2023-05-30T21:32:59.883Z] ---> 465d685d21a1 [2023-05-30T21:32:59.883Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-30T21:32:59.883Z] ---> Running in 7d45e59dcea5 [2023-05-30T21:33:00.149Z] Removing intermediate container 7d45e59dcea5 [2023-05-30T21:33:00.149Z] ---> a0ecfdf98eee [2023-05-30T21:33:00.149Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-30T21:33:00.419Z] ---> Running in 0d14dace8142 [2023-05-30T21:33:00.689Z] Removing intermediate container 0d14dace8142 [2023-05-30T21:33:00.689Z] ---> 831245d4c52d [2023-05-30T21:33:00.689Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-30T21:33:00.689Z] ---> Running in 593de4e5f7f6 [2023-05-30T21:33:01.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T21:33:02.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T21:33:03.189Z] OK: 271 MiB in 67 packages [2023-05-30T21:33:04.155Z] Removing intermediate container 593de4e5f7f6 [2023-05-30T21:33:04.155Z] ---> eed41f7c804f [2023-05-30T21:33:04.155Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-30T21:33:04.155Z] ---> Running in 7cdb460493cd [2023-05-30T21:33:04.422Z] Removing intermediate container 7cdb460493cd [2023-05-30T21:33:04.422Z] ---> 77098ade7a09 [2023-05-30T21:33:04.422Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-30T21:33:05.004Z] ---> a90f90832159 [2023-05-30T21:33:05.004Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T21:33:05.271Z] ---> Running in 1880e1e242c6 [2023-05-30T21:33:07.851Z] Removing intermediate container 1880e1e242c6 [2023-05-30T21:33:07.851Z] ---> ec0ce55937ef [2023-05-30T21:33:07.851Z] Step 11/36 : COPY . . [2023-05-30T21:33:08.436Z] ---> 6f96d48873f1 [2023-05-30T21:33:08.436Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-30T21:33:08.723Z] ---> Running in ac7f639ca4f4 [2023-05-30T21:33:09.679Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:33:09.679Z] Dload Upload Total Spent Left Speed [2023-05-30T21:33:09.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2924 0 --:--:-- --:--:-- --:--:-- 2933 [2023-05-30T21:33:10.530Z] Removing intermediate container ac7f639ca4f4 [2023-05-30T21:33:10.530Z] ---> fb85a2f4ecec [2023-05-30T21:33:10.530Z] Step 13/36 : RUN ${MAKE} [2023-05-30T21:33:10.530Z] ---> Running in 2836c09bfac1 [2023-05-30T21:33:11.498Z] 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-05-30T21:35:48.199Z] Removing intermediate container 2836c09bfac1 [2023-05-30T21:35:48.199Z] ---> 8863b0eaf1ca [2023-05-30T21:35:48.199Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-30T21:35:48.199Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-30T21:35:48.199Z] 8766b47fe142: Pulling fs layer [2023-05-30T21:35:48.199Z] 8766b47fe142: Verifying Checksum [2023-05-30T21:35:48.199Z] 8766b47fe142: Download complete [2023-05-30T21:35:48.199Z] 8766b47fe142: Pull complete [2023-05-30T21:35:48.199Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-30T21:35:48.199Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-30T21:35:48.199Z] ---> 69d40e2cb93c [2023-05-30T21:35:48.199Z] Step 15/36 : FROM alpine:3.17 [2023-05-30T21:35:48.199Z] 3.17: Pulling from library/alpine [2023-05-30T21:35:48.199Z] c41833b44d91: Already exists [2023-05-30T21:35:48.199Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T21:35:48.199Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T21:35:48.199Z] ---> 51e60588ff2c [2023-05-30T21:35:48.199Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-30T21:35:48.199Z] ---> Running in 3d1b2296ec8d [2023-05-30T21:35:48.199Z] Removing intermediate container 3d1b2296ec8d [2023-05-30T21:35:48.199Z] ---> 9b7f31dee182 [2023-05-30T21:35:48.199Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-30T21:35:48.199Z] ---> Running in d08a645e6664 [2023-05-30T21:35:48.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T21:35:48.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T21:35:48.199Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-30T21:35:48.199Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-30T21:35:48.199Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-30T21:35:48.199Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-30T21:35:48.199Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-30T21:35:48.199Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-30T21:35:48.199Z] (7/83) Installing libxcb (1.15-r0) [2023-05-30T21:35:48.199Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-30T21:35:48.199Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-30T21:35:48.199Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-30T21:35:48.199Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-30T21:35:48.199Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-30T21:35:48.199Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-30T21:35:48.199Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-30T21:35:48.199Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-30T21:35:48.199Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-30T21:35:48.199Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-30T21:35:48.199Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-30T21:35:48.199Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-30T21:35:48.199Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-30T21:35:48.199Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-30T21:35:48.199Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-30T21:35:48.199Z] (23/83) Installing glib (2.74.7-r0) [2023-05-30T21:35:48.199Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-30T21:35:48.199Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-30T21:35:48.199Z] (26/83) Installing libass (0.16.0-r1) [2023-05-30T21:35:48.199Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-30T21:35:48.199Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-30T21:35:48.199Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-30T21:35:48.199Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-30T21:35:48.199Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-30T21:35:48.199Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-30T21:35:48.199Z] (33/83) Installing libunistring (1.1-r0) [2023-05-30T21:35:48.199Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-30T21:35:48.199Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-05-30T21:35:48.199Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-05-30T21:35:48.199Z] (37/83) Installing lame (3.100-r2) [2023-05-30T21:35:48.199Z] (38/83) Installing opus (1.3.1-r1) [2023-05-30T21:35:48.199Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-30T21:35:48.199Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-30T21:35:48.199Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-30T21:35:48.199Z] (42/83) Installing orc (0.4.33-r0) [2023-05-30T21:35:48.199Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-30T21:35:48.199Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-30T21:35:48.199Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-30T21:35:48.199Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-30T21:35:48.199Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-30T21:35:48.199Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-30T21:35:48.199Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-30T21:35:48.199Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-30T21:35:48.199Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-30T21:35:48.199Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-30T21:35:48.199Z] (53/83) Installing libpulse (16.1-r6) [2023-05-30T21:35:48.199Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-30T21:35:48.199Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-30T21:35:48.199Z] (56/83) Installing librist (0.2.7-r0) [2023-05-30T21:35:48.199Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-30T21:35:48.199Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-30T21:35:48.199Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-30T21:35:48.199Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-30T21:35:48.199Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-30T21:35:48.199Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-30T21:35:48.199Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-30T21:35:48.199Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-30T21:35:48.199Z] (65/83) Installing libva (2.16.0-r0) [2023-05-30T21:35:48.199Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-30T21:35:48.199Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-30T21:35:48.199Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-30T21:35:48.199Z] (69/83) Installing libwebp (1.2.4-r2) [2023-05-30T21:35:48.199Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-30T21:35:48.199Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-30T21:35:48.199Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-30T21:35:48.199Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-30T21:35:48.199Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-30T21:35:48.199Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-30T21:35:48.199Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-30T21:35:48.199Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-30T21:35:48.199Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-30T21:35:48.199Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-30T21:35:48.199Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-30T21:35:48.199Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-30T21:35:48.199Z] (82/83) Installing kmod-libs (30-r1) [2023-05-30T21:35:48.199Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-30T21:35:48.199Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T21:35:48.199Z] Executing eudev-3.2.11-r4.trigger [2023-05-30T21:35:48.199Z] OK: 86 MiB in 98 packages [2023-05-30T21:35:48.199Z] Removing intermediate container d08a645e6664 [2023-05-30T21:35:48.199Z] ---> a127f56a06e4 [2023-05-30T21:35:48.199Z] Step 18/36 : WORKDIR / [2023-05-30T21:35:48.199Z] ---> Running in 5e6a3b62cd09 [2023-05-30T21:35:48.199Z] Removing intermediate container 5e6a3b62cd09 [2023-05-30T21:35:48.199Z] ---> eea71a9d8992 [2023-05-30T21:35:48.199Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-30T21:35:49.160Z] ---> 19052bd953ca [2023-05-30T21:35:49.160Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-30T21:35:49.742Z] ---> 5cc0610fe7b8 [2023-05-30T21:35:49.742Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-30T21:35:50.326Z] ---> fdd4611a8a36 [2023-05-30T21:35:50.326Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-30T21:35:50.912Z] ---> c0d7e4307326 [2023-05-30T21:35:50.912Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-30T21:35:51.179Z] ---> f363bf5f2a8c [2023-05-30T21:35:51.179Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-30T21:35:51.761Z] ---> 23de8e3f3c2c [2023-05-30T21:35:51.761Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-30T21:35:53.168Z] ---> bb419e329fe1 [2023-05-30T21:35:53.168Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-30T21:35:53.168Z] ---> Running in 26e15205ac74 [2023-05-30T21:35:54.576Z] Removing intermediate container 26e15205ac74 [2023-05-30T21:35:54.576Z] ---> 7b9bc5e2f8fa [2023-05-30T21:35:54.576Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-30T21:35:54.847Z] ---> Running in 3aa429879be3 [2023-05-30T21:35:56.258Z] Removing intermediate container 3aa429879be3 [2023-05-30T21:35:56.258Z] ---> 2e9ab23fcc22 [2023-05-30T21:35:56.258Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-30T21:35:56.258Z] ---> Running in 1e71ec15b2dd [2023-05-30T21:35:58.204Z] Removing intermediate container 1e71ec15b2dd [2023-05-30T21:35:58.204Z] ---> 380d236902ac [2023-05-30T21:35:58.204Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-30T21:35:58.204Z] ---> Running in b1d801d8bfd8 [2023-05-30T21:36:00.799Z] Removing intermediate container b1d801d8bfd8 [2023-05-30T21:36:00.799Z] ---> 4f9cda8ebd6b [2023-05-30T21:36:00.799Z] Step 30/36 : EXPOSE 59983 [2023-05-30T21:36:00.799Z] ---> Running in ce2930c1fb80 [2023-05-30T21:36:00.799Z] Removing intermediate container ce2930c1fb80 [2023-05-30T21:36:00.799Z] ---> 60e018f7963c [2023-05-30T21:36:00.799Z] Step 31/36 : EXPOSE 8554 [2023-05-30T21:36:00.799Z] ---> Running in 7a85dda15dbe [2023-05-30T21:36:01.069Z] Removing intermediate container 7a85dda15dbe [2023-05-30T21:36:01.069Z] ---> c8799adc3622 [2023-05-30T21:36:01.069Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-30T21:36:01.337Z] ---> Running in 75474c417367 [2023-05-30T21:36:01.602Z] Removing intermediate container 75474c417367 [2023-05-30T21:36:01.602Z] ---> 5212d4cf0ad8 [2023-05-30T21:36:01.602Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-30T21:36:01.602Z] ---> Running in 6fb055cd317c [2023-05-30T21:36:01.870Z] Removing intermediate container 6fb055cd317c [2023-05-30T21:36:01.870Z] ---> 90bb23cef816 [2023-05-30T21:36:01.870Z] Step 34/36 : LABEL arch=arm64 [2023-05-30T21:36:01.870Z] ---> Running in 6a3195241e28 [2023-05-30T21:36:02.139Z] Removing intermediate container 6a3195241e28 [2023-05-30T21:36:02.139Z] ---> 40e2c4544b20 [2023-05-30T21:36:02.139Z] Step 35/36 : LABEL git_sha=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [2023-05-30T21:36:02.405Z] ---> Running in 69bd3d5e9d97 [2023-05-30T21:36:02.671Z] Removing intermediate container 69bd3d5e9d97 [2023-05-30T21:36:02.672Z] ---> b6cf0c351abf [2023-05-30T21:36:02.672Z] Step 36/36 : LABEL version=0.0.0 [2023-05-30T21:36:02.672Z] ---> Running in 82d2c70d4454 [2023-05-30T21:36:02.937Z] Removing intermediate container 82d2c70d4454 [2023-05-30T21:36:02.937Z] ---> 3314cdd1a50c [2023-05-30T21:36:02.937Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T21:36:02.937Z] Successfully built 3314cdd1a50c [2023-05-30T21:36:02.937Z] 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-05-30T21:36:03.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T21:36:03.369Z] [2023-05-30T21:36:03.369Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:36:03.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T21:36:03.709Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T21:36:03.709Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T21:36:03.709Z] 04944245beec: Pulling fs layer [2023-05-30T21:36:03.709Z] 699f458cf7ca: Pulling fs layer [2023-05-30T21:36:03.709Z] 765212b225bb: Pulling fs layer [2023-05-30T21:36:03.709Z] f23df028b6ca: Pulling fs layer [2023-05-30T21:36:03.709Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T21:36:03.709Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T21:36:03.709Z] f23df028b6ca: Waiting [2023-05-30T21:36:03.709Z] 765212b225bb: Waiting [2023-05-30T21:36:03.709Z] 2437ff75d9bd: Waiting [2023-05-30T21:36:03.709Z] d65c8cfc05b1: Waiting [2023-05-30T21:36:03.977Z] 04944245beec: Verifying Checksum [2023-05-30T21:36:03.977Z] 04944245beec: Download complete [2023-05-30T21:36:03.977Z] 765212b225bb: Verifying Checksum [2023-05-30T21:36:03.977Z] 765212b225bb: Download complete [2023-05-30T21:36:03.977Z] f23df028b6ca: Verifying Checksum [2023-05-30T21:36:03.977Z] f23df028b6ca: Download complete [2023-05-30T21:36:03.977Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T21:36:03.977Z] d65c8cfc05b1: Download complete [2023-05-30T21:36:03.977Z] 699f458cf7ca: Verifying Checksum [2023-05-30T21:36:03.977Z] 699f458cf7ca: Download complete [2023-05-30T21:36:04.564Z] 8998bd30e6a1: Download complete [2023-05-30T21:36:07.144Z] 2437ff75d9bd: Verifying Checksum [2023-05-30T21:36:07.144Z] 2437ff75d9bd: Download complete [2023-05-30T21:36:08.555Z] 8998bd30e6a1: Pull complete [2023-05-30T21:36:08.821Z] 04944245beec: Pull complete [2023-05-30T21:36:10.229Z] 699f458cf7ca: Pull complete [2023-05-30T21:36:10.495Z] 765212b225bb: Pull complete [2023-05-30T21:36:13.833Z] f23df028b6ca: Pull complete [2023-05-30T21:36:13.833Z] d65c8cfc05b1: Pull complete [2023-05-30T21:36:28.807Z] 2437ff75d9bd: Pull complete [2023-05-30T21:36:28.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T21:36:28.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T21:36:28.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:36:28.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container [2023-05-30T21:36:29.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-30T21:36:31.524Z] $ docker top d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:32.035Z] ---> job-cost.sh [2023-05-30T21:36:32.303Z] lf-activate-venv: SKIPPING [2023-05-30T21:36:32.303Z] INFO: No Stack... [2023-05-30T21:36:32.569Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T21:36:33.524Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T21:36:33.843Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-05-30T21:36:33.843Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T21:36:33.878Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [2023-05-30T21:36:33.885Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] did not exist. Created. [2023-05-30T21:36:33.885Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T21:36:34.539Z] /w/workspace/device-usb-camera/2@tmp/durable-8c233c66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T21:36:34.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T21:36:34.893Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T21:36:34.934Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T21:36:34.943Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T21:36:34.965Z] $ docker stop --time=1 d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 [2023-05-30T21:36:36.467Z] $ docker rm -f --volumes d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 [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-05-30T21:36:36.920Z] provisioning config files... [2023-05-30T21:36:36.928Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config2168718558802119248tmp [Pipeline] { [Pipeline] sh [2023-05-30T21:36:37.231Z] + set +x [2023-05-30T21:36:37.231Z] + bash -s -- [2023-05-30T21:36:37.231Z] + curl -s https://codecov.io/bash [2023-05-30T21:36:37.231Z] [2023-05-30T21:36:37.231Z] _____ _ [2023-05-30T21:36:37.231Z] / ____| | | [2023-05-30T21:36:37.231Z] | | ___ __| | ___ ___ _____ __ [2023-05-30T21:36:37.231Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-30T21:36:37.231Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-30T21:36:37.231Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-30T21:36:37.231Z] Bash-1.0.6 [2023-05-30T21:36:37.231Z] [2023-05-30T21:36:37.231Z] [2023-05-30T21:36:37.231Z] ==> git version 2.25.1 found [2023-05-30T21:36:37.231Z] ==> 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-05-30T21:36:37.231Z] Release-Date: 2020-01-08 [2023-05-30T21:36:37.231Z] 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-05-30T21:36:37.231Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-30T21:36:37.231Z] ==> Jenkins CI detected. [2023-05-30T21:36:37.231Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-259 [2023-05-30T21:36:37.231Z] project root: . [2023-05-30T21:36:37.231Z] --> token set from env [2023-05-30T21:36:37.231Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-30T21:36:37.491Z] ==> Running gcov in . (disable via -X gcov) [2023-05-30T21:36:37.491Z] ==> Python coveragepy not found [2023-05-30T21:36:37.491Z] ==> Searching for coverage reports in: [2023-05-30T21:36:37.491Z] + . [2023-05-30T21:36:37.491Z] -> Found 1 reports [2023-05-30T21:36:37.491Z] ==> Detecting git/mercurial file structure [2023-05-30T21:36:37.491Z] ==> Reading reports [2023-05-30T21:36:37.491Z] + ./coverage.out bytes=35569 [2023-05-30T21:36:37.491Z] ==> Appending adjustments [2023-05-30T21:36:37.491Z] https://docs.codecov.io/docs/fixing-reports [2023-05-30T21:36:37.491Z] + Found adjustments [2023-05-30T21:36:37.491Z] ==> Gzipping contents [2023-05-30T21:36:37.491Z] 8.0K /tmp/codecov.QQX2s3.gz [2023-05-30T21:36:37.491Z] ==> Uploading reports [2023-05-30T21:36:37.491Z] url: https://codecov.io [2023-05-30T21:36:37.491Z] query: branch=PR-259&commit=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-259%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=259&job=&cmd_args= [2023-05-30T21:36:37.491Z] -> Pinging Codecov [2023-05-30T21:36:37.491Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-259&commit=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-259%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=259&job=&cmd_args= [2023-05-30T21:36:37.750Z] -> Uploading to [2023-05-30T21:36:37.750Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-30/73D8F5FF140700D3E01443B452E23636/e7f5d43999fa150699e7306f8e6fecb39c0b5fa4/af4f7599-7b61-47b1-9814-77a877d47241.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T213637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d982d125bd740331ef274fd6aeb19879d2aedc1dc81f15d25ec36998c18294c3 [2023-05-30T21:36:37.750Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T21:36:37.750Z] Dload Upload Total Spent Left Speed [2023-05-30T21:36:38.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4860 0 0 100 4860 0 21793 --:--:-- --:--:-- --:--:-- 21793 [2023-05-30T21:36:38.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] } [2023-05-30T21:36:38.018Z] 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-05-30T21:36:38.764Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-259/archives ] [2023-05-30T21:36:38.764Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-259/archives [2023-05-30T21:36:38.764Z] total 16 [2023-05-30T21:36:38.764Z] drwxr-xr-x 3 root root 4096 May 30 21:27 . [2023-05-30T21:36:38.764Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:27 .. [2023-05-30T21:36:38.764Z] drwxr-xr-x 2 root root 4096 May 30 21:27 cost [2023-05-30T21:36:38.764Z] -rw-r--r-- 1 root root 89 May 30 21:27 cost.csv [2023-05-30T21:36:38.764Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-259/archives [2023-05-30T21:36:38.764Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-259/archives [2023-05-30T21:36:38.764Z] total 16 [2023-05-30T21:36:38.764Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:27 . [2023-05-30T21:36:38.764Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:27 .. [2023-05-30T21:36:38.764Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 21:27 cost [2023-05-30T21:36:38.764Z] -rw-r--r-- 1 jenkins jenkins 89 May 30 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:39.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:39.908Z] ---> package-listing.sh [2023-05-30T21:36:39.908Z] ++ facter osfamily [2023-05-30T21:36:39.908Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T21:36:40.167Z] + OS_FAMILY=debian [2023-05-30T21:36:40.167Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-259 [2023-05-30T21:36:40.167Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T21:36:40.167Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T21:36:40.167Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T21:36:40.167Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T21:36:40.167Z] + '[' /w/workspace/foundry_device-usb-camera_PR-259 ']' [2023-05-30T21:36:40.167Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T21:36:40.167Z] + case "${OS_FAMILY}" in [2023-05-30T21:36:40.167Z] + dpkg -l [2023-05-30T21:36:40.167Z] + grep '^ii' [2023-05-30T21:36:40.167Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T21:36:40.167Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T21:36:40.167Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T21:36:40.167Z] + '[' /w/workspace/foundry_device-usb-camera_PR-259 ']' [2023-05-30T21:36:40.167Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-259/archives/ [2023-05-30T21:36:40.167Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-259/archives/ [Pipeline] echo [2023-05-30T21:36:40.178Z] 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-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-30T21:36:40.461Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T21:36:41.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T21:36:41.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T21:36:41.101Z] prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container [2023-05-30T21:36:41.128Z] $ 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-259/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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@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-05-30T21:36:41.344Z] $ docker top 1b219f0907851c7683549dc98b72b7edd68c0cb9b297fdd705bf9f75fdaa8caa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T21:36:41.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T21:36:41.980Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T21:36:42.268Z] + ls /var/log/sa-host [2023-05-30T21:36:42.268Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T21:36:42.419Z] provisioning config files... [2023-05-30T21:36:42.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config1501031108779180363tmp [Pipeline] { [Pipeline] echo [2023-05-30T21:36:42.442Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:42.724Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T21:36:42.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:43.074Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T21:36:43.083Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:43.368Z] ---> sudo-logs.sh [2023-05-30T21:36:43.368Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T21:36:43.398Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:43.683Z] ---> job-cost.sh [2023-05-30T21:36:43.683Z] lf-activate-venv: SKIPPING [2023-05-30T21:36:43.683Z] DEBUG: total: 0.2199999988079071 [2023-05-30T21:36:43.683Z] INFO: Retrieving Stack Cost... [2023-05-30T21:36:43.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T21:36:44.511Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T21:36:44.523Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T21:36:44.806Z] ---> logs-deploy.sh [2023-05-30T21:36:44.806Z] lf-activate-venv: SKIPPING [2023-05-30T21:36:44.806Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-259/2 [2023-05-30T21:36:44.806Z] INFO: archiving workspace using pattern(s): [2023-05-30T21:36:45.744Z] Archives upload complete. [2023-05-30T21:36:45.744Z] INFO: archiving logs to Nexus