Pull request #194 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 MonicaisHer for edgexfoundry/device-usb-camera Obtained Jenkinsfile from bf4bb03e1a8743956c459a7f0914593d70436d2e+96327e049a2d26e356251a4ee56d80af5c884d85 (d1a6d338810b52cf3ab246ffed5b6d927af2a58b) 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-ssh12326450433583507315.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2606330384509727388.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9317909227041792386.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12942296393080825785.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9088261808984848845.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5258 in /w/workspace/foundry_device-usb-camera_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit bf4bb03e1a8743956c459a7f0914593d70436d2e Merge succeeded, producing bf4bb03e1a8743956c459a7f0914593d70436d2e Checking out Revision bf4bb03e1a8743956c459a7f0914593d70436d2e (PR-194) > git config core.sparsecheckout # timeout=10 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # 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 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git rev-list --no-walk 7bed824649b0e4143032e9826de1090acf67fa57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T18:17:46.397Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T18:17:46.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T18:17:46.450Z] ========================================================= [2023-03-22T18:17:46.450Z] EdgeX Global Pipelines Version Info [2023-03-22T18:17:46.450Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:17:47.164Z] ------------------- [2023-03-22T18:17:47.164Z] stable info: [2023-03-22T18:17:47.164Z] ------------------- [2023-03-22T18:17:47.164Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T18:17:47.164Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T18:17:47.164Z] Message: update stable to v1.0.245 [2023-03-22T18:17:47.734Z] ------------------- [2023-03-22T18:17:47.734Z] experimental info: [2023-03-22T18:17:47.734Z] ------------------- [2023-03-22T18:17:47.734Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T18:17:47.734Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T18:17:47.734Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T18:17:47.930Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-22T18:17:47.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-22T18:17:47.947Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T18:17:47.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T18:17:47.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T18:17:47.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T18:17:47.983Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T18:17:47.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T18:17:48.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T18:17:48.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T18:17:48.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T18:17:48.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-22T18:17:48.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T18:17:48.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T18:17:48.083Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T18:17:48.095Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T18:17:48.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:17:48.124Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:17:48.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T18:17:48.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T18:17:48.168Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T18:17:48.184Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T18:17:48.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T18:17:48.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T18:17:48.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T18:17:48.235Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T18:17:48.252Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T18:17:48.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo [2023-03-22T18:17:48.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo [2023-03-22T18:17:48.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo [2023-03-22T18:17:48.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo [2023-03-22T18:17:48.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf4bb03 [Pipeline] echo [2023-03-22T18:17:48.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:17:48.377Z] provisioning config files... [2023-03-22T18:17:48.392Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config5623508425581169354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:17:48.704Z] ---> docker-login.sh [2023-03-22T18:17:48.704Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:17:48.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:17:48.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:17:48.965Z] Configure a credential helper to remove this warning. See [2023-03-22T18:17:48.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:17:48.965Z] [2023-03-22T18:17:48.965Z] Login Succeeded [2023-03-22T18:17:48.965Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:17:48.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:17:48.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:17:48.965Z] Configure a credential helper to remove this warning. See [2023-03-22T18:17:48.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:17:48.965Z] [2023-03-22T18:17:48.965Z] Login Succeeded [2023-03-22T18:17:48.965Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:17:49.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:17:49.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:17:49.225Z] Configure a credential helper to remove this warning. See [2023-03-22T18:17:49.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:17:49.225Z] [2023-03-22T18:17:49.225Z] Login Succeeded [2023-03-22T18:17:49.225Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:17:49.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:17:49.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:17:49.225Z] Configure a credential helper to remove this warning. See [2023-03-22T18:17:49.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:17:49.225Z] [2023-03-22T18:17:49.225Z] Login Succeeded [2023-03-22T18:17:49.225Z] docker.io [2023-03-22T18:17:49.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:17:49.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:17:49.486Z] Configure a credential helper to remove this warning. See [2023-03-22T18:17:49.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:17:49.486Z] [2023-03-22T18:17:49.486Z] Login Succeeded [2023-03-22T18:17:49.486Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:17:49.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T18:17:49.835Z] + git rev-list -1 --merges bf4bb03e1a8743956c459a7f0914593d70436d2e~1..bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo [2023-03-22T18:17:49.882Z] -----------> git rev-list -1 --merges bf4bb03e1a8743956c459a7f0914593d70436d2e~1..bf4bb03e1a8743956c459a7f0914593d70436d2e bf4bb03e1a8743956c459a7f0914593d70436d2e [false] [Pipeline] sh [2023-03-22T18:17:50.167Z] + git log --format=format:%s -1 bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo [2023-03-22T18:17:50.182Z] ========================================================= [2023-03-22T18:17:50.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T18:17:50.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:17:50.511Z] + git log --format=format:%s -1 bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo [2023-03-22T18:17:50.523Z] [semverPrep] GIT_COMMIT: bf4bb03e1a8743956c459a7f0914593d70436d2e, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-22T18:17:50.534Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T18:17:50.876Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T18:17:50.876Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T18:17:50.876Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T18:17:50.876Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T18:17:50.876Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T18:17:50.876Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T18:17:50.876Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:17:51.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:17:51.218Z] [2023-03-22T18:17:51.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:17:51.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:17:51.521Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T18:17:51.521Z] b85a868b505f: Pulling fs layer [2023-03-22T18:17:51.521Z] e2be974225ed: Pulling fs layer [2023-03-22T18:17:51.521Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T18:17:51.521Z] 988bab9f4d93: Pulling fs layer [2023-03-22T18:17:51.521Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T18:17:51.521Z] eaf3925da568: Pulling fs layer [2023-03-22T18:17:51.521Z] bab4dde63d76: Pulling fs layer [2023-03-22T18:17:51.521Z] bde34c3a00c8: Pulling fs layer [2023-03-22T18:17:51.521Z] b352a97aabf1: Pulling fs layer [2023-03-22T18:17:51.521Z] 4872d77fe225: Pulling fs layer [2023-03-22T18:17:51.521Z] 5851b861e8e6: Pulling fs layer [2023-03-22T18:17:51.521Z] 988bab9f4d93: Waiting [2023-03-22T18:17:51.521Z] 1469e6f7b9e6: Waiting [2023-03-22T18:17:51.521Z] eaf3925da568: Waiting [2023-03-22T18:17:51.521Z] bab4dde63d76: Waiting [2023-03-22T18:17:51.521Z] b352a97aabf1: Waiting [2023-03-22T18:17:51.521Z] bde34c3a00c8: Waiting [2023-03-22T18:17:51.521Z] 5851b861e8e6: Waiting [2023-03-22T18:17:51.521Z] e2be974225ed: Verifying Checksum [2023-03-22T18:17:51.521Z] e2be974225ed: Download complete [2023-03-22T18:17:51.521Z] 988bab9f4d93: Verifying Checksum [2023-03-22T18:17:51.521Z] 988bab9f4d93: Download complete [2023-03-22T18:17:51.781Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T18:17:51.781Z] 1469e6f7b9e6: Download complete [2023-03-22T18:17:51.781Z] eaf3925da568: Download complete [2023-03-22T18:17:51.781Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T18:17:51.781Z] 339a4e72a1f5: Download complete [2023-03-22T18:17:51.781Z] bde34c3a00c8: Download complete [2023-03-22T18:17:51.781Z] b352a97aabf1: Download complete [2023-03-22T18:17:51.781Z] 4872d77fe225: Verifying Checksum [2023-03-22T18:17:51.781Z] 4872d77fe225: Download complete [2023-03-22T18:17:51.781Z] 5851b861e8e6: Verifying Checksum [2023-03-22T18:17:51.781Z] 5851b861e8e6: Download complete [2023-03-22T18:17:51.781Z] b85a868b505f: Verifying Checksum [2023-03-22T18:17:51.781Z] b85a868b505f: Download complete [2023-03-22T18:17:52.041Z] bab4dde63d76: Verifying Checksum [2023-03-22T18:17:52.041Z] bab4dde63d76: Download complete [2023-03-22T18:17:52.981Z] b85a868b505f: Pull complete [2023-03-22T18:17:53.240Z] e2be974225ed: Pull complete [2023-03-22T18:17:53.500Z] 339a4e72a1f5: Pull complete [2023-03-22T18:17:53.760Z] 988bab9f4d93: Pull complete [2023-03-22T18:17:54.018Z] 1469e6f7b9e6: Pull complete [2023-03-22T18:17:54.018Z] eaf3925da568: Pull complete [2023-03-22T18:17:55.922Z] bab4dde63d76: Pull complete [2023-03-22T18:17:55.922Z] bde34c3a00c8: Pull complete [2023-03-22T18:17:55.922Z] b352a97aabf1: Pull complete [2023-03-22T18:17:56.181Z] 4872d77fe225: Pull complete [2023-03-22T18:17:56.181Z] 5851b861e8e6: Pull complete [2023-03-22T18:17:56.181Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T18:17:56.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:17:56.182Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:17:56.325Z] prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container [2023-03-22T18:17:56.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T18:17:58.875Z] $ docker top e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f -eo pid,comm [2023-03-22T18:17:58.929Z] 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-03-22T18:17:58.929Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T18:17:58.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:17:58.976Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:17:59.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:17:59.092Z] $ docker exec e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent [2023-03-22T18:17:59.196Z] SSH_AUTH_SOCK=/tmp/ssh-vx5EPvdgk5kX/agent.31 [2023-03-22T18:17:59.196Z] SSH_AGENT_PID=37 [2023-03-22T18:17:59.202Z] Running ssh-add (command line suppressed) [2023-03-22T18:17:59.315Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_1341354578180416724.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_1341354578180416724.key) [2023-03-22T18:17:59.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:17:59.620Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T18:17:59.634Z] $ docker exec --env ******** --env ******** e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent -k [2023-03-22T18:17:59.740Z] unset SSH_AUTH_SOCK; [2023-03-22T18:17:59.741Z] unset SSH_AGENT_PID; [2023-03-22T18:17:59.741Z] echo Agent pid 37 killed; [2023-03-22T18:17:59.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T18:17:59.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:17:59.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:17:59.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:17:59.882Z] $ docker exec e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent [2023-03-22T18:17:59.978Z] SSH_AUTH_SOCK=/tmp/ssh-Q27ilKa5X8cC/agent.69 [2023-03-22T18:17:59.978Z] SSH_AGENT_PID=75 [2023-03-22T18:17:59.983Z] Running ssh-add (command line suppressed) [2023-03-22T18:18:00.086Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_5931781367025288077.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_5931781367025288077.key) [2023-03-22T18:18:00.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:18:00.384Z] + git semver init [2023-03-22T18:18:00.644Z] 2023-03-22 18:18:00,547 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T18:18:00.644Z] 2023-03-22 18:18:00,548 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-194/.semver [2023-03-22T18:18:00.644Z] 2023-03-22 18:18:00,548 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-194/.semver [2023-03-22T18:18:00.644Z] 2023-03-22 18:18:00,548 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-194/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-194, universal_newlines=False, shell=None, istream=None) [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,246 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-194/.git/info/exclude [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 with force:False [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,246 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,251 [execute] INFO git cat-file --batch-check [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,257 [execute] INFO git cat-file --batch [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:18:01.584Z] 2023-03-22 18:18:01,263 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 [2023-03-22T18:18:01.584Z] 0.0.0 [Pipeline] } [2023-03-22T18:18:01.597Z] $ docker exec --env ******** --env ******** e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent -k [2023-03-22T18:18:01.694Z] unset SSH_AUTH_SOCK; [2023-03-22T18:18:01.694Z] unset SSH_AGENT_PID; [2023-03-22T18:18:01.694Z] echo Agent pid 75 killed; [2023-03-22T18:18:01.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T18:18:02.000Z] + git semver [Pipeline] } [2023-03-22T18:18:02.275Z] $ docker stop --time=1 e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f [2023-03-22T18:18:03.536Z] $ docker rm -f --volumes e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:18:03.871Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T18:18:04.090Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T18:18:04.092Z] [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-03-22T18:18:04.219Z] provisioning config files... [2023-03-22T18:18:04.228Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config4069443257171828292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:18:04.519Z] ---> docker-login.sh [2023-03-22T18:18:04.519Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:18:04.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:18:04.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:18:04.519Z] Configure a credential helper to remove this warning. See [2023-03-22T18:18:04.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:18:04.519Z] [2023-03-22T18:18:04.519Z] Login Succeeded [2023-03-22T18:18:04.519Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:18:04.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:18:04.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:18:04.519Z] Configure a credential helper to remove this warning. See [2023-03-22T18:18:04.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:18:04.519Z] [2023-03-22T18:18:04.519Z] Login Succeeded [2023-03-22T18:18:04.519Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:18:04.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:18:04.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:18:04.780Z] Configure a credential helper to remove this warning. See [2023-03-22T18:18:04.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:18:04.780Z] [2023-03-22T18:18:04.780Z] Login Succeeded [2023-03-22T18:18:04.780Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:18:04.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:18:04.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:18:04.780Z] Configure a credential helper to remove this warning. See [2023-03-22T18:18:04.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:18:04.780Z] [2023-03-22T18:18:04.780Z] Login Succeeded [2023-03-22T18:18:04.780Z] docker.io [2023-03-22T18:18:04.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:18:05.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:18:05.039Z] Configure a credential helper to remove this warning. See [2023-03-22T18:18:05.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:18:05.039Z] [2023-03-22T18:18:05.039Z] Login Succeeded [2023-03-22T18:18:05.039Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:18:05.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:18:05.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:18:05.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:18:05.142Z] ========================================================= [2023-03-22T18:18:05.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T18:18:05.142Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:18:05.456Z] + 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-03-22T18:18:05.456Z] Sending build context to Docker daemon 1.878MB [2023-03-22T18:18:05.456Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:18:05.456Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T18:18:05.456Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T18:18:05.456Z] 63b65145d645: Pulling fs layer [2023-03-22T18:18:05.456Z] a2d21d5440eb: Pulling fs layer [2023-03-22T18:18:05.456Z] 935e6c44a52c: Pulling fs layer [2023-03-22T18:18:05.456Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T18:18:05.456Z] 30dea6a524f1: Pulling fs layer [2023-03-22T18:18:05.456Z] a2aff8979fd8: Pulling fs layer [2023-03-22T18:18:05.456Z] 6808be2612f2: Pulling fs layer [2023-03-22T18:18:05.456Z] f25807f1079a: Pulling fs layer [2023-03-22T18:18:05.456Z] a2aff8979fd8: Waiting [2023-03-22T18:18:05.456Z] 6808be2612f2: Waiting [2023-03-22T18:18:05.456Z] f25807f1079a: Waiting [2023-03-22T18:18:05.456Z] 94cc34f8dd06: Waiting [2023-03-22T18:18:05.456Z] 30dea6a524f1: Waiting [2023-03-22T18:18:05.456Z] a2d21d5440eb: Verifying Checksum [2023-03-22T18:18:05.456Z] a2d21d5440eb: Download complete [2023-03-22T18:18:05.456Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T18:18:05.456Z] 94cc34f8dd06: Download complete [2023-03-22T18:18:05.456Z] 30dea6a524f1: Download complete [2023-03-22T18:18:05.717Z] 63b65145d645: Download complete [2023-03-22T18:18:05.717Z] a2aff8979fd8: Verifying Checksum [2023-03-22T18:18:05.717Z] a2aff8979fd8: Download complete [2023-03-22T18:18:05.717Z] 63b65145d645: Pull complete [2023-03-22T18:18:05.981Z] a2d21d5440eb: Pull complete [2023-03-22T18:18:06.241Z] f25807f1079a: Verifying Checksum [2023-03-22T18:18:06.241Z] f25807f1079a: Download complete [2023-03-22T18:18:06.241Z] 935e6c44a52c: Download complete [2023-03-22T18:18:06.498Z] 6808be2612f2: Verifying Checksum [2023-03-22T18:18:06.498Z] 6808be2612f2: Download complete [2023-03-22T18:18:09.775Z] 935e6c44a52c: Pull complete [2023-03-22T18:18:09.775Z] 94cc34f8dd06: Pull complete [2023-03-22T18:18:09.775Z] 30dea6a524f1: Pull complete [2023-03-22T18:18:09.775Z] a2aff8979fd8: Pull complete [2023-03-22T18:18:11.672Z] 6808be2612f2: Pull complete [2023-03-22T18:18:12.602Z] f25807f1079a: Pull complete [2023-03-22T18:18:12.603Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T18:18:12.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T18:18:12.603Z] ---> 3b553350e43f [2023-03-22T18:18:12.603Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:18:16.788Z] ---> Running in d964ffa7f4c7 [2023-03-22T18:18:16.788Z] Removing intermediate container d964ffa7f4c7 [2023-03-22T18:18:16.788Z] ---> 34c5226dcf74 [2023-03-22T18:18:16.788Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:18:16.788Z] ---> Running in 8f8acb243df2 [2023-03-22T18:18:16.788Z] Removing intermediate container 8f8acb243df2 [2023-03-22T18:18:16.788Z] ---> fd779326f097 [2023-03-22T18:18:16.788Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:18:16.788Z] ---> Running in 5076a37992c6 [2023-03-22T18:18:16.788Z] Removing intermediate container 5076a37992c6 [2023-03-22T18:18:16.788Z] ---> c32c2bdeff0e [2023-03-22T18:18:16.788Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:18:16.788Z] ---> Running in 6b8c9c4b2565 [2023-03-22T18:18:16.788Z] Removing intermediate container 6b8c9c4b2565 [2023-03-22T18:18:16.788Z] ---> 267056502091 [2023-03-22T18:18:16.788Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:18:16.788Z] ---> Running in 5680c40caf3d [2023-03-22T18:18:17.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:18:17.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:18:17.569Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-22T18:18:17.569Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:18:17.569Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:18:17.569Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:18:17.569Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-22T18:18:17.569Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-22T18:18:17.569Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-22T18:18:17.569Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-22T18:18:17.569Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:18:17.569Z] (10/14) Installing kmod-libs (30-r1) [2023-03-22T18:18:17.569Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-22T18:18:17.569Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-22T18:18:17.569Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-22T18:18:17.569Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-22T18:18:17.569Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:18:17.569Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:18:17.569Z] OK: 272 MiB in 67 packages [2023-03-22T18:18:18.136Z] Removing intermediate container 5680c40caf3d [2023-03-22T18:18:18.136Z] ---> bf9413ab8a22 [2023-03-22T18:18:18.136Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-22T18:18:18.136Z] ---> Running in 24de6cc7cb85 [2023-03-22T18:18:18.136Z] Removing intermediate container 24de6cc7cb85 [2023-03-22T18:18:18.136Z] ---> 8e1f4eaa8af2 [2023-03-22T18:18:18.136Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-22T18:18:18.395Z] ---> 0d066a4807ff [2023-03-22T18:18:18.395Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:18:18.395Z] ---> Running in f388ec523b74 [2023-03-22T18:18:19.180Z] Still waiting to schedule task [2023-03-22T18:18:19.180Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T18:19:05.111Z] Removing intermediate container f388ec523b74 [2023-03-22T18:19:05.111Z] ---> d780640f9596 [2023-03-22T18:19:05.111Z] Step 11/13 : COPY . . [2023-03-22T18:19:05.111Z] ---> a737ad277df0 [2023-03-22T18:19:05.111Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:19:05.111Z] ---> Running in 05f1c543bd18 [2023-03-22T18:19:05.111Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-03-22T18:19:05.111Z] Dload Upload Total Spent Left Speed [2023-03-22T18:19:05.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7175 0 --:--:-- --:--:-- --:--:-- 7224 [2023-03-22T18:19:05.111Z] Removing intermediate container 05f1c543bd18 [2023-03-22T18:19:05.111Z] ---> af69625b2f44 [2023-03-22T18:19:05.111Z] Step 13/13 : RUN ${MAKE} [2023-03-22T18:19:05.111Z] ---> Running in 00d7333d5c31 [2023-03-22T18:19:05.111Z] noop [2023-03-22T18:19:05.111Z] Removing intermediate container 00d7333d5c31 [2023-03-22T18:19:05.111Z] ---> 46cce2c0d600 [2023-03-22T18:19:05.111Z] Successfully built 46cce2c0d600 [2023-03-22T18:19:05.111Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:19:05.416Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:19:05.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:19:05.490Z] prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container [2023-03-22T18:19:05.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** ci-base-image-x86_64 cat [2023-03-22T18:19:05.866Z] $ docker top 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:19:06.213Z] + go version [2023-03-22T18:19:06.213Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T18:19:06.225Z] $ docker stop --time=1 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 [2023-03-22T18:19:07.461Z] $ docker rm -f --volumes 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:19:07.868Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:19:07.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:19:07.937Z] prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container [2023-03-22T18:19:07.966Z] $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** ci-base-image-x86_64 cat [2023-03-22T18:19:08.287Z] $ docker top 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:19:08.622Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:19:08.925Z] + make test [2023-03-22T18:19:08.925Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T18:19:13.112Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-22T18:19:23.080Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-22T18:19:23.657Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements [2023-03-22T18:19:30.236Z] go vet ./... [2023-03-22T18:19:32.767Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T18:19:32.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T18:19:32.767Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T18:19:32.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T18:19:32.796Z] $ docker stop --time=1 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c [2023-03-22T18:19:37.407Z] $ docker rm -f --volumes 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:19:37.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T18:19:37.892Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T18:19:38.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T18:19:38.730Z] + ls -al . [2023-03-22T18:19:38.730Z] total 188 [2023-03-22T18:19:38.730Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 18:19 . [2023-03-22T18:19:38.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 .. [2023-03-22T18:19:38.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:18 .git [2023-03-22T18:19:38.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 .github [2023-03-22T18:19:38.730Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 18:17 .gitignore [2023-03-22T18:19:38.730Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:17 .golangci.yml [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 18:17 .hadolint.yml [2023-03-22T18:19:38.731Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:18 .semver [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 22 18:17 Attribution.txt [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 22 18:17 CHANGELOG.md [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 22 18:17 Dockerfile [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 18:17 GOVERNANCE.md [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 22 18:17 Jenkinsfile [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:17 LICENSE [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 22 18:17 Makefile [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 18:17 OWNERS.md [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 5681 Mar 22 18:17 README.md [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:18 VERSION [2023-03-22T18:19:38.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:17 bin [2023-03-22T18:19:38.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 cmd [2023-03-22T18:19:38.731Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 22 18:19 coverage.out [2023-03-22T18:19:38.731Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 18:17 docker-entrypoint.sh [2023-03-22T18:19:38.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 docs [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 22 18:17 go.mod [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 22 18:17 go.sum [2023-03-22T18:19:38.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 internal [2023-03-22T18:19:38.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 snap [2023-03-22T18:19:38.731Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:19:39.028Z] + 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=bf4bb03e1a8743956c459a7f0914593d70436d2e --label arch=amd64 --label version=0.0.0 . [2023-03-22T18:19:39.029Z] Sending build context to Docker daemon 1.907MB [2023-03-22T18:19:39.029Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:19:39.029Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-22T18:19:39.029Z] ---> 46cce2c0d600 [2023-03-22T18:19:39.029Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:19:39.029Z] ---> Running in fb472c9843ff [2023-03-22T18:19:39.287Z] Removing intermediate container fb472c9843ff [2023-03-22T18:19:39.287Z] ---> 96b73333236c [2023-03-22T18:19:39.287Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:19:39.287Z] ---> Running in dc1c6423637b [2023-03-22T18:19:39.287Z] Removing intermediate container dc1c6423637b [2023-03-22T18:19:39.287Z] ---> 4b9560e452fb [2023-03-22T18:19:39.287Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:19:39.287Z] ---> Running in 0c38c8270fb4 [2023-03-22T18:19:39.287Z] Removing intermediate container 0c38c8270fb4 [2023-03-22T18:19:39.287Z] ---> 98cbb062bc5d [2023-03-22T18:19:39.287Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:19:39.287Z] ---> Running in b1493c125126 [2023-03-22T18:19:39.545Z] Removing intermediate container b1493c125126 [2023-03-22T18:19:39.545Z] ---> c42f461cc321 [2023-03-22T18:19:39.545Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:19:39.545Z] ---> Running in c375c91bb1ba [2023-03-22T18:19:39.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:19:39.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:19:40.061Z] OK: 272 MiB in 67 packages [2023-03-22T18:19:40.320Z] Removing intermediate container c375c91bb1ba [2023-03-22T18:19:40.320Z] ---> 7fa3eb439bed [2023-03-22T18:19:40.320Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-22T18:19:40.320Z] ---> Running in 9b55df61756b [2023-03-22T18:19:40.320Z] Removing intermediate container 9b55df61756b [2023-03-22T18:19:40.320Z] ---> 4b405fcfdb86 [2023-03-22T18:19:40.320Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-22T18:19:40.578Z] ---> 717e8973efb9 [2023-03-22T18:19:40.578Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:19:40.578Z] ---> Running in 0b161cf5ef1b [2023-03-22T18:19:41.513Z] Removing intermediate container 0b161cf5ef1b [2023-03-22T18:19:41.513Z] ---> 3bdc95747b03 [2023-03-22T18:19:41.513Z] Step 11/35 : COPY . . [2023-03-22T18:19:41.513Z] ---> b666bac44e95 [2023-03-22T18:19:41.513Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:19:41.513Z] ---> Running in afda2c7875d1 [2023-03-22T18:19:41.772Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:19:41.772Z] Dload Upload Total Spent Left Speed [2023-03-22T18:19:42.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20790 0 --:--:-- --:--:-- --:--:-- 21240 [2023-03-22T18:19:42.030Z] Removing intermediate container afda2c7875d1 [2023-03-22T18:19:42.030Z] ---> e25341b8ee8e [2023-03-22T18:19:42.030Z] Step 13/35 : RUN ${MAKE} [2023-03-22T18:19:42.289Z] ---> Running in 4cad3bdfec84 [2023-03-22T18:19:42.289Z] 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-03-22T18:20:08.832Z] Removing intermediate container 4cad3bdfec84 [2023-03-22T18:20:08.832Z] ---> a8ca9c5f5587 [2023-03-22T18:20:08.832Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-22T18:20:08.832Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-22T18:20:08.832Z] 4acc49c71d14: Pulling fs layer [2023-03-22T18:20:08.832Z] 4acc49c71d14: Verifying Checksum [2023-03-22T18:20:08.832Z] 4acc49c71d14: Download complete [2023-03-22T18:20:08.832Z] 4acc49c71d14: Pull complete [2023-03-22T18:20:08.832Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-22T18:20:08.832Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-22T18:20:08.832Z] ---> 01a2bd3e5fff [2023-03-22T18:20:08.832Z] Step 15/35 : FROM alpine:3.17 [2023-03-22T18:20:08.832Z] 3.17: Pulling from library/alpine [2023-03-22T18:20:08.832Z] 63b65145d645: Already exists [2023-03-22T18:20:08.832Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T18:20:08.832Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T18:20:08.832Z] ---> b2aa39c304c2 [2023-03-22T18:20:08.832Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-22T18:20:08.832Z] ---> Running in 4ba424287318 [2023-03-22T18:20:08.832Z] Removing intermediate container 4ba424287318 [2023-03-22T18:20:08.832Z] ---> 982047c351ef [2023-03-22T18:20:08.832Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-22T18:20:08.832Z] ---> Running in 279c479f1d1a [2023-03-22T18:20:09.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:20:09.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:20:09.351Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-03-22T18:20:09.611Z] (2/86) Installing sdl2 (2.26.3-r0) [2023-03-22T18:20:09.611Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-03-22T18:20:09.611Z] (4/86) Installing libxau (1.0.10-r0) [2023-03-22T18:20:09.611Z] (5/86) Installing libmd (1.0.4-r0) [2023-03-22T18:20:09.611Z] (6/86) Installing libbsd (0.11.7-r0) [2023-03-22T18:20:09.611Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-03-22T18:20:09.611Z] (8/86) Installing libxcb (1.15-r0) [2023-03-22T18:20:09.611Z] (9/86) Installing libx11 (1.8.4-r0) [2023-03-22T18:20:09.611Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-03-22T18:20:09.611Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-03-22T18:20:09.611Z] (12/86) Installing libexpat (2.5.0-r0) [2023-03-22T18:20:09.611Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-03-22T18:20:09.611Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-03-22T18:20:09.611Z] (15/86) Installing libpng (1.6.38-r0) [2023-03-22T18:20:09.611Z] (16/86) Installing freetype (2.12.1-r0) [2023-03-22T18:20:09.611Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-03-22T18:20:09.611Z] (18/86) Installing fribidi (1.0.12-r0) [2023-03-22T18:20:09.611Z] (19/86) Installing libffi (3.4.4-r0) [2023-03-22T18:20:09.611Z] (20/86) Installing libintl (0.21.1-r1) [2023-03-22T18:20:09.872Z] (21/86) Installing libblkid (2.38.1-r1) [2023-03-22T18:20:09.872Z] (22/86) Installing libmount (2.38.1-r1) [2023-03-22T18:20:09.872Z] (23/86) Installing pcre2 (10.42-r0) [2023-03-22T18:20:09.872Z] (24/86) Installing glib (2.74.6-r0) [2023-03-22T18:20:09.872Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-03-22T18:20:09.872Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-03-22T18:20:09.872Z] (27/86) Installing libass (0.16.0-r1) [2023-03-22T18:20:09.872Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-03-22T18:20:09.872Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-03-22T18:20:09.872Z] (30/86) Installing libpciaccess (0.17-r0) [2023-03-22T18:20:09.873Z] (31/86) Installing libdrm (2.4.114-r0) [2023-03-22T18:20:09.873Z] (32/86) Installing gmp (6.2.1-r2) [2023-03-22T18:20:09.873Z] (33/86) Installing nettle (3.8.1-r0) [2023-03-22T18:20:09.873Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-03-22T18:20:09.873Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-03-22T18:20:09.873Z] (36/86) Installing libunistring (1.1-r0) [2023-03-22T18:20:09.873Z] (37/86) Installing gnutls (3.7.8-r3) [2023-03-22T18:20:09.873Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-22T18:20:09.873Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-22T18:20:09.873Z] (40/86) Installing lame (3.100-r2) [2023-03-22T18:20:09.873Z] (41/86) Installing opus (1.3.1-r1) [2023-03-22T18:20:09.873Z] (42/86) Installing libasyncns (0.8-r1) [2023-03-22T18:20:09.873Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-03-22T18:20:09.873Z] (44/86) Installing libltdl (2.4.7-r1) [2023-03-22T18:20:09.873Z] (45/86) Installing orc (0.4.33-r0) [2023-03-22T18:20:09.873Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-03-22T18:20:09.873Z] (47/86) Installing libogg (1.3.5-r2) [2023-03-22T18:20:09.873Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-22T18:20:10.133Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-03-22T18:20:10.133Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-03-22T18:20:10.133Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-03-22T18:20:10.134Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-03-22T18:20:10.134Z] (53/86) Installing soxr (0.1.3-r3) [2023-03-22T18:20:10.134Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-03-22T18:20:10.134Z] (55/86) Installing tdb-libs (1.4.7-r0) [2023-03-22T18:20:10.134Z] (56/86) Installing libpulse (16.1-r6) [2023-03-22T18:20:10.134Z] (57/86) Installing cjson (1.7.15-r3) [2023-03-22T18:20:10.134Z] (58/86) Installing mbedtls (2.28.2-r0) [2023-03-22T18:20:10.134Z] (59/86) Installing librist (0.2.7-r0) [2023-03-22T18:20:10.134Z] (60/86) Installing libsrt (1.5.1-r0) [2023-03-22T18:20:10.134Z] (61/86) Installing libssh (0.10.4-r0) [2023-03-22T18:20:10.134Z] (62/86) Installing libtheora (1.1.1-r16) [2023-03-22T18:20:10.134Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:20:10.134Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:20:10.134Z] (65/86) Installing libxext (1.3.5-r0) [2023-03-22T18:20:10.134Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-03-22T18:20:10.134Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-03-22T18:20:10.134Z] (68/86) Installing libva (2.16.0-r0) [2023-03-22T18:20:10.134Z] (69/86) Installing libvdpau (1.5-r0) [2023-03-22T18:20:10.134Z] (70/86) Installing vidstab (1.1.0-r2) [2023-03-22T18:20:10.134Z] (71/86) Installing libvpx (1.12.0-r1) [2023-03-22T18:20:10.134Z] (72/86) Installing libwebp (1.2.4-r1) [2023-03-22T18:20:10.134Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-03-22T18:20:10.134Z] (74/86) Installing numactl (2.0.16-r1) [2023-03-22T18:20:10.134Z] (75/86) Installing x265-libs (3.5-r3) [2023-03-22T18:20:10.393Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-03-22T18:20:10.393Z] (77/86) Installing libsodium (1.0.18-r2) [2023-03-22T18:20:10.393Z] (78/86) Installing libzmq (4.3.4-r1) [2023-03-22T18:20:10.393Z] (79/86) Installing ffmpeg-libs (5.1.2-r1) [2023-03-22T18:20:10.393Z] (80/86) Installing ffmpeg (5.1.2-r1) [2023-03-22T18:20:10.393Z] (81/86) Installing udev-init-scripts (35-r1) [2023-03-22T18:20:10.393Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:20:10.393Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-03-22T18:20:10.393Z] (84/86) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:20:10.393Z] (85/86) Installing kmod-libs (30-r1) [2023-03-22T18:20:10.393Z] (86/86) Installing eudev (3.2.11-r4) [2023-03-22T18:20:10.393Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:20:10.393Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:20:10.393Z] OK: 111 MiB in 101 packages [2023-03-22T18:20:14.820Z] Removing intermediate container 279c479f1d1a [2023-03-22T18:20:14.820Z] ---> 21b3c1d08ad0 [2023-03-22T18:20:14.820Z] Step 18/35 : WORKDIR / [2023-03-22T18:20:14.820Z] ---> Running in 3c4a238ed7e6 [2023-03-22T18:20:14.820Z] Removing intermediate container 3c4a238ed7e6 [2023-03-22T18:20:14.820Z] ---> ec30069a546f [2023-03-22T18:20:14.820Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-22T18:20:15.080Z] ---> 752dd38bd7d2 [2023-03-22T18:20:15.080Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-22T18:20:15.337Z] ---> 31b78a1003de [2023-03-22T18:20:15.337Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-22T18:20:15.337Z] ---> 37526ad71d1f [2023-03-22T18:20:15.337Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-22T18:20:15.595Z] ---> 43790725d651 [2023-03-22T18:20:15.595Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-22T18:20:15.595Z] ---> 5832642f4160 [2023-03-22T18:20:15.595Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-22T18:20:15.595Z] ---> 7a48c60eab33 [2023-03-22T18:20:15.595Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-22T18:20:16.970Z] ---> 20b8186bc8a9 [2023-03-22T18:20:16.970Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-22T18:20:16.970Z] ---> Running in 89b4e1a888a9 [2023-03-22T18:20:17.228Z] Removing intermediate container 89b4e1a888a9 [2023-03-22T18:20:17.228Z] ---> d7805ee1b9ea [2023-03-22T18:20:17.228Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-22T18:20:17.228Z] ---> Running in d8568fbab4a5 [2023-03-22T18:20:17.793Z] Removing intermediate container d8568fbab4a5 [2023-03-22T18:20:17.793Z] ---> c903519b2d4a [2023-03-22T18:20:17.793Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-22T18:20:17.793Z] ---> Running in a1da0e0ba651 [2023-03-22T18:20:18.360Z] Removing intermediate container a1da0e0ba651 [2023-03-22T18:20:18.360Z] ---> bd474766fc35 [2023-03-22T18:20:18.360Z] Step 29/35 : EXPOSE 59983 [2023-03-22T18:20:18.360Z] ---> Running in d33650349f39 [2023-03-22T18:20:18.360Z] Removing intermediate container d33650349f39 [2023-03-22T18:20:18.360Z] ---> 565a462d59fc [2023-03-22T18:20:18.360Z] Step 30/35 : EXPOSE 8554 [2023-03-22T18:20:18.360Z] ---> Running in ecebcc01b98e [2023-03-22T18:20:18.360Z] Removing intermediate container ecebcc01b98e [2023-03-22T18:20:18.360Z] ---> 60e235fbf433 [2023-03-22T18:20:18.360Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-22T18:20:18.360Z] ---> Running in 01bb7696a698 [2023-03-22T18:20:18.618Z] Removing intermediate container 01bb7696a698 [2023-03-22T18:20:18.618Z] ---> 68b180f5c215 [2023-03-22T18:20:18.618Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-22T18:20:18.618Z] ---> Running in 63ceaa8a812e [2023-03-22T18:20:18.618Z] Removing intermediate container 63ceaa8a812e [2023-03-22T18:20:18.618Z] ---> 87a4e3a88a11 [2023-03-22T18:20:18.618Z] Step 33/35 : LABEL arch=amd64 [2023-03-22T18:20:18.618Z] ---> Running in a0c483197c4c [2023-03-22T18:20:18.618Z] Removing intermediate container a0c483197c4c [2023-03-22T18:20:18.618Z] ---> 14ed3b31edc8 [2023-03-22T18:20:18.618Z] Step 34/35 : LABEL git_sha=bf4bb03e1a8743956c459a7f0914593d70436d2e [2023-03-22T18:20:18.618Z] ---> Running in c66737db04aa [2023-03-22T18:20:18.618Z] Removing intermediate container c66737db04aa [2023-03-22T18:20:18.618Z] ---> 503906224022 [2023-03-22T18:20:18.618Z] Step 35/35 : LABEL version=0.0.0 [2023-03-22T18:20:18.875Z] ---> Running in f4f3a30568b7 [2023-03-22T18:20:18.875Z] Removing intermediate container f4f3a30568b7 [2023-03-22T18:20:18.875Z] ---> e72ee449a616 [2023-03-22T18:20:18.875Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T18:20:18.875Z] Successfully built e72ee449a616 [2023-03-22T18:20:18.875Z] 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-03-22T18:20:19.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:20:19.311Z] [2023-03-22T18:20:19.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:20:19.561Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5259 in /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] { [Pipeline] ws [2023-03-22T18:20:19.572Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-03-22T18:20:19.602Z] Selected Git installation does not exist. Using Default [2023-03-22T18:20:19.602Z] The recommended git tool is: NONE [2023-03-22T18:20:19.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:20:19.610Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T18:20:19.610Z] 5eb5b503b376: Pulling fs layer [2023-03-22T18:20:19.610Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T18:20:19.610Z] ec43610c2a17: Pulling fs layer [2023-03-22T18:20:19.610Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T18:20:19.610Z] 33b1e0a273af: Pulling fs layer [2023-03-22T18:20:19.610Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T18:20:19.610Z] 2f39f015ded8: Pulling fs layer [2023-03-22T18:20:19.610Z] 33b1e0a273af: Waiting [2023-03-22T18:20:19.610Z] 5d3b04190fa2: Waiting [2023-03-22T18:20:19.610Z] 3a2ae6a8a46f: Waiting [2023-03-22T18:20:19.610Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T18:20:19.610Z] 5c69ac0246d0: Download complete [2023-03-22T18:20:19.610Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T18:20:19.610Z] 3a2ae6a8a46f: Download complete [2023-03-22T18:20:19.868Z] 33b1e0a273af: Verifying Checksum [2023-03-22T18:20:19.868Z] 33b1e0a273af: Download complete [2023-03-22T18:20:19.868Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T18:20:19.868Z] 5d3b04190fa2: Download complete [2023-03-22T18:20:19.868Z] ec43610c2a17: Verifying Checksum [2023-03-22T18:20:19.868Z] ec43610c2a17: Download complete [2023-03-22T18:20:19.868Z] 5eb5b503b376: Download complete [2023-03-22T18:20:20.436Z] 2f39f015ded8: Download complete [2023-03-22T18:20:21.006Z] 5eb5b503b376: Pull complete [2023-03-22T18:20:21.006Z] 5c69ac0246d0: Pull complete [2023-03-22T18:20:21.264Z] ec43610c2a17: Pull complete [2023-03-22T18:20:21.522Z] 3a2ae6a8a46f: Pull complete [2023-03-22T18:20:21.522Z] 33b1e0a273af: Pull complete [2023-03-22T18:20:21.522Z] 5d3b04190fa2: Pull complete [2023-03-22T18:20:25.556Z] using credential edgex-jenkins-ssh [2023-03-22T18:20:25.572Z] Cloning the remote Git repository [2023-03-22T18:20:25.706Z] 2f39f015ded8: Pull complete [2023-03-22T18:20:25.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T18:20:25.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:20:25.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:20:25.796Z] prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container [2023-03-22T18:20:25.825Z] $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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-03-22T18:20:25.624Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:20:25.738Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-03-22T18:20:25.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:20:25.898Z] > git --version # timeout=10 [2023-03-22T18:20:25.930Z] > git --version # 'git version 2.25.1' [2023-03-22T18:20:25.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:20:26.119Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:20:26.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-22T18:20:26.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:20:27.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-22T18:20:27.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:20:27.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:20:27.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T18:20:28.530Z] Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit bf4bb03e1a8743956c459a7f0914593d70436d2e [2023-03-22T18:20:28.820Z] Merge succeeded, producing bf4bb03e1a8743956c459a7f0914593d70436d2e [2023-03-22T18:20:28.821Z] Checking out Revision bf4bb03e1a8743956c459a7f0914593d70436d2e (PR-194) [2023-03-22T18:20:28.546Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:20:28.621Z] > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 [2023-03-22T18:20:28.715Z] > git remote # timeout=10 [2023-03-22T18:20:28.735Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T18:20:28.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:20:28.776Z] > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 [2023-03-22T18:20:28.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T18:20:28.826Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:20:28.840Z] > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 [2023-03-22T18:20:30.767Z] $ docker top 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:20:31.135Z] ---> job-cost.sh [2023-03-22T18:20:31.135Z] lf-activate-venv: SKIPPING [2023-03-22T18:20:31.135Z] INFO: No Stack... [2023-03-22T18:20:31.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:20:31.651Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:20:31.948Z] + cat /w/workspace/foundry_device-usb-camera_PR-194/archives/cost.csv [2023-03-22T18:20:31.948Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T18:20:31.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [2023-03-22T18:20:31.977Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] did not exist. Created. [2023-03-22T18:20:31.977Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:20:32.277Z] + echo total: 0.2199999988079071 [2023-03-22T18:20:32.284Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [Pipeline] stash [2023-03-22T18:20:32.321Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:20:32.328Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:20:32.348Z] $ docker stop --time=1 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 [2023-03-22T18:20:32.802Z] [2023-03-22T18:20:32.802Z] GitHub has been notified of this commit’s build result [2023-03-22T18:20:32.802Z] [2023-03-22T18:20:33.500Z] $ docker rm -f --volumes 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:20:34.100Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T18:20:34.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:20:34.100Z] Dload Upload Total Spent Left Speed [2023-03-22T18:20:34.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-03-22T18:20:34.793Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T18:20:35.128Z] + sudo tee /etc/docker/daemon.new [2023-03-22T18:20:35.128Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T18:20:35.128Z] { [2023-03-22T18:20:35.128Z] "registry-mirrors": [ [2023-03-22T18:20:35.128Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T18:20:35.128Z] ], [2023-03-22T18:20:35.128Z] "bip": "10.250.0.254/24", [2023-03-22T18:20:35.128Z] "hosts": [ [2023-03-22T18:20:35.128Z] "tcp://0.0.0.0:5555", [2023-03-22T18:20:35.128Z] "unix:///var/run/docker.sock" [2023-03-22T18:20:35.128Z] ], [2023-03-22T18:20:35.128Z] "mtu": 1458, [2023-03-22T18:20:35.128Z] "selinux-enabled": true, [2023-03-22T18:20:35.128Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T18:20:35.128Z] } [Pipeline] sh [2023-03-22T18:20:35.451Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T18:20:35.793Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:20:54.063Z] provisioning config files... [2023-03-22T18:20:54.089Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config11731925961822312308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:20:54.445Z] ---> docker-login.sh [2023-03-22T18:20:54.445Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:20:55.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:20:55.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:20:55.035Z] Configure a credential helper to remove this warning. See [2023-03-22T18:20:55.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:20:55.035Z] [2023-03-22T18:20:55.035Z] Login Succeeded [2023-03-22T18:20:55.035Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:20:55.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:20:55.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:20:55.587Z] Configure a credential helper to remove this warning. See [2023-03-22T18:20:55.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:20:55.587Z] [2023-03-22T18:20:55.587Z] Login Succeeded [2023-03-22T18:20:55.587Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:20:55.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:20:55.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:20:55.857Z] Configure a credential helper to remove this warning. See [2023-03-22T18:20:55.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:20:55.857Z] [2023-03-22T18:20:55.857Z] Login Succeeded [2023-03-22T18:20:55.857Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:20:56.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:20:56.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:20:56.127Z] Configure a credential helper to remove this warning. See [2023-03-22T18:20:56.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:20:56.127Z] [2023-03-22T18:20:56.127Z] Login Succeeded [2023-03-22T18:20:56.127Z] docker.io [2023-03-22T18:20:56.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:20:56.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:20:56.664Z] Configure a credential helper to remove this warning. See [2023-03-22T18:20:56.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:20:56.664Z] [2023-03-22T18:20:56.664Z] Login Succeeded [2023-03-22T18:20:56.664Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:20:56.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:20:56.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:20:56.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:20:56.943Z] ========================================================= [2023-03-22T18:20:56.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T18:20:56.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:20:57.292Z] + 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-03-22T18:20:57.559Z] Sending build context to Docker daemon 1.209MB [2023-03-22T18:20:57.559Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:20:57.559Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T18:20:57.832Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T18:20:57.832Z] af6eaf76a39c: Pulling fs layer [2023-03-22T18:20:57.832Z] 55522c791124: Pulling fs layer [2023-03-22T18:20:57.832Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T18:20:57.832Z] 169dfbe0d373: Pulling fs layer [2023-03-22T18:20:57.832Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T18:20:57.832Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T18:20:57.832Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T18:20:57.832Z] 169dfbe0d373: Waiting [2023-03-22T18:20:57.832Z] e1ff8fa3b103: Waiting [2023-03-22T18:20:57.832Z] 52ebb69f0ebf: Waiting [2023-03-22T18:20:57.832Z] 5abe8eddf0d5: Waiting [2023-03-22T18:20:57.832Z] 55522c791124: Verifying Checksum [2023-03-22T18:20:57.832Z] 55522c791124: Download complete [2023-03-22T18:20:57.832Z] 169dfbe0d373: Verifying Checksum [2023-03-22T18:20:57.832Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T18:20:57.832Z] e1ff8fa3b103: Download complete [2023-03-22T18:20:57.832Z] af6eaf76a39c: Download complete [2023-03-22T18:20:58.804Z] af6eaf76a39c: Pull complete [2023-03-22T18:20:58.804Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T18:20:58.804Z] 5abe8eddf0d5: Download complete [2023-03-22T18:20:59.411Z] 55522c791124: Pull complete [2023-03-22T18:21:00.380Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T18:21:00.380Z] 52ebb69f0ebf: Download complete [2023-03-22T18:21:00.380Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T18:21:00.380Z] ce5c4a1c91eb: Download complete [2023-03-22T18:21:10.487Z] ce5c4a1c91eb: Pull complete [2023-03-22T18:21:10.487Z] 169dfbe0d373: Pull complete [2023-03-22T18:21:10.754Z] e1ff8fa3b103: Pull complete [2023-03-22T18:21:17.414Z] 52ebb69f0ebf: Pull complete [2023-03-22T18:21:17.998Z] 5abe8eddf0d5: Pull complete [2023-03-22T18:21:17.998Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T18:21:17.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T18:21:17.998Z] ---> 6cb57ee374ae [2023-03-22T18:21:17.998Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:21:19.966Z] ---> Running in c5305b0da1ad [2023-03-22T18:21:20.234Z] Removing intermediate container c5305b0da1ad [2023-03-22T18:21:20.235Z] ---> 52a077a554d8 [2023-03-22T18:21:20.235Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:21:20.502Z] ---> Running in ca6e47656d3a [2023-03-22T18:21:20.770Z] Removing intermediate container ca6e47656d3a [2023-03-22T18:21:20.770Z] ---> 956d2e329bc5 [2023-03-22T18:21:20.770Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:21:20.770Z] ---> Running in 0cba18a2435f [2023-03-22T18:21:21.041Z] Removing intermediate container 0cba18a2435f [2023-03-22T18:21:21.041Z] ---> 415c941f38c4 [2023-03-22T18:21:21.041Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:21:21.041Z] ---> Running in e8fb56cc43b5 [2023-03-22T18:21:21.629Z] Removing intermediate container e8fb56cc43b5 [2023-03-22T18:21:21.629Z] ---> 2117a1f2f7a8 [2023-03-22T18:21:21.629Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:21:21.629Z] ---> Running in 11fc392bf496 [2023-03-22T18:21:22.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:21:23.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:21:24.513Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-22T18:21:24.513Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:21:24.513Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:21:24.513Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:21:24.513Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-22T18:21:24.513Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-22T18:21:24.513Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-22T18:21:24.513Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-22T18:21:24.513Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:21:24.513Z] (10/14) Installing kmod-libs (30-r1) [2023-03-22T18:21:24.513Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-22T18:21:24.513Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-22T18:21:24.513Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-22T18:21:24.783Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-22T18:21:24.783Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:21:24.783Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:21:24.783Z] OK: 271 MiB in 67 packages [2023-03-22T18:21:26.198Z] Removing intermediate container 11fc392bf496 [2023-03-22T18:21:26.198Z] ---> 2dc6d12e591c [2023-03-22T18:21:26.198Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-22T18:21:26.198Z] ---> Running in 5bf421630199 [2023-03-22T18:21:26.198Z] Removing intermediate container 5bf421630199 [2023-03-22T18:21:26.198Z] ---> e4bc08305ff2 [2023-03-22T18:21:26.198Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-22T18:21:26.788Z] ---> d7d92901d65a [2023-03-22T18:21:26.788Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:21:26.788Z] ---> Running in 335e3a3bae23 [2023-03-22T18:22:34.669Z] Removing intermediate container 335e3a3bae23 [2023-03-22T18:22:34.669Z] ---> ef9916674cf5 [2023-03-22T18:22:34.669Z] Step 11/13 : COPY . . [2023-03-22T18:22:34.669Z] ---> 1b7a9dff5547 [2023-03-22T18:22:34.669Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:22:34.669Z] ---> Running in 86da1bae194f [2023-03-22T18:22:34.669Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:22:34.669Z] Dload Upload Total Spent Left Speed [2023-03-22T18:22:34.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4068 0 --:--:-- --:--:-- --:--:-- 4084 [2023-03-22T18:22:34.669Z] Removing intermediate container 86da1bae194f [2023-03-22T18:22:34.669Z] ---> a687c21a1de8 [2023-03-22T18:22:34.669Z] Step 13/13 : RUN ${MAKE} [2023-03-22T18:22:34.669Z] ---> Running in cb37f1486c47 [2023-03-22T18:22:35.632Z] noop [2023-03-22T18:22:36.216Z] Removing intermediate container cb37f1486c47 [2023-03-22T18:22:36.216Z] ---> 094430256b45 [2023-03-22T18:22:36.216Z] Successfully built 094430256b45 [2023-03-22T18:22:36.216Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:22:36.570Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:22:36.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:22:36.794Z] prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container [2023-03-22T18:22:36.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T18:22:38.008Z] $ docker top 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:22:38.853Z] + go version [2023-03-22T18:22:38.853Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T18:22:38.872Z] $ docker stop --time=1 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca [2023-03-22T18:22:42.894Z] $ docker rm -f --volumes 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:22:43.418Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:22:43.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:22:43.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container [2023-03-22T18:22:43.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T18:22:44.856Z] $ docker top e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:22:45.685Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:22:46.333Z] + make test [2023-03-22T18:22:46.333Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T18:23:25.206Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-22T18:25:33.964Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-22T18:25:33.964Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 2.0% of statements [2023-03-22T18:25:33.964Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T18:25:33.964Z] go vet ./... [2023-03-22T18:26:12.913Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T18:26:12.913Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T18:26:12.913Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T18:26:12.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T18:26:12.941Z] $ docker stop --time=1 e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 [2023-03-22T18:26:14.750Z] $ docker rm -f --volumes e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:26:15.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T18:26:15.938Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T18:26:16.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:26:16.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T18:26:17.174Z] + ls -al . [2023-03-22T18:26:17.174Z] total 184 [2023-03-22T18:26:17.174Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 18:22 . [2023-03-22T18:26:17.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 .. [2023-03-22T18:26:17.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:20 .git [2023-03-22T18:26:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 .github [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 18:20 .gitignore [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:20 .golangci.yml [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 18:20 .hadolint.yml [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 22 18:20 Attribution.txt [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 22 18:20 CHANGELOG.md [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 22 18:20 Dockerfile [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 18:20 GOVERNANCE.md [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 22 18:20 Jenkinsfile [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:20 LICENSE [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 22 18:20 Makefile [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 18:20 OWNERS.md [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 5681 Mar 22 18:20 README.md [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:18 VERSION [2023-03-22T18:26:17.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:20 bin [2023-03-22T18:26:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 cmd [2023-03-22T18:26:17.174Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 22 18:25 coverage.out [2023-03-22T18:26:17.174Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 18:20 docker-entrypoint.sh [2023-03-22T18:26:17.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 docs [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 22 18:20 go.mod [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 22 18:20 go.sum [2023-03-22T18:26:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 internal [2023-03-22T18:26:17.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 snap [2023-03-22T18:26:17.174Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:26:17.512Z] + 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=bf4bb03e1a8743956c459a7f0914593d70436d2e --label arch=arm64 --label version=0.0.0 . [2023-03-22T18:26:17.779Z] Sending build context to Docker daemon 1.238MB [2023-03-22T18:26:17.779Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:26:17.780Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-22T18:26:17.780Z] ---> 094430256b45 [2023-03-22T18:26:17.780Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:26:18.051Z] ---> Running in 6fab8b18a892 [2023-03-22T18:26:18.319Z] Removing intermediate container 6fab8b18a892 [2023-03-22T18:26:18.319Z] ---> 750191bff780 [2023-03-22T18:26:18.319Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:26:18.319Z] ---> Running in 0c6d2916ad79 [2023-03-22T18:26:18.588Z] Removing intermediate container 0c6d2916ad79 [2023-03-22T18:26:18.588Z] ---> 760043485def [2023-03-22T18:26:18.588Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:26:18.588Z] ---> Running in 2c1e1168da24 [2023-03-22T18:26:18.855Z] Removing intermediate container 2c1e1168da24 [2023-03-22T18:26:18.855Z] ---> 33bed861febd [2023-03-22T18:26:18.855Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:26:19.122Z] ---> Running in 6b5faf3f3315 [2023-03-22T18:26:19.471Z] Removing intermediate container 6b5faf3f3315 [2023-03-22T18:26:19.471Z] ---> 6e4c5730ee4f [2023-03-22T18:26:19.471Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:26:19.471Z] ---> Running in 5c8f9fe26cbc [2023-03-22T18:26:20.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:26:21.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:26:22.009Z] OK: 271 MiB in 67 packages [2023-03-22T18:26:22.989Z] Removing intermediate container 5c8f9fe26cbc [2023-03-22T18:26:22.989Z] ---> 596ef0b74d08 [2023-03-22T18:26:22.989Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-22T18:26:22.989Z] ---> Running in 18741594e789 [2023-03-22T18:26:23.257Z] Removing intermediate container 18741594e789 [2023-03-22T18:26:23.257Z] ---> 9d7580aba767 [2023-03-22T18:26:23.257Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-22T18:26:25.841Z] ---> cdfa2315e87f [2023-03-22T18:26:25.841Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:26:25.841Z] ---> Running in 0e14e97a8e3b [2023-03-22T18:26:28.425Z] Removing intermediate container 0e14e97a8e3b [2023-03-22T18:26:28.425Z] ---> a0ff5104d3ea [2023-03-22T18:26:28.425Z] Step 11/35 : COPY . . [2023-03-22T18:26:29.389Z] ---> cbc86aff5539 [2023-03-22T18:26:29.389Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:26:29.389Z] ---> Running in 3e8fef749a12 [2023-03-22T18:26:30.354Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:26:30.354Z] Dload Upload Total Spent Left Speed [2023-03-22T18:26:30.622Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3145 0 --:--:-- --:--:-- --:--:-- 3160 [2023-03-22T18:26:31.217Z] Removing intermediate container 3e8fef749a12 [2023-03-22T18:26:31.217Z] ---> 2bed1ed51907 [2023-03-22T18:26:31.217Z] Step 13/35 : RUN ${MAKE} [2023-03-22T18:26:31.493Z] ---> Running in b991e319cb11 [2023-03-22T18:26:32.195Z] 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-03-22T18:29:08.910Z] Removing intermediate container b991e319cb11 [2023-03-22T18:29:08.910Z] ---> 379b1db81a3b [2023-03-22T18:29:08.910Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-22T18:29:08.910Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-22T18:29:08.910Z] 8766b47fe142: Pulling fs layer [2023-03-22T18:29:08.910Z] 8766b47fe142: Verifying Checksum [2023-03-22T18:29:08.910Z] 8766b47fe142: Download complete [2023-03-22T18:29:08.910Z] 8766b47fe142: Pull complete [2023-03-22T18:29:08.910Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-22T18:29:08.910Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-22T18:29:08.910Z] ---> 69d40e2cb93c [2023-03-22T18:29:08.910Z] Step 15/35 : FROM alpine:3.17 [2023-03-22T18:29:08.910Z] 3.17: Pulling from library/alpine [2023-03-22T18:29:08.910Z] af6eaf76a39c: Already exists [2023-03-22T18:29:08.910Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T18:29:08.910Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T18:29:08.910Z] ---> d74e625d9115 [2023-03-22T18:29:08.910Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-22T18:29:08.910Z] ---> Running in c56c79b2805b [2023-03-22T18:29:08.910Z] Removing intermediate container c56c79b2805b [2023-03-22T18:29:08.910Z] ---> c65703085d7a [2023-03-22T18:29:08.910Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-22T18:29:08.910Z] ---> Running in 91d9cf673573 [2023-03-22T18:29:08.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:29:08.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:29:08.910Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-03-22T18:29:08.910Z] (2/83) Installing sdl2 (2.26.3-r0) [2023-03-22T18:29:08.910Z] (3/83) Installing libxau (1.0.10-r0) [2023-03-22T18:29:08.910Z] (4/83) Installing libmd (1.0.4-r0) [2023-03-22T18:29:08.910Z] (5/83) Installing libbsd (0.11.7-r0) [2023-03-22T18:29:08.910Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-03-22T18:29:08.910Z] (7/83) Installing libxcb (1.15-r0) [2023-03-22T18:29:08.910Z] (8/83) Installing libx11 (1.8.4-r0) [2023-03-22T18:29:08.910Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-03-22T18:29:08.910Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-03-22T18:29:08.910Z] (11/83) Installing libexpat (2.5.0-r0) [2023-03-22T18:29:08.910Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-03-22T18:29:08.910Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-03-22T18:29:08.910Z] (14/83) Installing libpng (1.6.38-r0) [2023-03-22T18:29:08.910Z] (15/83) Installing freetype (2.12.1-r0) [2023-03-22T18:29:08.910Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-03-22T18:29:08.910Z] (17/83) Installing fribidi (1.0.12-r0) [2023-03-22T18:29:08.910Z] (18/83) Installing libffi (3.4.4-r0) [2023-03-22T18:29:08.910Z] (19/83) Installing libintl (0.21.1-r1) [2023-03-22T18:29:08.910Z] (20/83) Installing libblkid (2.38.1-r1) [2023-03-22T18:29:08.910Z] (21/83) Installing libmount (2.38.1-r1) [2023-03-22T18:29:08.911Z] (22/83) Installing pcre2 (10.42-r0) [2023-03-22T18:29:08.911Z] (23/83) Installing glib (2.74.6-r0) [2023-03-22T18:29:08.911Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-03-22T18:29:08.911Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-03-22T18:29:08.911Z] (26/83) Installing libass (0.16.0-r1) [2023-03-22T18:29:08.911Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-03-22T18:29:08.911Z] (28/83) Installing libdrm (2.4.114-r0) [2023-03-22T18:29:08.911Z] (29/83) Installing gmp (6.2.1-r2) [2023-03-22T18:29:08.911Z] (30/83) Installing nettle (3.8.1-r0) [2023-03-22T18:29:08.911Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-03-22T18:29:08.911Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-03-22T18:29:08.911Z] (33/83) Installing libunistring (1.1-r0) [2023-03-22T18:29:08.911Z] (34/83) Installing gnutls (3.7.8-r3) [2023-03-22T18:29:08.911Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-22T18:29:08.911Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-22T18:29:08.911Z] (37/83) Installing lame (3.100-r2) [2023-03-22T18:29:08.911Z] (38/83) Installing opus (1.3.1-r1) [2023-03-22T18:29:08.911Z] (39/83) Installing libasyncns (0.8-r1) [2023-03-22T18:29:08.911Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-03-22T18:29:08.911Z] (41/83) Installing libltdl (2.4.7-r1) [2023-03-22T18:29:08.911Z] (42/83) Installing orc (0.4.33-r0) [2023-03-22T18:29:08.911Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-03-22T18:29:08.911Z] (44/83) Installing libogg (1.3.5-r2) [2023-03-22T18:29:08.911Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-22T18:29:08.911Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-03-22T18:29:08.911Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-03-22T18:29:08.911Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-03-22T18:29:08.911Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-03-22T18:29:08.911Z] (50/83) Installing soxr (0.1.3-r3) [2023-03-22T18:29:08.911Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-03-22T18:29:08.911Z] (52/83) Installing tdb-libs (1.4.7-r0) [2023-03-22T18:29:08.911Z] (53/83) Installing libpulse (16.1-r6) [2023-03-22T18:29:08.911Z] (54/83) Installing cjson (1.7.15-r3) [2023-03-22T18:29:08.911Z] (55/83) Installing mbedtls (2.28.2-r0) [2023-03-22T18:29:08.911Z] (56/83) Installing librist (0.2.7-r0) [2023-03-22T18:29:08.911Z] (57/83) Installing libsrt (1.5.1-r0) [2023-03-22T18:29:08.911Z] (58/83) Installing libssh (0.10.4-r0) [2023-03-22T18:29:08.911Z] (59/83) Installing libtheora (1.1.1-r16) [2023-03-22T18:29:08.911Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:29:08.911Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:29:08.911Z] (62/83) Installing libxext (1.3.5-r0) [2023-03-22T18:29:08.911Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-03-22T18:29:08.911Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-03-22T18:29:08.911Z] (65/83) Installing libva (2.16.0-r0) [2023-03-22T18:29:08.911Z] (66/83) Installing libvdpau (1.5-r0) [2023-03-22T18:29:08.911Z] (67/83) Installing vidstab (1.1.0-r2) [2023-03-22T18:29:08.911Z] (68/83) Installing libvpx (1.12.0-r1) [2023-03-22T18:29:08.911Z] (69/83) Installing libwebp (1.2.4-r1) [2023-03-22T18:29:08.911Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-03-22T18:29:08.911Z] (71/83) Installing numactl (2.0.16-r1) [2023-03-22T18:29:08.911Z] (72/83) Installing x265-libs (3.5-r3) [2023-03-22T18:29:08.911Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-03-22T18:29:08.911Z] (74/83) Installing libsodium (1.0.18-r2) [2023-03-22T18:29:08.911Z] (75/83) Installing libzmq (4.3.4-r1) [2023-03-22T18:29:08.911Z] (76/83) Installing ffmpeg-libs (5.1.2-r1) [2023-03-22T18:29:08.911Z] (77/83) Installing ffmpeg (5.1.2-r1) [2023-03-22T18:29:08.911Z] (78/83) Installing udev-init-scripts (35-r1) [2023-03-22T18:29:08.911Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:29:08.911Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-03-22T18:29:08.911Z] (81/83) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:29:08.911Z] (82/83) Installing kmod-libs (30-r1) [2023-03-22T18:29:08.911Z] (83/83) Installing eudev (3.2.11-r4) [2023-03-22T18:29:08.911Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:29:08.911Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:29:08.911Z] OK: 86 MiB in 98 packages [2023-03-22T18:29:10.318Z] Removing intermediate container 91d9cf673573 [2023-03-22T18:29:10.318Z] ---> 4d3d9236d1b3 [2023-03-22T18:29:10.318Z] Step 18/35 : WORKDIR / [2023-03-22T18:29:10.318Z] ---> Running in ac3b04fc0d9a [2023-03-22T18:29:10.318Z] Removing intermediate container ac3b04fc0d9a [2023-03-22T18:29:10.318Z] ---> 0a7510287f30 [2023-03-22T18:29:10.318Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-22T18:29:11.727Z] ---> 1a6deda23ad9 [2023-03-22T18:29:11.727Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-22T18:29:12.310Z] ---> 84f3a75cca34 [2023-03-22T18:29:12.310Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-22T18:29:12.897Z] ---> 98aa3bb2ba64 [2023-03-22T18:29:12.897Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-22T18:29:13.166Z] ---> 1eb762477be8 [2023-03-22T18:29:13.166Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-22T18:29:13.754Z] ---> dcc2586c2df5 [2023-03-22T18:29:13.754Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-22T18:29:14.341Z] ---> 35f83c64dd5b [2023-03-22T18:29:14.341Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-22T18:29:15.753Z] ---> 49dfa7e5eb2e [2023-03-22T18:29:15.753Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-22T18:29:15.753Z] ---> Running in 596f098317fb [2023-03-22T18:29:17.700Z] Removing intermediate container 596f098317fb [2023-03-22T18:29:17.700Z] ---> f363b5026131 [2023-03-22T18:29:17.700Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-22T18:29:17.700Z] ---> Running in dbdbbd24adbd [2023-03-22T18:29:19.117Z] Removing intermediate container dbdbbd24adbd [2023-03-22T18:29:19.117Z] ---> e355eb24bf3b [2023-03-22T18:29:19.117Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-22T18:29:19.117Z] ---> Running in 636b6d86bb1d [2023-03-22T18:29:21.062Z] Removing intermediate container 636b6d86bb1d [2023-03-22T18:29:21.062Z] ---> 62fbfe0445de [2023-03-22T18:29:21.062Z] Step 29/35 : EXPOSE 59983 [2023-03-22T18:29:21.062Z] ---> Running in 05c1f2b75337 [2023-03-22T18:29:21.330Z] Removing intermediate container 05c1f2b75337 [2023-03-22T18:29:21.330Z] ---> 9918ef9b855f [2023-03-22T18:29:21.330Z] Step 30/35 : EXPOSE 8554 [2023-03-22T18:29:21.330Z] ---> Running in e0ef42365f8e [2023-03-22T18:29:21.599Z] Removing intermediate container e0ef42365f8e [2023-03-22T18:29:21.599Z] ---> 514eaea7f0ac [2023-03-22T18:29:21.599Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-22T18:29:21.599Z] ---> Running in 3e7ca67bf0b8 [2023-03-22T18:29:21.866Z] Removing intermediate container 3e7ca67bf0b8 [2023-03-22T18:29:21.866Z] ---> 7e6d124507e8 [2023-03-22T18:29:21.866Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-22T18:29:22.134Z] ---> Running in 3deb24b2c305 [2023-03-22T18:29:22.402Z] Removing intermediate container 3deb24b2c305 [2023-03-22T18:29:22.402Z] ---> 06c1ebf650d9 [2023-03-22T18:29:22.402Z] Step 33/35 : LABEL arch=arm64 [2023-03-22T18:29:22.402Z] ---> Running in aac0585c1acd [2023-03-22T18:29:22.674Z] Removing intermediate container aac0585c1acd [2023-03-22T18:29:22.674Z] ---> 84dcdcf55c84 [2023-03-22T18:29:22.674Z] Step 34/35 : LABEL git_sha=bf4bb03e1a8743956c459a7f0914593d70436d2e [2023-03-22T18:29:22.674Z] ---> Running in f5c1d5ad7630 [2023-03-22T18:29:22.941Z] Removing intermediate container f5c1d5ad7630 [2023-03-22T18:29:22.941Z] ---> 6bd8af7c1bfc [2023-03-22T18:29:22.941Z] Step 35/35 : LABEL version=0.0.0 [2023-03-22T18:29:23.209Z] ---> Running in 6fb0681a0916 [2023-03-22T18:29:23.476Z] Removing intermediate container 6fb0681a0916 [2023-03-22T18:29:23.476Z] ---> e5343e7f551a [2023-03-22T18:29:23.476Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T18:29:23.476Z] Successfully built e5343e7f551a [2023-03-22T18:29:23.476Z] 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-03-22T18:29:23.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:29:23.916Z] [2023-03-22T18:29:23.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:29:24.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:29:24.251Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T18:29:24.251Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T18:29:24.251Z] 04944245beec: Pulling fs layer [2023-03-22T18:29:24.251Z] 699f458cf7ca: Pulling fs layer [2023-03-22T18:29:24.251Z] 765212b225bb: Pulling fs layer [2023-03-22T18:29:24.251Z] f23df028b6ca: Pulling fs layer [2023-03-22T18:29:24.251Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T18:29:24.251Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T18:29:24.251Z] 765212b225bb: Waiting [2023-03-22T18:29:24.251Z] f23df028b6ca: Waiting [2023-03-22T18:29:24.251Z] d65c8cfc05b1: Waiting [2023-03-22T18:29:24.251Z] 2437ff75d9bd: Waiting [2023-03-22T18:29:24.522Z] 04944245beec: Verifying Checksum [2023-03-22T18:29:24.522Z] 04944245beec: Download complete [2023-03-22T18:29:24.522Z] 765212b225bb: Verifying Checksum [2023-03-22T18:29:24.522Z] 765212b225bb: Download complete [2023-03-22T18:29:24.522Z] f23df028b6ca: Verifying Checksum [2023-03-22T18:29:24.522Z] f23df028b6ca: Download complete [2023-03-22T18:29:24.522Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T18:29:24.522Z] d65c8cfc05b1: Download complete [2023-03-22T18:29:24.792Z] 699f458cf7ca: Verifying Checksum [2023-03-22T18:29:24.792Z] 699f458cf7ca: Download complete [2023-03-22T18:29:25.058Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T18:29:25.058Z] 8998bd30e6a1: Download complete [2023-03-22T18:29:27.640Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T18:29:27.640Z] 2437ff75d9bd: Download complete [2023-03-22T18:29:29.053Z] 8998bd30e6a1: Pull complete [2023-03-22T18:29:29.322Z] 04944245beec: Pull complete [2023-03-22T18:29:30.734Z] 699f458cf7ca: Pull complete [2023-03-22T18:29:31.002Z] 765212b225bb: Pull complete [2023-03-22T18:29:31.963Z] f23df028b6ca: Pull complete [2023-03-22T18:29:31.963Z] d65c8cfc05b1: Pull complete [2023-03-22T18:29:46.961Z] 2437ff75d9bd: Pull complete [2023-03-22T18:29:46.961Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T18:29:46.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:29:46.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:29:47.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container [2023-03-22T18:29:47.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T18:29:50.028Z] $ docker top c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:29:50.554Z] ---> job-cost.sh [2023-03-22T18:29:50.824Z] lf-activate-venv: SKIPPING [2023-03-22T18:29:50.824Z] INFO: No Stack... [2023-03-22T18:29:51.407Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T18:29:51.988Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:29:52.626Z] + cut -d, -f6 [2023-03-22T18:29:52.626Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock [2023-03-22T18:29:52.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [2023-03-22T18:29:52.700Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] did not exist. Created. [2023-03-22T18:29:52.700Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:29:53.363Z] /w/workspace/device-usb-camera/3@tmp/durable-e665c8f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T18:29:54.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T18:29:54.040Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T18:29:54.092Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:29:54.101Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:29:54.119Z] $ docker stop --time=1 c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 [2023-03-22T18:29:55.647Z] $ docker rm -f --volumes c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 [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-03-22T18:29:56.068Z] provisioning config files... [2023-03-22T18:29:56.075Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config6483405046755584446tmp [Pipeline] { [Pipeline] sh [2023-03-22T18:29:56.364Z] + set +x [2023-03-22T18:29:56.364Z] + curl -s https://codecov.io/bash [2023-03-22T18:29:56.364Z] + bash -s -- [2023-03-22T18:29:56.364Z] [2023-03-22T18:29:56.364Z] _____ _ [2023-03-22T18:29:56.364Z] / ____| | | [2023-03-22T18:29:56.364Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T18:29:56.364Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T18:29:56.364Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T18:29:56.364Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T18:29:56.364Z] Bash-1.0.6 [2023-03-22T18:29:56.364Z] [2023-03-22T18:29:56.364Z] [2023-03-22T18:29:56.364Z] ==> git version 2.25.1 found [2023-03-22T18:29:56.364Z] ==> 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-03-22T18:29:56.364Z] Release-Date: 2020-01-08 [2023-03-22T18:29:56.364Z] 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-03-22T18:29:56.364Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T18:29:56.364Z] ==> Jenkins CI detected. [2023-03-22T18:29:56.364Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-194 [2023-03-22T18:29:56.364Z] project root: . [2023-03-22T18:29:56.364Z] --> token set from env [2023-03-22T18:29:56.364Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T18:29:56.364Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T18:29:56.364Z] ==> Python coveragepy not found [2023-03-22T18:29:56.364Z] ==> Searching for coverage reports in: [2023-03-22T18:29:56.364Z] + . [2023-03-22T18:29:56.623Z] -> Found 1 reports [2023-03-22T18:29:56.623Z] ==> Detecting git/mercurial file structure [2023-03-22T18:29:56.623Z] ==> Reading reports [2023-03-22T18:29:56.623Z] + ./coverage.out bytes=28352 [2023-03-22T18:29:56.623Z] ==> Appending adjustments [2023-03-22T18:29:56.623Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T18:29:56.623Z] + Found adjustments [2023-03-22T18:29:56.623Z] ==> Gzipping contents [2023-03-22T18:29:56.623Z] 4.0K /tmp/codecov.El3B1r.gz [2023-03-22T18:29:56.623Z] ==> Uploading reports [2023-03-22T18:29:56.623Z] url: https://codecov.io [2023-03-22T18:29:56.623Z] query: branch=PR-194&commit=bf4bb03e1a8743956c459a7f0914593d70436d2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= [2023-03-22T18:29:56.623Z] -> Pinging Codecov [2023-03-22T18:29:56.623Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-194&commit=bf4bb03e1a8743956c459a7f0914593d70436d2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= [2023-03-22T18:29:56.883Z] -> Uploading to [2023-03-22T18:29:56.883Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/73D8F5FF140700D3E01443B452E23636/bf4bb03e1a8743956c459a7f0914593d70436d2e/73543432-0f24-4fe5-ad10-8dcf9c7729bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T182956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1772e4777d1433ede434298fa88add81ab9b7c00be86d271a0cdb7fbef1f94ec [2023-03-22T18:29:56.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:29:56.883Z] Dload Upload Total Spent Left Speed [2023-03-22T18:29:57.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 13702 --:--:-- --:--:-- --:--:-- 13702 [2023-03-22T18:29:57.142Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] } [2023-03-22T18:29:57.149Z] 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-03-22T18:29:57.795Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-194/archives ] [2023-03-22T18:29:57.795Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives [2023-03-22T18:29:57.795Z] total 16 [2023-03-22T18:29:57.795Z] drwxr-xr-x 3 root root 4096 Mar 22 18:20 . [2023-03-22T18:29:57.795Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:20 .. [2023-03-22T18:29:57.795Z] drwxr-xr-x 2 root root 4096 Mar 22 18:20 cost [2023-03-22T18:29:57.795Z] -rw-r--r-- 1 root root 89 Mar 22 18:20 cost.csv [2023-03-22T18:29:57.795Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-194/archives [2023-03-22T18:29:57.795Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives [2023-03-22T18:29:57.795Z] total 16 [2023-03-22T18:29:57.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:20 . [2023-03-22T18:29:57.795Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:20 .. [2023-03-22T18:29:57.795Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:20 cost [2023-03-22T18:29:57.795Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 22 18:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:29:58.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:29:58.934Z] ---> package-listing.sh [2023-03-22T18:29:58.934Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T18:29:58.934Z] ++ facter osfamily [2023-03-22T18:29:59.194Z] + OS_FAMILY=debian [2023-03-22T18:29:59.194Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-194 [2023-03-22T18:29:59.194Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T18:29:59.194Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T18:29:59.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T18:29:59.194Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T18:29:59.194Z] + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' [2023-03-22T18:29:59.194Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T18:29:59.194Z] + case "${OS_FAMILY}" in [2023-03-22T18:29:59.194Z] + dpkg -l [2023-03-22T18:29:59.194Z] + grep '^ii' [2023-03-22T18:29:59.195Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T18:29:59.195Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T18:29:59.195Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T18:29:59.195Z] + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' [2023-03-22T18:29:59.195Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-194/archives/ [2023-03-22T18:29:59.195Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-194/archives/ [Pipeline] echo [2023-03-22T18:29:59.204Z] 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T18:29:59.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:30:00.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:30:00.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:30:00.120Z] prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container [2023-03-22T18:30:00.154Z] $ 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-194/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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T18:30:00.339Z] $ docker top e9b0171ccad02d490c81f736c8dd70077927dfc8829963e9dfca64d51bfaa6c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:30:00.687Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T18:30:00.975Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T18:30:01.261Z] + ls /var/log/sa-host [2023-03-22T18:30:01.261Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:30:01.428Z] provisioning config files... [2023-03-22T18:30:01.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config6163642660797494967tmp [Pipeline] { [Pipeline] echo [2023-03-22T18:30:01.451Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:30:01.732Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T18:30:01.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:30:02.071Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T18:30:02.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:30:02.359Z] ---> sudo-logs.sh [2023-03-22T18:30:02.359Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T18:30:02.384Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:30:02.667Z] ---> job-cost.sh [2023-03-22T18:30:02.667Z] lf-activate-venv: SKIPPING [2023-03-22T18:30:02.667Z] DEBUG: total: 0.2199999988079071 [2023-03-22T18:30:02.667Z] INFO: Retrieving Stack Cost... [2023-03-22T18:30:02.926Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:30:03.493Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T18:30:03.503Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:30:03.785Z] ---> logs-deploy.sh [2023-03-22T18:30:03.785Z] lf-activate-venv: SKIPPING [2023-03-22T18:30:03.785Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-194/3 [2023-03-22T18:30:03.785Z] INFO: archiving workspace using pattern(s): [2023-03-22T18:30:04.723Z] Archives upload complete. [2023-03-22T18:30:04.723Z] INFO: archiving logs to Nexus